body {
    background: #4577c6;
    text-align: center;
}

.container {
    box-shadow: 0px 0px 15px #000;
    background: #CBD2FF;
    color: black;
    display: inline-block;
    text-align: center;
    font-family: Arial,Helvetica,sans-serif;
    max-width: 65em;
}

.header {
    width: 100%;
    max-width: 100%;
    background: #666;
}

.headerlinks {
    background: #c5001e;
    color: #ededed;
    padding: 4px;
    border: 1px solid black;
}

h1 {
    margin-top: 4px;
    margin-bottom: 8px;
}

a {
    text-decoration: none;
}

.headerlinks > a {
    display: inline-block;
    vertical-align: middle;
    color: #ededed;
    margin-left: 0.5em;
    margin-right: 0.5em;
    font-weight: bold;
}

.headerlinks > form {
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.5em;
}

.nav > a {
    color: #0000ee;
    font-weight: bold;
}

.nav > a:visited {
    color: #551a8b;
}

.content {
    text-align: left;
    padding: 8px;
    font-size: larger;
}

.footer {
    background: #e5001e;
    color: #ededed;
    width: 100%;
    padding: 4px;
}

.videocount {
    font-size: smaller;
    font-style: italic;
}

.thumbnail {
    float: left;
    margin-right: 2px;
}

.video {
    display: block;
    position: relative;
    border: solid #2f4d7f;
    background: white;
    color: black;
    width: 640px;
    height: 180px;
    max-height: 180px;
    overflow: hidden;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: auto;
    margin-right: auto;
    font-family: sans-serif;
    font-size: smaller; /* would like to use initial here, but IE doesn't support it */
}

.video > p {
    margin: 2px;
}

.videotitle > a {
    font-size: larger;
    font-weight: bold;
    color: #0000ee;
}

.videotitle > a:visited {
    color: #551a8b;
}

.videotags > a {
    color: #0000ee;
}

.videotags > a:visited {
    color: #551a8b;
}

.videodate {
    font-size: smaller;
    font-weight: bold;
}

.videodescription {
    font-size: smaller;
}

.navbar {
    text-align: center;
    margin-top: 8px;
    margin-bottom: 8px;
    margin-left: 12px;
    margin-right: 12px;
}

.nav.prev {
    float: left;
    text-align: left;
}

.nav.next {
    float: right;
    text-align: right;
}

.nav.dummy {
    visibility: hidden;
    height: 0;
    float: none;
}

