@import url('https://fonts.googleapis.com/css?family=Mali');


/*CARGA DE PÁGINA*/
#contenedor_carga{
	background-color: rgba(0, 0, 0, 0.9); 
	height: 100%;
	width: 95%;
	position: fixed;
	-webkit-transition: all 1s ease;
	-o-transition: all 1s ease;
	transition: all 1s ease;
	z-index: 1000;
}
#preloader-gif{
	width: 164px;
	height: 148px;
	text-align: center;
	margin: auto;
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	margin: auto;

}
#texto-carga{
	color: #fff;
}
/*CARGA DE PÁGINA*/


*{
	font-family: 'Mali', cursive;
}

.container{
	background-color: rgb(20, 20, 20);
}
h1{
	font-size: 3em;
	color: rgb(229, 9, 20);
}
h2.titles{
	font-size: 1.7em;
}
h2, h3, h4, p{
	color: rgb(229, 229, 229);
}

.fila-1, .fila-2, .fila-3{
	width: 100%;
	margin: 2% auto 0 auto;
}
.marginleft{
	margin-left: 4.16%;
}

.episodio{
	height: 30vh;
	
	margin-bottom: 15px;
	padding: 0;
	border: 3px solid rgb(52, 58, 64);
}
.card{
	width: 100%;
	height: 100%;
	background-color: rgb(20, 20, 20);
}
.card img{
	width: 100%;
	height: 100%;
}
.card-title{
	height: 50%;
	padding: 10px;
	font-size: 	1.3em;
	display: flex;
	align-items: center;

	background-color: rgba(0, 0, 0, .5);
}
.card-img-overlay{
	width: 100%;
	height: 80%;
	position: absolute;
	top: 10%;
	text-align: center;

	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}


/*NAV TABS*/
.nav-tabs li a{
	color: #fff!important;
}
.nav-tabs{
	border-color: rgb(229, 9, 20)!important;
}
.nav-tabs .active a{
	background-color: rgb(20, 20, 20)!important;
	color: #fff!important;
	border-top-color: rgb(229, 9, 20)!important;
	border-left-color: rgb(229, 9, 20)!important;
	border-right-color: rgb(229, 9, 20)!important;
}
.nav-tabs li a:hover{
	background-color: rgba(229, 9, 20, .7)!important;
	border-color: transparent!important;
}

.logo-container{
	width: 25%;
	margin: 1% 0;
}
.logo-container img{
	max-width: 100%;
}

.credits-tab a{
	color: rgba(0, 173, 197, .8);
}
.credits-tab h3{
	margin-top: 0;
}
.credits-tab h4{
	margin-top: 3%;
	color: rgb(229, 9, 20);
}
.credits-tab label{
	color: rgb(255,255,255);
}
.credits-tab textarea{
	margin-top: 2%;
	color: rgba(255,255,255,.8);
	background-color: transparent;
}


/*VIDEOS*/
.video{
	width: 100%;
}
.video video{
	width: 100%;
}
.video-iframe{
	height: 70vh;
}
.video-iframe iframe{
	width: 100%;
	height: 100%;
}

.verEpisodio button{
	margin-bottom: 20px;
}

/*BACKWARD - FORWARD*/
.bf-buttons{
	width: 30%;
	margin: 3% auto 0 auto;
	text-align: center;
}
.bf-buttons .bf-b{
	color: rgb(217, 83, 79);
	font-size: 3em;
	cursor: pointer;
}
.bf-buttons .bf-b:hover{
	color: rgb(174, 41, 38);
}

/*RANDOM EPISODE*/
.random-ep-button{
	display: inline-block;
	float: right;
	margin-top: 4%;
}


/*RESPONSIVE WEB DESIGN*/
@media (max-width: 991px){
	.logo-container{
		width: 50%;
		margin: 3% 0;
	}
	.marginleft{
		margin-left: 0;
	}
	.episodio{
		height: 70vh;
	}
	.fila-2, .fila-3{
		margin-top: 0;
	}
	.card-title{
		padding: 50px;
	}
	.random-ep-button{
		margin-top: 8%;
	}
}
@media (orientation: landscape) and (max-width: 991px){
	.episodio{
		height: 80vh;
	}
	.bf-buttons{
		margin-top: 5%;
	}
	.video-iframe{
		height: 60vh;
	}
	.bf-buttons{
		width: 70%;
	}
}

@media (max-width: 700px){
	.episodio{
		height: 50vh;
	}
	.random-ep-button{
		margin-top: 9%;
	}
}
@media (max-width: 700px) and (max-height: 500px) {
	.episodio{
		height: 80vh; 
	}
}

@media (max-width: 500px){
	.logo-container{
		width: 70%;
		margin: 3% 0;
	}
	.episodio{
		height: 40vh;
	}
}
@media (orientation: landscape) and (max-width: 500px){
	.episodio{
		height: 60vh;
	}
}
@media (orientation: portrait){
	.video h3{
		margin-top: 0;
	}
	.btn-vereps{
		float: none!important;
		margin-top: 5%;
		margin-bottom: 0;
	}
	.video-iframe{
		height: 50vh;
	}
	.bf-buttons{
		width: 70%;
	}
}