/*! 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: 'Averta Black';
  src: url('../fonts/AvertaW01-Black.otf') format('opentype');
}

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

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

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

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

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

:root {
  --green: #c7d317;
  --purple: #e5007e;
  --blue: #00abe4;
  --orange: #f49b00;
}

html{

}

body{
  
}

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

html {

}

body {
  font-family: 'Averta Regular';
  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: 32px;
  background-color: #f6f6f6;
}

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


/**/

#slider{
  max-width: 100%;
}

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

  #slider.margin:last-child{
    margin: 3em 0 0;
  }

  #slider div.swiper-wrapper{
    width: 100%;
  }

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

      #slider div.swiper-wrapper div.swiper-slide div.col{
        max-width: 1138px;
        max-height: 650px;
        margin: 0 auto;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-image: url('../img/edad.svg');
        background-size: contain;
        background-position: center;
      }

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

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

main{

}

  main div.content{
    width: 100%;
  }

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

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

    main div.content h1{
      margin-top: 0.5em;
      /*0px to 243px*/
      margin-right: calc(0px + (243 - 0) * (100vw - 320px) / (992 - 320));
      font-family: 'Averta Bold';
      /*1.9em to 3.1em*/
      font-size: calc(30px + (49 - 30) * (100vw - 320px) / (992 - 320));
      font-weight: normal;
      line-height: 1.2em;
      text-transform: uppercase;
    }

      main div.content h1 strong{
        font-family: 'Averta Black';
      }

    main div.content h2{
      margin-bottom: 1.25em;
      font-family: 'Averta Bold';
      /*1.7em to 3.1em*/
      font-size: calc(27px + (49 - 27) * (100vw - 320px) / (992 - 320));
      font-weight: normal;
      line-height: 1.1em;
    }

    main div.content p{
      /*1em to 1.25em*/
      font-size: calc(16px + (20 - 16) * (100vw - 320px) / (992 - 320));
      line-height: 1.3em;
    }

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

    main hr{
      height: 3px;
    }

      main hr.green{
        border-top: 3px solid var(--green);
      }

      main hr.blue{
        border-top: 3px solid var(--blue);
      }

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

@media (min-width: 576px) {

}

@media (min-width: 768px) {

  .container {
    width: 750px;
  }

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

}

@media (min-width: 992px) {

  .container {
    width: 970px;
  }

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

  main div.content h1{
    margin-right: 243px;
    font-size: 3.1em;
  }

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

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

}

@media (min-width: 1200px) {

  .container {
    width: 1170px;
  }

}

@media (min-width: 2000px) {


}