/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  /*color: #222;*/
  font-size: 1em;
  line-height: 1.4;
  font-family: 'Roboto', sans-serif;
}

html, body{
  height: 100%; 
}
/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


    /** GLOBALES **/

    /*esto es del menu movil */
    body.scroll{
      overflow: hidden;
    }

    .titulo-lista{
      font-weight: bold;
      list-style: none;
    }

    h2.titulo-seccion{
      text-align: center;
      text-transform: uppercase;
      color: #222;
      font-size: 1.5em;
      padding: 30px 0 20px 0;
      font-weight: bolder;
      font-family: 'Noto Serif TC', serif;
      letter-spacing: 0.1em;
    }

    .icono{
      width: 35px;
    }

    @media only screen and (max-width: 700px) {
    
      h2.titulo-seccion{
        font-size: 1.5em;
      }

    }
 
    .info-nota{
      position: relative;
      background-color: white;
      width: 100%;
      height: 150px;
      margin: 0 auto;
      text-align: center;
      padding: 10px 0;
      color: #222;
    }

    .icono-nota{
      width: 40px;
      height: 40px;
      position: absolute;
      top: -25px;
      left: 0;
      right: 0;
      margin: 0 auto;
      text-align: center;
      z-index: 100;
      color: white;
    }
    .icono-nota img{
      width: 100%;
    }

    .info-nota h2{
      padding: 0 20px;
      font-size: 1.2em;
    }
    .fecha{
      font-size: .8rem;
      margin: -8px 0 0 0;
    }

    .titulo-destacada{
      font-size: 4em;
      color: white;
      text-align: center;      
      font-family: 'Noto Serif TC', serif;
      letter-spacing: 0.05em;
      line-height: 1em;
      margin: 0;
    }

    @media only screen and (max-width: 1366px) {
      .info-nota h2{
        font-size: 1em;
      }
    }

    iframe{
      display: block;
      max-width: 95%;
      margin: 30px auto;
    }

    .btn-vertodo{
      text-align: center;
      text-transform: uppercase;
    }

    .btn-vertodo a{
      color: white;
      text-decoration: none;
      text-align: center;
      padding-bottom: 2px;
    }

    .btn-vertodo a:hover{
      border-bottom: 1px solid white;
    }
    
  /** HIGHLIGHTS **/

    #highlights{
      overflow-y: scroll;
      scroll-behavior: smooth;
    }

    .highlights{
      display: block;
      width: 95%;
      max-width: 1500px;
      margin: 0 auto;
    }

    .cont1-highlights {
      display: grid;
      grid-template-columns: auto auto auto;
      grid-column-gap: 10px;
      grid-row-gap: 10px;
    } 

    .h-01, .h-02, .h-03, .h-04, .h-05, .h-06{
      height: 50%;
      min-height: 280px;
      background-repeat: no-repeat;
      background-size: cover;
      background-position: center;
      transition: .75s ease all;
      position: relative;
    }


    .overlay{
      position: absolute;
      background-color: #ff8b4b;
      width: 100%;
      height: 100%;
      transition: .5s ease all;
      opacity: 0;
    }

    .titulo-high h2{
      position: absolute;
      width: 90%;
      z-index: 100;
      color: white;
      top: 43%;
      left: 0;
      right: 0;
      margin: 0 auto;
      text-align: center;
      font-size: 1.5em;
      opacity: 0;
      transition: .75s ease all;
    }

    .categoria{
      position: absolute;
      width: 120px;
      left: 0;
      right: 0;
      margin: 0 auto;
      z-index: 100;
      padding: 5px 0;
      font-size: 10px;
      color: #ff8b4b;
      background-color: white;
      top: 30%;
      text-align: center;
      font-weight: normal;
      text-transform: uppercase;
      opacity: 0;
      transition: .75s ease all;
      letter-spacing: .2em;
    }


    .h-01:hover .overlay, .h-02:hover .overlay, .h-03:hover .overlay, .h-04:hover .overlay,
    .h-05:hover .overlay, .h-06:hover .overlay{
      opacity: .9;
    }

    .h-01:hover .titulo-high h2, .h-02:hover .titulo-high h2, .h-03:hover .titulo-high h2,
    .h-04:hover .titulo-high h2, .h-05:hover .titulo-high h2, .h-06:hover .titulo-high h2 {
      opacity: 1;
    }

    .h-01:hover .categoria, .h-02:hover .categoria, .h-03:hover .categoria,
    .h-04:hover .categoria, .h-05:hover .categoria, .h-06:hover .categoria {
      opacity: 1;
    }

    @media only screen and (max-width: 1000px) {
      .titulo-high h2{
        font-size: 1.2em;
      }
    }

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

      .cont1-highlights {
        grid-template-columns: auto auto;
      } 
    }

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

      .cont1-highlights {
        width: 95%;
        margin: 0 auto;
        grid-template-columns: auto;
        grid-column-gap: none;
        grid-row-gap: 10px;
      } 
      .h-01, .h-02, .h-03, .h-04, .h-05, .h-06{
        min-height: 280px
      }

      .titulo-high h2{
        padding: 0;
        top: 45%;
      }
    }
      



  /** SLIDER LO NUEVO **/

  .lo-nuevo{
    padding: 50px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .20);
    width: 90%;
    max-width: 1500px;
    margin: 0 auto;
  }

  .info-nota a{
    text-decoration: none;
    color: #222;
  }

  .info-nota a:hover{
    color: #ff8b4b;
  }

  /* ==========================================================================
   México creando
   ========================================================================== */

   .contenedor-historias{
    background-color: #ff8b4b;
    width: 100%;
    padding: 10px 0 20px 0;
  }

  .contenedor-historias .titulo-seccion{
    color: white;
    margin: 0;
  }

  .contenedor-tabs{
    display: grid;
    grid-template-columns: 2fr 3fr;
    width: 94%;
    max-width: 1500px;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
  }

  .resultados-tab {
    padding: 30px 0;
  }

  .resultados-tab div img{
    display: block;
    width: 500px;
  }

/* Style the tab */
  .tab {
    overflow: hidden;
    margin: 30px;
  }

  /* Style the buttons inside the tab */
  .tab button {
    background-color: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
    text-align: left;
    color: white;
    padding: 20px 20px;
    min-width: 100%;
  }
  .tab button p, .tab button h2{
    margin: 0 0 10px 0;
  }

  .tab button p{
    opacity: .8;
  }

  /* Change background color of buttons on hover */
  .tab button:hover {
    background-color: rgba(197, 72, 5, 0.4);
  }

  /* Create an active/current tablink class */
  .tab button.active {
    background-color: rgba(241, 109, 38, 0.6);
  }

  .tab button a{
    text-decoration: none;
    color: white;
    opacity: .8;
  }

  .tab button a:hover{
    opacity: 1;
  }

  /* Style the tab content */
  .tabcontent {
    display: none;
    margin: 0 12px;
    position: relative;
  }
  /*background-color:rgb(241, 109, 38);*/
  .overlay-emp{
    position: absolute;
    background-color:#222;
    padding: 0 12px;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: .75s ease all;
  }

  .overlay-emp p{
    color: white;
    z-index: 100;
  }
  .overlay-emp i{
    margin-left: 7px;
  }

  .overlay-emp a{
    text-decoration: none;
  }

  .tabcontent:hover .overlay-emp{
    opacity: .9;
  }

  @media only screen and (max-width: 1100px) {
    .contenedor-tabs{
      grid-template-columns: auto;
    }
    .resultados-tab div img{
      width: 90%;
      max-width: 500px;
      margin: 0 auto;
    }
    .overlay-emp{
      width: 90%;
      max-width: 500px;
      margin: 0 auto;
      padding: 0;
    }
  }


/* ==========================================================================
Especiales
========================================================================== */

    .especiales{
      padding: 50px 0;
      width: 95%;
      margin: 0 auto;
      max-width: 1500px;
      border-bottom: 1px solid rgba(0, 0, 0, .20);
    }

    .titulo-especiales{
      text-align: center;
      color: #222;
      font-size: 1.2em;
      font-weight: bolder;
      border-bottom: 1px solid rgba(255, 139, 75, .30);
      text-transform: uppercase;
      padding: 5px 0;
    }

    .swiper-container {
      width: 100%;
      height: 280px;
      float: left;
      position: relative;
    }
    .swiper-slide {
      text-align: center;
      font-size: 18px;
      background: #fff;

      /* Center slide text vertically */
      display: -webkit-box;
      display: -ms-flexbox;
      display: -webkit-flex;
      display: flex;
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      -webkit-justify-content: center;
      justify-content: center;
      -webkit-box-align: center;
      -ms-flex-align: center;
      -webkit-align-items: center;
      align-items: center;
    }

    .contenedor-especiales{
      display: grid;
      grid-template-columns: 32% 32% 32%;
      grid-column-gap: 20px;
      justify-content: center;
      width: 100%;
      margin: 0 auto;
    }

    .contenedor-especiales h2{
      text-align: center;
    }

    .swiper-slide a{
      text-decoration: none;
      color: white;
    }
    .swiper-slide a:hover{
      color: #ff8b4b;
    }

    .swiper-slide h2{
      font-family: 'Roboto', sans-serif;
      font-size: 1.2em;
      padding: 0 25px;
    }

    .swiper-slide{
      background-repeat: no-repeat;
      background-position: center;
      background-size: cover;
    }

    @media only screen and (max-width: 1100px){
      .contenedor-especiales{
        grid-template-columns: 49% 49%;
      }
      .contenedor-especiales #eventos{
        grid-column: 1 / span 2;
        justify-self: center;
      }
      .swiper-container {
        height: 300px;
      }
    }

    @media only screen and (max-width: 700px) {
      .contenedor-especiales{
        grid-template-columns: auto;
        width: 95%;
      }
      .contenedor-especiales #eventos{
        grid-column: unset;
        width: 95%;
      }
      .swiper-wrapper{
        padding-left: 0;
      }
    }


/* ==========================================================================
   Mero mero mexico
   ========================================================================== */

.mexico{
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, .70), rgba(0, 0, 0, .50)), url(../img/secc-mexico-back.jpg);
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: cover;
  width: 100%;
  padding: 0 0 30px 0;
  margin-top: 40px;
}

.contenedor-mexico{
  width: 95%;
  max-width: calc(1500px - 40px);
  display: flex;
  justify-content: center;
  align-content: center;
  column-gap: 20px;
  margin: 0 auto;
}

.contenedor-mexico .cont-nota-mexico{
  width: 33%;
}

.img-nota-mexico img{
  width: 100%;
}

.contenedor-mexico .cont-nota-mexico .cont-datos-mexico{
  text-align: center;
  width: 95%;
  margin: 0 auto;
  padding: 10px 0;

  position: relative;
  z-index: 100;
}

.contenedor-mexico .cont-nota-mexico .cont-datos-mexico h2{
  font-size: 1.2em;
  margin: 0 10px 20px 10px;
}

.contenedor-mexico .cont-nota-mexico .cont-datos-mexico a{
  text-decoration: none;
  color: white;
}

.contenedor-mexico .cont-nota-mexico .cont-datos-mexico p{
  color: white;
}


    /*MAS DE TODO */
.mas-notas{
  width: 100%;
}

.contenedor-notas{
  max-width: 1500px;
  width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 15px;
  justify-items:center;
}

@media only screen and (max-width: 1100px) {
  .contenedor-notas{
    grid-template-columns: 1fr 1fr;
  }
}

@media only screen and (max-width: 720px) {
  .contenedor-notas{
    grid-template-columns: 1fr;
  }
}


.thumb-notas{
  width: 100%
}
  
    /** FOOTER REVISTA **/
   .footer-revista{
     background: #222;
     padding: 15px 0;
   }

   .footer-revista img{
     width: 15%;
     border: solid 1px #ff8b4b;
     border-radius: 50px;
     padding: 5%;
   }

   .footer-revista img:hover {
    background-color: #ff8b4b;
  }

  .footer-revista ul{
    width: 140px;
    margin: 0 auto;
   }

   .footer-revista ul li{
     display: inline; 
     margin: 0 auto;
     padding: 0 2px;
   }


    /** CUERPO NOTAS **/

  .contenido-nota{
    width: 70%;
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(0, 0, 0, .20);
    padding: 50px 0;
  }
  
  .cuerpo-nota{
    margin-bottom: 50px;
    font-size: 1.2em;
    text-align: justify;
  }

  .cuerpo-nota q{
     font-style: italic;
     color: rgba(0, 0, 0, .70);
  }

  .cuerpo-nota a{
    text-decoration: none;
    color: #ff8b4b;
    
  }

  .cuerpo-nota img{
    margin: 10px 0;
    width: 100%;
  }

  .info-autor{
    border-bottom: 1px solid rgba(0, 0, 0, .20);
    border-top: 1px solid rgba(0, 0, 0, .20);
    display: grid;
    grid-template-columns: 50% 50%;
    padding: 20px 0;
    align-items: center;
  }

  .datos-autor{
    display: flex;
    align-items: center;
  }
  .datos-autor svg{
    height: 35px;
  }

  .datos-autor img{
    width: 60px;
    border-radius: 50%;
    border: 1px solid #ff8b4b;
    padding: 10px;
  }

  .datos-autor p{
    font-weight: bold;
    display: block;
    padding-left: 15px;
  }

  .fecha-nota{
    font-weight: bold;
    text-align: right;
    color: #ff8b4b;
  }

  .media-nota{
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    grid-row-gap: 20px;
    grid-column-gap: 20px;
  }

  .media-nota img{
    width: 100%;
  }

  .compartir-redes{
    display: grid;
    grid-template-columns: 40% 40%;
    margin: 40px 0;
    justify-content: center;
    grid-column-gap: 20px;
  }
  .compartir-fb{
    background-color: #3b5998;
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;
    color: white;
    height: 60px;
  }

  .compartir-fb p{
    cursor: pointer;
  }
  .compartir-fb img{
    height: 30px;
    margin-bottom: 4px;
  }

  .diseno{
    color: violet;
  }
  .compartir-tw{
    background-color: #1da1f2;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 60px;
  }
  .compartir-tw img{
    height: 30px;
    margin-right: 5px;
  }
  .compartir-tw a{
    color: white;
    text-decoration: none;
  }



  @media only screen and (max-width: 1000px) {
    .media-nota{
      grid-template-columns: auto;
    }
  }

  @media only screen and (max-width: 700px) {
    .contenido-nota{
      width: 90%;
    }
    .cuerpo-nota{
      font-size: 1em;
    }

  }

  /** 

  https://unsplash.com/photos/0gO3-b-5m80 <-- foto
  cine
  <span>Photo by <a href="https://unsplash.com/@jakobowens1?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Jakob Owens</a> on <a href="https://unsplash.com/s/photos/film?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></span> 

  cultura
  <span>Photo by <a href="https://unsplash.com/@emirsaldierna?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Emir Saldierna</a> on <a href="https://unsplash.com/s/photos/mexico?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></span> 
  
  ilustración
  <span>Photo by <a href="https://unsplash.com/@john_jennings?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">John Jennings</a> on <a href="https://unsplash.com/s/photos/design?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></span>
  
  diseño
  <a href="https://www.freepik.com/free-photos-vectors/background">Background vector created by freepik - www.freepik.com</a>
  
  **/

  /** CUERPO SECCIONES **/

  h2.titulo-categorias{
    color: white;
    font-size: 4em;
    text-align: center;
    margin-top: -80px;
    text-transform: none;
    font-family: 'Noto Serif TC', serif;
    letter-spacing: 0.1em;
  }

  .contenido-secciones{
    width: 95%;
    max-width: 1500px;
    margin: 0 auto;
  }

  .seccion-a{
    display: grid;
    grid-template-columns: 50% 50%;
    grid-column-gap: 20px;
    margin: 50px 0;
    justify-content: center;
  }

  .thumb-secciones img{
    width: 100%;
  }

  @media only screen and (max-width: 700px) {
    .seccion-a{
      grid-template-columns: auto;
      grid-column-gap: unset;
      margin: 30px 0;
    }
  }
   
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

