/*iba en la parte de arriba de default bla antes de Search*/
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* Fondo semitransparente */
    z-index: 9999; /* Asegura que esto por encima de todo */
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
}

@keyframes  spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* A&ntilde;adir esto a tu archivo CSS */
#page-content {
    transition: visibility 0.3s ease-in-out;
}

.episodes {
   padding-top: 0px;
      max-width: 1365px;
  /*  margin: 0 auto; */ 
	  margin-top: 0px;
      padding-bottom: 0px;
	  border-radius: 10px;

}
.episodes_row {
    margin-top: 0px;
}
.search {
	margin-left:0px;
	margin-right:0px;	
}

.footer {
	margin-bottom:0px;
}
.footer .container {
	margin-bottom:80px;	
}

.pace {
  -webkit-pointer-events: none;
  pointer-events: none;

  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.pace-inactive {
  display: none;
}

.pace .pace-progress {
  background: #ee3148;
  position: fixed;
  z-index: 2000;
  top: 0;
  right: 100%;
  width: 100%;
  height: 5px;
}

  /* =SEARCH WIDGET
----------------------------------------------- */
.search-random-icons-container {
	float: right;
}

#masthead .search-wrap input.s {
	width: 90%;
}

.top-search-wrap {
	float: left;
}

.fa.search-top {
color: #fff;
cursor: pointer;
font-size: 28px;
padding: 0px 21px;
text-shadow: rgb(0, 0, 0) 0 0 38px;
}

.fa.search-top:hover {
	/*background-color: #289dcc;*/
	color: #ecab02;
}

.search-wrap {
	position: relative;
}

.search-wrap button {
border-radius: 0;
color: #ffffff;
line-height: 29px;
margin-bottom: 0px;
padding: 1px 11px;
margin-left: 10px;
margin-top: 1px;
}

.search-icon:before {
	content: "\f002";
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	text-decoration: inherit;
	color: #323537;
	font-size: 18px;
}

.search-form-top {
border: 1px solid #100082;
display: none;
padding: 10px;
position: absolute;
right: 0;
top: 44px;
z-index: 9999;
background-color: #ffffff;
width: 702px;
border-radius: 7px 7px 7px 7px;
}

.search-form-top.show {
	display: block;
}

.not-found .search-wrap button {
	right: 175px;
}

#secondary .search-wrap button {
	right: 26px;
}

  /* =END SEARCH WIDGET
----------------------------------------------- */

/*----------logo responsive-------*/
@media  screen and (max-width:1200px) {
   .logo a img {
    vertical-align: top;
    margin-left: 373px;
    padding: 0 0 0 78px;
      /* top: -11px;*/
    position: relative;
}
}

@media  screen and (max-width:1080px) {
   .logo a img {
    vertical-align: top;
    margin-left: 278px;
    padding: 0 0 0 78px;
   /* top: -11px;*/
    position: relative;
}
}

@media  screen and (max-width:900px) {
   .logo a img {
    vertical-align: top;
    margin-left: 187px;
    padding: 0 0 0 78px;
     /* top: -11px;*/
    position: relative;
}
}

@media  screen and (max-width:768px) {
   .logo a img {
    vertical-align: top;
    margin-left: 154px;
            padding: 0 0 0 0px;
    /* top: -11px;*/
    position: relative;
}
}


@media  screen and (max-width:599px) {

.logo a img {

	/* vertical-align: top;
        margin-left: 12px;
        padding: 0 0 0 12px;
        top: -20px;
        position: relative;
		*/

        vertical-align: top;
        margin-left: 154px;
        padding: 0 0 0 0px;
        /* top: -11px; */
        position: relative;
    }
}

/*-------------------------*/

/*----------lupa responsive-------*/
@media  screen and (max-width:1200px) {
   .fa.search-top {


    padding: 0px 21px;
  

    }
    #masthead .search-wrap input.s {
        width: 82%;
    }

    .search-form-top {
        right: 117px;
        width: 335px;
        
    }
}

@media  screen and (max-width:1100px) {
   .fa.search-top {


    padding: 0px 460px;
  

    }
    #masthead .search-wrap input.s {
        width: 82%;
    }

    .search-form-top {
        right: 117px;
        width: 335px;
        
    }
}

@media  screen and (max-width:1080px) {
   .fa.search-top {


    padding: 0px 398px;
   

    }
    #masthead .search-wrap input.s {
        width: 82%;
    }

    .search-form-top {
        right: 117px;
        width: 335px;
        
    }
}

@media  screen and (max-width:900px) {
   .fa.search-top {


    padding: 0px 364px;
   

    }

    #masthead .search-wrap input.s {
        width: 82%;
    }

    .search-form-top {
        right: 117px;
        width: 335px;
        
    }
}

@media  screen and (max-width:768px) {
   .fa.search-top {


    padding: 0px 349px;
    

   }

   #masthead .search-wrap input.s {
        width: 82%;
    }

    .search-form-top {
        right: 230px;
        width: 335px;
        
    }
}


@media  screen and (max-width:599px) {
   .fa.search-top {


    padding: 0px 125px;


    }

    #masthead .search-wrap input.s {
        width: 82%;
    }

    .search-form-top {
        right: 110px;
        width: 335px;
        
    }
}

@media  screen and (max-width:400px) {
   .fa.search-top {


    padding: 0px 77px;


   }
#masthead .search-wrap input.s {
        width: 82%;
    }

    .search-form-top {
        right: 46px;
        width: 335px;
        
    }


}

@media  screen and (max-width:321px) {
   .fa.search-top {


    padding: 0px 31px;


   }
#masthead .search-wrap input.s {
        width: 82%;
    }

    .search-form-top {
        right: 46px;
        width: 335px;
        
    }


}

/*----------end lupa responsive-------*/