
header#masthead {
    max-width: 100%;
    background-color: #004076;
    padding-bottom: 0rem;
}
header#masthead .stretch {
    max-width: 100%;
    padding-bottom: 15px;

}

@media (max-width: 850px) {
    header#masthead nav ul.menu {
        margin-left: 0.75rem;
    }
}

header#masthead #site-navigation ul li a {
    color: #fff;
}
header#masthead #site-navigation ul li a:hover {
    color: #c9d7e2;
    background-color: transparent!important;
}

header#masthead nav ul.menu>li>a:first-of-type:hover {
    background-color: transparent!important;
}

header#masthead #logo {
    color: #c9d7e2;
    max-width:525px!important;
    margin-left: -1rem;
    margin-top: -0.5rem;
}
#st-search-form-input {
    width: 140px;
}
.trending-links {
    width:100%;
    background-color: #cdcdd3;
    margin: 0 auto auto auto;
}

.trending-links li {
    color: #004076;
}

.trending-links li a {
    color: #004076;
}

.site-branding span {
    color: #c9d7e2;
    display: block;
    font-size: 2rem;
    margin-top: -0.75rem;
}

.site-search .social .mdi {
    color: #fff;
}

.site-search [class*="facebook"]:hover {
    color: #3b5998;
}

.site-search [class*="twitter"]:hover {
    color: #00aced;
}

.search-wrapper {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
}

.site-search {
    margin-right: 0.5rem;
    width: auto!important;
}

#st-search-form-input {
    background-color: #265C8A;
    border: 1px solid #3b5998;
    color: #fff;
    margin-right: 0.5rem;
}

.search-form input[type='submit'] {
    font: normal normal normal 24px/1 MaterialDesignIcons;
    background-color: transparent;
    text-indent: -1000px;
    background: url(../img/magnify.png) 14px center no-repeat;
    margin-top: 2rem;
    width: 1rem;
    height: 2rem;
    padding: .75em 0 .75em 1.5em;
}

/* footer */

#c4-footer-connect,.connect-footer-menu {
    width: 415px !important;
}
.footer-menu h5 {
   text-transform: uppercase;
}

.issues-footer-menu {
    width: 100%;
    line-height: 1.8rem;
}



/* PR Signup Box*/
.custom-bg.row {
    padding-left: 2%;
}
label[for=Email]{
    width: 300px;
}

/* responsive */
@media (max-width: 850px) {
    header#masthead #site-navigation {
        margin-top: 0px;
    }
}
@media (max-width: 850px){
    .site-search {
    margin-top: 0px!important;
    }
    .search-wrapper {
        float: right!important;
    }
}
@media(min-width: 850px) {
    header#masthead #site-navigation {
        padding-top: 10px;
    }
    .search-wrapper {
        margin-top: 60px;
    }

    }
@media (max-width: 850px) {
    #nav-toggle {
        margin-top: 1rem;
        margin-bottom: 15px;
    }

    .site-branding {
        margin-bottom: 0px;
    }

    .site-search {
        position: absolute;
        top: 115px;
        right: 5px;
        width: 240px!important;
    }
}
@media(max-width: 850px) {
    header#masthead #site-navigation ul li a {
        color: #fff !important;
    }
}
@media screen and (min-width: 850px) {
    header#masthead nav li.menu-item-has-children .mega-menu-contain .sub-menu {
        margin-left: 15px;
        margin-right: auto;
        padding-right: 35px;
    }
    #st-search-form-input {
            margin-top: 0;
    }
}

@media screen and (max-width: 640px) and (min-width: 321px){
    header#masthead #logo {
        margin-left: 0;
    }
    header#masthead .stretch {
        padding-left: 0;
        padding-bottom: 0;
    }
    #copyright .container {
        font-size: .9rem;
        margin-left: 0;
        width: 90%;
    }
}
@media screen and (max-width: 480px) {
    .site-search {
        position: absolute;
        top: 61.5px;
        right: 5px;
        width: 240px!important;
    }
}
@media screen and (max-width: 320px){

    header#masthead .stretch {
        padding-left: 0;
        padding-bottom: 0;
    }

    .site-branding span {
        margin-top:0.5rem;
    }
}
/*trending bar*/
.dragdealer, .dragdealer.active {
    background: #cdcdd3 !important;
    overflow-x: auto;
    overflow-y: hidden;
}
.trending-links {
    margin: 0.2rem 0px auto 0px !important;
    height: 25px;
}
.trending-links li {
    overflow: visible;
}
@media (max-width: 1040px) {

    .handle.trending-links {
        text-align: center;
        width: initial;
    }
}@media (min-width: 1041px) {

    .handle.trending-links {
        text-align: center;
        width: 100%;
    }
}
