/*! HTML5 Boilerplate v7.3.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.0.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;
}

header{
  z-index: 118;
  height: 69px;
  box-shadow: 1px 6px 8px rgba(0,0,0,0.23);
  background-color: #FFFFFF;
  position: fixed;
  top: 0px;
    width: 100%;
}

img{
  width: initial;
}
.container{
  max-width: 932px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}


.logo{
  max-width: 233px;
  float: left;
  margin-top: 16px;
}

.logo img {
    width: 220px;
      height: 42px;
}

.menu {
    float: right;

    text-align: right;
    margin-top: 6px;
    width: 38%;
}


.menu ul{
  display: flex;
  justify-content: space-between;
}

.menu ul li{
  list-style: none;
  display: inline-block;
  margin: 0.3em;

}

.menu ul li a {
  line-height: 18px;
    font-size: 15px;
    text-align: left;
    color: #545454;
    font-family: roboto, sans-serif;
    font-weight: 300;
    text-decoration: none;
}

.ctn--top{
  background: url(../img/bg_header.png) no-repeat top center;
  min-height: 68vh;
  margin-top: 68px;
  background-size: 100%, contain;
}

@media all and (-ms-high-contrast:none){
  *::-ms-backdrop,.ctn--top{
    margin-top: 64px;
  }
}

.title--text {
      width: 100%;
    text-align: center;
}

.title--text2 {
    width: 70%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.title--text2 img{

}

.title--badge {
  width: 70%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
}

.title--badge img {
  width: 100%;
}

article.ctn--destacado {
    text-align: center;
    margin: 15px 0 32px 0;
}


.ctn--promo{
  background: #BBBE4A url(../img/bg-sec3.png) no-repeat center;
  width: 100%;
min-height: 54vh;
background-position-y: top;
background-size: 101%;
position: relative;
float: left;
}


.section1 {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section1 img {
      width: 70%;
}


article.ctn--libros {
    background: #BBBE4A;
    width: 100%;
    background-position-y: bottom;
    background-size: 101%;
    min-height: 53vh;
    position: relative;
    float: left;
}



.section2 {
  position: relative;
  width: 50%;
  text-align: right;
  float: left;
}

.section3 {
  position: relative;
  width: 50%;
  text-align: left;
  float: left;
}

.section3 img {
    width: 60%;
    margin: 75px;
}



article.division1 {
  background: #69DCE3 url(../img/bg--division1.png) no-repeat;
  background-size: 100%;
  min-height: 157px;
  position: relative;
  float: left;
  width: 100%;
}


.img4{
  position: absolute;
    left: 14%;
}

.img5{
  position: absolute;
    right: 14%;
    top: 30%;
}

.promo--left {
    width: 50%;
    position: relative;
    text-align: right;
    float: left;
}

.promo--right {
    width: 50%;
    position: relative;
    text-align: left;
    float: left;
}

.ctn--oferta {
  background: #69DCE3;
  min-height: 64vh;
  /* height: 64vh; */
  float: left;
width: 100%;
}

.oferta--left{
  position: relative;
  float: left;
  width: 60%;
}

.oferta--left img{
  position: relative;
}

.oferta--right {
  position: relative;
  float: left;
  width: 40%;
}

.oferta--right img{
  position: relative;
}
.division{
  background: url(../img/bg--final.png) no-repeat;
  background-size: 100%;
  /* height: 41vh; */
  float: left;
position: relative;
width:100%;
}

.sec--btn{
    width: 50%;
    position: relative;
    float: left;
    text-align: center;
}

article.ctn--final {
    margin-bottom: 60px;
    position: relative;
    width: 100%;
    height: 113px;
}


.section2 img {
    width: 148%;
}

footer{
  font-family: "abel", sans-serif;
      padding: 30px 0;
      padding-bottom: 100px;
      min-height: 27vh;
      position: relative;
      float: left;
      width: 100%;
      background: url(../img/fotter-bg.png) no-repeat bottom center;
}

.socialmedia {
    position: relative;
    width: 60px;
    margin: 20px;
    display: contents;
}

.comparte {
  width: 120px;
text-align: center;
margin-left: auto;
margin-right: auto;
position: relative;
padding: 2px 0;
display: flex;
margin-bottom: 30px;
}

.title--comparte {
    width: 300px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    margin-bottom: 10px;
}

.title--comparte h3{
    text-align: center;
    color: #000000;
    font-family: roboto, sans-serif;
    font-weight: 400;
    text-transform: uppercase;
}

.titulo--portadas {
    width: 43%;
    margin-left: auto;
    margin-right: auto;
}

footer .links {
    line-height: 13px;
    font-size: 11px;
    text-align: center;
    font-family: abel, sans-serif;
    font-weight: 400;
    position: relative;
    float: left;
    padding: 20px;
}

.logo--footer {
    width: 100%;
    text-align: center;
    margin: 20px 0;
}

.logo--footer img{
    width: 250px;
}

/*
 * 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;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

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

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.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: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}


.portadas {
    position: relative;
    width: 100%;
    text-align: center;
    margin: 30px 0 0 0;
    float: left;
}

.container--portada{
  width: 90%;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    min-height: 330px;
}

.img--portada {
  min-width: 176px;
  width: 20%;
  float: left;
  position: relative;
  margin-top: 62px;
}

.portada--date {
    color: white;
    font-family: roboto, sans-serif;
    font-weight: 800;
}

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

@media print {
  *,
  *:before,
  *:after {
    background: transparent !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;
  }
}

@media (min-width: 350px){


  .center-text{
    text-align: center;
  }

  .menu {
    width: 54%;
  }


  .section1 img {
        width: 90%;
  }

  .section2 {
      top: 0;
      width: 100%;
      text-align: center;
  }

  .section2 img {
      width: 50%;
  }

  .section3 {
      width: 100%;
      text-align: center;
  }

  .section3 img {
    width: 68%;
    margin: 75px;
}

 .img4 {
    left: 6%;
     width: 80%;
}

.img5 {

    right: 16%;
    top: 38%;
}

 .img7{
  width: 80%;
}

.ctn--promo {
    min-height: 30vh;
}

.division {
  min-height: 15vh;
}

.img--portada {
    width: 100%;
}

.title--text img {
    width: 100%;
}

.title--text2 img {
    width: 100%;
}

.ctn--top{
  background: url(../img/bg_header.png) no-repeat top center;
  min-height: 47vh;
  margin-top: 68px;
  background-size: 100%, contain;
}

.promo--left {
    width: 100%;
    position: relative;
    text-align: center;
    float: left;
}

.promo--right {
  width: 100%;
  position: relative;
  text-align: center;
  float: left;
}

.img6 {
    width: 60%;
    margin: 48px;
}

}

@media (min-width: 768px){

  .title--badge img {
    width: 80%;
}

  .division {
    min-height: 41vh;
  }

  .img--portada {
      width: 20%;
  }


  .section1 img {
        width: 70%;
  }

  .menu {
    width: 38%;
  }

  .img5 {
    right: 14%;
    top: 30%;
    width: initial;
}

  .section2 {
    top: -24%;
}


.img4 {
    left: 14%;
    width: initial;
}


.img6 {
    width: 59%;
    margin: 152px 48px;
}

.img7 {
    width: 76%;
}

.section2 img {
  width: 53%;
  margin-top: 98px;
}

.ctn--promo {
    min-height: 50vh;
}

.title--text img {
    width: initial;
}

.title--text2 img {
    width: initial;
}

.ctn--top{
  background: url(../img/bg_header.png) no-repeat top center;
  min-height: 68vh;
  margin-top: 68px;
  background-size: 100%, contain;
}

.promo--left {
    width: 100%;
    position: relative;
    text-align: center;
    float: left;
}

.promo--right {
    width: 50%;
    position: relative;
    text-align: left;
    float: left;
}

}

@media (min-width: 1024px){

  .division {
    min-height: 29vh;
  }

  .section2 {
      top: 25%;
          width: 50%;
          text-align: right;
  }

  .section3 {
    width: 50%;
    text-align: left;
}

  .img4 {
    left: 14%;
    width: 36%;
}

.img5 {
    right: 14%;
    top: 18%;
    width: 27%;
}

.title--text2 img {
    width: initial;
}

.ctn--top{
  background: url(../img/bg_header.png) no-repeat bottom center;
  min-height: 68vh;
  margin-top: 68px;
  background-size: 100%, contain;
}

.promo--left {
    width: 50%;
    position: relative;
    text-align: right;
    float: left;
}

.promo--right {
    width: 50%;
    position: relative;
    text-align: left;
    float: left;
}

}

@media (min-width: 1200px){

...

}
