#header #topNav {
    max-width: 1170px;
    width: 100%;
    min-height: 45px !important;
    height: auto;
    /*line-height: 50px !important;*/
    margin: 6px 0 0 0px;
    /*max-height: 70px;*/
    position: relative;
    left: 0;
    top: 0;
    right: 0;
    z-index: 1000;
    background-color: #145374;
    border-top: rgba(248,249,249,0.50) 1px solid;
    border-bottom: rgba(0,146,191,0.90) 1px solid;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 2px;
}




#header .Subtitle {
    margin: 20px 0 0 250px;
    color: #fff;
    padding: 5px 0 0 0;
    width: 100%;
}

#header .Subtitle2 {
    margin: 0 0 0 250px;
    color: #fff;
    padding: 5px 0 0 0;
    width: 100%;
}

#header .Subtitle3 {
    margin: 20px 0 0 120px;
    color: #fff;
    padding: 5px 0 0 0;
    width: 100%;
}

#header .Subtitle4 {
    margin: 0 0 0 120px;
    color: #fff;
    padding: 5px 0 0 0;
    width: 100%;
}




#header .logosub1 {
   /* position: absolute !important;*/
    margin: 0px 10px 0 0px !important;
    width: 65px;
    height: 65px;
    float: right !important;
    background-repeat: no-repeat;
    z-index: 999;
}
#header .logosub2 {
    margin: 0px 30px 0 0px !important;
    width: 30px !important;
    height: 30px !important;
    background-repeat: no-repeat;
}
#header .logosub2 img {
    
    width: 50px !important;
    height: 50px !important;
 
}
#topMain > li > a {
    height: 34px;
    line-height: 34px;
    font-family: "PFDreg", Calibri;
    letter-spacing: 1.2px;
    min-width: 50px;
    width: 100%;
    /*float:left;*/
}



#topMain.nav-pills > li > a {
    color: #ffffff;
    font-weight: 400;
    background-color: transparent;
}

#topMain.nav-pills > li:hover > a,
#topMain.nav-pills > li:focus > a {
    color: #0092BF;
    background-color: rgba(0,0,0,0.03);
}

#topMain.nav-pills > li.active > a {
    color: #0092BF;
}

#topMain.nav-pills > li > a.dropdown-toggle {
    padding-right: 28px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

    #topMain.nav-pills > li > a.dropdown-toggle:after {
        display: block;
        /*content: "\f107";*/
        content: "\f0d7";
        position: absolute;
        top: 50%;
        right: 10px;
        margin: -11px 0 0 0;
        font-family: FontAwesome;
        font-size: 20px;
        line-height: 1em;
        -webkit-transition: -webkit-transform .2s ease-in;
        -moz-transition: -moz-transform .2s ease-in;
        -ms-transition: -ms-transform .2s ease-in;
        -o-transition: -o-transform .2s ease-in;
        transition: transform .2s ease-in;
    }

#header.bottom.dropup #topMain.nav-pills > li > a.dropdown-toggle:after {
    content: "\f106";
}

#topNav {
    max-width: 1010px;
    float: left;
    margin-left: 60px;
   
}

    #topNav .navbar-collapse {
        float: left;
        margin-left: -18px;
    }

    #topNav a.logo {
        height: 96px;
        line-height: 96px;
        overflow: hidden;
        display: inline-block;
    }



@media only screen and (max-width: 1215px) {
    #topMain.nav-pills > li > a {
        font-size: 13px;
    }

    #topMain > li > a {
        height: 96px;
        line-height: 50px;
        font-family: "PFDreg", Calibri;
        letter-spacing: 1.2px;
        min-width: 197px;
        width: 100%;
        /*float:left;*/
    }
}

@media only screen and (max-width: 1198px) {
    #topMain > li > a {
        height: 96px;
        line-height: 50px;
        font-family: "PFDreg", Calibri;
        letter-spacing: 1.2px;
        min-width: 180px;
        width: 100%;
        /*float:left;*/
    }
}

@media only screen and (max-width: 1127px) {
    #topMain > li > a {
        height: 96px;
        line-height: 50px;
        font-family: "PFDreg", Calibri;
        letter-spacing: 1.2px;
        min-width: 175px;
        width: 100%;
        /*float:left;*/
    }
}

@media only screen and (max-width: 1108px) {
    #topMain > li > a {
        height: 96px;
        line-height: 50px;
        font-family: "PFDreg", Calibri;
        letter-spacing: 1.2px;
        min-width: 160px;
        width: 100%;
        /*float:left;*/
    }
}

@media only screen and (max-width: 1048px) {
    #topMain > li > a {
        height: 96px;
        line-height: 50px;
        font-family: "PFDreg", Calibri;
        letter-spacing: 1.2px;
        min-width: 146px;
        width: 100%;
        /*float:left;*/
    }
}



@media only screen and (max-width: 1024px) {
    #header #topNav {
        max-width: 1170px;
        width: 100%;
        margin: 6px 0 0 0px;
        /*max-height: 70px;*/
        position: relative;
        padding: 0;
        background-color: #004A6A;
        border-top: rgba(248,249,249,0.50) 1px solid;
        border-bottom: rgba(0,146,191,0.90) 1px solid;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 2px;
    }
   .slidertop {
        margin: 67px 0 0 0;
    }
    #header .Subtitle {
        margin: 2px 0 0 50px;
        color: #fff;
        padding: 2px 15px 0;
        width: 100%;
        font-size: 15px !important;
    }

 
    #header .Subtitle2 {
        position:absolute !important;
        margin: 0px 0 0 60px !important;
        color: #fff;
        padding: 0px 5px !important;
        width: 70%;
        font-size: 15px !important;
        line-height:-50px !important;
        height:20px !important;
    }
    #header .Subtitle2 span{
        line-height:-50px !important;
        height:0px !important;
    }

      #header .Subtitle3 {
        margin: 15px 0 0 100px;
        color: #fff;
        padding: 2px 5px 0;
        width: 100%;
        font-size: 16px !important;
    }

 
    #header .Subtitle4 {
        position:absolute !important;
        margin: 10px 0 0 100px !important;
        color: #fff;
        padding: 0px 5px !important;
        width: 70%;
        font-size: 17px !important;
        line-height:20px !important;
        height:20px !important;
    }
        #header .Subtitle4 span {
            line-height: 20px !important;
            height: 0px !important;
        }
    #header #topNav a.logo {
        height: 60px !important;
        line-height: 50px !important;
    }

        #header #topNav a.logo > img {
            max-height: 60px !important;
        }

    #header #topNav #topMain > li > a {
        height: 40px !important;
        line-height: 40px !important;
        padding-top: 0;
        font-size: 16px;
        font-weight: 500;
        color: #004A6A !important;
        text-transform: uppercase;
    }


    #topMain > li {
        border-bottom: rgba(0,0,0,0.1) 1px solid;
    }

        #topMain > li:last-child {
            border-bottom: 0;
        }

    #header li.search .search-box {
        margin: 0 !important;
        position: fixed;
        left: 0;
        right: 0;
        top: 60px !important;
        width: 100%;
        background-color: #fff;
        border-top: rgba(0,0,0,0.1) 1px solid;
    }
}
