/* LAY-OUT */
body {
    overflow-x: hidden;
}

#wrapper {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

#header-background {
    height: 120px;
    width: 100%;
    background: url("../img/layout/bg.gif") repeat;
}

#header-logo {
    height: 130px;
    width: 155px;
    border: 0;
    padding: 0;
    margin: -90px auto 20px auto;
    background: #fff url("../img/layout/logo.gif") no-repeat;
}

#main-background {
    height: 100%;
    width: 100%;
    background: url("../img/layout/bg.gif") repeat;
    padding-top: 73px;
    padding-bottom: 40px;
}

.bg-white {
    background-color: white;
    border: 1px solid #646464;
}

/* NAVBAR */
.navbar-nav > li > a {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    height: 24px;
}

.navbar {
    min-height:28px !important;
}

.nav-pills > li {
    border-right: 1px solid #646464;
}

.nav-pills > li:last-child {
    border-right: none;
}

.nav-pills > li > a {
    background-color: transparent;
    color: black;
}

.nav-pills > li.active > a,
.nav-pills > li.active > a:focus,
.nav-pills > li.active > a:hover,
.nav-pills > li > a:focus,
.nav-pills > li > a:hover {
    background-color: transparent;
    color: #4369AB;
}

.nav-no-link {
    padding: 2px 20px 2px 20px;
    line-height: 20px;
}

.disabled-link {
    color: #646464;
}

.custom-nav-bar.navbar-toggle {
    background-color: #fff; /*Background color for holder*/
}
.custom-nav-bar.navbar-toggle .icon-bar {
    background-color: #fff; /*Background color for bar in the holder*/
}

@media (min-width: 768px) {
    .navbar .navbar-nav {
        display: inline-block;
        float: none;
        vertical-align: top;
    }

    .navbar .navbar-collapse {
        text-align: center;
    }
}

@media (max-width: 1000px) {
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
    }
}

/* CONTENT */
.featured-image {
    position: relative;
    width: 100%; /* for IE 6 */
}

.featured-image > p {
    position: absolute;
    top: 80%;
    left: 30px;
    width: 100%;
    /*text-align: center;*/
}

.featured-image > p span {
    color: white;
    font: 28px serif;
    font-style: italic;
    letter-spacing: -1px;
    background: rgb(67, 105, 171); /* fallback color */
    background: rgba(67, 105, 171, 0.7);
    padding: 10px;
}

.featured-image > p span.spacer {
    padding: 0 5px;
}


.featured-image-home {
    position: relative;
    width: 100%; /* for IE 6 */
}

.featured-image-home > p {
    position: absolute;
    top: 80%;
    left: 30px;
    width: 100%;
    /*text-align: center;*/
}

.featured-image-home > p span {
    color: white;
    font: 28px serif;
    font-style: italic;
    letter-spacing: -1px;
    background: rgb(67, 105, 171); /* fallback color */
    background: rgba(67, 105, 171, 0.7);
    padding: 10px;
}

.featured-image-home > p span.spacer {
    padding: 0 5px;
}

.col-lg-7 > h1 {
    font-size: 30px;
    font-style: italic;
    font-family: serif;
    color: black;
}

.col-lg-7 > h2 {
    font-size: 24px;
    font-style: italic;
    font-family: serif;
    color: #4369AB;
}

.col-lg-7 > h3 {
    font-size: 18px;
    font-style: italic;
    font-family: serif;
    color: #4369AB;
}

.no-margin {
    margin: 0;
}

.no-padding {
    padding: 0;
}

@media (max-width: 768px) {
    .featured-image > p {
        position: absolute;
        top: 30px;
        left: 20px;
        width: 100%;
        /*text-align: center;*/
    }

    .featured-image > p span {
        color: white;
        font: 18px serif;
        font-style: italic;
        letter-spacing: -1px;
        background: rgb(67, 105, 171); /* fallback color */
        background: rgba(67, 105, 171, 0.7);
        padding: 10px;
    }
}

/* FOOTER */
footer {
    height: 150px;
    width: 100%;
}

#footer-divider {
    height: 6px;
    width: 100%;
    border: 0;
    padding: 0;
    margin-top: 45px;
    background: url("../img/layout/divider.png") repeat-x;
}

#footer-content {
    height: 40px;
    width: 100%;
    margin-top: 50px;
    background-color: #4369AB;
    color: white;
}

.footer-link {
    color: white;
}

.footer-link:hover,
.footer-link:focus {
    color: white;
}

@media (max-width: 992px) {
    footer {
        height: 200px;
    }

    #footer-content {
        margin-top: 55px;
        height: 68px;
    }
}

@media (max-width: 768px) {
    footer {
        height: 250px;
    }

    #footer-content {
        padding-top: 10px;
        height: 150px;
    }
}
