@charset "utf-8";
/* CSS Document */

body {
    margin: 0;
	font-family: Tahoma, Geneva, sans-serif;
    background-color: rgb(10,10,10);
}

.webpage {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
}

.nav {
    width: 100%;
	display: inline-block;
    margin: 0;
	position: fixed;
	z-index: 1;
}
.nav a {
	text-decoration: none;
	color: rgba(200,200,200,0.8);
	transition: 0.3s;
}
.nav a:hover, .nav a:active {
	color: rgba(250,100,250,1);
}
.nav table {
	width: 100%;
	height: 70px;
}
.nav td {
	text-align: center;
	background-color: black;
	width: 16%;
	border-left: 1px solid rgba(255,255,255,0.2);
	border-right: 1px solid rgba(255,255,255,0.2);
	box-shadow: 0px 3px 3px black;
	letter-spacing: 2px;
	transition: 0.3s;
	padding: 0 10px;
	cursor: pointer;
}
.nav td:hover, .nav td:active {
	transform: scale(1.1, 1.1);
	background-color: rgb(100,130,130);
}
.nav td:hover a {
	color: rgba(250,250,250,1);
}

.content {
	margin-top: 70px;
	background-color: rgb(10,10,10);
	color: white;
}
#videos {
    width: 100%;
    display: flex;
}

#video_main {
	margin-left: 22%;
	display: inline-block;
    width: 78%;
    border-right: 1px solid rgba(100,100,100,0.3);
    background-color: rgb(15,15,15);
}
#video_side {
	display: inline-block;
	position: fixed;
	direction: rtl;
	text-align: left;
	width: 22%;
    height: calc(100% - 70px);
    background-color: rgb(8,8,8);
    overflow-y: scroll;
	scrollbar-color: black silver;
    border-right: 2px solid rgba(100,100,100,0.4);
}
#video_side ul {
	margin: 0px 10%;
	padding: 0 0;
	width: 80%;
}
#video_side li {
    border-top: 2px solid rgb(50,50,50);
	padding-top: 20px;
	list-style-type: none;
    letter-spacing: 1px;
    margin: 25px 0 20px 0;
	cursor: pointer;
}
#video_side span {
    text-decoration: none;
    color: silver;
    margin: 5px 0;
	cursor: pointer;
    transition: 0.3s;
}
#video_side span:hover {
    color: yellow;
}
#video_side img {
	width: 100%;
	height: auto;
	cursor: pointer;
	margin-bottom: 5px;
}
#video_side small {
	cursor: pointer;
	letter-spacing: 0px;
}
.video_preview {
	width: 100%;
	height: auto;
}

video {
	cursor: pointer;
}
.video {
	width: 100%;
	padding: 20px 0px 40px 0;
	border-bottom: 3px solid rgb(40,40,40);
	border-top: 2px solid rgb(40,40,40);
}
.video small, .video_title, .video_desc {
	margin: 10px 10% 0px 10%;
	width: 80%;
}
.video_title {
    color: rgb(180,180,180);
	font-size: 1.3em;
	border-bottom: 1px solid rgba(30,30,30,0.5);
	padding-bottom: 10px;
}
.video_desc {
	color: rgb(150,150,150);
	font-size: 0.9em;
	margin-bottom: 4px;
}
.video small {
	padding-top: 10px;
    border-bottom: 2px solid rgba(100,100,100,0.2);
}
.video video, .video img {
    background-color: rgb(0,0,0);
    margin: 10px 10% 10px 10%;
    width: 80%;
}
.video a {
	color: yellow;
}

#video_header {
	background-image: url("./header_img.jpg");
	background-size: cover;
    background-position: center;
	height: 110px;
	position: relative;
	border-bottom: 3px solid rgba(200,200,200,0.4);
}
#video_header_title {
	position: absolute;
	margin-left: 30px;
	bottom: 0px;
	margin-bottom: 5px;
	font-size: 1.5em;
	text-shadow: 2px 3px 3px black;
	letter-spacing: 1px;
	width: 30%;
}
#video_header_greet {
	position: absolute;
	margin-bottom: 5px;
	margin-right: 20px;
	bottom: 5px;
	right: 10px;
	font-size: 0.9em;
	letter-spacing: 1px;
	text-align: right;
	width: 60%;
}

.yellow {
	color: yellow;
}
.small {
	font-size: 0.8em;
	color: springgreen;
}
.show_description {
	color: springgreen;
	cursor: pointer;
	text-decoration: underline;
}
.sdt {
	color: rgb(100,100,100);
	transition: 0.2s;
}
.sdc, #video_main .sdc {
	color: rgb(150,150,150);
	transition: 0.2s;
	line-height: 180%;
}
.sdt:hover, .sdc:hover, #video_main .sdc:hover {
	color: rgb(200,200,200);
}
.leng {
	float: right;
	padding-left: 20px;
}
.category {
	cursor: pointer;
	padding: 3px 5px;
	border-radius: 3px;
	background-color: rgb(80,80,80);
	color: yellow;
	text-decoration: none;
	transition: 0.3s;
}
.category:hover {
	background-color: rgb(100,100,100);
	text-decoration: underline;
}
#categories {
	line-height: 180%;
}
#categories_side {
	position: sticky;
	top: 0px;
	background-color: rgba(0,0,0,0.8);
	padding: 20px 10px;
	border-bottom: 3px solid rgba(100,100,100,0.5);
	line-height: 200%;
	font-size: 0.9em;
	word-break: break-word;
	direction: ltr;
}
#categories_side .category {
	color: yellow;
}
#categories_side .category:hover {
	text-decoration: underline;
}
.springgreen {
	color: springgreen;
}

/* search querying */

#no_results {
	font-size: 1.2em;
	color: pink;
}
#searchOutput {
	display: block;
	text-align: center;
	width: 60%;
	margin: 10px 20%;
}
#searchBar {
	z-index: 1;
	text-align: center;
	width: 80%;
	margin: 10px 10% 5px 10%;
	position: sticky;
	top: 80px;
}
#query {
	width: 50%;
	border-radius: 15px 0 0 15px;
	background-color: rgba(80, 80, 80, 0.6);
	color: white;
	padding: 2px 0 2px 15px;
}
#queryButton {
	width: 10%;
	border-radius: 0 15px 15px 0;
	background-color: rgba(150, 150, 150, 0.6);
	color: white;
	cursor: pointer;
	padding: 2px 0 2px 0px;
}
#query, #queryButton {
	border: 1px solid rgb(150,150,150);
}