.site-header {
    background: none repeat scroll 0 0 #00529b;
    border-bottom: 5px solid #034785;
    border-top: 2px solid #dbe2e8;
    display: block;
}
.site-header .container {
    background: url(../images/header_inner.jpg) no-repeat scroll 0 bottom
        #01539b;
    padding: 0 15px 0 15px;
}

#logo {
    padding: 5px 0 5px 0;
}

#login {
    border-radius: 0 0 15px 15px;
    padding: 0 10px 0 0;
}
#login h1 {
    display: block;
    float: left;
    font-family: "Lato", sans-serif;
    font-size: 1.28em;
    font-weight: 500;
    line-height: 100%;
    margin: 0;
    padding: 8px 0;
    text-align: center;
    width: 100%;
}

#login h1 a {
    color: #2c2c2c;
    text-decoration: none;
}
#login .login_left {
    background: none repeat scroll 0 0 #dbe2e8;
    border-radius: 0 0 0 15px;
}
#login .login_middle {
    background: none repeat scroll 0 0 #f58025;
}
#login .login_right {
    background: none repeat scroll 0 0 #dbe2e8;
    border-radius: 0 0 15px 0;
}
#login .login_left h1:before {
    /* content: url(../images/spade_black.png) "  "; */
    /* padding-right: 5px; */
}

.site-navigation {
    background: url(../images/nav_bg.jpg) repeat-x scroll 0 bottom #9dcd5c;
    border-bottom: 1px solid #f3f3f3;
    clear: both;
    display: block;
    margin-bottom: 0;
}
.site-navigation .container {
    padding: 0px;
}
.site-navigation .container .row {
    margin: 0px;
}

/* nav bar defaults overide */

.navbar-default {
    background: none;
    border: medium none;
    margin-bottom: 0px;
}
.navbar-default .navbar-nav > li > a {
    background: url(../images/inner_shadow.png) repeat-y scroll 0 center
        transparent;
    color: #1f4007;
    font-size: 1.28em;
    font-weight: 600;
    letter-spacing: 0.25px;
    text-shadow: 0 1.45px 1px #d1eeac;
}
.navbar-default .navbar-nav > li.no-bg > a {
    background: none;
}
/*hover state */
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    background-color: #84b83d;
    color: #1f4007;
}

/*toggle state */
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
    background-color: #84b83d;
    color: #555555;
}

.sidebar .navbar-header {
    background: url(../images/suited_pattern.jpg) repeat scroll 0 0 #00529b;
    margin: 0;
    width: 100%;
    padding: 0;
}

.sidebar .page-title {
    color: #ffffff;
    display: block;
    font-size: 1.5em;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin: 0;
    padding: 5%;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    word-wrap: normal;
}
.sidebar .page-title a {
    color: #ffffff;
}
#navmenu {
    background: url(../images/sidebar_top.png) no-repeat scroll right top
        transparent;
    padding: 15px 15px 0;
}

#menu-main-menu {
    list-style: none outside none;
    margin-bottom: 0;
    padding-left: 0;
}

#menu-main-menu > li {
    border-bottom: 1px solid #ececec;
    display: block;
    position: relative;
    word-break: normal;
}

#menu-main-menu li a {
    color: #5b5b5b;
    display: block;
    font-size: 1em;
    font-family: Lato, sans-serif;
    font-weight: 500;
    line-height: 130%;
    padding: 12px 0;
}

.sidebar #navmenu #menu-main-menu li .treeview-menu {
    border-left: 3px solid #cccccc;
    list-style: none outside none;
    margin: 0;
    padding: 0 0 0.25em 0.75em;
}

h3.contact {
    font-size: 1em;
    font-weight: 500;
    margin: 0;
}

h3.contact a {
    background: url(../images/contact_icon.png) no-repeat scroll 0 center transparent;
    color: #5B5B5B;
    padding: 15px 0 15px 40px;
    display: block;
}

.social_media ul {
    list-style: none outside none;
    margin: 5px 0;
    padding: 0;
}

.social_media ul li a.twitter {
    background: url(../images/twitter.png) no-repeat scroll 0 0 transparent;
}

.social_media ul li a {
    background: url(../images/facebook.png) no-repeat scroll 0 0 transparent;
    display: block;
    float: left;
    height: 30px;
    margin-right: 2px;
    text-indent: -9999em;
    width: 30px;
}

.social_media ul li a.instagram {
    background: url(../images/instagram.png) no-repeat scroll 0 0 transparent;
}

.social_media ul li a.youtube {
    background: url(../images/youtube.png) no-repeat scroll 0 0 transparent;
}

#footer_stripe {
    position: relative;
    background: url(../images/footer_stripe_bg.png) repeat-x scroll center bottom
        transparent;
    clear: both;
    height: auto;
    margin: 90px 0 5px;
    overflow: visible;
    width: 100%;
}

#footer_stripe a {
    display: block;
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: 0px;
    width: 516px;
    height: 64px;
    margin-left: -258px;
}

#footer_stripe img {
    display: block;
    margin: 4px auto 0;
    position: relative;
    width: auto;
    margin-top: -48px;
}

#main_footer {
    background: url(../images/leather.jpg) repeat scroll 0 0 #000000;
    box-shadow: 0 60px 45px -45px #000000 inset;
    display: block;
}

#footer-main-menu {
    list-style: none outside none;
    margin: 2em 0;
    overflow: hidden;
    padding: 0;
}

#footer-main-menu li {
    display: block;
    float: left;
    margin: 0 1%;
    text-transform: uppercase;
    width: 18%;
    font-size: 1.25em;
}

#footer-main-menu a {
    color: #fff;
}

#footer-main-menu li a {
    border-bottom: 1px solid #ffffff;
    display: block;
    padding-bottom: 3px;
    margin-bottom: 5px;
}

#footer-main-menu li .sub-menu {
    float: left;
    margin-top: 4px;
    padding: 0;
}

#footer-main-menu li .sub-menu li {
    font-size: 0.85em;
    list-style: none outside none;
    text-transform: none;
    border: medium none;
    width: 100%;
}

#footer-main-menu li .sub-menu li a {
    border: medium none;
    color: #c8c8c8;
    padding: 0;
}

footer .privacy a {
    color: #ff6666 !important;
}

#footer-main-menu li .sub-menu li.privacy a:hover {
	color:#ff9999 !important;
}

#login .row {
    flex-wrap: nowrap;
}

@media (min-width: 1904px) {
    header .container, footer .container {
        width: 1170px;
    }
}

@media (max-width: 959px) {
    .navbar-default .navbar-nav > li > a {
        font-size: 0.875em;
    }
    #home_slider .metaslider .caption-wrap {
        width: 100%;
        left: 0;
    }
    .module-archives ul.archives li a:after {
        content: "";
    }
    .archive-search,
    .main-content-inner h1.page-title.news {
        float: none;
        clear: both;
        margin: 0;
        width: 100%;
    }
    .archive-search {
        margin: 10px 0;
    }
    #login .login_left h1:before {
    }
}

/*Iphones*/
@media (max-width: 767px) {
    .sidebar #search {
        display: none !important;
    }
    div.top_btn {
        bottom: 0;
        left: 0;
        padding: 15px;
        position: absolute;
        text-align: center;
        width: 100%;
        z-index: 99999;
    }
    .site-header .container {
        background: url(../images/header_inner_gd.jpg) repeat-x scroll 0 bottom
            #01539b;
        width: 100%;
    }
    .sidebar-padder {
        border-top: 7px solid #f7f7f7;
        padding-top: 25px;
    }
    .navbar-default .navbar-nav > li > a,
    .navbar-default .navbar-nav > li.no-bg > a {
        background: url("images/inner_shadow_vert.png") repeat-x scroll 0 bottom
            transparent;
        font-size: 1.25em;
        border-bottom: solid 1px #b3dd7d;
    }
    .navbar-default .navbar-nav > li.last > a {
        background: none;
        border-bottom: medium none;
    }

    .site-navigation-inner {
        padding: 0 !important;
    }
    #main-menu {
        margin: 0;
    }
    .main-content-inner {
        padding-left: 15px;
    }

    .navbar-collapse {
        border-top: solid 1px #b3dd7d;
        box-shadow: none;
        padding: 0px;
    }
}