/*-------------------------------------------------*/

/* MEGA - HEADER
UPDATE:03/09/2025
ivan.hermosilla@megamedia.cl

ÍNDICE:
01. Header + menú
02. Menú overlay
03. Menu de Viña

*/

/*PROVISORIO*/

/* 01. Header + menú */

header {
  display: block;
  width: 100%;
  position: -webkit-sticky;
  position: -moz-sticky;
  position: -ms-sticky;
  position: -o-sticky;
  position: sticky;
  top: 0;
  z-index: 100000;
}
header .header-middle  {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 80px;
  background-color: #323cb4;
}
header .header-bottom  {
  display: block;
  position: relative;
  width: 100%;
  height: 50px;
  transition: 0.3s !important;
}
/* temas del momento */
.temasDelMomento  {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 30px;
  background-color: #7797f7;
}
.temasDelMomento .box {
  display: block;
    width: 1290px;
    margin: 0 auto;
    position: relative;
}
.temasDelMomento .box nav {
  display: block;
  position: relative;
  text-align: center;
}
.temasDelMomento .box nav ul {
  display: inline;
}
.temasDelMomento .box nav ul li {
  display: inline-block;
  margin: 0 14px 0 0;
}
.temasDelMomento .box nav ul li .titulo {
  display: inline;
  color: #fff;
  font-weight: 700;
  font-size: 1.2em;
}
.temasDelMomento .box nav ul li a {
  color: #fff;
  font-size: 1.1em;
}
.temasDelMomento .box nav ul li a:hover {
  opacity: 0.75;
}
.temasDelMomento .box nav ul li.enlace {
  color: #fff;
  font-weight: 700;
  display: none;
}
header .header-middle .box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1290px;
  height: 80px;
  margin: 0 auto;
  position: relative;
  background-color: #3029b5;
  overflow: hidden;
}
header .header-middle .box .left {
  display: block;
  position: relative;
  width: 33.3%;
  float: left;
  text-align: left;
}
header .header-middle .box .center {
  display: block;
  position: relative;
  width: 33.3%;
  float: left;
  text-align: center;
}
header .header-middle .box .right {
  display: block;
  position: relative;
  width: 33.3%;
  float: left;
  text-align: right;
}
header .header-middle .box .center img {
  width: 80px;
  fill: #fff;
}
header .header-middle .box .center a {
  display: block;
  text-align: center;
}
header .header-middle .box .center a img {
  width: 65px;
  margin: 0 auto;
}
header .header-middle .box .center img:hover {
  opacity: 0.75;
}
header .header-middle .box .left .item-menu {
  display: flex;
  align-items: center;
  width: 160px;
  height: 80px;
  padding: 0 20px;
}
header .header-middle .box .left .item-menu:hover {
  opacity: 0.75;
}
header .header-middle .box .left .item-menu a {
  color: #fff;
  font-size: 1.8em;
  font-weight: 700;
}
header .header-middle .box .left .item-menu a span {
  position: absolute;
  top: 29px;
  left: 46px;
  text-transform: uppercase;
}
header .header-middle .box .left .item-menu a img {
  -webkit-animation: playSenal 2s infinite;
  -moz-animation: playSenal 2s infinite;
  -o-animation: playSenal 2s infinite;
  animation: playSenal 2s infinite;
}

/* animación play señal en vivo */
@keyframes playSenal {
  0%   { opacity:1; }
  50%  { opacity:0; }
  100% { opacity:1; }
}
@-o-keyframes playSenal{
  0%   { opacity:1; }
  50%  { opacity:0; }
  100% { opacity:1; }
}
@-moz-keyframes playSenal{
  0%   { opacity:1; }
  50%  { opacity:0; }
  100% { opacity:1; }
}
@-webkit-keyframes playSenal {
  0%   { opacity:1; }
  50%  { opacity:0; }
  100% { opacity:1; }
}
/* animación play señal en vivo */

header .header-middle .box .right .item-menu {
  display: block;
  position: relative;
  float: right;
  height: 80px;
  padding: 0 20px;
}
header .header-middle .box .right .item-menu.ingresar {
  display: inline-flex;
  align-items: center;
  justify-content: right;
  width: 250px;
}
header .header-middle .box .right .item-menu.ingresar button {
  font-size: 1.2em;
  font-weight: 900;
  border: 0;
  color: #fff;
  background-color: transparent;
  cursor: pointer;
}
header .header-middle .box .right .item-menu.ingresar button span {
  position: relative;
  float: left;
  padding: 6px 0 0 4px;
}
header .header-middle .box .right .item-menu.ingresar button svg {
  height: 30px;
  width: 30px;
  float: left;
}
header .header-middle .box .right .item-menu.ingresar button:hover {
  opacity: 0.75;
}
/*logueado*/
header .header-middle .box .right .item-menu.ingresar .profile-loged-in .user-pic {
  display: block;
  float: left;
}
header .header-middle .box .right .item-menu.ingresar .profile-loged-in .user-name {
  display: block;
  float: left;
  text-align: left;
  padding: 0 0 0 4px;
}
header .header-middle .box .right .item-menu.ingresar .profile-loged-in .user-pic svg {
  height: 30px;
  width: 30px;
}
header .header-middle .box .right .item-menu.ingresar .profile-loged-in .user-name p {
  font-size: 1.2em;
  padding: 0 0 2px 0;
}
header .header-middle .box .right .item-menu.ingresar .profile-loged-in .user-name p.title {
  font-weight: 700;
  padding:  0;
}
header .header-middle .box .right .item-menu.menu-hamburguesa {
  display: inline-flex;
  align-items: center;
  justify-content: right;
  width: 90px;
}
header .header-middle .box .right .item-menu.menu-hamburguesa svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}
header .header-middle .box .right .item-menu.menu-hamburguesa button {
  border: 0;
  background-color: transparent;
  cursor: pointer;
}
header .header-middle .box .right .item-menu.menu-hamburguesa button:hover {
  opacity: 0.75;
}
header .header-bottom .categorias {
  display: block;
  width: 1290px;
  height: 50px;
  margin: 0 auto;
  position: relative;
}
header .header-bottom .categorias nav {
  display: flex;
  align-items: center;
  justify-content: left;
  height: 50px;
  position: relative;
  text-align: left;
  padding: 0 0 0 20px;
  background-color: #e1e3e9;
}
header .header-bottom .categorias nav ul {
  display: inline;
}
header .header-bottom .categorias nav ul li {
  display: inline-block;
  color: #fff;
  margin: 0 30px 0 0;
}
header .header-bottom .categorias nav ul li a {
  color: #3B3A4D;
  font-size: 1.2em;
}
header .header-bottom .categorias nav ul li a:hover {
  opacity: 0.75;
}
header .header-bottom .categorias .buscador {
  display: block;
  position: absolute;
  right: 24px;
  top: 10px;
}
header .header-bottom .categorias .buscador a:hover {
  opacity: 0.75;
}
header .header-bottom .categorias .buscador a svg {
  width: 24px;
  height: 24px;
  fill: #3B3A4D;
}

/* 02. Menú overlay */

#menu-overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #2323a3;
  opacity: 0;
  visibility: hidden;
  z-index: 9999999;
  text-align: center;
  -webkit-transition: visibility 0.3s ease, opacity 0.1s ease;
  -moz-transition: visibility 0.3s ease, opacity 0.1s ease;
  -o-transition: visibility 0.3s ease, opacity 0.1s ease;
  transition: visibility 0.3s ease, opacity 0.1s ease;
}
#menu-overlay nav {
  display: block;
  position: relative;
  margin: 50px auto 0 auto;
  width: 1290px;
}
#menu-overlay nav .top {
  display: inline-block;
  position: relative;
  width: 100%;
  margin: 0 0 60px 0;
}
#menu-overlay nav .top .left {
  display: block;
  position: relative;
  float: left;
  width: 50%;
  text-align: left;
}
#menu-overlay nav .top .right {
  display: block;
  position: relative;
  float: left;
  width: 50%;
  text-align: right;
}
#menu-overlay nav .top .left svg {
  width: 100px;
  fill: #fff;
}
#menu-overlay nav .top .left svg:hover {
  opacity: 0.75;
}
#menu-overlay nav .top .right button {
  background-color: transparent;
  border: 0;
  cursor: pointer;
  padding: 20px 0 0 0;
}
#menu-overlay nav .top .right button svg {
  fill: #fff;
  width: 32px;
}
#menu-overlay nav .top .right button svg:hover{
  opacity: 0.75;
}
#menu-overlay nav .middle {
  display: inline-block;
  position: relative;
  width: 100%;
}
#menu-overlay nav .middle .item {
  display: block;
  position: relative;
  width: 25%;
  float: left;
  text-align: left;
}
#menu-overlay nav .middle .item .titulo {
  font-weight: 500;
  font-size: 2em;
  color: #fff;
  margin: 0 0 20px 0; 
}
#menu-overlay nav .middle .item li {
  padding: 8px 0;
  position: relative;
}
#menu-overlay nav .middle .item a {
  display: block;
  font-weight: 400;
  font-size: 1.2em;
  color: #fff;
  padding: 2px 0;
}
#menu-overlay nav .middle .item a:hover {
  opacity: 0.75;
}
#menu-overlay nav .middle .item .social {
  margin: 60px 0 0 0;
}
#menu-overlay nav .middle .item .social a svg {
  width: 32px;
  height: 32px;
  fill: #fff;
  border-radius: 50%;
}
#menu-overlay nav .middle .item .social li {
  display: inline-block;
  padding: 0 6px 0 0;
}
#menu-overlay nav .middle .item .social a.facebook path {
  fill: #2324a3 !important;
}
#menu-overlay nav .middle .item .social a svg circle {
  fill: #fff !important;
}

/* activo */
body.menu-activo {
  overflow: hidden;
}
body.menu-activo #menu-overlay  {
  opacity: 1;
  visibility: visible;
  overflow: hidden;
}


/* 03. Menú de Viña */
nav.menuVinaSitio {
  display: block;
  position: -webkit-sticky;
  position: -moz-sticky;
  position: -ms-sticky;
  position: -o-sticky;
  position: sticky;
  top: 80px;
  z-index: 100000;
  width: 100%;
  background: rgb(117,83,185);
  background: linear-gradient(90deg, rgb(68 35 126) 0%, rgb(157 53 71) 100%);
  z-index: 9;
}
nav.menuVinaSitio .box {
  display: flex;
  width: 1290px;
  height: 50px;
  margin: 0 auto;
  position: relative;
}
nav.menuVinaSitio .box ul {
  display: inline-block;
}
nav.menuVinaSitio .box ul li {
  display: inline-block;
  color: #fff;
  margin: 0 10px 5px 0;
}
nav.menuVinaSitio .box ul li a {
  font-size: 1.2em;
  display: block;
  text-align: center;
  border-radius: 30px;
  padding: 8px 10px;
}
nav.menuVinaSitio .box ul li a:hover {
  opacity: 0.85;
}
nav.menuVinaSitio .box ul li a.activo {
  background: linear-gradient(90deg, rgb(68 35 126) 0%, rgb(157 53 71) 100%);
}
nav.menuVinaSitio .box ul li a img {
  width: 30px;
  display: inline;
  margin: 0 6px 0 0;
}
nav.menuVinaSitio .box ul li + li a img {
  display: none;
}

/* 03. Menú btn casting */

header .header-middle .box .right .btn-casting {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
}

header .header-middle .box .right .btn-casting a.alerta-casting img {
    max-height: 80px;
    display: block;
    padding: 5px 0px;
}


@-moz-keyframes parpadeo {
  0% {
      opacity: 1
  }
  50% {
      opacity: 0
  }
  100% {
      opacity: 1
  }
}
@-webkit-keyframes parpadeo {
  0% {
      opacity: 1
  }
  50% {
      opacity: 0
  }
  100% {
      opacity: 1
  }
}
@keyframes parpadeo {
  0% {
      opacity: 1
  }
  50% {
      opacity: 0
  }
  100% {
      opacity: 1
  }
}

@media (min-width: 0px) and (max-width: 999px) {

  /* 01. Header + menú */

  header {
    top: 30px;
  }
  .temasDelMomento .box,
  header .header-middle .box,
  header .header-bottom .categorias {
    width: 100%;
  }
  header .header-middle .box .left,
  header .header-middle .box .right {
    width: 40%;
  }
  header .header-middle .box .center {
    width: 20%;
  }
  header .header-middle,
  header .header-middle .box,
  header .header-middle .box .left .item-menu,
  header .header-middle .box .right .item-menu {
    height: 60px;
  }
  header .header-middle .box .center img {
    width: 50px;
  }
  header .header-middle .box .center a img {
    width: 50px;
  }
  header .header-middle .box .right .item-menu.menu-hamburguesa {
    width: 40px;
    padding: 0 10px 0 0;
  }
  header .header-middle .box .right .item-menu.ingresar {
    width: 100px;
  }
  header .header-middle .box .left .item-menu a img {
    width: 10px;
  }
  header .header-middle .box .left .item-menu {
    padding: 0 0 0 10px;
  }
  header .header-middle .box .left .item-menu a span {
    top: 22px;
    left: 26px;
  }
  .header-bottom,
  header .header-middle .box .right .item-menu.ingresar button span,
  .temasDelMomento nav ul li.temas {
    display: none !important;
  }
  .temasDelMomento {
    display: block;
    height: 30px;
    overflow: hidden;
    display: block;
    width: 100%;
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    position: sticky;
    top: 0;
    z-index: 9999;
  }
  .temasDelMomento.todosTemas {
    height: auto;
  }
  .temasDelMomento.todosTemas + header {
    top:53px;
  }
  .temasDelMomento .box nav {
    text-align: left;
    padding: 0 10px 10px 10px;
    width: 95%;
    margin: 0;
  }
  .temasDelMomento .box nav ul li a {
    font-size: 1.4em;
  }
  .temasDelMomento .box nav ul li.enlace {
    display: inline;
    position: absolute;
    top: 4px;
    right: -10px;
    margin: 0;
    padding: 0;
  }
  .temasDelMomento .box nav ul li.enlace svg {
    width: 14px;
    position: absolute;
    right: 0;
    top: 6px;
    fill: #fff;
  }
  .temasDelMomento .box nav ul li.enlace svg path {
    fill: #fff;
  }
  .temasDelMomento.todosTemas .box nav ul li.enlace svg {
    transform: rotate(180deg);
  }
  .temasDelMomento .box nav ul li {
    margin: 8px 14px 0 0;
  }
  header .header-middle .box .right .item-menu.menu-hamburguesa button {
    padding: 0;
  }
  header .header-middle .box .right .item-menu.ingresar .profile-loged-in .user-name {
    padding: 0 0 0 2px;
  }
  header .header-middle .box .right .item-menu.ingresar .profile-loged-in .user-name p {
    display: none;
  }
  header .header-middle .box .right .item-menu.ingresar .profile-loged-in .user-name p.title.append-user-initials {
    display: block;
    font-size: 1.6em;
    font-weight: 400;
    padding: 8px 0 0 0;
  }
  header .header-middle .box .right .item-menu.ingresar .profile-loged-in .user-name p.title.append-user-name {
    display: none;
  }
  header .header-middle .box .right .item-menu.ingresar .profile-loged-in .user-name p.title.append-user-name {
    display: none;
  }

  /* 02. Menú overlay */

  #menu-overlay nav {
    width: 100%;
    padding: 20px;
    margin: 10px 0 0 0;
  }
  #menu-overlay nav .middle .item .titulo {
    font-size: 2.4em;
  }
  #menu-overlay nav .middle .item a {
    font-size: 1.6em;
    line-height: 1.4em;
  }
  #menu-overlay nav .top .left svg {
    width: 60px;
  }
  #menu-overlay nav .top .right button {
    padding: 4px 0 0 0;
  }
  #menu-overlay nav .top .right button svg {
    width: 24px;
  }
  #menu-overlay nav .middle .item {
    width: 100%;
    margin: 0 0 40px 0;
    padding: 0 20px 0 0;
    text-align: center;
  }
  body.menu-activo #menu-overlay {
    overflow: scroll;
  }
  #menu-overlay nav .middle .item .social {
    margin: 30px 0 0 0;
  }

  /* 03. Menú de Viña */
  nav.menuVinaSitio {
    padding: 0 10px;
    top: 90px;
  }
  nav.menuVinaSitio .box {
    width: 100%;
  }
  nav.menuVinaSitio .box ul {
    overflow-x: auto;
    white-space: nowrap;
  }
  nav.menuVinaSitio .box ul li a {
    font-size: 1.4em;
  }  

  /* -- Prehome */
    body.stickyTop.prehomeActive header{
    top: 30px !important;
    }

  body.stickyTop.prehomeActive .temasDelMomento {
   top: -1px !important; 
  }

  /* casting*/

  header .header-middle .box .right .btn-casting {
    position: absolute;
    right: 45px;
  }

  header .header-middle .box .right .btn-casting a.alerta-casting {
    padding: 0px 10px;
    font-size: 1.1em;
    display: block;
}

header .header-middle .box .right .btn-casting a.alerta-casting img {
    max-height: 60px;
}

}

@media (min-width: 1000px) and (max-width: 1599px) {

  /* 01. Header + menú */

  .temasDelMomento .box,
  header .header-middle .box,
  header .header-bottom .categorias {
    width: 1000px;
  }
  .temasDelMomento .box nav ul li a,
  .temasDelMomento .box nav ul li .titulo,
  header .header-bottom .categorias nav ul li a {
    font-size: 1.4em;
  }
  header .header-middle .box .left .item-menu a {
    font-size: 2.4em;
  }
  header .header-middle .box .right .item-menu.ingresar button {
    font-size: 1.5em;
  }
  header .header-bottom .categorias nav ul li {
    margin: 0 16px 0 0;
  }
  header .header-middle .box .right .item-menu.ingresar {
    width: 240px;
  }
  header .header-middle .box .right .item-menu.ingresar .profile-loged-in .user-name p {
    font-size: 1.4em;
  }

  /* 02. Menú overlay */

  #menu-overlay nav {
    width: 1000px;
  }
  #menu-overlay nav .middle .item .titulo {
    font-size: 2.4em;
  }
  #menu-overlay nav .middle .item a {
    font-size: 1.6em;
  }

  /* 03. Menú de Viña */
  nav.menuVinaSitio .box {
    width: 1000px;
  }
  nav.menuVinaSitio .box ul {
    overflow-x: auto;
    white-space: nowrap;
  }
  nav.menuVinaSitio .box ul li a {
    font-size: 1.3em;
    padding: 8px 4px;
  }

  header .header-middle .box .right .btn-casting a.alerta-casting {
    font-size: 1.4em;
}


}

@media (min-width: 1600px) and (max-width: 1799px) {

  /* 01. Header + menú */

  .temasDelMomento .box,
  header .header-middle .box,
  header .header-bottom .categorias {
    width: 1130px;
  }
  .temasDelMomento .box nav ul li a,
  .temasDelMomento .box nav ul li .titulo,
  header .header-bottom .categorias nav ul li a {
    font-size: 1.6em;
  }
  header .header-middle .box .left .item-menu a {
    font-size: 2.4em;
  }
  header .header-middle .box .right .item-menu.ingresar button {
    font-size: 1.5em;
  }
  header .header-bottom .categorias nav ul li{
    margin: 0 20px 0 0;
  }
  header .header-middle .box .right .item-menu.ingresar .profile-loged-in .user-name p {
    font-size: 1.4em;
  }

  /* 02. Menú overlay */

  #menu-overlay nav {
    width: 1130px;
  }
  #menu-overlay nav .middle .item .titulo {
    font-size: 2.4em;
  }
  #menu-overlay nav .middle .item a {
    font-size: 1.6em;
  }

  /* 03. Menú de Viña */
  nav.menuVinaSitio .box {
    width: 1130px;
  }
  nav.menuVinaSitio .box ul li a {
    font-size: 1.4em;
    padding: 8px 6px;
  }


}

@media (min-width: 0px) and (max-width: 412px) {

  
header .header-middle .box .right .btn-casting a.alerta-casting span {
    display: none;
}

header .header-middle .box .right .btn-casting a.alerta-casting {
    padding: 0px 10px;
    font-size: 0.8em;
    display: block;
}

}

@media (min-width: 0px) and (max-width: 350px) {

  header .header-middle .box .left .item-menu a span {
    top: 20px;
    left: 26px;
    font-size: 1em;
  }
  header .header-middle .box .right .item-menu.menu-hamburguesa svg {
    width: 24px;
    height: 24px;
  }
  header .header-middle .box .right .item-menu.ingresar {
    width: 60px;
}
  header .header-middle .box .right .item-menu.ingresar .profile-loged-in .user-name {
    display: none;
  }
    header .header-middle .box .right .btn-casting a.alerta-casting {
      padding: 0px 10px;
      font-size: 0.65em;
      display: block;
  }

}