/*
 Theme Name:     Dex
 Author:         Vela Strategic Marketing & Public Relations
 Author URI:     <a href="mailto:ko@velaagency.com">Vela Agency</a>
 Template:       Divi
 Version:        1.0.0
*/


/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */
/***** APPLICATION FILTER REMOVED via Client Request on 06.13.22 *****/
.ko-form-group-application { display:none !important; }

.ko-btn.ko-btn-primary {
    background: #76be43 !important;
    color: #fff;
}
.gfield_description validation_message gfield_validation_message {
    color: #000 !important;
}

.gform_required_legend { display:none; }

.et-menu .menu-item-has-children>a:first-child:after { display:none; }

.et-menu .menu-item-has-children > a:first-child { padding-right: 0; }

.et_pb_menu .et-menu>li { border-right:1px solid #f2f2f2; }

.et_pb_menu .et-menu>li:last-child { border-right:0px solid #f2f2f2; }

.et_pb_menu__menu > nav > ul > li > a { padding-top: 8px; }

.eatonFooterLogo { margin:1px auto; width:100%; text-align: center; }
#footer-info { text-align: center !important; width: 100%  !important; }

.et_pb_button,
.et_pb_button_0,
.et_pb_button_1,
.et_pb_button_2,
.ko-btn.ko-btn-primary,
.ko-part-search-form .ko-btn,
a.biggreen,
input[type="button"], 
input[type="reset"],
input[type="submit"],
a.biggreen:hover { 
    box-shadow: 0px 1px 0px rgba(0,0,0,.1) !important; 
    border-radius: 3px !important;
    padding-top:13px !important;
    padding-bottom:15px !important;
}

a.biggreen, a.biggreen:hover { 
border-width: 0px!important;
border-radius: 2px;
font-weight: 700!important;
background-color: #76be43;
color:#fff !important;
text-shadow: 0 0 0 rgba(255,255,255, 0) !important;    
border: 0px solid #76be43;
background: #76be43;
background: -moz-linear-gradient(top,#76be43 0,#76be43 100%);
background: -webkit-gradient(linear,left top,left bottom,color-stop(0,#76be43),color-stop(100%,#76be43));
background: -webkit-linear-gradient(top,#76be43 0,#76be43 100%);
background: -o-linear-gradient(top,#76be43 0,#76be43 100%);
background: -ms-linear-gradient(top,#76be43 0,#76be43 100%);
background: linear-gradient(to bottom,#76be43 0,#76be43 100%);    
}

.ko-slider>div .slick-next, .ko-slider>div .slick-prev { padding:0 !important; }

.ko-part-recent-results { max-width:90% !important; margin:0 auto; }

.et_pb_widget_area_left { border-right: 0px solid #fff !important; }

nav.gf_login_links a { display: none !important; }

nav.gf_login_links::before { content: 'To create an account or update your password, please contact DEX at (888) 631-3409.'; color:#333; display: block; }

.store_locator_plus.divi {
    max-width: 1440px;
    margin: 0 auto;
}

@media (max-width: 994px) { 
 
  .ko-part-search-results-sorter.ko-sorter.ko-select-url {
    float: none !important;
    width: 194px;
    margin:20px auto 0;
	  text-align: center;
	  height:35px;
  }
	
	.ko-form-inline {
    width: 100%;
}
	
} /******** END @media (max-width: 994px) ********/

.ko-part-search-results-sorter.ko-sorter.ko-select-url {
    color: #333;
}

body.logged-in .productInfoRequestSection, body.isoft-logged-in .productInfoRequestSection {
  display: none;
  visibility: hidden;
}

.et-protected, .et-protected-title, .et-protected-form { display:none !important; }

.sort-label { text-align: right; }

.ko-part-search-results-sorter.ko-sorter.ko-select-url {
    float: right;
    font-size: 12px;
    font-weight: bold;
    -webkit-appearance: none;
    -moz-appearance: none;	
    background: #76be43;
    border: none;
    border-radius: 2px;
    color: #fff;
    padding-left: 10px;
	text-align:center; 

}

@media (min-width: 720px) {
  .ko-part-search-results-total {
    display: inline-block;
      vertical-align: middle;
  }
}

span.ko-part-search-results-total::before {
  content: 'Your search found ';
}

span.ko-part-search-results-total::after {
  content: ' parts!';
}

input[type=search] {
  -webkit-appearance: none;
}

h5.et_pb_toggle_title {
  text-align: center;
}

.et_pb_toggle_title:before {
  position: relative;
  top: 50%;
  left: 0;
  margin-top: -0.5em;
  font-size: 48px;
  content: 'h';
  padding-right: 20px;
  vertical-align: middle;
}

.ko-btn.ko-btn-reset {
  background: #0f6b37;
  color: #ffffff;
  padding: 14px 18px 15px 18px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  border: none;
  border-radius: 4px;
  display: inline-block;
  vertical-align: middle;
  text-decoration: none;
width:100%;
}

.ko-btn.ko-btn-reset:hover {
  background: #76be43;
	color: #ffffff;
	  text-decoration: none;
}

.ko-vehicle-search-results .ias-trigger-prev a::before, .ko-part-search-results .ias-trigger-prev a::before { content:'<< '}



/******* Facility Tour *********/

#post-832 > div > div.et_pb_section.et_pb_section_3.et_pb_with_background.et_section_regular > div.et_pb_row.et_pb_row_3 > div > div > ol {
    font-size:14px; list-style:none; /* Disable the normal item numbering */ 
	counter-reset:li; /* Initiate a counter */
	margin-left:0; /* Remove the default left margin */
	padding-left:0; /* Remove the default left padding */
}

#post-832 > div > div.et_pb_section.et_pb_section_3.et_pb_with_background.et_section_regular > div.et_pb_row.et_pb_row_3 > div > div > ol > div:nth-child(1n+0) > a:nth-child(1n+0) { padding:10px 0; margin-left: 28px; line-height: 13px }

#post-832 > div > div.et_pb_section.et_pb_section_3.et_pb_with_background.et_section_regular > div.et_pb_row.et_pb_row_3 > div > div > ol > div:nth-child(1n+0) > a:nth-child(1n+0) li { color: #111 !important; font-weight:600; }

#post-832 > div > div.et_pb_section.et_pb_section_3.et_pb_with_background.et_section_regular > div.et_pb_row.et_pb_row_3 > div > div > ol > div:nth-child(1n+0) > a:nth-child(1n+0) li:hover { color: #0f6a36 !important; font-weight:600; }

#post-832 > div > div.et_pb_section.et_pb_section_3.et_pb_with_background.et_section_regular > div.et_pb_row.et_pb_row_3 > div > div > ol > div:nth-child(1n+0) > a:nth-child(1n+0) li:before {
	content:counter(li); /* Use the counter as content */
	counter-increment:li; /* Increment the counter by 1 */

/* Position and style the number */
width: 24px;
height: 24px;
-moz-border-radius: 24px;
-webkit-border-radius: 24px;
border-radius: 24px;
color: #fff;
background: #0f6a36;
font-weight: bold;
text-align: center;
display: inline-block;
line-height: 24px;
margin: -6px 5px 0px -30px;
}

#post-832 > div > div.et_pb_section.et_pb_section_4.et_pb_with_background.et_section_regular > div.et_pb_row.et_pb_row_4 > div > div > div > ol > div:nth-child(1n+0) { margin-bottom:0px; }

/******* END Facility Tour *********/

.bottom-nav a { color:#fff !important; }

div.infowindow {
  font-size: 1.125em;
}

.gm-style .gm-style-iw h3 {
  font-size: 1.35em !important;
}

body .gform_wrapper .gform_body .gform_fields .gfield .ginput_complex select {
  width: 100px;
}


.gform_wrapper .validation_message {
  color: #ffffff !important;
}

.gform_wrapper li.gfield.gfield_error {
  border-top: 0 solid #ffffff !important;
  border-bottom: 0 solid #ffffff !important;
}

.gform_wrapper li.gfield_error input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
  border: 1px solid #79bc43 !important;
}

.gform_wrapper li.gfield.gfield_error {
  background-color: transparent !important;
}

input#gform_submit_button_1.gform_button.button, input#gform_submit_button_7.gform_button.button, input#gform_submit_button_2.gform_button.button {
  background-image: url(https://www.dexheavydutyparts.com/wp-content/uploads/2017/03/gear-search-icon.png) !important;
  background-repeat: no-repeat !important;
  background-position: 88% !important;
}

.gform_wrapper .gform_page_footer .button.gform_next_button, .gform_wrapper .gform_page_footer .button.gform_previous_button, .gform_wrapper .gform_page_footer input.button, .gform_wrapper .gform_page_footer input[type=submit], .gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type=submit], input#gform_submit_button_7.gform_button.button, #gform_browse_button_4_38 {
  background: #76be43;
  border: none;
  -webkit-border-radius: 3;
     -moz-border-radius: 3;
          border-radius: 3px;
  font-family: Arial;
  color: #ffffff;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 15px 50px 15px 50px;
  text-decoration: none;
  -webkit-box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.75);
     -moz-box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.75);
          box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.75);
  cursor: pointer;
}

.gform_wrapper .gform_footer input.button:hover, .gform_wrapper .gform_footer input[type=submit]:hover, input#gform_submit_button_7.gform_button.button:hover {
  background: #333;
  text-decoration: none;
}

.gform_wrapper .gform_footer {
  text-align: center;
}

.gform_wrapper ul.gform_fields li.gfield {
  padding-right: 0 !important;
}

.gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type=submit] {
  margin: 0 0 0 0 !important;
}

.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
  padding: 12px !important;
  font-size: 18px !important;
  border-radius: 3px !important;
}



/********** Checkout Form Customizations **********/

li#field_9_23.gfield.field_sublabel_below.field_description_below.gfield_visibility_visible,
li#field_9_24.gfield.field_sublabel_below.field_description_below.gfield_visibility_visible { background-color:#f2f2f2 !important; min-height: 50px; }

.gform_wrapper ul.gform_fields.left_label li.gfield { padding:5px !important; }

label#label_9_16_1 {font-weight: 900 !important; font-size: 17px !important; padding-top: 5px; padding-left: 10px; }

/********** END Checkout Form Customizations **********/


/********** Download Manager Customizations **********/

#download-page #download-search, #download-page .download_group
{ border:none !important; box-shadow: none !important; }

 #download-page #download-search h3, #download-page .download_group h3 { border-bottom: 2px solid #056a37; padding: .5em 0em; margin: 0; box-shadow: none; }

.download-link img.wp-post-image {
    width:50px !important;
    height: auto !important;
    vertical-align: middle !important;
    margin-right: 10px;
}

#download-page #download-search ol, #download-page .download_group ol, ul.dlm-downloads { list-style: none !important; }

a.download-link {
    display: block;
    margin: 10px 0 0 0;
    padding:10px;
    font-weight: bold;
    min-height:61px;
    border-radius: 3px;
    width:98%;
	color: #0F6A36;
}

a.download-link:hover {
    background: transparent;
        color: #056a37
}

.dm_Thumbs, .dm_Title { display:inline-block; vertical-align: middle; }

.dm_Title { width: 80%; line-height: normal; }

/********** END Download Manager Customizations **********/

hr { border: 1px solid #056a37 !important; margin: 0 auto 25px !important; }

/********** Remove gray line from Divi default pages **********/

@media (min-width: 981px) {
    #main-content .container:before { display:none; }
}

/********** END Remove gray line from Divi default pages **********/




