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

/* NAVROJO
-------------------------------------------------- */

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

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

/* FOOTER
-------------------------------------------------- */

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

/* Flip around the padding for proper display in narrow viewports */
.footer-wrapper > .container {
  padding: 20px;
  background-color:#b51f1a;
}

.footer-wrapper > .container a {
	margin:9px 15px 0 0;
}

.footer-wrapper > .container p {
	color:#FFF;
	font-size:13px;
	margin-top:13px;
} 

/* Footer Superior */
.footer-sup-wrapper > .container-sup {
  padding: 20px;
  background-color:#f33731;
}

.container-sup h2 {
	font-size:18px !important;
	font-weight:bold !important;
	color:#FFF !important;
}

.container-sup p {
	color:#FFF !important;
	font-size: 16px;
}

.container-sup a {
	color:#FFF !important;
	text-decoration:none !important;
	font-size: 16px;
}

.container-sup a:hover {
	color:#b51f1a !important;
	text-decoration:underline !important;
}


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

/* Carousel base class */
.carousel {
  height: 450px;
  margin: 119px 0 20px 0;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel .item {
  width: 100%; /*slider width*/
  height: 410px; /*slider height*/
  background:url(../images/aberturas-congreso-bg-header.png);
}
@media (min-width:1400px) {.carousel-caption {height:447px; width:850px; margin: auto;}}
@media (min-width:1200px) {.carousel-inner {height:450px;} .carousel {height:410px}}
@media (min-width:992px) and (max-width:1199px) {.carousel {height:400px;} .carousel-caption {height:389px;} .carousel-inner{height:410px;} .carousel .item {height: 400px;}}
@media (max-width:991px) {.carousel {height: 302px;} .carousel-caption {height: 360px;} .carousel-inner {height: 302px;} .carousel .item {height: 400px;}}
@media (max-width:767px) {.carousel {height: 400px;} .carousel-caption {height: 389px;} .carousel-inner {height: 400px;}}
@media (max-width:430px) {.carousel {height: 350px;} .carousel-caption {height: 389px;} .carousel-inner {height: 350px;}}

.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  min-width: 100%;
  height: 490px;
}



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

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 20px;
  text-align: left;
}
.marketing h2 {
  font-weight: bold;
  color: #f33731;
  font-size: 24px;
}
.marketing .col-lg-4 p {
  margin-right: 10px;
  margin-left: 0px;
}


/* 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: 0px;
	background-color: transparent;
	height:89px;
  }
  .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: 0px;
  }

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

  .featurette-heading {
    font-size: 50px;
  }
  
  /* Navred */
  
  /* Navbar positioning foo */
  .navred-wrapper {
    margin-top: 0px;
	background-color: #2d2d2d;
	height:32px;
  }
  .navred-wrapper .container {
    padding-right: 15px;
    padding-left: 15px;
  }
  .navred-wrapper .navbar {
    padding-right: 0;
    padding-left: 0;
  }

  /* The navbar becomes detached from the top, so we round the corners */
  .navred-wrapper .navbar {
    border-radius: 0px;
  }
  
  /* Footer */
  
  .footer-sup-wrapper {
	background-color: #2d2d2d;
	min-height:90px;
  }
  
  /* Navbar positioning foo */
  .footer-wrapper {
	margin-bottom:-40px;
	background-color: #b51f1a;
	min-height:90px;
  }
  .footer-wrapper .container {
    padding: 15px;
  }
}

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

@media (max-width: 767px) {
.footer-wrapper {
	margin-bottom:-40px;
}
}
