* {
    box-sizing: border-box;
}

body {
    background-color: #00171F;
    color: #C2F0FF;
}

hr {
	border-top:none;
	border-bottom: 1px solid #617880;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    float: left;
}

nav {
    height: 2em
}

nav .right {
    float: right
}

nav ul li {
    float: left;
}

nav ul li a {
    display: block;
    text-align: center;
    padding: 14px 0px 2px 0px;
    margin: 0px 32px 2px 0px;
}

nav ul li a,
.video-meta a,
.video-sort a {
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0);
    color: white;
}

nav a:hover,
.video-link h2 a:hover,
.video-meta a:hover,
.video-text a:hover,
.video-sort a:hover {
    border-bottom: 1px solid;
    transition: all 0.3s ease-in-out;
}

.video-sort {
    top: -1em;
    margin-bottom: 2em;
    font-size: 80%;
}

.video-sort a {
    color: whitesmoke;
    text-decoration: none;
}

.video-text a {
    text-decoration: none;
    color: #C2F0FF;
    border-bottom: 1px solid #C2F0FF;
}

.video-text li {
    margin-bottom: 0.25em;
}

.main {
    font-family: Georgia, 'Times New Roman', Times, serif;
    margin: 1em auto;
    max-width: 1024px;
    padding: 1em;
}

video {
    border: 1px solid #3D6F80;
}

.video-link h2 a {
    color: whitesmoke;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0);
}

.video-link .right h2 {
    margin-top: 0;
    margin-bottom: -0.25em;
}

.video-link {
    margin-bottom: 2em;
}

.video-link:after {
    content: "";
    clear: both;
    display: table;
}

.video-link .left {
    float: left;
    width: 250px;
    height: 177px;
    background-position: center;
    background-size: cover;
    margin-right: 1em;
    margin-bottom: 1em;
    border: 1px solid grey;
    border-radius: 2px;
}

.video-link .left a {
    display: block;
    width: 100%;
    height: 100%;
}

@media only screen and (max-width: 949px) {
    .video-link .right {
        width: 100%;
    }
}

@media only screen and (min-width: 950px) {
    .video-link .right {
        max-width: 600px;
    }
}

.video-link .right {
    float: left;
    color: #AED8E6;
}
.video-tags {
	margin-bottom: 2em;
}

.video-tag {
    background-color: #91B4BF;
    padding: 3px;
    border-radius: 1px;
    padding: 0.25em 0.5em;
    font-family: monospace;
    text-decoration: none;
    color: black;
}

.video-tag:hover {
    background-color: #C2F0FF;
    transition: all 0.25s ease;
}

.video-meta {
    margin-bottom: 1em;
    font-size: 90%;
}

.video-meta span {
    margin-right: 1.5em
}

.video-description {
    margin-bottom: 1.5em;
    line-height: initial;
}

.video-container video {
    width: 100%;
}

.video-tag-big {
    font-size: 120%;
    display: inline-block;
    box-sizing: border-box;
    margin: 0.25em 0em;
    padding: 0.5em;
    line-height: 100%;
}

.video-controls button {
    background-color: #00171F;
    color: #C2F0FF;
    border: 1px solid #C2F0FF;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 80%;
    border-radius: 1px;
}

.video-controls button:hover {
    background-color: #48595E;
    cursor: pointer;
}

.video-search form input {
    font-size: 150%;
    border: none;
    border-radius: 2px;
    padding: 0.25em;
    background-color: whitesmoke;
    margin-bottom: 2em;
    font-family: inherit;
}

.video-search form input[type=text] {
    width: 50%;
}

.video-search form input[type=submit] {
    background-color: #C2F0FF;
    cursor: pointer;
}

.video-search form input[type=checkbox] {
    margin-left: 1em;
    cursor: pointer;
}

.video-text {
	margin-top: 2em;
    color: whitesmoke;
}

.muted{
	opacity: 0.75;
}

.video-search-help {
	margin-top: -2em;
}