/*
Theme Name:     Sterling Child Theme
Theme URI:      http://themeforest.net/user/TrueThemes?ref=TrueThemes
Description:    Child theme for Sterling 
Author:         TrueThemes
Author URI:     http://themeforest.net/user/TrueThemes?ref=TrueThemes
Template:       Sterling
Version:        1.0
*/

@import url("../Sterling/style.css");


/* ------- Insert custom styles below this line ------- */
nav {
    right:4% !important;
}

ul#menu-main-nav li:nth-child(3) ul    {
    width:155px !important;
}

ul#menu-main-nav li a {
    font-size:17px !important;
    font-weight:bold !important;
}
ul#menu-main-nav li ul li a {
    font-size:13px !important;
    font-weight:normal !important;
}

.subnav ul li {
    font-size:15px !important;
    font-weight:bold !important;
}


#responsive.menu,#click-menu {
    display:none\0/ !important; /* IE 8-9 MENU FIX */
}


h1 {
    color:black !important;
    font-size:2em;
    line-height:1.3em;
}

h2 {
    font-size:1.7em;
    line-height:1;
}

h3 {
    font-size:1.4em !important;
    color:black !important;
}

h4 {
    font-size:1em;
    color:black !important;
}

h5 {
    color:red !important;
}





.home-slider-post .one_half h1 {
    font-size:2.5em !important;
    line-height:1.1em !important;
    color:white !important;
    font-weight:normal !important;
}

.home-slider-post .one_half a:hover {
    color:white;
    text-decoration:none;
}

.home-slider-post .one_half h2 {
    font-size:2em !important;
    line-height:1.1em !important;
    color:white !important;
    font-weight:normal !important;
}

h1.underline,
.home-bottom h1 {
    border-bottom:2px solid #cc0000 !important;
}

.home-vertical-sidebar .sidebar-widget p.widget-heading,
.sidebarbox a h2,
h3.widget-title {
    font-size:1.8em !important;
    border-bottom:2px solid #cc0000 !important;
    margin-right:30px;
}

.article_preview {
    font-size:1em !important;
}
.article_preview p {
    margin:0;
    padding-top: 4px !important;
}

.article_preview p::before {
display:none;
}

@media screen and (max-width: 1000px) {
    .article_preview strong a {
        background-position: 0 -673px;
        background:none;
        padding: 2px 0 2px 0px;
        line-height:1.3em;
    }
    .article_preview p {
        padding-left:0px;
    }
}

.home-alert-box {
    background:#f7f7f7;
    margin:0 0 20px -20px;
    padding:20px;
    border:1px solid #666666;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px; /* future proofing */
    -khtml-border-radius: 6px; /* for old Konqueror browsers */
    -moz-box-shadow:    2px 2px 5px 0px #ccc;
    -webkit-box-shadow: 2px 2px 5px 0px #ccc;
    box-shadow:         2px 2px 5px 0px #ccc;
}

home-bottom {
    background:#f7f7f7;
    margin:2% 0 0 0;
}


.sidebarbox {
    margin:10px 30px 10px 26px;
    float:left;
    width:90%;
}

.dial911 {
    color:red;
    background:white;
    width:auto;
    padding:3px;
    text-align:center;
}

.sidebarbox h2 {
    color:#237fd6;
    font-family: 'Lato',sans-serif;
    font-size:1.6em;
}

a.sidebarbox-link {
    background:url(/images/subbox_arrow.png) no-repeat;
    display:block;
    width:48px;
    height:56px;
}

.sidebarbox-margin {
    margin:4%;
}

/* ------- NEWS ------- */
article {
    font-size: 13px;
    margin-bottom: 0 !important;
}

article .img-frame {
    background:none;

}

/* ------- FEatured image on post ------- */
.blog-frame img {
    width:auto !important;

}



.blog-main-preview {
    margin-bottom: 4% !important;
    clear:both;
}

.footerform input {
    width:200px !important;
    color:#005C26;
    padding:5px;
    margin-top:10px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px; /* future proofing */
    -khtml-border-radius: 4px; /* for old Konqueror browsers */
}

.footerform input.wpcf7-submit {
    width:100px !important;
    background:#0D5696;
    border:1px solid #666666;
    color:white !important;
}

::-webkit-input-placeholder {
    color: #333333 !important;
}

:-moz-placeholder { /* Firefox 18- */
    color: #333333 !important;
}

::-moz-placeholder {  /* Firefox 19+ */
    color: #333333 !important;
}

:-ms-input-placeholder {
    color: #333333 !important;
}





/* ------- mobilemenu at 800 wide ------- */

@media screen and (max-width: 860px) {

    nav {
        right:0 !important;
    }

    ul#menu-main-nav li ul.sub-menu  {
        background:red;
        margin-left:-1000px;
        display:none !important;
    }
}


@media screen and (max-width: 800px) {

    ul#menu-main-nav {
        display:none;
    }

    header {
        padding:3px auto 0px auto  !important;
        height:auto !important;
        height:70px;
    }

    .companyIdentity img {
        width:280px;
        height:auto;
    }

    aside.top-aside,
    nav,
    #banner-search,
    aside.subnav_cont
    {
        display:none !important;
    }

    .page_content_right {
        width:100% !important;
    }

    .home-alert-box {
        margin-left:0  !important;
    }


}


@media screen and (max-width: 480px) {

    header {
        padding:1px auto 0px auto  !important;
        height:auto !important;
        height:44px !important;
    }

    .companyIdentity img {
        width:200px !important;
        height:auto;
        margin-left:-20% !important;
    }

    aside.top-aside {
        display:none;
    }

    .img-frame {
        display:none !important;
    }

    .home-slider-post {
        margin-top:0  !important;
    }

    .home-slider-post .one_half  h1 {
        font-size:2em !important;
    }

    .home-slider-post .one_half h2 {
        font-size:1.6em !important;
    }
}

/* ------- NEW STYLES 2021 ------- */

.jobbanner {
    text-align:center;
    padding-top:10px !important;
    box-shadow: 0 0 28px rgba(0,0,0,0.8);
    background-color: rgba(0,0,0,0.4);
    display:inline-block;
    margin-left:auto !important;
    margin-right:auto !important;
    padding:40px 30px 20px 30px;
    border-radius:40px;
}

.jobbanner a {
    color:#0070B3;
    font-size:20px;
    background:white;
    padding:10px 20px;
    border-radius:5px;
    text-decoration:none;
}

.jobbanner h1  {
    color:white !important;
    font-size:40px !important;
    font-weight:700 !important;

}
.jobbanner h4 {
    color:white !important;
    font-size:20px !important;
    text-shadow: 0 0 38px black;
}


/* JOB PAGE BANNER */

.home-lightbox-banner-content {
    position:relative !important;
    right:Auto;
    left:auto;
    text-align:center;
}

.hero-wrap {
    background:none;
    padding-bottom:0 !important;
}

@media screen and (max-width: 950px) {
    .hero-wrap {
        width:64%;
    }
    .home-lightbox-banner-content {
        left:auto;
        top:100px !important;
    }
}

.slideshow_content {
    box-shadow: 5px 5px 15px #666666;
}

ul.hiring-process {
    margin-top:-20px;
}

ul.hiring-process li {
    font-size:20px;
    color:#333333;
}

#sp-ea-3228 h3.ea-header a {
    color:#333333 !important;
    font-size:16px !important;
}

a.mybutton,a:hover.mybutton  {
    color:white;
    font-size:20px;
    background:#0070B3;
    padding:10px 20px;
    margin-top:20px;
    border-radius:5px;
    text-decoration:none;
    display:inline-block;
}

body.page-template-page-template-home-lightbox #content-container {
    //background:#f4f4f4;
}

.job-benefits {
    background:white;
    padding:20px;
    border: 1px solid #0070B3;
    border-radius:5px;
}

.why-serve  {
    color:white;
    background-color:#0070B3;
}

.why-serve * {
    color:white !important;
}

.tophalf {
    padding:20px;
}

.ea-body p,.ea-body ul  {
    font-size:15px !important;
}