/* DOCUMENT INFORMATION
	- Document: <Name> Template
	- Version:  1.0.0
	- Client:   <Name>
	- Author:   Ing. Mauricio Arroyo   
*/

/* COLORS
	- default body text  #ffffcc
	- subtitle h2 text   #ff9900
	- form input borders #cc9933
	- default p text     #f0f0f0
	- pre borders        #ffff99
*/

/* ===GLOBAL=== */
body{
	font-family: "Open Sans",sans-serif;
	font-size: 15px;
	line-height: 24px;
	color: #19272e;
	letter-spacing: -.01em;
	-webkit-font-smoothing: antialiased;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
	overflow-x: hidden;
}

#login, #header, #main, #new-episodes, #episodes-container,
#category-episodes, #category-episodes-2, #footer {
	display: none;
}

.error-message {
	color: #D8000C;
	font-weight: 700;
}

/* ===SPINNER=== */
#spinner-front, #spinner-back {
  position: fixed;
  top: 0;
  left: 0;
  visibility: hidden;
  opacity: 0;
  width: 100%;
  transition: all 1s;
}
#spinner-front {
  z-index: 999;
  margin-top: 45vh;
  color: #000000;
	text-align: center;
	font-size: 22px;
}
#spinner-back {
  z-index: 998;
  height: 100vh;
  background: #FEFEFE;
}
#spinner-front.show {
  visibility: visible;
  opacity: 1;
}
#spinner-back.show {
  visibility: visible;
  opacity: 1;
}

/* ===PRIMARY=== */

/* ===HEADER=== */
#header{
	background-color: #0c0e17;
}

#header .wrapper{
	padding: 0 55px 0 15px;
}

#header .container{
	max-width: 1776px;
	margin: 0 auto;
}

.header__inner{
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	min-height: 80px;
}

.header__left{
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
}

.header__right{
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
}

.header__user-account{
	position: relative;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
}

.header__user-account--link::after {
	display: inline-block;
	right: -14px;
	content: "";
	width: 7px;
	height: 6px;
	position: absolute;
	top: 50%;
}
.header__user-account--link::after {
	background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="7" height="4"><path d="M6.9 1L3.9 3.8C3.9 3.8 3.8 3.8 3.8 3.9 3.7 3.9 3.6 4 3.6 4L3.3 4C3.3 4 3.3 3.9 3.3 3.9 3.2 4 3.1 3.9 3.1 3.9L0.1 1C0 0.9 0 0.7 0.1 0.6L0.5 0.1C0.6 0 0.8 0 0.9 0.1L3 2.2C3.2 2.3 3.3 2.3 3.4 2.3 3.8 2.3 4.1 1.9 4.1 1.9L4.1 1.9 6.1 0.1C6.2 0 6.4 0 6.5 0.1L6.9 0.5C7 0.7 7 0.9 6.9 1Z" fill="rgb(124, 127, 130)"/></svg>') no-repeat;
}

#header ul.user-menu{
	background-color: #ffffff;
	padding: 10px 20px;
	list-style: none;
	position: absolute;
	margin: 60px 0 0 0;
	-webkit-box-shadow: 0 1px 4px rgba(0,0,0,.25);
	-moz-box-shadow: 0 1px 4px rgba(0,0,0,.25);
	box-shadow: 0 1px 4px rgba(0,0,0,.25);
	border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
	display: none;
	z-index: 999;
}

#header ul.user-menu a{
	color: #292c61;
}

.menu-show{
	display: block !important;
}

#header ul.user-menu:before{
	content: '';
	border-style: solid;
	border-top: 7px solid transparent;
	border-left: 7px solid transparent;
	border-bottom: 7px solid #ffffff;
	border-right: 7px solid transparent;
	position: absolute;
	top: -14px;
	left: 9px;
}

/* ===SECTION LOGIN=== */

#login {
	background: url(../images/login/header-bg.jpg) no-repeat center top;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
	position: relative;
	border-bottom: 5px solid #f8b400;
	padding-bottom: 40px;
}

#login .overlay{
	background: rgba(0, 0, 0, 0.5) none repeat scroll 0 0;
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 0;
}

#login .header-container{
	min-height: 600px;
	max-width: 900px;
	margin: 0 auto;
	position: relative;
}

#login .header-container .wrapper{
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	text-align: center;
	margin: 0 auto;
	width: 100%;
	padding: 0 15px;
}

#login .header-container .wrapper h1{
	font-family: "Montserrat","Open Sans",sans-serif;
	font-size: 38px;
	font-weight: 500;
	line-height: 1.3;
	margin-bottom: 20px;
	color: #FFF;
}

#login .header-container .wrapper h2{
	font-size: 20px;
	line-height: 1.5;
	color: #FFF;
	font-weight: normal;
}

#login .header-container .wrapper .strong{
	font-weight: 600;
}

#login .logo{
	max-width: 140px;
	margin-bottom: 25px;
}

#login #auth0-login {
	margin-top: 50px;
	cursor: pointer;
}

/* ===SECTION MAIN=== */
#main{
	position: relative;
	background-size: cover;
	height: 400px;
	width: 100%;
	background-image: url("../images/main-header-mobile.jpg");
}

#main:before{
	background: -webkit-linear-gradient(top,rgba(240,47,23,0) 0%,rgba(0,0,0,.9) 100%);
	background: linear-gradient(to bottom,rgba(240,47,23,0) 0%,rgba(0,0,0,.9) 100%);
	content: " ";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	z-index: 1;
}

#main .wrapper{
	padding: 0 15px;
}
#main .container{
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	height: 100%;
	max-width: 1776px;
	margin: 0 auto;
}

#main .single-featured-movie{
	-webkit-box-flex: 0;
	-webkit-flex: 0 0 36.6666666667%;
	flex: 0 0 36.6666666667%;
	max-width: 100%;
	padding-bottom: 4%;
	-webkit-align-self: flex-end;
	align-self: flex-end;
	padding-top: 20px;
}

#main .single-featured-movie__inner{
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	flex-direction: column;
}

#main .movie__link{
	-webkit-box-ordinal-group: 3;
	-webkit-order: 2;
	order: 2;
	margin-bottom: 32px;
	display: inline-block;
	z-index: 999;
}

#main .movie__link h3{
	font-size: 40px;
	color: #fff;
	line-height: 1.1;
	font-family: "Montserrat","Open Sans",sans-serif;
	white-space: normal;
	font-weight: 700;
	margin-bottom: .5rem;
}


#main .movie__meta{
	-webkit-box-ordinal-group: 2;
	-webkit-order: 1;
	order: 1;
	margin-bottom: 19px;
	font-size: 14px;
	color: #ffffff;
	line-height: 18px;
	z-index: 999;
}

#main .movie__meta a{
	color: #ffffff;
}

#main .single-featured-movie .movie__meta span+span:before {
	content: '|';
	padding: 0 10px;
}

#main .movie__actions{
	-webkit-box-ordinal-group: 3;
	-webkit-order: 2;
	order: 2;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	z-index: 999;
}

#main .movie-actions--link_watch{
	display: inline-block;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    text-transform: uppercase;
    padding: 10px 20px;
    font-size: .9375rem;
    line-height: 1.5;
    border-radius: 4px;
    -webkit-transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    font-size: .875rem;
    line-height: 1.5;
    border-radius: 5px;
    font-family: "Montserrat","Open Sans",sans-serif;
    border-width: 2px;
    display: block;
		width: 100%;
		background-color: #292c61;
		color: #ffffff;
		padding: 21px 38px 16px;
    display: inline-block;
    width: auto;
}

#main .movie-actions--link_watch:hover{
	color: #f8b400;
}


/* ===SECTION NEW EPISODES=== */
#new-episodes{
	background-color: #131722;
}

#new-episodes .container{
	max-width: 1776px;
	margin: 0 auto;
	padding: 55px 0 15px;
}

#new-episodes header{
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	margin-bottom: 29px;
  width: 100%;
}

#new-episodes header .section-title{
	font-size: 24px;
	line-height: 1.25;
	letter-spacing: -.025em;
	font-weight: 500;
	color: #fff;
	position: relative;
	display: block;
	overflow: hidden;
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	flex: 1;
	margin: 0;
	min-width: 15%;
}

.section-title:after {
	position: absolute;
	content: "";
	height: 1px;
	background-color: #394253;
	width: 100%;
	top: 50%;
	margin-left: 25px;
}

#new-episodes .episodes-block{
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-right: -10px;
	margin-left: -10px;
	position: relative;
}

#new-episodes .main-episode{
	position: relative;
	width: 100%;
	padding-right: 10px;
	padding-left: 10px;
	-webkit-box-flex: 0;
	-webkit-flex: 0 0 40.0833333333%;
	flex: 0 0 40.0833333333%;
	max-width: 40.0833333333%;
}

#new-episodes .episode__poster{
	position: relative;
}

#new-episodes .episode__poster a{
	display: block;
	width: 100%;
	position: relative;
	overflow: hidden;
	height: 100%;
}

#new-episodes .main-episode .episode__poster a{
	height: 388px;
}

#new-episodes .more-episodes .episode__poster a{
	height: 184px;
}

#new-episodes .episode__poster img{
	height: 100%;
	width: 100%;
	position: relative;
	display: block;
	max-width: 100%;
	max-height: 100%;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	-o-object-fit: cover;
	object-fit: cover;
	position: absolute;
}

#new-episodes .episode__poster:before{
	background: -webkit-linear-gradient(top,rgba(240,47,23,0) 0%,rgba(0,0,0,.9) 100%);
	background: linear-gradient(to bottom,rgba(240,47,23,0) 0%,rgba(0,0,0,.9) 100%);
	content: " ";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	z-index: 1;
}

#new-episodes .episode__body{
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 0 25px 5px;
	z-index: 1;
}

#new-episodes .episode__body a{
	position: relative;
	display: block;
}

#new-episodes .episode__body a .episode__title:hover{
	color: #f8b400 !important;
}

.m-episode{
	position: relative;
	width: 100%;
	padding-right: 10px;
	margin-bottom: 20px;
}

.episode__number {
	font-size: 12px;
	line-height: 18px;
	color: #949cb0;
	display: block;
}

.episode__title{
	font-family: "Open Sans",sans-serif;
	font-weight: 700;
	font-size: 15px;
	line-height: 18px;
	color: #ffffff;
	margin-bottom: 11px;
}

#new-episodes .more-episodes{
	position: relative;
	width: 100%;
	padding-right: 10px;
	padding-left: 10px;
	-webkit-box-flex: 0;
	-webkit-flex: 0 0 59.9166666667%;
	flex: 0 0 59.9166666667%;
	max-width: 59.9166666667%;
}

#new-episodes .more-episodes .episodes__inner{
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-right: -10px;
	margin-left: -10px;
}

#new-episodes .episode{
	position: relative;
	width: 100%;
	padding-right: 10px;
	padding-left: 10px;
	margin-bottom: 20px;
	-webkit-box-flex: 0;
	-webkit-flex: 0 0 33.3333333333%;
	flex: 0 0 33.3333333333%;
	max-width: 33.3333333333%;
}

/* ===SECTION CATEGORY EPISODES=== */
#episodes-container .category-episodes{
	background-color: #0e0d12;
	padding: 0 15px;
}

#episodes-container > div:nth-of-type(odd){
	background-color: #131722;
}

#episodes-container .category-episodes .container{
	max-width: 1776px;
	margin: 0 auto;
	padding: 55px 0 35px;
}

#episodes-container .category-episodes header{
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	margin-bottom: 29px;
  width: 100%;
}

#episodes-container .category-episodes header .section-title{
	font-size: 24px;
	line-height: 1.25;
	letter-spacing: -.025em;
	font-weight: 500;
	color: #fff;
	position: relative;
	display: block;
	overflow: hidden;
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	flex: 1;
	margin: 0;
	min-width: 15%;
}

/* ===SECTION CATEGORY EPISODES 2=== */
#category-episodes-2{
	background-color: #0e0d12;
}

#category-episodes-2.alternate{
	background-color: #131722;
}

#category-episodes-2 .container{
	max-width: 1776px;
	margin: 0 auto;
	padding: 55px 0 35px;
}

#category-episodes-2 header{
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	margin-bottom: 29px;
  width: 100%;
}

#category-episodes-2 header .section-title{
	font-size: 24px;
	line-height: 1.25;
	letter-spacing: -.025em;
	font-weight: 500;
	color: #fff;
	position: relative;
	display: block;
	overflow: hidden;
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	flex: 1;
	margin: 0;
	min-width: 15%;
}

.row {
  overflow: hidden;
  width: 100%;
}
.row__inner {
  transition: 450ms -webkit-transform;
  transition: 450ms transform;
  transition: 450ms transform, 450ms -webkit-transform;
  font-size: 0;
  white-space: nowrap;
  margin: 25px 0;
	padding-bottom: 10px;
	overflow-y: hidden;
	overflow-x: auto;
}
.tile {
  position: relative;
  display: inline-block;
  width: 250px;
  height: 140.625px;
  margin-right: 10px;
  font-size: 20px;
  cursor: pointer;
  transition: 450ms all;
  -webkit-transform-origin: center left;
          transform-origin: center left;
}
.tile__img {
  width: 250px;
  height: 140.625px;
  -o-object-fit: cover;
     object-fit: cover;
}
.tile__details {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  font-size: 10px;
  opacity: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
  transition: 450ms opacity;
}
.tile__details:after,
.tile__details:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  display: #000;
}
.tile__details:after {
  margin-top: -25px;
  margin-left: -25px;
  width: 50px;
  height: 50px;
  border: 3px solid #ffffff;
  line-height: 50px;
  text-align: center;
  border-radius: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}
.tile__details:before {
  content: '\25B6';
  left: 0;
  width: 100%;
  font-size: 25px;
  margin-left: 2px;
  margin-top: -12px;
  text-align: center;
	z-index: 2;
	color: #ffffff;
}
.tile:hover .tile__details {
  opacity: 1;
}
.tile__title {
  position: absolute;
	bottom: 0;
	padding: 10px;
	color: #fff;
	transform: translateX(-50%);
	left: 50%;
	font-size: 12px;
}
/*.row__inner:hover {
 -webkit-transform: translate3d(-62.5px, 0, 0);
          transform: translate3d(-62.5px, 0, 0);
}*/
.row__inner:hover .tile {
  opacity: 0.3;
}
.row__inner:hover .tile:hover {
  -webkit-transform: scale(1.5);
          transform: scale(1.5);
  opacity: 1;
}
.tile:hover ~ .tile {
  -webkit-transform: translate3d(125px, 0, 0);
          transform: translate3d(125px, 0, 0);
}

/* ===FOOTER=== */
#footer{
	background-color: #0e0d12;
}

#footer .container{
	max-width: 1776px;
	margin: 0 auto;
	padding: 50px 0;
}

#footer p{
	color: #949cb0;
	text-align: center;
  font-size: 13px;
	line-height: 1.2;
	margin: 0;
}

#fade {
  display: none;
  position: fixed;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  background-color: black;
  z-index: 1001;
  -moz-opacity: 0.8;
  opacity: .80;
  filter: alpha(opacity=80);
}

#light {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 600px;
  max-height: 360px;
  margin-left: -300px;
  margin-top: -180px;
  border: 2px solid #FFF;
  background: #FFF;
  z-index: 1002;
  overflow: visible;
}

#boxclose {
  float: right;
  cursor: pointer;
  color: #fff;
  border: 1px solid #AEAEAE;
  border-radius: 3px;
  background: #222222;
  font-size: 31px;
  font-weight: bold;
  display: inline-block;
  line-height: 0px;
  padding: 11px 3px;
  position: absolute;
  right: 2px;
  top: 2px;
  z-index: 1002;
  opacity: 0.9;
}

.boxclose:before {
  content: "×";
}

#fade:hover ~ #boxclose {
  display:none;
}

.test:hover ~ .test2 {
  display: none;
}

/* Small only */
@media screen and (min-width: 480px) {
	#main .movie__link h3{
		font-size: 50px;
	}
}

/* Medium and up */
@media screen and (min-width: 768px) {
	#main{
		height: 600px;
		background-image: url("../images/main-header.jpg");
	}

	#login .header-container{
		min-height: 700px;
	}
	
}

/* Medium only */
@media screen and (min-width: 960px) {
	
}

/* Large and up */
@media screen and (min-width: 1024px) {
	#main .movie__link h3{
		font-size: 65px;
	}
	#login .header-container .wrapper h1{
		font-family: "Montserrat","Open Sans",sans-serif;
		font-size: 54px;
	}
}

/* Large only */
@media screen and (min-width: 1200px) {
	#main .single-featured-movie{
		max-width: 45.6666666667%;
	}
}