/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  padding-bottom: 40px;
  color: #5a5a5a;
}


/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */

/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
}

/* Flip around the padding for proper display in narrow viewports */
.navbar-wrapper > .container {
  padding-right: 0;
  padding-left: 0;
}
.navbar-wrapper .navbar {
  padding-right: 15px;
  padding-left: 15px;
}
.navbar-wrapper .navbar .container {
  width: auto;
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  height: 80vh;
  margin-bottom: 60px;
  background: #398ae5;
  background-image: url(../img/fondo_azul.jpg);
  background-position: top center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% auto;
}
.separador-curva {
  width: 100%;
  height: 80px;
  background:url(../img/separador_curva.png) no-repeat center bottom;
  position: absolute;
  bottom: -1px;
  background-size: 100% auto;
  z-index: 2;
}

.carousel-control.right, .carousel-control.left {
  background-image: none !important;
}

.icono {
  height: 12vh;
  width: 12vh;
  top: 27vh;
}

.girar {
  -ms-transform: rotate(180deg); /* IE 9 */
    -webkit-transform: rotate(180deg); /* Safari */
    transform: rotate(180deg);
    bottom:27vh;
}

.icono svg {
  width: 100%;
}

/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
  top:120px;
  right: 14%;
  left: 14%;
}

/* Declare heights because of positioning of img element */
.carousel .item {
  height: 80vh;
}

.carousel .item .subtitulo {
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  color: #a2d6fe;
  font-size: 20px;
  text-shadow:none;
  margin:20px 0;
  padding: 0;
}

.carousel .item .titulo {
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #ffffff;
  font-size: 34px;
  text-shadow:none;
  margin:10px 0;
  padding: 0;
}

.carousel .item .descripcion_corta {
  text-align: justify;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  color: #ffffff;
  font-size: 13px;
  text-shadow:none;
}

.carousel .item .boton_leermas {
  display: block;
  margin-top: 30px;
  text-decoration: none;
  color: inherit;
  width: 160px;
  float: right;
  height: 35px;
  border-radius: 15px;
  background: #1251ac;
}

.carousel .item .boton_leermas .texto {
  width: 120px;
  text-transform: uppercase;
  font-weight: 400;
  font-family: 'Montserrat', sans-serif;
  color: white;
  float: left;
  display: block;
  line-height: 35px;
  text-align: center;
}

.carousel .item .boton_leermas .icono_leer {
  width: 40px;
  color: white;
  height: 35px;
  float: right;
  background: #238fd1;
  -webkit-border-top-right-radius: 15px;
  -webkit-border-bottom-right-radius: 15px;
  -moz-border-radius-topright: 15px;
  -moz-border-radius-bottomright: 15px;
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}

.carousel .item .boton_leermas .icono_leer span {
  font-size: 18px;
  line-height: 30px;
}
  
.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 60vh;
}

.contenedor_imagen_slider img {
  max-height: 410px;
  max-width:400px;
}


/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 20px;
  text-align: center;
}
.marketing h2 {
  font-weight: normal;
}
.marketing .col-lg-4 p {
  margin-right: 10px;
  margin-left: 10px;
}


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 80px 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -1px;
}


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 768px) {
  /* Navbar positioning foo */
  .navbar-wrapper {
    margin-top: 20px;
  }
  .navbar-wrapper .container {
    padding-right: 15px;
    padding-left: 15px;
  }
  .navbar-wrapper .navbar {
    padding-right: 0;
    padding-left: 0;
  }

  /* The navbar becomes detached from the top, so we round the corners */
  .navbar-wrapper .navbar {
    border-radius: 4px;
  }

  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 20px;
    font-size: 21px;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 992px) {
  .featurette-heading {
    margin-top: 120px;
  }
}
