/*
 Theme Name:   Divi Child
 Description:  Child theme for Divi
 Template:     Divi
 Version:      1.23
 Text Domain:  divi-child
*/

body, pre { font-family: Calibri,Arial,Verdana; }

/* --- styles from emachineshop.com --- */
a:active, a:hover, a:link, a:visited {
    color: #06c;
    text-decoration: underline;
}

a.et_pb_button {text-decoration:none;}


.MainHeader, h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    padding: 5px 0;
    padding-top: 5px;
    padding-bottom: 5px;
    margin: 0;
    clear: left;
}

h1 {
    font-size: 24px;
    padding-top: 20px;
    padding-bottom: 10px;
    margin:0;
}

h1, h1 a:active, h1 a:hover, h1 a:link, h1 a:visited {
    text-decoration: none;
    color: #252525;
}

h2, h2 a:active, h2 a:hover, h2 a:link, h2 a:visited {
    text-decoration: none;
    color: #252525;
}
h2 {
    font-size: 20px;
    padding-top: 12px;
    padding-bottom: 5px;
}

h4, .gbs3 h4 {
    font-weight: bold !important;
    color: #777 !important;
}

h1.main_title {
    padding: 0 0 20px 0;
    margin: 0;
}
h1.main_title_builder {
    padding: 20px 0;
    margin: 0;
}

h3 {
    font-size: 19px;
    color: #04b;
}

p {
    padding: 10px 0;
    margin: 0;
    text-align: left;
}

p:last-of-type { padding-bottom:inherit;}

#left-area ul, .entry-content ul {
    padding: 15px 0px 15px 1.8em;
    line-height: 26px;
    list-style-type: disc;
}

#left-area ol {
    padding-top:10px; 
    padding-bottom:10px;
    padding-left:10px;
}

#ems-catimg {
    width: 100%;
}

body, input[type="submit"], input[type="reset"], input[type="button"], li, ol, p, td, th, tr {
    font-size: 18px;
    line-height: 26px;
}

ul {
    list-style-image: url("/source/f1183715b4a02ddc4803ac416e665adb/li-serv.png");
}

#main-header .container {
    width: 100%;
    max-width: 1600px;
}

#main-content .container {
    padding-top: 18px;
}


#top-menu  li  {
    padding-right: 30px;
}

@media (max-width: 1400px) {
    #top-menu  li  {
        padding-right: 20px;
    }
}

@media (max-width: 1300px) {
    /*#et-top-navigation, */
    .et_menu_container {
        width:100%;
        padding-left:5px;
        padding-right:5px;
    }
}

@media (max-width: 1100px) {
    #top-menu  li  {
        padding-right: 10px;
    }
}

/* 980 - 1080 */
@media (max-width: 1080px) {
    #top-menu  li  {
        padding-right: 10px;
    }
}




#top-menu li a {
    font-size: 17px;
    font-family: 'gilroy', 'gilroy-light', Arial, sans-serif;
}
.et_header_style_centered > #page-container > #main-header > .container > #ems-logo-block > #et-top-navigation {
    display: inline-block;
    position: static;
    bottom: 0;
    width: inherit;
    font-weight: 400;
    text-align: left;
    margin-top: 27px;
}
.et_header_style_centered > #page-container > .et-fixed-header > .container > #ems-logo-block > #et-top-navigation {
    margin-top: 18px !important;
}
.et_header_style_centered .et-fixed-header div#et_top_search {/*@@@@*/
    margin: 35px 10px 0 0;
    transition: all .4s ease-in-out;
}
.et_header_style_centered .et-fixed-header div#dqbuttons-header {
    margin-top: 5px;
    transition: all .4s ease-in-out;
}
#search-dqbuttons-container {
    display: inline-block;
    float: right;
}


#et-secondary-nav .menu-item-has-children > a:first-child::after, 
#top-menu .menu-item-has-children > a:first-child::after {
    position: absolute;
    top: 0;
    right: 0;
/*    font-family: ETmodules;*/
    font-size: 10px;
    font-weight: 800;
    color: #AAA;
    content: "\25BC";
}

#et-secondary-nav .menu-item-has-children > a:first-child, 
#top-menu .menu-item-has-children > a:first-child {
    padding-right: 13px;
	cursor: pointer;
}

#et-footer-nav {
    background-color: #515860;
}

#menu-bottom-menu li { 
    margin:0; padding:0;
}

#menu-bottom-menu a {
    line-height: 15px;
    display: inline-block;
    color: #FEFEFF;
    font-size: 18px;
    text-decoration: none;
    padding: 0 20px 2px;
    border-right: 2px solid #8A9197;
    margin: 10px 0px 10px 0px;
    font-weight:normal;
}

#menu-bottom-menu li:last-child a {
    border-right: none;
}

.nopadding {
    padding: 0 !important;
}
.fullwidth {
    width: 100%;
}

#main-content {
    line-height: 0;
}

/* Breadcrumb styles */
div.breadcr {
    margin-top: 0;
    text-align: center;
    border-top: 2px solid #D4D5D7;
    vertical-align: center;
    background: linear-gradient(to bottom,#fff 0,#ecedef 5%);
}
div.breadcr > div {
    vertical-align: top;
    line-height: 35px;
    width: 95%;
    margin: auto;
    max-width: 1170px;
}
div.breadcr > div > span {
    font-weight: 700;
    color: #f7c600;
    margin-left: 10px;
    margin-right: 10px;
}

/* Menu, Logo and DQ Header buttons custom styles */
.et_header_style_centered #main-header .logo_container {
    width: 360px;
}
.logo_container {
    float: left;
    text-align: left;
}
#dqbuttons-header {
    float: right;
    margin-top: 15px;
    transition: all .4s ease-in-out;
}
#ems-logo-link, #dq-header-download, #dq-header-req_quot {
    position: relative;
    z-index: 10;
    text-decoration: none;
}
#et_top_search {
    margin: 45px 10px 0 0;
    transition: all .4s ease-in-out;
}
.ems_search_form_container {
    display: none;
}
.et_header_style_centered #main-header > .container {
    height: 60px;
}
.et_header_style_centered .et_search_outer > .container {
    height: 50px !important;
}
.et_header_style_centered .et-fixed-header > .et_search_outer > .container {
    height: 38px !important;
}

#ems-search-form,#ems-search-form-page {
    display: inline-block;
    margin-top: 25px;
}
.et_header_style_centered .et-fixed-header .et-search-form {
    top: 0;
}
.ems-search-field {
    font-size: 17px;
    border: 1px solid silver;
    border-radius: 4px;
    padding: 8px;
}
#ems-logo-search-mobile {
    display: none;
}
#ems-top-search, #ems-page-search {
    display: inline-block!important;
    position: relative;
    margin: 4px 10px 0 0;
}
#ems-search-icon:before, #ems-search-icon-page:before, #ems-search-icon-mobile:before {
    font-family: ETmodules!important;
    font-weight: 400;
    font-style: normal;
    font-variant: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1;
    text-transform: none;
    speak: none;
    font-size: 17px;
    content: "\55";

    transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
    cursor: pointer;
}
#ems-search-icon:hover, #ems-search-icon-page:hover, #ems-search-icon-mobile:hover {
    color: #70a4f3;
}
#main-content div.search-container {
    min-height: 300px;
}
#main-content div.search-container:before {
    background-color: transparent;
}
#main-content div.search-container > #content-area {
    margin-left: 10px;
    margin-bottom: 30px;
}


.entry-content {
    padding-bottom:20px;
    line-height:26px;
}

body.home .entry-content {padding-bottom:0px;}

/* 'Child menu items as buttons' block, DQ Buttons, 'Was this information helpful' block styles*/
#child-pages-buttons {
    padding-top: 0;
    padding-bottom: 0;
    width: 80%;
    margin: 0 auto;
}
#child-pages-buttons .et_pb_module {
    display: inline-block;
    margin-bottom: 5px;
}
#child-pages-buttons .et_pb_module .et_pb_button {
    margin-left: 0;
}
#child-pages-buttons a::after {
    padding-top: 5px;
}
#child-pages-buttons a {
    font-size: 17px;
    min-width: 160px;
    margin: 3px 5px 3px 0;
    border: 1px solid;
    padding: 1px 25px 1px 10px;
}
#child-pages-buttons .et_pb_button:after {
    font-size: 0;
}

#child-pages-buttons .et_pb_section, #child-pages-buttons .et_pb_row,
#dqbuttons .et_pb_section, #dqbuttons .et_pb_row,
#ishelpful .et_pb_section, #ishelpful .et_pb_row {
    padding: 0;
}
#child-pages-buttons .et_pb_row, #dqbuttons .et_pb_row, #ishelpful .et_pb_row {
    width: 100%;
}



/* Gallery grid styles */
.et_pb_gallery_item {
    margin-bottom: 10px !important;
}
.et_pb_gallery_grid .et_pb_gallery_item img {
	width: auto;
    height: auto;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}
.et_pb_gallery_grid .et_pb_gallery_image {
	height: 246px;
    width: 246px;
    position: relative;
}
.mfp-gallery .mfp-image-holder .mfp-figure {
	cursor: default !important;
	margin: 40px 0;
    background-color: white;
}
.et_overlay {
    border: 0;
}
.et_pb_gallery_pagination ul {
    list-style-image: none;
}
.et_pb_gallery_title {
    width: 246px;
    text-align: center;
    color: black;
}


/* --- Download and quote buttons at bottom ---- */
#dqbuttons-block {
    margin-top: 5px;
    margin-bottom: 5px;
    width: 80%;
    margin: 0 auto;
}
#dqbuttons-block > div {
    padding: 0;
}
#dqbuttons a, #dqbuttons-header a {
    border-radius:10px;
    width: 170px;
    color: #FFF;
    border: none;
    margin: 4px;
    display:inline-block;
    line-height: 20px;
}
#download, #req_quot, #dq-header-download, #dq-header-req_quot {
    font-family: 'gilroy', 'gilroy-light', Arial, sans-serif;
    font-size: 17px;
    border-radius: 10px;
    text-align: center;
    padding: 10px 0;
    font-weight:normal;
    white-space:nowrap;
    text-decoration: none;
}
#dqbuttons #download, #dqbuttons-header #dq-header-download {
    background: #194fa5;
}
#dqbuttons #req_quot, #dqbuttons-header #dq-header-req_quot {
    background: #1EC279;
}

/* Main menu styles */
.et_header_style_centered .et_mobile_menu,
.et_mobile_menu > li {
    padding: 0 5px;
}

.et_header_style_centered .et_mobile_menu,
.et_mobile_menu > li > ul {
    list-style-image: none;
}


#main-header .et_mobile_menu li ul, .et_pb_fullwidth_menu .et_mobile_menu li ul.sub-menu {
    display: none !important;
}
.et_mobile_menu li a:hover, .nav ul li a:hover {
    opacity: 1;
    background-color: rgb(46, 162, 242);
}
#top-menu a {
    color: #555;
    transition: all .0s;
}
#top-menu li li {
    padding: 0;
    white-space: nowrap;
    width: 100%;
}
#top-menu li li a {
    width: auto;
}
#top-menu li li a:hover {
    color: white;
}
#top-menu li ul.sub-menu {
    padding: 0;
}
.nav li ul {
    width: auto;
}
.nav li li ul {
    left: auto;
}
.nav li.et-reverse-direction-nav li ul {
    right: auto;
}
#top-menu li .menu-item-has-children>a:first-child:after,
#top-menu li .menu-item-has-children>ul.sub-menu{
    /*top: 0;*/
    display: none;
}

/* --- Form elements ----- */
textarea[readonly] { background-color: #EEEEFF; }

input[type="email"], input[type="password"], input[type="tel"], input[type="text"], select, textarea
{
    border: 1px solid #4d90fe;
    border-radius: 1px;
    padding: 5px;
    font-size: 15px;
}

input[type="file"] { font-size: 15px; }

td input[type="text"], td input[type="file"], div#formtable input[type="file"] {
    font-size: 15px;
    }

input[type="submit"], input[type="reset"], input[type="button"] {
    background: #4d90fe;
    border: 1px solid #3079ed;
    color: #FFF;
    border-radius: 3px;
    padding-left: 15px;
    padding-right: 15px;
    cursor: pointer;
    font-size: 15px;
}

/* --- Is helpful block ---*/
#ishelpful-block {padding-top:5px; padding-bottom:5px; width: 80%; margin: 0 auto}
#ishelpful-block > div {padding:0}
#ishelpful {margin-top:20px;}
#ishelpful > div {display:block; clear: both; line-height:28px;}
#ishelpful > div span {padding:0px; padding-top:7px; padding-bottom:7px; white-space:nowrap; margin-left:5px;}
#ishelpful #yes, #ishelpful #no, #ishelpful #smwt {padding:0; background: #107C10; border-radius:3px; color:#FFFFFF; text-decoration:none; text-align:center; display:inline-block;margin-right:10px; padding-left:15px;padding-right:15px;color:#000000; }
#ishelpful textarea, #ishelpful input[type=email] {display:block;clear:both; margin-bottom:8px; width:40%; height:40px; border: 1px solid #107C10;}
#ishelpful #yes, #ishelpful #smwt, #ishelpful #no { background: #E5AB2E; color:#000000; font-weight:bold;}
#ishelpful #yes:hover, #ishelpful #smwt:hover, #ishelpful #no:hover { background: #ffd900; color:#000000; font-weight:bold;}

/*-- Home page --*/

div#materials h3 {
    font-size: 20px;
    text-align: center;
    font-weight: 400;
}
div#materials h1, div#materials h3 {
    color: #373B3C;
}

div#wwcd h3 {
    font-size: 20px;
    text-align: center;
    font-weight: 400;
}
div#wwcd h1, div#wwcd h3 {
    color: #FFF;
}

div#famouscust h1, div#materials h1, div#services h1, div#testimonials h1, div#wwcd h1 {
    font-size: 40px;
    font-weight: 400;
}

div#materials h2, div#services h2, div#testimonials h2, div#wwcd h2 {
    font-size: 25px;
    font-weight: 400;
    color: #3471C2;
/*    margin-bottom: 30px;*/
}

div#services ul li {
    font-size: 20px;
}

.ems-home-highlights p {
    max-width:200px;
    margin-left:auto; 
    margin-right:auto;
}

#home-top-call-to-action h1 {
    color:#FFFFFF;
    font-size: 53px;
    line-height: 50px;
    font-weight: 700;
}

#home-top-call-to-action h3 {
    color: #FFFEFF;
    text-align: center;
    font-size: 30px;
    font-weight:normal
}

#top-banner-buttons a {
   text-decoration:none;
}

.ems-no-txt-decor {
   text-decoration: none !important;
}


div.ems-testim { display:block; background: #F5F5F5; margin-bottom:20px; padding:15px; border-radius:10px;} 
div.ems-testim:nth-child(2n+1) { background: #E0E0E0; }
.testim-author {font-weight:bold; font-style: italic;}

div#footaddr{background: #FFFFFF; text-align:center; padding:5px; padding-top:30px; padding-bottom: 10px;  border-bottom: none;  color: #000000;}

div#lastfoot div#subscribe-box {width: 100%; text-align:left; min-width:200px;max-width:280px;}

div#lastfoot {
    text-align:center;
    padding-top:5px;
}

div#lastfoot > div  {
    font-size: 18px;
    color: black;
    display: inline-block;
    text-align: left;
    padding: 10px;
    vertical-align: middle;
    line-height:17px;
}

div#lastfoot div#softbox {
    width: 21%;
    text-align: left;
    min-width: 280px;
}

#formRegister input[type="text"], #formRegister input[type="email"] {
    padding: 2px;
    width: 100%;
    max-width: 200px;
    display: inline-block;
    margin: 3px 0;
}

#formRegister p {padding: 10px 0px;}

#formRegister input[type="button"] {
    height: 25px;
    padding: 0 10px;
    line-height: 15px;
    margin-top: 3px;
}

div#lastfoot div#softbox img {
    width: 100px;
    height: 126px;
}
div#lastfoot div#footvideo img, div#lastfoot div#p2p img, div#lastfoot div#softbox img {
    display: block;
    float: left;
    margin-right: 10px;
}

div#lastfoot div#footvideo {
    width: 25%;
    min-width: 322px;
}

div#lastfoot div#footvideo img {
    border-radius: 6px;
    border: 2px solid #AAA;
    width: 180px;
    height: 126px;
}

div#footer-bottom .container { max-width:1300px; width:90%; }
div #footer-bottom { background-color: #fff; }

#et-footer-nav .container { text-align:center;}

div#footer-bottom div.mini-request-for-quote-footer {
    width: auto;
}
div#footer-bottom div.mini-request-for-quote-footer .custom-file-uploads {
    margin-bottom: 13px;
}
div#footer-bottom div.mini-request-for-quote-footer .getQuote {
    margin-top: 22px;
}

div#lastfoot div#p2p {
    width: 21%;
    min-width: 280px;
}
div#lastfoot div#p2p img {
    width: 136px;
    height: 126px;
    border-radius: 5px;
    border: 2px solid #AFA;
    margin-bottom: 2px;
}

div#lastfoot div#copyr {
    text-align: center;
    display: block;
    clear: both;
    width: 90%;
    min-width: auto;
    max-width: auto;
    margin: 20px auto auto;
}

div#lastfoot div#social {
    text-align: center;
}
div#lastfoot div#social {
    margin-top: 20px;
    white-space: nowrap;
}

div#lastfoot div#social a {
    display: inline-block;
    width: 35px;
    height: 35px;
    margin-left: 8px;
    margin-right: 8px;
    background: url("/source/147de4eb8c617c60b9193a2e4d7985cb/social-buttons.png");
}

div#lastfoot div#social a#social-tweet {    background-position: -70px;  }
div#lastfoot div#social a#social-google {    background-position: -35px;  }
div#lastfoot div#social a#social-youtube {    background-position: 35px;  }

@media (max-width: 1440px) {
    .et_fixed_nav.et_show_nav.et_header_style_centered.et_divi_theme #page-container {
        padding-top: 110px;
    }

    .et-animated-content #page-container, #page-container, #main-header {
        transition: none !important;/*disable animations on small screens*/
    }

    #top-menu li {
        padding-right: 20px;
    }
    .ems_search_form_container {
        height: 75px;
        width: 270px;
        display: inline-block;
    }
    #ems-search-form {
        margin-top: 20px;
    }
    .et_header_style_centered #et_top_search {
        display: none !important;
    }
    .et_header_style_centered header#main-header.et-fixed-header .logo_container {
        height: 80px !important;
        transition: none;
    }
    .et_header_style_centered > #page-container > #main-header > .container > #ems-logo-block > #et-top-navigation {
        display: block;
        width: 100%;
        position: absolute;
        margin-top: 0;
        text-align: center;
        top: 70px;
    }
    .et_header_style_centered > #page-container > .et-fixed-header > .container > #ems-logo-block > #et-top-navigation {
        margin-top: 0 !important;
    }
    .logo_container {
        float: left;
        transition: none;
    }
    #search-dqbuttons-container {
        float: right;
        height: 110px;
    }


    .et_header_style_centered .et-fixed-header div#et_top_search {
        margin: 45px 10px 0 0;
        transition: none;
    }
    .et_header_style_centered .et-fixed-header div#dqbuttons-header {
        margin-top: 15px;
        transition: none;
    }
}
@media (max-width: 980px) {
    #ems-logo-search-mobile {
        display: inline-block;
        margin-left: 20px;
    }
    #ems-top-search {
        display: none;
    }
    .et_header_style_centered > #page-container > #main-header > .container > #ems-logo-block > #et-top-navigation {
        position: static;
        display: block;
        width: 95%;
        margin: 0 auto;
        top: 70px;
    }
    #ems-catimg {
        display: none;
    }
    .et_header_style_centered header#main-header .logo_container {
        height: auto;
        max-height: 25px;
        padding: 0;
        width: 100%;
    }
    .et_header_style_centered #et_mobile_nav_menu {
        margin-top: 5px;
    }
    .logo_container {
        float: none;
        text-align: center;
        width: 100%;
    }
    .et_header_style_centered #main-header > .container {
        height: auto;
    }
    #ems-logo-block {
        height: 60px; /*110px;*/
        transition: height 0.15s ease-in-out;
    }
    #search-dqbuttons-container {
        float: none;
        display: none;
    }
    .ems_search_form_container {
        height: 50px;
        width: 300px;
        display: none;
        float: none;
    }
    #et_top_search {
        display: none;
    }
    #dqbuttons-header a {
        width: 46%;
        max-width: 200px;
    }
    #dqbuttons-header {
        display: none;
    }

    #dq-header-download, #dq-header-req_quot {
        padding: 5px;
        font-size: smaller;
    }
    .et_header_style_centered #logo {
        max-height: 25px;
    }
    #mobile_menu li .menu-item-has-children>a:first-child:after,
    #mobile_menu li .menu-item-has-children>ul.sub-menu{
        display: none !important;
    }
    #main-content .container {
        width: 95%;
    }
    #ems-search-form,#ems-search-form-page {
        margin-top: 5px;
    }
}

@media (max-width: 767px) {
    #ems-logo-link {
        float: left;
        margin-left: 10px;
    }
    .et_header_style_centered #main-header {
        padding: 10px 0;
    }
    .et_header_style_centered .et_menu_container .mobile_menu_bar,
    .et_header_style_centered .mobile_menu_bar {
        top: -28px;
    }
    .et_header_style_centered #main-header .mobile_nav {
        background-color: transparent;
        padding: 0;
    }
    .et_header_style_centered .mobile_nav .select_page {
        display: none;
    }
    .et_header_style_centered #et_mobile_nav_menu {
        margin: 0;
    }
    #ems-logo-block {
        height: 25px;
    }
    #ems-logo-search-mobile {
        float: right;
        margin-right: 60px;
    }
    .et_header_style_centered .et_mobile_menu {
        top: 12px;
    }
    .ems-search-field {
        width: 84%;
        float: left;
        margin-left: 10px;
        border-radius: 2px;
        height: 30px;
    }
    #ems-search-form {
        width: 100%;
        float: left;
    }
    .ems_search_form_container {
        float: left;
        width: 100%;
        display: none;
    }
}

@media screen and (max-width: 1100px) {
    div#lastfoot div#softbox,
    div#lastfoot  div#p2p,
    div#lastfoot  div#footvideo{
        display:block; 
        clear:both; 
        width:50%; 
        min-width:auto;
        margin-left:auto;
        margin-right:auto; 
        text-align:center;
    }

    div#lastfoot  div#softbox img,
    div#lastfoot  div#p2p img,
    div#lastfoot  div#footvideo img {
        display:block; 
        clear:both; 
        float:none; 
        margin-left:auto; 
        margin-right:auto; 
        margin-bottom:5px;
    }

    #dqbuttons a, #dqbuttons-header a {
        width: 153px;
        font-size: 85%;
    }
    .et_header_style_centered nav#top-menu-nav {
        display: block;
        text-align: center;
    }
}

/* ---- Search results -----*/
.search-results div#main-content    {line-height:normal;}
.search-results article             {margin-bottom:40px; }
.search-results h2.entry-title      { padding-bottom:5px; margin-top:0; display: block; max-width: none }
.search-results .post-meta          {display:none;}
.search-results div#left-area       { width:100%; }
.search-results div.container       { width:100%; }
.search-results div#sidebar         {display:none;}
.search-results article             {margin-bottom: 25px; border-top: 0px; font-size: 17px; }
.search-results .search_found       { border-bottom: 1px solid #e4e4e4; padding-top: 5px; padding-bottom: 5px; font-size: 16px; }
.search-results h2.entry-title > a  { color: #1a4fa5; text-decoration: none; font-size: 18px; }
.search-results h2.entry-title > a:hover { text-decoration: underline; }
.search-results div.container::before { display: none;}
#search-results-pager > li > a { min-width: 130px; text-decoration: none; border-radius: 10px; margin: 5px; text-transform: uppercase; }