﻿/*Navigation header*/
.gsc-control-cse {
    padding: 0px !important;
}

.gsc-search-button {
    margin-left: 0px !important;
}

.gsc-search-button-v2 {
    padding: 15px 10px !important;
    background-color: #2f74a4 !important;
    border-left: none !important;
    height: 40px !important;
    border-top-right-radius: 5px !important;
    border-bottom-right-radius: 5px !important;
}

.gsc-input {
    padding-right: 0px !important;
}

.gsc-input-box {
    padding: 5px 8px !important;
}

.gsc-webResult {
    text-align: left;
}

.logo {
    float: left;
    padding-bottom: 5px;
    padding-top: 5px;
    padding-right: 15px;
    margin-top: 5px;
    margin-bottom: 5px;
}

section.page-title {
    background: #f7f7f7; /* Old browsers */
    background: -moz-linear-gradient(-45deg, #f7f7f7 0%, #f7f7f7 18%, #54a3ee 77%, #54a3ee 77%, #3690f0 78%, #146794 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg, #f7f7f7 0%,#f7f7f7 18%,#54a3ee 77%,#54a3ee 77%,#3690f0 78%,#146794 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg, #f7f7f7 0%,#f7f7f7 18%,#54a3ee 77%,#54a3ee 77%,#3690f0 78%,#146794 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    padding-top: 20px;
    padding-bottom: 20px;
}

    section.page-title > .container {
        max-width: 95%;
        width: 95%;
    }

.snco-page-title {
    line-height: 30px;
    margin-bottom: 0;
    font-size: 2.25em;
}

#topMain .dropdown-menu > li a:hover {
    background-image: none !important;
}


@media(min-width: 1200px) {
    #topNav ul.nav > li.mega-menu > ul {
        max-width: 1000px;
        margin-left: -15px;
        position: absolute;
        top: 100px;
        right: auto;
        left: auto;
    }

        #topNav ul.nav > li.mega-menu > ul.dropdown-menu > li > div.row {
            width: 100%;
        }

    #topNav ul.nav > li a.fat {
        padding: 35px;
    }

    #topNav .search {
        margin-top: 10px !important;
    }

    #topNav > .container-fluid {
        max-width: 95%;
        width: 95%;
    }

    li.dropdown {
        height: 100px;
    }

    section.page-title > .container {
        max-width: 1728px;
    }

    .logo {
        float: left;
        padding-bottom: 5px;
        padding-top: 5px;
        padding-right: 15px;
    }

        .logo > img {
            height: 80px;
        }

    #header-contact-info {
        float: right;
        margin-top: 13px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #topNav ul.nav > li.mega-menu > ul {
        position: absolute;
        top: 100px;
    }

        #topNav ul.nav > li.mega-menu > ul.dropdown-menu > li > div.row {
            width: 100%;
        }

    #topNav .search {
        margin-top: 10px !important;
    }

    li.dropdown {
        height: 100px;
    }


    #topNav ul.nav > li a.fat {
        padding: 35px;
    }

    #topNav > .container-fluid {
        max-width: 95%;
        width: 95%;
    }

    #header-contact-info {
        float: right;
        margin-top: 13px;
    }

    .logo > img {
        height: 80px;
    }
}

@media only screen and (max-width: 991px) {
    #topNav button.btn-mobile {
        margin-top: 14px;
        margin-right: 0px;
        display: inherit;
        float: right;
    }

    #topNav div.nav-main-collapse, #topNav div.nav-main-collapse.in {
        margin: 70px 0 0;
    }

    #topNav .search {
        display: inline-block;
        text-align: left;
        margin-left: auto;
        margin-right: 30px;
        margin-top: 14px;
        min-width: 220px;
        width: 220px;
        float: right;
    }

    .menu-container {
        margin-left: -30px;
        margin-right: -30px;
        min-width: 100%;
    }

    section.page-title {
        padding-left: 20px;
        padding-right: 20px;
    }

    #header-contact-info {
        text-align: center;
    }

    .logo > img {
        height: 50px;
    }
}

@media (min-width: 768px) {
    #topNav .search {
        min-width: 250px;
        max-width: 250px;
    }

        #topNav .search > div > button.icon {
            background-color: #146794;
            padding: 10px;
            top: 0;
            right: 0;
        }
}

@media (max-width: 575px) {
    section.page-title {
        background: #f7f7f7;
        text-align: center;
    }

    #topNav .search {
        min-width: 100%;
        max-width: 100%;
        margin-left: 0px;
        margin-right: 0px;
    }

    #topMain {
        padding-top: 10px;
    }
}


/*Body Content*/
.body-content {
    width: 95%;
    max-width: 1920px;
    background-color: white;
    flex:1 0 auto;
}

@media(min-width: 1200px) {
    .body-content {
        padding: 20px;
        margin-top: 30px;
        margin-bottom: 30px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .body-content {
        padding: 20px;
        margin-top: 25px;
        margin-bottom: 25px;
    }
}

@media (min-width:768px) and (max-width:991px) {
    .body-content {
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

@media (min-width:576px) and (max-width:767px) {
    .body-content {
        margin-top: 15px;
        margin-bottom: 15px;
    }
}

@media (max-width:575px) {
    .body-content {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}


/*Layout Footer*/
#footer {
    width:100%;
    z-index: initial !important;
}
    #footer li, #footer li a {
        line-height: 200%;
        color: #777;
        font-family: Lato;
    }

    #footer h4 {
        padding-bottom: 20px;
    }

#mainFooter {
    padding-bottom: 15px;
    background-color: #2b2b2b;
}

    #mainFooter li:last-child, li:last-child:after {
        border-bottom: none !important;
    }

#subfooter {
    background-color: #252525;
}

    #subfooter a {
        color: #777;
        font-family: Lato;
        line-height: 200%;
    }

        #subfooter a:hover {
            color: #146794;
            text-decoration: none;
        }

@media(min-width: 1200px) {
    #footer-content {
        max-width: 1300px;
        text-align: left;
        float: none;
        display: inline-block;
        margin: 0;
    }
}
