/*! 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 {
  font-size: 1em;
  line-height: 1.4;
}

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

/* ==========================================================================
   fonts
   ========================================================================== */

@font-face{
  font-family: 'HelveticaNeueBold';
  src: url('../fonts/HelveticaNeueLTStd-Bd.woff2') format('woff2'),
    url('../fonts/HelveticaNeueLTStd-Bd.otf') format('opentype');
}

@font-face{
  font-family: 'HelveticaNeueBoldItalic';
  src: url('../fonts/HelveticaNeueLTStd-BdIt.woff2') format('woff2'),
    url('../fonts/HelveticaNeueLTStd-BdIt.otf') format('opentype');
}

@font-face{
  font-family: 'HelveticaNeueMedium';
  src: url('../fonts/HelveticaNeueLTStd-Md.woff2') format('woff2'),
    url('../fonts/HelveticaNeueLTStd-Md.otf') format('opentype');
}

@font-face{
  font-family: 'HelveticaNeueRoman';
  src: url('../fonts/HelveticaNeueLTStd-Roman.woff2') format('woff2'),
    url('../fonts/HelveticaNeueLTStd-Roman.otf') format('opentype');
}

/* ==========================================================================
   styles
   ========================================================================== */

html{

}

body{
  
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {

}

body {
  font-family: 'HelveticaNeueMedium';
  color: #000;
}

/**/

.container {
  padding: 1em;
  margin-right: auto;
  margin-left: auto;
}

.row {
  margin-right: -15px;
  margin-left: -15px;
}

.col-md-2,
.col-sm-3,
.col-xs-6,
.col-md-12 {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

.col-xs-6 {
  width: 50%;
}

.col-md-12 {
  width: 100%;
  float: left;
}

.container:after,
.container:before,
.row:after,
.row:before {
  display: table;
  content: " ";
}
.row:after {
  clear: both;
}

.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}

.cabecera-gob {
  color: #fff;
  background: #f9f9f9;
}

.cabecera-gob .logotipo {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}

.pie-gob {
  font-family: 'HelveticaNeueRoman';
  font-size: 15px;
  line-height: 1.42857143;
  color: #8cba37;
  padding: 20px 0;
  background: #f9f9f9;
text-align: left;
}

.text{
    padding-left: 60px;
}
/**/

#slider{
  max-width: 100%;
}

  #slider div.swiper-wrapper{

  }

    #slider div.swiper-wrapper div.swiper-slide{
      height: auto;
      min-height: calc(100vh - 100px);
      background: url('../img/colors-wide-v.png');
      background-size: auto 100%;
      background: linear-gradient(180deg,
        #ed1c24 16.66%,
        #f67c13 16.66%, 33.32%,
        #f3ef04 33.32%, 49.98%,
        #1f883d 49.98%, 66.64%,
        #1b62b7 66.64%, 83.3%,
        #71208b 83.3%);
    }

      #slider div.swiper-wrapper div.swiper-slide div.col{
        width: 80%;
        max-width: 760px;
        min-height: calc(100vh - 100px);
        margin: 0 auto;
        position: relative;
        display: flex;
        align-items: center;
      }

      #slider div.swiper-wrapper div.swiper-slide div.col span{
        font-family: 'HelveticaNeueBold';
        /*3.5em to 7.65em*/
        font-size: calc(56px + (122 - 56) * (100vw - 320px) / (768 - 320));
        line-height: 0.98em;
        position: relative;
      }

        #slider div.swiper-wrapper div.swiper-slide div.col span::before{
          content: '“';
          position: absolute;
          left: -0.45em;
        }

        #slider div.swiper-wrapper div.swiper-slide div.col span i{
          font-family: 'HelveticaNeueBoldItalic';
          font-style: normal;
        }

#slider #smiley{
  height: 25%;
  margin: auto;
  position: absolute;
  right: 0;
  bottom: 4%;
  left: 1000px;
  z-index: 1;
}

main{

}

  main div.content{
    width: 100%;
  }

    main div.content.red{
      background-color: #ed1c24;
      color: #fff;
    }

    main div.content.orange{
      background-color: #f67c13;
    }

    main div.content.yellow{
      background-color: #f3ef04;
    }

    main div.content.green{
      background-color: #1f883d;
      color: #fff;
    }

    main div.content.blue{
      background-color: #1b62b7;
      color: #fff;
    }

    main div.content div.wrap{
      width: 80%;
      max-width: 760px;
      margin: 0 auto;
      padding: 5em 0;
    }

    main div.content img{
      width: 100%;
      margin: 1em 0;
    }

    main div.content strong{
      font-family: 'HelveticaNeueBold';
    }

    main div.content h1{
      font-family: 'HelveticaNeueBold';
      /*3em to 5em*/
      font-size: calc(48px + (80 - 48) * (100vw - 320px) / (768 - 320));
      font-weight: normal;
      line-height: 0.9em;
    }

      main div.content h1 span{
        font-family: 'HelveticaNeueBoldItalic';
      }

    main div.content h2{
      font-family: 'HelveticaNeueBold';
      font-size: 1.9em;
      font-weight: normal;
      line-height: 1em;
    }

      main div.content h2 span{
        font-family: 'HelveticaNeueRoman';
      }

    main div.content h3{
      margin-top: 0;
      font-family: 'HelveticaNeueBold';
      /*2em to 3.5em*/
      font-size: calc(48px + (56 - 48) * (100vw - 320px) / (768 - 320));
      /*font-size: 3.5em;*/
      font-weight: normal;
      line-height: 1.1em;
    }

    main div.content p{
      font-size: 1.25em;
    }

    main div.content ul{
      font-size: 1.25em;
      padding-left: 1em;
    }

      main div.content ul li{
        margin-bottom: 0.75em;
      }

        main div.content ul li > ul{
          font-size: 1em;
        }

    main div.content a.button{
      max-width: max-content;
      margin: 0 auto;
      padding: 1em 1em 0.9em;
      font-family: 'HelveticaNeueBold';
      font-size: 1.5em;
      text-decoration: none;
      text-align: center;
      background-color: #006135;
      color: #fff;
      display: block;
    }

      main div.content a.button:hover{
        opacity: 0.85;
      }

/* ==========================================================================
   media queries
   ========================================================================== */

@media (max-width: 400px) {
.pie-gob {
text-align: left;
    padding-left: 20px;
}
    .text{
        padding-left: 57px;
    }
}

@media (min-width: 768px) {

  .container {
    width: 750px;
  }

  .col-sm-3 {
    width: 25%;
    float: left;
  }

  #slider div.swiper-wrapper div.swiper-slide div.col span{
    font-size: 7.65em;
  }

  main div.content h1{
    font-size: 5em;
  }

  main div.content h3{
    font-size: 3.5em;
  }

}

@media (min-width: 992px) {

  .container {
    width: 970px;
  }

  .col-md-2 {
    width: 16.66666667%;
    float: left;
  }

}

@media (min-width: 1200px) {

  .container {
    width: 1170px;
  }

}