/* 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: 0px;
    padding-left: 0px;
}

.navbar {
    min-height: 80px;
    height: 10%;
}

#nav.affix-top {
    position: absolute;
    top:0;
    left:0;
    z-index:20;
    height:0px;
    background-color:transparent;
    border:0;
}

#nav.affix-top > .navbar {
    height: auto;
    min-height: 0;
}

#nav.affix > .navbar {
    height: auto;
    min-height: 0;
}
.navbar-default {
    height: 15%;
    min-height: 80px !important;
}
.navbar-fixed-bottom {
    height: auto !important;
    min-height: 0px !important;
}


.navbar-brand{
    padding-left: 0px;
    padding-right: 0px;
}

#nav.affix {
    position: fixed;
    top: 0;
    z-index:88889;
    -webkit-transition: all .6s ease-in-out;
}

#footer > .container {

}

.slideshow.calltoaction {
    position: relative;
    text-align: center;
    padding-top: 0;;
}

/*
@media (min-height: 1025px) and (max-height:1279px){ 
.slideshow.calltoaction {
    padding-top:30%;
   }}
@media (min-height: 901px) and (max-height:1023px){ 
.slideshow.calltoaction {
    padding-top:24%;
    }}
@media (min-height: 641px) and (max-height:899px){ 
.slideshow.calltoaction {
    padding-top:18%;
    }}
@media (min-height: 601px) and (max-height:639px){ 
.slideshow.calltoaction {
    padding-top:12%;
    }}
@media (min-height: 481px) and (max-height:599px){ 
.slideshow.calltoaction {
    padding-top:6%;
   }}

@media (max-height:479px){ 
    .slideshow.calltoaction {
        padding-top:0%;
    }
    }

@media (width: 1920px) and (height:900px){ 
.slideshow.calltoaction {
    padding-top:30%;
    }}

@media (width: 1280px) and (height:600px) { 
.slideshow.calltoaction {
    padding-top:12%;
    }}

@media (width: 980px)and (height:1280px) { 
.slideshow.calltoaction {
    padding-top:80%;
    }}

@media (width: 800px)and (height:1280px) { 
.slideshow.calltoaction {
    padding-top:75%;
   }}

@media (width: 768px)and (height:1024px) { 
.slideshow.calltoaction {
    padding-top:60%;
  }}

@media (width: 360px) and (height:640px) { 
.slideshow.calltoaction {
    padding-top:45%;
   }}

@media (width: 320px)and (height:480px) { 
.slideshow.calltoaction {
    padding-top:15%;
   }}
*/

.slideshow.calltoaction2 {
    position: relative;
    text-align: center;

}
/*
@media (max-height:479px){ 
    .slideshow.calltoaction2{
       display: none;
     }
    }
*/   
.slideshow.calltoaction .first {
    position: relative;
    border:none;
    font-size: 12px;
    margin-left:15px;
    margin-right: 15px;
    margin-bottom: 1px;
    width:170px;
    height:40px;
    background: #881c0d;
}

.slideshow.calltoaction .second {
    position: relative;
    border:none;
    font-size: 12px;
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 1px;
    width:170px;
    height:40px;
    background: #881c0d;
   
}

.slideshow.calltoaction .third {
    position: relative;
    max-height: 50px;
}

.carousel-indicators {
    bottom: 50%;
    position: absolute;
    width: auto;
    left: auto;
    right: 15%;
}

@media (min-width: 767px) {
    .navbar-nav.nav-justified > li{
        float:none;
    }
}

.navbar-nav {
    margin: 1px 1px; 
}  

.navbar-toggle {
    outline:0;
}

@media (max-width: 768px) {
    header {

    }
}

.scroll-top {
    position:fixed;
    bottom:0;
    right:6%;
    z-index:100;
    background: #f2f3f2;
    font-size:24px;
    border-top-left-radius:3px;
    border-top-right-radius:3px;
}

.scroll-top a:link,.scroll-top a:visited {
    color:#222;
} 


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */
html, body {
    height:100%;
    margin:0;
    padding:0;
}
.carousel, .item, .active {
    height:100%;
}
.carousel-inner {
    height:100%;
}
.carousel {
    margin-bottom:0px;
}
.carousel-caption {
    z-index: 10;
}
.carousel .item {
    background-color: #777;
}
.carousel .carousel-inner .bg {
    background-repeat:no-repeat;
    background-size:cover;
}
.carousel .carousel-inner .bg1 {
    /*background-image:url(bg1.jpg);*/
    /*background-image:url(../img/carousel4.jpg);*/
    background-position: center top; 
}
.carousel .carousel-inner .bg2 {
    /*background-image:url(bg2.jpg);*/
    /*background-image:url(../img/carousel4.jpg);*/
    background-position: center center; 
}
.carousel .carousel-inner .bg3 {
    /*background-image:url(../img/carousel4.jpg);*/
    background-position: center bottom; 
}

.carousel-caption {
    right: 0;
    left: 0;
    background-color: none;
    position: relative;
   


}

/* MARKETING CONTENT
-------------------------------------------------- */

/* Pad the edges of the mobile views a bit */
.marketing {
    padding-right: 15px;
    padding-left: 15px;
}

/* 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) {

    /* Remove the edge padding needed for mobile */
    .marketing {
        padding-right: 0;
        padding-left: 0;
    }

    .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: 0px;
        font-size: 17px;
        line-height: 1.4;
    }

    .featurette-heading {
        font-size: 50px;
    }
}

@media (min-width: 992px) {
    .featurette-heading {
        margin-top: 120px;
    }
}


