* 	{
	box-sizing: border-box;
	margin:0;
	padding:0;
}

@font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 300;
    src: local('Oswald Light'),local('Oswald-Light'),url(https://themes.googleusercontent.com/static/fonts/oswald/v8/l1cOQ90roY9yC7voEhngDD8E0i7KZn-EPnyo3HZu7kw.woff) format('woff')
}

@font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 400;
    src: local('Oswald Regular'),local('Oswald-Regular'),url(https://themes.googleusercontent.com/static/fonts/oswald/v8/PyqsDANUgLi2UsdO-d4iZQ.woff) format('woff')
}

@font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 700;
    src: local('Oswald Bold'),local('Oswald-Bold'),url(https://themes.googleusercontent.com/static/fonts/oswald/v8/dI-qzxlKVQA6TUC5RKSb3z8E0i7KZn-EPnyo3HZu7kw.woff) format('woff')
}

html{
	font-family:arial,helvetica,sans-serif;
	font-size: calc(16px + 0vw);
	font-weight:400;
	background:#000;
	color: #808080; 
}


img {
	border: none;
}


.container img, .container_m img, .channel_all img{
opacity:0;
}


ul  {
	list-style-type: none;
}


a:link  {
	text-decoration: none;
	color: #36C;
	}

a:active, a:visited {
	color: #36C;
	}




@keyframes fadeIn {
	0%    { opacity: 0; }
	100%   { opacity: 1; }
	}


#sticky {
	/* position:sticky; */

	/* 	transition: transform .3s; */
	
	/* animation-duration: 3s; */
	/* max-height:167px;  */
	/*overflow: hidden;*/
	/* animation: slide 1s ease 3.5s forwards; */
	
position: sticky;
opacity:0;
top:0;
z-index: 200;
background: #fff;
transition: top .8s;
padding-bottom: 5px;
animation-name:  fadeIn;
animation-fill-mode: both;
animation-duration: .5s;
}



#wrapper {
	min-height:900px;
	background-color: #fff;
	max-width:1600px;
	margin:0 auto;
	position:relative;
	}


#header {
	text-align:center;
	color:#FFF;
	background:#191919;
	position: relative;
	height: 8.125em;  
	}


#sitename{
text-align:left;
font-weight:normal;
font-size:3em;
text-shadow:#000 2px 2px 3px;
height:71px;
margin-left: 30px;
font-family: 'Oswald', sans-serif;
}
		
#sitename a{
color:#fff;
font-weight:normal;
text-decoration:none
}
		

#menu_container{   
position: absolute;
bottom: 0;
width:100%;
font-size: 1.25em;
line-height: 1.9em;
font-weight:normal;
}

#menu_container ul{
background: #464646;
font-family: 'Oswald', sans-serif;
display: flex;

}

#menu_container li{
display: inline-block;
background:#2F2F2F;
margin:8px;
list-style:none;
border-radius: 8px;
flex:auto;
}

#menu_container li a{
display:block;
padding: 2px 6px 2px 6px;
text-decoration: none;
}

#menu_container li:hover{
background:#fff;
}

#menu_container li a:hover{
color:#000;
}


#selected_top_menu{
background:#fff !important;
color:#000 !important;
}

#top_menu > li:nth-child(5) {display:none;}


#container_text{
	background: #ffffff;
	padding: 4px;
	margin: 4px 18px 3px 34px;
	display:none;
	border: 1px solid #d8d5d5;
	border-radius: 4px;
	background: #464646;
}


#menu_container a, #selected_top_menu{
	color:#fff;
	padding: 2px 6px 2px 6px;
}


h1	{
	font-size:1.2em;
	font-weight:400;
	color:#525252;
	text-align:left;
	color:#fff;
}



#categories {
	font-size:1em;
	color:#fff;
	margin:0 0px 10px 0px;
	padding:10px 2px;
	text-align:center;
	background:#EFEAEA;
   	font-family: 'Oswald', sans-serif;
}

#categories ul{
	margin:0 2px 0 2px;
	display: grid;
	justify-content: center;
	width: 88%;
	margin: 0 auto;
	grid-template-columns: repeat(7, 1fr);

}


#categories li{
	color:#fff;
	list-style:none;
	border-radius: .55em;
	background:#777;
	margin:1px;
	min-width: 0; 
}

#categories li:hover{
	background:#424242;
}

#categories li a{
	display:block;
	padding:5px;
	color:#fff;
}

#categories a{
	text-decoration:none;
}

#categories a:hover{
	color:#fff;
}

#categories li:last-child{
	border:none
}


#selected{
	color:#fff;
	font-size: 1em;
	font-weight:700;
	background:#272727 !important;
	padding:5px;
}



#column_container{
	/* display: flex; */
	margin: 5px 30px;
}



.container {	
	margin:0 17px;
	margin-left: 3px;
	display:grid;
	grid-gap:.3em;
	visibility: hidden;
	/* grid-template-columns: repeat(auto-fit, minmax(160px,  1fr)); */
	 grid-template-columns: repeat(auto-fit, minmax(175px,  1fr)); 
	/* grid-auto-rows:318px;  */
	grid-auto-flow:dense;
	-moz-border-radius-bottomright: 7px;
	-moz-border-radius-bottomleft: 7px;
	border-bottom-right-radius: 7px;
	border-bottom-left-radius: 7px;
	 grid-auto-rows:max-content; 
	/* grid-auto-rows:307px; */
	/* align-items: stretch; */
	flex-grow: 0;
	flex-shrink: 0;
	flex-basis: 79%;
}



.container_pictures {	
	margin:0 17px;
	margin-left: 3px;
	display:grid;
	grid-gap:.3em;
	visibility: hidden;
	grid-template-columns: repeat(auto-fit, minmax(175px,  1fr)); 
	grid-auto-flow:dense;
	-moz-border-radius-bottomright: 7px;
	-moz-border-radius-bottomleft: 7px;
	border-bottom-right-radius: 7px;
	border-bottom-left-radius: 7px;
	 grid-auto-rows:max-content; 
	/* grid-auto-rows:307px; */
	/* align-items: stretch; */
	flex-grow: 0;
	flex-shrink: 0;
	flex-basis: 79%;
}	
	
	
#right_column{
	background:#efeaea;
	text-align: center;
	visibility: hidden;

		display:none;
}



#right_column_top_text{
	font-size: 1.4em;
	padding: 5px;
	background: #2f2f2f;
	color: #fff;
	margin-bottom: 4px;
	}
	
#right_column  li {
	padding:2px;
	margin: 2px;
	/* background: #777; */
	border-radius: .25em;
	}
	
	
	
#right_column li a{
	color:#335eff;
	display: block;
	padding: 4px;
	
	}

#right_column li a:hover{	
	text-decoration: underline;
	}


.thumbcont {
	min-height:250px;
	position: relative;
	}



.container_m {	
	margin:0 34px;
	display:grid;
	grid-gap:.3em;
	grid-template-columns: repeat(auto-fit, minmax(185px,  1fr));
	visibility: hidden;
	}


.container > div:before, .container_pictures > div:before, .container_m > div:before {
	content: "Loading...";
	position: absolute;
	top: calc(50% - 15px);
	left: calc(50% - 45px);
	right: 0;
	font-size: 23px;
	color: #888;
	z-index: 0;
	}


.movs {
	grid-column: span 2;
	/* grid-row: span 1; */
	background:black;
}

.pics {
	grid-column: span 1;
	background:#ddd;
}


.pics img{
	width:100%;
	height:100%;
	image-rendering:  -moz-crisp-edges;
	image-rendering:  pixelated;
	z-index: 10;
	position: relative;
	display: block;
}

.movs img {
	width: 100%; 
	height:100%;
	object-fit: contain;
	z-index: 10;
	position: relative;
}


.thumbcont_m{
	min-height:160px;
	height:100%;
	position: relative;
}

.thumbcont_m img{
	width:100%;
	height:100%;
	z-index: 10;
	position: relative;

}
		

.p_icon {
	font-weight:700;
	background: rgba(0,0,0,.4);
	position:absolute;
	bottom:3px;
	right:0px;
	padding:4px;
	font-size:14px;
	color:#fff;
	z-index: 10;
}
		
.c_link {
	border: 1px solid #9499a8;
	margin:3px 0 5px 3px;
	display:flex;
	fill: #dfdfdf;
	height: 1.5rem;
	line-height: .8rem;
	border-radius: .75rem;
	border-width: 1px;
	padding-left: calc(.5rem - 1px);
	padding-right: calc(.5rem - 5px);
	font-family: 'Oswald', sans-serif;

}


		
.c_link , .thumbtext {
	
	position:absolute;
	top:0px;
	left:0px;
	z-index:99;
	background: rgba(0,0,0,.4);
	padding:4px;
	font-size:.82em;
	color:#fff;
	border-radius:3px;

}

.play-arrow{
	margin-top: -4px;
	margin-left: 1px;
}

.title_long{
	font-size:13px;
	position:absolute;
	bottom:4px;
	left:0;
	z-index:100;
	border-radius:4px;
	color:#fff;
	background: rgba(0,0,0,.4);
	padding:3px;
	margin:0 4px
}


.thumb-is-loaded {
	transition: all 1s;
	-webkit-transition: all .6s;
	opacity: 1 !important;
}



/* --------------------   pagination ---------------------------------- */
.pag {margin: 3 0px 0}

.pagination{
	text-align:center;
	margin:50px auto 50px auto;
}
	
	
.pagination a:first-child {
	border-top-left-radius: 7px;
	border-bottom-left-radius: 7px;
}
	
	
.pagination a:last-child {
	border-top-right-radius: 7px;
	border-bottom-right-radius: 7px;
}
	
	
.pag a, a.button_pag {
	margin: 0px;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 12px;
	padding-bottom: 12px;
	color: #fff;
	font-size: 19px;
	font-weight: bold;
	text-decoration:none;
	text-align: center;
	vertical-align: middle;
	border: 1px solid #808080;
	border: 1px outset #000000;
	background:#414040;
}
	
	
.current {
	margin: 0px;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 12px;
	padding-bottom: 12px;
	display: inline;
	color: #bbb;
	font-size: 19px;
	font-weight: bold;
	text-align: center;
	vertical-align: middle;
	border: 1px solid #808080;
	border: 1px outset #000000;
	font-weight: bold;
	background:#827f7f;
}
	
	
.pag a:hover  {
	filter:alpha(opacity=70);
	-moz-opacity:0.7;
	-khtml-opacity: 0.7;
	opacity: 0.7;
}

/* ----------------------------------------- end pagination -------------------------- */


#foot {
font-weight:400;
background:#5C5C5C;
height:400px;
font-size:.81em;
color:#fff;
}


footer{
border: 1px solid #E3E3E3;
font-size:12px;
text-align:center;
margin:10px auto 0px auto;
width:500px;
padding:5px;
color:#666;
background:#FAFAFA;
}


#foot a { 
color:#fff;
font-weight:700;
}

.f_links ul {
list-style-type: none;
overflow: hidden;
position: relative;
border-bottom:1px solid #ccc;
width:94%;
padding:20px;
margin:10px auto;
}


.f_links li {
line-height:1.9em ;
float: left;
min-width: 19%;
}


.f_links li a{
display: block;
border-left: 1px solid #949494;
padding-left: 19px;
margin-left: 19px;
color:#fff;
}


#toTop {
position: fixed;
bottom: 20px;
right: 20px;
transition: all 0.5s ease 0s;
-moz-transition: all 0.5s ease 0s;
-webkit-transition: all 0.5s ease 0s;
-o-transition: all 0.5s ease 0s;
opacity: 0.5;
display: none;
cursor: pointer;
z-index:100;
}
	
#toTop:hover {
opacity: 1;
}


/* ----------------------------  channels -------------------------------- */


#main_top{
background: #F5F5F5;
margin:0 30px;
}

section#sponsor{
width:89%;
font-size:1.2em;
line-height: 1.3;
color:#636363;
background:#F5F5F5; 
position:relative;
padding:7px 1px 12px;
}

section#sponsor a{
font-weight:700;
}


h1#channel_title{
color:#000;
display:table;
font-size:1.6em;
font-weight:400;
margin-bottom:5px;
margin-top:4px;
margin-left:-5px;
background:#fff;
padding:5px;
border-radius:5px;
border:solid 1px #DCDCDC;
}

#pre_text {
background: #44813e;
padding: 4px;
border-radius: 8px;
}


#top_text{
padding: 10px;
font-size:.47em;
font-weight:400;
color:#E9E9E9;
text-align:left;
margin-top:3px;
text-shadow:#000 1px 1px 1px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
position: absolute;
top: 12px;
right: 30px;
}



section#sponsor a::before {
border-bottom: 13px solid transparent;
border-left: 10px solid #44813e;
border-top: 13px solid transparent;
content: "";
height: 0;
right: -10px;
position: absolute;
top: 0;
width: 0;
}


section#sponsor a::after {
background-color: #fff;
border-radius: 50%;
content: "";
height: 4px;
right: -3px;
position: absolute;
top: 11px;
width: 4px;
}


section#sponsor a{
font-weight:100;
background-color: #44813e;
display:inline-block;
padding: 1px 7px;
color: white;
line-height: 24px;
position: relative;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
margin-right:8px;
margin-top: 2px;
}



section#sponsor a:hover  {
color: #FF0;
}


section#tags{
position:absolute;
right:3px;
top:145px; 
font-size:1em;
font-weight:700;
background:#B1B1B1;
color:#424242;
z-index:100;
padding:5px;
margin: 0 30px 0 0;
}

section#tags a {
font-size:.81em;
color:#F5DE50;
background:#5C5C5C;
padding:3px;
}


#video_banner{
font-size: 2.3vw;
color: #BFBFBF;
font-family: arial,sans;
text-align: center;
padding: 29px 10px 29px 13px;
background: #1E1C1C;
}	



#video_banner img{
margin-top:20px;
max-width: 99%;
height: auto;
}



#video_banner_link  {
font-weight:100;
background-color: #44813e;
padding: 4px 12px;
display:inline-block;
line-height: 36px;
color: white;
position: relative;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;

}

#video_banner_link::before {
border-bottom: 22px solid transparent;
border-left: 17px solid #44813e;
border-top: 22px solid transparent;
content: "";
height: 0;
right: -17px;
position: absolute;
top: 0;
width: 0;
}



#video_banner_link::after {
background-color: #fff;
border-radius: 50%;
content: "";
height: 6px;
right: -6px;
position: absolute;
top: 20px;
width: 6px;
}

#video_banner_link:hover  {
color: #FF0;
}



#video_flex{
position: relative;
display:grid;
grid-template-columns: 76% auto;
margin: 5px 30px;
 /* min-height: 520px;  */
 /* justify-content: space-around ; */
/* align-items:center;
align-content:center; */
}

video{
width:100%;
height:40.5vw;
outline: none;
} 

video::-webkit-media-controls-overlay-play-button{display:none}


#movie_container {
/* flex: 0 0 50%; */
width:100%;
position:relative;
margin:0 ;
text-align:center;
background:#2F2F2F;
padding:0;
border-top-left-radius: .4em;
border-bottom-left-radius: .4em;
}


#movie_title {
color: #e4e1e1;
font-size: 1.1em;
display: block;
font-style: italic;
text-align: left;
margin:  5px;
}


#movie_title::first-letter {
font-weight:bold;
font-size:1.3em;
}


.title{
min-height:29px;
font-size:14px;
margin-bottom:5px;
color:#FFF;
padding:2px;
display:none
}
.play{
background:url(/images/play2.png) no-repeat scroll 0 0 transparent;
position:absolute;
right:4%;
bottom:9%;
float:left;
width:54px;
height:54px
}

.ad{
visibility:hidden;
opacity:0;
position:absolute;
left: 50%;
top: 45%;
transform: translate(-50%,-50%);
font-size:1.9vw;
width:35vw;
overflow:hidden;
color:#FF0;
z-index:10;
}


#replay{
float:left;
background:#2F2F2F;
background: rgba(159, 159, 159, 0.4);
padding:10px;
width:16vw;
cursor:pointer;
border:1px solid #656565;
border-radius:.3em;
}

.pre_hidden {
opacity:0;
position:relative;
}


.video-is-loaded {
transition: all .3s;
-webkit-transition: all .3s;
opacity: 1;
}


.clip-is-loaded {
transition: all .4s;
-webkit-transition: all .2s;
opacity: 1 !important;
}


#loading, #video_error{
position: absolute;
top: calc(50% - 37px);
left: calc(50% - 52px);
font-size: 22px;
color: #888;
display:none;
z-index:9;
}


@keyframes mymove {
	from {color:rgba(255, 255, 0, 0.514);}
	to {color:rgb(255, 255, 0);}
  }


.ad_new {
	font-family: 'Oswald', sans-serif;
	font-size:2.5vw;
	width:33vw;
}

.adText {
	/* color:red !important; */
	animation: mymove 3s;
}

.ad-is-visible{
 visibility:visible;
transition: all .2s;
  -webkit-transition: all .3s;
  opacity : 1;
}


.ad-is-hidden{
 transition: all .4s;
-webkit-transition: all .2s;
opacity: 0;
} 


#visit_site{
color:#FF0;
float:right;
text-decoration:none;
background:#2F2F2F;
background: rgba(159, 159, 159, 0.4);
padding:10px;
width:18vw;
border:1px solid #656565;
border-radius:.3em;
}

#visit_site_new{
	color:#FF0;
	float:right;
	text-decoration:none;
	background:#2F2F2F;
	background: rgba(42, 42, 42, 0.4);
	padding:10px;
	width:33vw;
	border:1px solid #656565;
	border-radius:.3em;
	}

.play-button:after{
content:"";
display:block;
position:absolute;
bottom:3px;
right:3px;
margin:0 auto;
border-style:solid;
border-width:8.5px 0 8.5px 13px;
border-color:transparent transparent transparent rgba(0,0,0,.7)
}

#play_b{
z-index:10;
cursor:pointer;
display:initial;
position:absolute;
max-height:10vw;
left: 50%;
top: 50%;
transform: translate(-50%,-50%);
}


.movie_title{
font-size:.79em;
padding: 0 .6em .6em .6em;
color:black;
width:100%;
}


#banner-fade {
/* flex grow, flex shrink and flex basis. */
/* display: flex; */
flex-direction: column;
align-items: center;
background:#f0f0f0;
box-shadow: inset 0px 15px 10px -15px #111;    
height:500px;
 /* max-height: 46vw;  */
 /* max-height:53vw; */
/* height:650px; */
overflow: auto;
}


#clips_top_text{
background:#2F2F2F;
text-align:left;
font-weight:700;
font-size:1em;
padding:8px;
border-top-right-radius: .4em;
color:#e4e1e1;
}


#clips {
border-left:1px solid #d2d2d2;
margin:0 5px ;
border-top-right-radius: .4em;
border-bottom-right-radius: .4em;
}

#clips img{
background:#000;
margin:0;
width:100%;
min-height: 130px;
}

.output_clips{
background: #fff;
margin:4px 0 1px 0;
position:relative;
width:97%;
min-height: 150px;
overflow: hidden;
border: 1px solid #bbb;
opacity:0;
}


.a_hover :hover{
-webkit-transition: all 1s ease;
  transition: all .2s ease;
-webkit-filter: brightness(60%);
filter: brightness(60%);
/* transition: opacity 0.2s ease-in-out; */
}


.hovered{
-webkit-transition: all 1s ease;
transition: all .0s ease;
-webkit-filter: brightness(60%);
filter: brightness(60%);
}


.play-button{
height:25px;
width:25px;
background-color:rgba(255,255,255,.7);
border-radius:35px;
border:1px solid #bbb;
position:absolute;
top:10px;
right:7px;
pointer-events:none
}


#picture_galleries_container{
margin: 10px 30px;
min-height:600px;
}

.galleries_output {
grid-column: span 1;
min-width: 0;
min-height: 0;
}

.galleries_output img{
width:100%;
height:100%;
image-rendering:  -moz-crisp-edges;
image-rendering:  pixelated;
opacity:0;
}

#thumbs_top_text{
font-size:20px;
background:#2F2F2F;
/* background: var(--gradient-bar); */
color:#fff;
margin: 3px;
padding:7px;
border-top-left-radius: .4em;
border-top-right-radius: .4em;
}	

.thumbs {	
margin:0 3px;
display:grid;
grid-gap:.3em;
/* grid-template-rows: repeat(auto-fill, minmax(165px,  318px)); */
grid-template-columns: repeat(auto-fill, minmax(173px,  1fr));
}



#related_container{
background: #fff;
margin:10px 30px;
}


.related_channels {
margin-top: 3px;
background: #f0f0f0;
padding-bottom:6px;
border-bottom: 1px solid #d2d2d2;
}

#related_text{
background:#2F2F2F;
/* background: var(--gradient-bar); */
font-size:19px;
font-weight:700;
color:#fff;
padding:5px;
border-top-left-radius: .4em;
border-top-right-radius: .4em;
}

.related_channels ul {
display: grid;
grid-gap: .3em;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
width: 100%;
}

.related_channels li {
background:#3A3A3A;
padding:3px;
height:100%;
width:100%; 
}

.related_channels  img{
object-fit:contain;
background: #000;
width:100%;
max-height: 135px;
}

.related_channels a{
display:block;
color:#F5DE50;
text-decoration:none;
text-align:center;
font-weight:700;
font-size:1em;
padding:5px
}








#bottom{
text-align:center;
background:#000;
margin:3px 30px;
padding:20px;
font-size:2.3vw;
color:#BFBFBF;
border-bottom-left-radius: .2em;
border-bottom-right-radius: .2em;
}


#bottom a:first-child {
font-weight:100;
background-color: #44813e;
padding: 4px 12px;
display:inline-block;
line-height: 36px;
color: white;
position: relative;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
}

#bottom a:first-child::before {
border-bottom: 22px solid transparent;
border-left: 17px solid #44813e;
border-top: 22px solid transparent;
content: "";
height: 0;
right: -17px;
position: absolute;
top: 0;
width: 0;
}

	
#bottom a:first-child::after {
background-color: #fff;
border-radius: 50%;
content: "";
height: 6px;
right: -6px;
position: absolute;
top: 20px;
width: 6px;
}

#bottom a:first-child:hover  {
	color: #FF0;
}

#bottom  img{
/* max-width: 72vw; */
max-width:100%;
margin-top:.3em;
height: auto;
}




/* ----------------------------  end channels -------------------------------- */





/* ----------------------------  channelslist -------------------------------- */

.channel_all {
display:grid;
grid-gap:0px;
grid-template-columns: repeat(auto-fit, minmax(250px,  1fr));
visibility: hidden;
margin:0 30px;
}

.channel_thumbs {
grid-column: span 1;
margin: 5px;
background: #E9E9E9;
font-size: 1em;
border: 1px #DFDDDD solid;
text-align: center;
position: relative;
min-height: 250px;
display: flex;
flex-direction: column;
justify-content: space-between;
padding-bottom: 6px;
}


.channel_thumbs_bottom{
background:#E9E9E9;
width: 100%;
color: rgb(104, 99, 99);	
}


.channel_name  {
border: 1px solid #9499a8;
margin:5px 0 5px 0;
display:inline-block;
fill: cornsilk;
height: 1.5rem;
line-height: .8rem;
border-radius: .75rem;
border-width: 1px;
padding-left: calc(.5rem - 1px);
padding-right: calc(.5rem - 1px);
background: #ffc759;
font-weight: 700;
}


.channel_thumbs img {
width: 100%;
object-fit: contain;
position: relative;
z-index: 10;
}


.channel_name:before  {
content: "";
display: inline-block;
height: 100%;
vertical-align: middle;
}


.channel_all > div:before{
content: "Loading...";
position: absolute;
top: calc(50% - -1px);
left: calc(50% - 106px);
right: 0;
font-size: 23px;
color: #888;
z-index: 0;
}

/* ---------------------------- end  channelslist -------------------------------- */


/* ----------------------------  galleries -------------------------------- */


#sponsor{
width: 98%;
font-size: 1.2em;
line-height: 1.3;
color: #636363;
background: #F5F5F5;
position: relative;
margin: 0;
padding: 10px;
}


h1#gallery_title {
font-size: 27px;
margin-bottom: 15px;
margin-right: 20px;
margin-top: 14px;
margin-left: 21px;
border-spacing: 0 1px;
border-radius: 5px;
border: 1px solid #DCDCDC;
font-weight: 400;
padding: 5px;
color: #000;
}


h2#channel_title{
	font-size: 20px;
	display: inline;
	font-weight:normal;
}

#sponsor_banner > a:hover{
color:rgb(7, 70, 196);
}

#column_container_galleries{
	 /* display: flex;  */
	/* for right colom set: grid-template-columns: repeat(6, 1fr); in gallery php file */
	margin: 5px 30px;
	position: relative;
	

}

.gallery {
flex-grow: 0;
flex-shrink: 0;
flex-basis: 79%;
margin-right: 12px ;
display:grid;
grid-gap: 5px;
row-gap:0;
/* grid-template-columns: repeat(auto-fit, minmax(179px, 1fr)); */
 grid-template-columns: repeat(7, 1fr); 
/* grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); */
/* grid-auto-rows: 265px; */
/* grid-auto-rows: 318px; */
grid-auto-flow: dense; 
grid-auto-rows: max-content; 
/* align-items: stretch; */
/*grid-column-gap: 25px;*/
grid-row-gap: 5px;
visibility: hidden;

}


.gallery > div:before {
	content: "Loading...";
	position: absolute;
	top: calc(50% - 15px);
	left: calc(50% - 45px);
	right: 0;
	font-size: 23px;
	color: #888;
	z-index: 0;
	}


#sp_link{
background:green;
color:#fff;
padding:8px;
text-decoration:none;
border-radius:10px;
}

#sp_link:hover {
    color: #FF0;
}


.gallery_thumbs{
opacity:0;
}

.thumb_1 > a img {
    width: 100%;
	height: 100%;
	position: relative;
	z-index:10;
	display: block;
/* image-rendering: pixelated; */
}


.thumb_2 > a img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	z-index:10;
	position: relative;
	/* image-rendering: pixelated; */
}



.thumb_1{
grid-column: span 1;
position: relative;
background: #464646;


}


.thumb_2{
grid-column: span 2;
background: #464646;
position: relative;
}



#banner_bottom {
margin-top:10px;
}

#banner_bottom img {
max-width: 100%;
height:100%;
}


#sponsor_banner{
text-align: left;
padding:10px  40px;
font-size: 30px;
/* background: #d8d8d8;  */
margin-bottom: 120px; 
}

.top_banner_left {
    background: #464646;
	margin-bottom:13px;
}


.top_banner_left_text{
	font-size: 1em;
   	 display: block;
	padding: 7px 2px;
	color: #fff;
	font-family: 'Oswald', sans-serif;
	
}

.top_banner_left img {
	display: block;
	width: 100%;
  	height: 100%;
	opacity:0;
}

/* ----------------------------  end galleries -------------------------------- */


@keyframes to_zero
{
from {max-height: 167px;}
to {max-height: 0px;}
}


@keyframes to_max
{
from {max-height: 0px;}
to {max-height: 167px;}
}


.loader, .loader2, .loader:after, .loader2:after
{
border-radius: 50%;
width: 10em;
height: 10em;
}

.loader, .loader2 
{
margin: 25px auto;
font-size: 10px;
position: relative;
text-indent: -9999em;
border-top: 1.1em solid rgba(255, 255, 255, 0.2);
border-right: 1.1em solid rgba(255, 255, 255, 0.2);
border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
border-left: 1.1em solid #767676;
-webkit-transform: translateZ(0);
-ms-transform: translateZ(0);
transform: translateZ(0);
-webkit-animation: load8 1.1s infinite linear;
animation: load8 1.1s infinite linear;
}

@-webkit-keyframes load8
{
0% {
	-webkit-transform: rotate(0deg);
	transform: rotate(0deg);
}
100% {
	-webkit-transform: rotate(360deg);
	transform: rotate(360deg);
}
}


@keyframes load8 {
0% {
	-webkit-transform: rotate(0deg);
	transform: rotate(0deg);
}
100% {
	-webkit-transform: rotate(360deg);
	transform: rotate(360deg);
}
}


.spinner, .spinner2
{
width: 240px;
margin:0 auto;

}

.spinner_galleries {
width: 240px;
margin:0 auto;
position: absolute;
z-index:20;
top:0;
left:30%;
}

/* ---------------------------- end spinner -------------------------------- */


@media  (max-width: 1200px)
{
#menu_container{
	font-size: 1em;
}

#right_column_top_text {
	font-size: 1.2em;
}
}


@media  (max-width: 1230px) {
/* #categories ul {width: 85%;} */
}

@media  (max-width: 1433px) {

.gallery{
	  /* grid-template-columns: repeat(auto-fit, minmax(159px, 1fr));  */
	  grid-template-columns: repeat(6, 1fr); 

}

}




@media  (max-width: 1170px) 
{
#wrapper {margin:0 auto;}
#categories {padding: 10px 0;}
#categories ul {width: 90%;}


}



/*  ipad */
@media  (max-width: 1104px) {
.gallery{
	 /* grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));  */
	 grid-template-columns: repeat(6, 1fr); 
}

.container_pictures {
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.top_banner_left_text{
	font-size: .7em;
}

}


@media  (max-width: 1100px)
{
#categories {font-size:.79em}
section#sponsor{font-size:1.0em;}

}



@media  (max-width: 950px)
{
#categories {font-size:.69em}
}


@media  (max-width: 900px) {
#tags{display:none;}
}



@media  (max-width: 1026px)
{
.thumbs {grid-template-columns: repeat(auto-fill, minmax(125px, 1fr));}

.container {	
		grid-template-columns: repeat(auto-fit, minmax(125px,  1fr)); 
	}

	.thumbcont {
		min-height: 150px;
	}

.c_link, .thumbtext {font-size: .72em;}

h1#channel_title{font-size: 1.4em;}

}







