/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
    padding-bottom: 40px;
    color: #5a5a5a;
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */
.gridbody {
    background-color: #d4d6d7;
    margin-top: 50px
}
.navbarlogo {
    margin-top: -10px;
}

.navbar .buttonfix {
    margin-top: 10px;
    background-color:#f77834;
    color: #fff;
    padding-left: 25px;
    padding-right: 25px;
}

.navbar .buttonfix:hover {
    background-color:#e4560b;
}

.navbar .phone  {
    color: #333333;
    margin-top: 15px;
    margin-right: 10px;
    font-size: 15px;
}
.navbar-inverse .navbar-nav>li.phone>a{color:inherit}
.navbar-nav>li.phone>a { padding: 0 0 0 15px; }

/* Carousel base class */


/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    z-index: 10;
}
.new-heights {
    height:900px;
}


/* 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 screen and (min-width: 768px) {
	.builderfix {
		margin-top:150px;
		}

    /* Remove the edge padding needed for mobile */
    .marketing {
        padding-right: 0;
        padding-left: 0;
    }

    /* 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;
        line-height: 1.4;
    }

    .featurette-heading {
        font-size: 50px;
    }





    #main {
        height: 780px;
        background-color: transparent;
    }
    /* all other pages */
    #main1 {
        height: 180px;
        background-color: transparent;
    }

    #below-main {
        height: auto;
        background-color: transparent;
    }
    /* New Header */
    .cbp-af-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: #d5d5d5;
        z-index: 10000;
        height: 150px;
        overflow: hidden;
        -webkit-transition: height 0.3s;
        -moz-transition: height 0.3s;
        transition: height 0.3s;
        background-image: url("../images/shadow-header.png");
        background-repeat: no-repeat;
        background-position: top center;
        -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
        -moz-box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
        box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
    }
    .cbp-af-header .cbp-af-inner {
        width: 90%;
        max-width: 60em; /*was 69 em */
        margin: 0 auto;
        padding: 0 1.875em;
    }
    .cbp-af-header h1, .cbp-af-header nav {
        display: inline-block;
        position: relative;
    }
    /* We just have one-lined elements, so we'll center the elements with the line-height set to the height of the header */
    .cbp-af-header h1, .cbp-af-header nav a {
        line-height: 150px;
    }
    .cbp-af-header h1 {
        text-transform: uppercase;
        color: #333;
        letter-spacing: 4px;
        font-size: 4em;
        margin: 0;
        float: left;
    }
    .cbp-af-header nav {
        margin-top: 50px;
        margin-left: auto;
        margin-right: auto;
       position: relative;

    }

    .cbp-af-header nav a {
        color: #6c6c6c;
        font-weight: 400;
        margin: 0 0 0 20px;
        font-size: 15px;
    }
    .cbp-af-header nav a:hover {
        color: #333333;
    }
    /* Transitions and class for reduced height */
    .cbp-af-header h1, .cbp-af-header nav a {
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        transition: all 0.3s;
    }
    .cbp-af-header.cbp-af-header-shrink {
        height: 90px;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        transition: all 0.3s;
        background-image: url("../images/shadow-header4.png");
        background-repeat: no-repeat;
        background-position: top center;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        transition: all 0.3s;
        -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
        -moz-box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
        box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
    }

    .cbp-af-header.cbp-af-header-shrink nav {
    margin-top: 0px;
}
    .cbp-af-header.cbp-af-header-shrink h1, .cbp-af-header.cbp-af-header-shrink nav a {
        line-height: 90px;
    }
    .cbp-af-header.cbp-af-header-shrink h1 {
        font-size: 2em;
    }

    /* Example Media Queries */
    @media screen and (max-width: 767px) {
        .cbp-af-header .cbp-af-inner {
            width: 100%;
        }
        .cbp-af-header h1,  .cbp-af-header nav {
            display: block;
            margin: 0 auto;
            text-align: center;
            float: none;
        }
        .cbp-af-header h1,  .cbp-af-header nav a {
            line-height: 115px;
        }
        .cbp-af-header nav a {
            margin: 0 10px;
        }
        .cbp-af-header.cbp-af-header-shrink h1,  .cbp-af-header.cbp-af-header-shrink nav a {
            line-height: 45px;
        }
        .cbp-af-header.cbp-af-header-shrink h1 {
            font-size: 2em;
        }
        .cbp-af-header.cbp-af-header-shrink nav a {
            font-size: 1em;
        }
    }
    @media screen and (max-width: 32.25em) {
        .cbp-af-header nav a {
            font-size: 1em;
        }
    }
    @media screen and (max-width: 24em) {
        .cbp-af-header nav a,  .cbp-af-header.cbp-af-header-shrink nav a {
            line-height: 1;
        }
        .carousel {
            height: 100%; /* added */
            margin-bottom: 40px; /* was 60 */
        }
        .move-down {
            margin-top: 50px;
        }
        .padding-right {
            padding-right: 60px;
            padding-bottom:60px;
        }
    }
    /* end  */


}

@media (min-width: 992px) {
    .featurette-heading {
        margin-top: 120px;
    }


}

@media (max-width: 767px) {
    .carousel {
        height: 100%; /* added */
        margin-bottom: 10px; /* was 60 */
    }
    .padding-right {
        padding-right: 0px;
        padding-bottom:30px;
    }
    .move-down {
        margin-top: 10px;
    }

    .add-spacing {
        padding-top: 0px;
    }



    .add-color {
        background-color: black;
    }
    #main {
        height: 400px;
        background-color: transparent;
    }
    /* all other pages */
    #main1 {
        height: 180px;
        background-color: transparent;
    }

    #below-main {
        height: auto;
        background-color: transparent;
    }
    .halobar .navbar-inverse {
        background-color: #eee;
        border:none;
        -webkit-box-shadow: 0 2px 10px rgba(0,0,0,.25);
        -moz-box-shadow: 0 2px 10px rgba(0,0,0,.25);
        box-shadow: 0 2px 10px rgba(0,0,0,.25);
    }
    .halobar .navbar .nav.navbar-nav.halo li a{
        color: #f77834;
        background-color:transparent;
    }
    .halobar .navbar .nav.navbar-nav.halo li a:hover{
        color: #fff;
    }
    .halobar .navbar .nav.navbar-nav.halo li:hover{
        color: #ffffff;
        background-color:#f77834;
    }
    .contrast-copytitle.-sm {
        font-size: 14pt;
        height:20px;
        background-image: none;
    }
}

.carousel-indicators {
    bottom: 0px;
    z-index: 100;
}

/* Slider - Timer */
/* Change progress bar style on hover */
.carousel.hover .progress-bar {
    background-color: gray;
    transition: height .6s !important;
    height: 0px !important;
}

/* Change progress bar style on hover */
.carousel.trans .progress-bar {
    background-color: silver;
    transition: width .6s !important;
    width: 0px !important;
}

.progress {
    height: 5px;
    margin-bottom: 0px;
}

.carousel-indicators .active {
    background-color: #ffffff;
}

.carousel-indicators li {
    border: 1px solid #ffffff;
}

.mybackground {
     background-color: #f6f6f6;
 }

.carousel-inner>.item>a>img, .carousel-inner>.item>img, .img-responsive, .thumbnail a>img, .thumbnail>img {
    display: block;
    width: 100%;
    height: auto;
}