/* Fonts
---------------------------------------------------*/
@font-face {
    font-family: 'Neo Sans Std';
    src: url('../fonts/subset-NeoSansStd-Italic.eot');
    src: url('../fonts/subset-NeoSansStd-Italic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/subset-NeoSansStd-Italic.woff2') format('woff2'),
        url('../fonts/subset-NeoSansStd-Italic.woff') format('woff'),
        url('../fonts/subset-NeoSansStd-Italic.ttf') format('truetype'),
        url('../fonts/subset-NeoSansStd-Italic.svg#NeoSansStd-Italic') format('svg');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Neo Sans Std';
    src: url('../fonts/subset-NeoSansStd-Bold.eot');
    src: url('../fonts/subset-NeoSansStd-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/subset-NeoSansStd-Bold.woff2') format('woff2'),
        url('../fonts/subset-NeoSansStd-Bold.woff') format('woff'),
        url('../fonts/subset-NeoSansStd-Bold.ttf') format('truetype'),
        url('../fonts/subset-NeoSansStd-Bold.svg#NeoSansStd-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Neo Sans Std';
    src: url('../fonts/subset-NeoSansStd-Regular.eot');
    src: url('../fonts/subset-NeoSansStd-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/subset-NeoSansStd-Regular.woff2') format('woff2'),
        url('../fonts/subset-NeoSansStd-Regular.woff') format('woff'),
        url('../fonts/subset-NeoSansStd-Regular.ttf') format('truetype'),
        url('../fonts/subset-NeoSansStd-Regular.svg#NeoSansStd-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* Custom Styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}
body {
    /* Global font */
    font-family: 'Neo Sans Std', sans-serif;
    /* Global text color */
    color: #006C87;
    /* Margin bottom by footer height */
    /*margin-bottom: 256px;*/
}

body > .container-fluid {
    /* Compensate for fixed navbar height */
    /* padding-top: 56px; */
    padding: 0;
}

code {
    font-size: 80%;
}

/*.container .text-muted {
    margin: 20px 0;
}*/

.map {
    border: 0;
}

.bg-light {
    background-color: white;
}

.bg-dark {
    background-color: #00A7CE;
    color: #E8F7FA;
}

.featurette::before {
    padding-top: 56px;
}

#norte {
    padding-top: 56px;
}

/* Navbar
-------------------------------------------------- */
.navbar {
    min-height: 56px;
}

.navbar-inverse {
    background-image: linear-gradient(to bottom, #00E4F0 0, #00A7CE 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.58);
    border-color: #006C87;
}

.navbar-inverse .navbar-brand {
    font-family: 'iteum';
    font-size: 30px;
    color: #00A7CE;
    line-height: 50px;
    display: flex;
    align-items: center;
    height: 56px;
}

.navbar-inverse .navbar-brand:focus, .navbar-inverse .navbar-brand:hover {
    color: #B2E4F1;
}

.navbar-logo {
    font-family: 'Neo Sans Std', sans-serif;
    color: #E8F7FA;
    height: 48px;
    line-height: 48px;
    margin-right: 8px;
}

.navbar-inverse .navbar-nav > li > a {
    color: #E8F7FA;
    line-height: 26px;
    letter-spacing: 1px; 
    text-shadow: 0 -1px 1px rgba(0,0,0,.3), 0 1px 1px rgba(255,255,255,.7);
    text-transform: uppercase;
}

.navbar-inverse .navbar-nav > li > a:active, .navbar-inverse .navbar-nav > li > a:focus {
    background-color: #00A7CE;
}

.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:focus, .navbar-inverse .navbar-nav > .open > a:hover {
    background-color: #00A7CE;
}

.navbar-inverse .navbar-toggle {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 8px 8px;
    border-color: #B2E4F0;
}

.navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus {
    background-color: #00A7CE;
}

.navbar-inverse .navbar-toggle .icon-bar {
    background-color: #B2E4F0;
}

.navbar-inverse .navbar-toggle .icon-bar + .icon-bar {
    margin-top: 6px;
}

.nav li.open {
    background-color: #E8F7FA;
}

.navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
    color: #006C87;
}

.navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #00A7CE;
    background-color: transparent;
    text-decoration: underline;
}

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

/* Footer
-------------------------------------------------- */
.footer {
    color: #E8F7FA;
    /*position: absolute;*/
    /*bottom: 0;*/
    width: 100%;
    /* Set the fixed height of the footer here */
    /*height: 256px;*/
    padding: 25px 25px;
    background: #006C87;
    /*background: -webkit-linear-gradient(top, #004658 0%,#006C87 100%);
    background:    -moz-linear-gradient(top, #004658 0%, #006C87 100%);
    background:         linear-gradient(to bottom, #004658 0%,#006C87 100%);*/
    box-shadow: inset 0 1px 5px rgba(0,0,0,.58);
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.footer h2 {
    margin-top: 0;
}

.footer > .container > .row > .col-sm-4:nth-child(1) {
    /* Compensate -30px for the ul icons and +15px default padding on the first two columns */
    padding-left: 45px;
}

.footer > .container > .row > .col-sm-4:nth-child(3) {
    position: relative;
    /*height: 70px;*/
    display: flex;
    flex-direction: column-reverse;
    text-align: right;
}

.footer address {
    margin-bottom: initial;
}

.footer a {
    color: #E8F7FA;
}

.footer a:hover {
    color: #FFF;
}

ul.contact-list {
    margin-left: -40px;
}

ul.contact-list > li {
    list-style-type: none;
    margin-bottom: 20px;
}

ul.contact-list > li:before {
    content: "\e062";
    font-family: 'Glyphicons Halflings';
    float: left;
    margin-left: -30px;
}

ul.contact-list > li:nth-child(1):before {
    content: "\e062";
}
ul.contact-list > li:nth-child(2):before {
    content: "\e182";

}
ul.contact-list > li:nth-child(3):before {
    content: "\2709";
}

.footer .text-muted {
    color: #B2E4F0;
}

.backing{
    display: block;
    min-width: 290px;
    min-height: 60px;
    width: 100%;
    height: auto;
}

/* Carousel
-------------------------------------------------- */
.carousel-fade .carousel-inner .item {
    -webkit-transition-property: opacity;
    transition-property: opacity;
}
.carousel-fade .carousel-inner .item,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
    opacity: 0;
}
.carousel-fade .carousel-inner .active,
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
    opacity: 1;
}
.carousel-fade .carousel-inner .next,
.carousel-fade .carousel-inner .prev,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
    left: 0;
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}
.carousel-fade .carousel-control {
    z-index: 2;
}

.carousel,
.carousel-inner,
.carousel-inner .item {
    height: 712px;
}

.item {
    background-color: #E8F7FA;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat; 
}

.item:nth-child(1) {
  background-image: url("../img/slide_001.jpg");
}
.item:nth-child(2) {
  background-image: url("../img/slide_002.jpg"); 
}
.item:nth-child(3) {
  background-image: url("../img/slide_003.jpg"); 
}
.item:nth-child(4) {
  background-image: url("../img/slide_004.jpg"); 
}
.item:nth-child(5) {
  background-image: url("../img/slide_005.jpg"); 
}

.carousel {
    margin-bottom: 56px;
}

.carousel .carousel-inner .item img {
    max-width: 100%;
    max-height: 100%;
}

.carousel-caption {
    text-align: left;
    text-shadow: 0 0 2px rgba(0,0,0,1), 0 0 16px rgba(0,0,0,0.7);
}

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

/* Center align the text within the three columns below the carousel */
.featurettes .col-sm-4 {
    margin-bottom: 56px;
    text-align: center;
}
.featurettes h2 {
    font-weight: normal;
}
.featurettes .col-sm-4 p {
    margin-right: 10px;
    margin-left: 10px;
    text-align: left;
    hyphens: auto;
}

.featurettes img {
    max-width: 320px;
    max-height: 320px;
    width: auto;
    height: auto;
}

#services > ul {
    text-align: left;
}

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

/* Other
------------------------- */

#quality-policy, #project-sheet {
    margin-top: 112px;
    margin-bottom: 56px;
    min-height: 600px;
}

/* Responsive CSS
-------------------------------------------------- */

/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */

/* Narrower devices */
@media (max-width: 768px) {
    /*.carousel,
    .carousel-inner,
    .carousel-inner .item {
        height: 424px;
    }*/

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

    .featurettes img {
        max-width: 290px;
        max-height: 290px;
    }

    .featurettes .col-sm-4 p {
        margin-right: 15%;
        margin-left: 15%;
    }

    .footer > .container > .row > .col-sm-4:nth-child(3) {
        text-align: left;
    }

    .backing {
        width: 290px;
        margin-bottom: 20px;
    }
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
    /* 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;
    }

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

    .featurettes img {
        max-width: 220px;
        max-height: 220px;
    }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199px) { /* and (max-width: @screen-md-max) */
    .featurette-heading {
        margin-top: 120px;
    }

    .featurettes img {
        max-width: 292px;
        max-height: 292px;
    }
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}
