/*! 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: 'KokomoBreeze';
  src: url('../fonts/KokomoBreeze-Regular.woff2') format('woff2'),
    url('../fonts/KokomoBreeze-Regular.otf') format('opentype');
}

@font-face{
  font-family: 'FuturaLTPro-Bold';
  src: url('../fonts/FuturaLTPro-Bold.otf') format('opentype');
}

@font-face{
  font-family: 'FuturaLTPro-Medium';
  src: url('../fonts/FuturaLTPro-Medium.otf') format('opentype');
}

@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
   ========================================================================== */

:root {
  --green: #006135;
  --green-highlight: #009457;
  --light-green: #ccebd9;
}

html{

}

body{
  
}

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

html {

}

body {
  font-family: 'FuturaLTPro-Medium';
  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;
  max-height: 38px;
}

.cabecera-gob {
  color: #fff;  
}

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

.pie-gob {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.42857143;
  padding-bottom: 20px;
}

.pie-gob p{
  color: #000;
}


/**/

#slider{
  width: 100%;

}

  #slider.margin{
    margin: 4em 0;
  }

  #slider div.swiper-wrapper{
    width: 150vw;
  }

    #slider div.swiper-wrapper div.swiper-slide{
      background-size: cover;
      background-position: center;
      background-color: #fff;
    }

      #slider div.swiper-wrapper div.swiper-slide div.col{
        width: 80%;
        max-width: 570px;
        min-height: 100vw;
        margin: 0 auto;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
      }

      #slider div.swiper-wrapper div.swiper-slide div.col img{
        width: 80%;
        max-width: 570px;
        filter: drop-shadow(5px 5px 3px #111);
        display: block;
        opacity: 0;
        transition: opacity 3.75s;
      }

        #slider div.swiper-wrapper div.swiper-slide.swiper-slide-active div.col img{
          opacity: 1;
        }  

      #slider div.swiper-wrapper div.swiper-slide div.col p{
        margin: 2em 0;
        font-family: 'HelveticaNeueBold';
        /*1em to 1.2em*/
        font-size: calc(16px + (20 - 16) * (100vw - 320px) / (768 - 320));
        text-shadow: 3px 3px 3px #222;
        color: #fff;
      }



main{

}

  main div.content{
    width: 100%;
  }

    main div.content.green{
      background-color: #006237;
    }

    main div.content.grey{
      background-color: #ededed;
    }   

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

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

    main div.content h1{
      margin: 0.5em auto 0;
      font-family: 'KokomoBreeze';
      /*4em to 8em*/
      font-size: calc(64px + (128 - 64) * (100vw - 320px) / (992 - 320));
      font-weight: normal;
      text-align: center;
      line-height: 0.7em;
      color: #006237;
    }

    main div.content h2{
      margin-bottom: 2em;
      font-family: 'FuturaLTPro-Bold';
      /*1.4em to 1.9em*/
      font-size: calc(22px + (30 - 22) * (100vw - 320px) / (992 - 320));
      font-weight: normal;
      line-height: 1em;
    }

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

      main div.content p b{
        font-family: 'FuturaLTPro-Bold';
        font-weight: normal;
      }

    main div.content ol{
      padding: 1em 0 1em 2.5em;
      font-family: 'FuturaLTPro-Bold';
      font-size: 1.25em;
      font-weight: normal;
      color: #006237;
    }

      main div.content ol li{
        margin-bottom: 2em;
        color: #006237;
      }

        main div.content ol li b{
          color: #006237;
          display: block;
        }

        main div.content ol li span{
          font-family: 'FuturaLTPro-Medium';
          color: #000;
        }

    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 (min-width: 576px) {

}

@media (min-width: 768px) {

  .container {
    width: 750px;
  }

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

  #slider div.swiper-wrapper div.swiper-slide div.col{
    min-height: calc(100vw / 3);
  }

}

@media (min-width: 992px) {

  .container {
    width: 970px;
  }

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

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

  main div.content h2{
    font-size: 1.9em;
  }

}

@media (min-width: 1200px) {

  .container {
    width: 1170px;
  }

}

@media (min-width: 2000px) {
  
  #slider div.swiper-wrapper div.swiper-slide div.col{
    min-height: calc(100vw / 5);
  }

}