body {
    padding-top: 20px;
    padding-bottom: 40px;
	font-size:16px;

	font: 400 14px/18px Roboto, sans-serif;

	font-family: 'Roboto', sans-serif;
	
	background-color: #f4f4f4;
	/*
	background-color: #fff;
   */
}
#bodyid {
	display: flex;
	min-height: 80vh;
	flex-direction: column;
}
#content {
	 flex: 1;
}
.footer {
    width:100%;
    padding-top:20px;
	margin-top:40px;
    border-top:1px solid #f5f5f5;
	background-color: #26292a;
	color: #fff;
	float:left;
}
.footer a {
	color:#fff;
	text-decoration:underline;
}



a {
	color: #232222;
	text-decoration:underline;
}
p a {
	color: #4a7199;
	color: #3b6793;
}
.nav a {
	text-decoration:none;
}
a:hover {
	color:#FF2021;
	text-decoration:none;
}
/* Custom container */
.container-narrow {
    margin: 0 auto;
    width:100%;
    width: 900px;
}

h1, h2, h3, h4, h5 {
	font-weight: 900;
	color: #363636;
}
h1 {
    font-size:24px;
	line-height: 1.375
}
a.nohover:hover{
	text-decoration: none;
}
.top-videos-wrapper {
    float:left;
    width:100%;
    position:relative;
/*white-space: nowrap;*/
}
.top-videos {
    float:left;
}

.container-narrow > hr {
    margin: 15px 0;
}

/* Main marketing message and sign up button */
.jumbotron {
    margin: 12px 0;
/*text-align: center;*/
}
.jumbotron h1 {
    font-size: 22px;
    line-height: 1;
    width:auto;
    display:block;
    float:left;

}

/* Supporting marketing content */
.marketing {
    margin: 60px 0;
}
.marketing p + h4 {
    margin-top: 28px;
}
a.brand:hover{
    text-decoration:none;
    
}
.well {
	border:0px solid #fff!important;
}
.well-very-small {
    padding:3px;
    /*border-radius: 3px 3px 3px 3px;*/
}
b.video_item {
    font-size:12px;
}
.row-fluid [class*="span"] {
    margin-left:3px!important;
    margin-right:3px!important;
}

#video {
    width:650px;
    
}
#video_container {
    width:650px;
    
    height:405px;
	overflow:hidden;
	
}


#related {
    
    float:right;
    width:248px;
    height:405px;
    overflow-y:auto;
    overflow-x:hidden;    
    padding-left:20px;
}
.w100 {
    width:100%;
}
.video_item {
    min-height:245px; 
    width:280px; 
    overflow:hidden; 
    float:left;
    margin-right:12px;
	border:0px!important;
	background-color:#fff;
	padding:0px;
	margin:2px;
	margin-bottom:5px;
	border-radius:0 0 5px 5px;
}
div.video_item:hover {
	box-shadow: 1px 2px 4px rgba(0, 0, 0, .5);

}

div.rel-item > div.video_item{
    width:210px;
}
div.rel-item > div.video_item_wrapper > div.video_item{
    width:210px;
}
div.rel-item > div.video_item > div.video_item{
    width:210px;
}
.video_item img {
    max-width:100%;

}
.video_image {
    
}
.image_wrapper {
	height:150px;
	overflow:hidden;
	background:black;
	vertical-align: middle;
	padding:0;
	margin:0;
	position:relative;
}
.image_wrapper img {
       vertical-align: middle;
}
.video_description a{
    font-weight:bold;
    line-height:12px;
	text-decoration:none;
}
.video_description {
    height:43px;
    overflow:hidden;
    width:100%;
	padding:6px;
}
#video_info {
    font-size:12px;
    /*color:#00A413;*/
    height:40px;
    width:99%;
	
}
.video_info_sub {
    line-height:20px;
	padding-left:0px;
}
#video_description {
    padding-left:0px;
    /*color:#427AA1; /*gray;*/
    font-size:12px;
    max-width:630px;
    border-top:1px solid #F5F5F5;
    line-height:19px;
    margin-top:12px;
    padding-top:5px;

    overflow:hidden;
    z-index:10;
}
.video_info {
    min-height:40px;
    overflow:hidden;
    font-size:12px;
    float:left;
    width:100%;
    line-height:16px;
    margin-top:8px;
	padding:6px;

    
}
#description_more {
    font-size:12px;
    margin-left:auto;
    margin-right:auto;
    width:90px;
    margin-top:0px;
    padding-top:0px;
    cursor:pointer;
    z-index:100;

}
p.indent {
    text-indent: 20px;
}
.login_form_div {
    width:400px;
    margin-left:auto;
    margin-right:auto;
}
#tops a.toplink {
    display:block;
    padding:5px;
    margin:5px;
    width:100%;
    margin-left:auto;
    margin-right:auto;
    border-radius:4px;
    float:left;
    text-align:center;
}
#tops a.toplink:hover {
    background-color:#EAEAEA;
    text-decoration:none;
}
#tops h2 {
    padding:10px;
    margin:10px;
    
}
#embed_code {
    display:none;
    font-size:14px;
    margin-top:10px;
    line-height: 16px;
}
a.sl {
    font-size:9px;
}
.pointer {
    cursor:pointer;
}
#resize-min{
    display:none;
}
.myaction {
    margin-top:2px;
}

.video-title {
    max-width: 730px;
    float:left;
    padding:0px;
}
div.video-title > a  {
	text-decoration:none;
}
div.video-title > a > h1 {
    margin:0px;
    margin-bottom:14px;
}
ul.pagination > li > a.active_page {
    color: #999999;
    font-weight:bold;
}

.helptext {
    color:#999999;
}

ul.errorlist {
    color:red;
}
.error {
    color:red;
}
ul#playlists{
    list-style-type:none;
    width:100%;
    display:block;
    float:left;
    padding-top:10px;
    padding-bottom:15px;
    padding-left:0px;
    margin-left:0px;
}
#playlists li {
    padding:10px;
    display:block;
    float:left;
    width:100%;
}
#playlists li:hover {
    background-color:#F3F3F3;
}
#playlist-div {
    width:100%;
    padding-left:0px;
}

#add-list-inner {
    background-color:#fff;
    padding:10px;
    color:black;
}
#add-list {
    position:absolute;
    background-color:gray;
    padding:5px;
    margin:5px;
    margin-left:-100px;
    display:none;
    color:#fff;
    font-weight:bold;
    z-index:10000;
    
}

#report {
    position:absolute;
    background-color:gray;
    padding:10px;
    margin:5px;
    /*margin-left:-100px;*/
    display:none;
    color:#fff;
    font-weight:bold;
    z-index:10000;
    text-align:center;
}
.playlist-item {
    width:100%;
    min-width:150px;
    
    margin-bottom:3px;
    padding:3px;
    background-color:#ebebea;
    
}
.green {
    color:green!important;
}
.red {
	color:red;
}
.playlist-item:hover {
    cursor:pointer;
    background-color:#0088CC; /*#00A413;*/
    color:#fff;
}
.top-panel {
    position:fixed;
    text-align:center;
    width:100%;
    left:0;
    top:0;
}
#add-playlist-form{
    min-width:200px;
    width:100%;
    background-color:#fff;
    padding:5px;
    color:black;
    font-weight:normal;
}
#id_name_playlist {
    width:110px;
}
.search-query {
    width:85%!important;
}
.navbar-form {
    width:100%!important;
    text-align:right;
}

#sub-related {
    position:relative;
}
div.current-video > div.video_item{
    /*border:2px solid #0088CC;8*/
    background-color: #0088CC;/*#E5FFE8;*/
    color:#fff;
}
div.current-video > div.video_item a{
    color:#fff;
}

.like_links {
    text-align:right;
    font-size:1.4em;
    font-weight:bold;
}
#resize-buttons {
    text-align:right;
    padding-right:0px;

}

.navbar-form .form-control {
    display: inline-block;
    vertical-align: middle;
    width: auto;
}
.deleted {
    color:red;
    text-align:center;
}
.del {
    color:red;
    font-size:14px;
}
.on {
    color:green;
    font-size:14px;
}
.admin-panel {
    margin-right:10px;
    float:right;
}


#download_div {
    position:absolute;
    background-color:white;
    padding:15px;
    margin:5px;
    margin-left:10px;
    display:none;
    color:#fff;
    font-weight:bold;
    z-index:10000;
    text-align:center;
    border:1px solid gray;
}
video {
    /*width: 100%    !important;
    height: auto   !important;*/
}

.upload-input {
	padding:5px;
	#border:3px dashed black;
	width:200px;
	font-size:20px;
	background-color:#E5E5E5;
}
.center {
	text-align:center;
}
.upload-div {
}
.progress {
	background-color:#5EB95E;
	width:0%;
	margin:0px;
	border-radius:0px;
	height:40px;
}
#progressbar {
	width:60%;
	margin:0px;
	margin-left:auto;
	margin-right:auto;
	border:0px solid #5EB95E;
	height:40px;
	background-color:#E5E5E5;
	text-align:center;
}
#progress-val {
	position:absolute;
	font-size:18px;
	color:#fff;
	margin-top:6px;
}
#uploader {
		display:none;
}
.video_item_wrapper {
	/*background-color:#fff!important;*/
	float:left;
	border: 0px!important;
	width:300px;
}

#upload_edit_form label {
	width:150px;
}
#upload_edit_form input, textarea, select {
	width:400px;
}

#pers-cats {
	font-size:18px;
	padding-top:24px;
}

.cat-image{
	height:165px;
	overflow:hidden;
	background-color:black;
	margin-bottom:25px;
}
.cat-image img{
	width:100%;
}
.cat-sub-title {
	font-size:12px;
	margin-top:-10px;
}

// comments
#comment-form-container{
    width:100%;
}

#comment-form label {
    display:none;
}
.comment-avatar {
    border-radius: 15px;
    width:50px;
    height:50px;
    float:left;
    overflow:hidden;
}
.comment-avatar img{
    width:40px;
    border-radius: 15px;
    float:left;
    margin-top:-5px;
}
.comment-form-body {
    float:left;
}
#comments-list {
    float:left;
    width:100%;
}
.comment {
    width:100%;
    float:left;
    margin-top:20px;
    padding:5px;
	background-color:#fff;
	border-radius:10px;
}
.comment-body {
    background-color: #fff;/*f5f5f5;*/
	margin:5px;
	border-top-right-radius:5px;
	border-bottom-right-radius:5px;
	max-width:70%;
}
.comment > .votes-block {
    width:90px;
	text-align:center;
	float:right;
}
.vote-comment {
    cursor:pointer;
}
.comment-header {
    width:100%;
    float-left;
	font-size:0.8em;
}
.comment-text {
        width:100%;
    float-left;
}
.label a {
	color:#fff;
}

nav.pagination {
    width:99%;/*
	margin:0 auto;*/
	text-align:center;
}

.recommend-div {
	font-size:1.6em;
	width:100%;
	min-height:60px;
	line-height:40px;
}
.recommend-div a {
	text-decoration:undeline;
}


ul.tags {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	padding:0px;
}
li.tag {
	padding: 0 5px 5px 0;
	display: list-item;
	text-align: match-parent;
	color: #000;
}
li.tag a{
	color: #232222;
	font-size: 13px;
	font-weight: 700;
	line-height: 16px;
	text-transform: uppercase;
	border-radius: 8px;
	border: 1px solid #e1e1e1;
	background-color: #fff;
	-webkit-transition: all .3s;
	transition: all .3s;
	display: inline-block;
	padding: 5px 7px;
	vertical-align: baseline;
	text-decoration:none;
}
li.tag a:hover {
	background: #e50036;
	border-color:#e50036;
	color: #fff;	
}
#more_tags_btn{
	font-size:15px;
	line-height:17px;
}
.inf {
	font-size:1.1em;
}
ul.pagination {	
	text-align:center;
	max-width:90%;

}
ul.pagination li {
	margin:0 0px 0 0;
}
ul.pagination li a {
	padding:11px 17px;
	border-radius: 10px;
	transition: all .3s;
	display: inline-block;
	background: #fff;
	text-align: center;
	border-radius: 8px!important;
	color:#232222;
	margin-left:0px;
	margin-right:8px;
	margin-top:4px;
}
ul.pagination li a:hover {
	background-color:#e50036;
	transition: all .3s;
	color:#fff;
}
ul.pagination li a.active_page {
	background-color:#e50036;
	color:#fff;
}
.hd {
	border:1px solid red;
	padding:2px;
	border-radius:5px;
	color:red;
	font-size:0.7em;
}
div.break {
	width:100%;
	height:45px;
	float:left;
}



@media (max-width:900px) {
	.container-narrow {
		width: 600px;
	}
	#related {
		min-width:600px;
	}
	#sub-related{
		min-width:600px;
	}
	#resize-full{
		display:none;
	}
	
}


@media (min-width:1220px) {
	.container-narrow {
		width: 1200px;
	}
	#video {
		width:950px;
	}
	#video_container {
		width:950px;
		height:600px;
	}
	#related {
		height:600px;
	}
	#resize-full{
		display:none;
	}
	#video_description{
		max-width:950px;
	}
}

@media (min-width:900px) {
	.pr0 {
		padding-right:0px;
		padding-left:0px;
	}


	
}
@media (max-width: 640px) {
	#bodyid {
		overflow:hidden;
	}
    #video {
		width:100%;
    }
    #video_container {
		width:100%;
		height:250px;
    }
    #related {
		width:100%;
    }
    .form-control {
		width:70%!important;
    }
    #resize-full {
		display:none;
    }
    
}

@media only screen and (max-width: 600px) {
    .video_item_wrapper {
		width:100%!important;
		display:block;
    }
    
    .video_item {
	margin:0 auto;
	display:block;
	width:100%; /*288px;*/
	float:none;
    }
    .container-narrow {
	width:100%;
    }
    .image_wrapper{
	width:100%;
        height: auto;
    }
    .image_wrapper img {
	width:100%;
	
    }
    

}
@media only screen and (max-width: 400px) {
	.comment-avatar	{
		display:none;
	}
	#brand-logo{
		width:200px!important;
		margin:0 auto;
		display: block;
	}
	.video_item_wrapper {
		width:100%!important;
		display:block;
	}
	.video_item {
		width:100%; /*288px;*/
		float:none;
	}
	.image_wrapper{
	    width:100%;
	    height:auto;
	    max-height:200px;
	}
	.image_wrapper img {
	    width:100%;
	    
	}
	body {
		padding:10px;
	}
	h1, h2,h3 {
		text-align:center;
	}
	#related {
		display:none;
	}
	div.category_item {
		width:100%;
		height:auto;
		min-height:150px;
		max-height:350px;
	}
	.cat-image{
		height:auto;
		min-height:150px;
	}

}

@media screen {
	div#preloader {
		position: absolute;
		left: -9999px;
		top:  -9999px;
		}
	div#preloader img {
		display: block;
		}
	}
@media print {
	div#preloader, 
	div#preloader img {
		visibility: hidden;
		display: none;
		}
}

.category_item {
	width:290px;
	float:left;
	padding:5px;
	height:240px;
	overflow:hidden;
	padding-top:25px;
}
.cat-title {
	height:50px;
	overflow:hidden;
}
video.video-thumb {
	width:100%;
}
.right {
	text-align:right;
}
.fav-added{
	color:red;
}
#info-panel{
	position:absolute;
	top:20px;
	/*min-width:200px;*/
	background:#fff;
	border:2px solid grey;
	border-radius:7px;
	margin:0 auto;
	font-size:1.6em;
	padding:10px;
	z-index:10000;
}
.spinner {
	width:100px;
	margin:0 auto;
	display:block;
}

.sub-title {
	font-size:16px;
}
a.active-title{
	background-color:#e50036;
	color:#fff;
	text-decoration:none;
	padding:4px;
	border-radius:5px;
	font-size:16px;
}
.text {
	padding:5px;
	background-color:#fff;
	border-radius:4px;
	margin:10px;
	width:99%;
}
.remove {
	color:red;
	cursor:pointer;
	display:none;
}


.modalWindow {
    position:fixed;
    top: 50%;
    left: 50%;
    width:260px;
    height:180px;
    margin-top: -90px; /*set to a negative number 1/2 of your height*/
    margin-left: -130px; /*set to a negative number 1/2 of your width*/
    border: 1px solid grey;
    background-color: #f3f3f3;
	text-align:center;
	padding:20px;
	font-size:1.1em;
	line-height:1.4em;
	display:none;
	border-radius:10px;
}
.modalWindow img {
	width:40px;
}
.g-title {
	color:red;
	font-size:1.2em;
}
.desc {
	background:#fff;
	padding:5px;
	font-size:1.1em;
	color:black
}

.blog-post p {
	padding-left:10px;
}
.blog-image img {
	 display:block;
     margin:auto;
}

input[type="checkbox"] {
  -ms-transform: scale(2); /* IE */
  -moz-transform: scale(2); /* FF */
  -webkit-transform: scale(2); /* Safari and Chrome */
  -o-transform: scale(2); /* Opera */
  transform: scale(2);
  padding: 10px;
  margin-left:4px;
}
input.sm-f {
	width:70px!important;
}
.adv-search-panel {
	width:260px;
	padding:8px;
	/*background-color:#dddfff;*/
	border-radius:0px;
	float:left;
}
.adv-search-results {
	padding-left:15px;
	float:left!important;
	width:920px; 
}
.form-group select {
	max-width:250px;
}

@media (max-width:1220px){
	.adv-search-results {
		width: 620px;
	}
}
@media (max-width:600px){
	.adv-search-results {
		width: 100%;
	}
	.adv-search-panel {
		width:100%;
	}
}
.info-title {
	font-size:1.4em;
	line-height:1.2em;
	width:90%;
	margin:0 auto;
	text-align:center;
}
.big {
	font-size:2.5em;
	line-height:2em;
}
.home {
	margin-top:20px;
	background-color:#fff;
	padding:5px;
}
.home p {
	text-indent: 20px;
}
.center-div {
	width:95%;
	margin:0 auto;
}
.production_box {
	width:160px;
	color: black;
	float:right;
}
.production_box button {
	width:155px;
	margin-top:4px;
}
.marked {
	font-weight:bold;
}

.message-box {
	width:80%;
	margin:0 auto;
	text-align:center;
}
.no-underline {
	text-decoration:none;
}
.phone {
	padding-top:-5px;
}
.v-sign {
	padding-right:4px;
}
.next-video-tv{
}
.next-video-tv button{
	font-size:1.2em;
	font-weight:bold;
	margin-right:10px;
	padding-left:10px;
	padding-right:10px;
}

.auto-hide {
    display: block;
    opacity: 1;
    animation: fadeOut 3s;
    animation-delay: 3s;
    animation-fill-mode:forwards;
	min-width:250px;
	text-align:center;
	position:fixed;
	border:1px solid #39393f;
	border-radius:2px;
	padding:5px;
	background-color:#39393f;
	color:#fff;
	font-size:1.3em;
	z-index:1000;
	left:10px;
	bottom:20px;
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
	
}
.fv, .wl {
	visibility: hidden;
	display:none;
}
.hidden {
	display:none;
}
.item-action-btn {
	position:absolute;
	display:block;
	opacity:0.7;
	background:black;
	padding:2px;
	color:#fff;
	font-size:1.3em;
	visibility: hidden;
	cursor:pointer;
}
.watch-later-div {
	right:3px;
	top:3px;
}
.fav-video-div {
	right:3px;
	top:35px;
}

.video-thumb-link:hover + .item-action-btn {
	visibility:visible;
}
.video-thumb-link:hover ~ .fav-video-div{
	visibility:visible;
}

.item-action-btn:hover {
	visibility:visible;
}

.watch-later-div:hover > .wl{
	visibility:visible;
	display:inline;
}
.fav-video-div:hover > .fv{
	visibility:visible;
	display:inline;
}

@media only screen and (max-width: 600px) {
	.item-action-btn {
		visibility:visible;
		font-size:1.8em;
	}
	.fav-video-div {
		top:45px;
	}
}


a.tgme_action_button {
    font-size: 14px;
    font-weight: bold;
    line-height: 100%;
    color: #FFF;
    background: #5dc390;
    border-radius: 22px;
    overflow: hidden;
    display: inline-block;
    padding: 15px 27px 13px;
    text-transform: uppercase;
	text-decoration:none;
}
.login-title {
	font-weight:bold;
	font-size:1.3em;
}
#about {
    background-color:#fff;
    padding:2px;
}
#edit-about{
    display:none;
}

#playlist-list {
    overflow-y:scroll;
    max-height:300px    
}
#playlist-save {
    position:fixed;
    top: 20%;
    left: 50%;
    width:280px;
    
    margin-left: -140px; /*set to a negative number 1/2 of your width*/
    padding:20px;
    background-color:#fff;
    border:1px solid grey;
    font-size:1.2em;
    z-index:10000;
}
#playlist-save .playlist-save-title{
    font-weight:bold;
    padding-bottom:10px;
}
#playlist-save input{
    width:100%;
}
.tmp_hide {
    display:none;
}
.save-button {
    font-weight:bold;
    cursor:pointer;
}


/* playlists */
.public-playlist-item {
    min-height:210px;
    width: 290px;
    overflow: hidden;
    float: left;
    padding:6px;
}
.public-playlist-image-wrapper {
    float:left;
    width:92px;
    height:50px;
    overflow:hidden;
    padding:0px;
    margin:0px;
}
.public-playlist-image-wrapper img {
    width:100px;
}


/* vast css */

.vast-btns{
	box-sizing: border-box;
	position: absolute;
	z-index: 555557;
	font-size: 14px;
	color: #fff;
	background: #000;
	background: rgba(0,0,0,0.7);
	padding: 10px;
	cursor: pointer;
}
.vdd-mute{
	bottom: 15px;
	right: 10px;
	padding: 5px 5px 5px;
	border-radius: 50%;
	opacity: 0.8;
	width: 35px;
	height: 35px;
	background:#fff;
	transition: 0.3s
}
#baner-video-description{
{
    padding:4px;
    background-color:#fff;
}
#baner-video-description a{
    color:red;
}

#video-marker-element {
    background-color:black;
}
.stag {
    float:left;
    margin-left:30px;
}
