#encantadia-sticky-header{
  display: block;
  opacity: 1;
}

body{
  background-image: none;
}

#wrapper{
  background-image: url(/gma/assets/encantadia/microsite/videos/encantadia.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

#videos-section-player {
    margin-top: 10px;
    margin-left: 10px;
    max-width: 450px;
    box-sizing: border-box;
    position: fixed;
    overflow: auto;
    bottom: 0;
    top: 248px;
    padding-right: 15px;
    min-height: 490px;
}

.video_preview_player{
  /*background: #000;*/
}


#videos-section-player.full-view{
  top: 60px;
}

#myModal .video_detail_container{
  max-height: 125px;
  overflow: auto;
  position: relative;
}

#video-sub-menu{
  /*background-color: #e1cc8d;*/
  background: rgba(226,205,142,0);
  background: -moz-linear-gradient(left, rgba(226,205,142,0) 7%, rgba(226,205,142,0.87) 20%, rgba(226,205,142,1) 22%, rgba(226,205,142,1) 49%, rgba(226,205,142,1) 78%, rgba(226,205,142,0.75) 83%, rgba(226,205,142,0) 98%);
  background: -webkit-gradient(left top, right top, color-stop(7%, rgba(226,205,142,0)), color-stop(20%, rgba(226,205,142,0.87)), color-stop(22%, rgba(226,205,142,1)), color-stop(49%, rgba(226,205,142,1)), color-stop(78%, rgba(226,205,142,1)), color-stop(83%, rgba(226,205,142,0.75)), color-stop(98%, rgba(226,205,142,0)));
  background: -webkit-linear-gradient(left, rgba(226,205,142,0) 7%, rgba(226,205,142,0.87) 20%, rgba(226,205,142,1) 22%, rgba(226,205,142,1) 49%, rgba(226,205,142,1) 78%, rgba(226,205,142,0.75) 83%, rgba(226,205,142,0) 98%);
  background: -o-linear-gradient(left, rgba(226,205,142,0) 7%, rgba(226,205,142,0.87) 20%, rgba(226,205,142,1) 22%, rgba(226,205,142,1) 49%, rgba(226,205,142,1) 78%, rgba(226,205,142,0.75) 83%, rgba(226,205,142,0) 98%);
  background: -ms-linear-gradient(left, rgba(226,205,142,0) 7%, rgba(226,205,142,0.87) 20%, rgba(226,205,142,1) 22%, rgba(226,205,142,1) 49%, rgba(226,205,142,1) 78%, rgba(226,205,142,0.75) 83%, rgba(226,205,142,0) 98%);
  background: linear-gradient(to right, rgba(226,205,142,0) 7%, rgba(226,205,142,0.87) 20%, rgba(226,205,142,1) 22%, rgba(226,205,142,1) 49%, rgba(226,205,142,1) 78%, rgba(226,205,142,0.75) 83%, rgba(226,205,142,0) 98%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2cd8e', endColorstr='#e2cd8e', GradientType=1 );
  width: 100%;
  display: inline-block;
  padding: 5px;
  box-sizing: border-box;
}

#video-sub-menu ul {
  list-style: none;
  width: 100%;
  text-align: center;
  margin: 0 auto;
    max-width: 900px;
    display: table;
}

#video-sub-menu ul li.active, #video-sub-menu ul li:hover{
    font-weight: bold;
    font-size: 14px;
}

#video-sub-menu ul li{
    cursor: pointer;
    float: left;
    box-sizing: border-box;
    padding: 7px 0px 5px;
    text-align: center;
    font-size: 13px;
    /*margin: 0 38px;*/
    width: 19%;
}

#video-sub-menu ul li:first-child{
    margin: 0 0 0 50px;
    width: 13%;
}

#video-sub-menu ul li:nth-child(4){
    width: 24%;
}


.error{
  text-align: center;
  padding: 10px;
  float: left;
  color: #fff;
}

#myModal .video_preview_player{
  background: transparent;
}

#myModal .video_preview_title{
  padding: 10px 15px;
}
#myModal .video_preview_description{
  padding: 0 15px 10px;
}

.blocker{
  background: none !important;
  background-color: transparent !important;
  z-index: 5001;
}

#myModal .video_preview{
  background-color: rgba(0, 0, 0, 0.6);
}

#videos-section-content {
    /*width: 70%;*/
    box-sizing: border-box;
    margin-left: 480px;
}

.videos-list-items {
    float: left;
    width: 49%;
    margin: 10px 2px 0;
    position: relative;
    min-width: 300px;
}

.videos-desc{
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 10px 5px;
  height: 46px;
  background-color: rgba(0,0,0,0.8);
  color: #fff;
  font-family: Roboto-regular;
}

.video_detail_container p a{
  color: #3e5dff;
}

.videos-desc a{
  color: #fff;
  font-family: TrajanPro-Regular;
}

.videos-list-items .videos-image-bg{
  width: 100%;
  height: 225px;
}

.video_preview_title{
  color: #f4f89a;
  font-size: 18px;
  padding: 5px;
}

.video_preview_description{
  color: #fff;
  font-size: 15px;
  font-family: Roboto-Regular;
  padding: 0 5px 10px;
}

.video_preview .ad{
  margin: 10px auto 0;
}

.videos-image-bg:after{
  content: " ";
  width: 0;
  height: 0;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 30px solid rgba(255, 255, 255, 0.8);
  position: absolute;
  left: 0;
  right: 0;
  top: 40%;
  bottom: 0;
  margin: 0 auto;
  cursor: pointer;
}

.video_preview_fullview{
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  margin-top: 15px;

}

#video_fullview{
   color: #f4f89a;
   font-size: 13px;
   display: none;
}

.video_preview_opts{
  position: relative;
}

.videos-list-items .videos-image{
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

#videos-section{
  background-color: rgba(153, 141, 97, 0.8);
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
  min-height: 865px;
  box-sizing: border-box;
}

.close-preview{
  display: none;
}



.modal{
    display: none;
    padding: 0 !important;
    z-index: 9;
    width: 800px !important;
    min-height: 480px;
    display: none;
    background: none !important;
    z-index: 9;
    border-radius: 0 !important;
    border-radius: 8px;
    -webkit-box-shadow: 0 0 0px #000 !important;
    -moz-box-shadow: 0 0 0px #000 !important;
    -o-box-shadow: 0 0 0px #000 !important;
    -ms-box-shadow: 0 0 0px #000 !important;
    box-shadow: 0 0 0px #000 !important;
    top: 5%;
}

.modal a.close-modal{
    background: url('/gma/assets/encantadia/microsite/images/btn_close.png') no-repeat 0 0 !important;
    width: 20px !important;
    height: 20px !important;
    top: -8.5px !important;
    right: -8px !important;
    z-index: 11;
}


.ads-native{
  width: 100%;
  text-align: center;
  margin: 0 auto;
}

.blur-effect{
    -webkit-filter: blur(10px);
    -moz-filter: blur(10px);
    -o-filter: blur(10px);
    -ms-filter: blur(10px);
    filter: blur(10px);
    -webkit-transition: opacity .5s ease-in;
    -moz-transition: opacity .5s ease-in;
    -o-transition: opacity .5s ease-in;
    -ms-transition: opacity .5s ease-in;
    transition: opacity .5s ease-in;
}

.black-bg-transparent{
    background-color: #000;
    width: 100%;
    min-height: 650px;
    position: relative;
    opacity: .8;
}

.dropdown-videos-parent{
  display: none;
}

.video_preview_description p{
  margin-bottom: 23px;
  color: #fff;
  font-family: Roboto-Regular;
}


@media (max-width: 950px) {
    #video-sub-menu ul li{
        width: 18%;
    }
}

@media (max-height: 800px) {
  #videos-section-player{
    min-height: 450px;
  }
}

@media (max-height: 768px) and (min-width: 900px) and (max-width: 1300px) {
  .blocker{
    top: 190px;
    padding-bottom: 410px;
  }
}


@media (max-height: 800px)  and (max-width: 1120px) {
  .videos-list-items{
    width: 97%;
  }

  .blocker {
    top: 50px;
  }
}



@media (max-width: 860px) {

  .modal{
    width: 100% !important;
    top: 8%;
  }

  #mediaplayer_wrapper iframe{
    width: 100%;
  }

}

@media (max-width: 768px) {

  .modal a.close-modal{
      top: -14.5px !important;
      right: -2px !important;
    /*width: 30px !important;*/
    z-index: 999;
  }

  .videos-desc{
    height: 40px;
  }

  #myModal .video_detail_container{
    max-height: 230px;
  }

  #myModal .video_preview{
    padding-bottom: 30px;
  }

  .blocker{
    background-color: rgba(0,0,0,1) !important;
    z-index: 5001;
    padding: 5px !important;
      top: 0 !important;
  }

   #myModal.modal{
      width: 100% !important;
      min-height: 650px;
   }

  #video-sub-menu{
    display: none;
  }
  .dropbtn-videos{
    background-color: transparent;
    color: #f4d197;
    font-size: 16px;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    height: 45px;
    text-align: left;
    width: 96%;
    margin: 0 10px;
    position: relative;
    font-family: TrajanPro-Regular;
    display: block;
    padding: 10px;
    color: #000;
  }

  .dropbtn-videos:hover,   .dropbtn-videos:focus {
      background-color: transparent;
      outline: none;
  }


  .dropbtn-videos:after{
    content: " ";
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #f4d197;
    position: absolute;
    right: 7px;
    top: 18px;
  }



  #videos-section-player .video_preview_holder{
    background-color: rgba(0, 0, 0, 0.6);
  }

  .dropbtn-videos-enca ul{
    list-style: none;
  }

  .dropbtn-videos-enca.show{
    display: block;
  }

  .dropbtn-videos-enca ul li{
    cursor: pointer;
    padding: 10px;
    color: #fff;
  }

  .dropbtn-videos-enca ul li:hover {
    background-color: #fff;
    color: #000;
  }

  .dropbtn-videos-enca{
    display: none;
    position: absolute;
    background: url(/gma/assets/encantadia/microsite/images/mobile-nav/mobile_nav_bg_dropdown.png) repeat-y;
    min-width: 160px;
    background-size: contain;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    right: 0;
    top: 40px;
    z-index: 10;
    left: 0;
  }

  .dropdown-videos-parent {
      position: relative;
      display: inline-block;
      width: 100%;
      margin-bottom: 10px;
  }


  .close-preview{
    display: block;
    background: url('/gma/assets/encantadia/microsite/images/btn_close.png') no-repeat 0 0 !important;
    width: 20px !important;
    height: 20px !important;
    right: 10px;
    z-index: 11;
    position: absolute;
    top: 10px;
    cursor: pointer;
  }

  #videos-section-player{
    display: none;
    z-index: 10;
    z-index: 1;
    padding: 20px 20px 150px;
    margin: 0;
    width: 100%;
    max-width: 100%;
  }

  #mediaplayer iframe, #mediaplayer_wrapper iframe{
    width: 100%;
    height: 212px;

  }

  #videos-section{
    padding: 10px 0;
  }

  #video_preview_fullview{
    display: none !important;
  }


  #videos-section-content{
      margin: 0;
  }

  .videos-list-items{
    float: none;
    width: 100%;
    margin: 0 auto 10px;
    max-width: 500px;
  }

  .clear-fix{
    overflow: hidden;
  }

}
