/* Based on bootstrap */
@import url('bootstrap.min.css');
/* Slide show */
@import url('carousel.css');

@import url(https://fonts.googleapis.com/css?family=Lato:100,900,700italic,300,400,100italic,300italic,700);
@import url(https://fonts.googleapis.com/css?family=Muli:400,300,300italic,400italic);

body {
    height: 100%;
}
/*overwrite bootstrap*/
.navbar {
    background: #fff;
    margin-bottom: 0px;
    border-top: 0px solid transparent;
}

.navbar-brand {
    padding-left: 67px;
}

.navbar-collapse :last-child.navbar-right.navbar-nav {
    margin-top: 54px;
}

.navbar-collapse :last-child.navbar-right.navbar-nav {
    margin-right: 0px;
}

.navbar-default {
    border-bottom: none;
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
    background-color: #fff;
}

/*index*/
.index-last {
    width: 100%;
    margin-top: 20px;
    min-height: 260px;
    background: #9D8732;
    margin: auto;
    padding-left: 115px;
}

.index-last div[class='container'] {
    min-height: 220px;
}

.index-last h1 {
    color: #fff;
    font-size: 2.1em;
}

.index-last h1 + ul li, .index-last h1 + ul li a {
    color: #fff;
    margin-top: 6px;
    font-size: 1.1em;
}

.index-last ul li span {
    color: #fff;
    margin-top: 6px;
    font-size: 1.1em;
}

footer {
    padding-top: 10px;
    padding-left: 115px;
    font-size: 0.8em;
}

#content {
    padding-top: 10px;
    padding-left: 118px;
}

hr {
    display: none;
}

.page-header {
    border-bottom: 0px;
}

.page-header h1 {
    display: none;
}

.content-item header {
    display: none;
}

.search-results .content-item {
    padding-right: 0px;
}

.search-results .content-item header {
    display: block;
}

.search-results .content-item header .metadata {
    display: none;
}

.content-item {
    font-size: 1.1em;
    padding-bottom: 30px;
    padding-right: 90px;
    margin-right: -18px;
}


.blog-post header {
    display: block;
}

.blog-post header h2 a {
    color: black;
}

.blog-post {
    padding-bottom: 10px;
    padding-top: 0px;
}

.blog {
    padding-right: 5px;
    padding-top: 0px;
    font-size: 1em;
}

.col-md-8 {
    padding-bottom: 30px;
    font-size: 1.1em;
    font-weight: normal;
    color: #999;
    padding-left: 0px;
}

.col-md-8 .col-md-offset-1 {
    padding-bottom: 20px;
    font-size: 1.1em;
    font-weight: normal;
    color: #999;
}

.col-md-offset-1 {
    margin-left: 0px;
}

.col-md-8 .col-md-offset-1:last-child {
    padding-bottom: 60px;
}

.carousel-indicators {
    text-align: left;
    padding-left: 5px;
    margin-left: -33%;
}

.carousel-text {
    z-index: 8;
    left: 14%;
    padding-bottom: 180px;
    bottom: 20px;
    box-sizing: border-box;
    display: block;
    position: absolute;
    margin-top: 5px;
}

.slide-row {
    margin: 0px;
}

.slide-row .row {
    margin-left: -15px;
    margin-right: 0px;
}

.slide-row .row .col-lg-12 {
    padding-right: 0px;
}

.search-nav {
    width: 133px;
}

.search-nav input {
}

#contactdiv {
    background: url(/Media/Default/System/Contact/contact_bg.png);
    background-size: contain;
    height: 340px;
    display: block;
    margin-right: 0px;
}

#contactdivB {
    display: none;
    margin-right: 0px;
}

.content-text {
    /*color: rgb(153, 153, 153);*/
    float: left;
    /*font-size: 1.2em;*/
    font-size: 1.2em;
    font-weight: normal;
}

.zone-before-main {
    padding-bottom: 0px;
    margin-left: 60px;
    margin-right: 40px;
}

.widget-before-main .contact-input-area {
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat-x: initial;
    background-repeat-y: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: rgb(247, 247, 247);
    color: black;
}

#content {
    margin-right: 0px;
}

.nav li {
    margin-left: 2.2pt;
}

.alert-info {
    margin-right: 40px;
    margin-left: 60px;
}

.dropdown-menu {
    margin-top: 0px;
}

h1 {
    font-family: 'Muli', sans-serif;
    font-size: 24pt;
}

h2 {
    font-family: 'Lato', sans-serif;
    font-size: 20pt;
}

h3 {
    font-family: 'Muli', sans-serif;
    font-size: 18pt;
}

h4 {
    font-family: 'Lato', sans-serif;
    font-size: 16pt;
}

.lato-normal {
    font-family: "Lato", sans-serif;
    font-size: 14pt;
}

.lato-small {
    font-family: "Lato", sans-serif;
    font-size: 12pt;
}

.muli-normal {
    font-family: "Muli", sans-serif;
    font-size: 14pt;
}

.muli-small {
    font-family: "Muli", sans-serif;
    font-size: 12pt;
}

.muli-quote-gray {
    font-family: "Muli", sans-serif;
    font-size: 14pt;
    font-weight: bold;
    color: #999;
}

.muli-quote-black {
    font-family: "Muli", sans-serif;
    font-size: 14pt;
}

.col-md-4 img {
    width: 100%;
}

.carousel {
    height: 500px;
    margin-bottom: 8px;
}

.carousel-inner > .item > img {
    min-height: 10%;
}

.carousel-inner > .item > a > img {
    min-height: 10%;
}

.open-hover {
    color: #555;
    background-color: #e7e7e7;
}

.navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
    background-color: #e7e7e7;
}

.well-sm {
    padding: 1px;
    border-radius: 3px;
}

.well {
    min-height: 20px;
    padding: 1px;
    margin-bottom: 15px;
    background-color: white;
    border: 0px solid #e3e3e3;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 0px 0px rgba(0,0,0,0.05);
    box-shadow: inset 0 0px 0px rgba(0,0,0,0.05);
}

.metadata {
    color: #ADADAD;
}

.tags a {
    color: #ADADAD;
    text-decoration: underline;
}

@media (min-width: 768px) {
    .social-images {
        margin-top: -31px;
        width: 133px;
        margin-left: 16px;
        margin-bottom: 0px;
        text-align: right;
    }

    .carousel-text {
        font-size: 20pt;
        right: 50%;
    }

    .col-md-4 {
        width: 33.33333333333333%;
    }

    .col-md-4 img {
        width: 100%;
    }
}

@media (max-width:1280px) {
    .navbar-collapse :last-child.navbar-right.navbar-nav {
        margin-right: 5px;
    }
}

@media (max-width: 1186px) {
    .content-item {
        padding-right: 0px;
    }

    .social-images {
        margin-top: -33px;
        margin-left: 30px;
        text-align: left;
    }

    .search-nav {
        margin-left: 15px;
    }

    .carousel-text {
        font-size: 18pt;
        right: 30%;
    }

    #content {
        margin-left: -20px;
        padding-left: 20px;
        padding-right: 24px;
    }

    .navbar-collapse :last-child.navbar-right.navbar-nav {
        margin-top: 40px;
        margin-right: -29px;
    }

    .navbar-brand {
        padding-left: 0px;
    }

    .img-responsive {
        max-width: 80%;
    }

    footer, .index-last {
        padding-left: 0px;
    }

    .index-last {
        padding-left: 1px;
    }

    .carousel {
        height: 470px;
    }

    .carousel .item {
        height: 470px;
    }
}

@media (max-width: 1136px) {
    .col-md-offset-2 {
        margin-left: 0px;
    }
}

@media (max-width: 1024px) {
    .navbar-collapse :last-child.navbar-right.navbar-nav {
        margin-right: -27px;
        margin-top: 40px;
    }

    .col-md-offset-2 {
        margin-left: 0px;
    }

    .carousel {
        height: 450px;
    }

    .carousel .item {
        height: 450px;
    }
}

@media (max-width: 970px) {
    .social-images {
        margin-top: -33px;
        margin-left: 30px;
        text-align: left;
    }

    .img-responsive {
        max-width: 80%;
    }

    .search-nav {
        margin-left: 10px;
    }

    .navbar-collapse :last-child.navbar-right.navbar-nav {
        margin-top: -50px;
        margin-right: -90px;
    }

    .nav > li > a {
        padding-left: 5px;
        padding-right: 5px;
    }

    #contactdiv {
        height: 580px;
        background: url(/Media/Default/System/Contact/contact_bg.png);
        background-size: contain;
        background-repeat: repeat;
        display: block;
    }

    .widget-before-main textarea {
        margin-top: 20px;
    }

    .widget-before-main h1 {
        font-size: x-large;
    }

    .carousel {
        height: 420px;
    }

    .carousel .item {
        height: 420px;
    }
}

@media (max-width: 900px) {
    .search-nav {
        margin-left: -15px;
    }

    .social-images {
        margin-top: -33px;
        margin-left: 0px;
        text-align: left;
    }

    .navbar-collapse :last-child.navbar-right.navbar-nav {
        margin-top: -50px;
        margin-right: -30px;
    }
}

@media (max-width: 853px) {
    .social-images {
        margin-top: -33px;
        margin-left: 0px;
        text-align: left;
    }

    .img-responsive {
        max-width: 80%;
    }

    .carousel {
        height: 390px;
    }

    .carousel .item {
        height: 390px;
    }
}

@media (max-width: 768px) {
    .social-images {
        margin-top: -33px;
        margin-left: 0px;
        text-align: left;
    }

    .img-responsive {
        max-width: 80%;
    }

    .carousel {
        height: 350px;
    }

    .carousel .item {
        height: 350px;
    }
}

@media (max-width: 767px) {
    .navbar-toggle {
        margin-top: 30px;
    }
}

@media (max-width: 720px) {
    .navbar-toggle {
        margin-top: 30px;
    }

    .navbar-collapse :last-child.navbar-right.navbar-nav {
        margin-top: 0px;
        margin-right: 0px;
        margin-bottom: -20px;
    }

    .search-nav {
        margin-left: 3px;
    }

    .social-images {
        margin-top: 0px;
        margin-left: 3px;
    }

    .navbar-default .navbar-collapse, .navbar-default .navbar-form {
        border: 0px;
        -webkit-box-shadow: inset 0 0px 0 rgba(255,255,255,0.1),0 0px 0 rgba(255,255,255,0.1);
        box-shadow: inset 0 0px 0 rgba(255,255,255,0.1),0 0px 0 rgba(255,255,255,0.1);
    }
}

@media (max-width: 540px) {
    .navbar-toggle {
        margin-top: 40px;
    }

    .navbar-collapse :last-child.navbar-right.navbar-nav {
        margin-top: 0px;
        margin-right: 0px;
        margin-bottom: -20px;
    }

    .search-nav {
        margin-left: 3px;
    }

    .social-images {
        margin-top: 0px;
        margin-left: 3px;
    }

    .navbar-default .navbar-collapse, .navbar-default .navbar-form {
        border: 0px;
        -webkit-box-shadow: inset 0 0px 0 rgba(255,255,255,0.1),0 0px 0 rgba(255,255,255,0.1);
        box-shadow: inset 0 0px 0 rgba(255,255,255,0.1),0 0px 0 rgba(255,255,255,0.1);
    }

    .carousel {
        height: 260px;
    }

    .carousel .item {
        height: 260px;
    }
}

@media (max-width: 480px) {
    .carousel-text {
        font-size: 16pt;
        right: 10%;
    }

    .navbar-toggle {
        margin-top: 30px;
    }

    .img-responsive {
        max-width: 70%;
    }

    .carousel {
        height: 240px;
    }

    .carousel .item {
        height: 240px;
    }
}

@media (max-width: 420px) {
    .navbar-toggle {
        margin-top: -50px;
    }
}


@media (max-width: 360px) {
    .carousel-text {
        font-size: 16pt;
        right: 10%;
    }

    .navbar-toggle {
        margin-top: -50px;
    }

    .img-responsive {
        max-width: 70%;
    }

    .content-item img {
        width: 100%;
    }

    .carousel {
        height: 180px;
    }

    .carousel .item {
        height: 180px;
    }
    .blog .pull-right {
        float: none!important;
        display: inline-block;
    }
}

@media (min-width:768px) {
    .navbar-right .dropdown-menu {
        left: 0;
        right: auto;
    }
}

.metadata .tags {
    display: none;
}
