/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Enthusiast, Inc.
 Author URI:     https://www.enthusiastinc.net
 Template:       Divi
 Version:        1.0.9
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */
body {
	letter-spacing: 0.6px;
}
body h1, body h2, body h3, body h4, body h5, body h6 {
	font-family: myriad-pro, sans-serif;
	font-weight: 700;
}
body h2 {
	font-size: 1.825em;
	padding-bottom: 0.6em;
} 
body h3 {
	text-transform: uppercase;
	font-size: 1.2353em;
	line-height: 2em;
}
body h4 {
	color: #000;
	font-size: 1.176em;
}
body h5 {
	text-transform: uppercase;
	color: #ff8200;
}
body p,
body article li {
	font-family: myriad-pro, sans-serif;
	letter-spacing: 0.6px;
	font-size: 1em;
}
body p a {
	text-decoration: underline;
}

/* change size of submenu */
#top-menu .sub-menu li a {
	font-size:  14px;
	line-height:  20px;
}

body #et-secondary-menu {
	padding: .25em 0;
}
body #main-footer {
	border-top: solid 3px #FF8200;
}
.et_pb_row .et_pb_row {
	width: 100%;
}
#et-secondary-menu {
	float: none;
}
#top-header .et-social-icons {
	float: right;
}
.et_search_form_container input {
	border: solid 2px #FF8200;
	padding: .25em .5em;
}
.home-blurb {
	height: 525px;
}
.home-blurb h3 {
	padding: 0 25px 10px 35px;
}
.home-blurb p {
	padding: 0 25px 0 35px;
	padding-bottom: 25px;
}
body .industry-affiliations .et_pb_text {
	border: solid 1px #FF8200;
	background-color: #f4f4f4;
	padding: 1em .25em;
}
body .industry-affiliations + .industry-affiliations .et_pb_text {
	height: 125px;
}
body .bg-left-gray-50 {
	background: linear-gradient(90deg, #f4f4f4 calc(50%), #fff 50%);	
}
body .bg-right-orange-60 {
	background: linear-gradient(90deg, #fff calc(50% - 200px), #FF8200 20%);
}
body .bg-right-orange-60 .et_pb_column_1_3 + .et_pb_column_1_3 {
	width: 34.6667%;
}
body .bg-right-orange-60 .et_pb_column_1_3 + .et_pb_column_1_3 + .et_pb_column_1_3 {
	width: 24.6667%;
}
body .bg-left-orange-40 {
	background: linear-gradient(90deg, #FF8200 calc(50% - 300px), #fff 20%);
}
body .bg-right-orange-40 {
	background: linear-gradient(90deg, #fff calc(50% + 300px), #FF8200 50%);
}
body .et_pb_accordion_item img {
	float: left;
	width: 200px;
	height: auto;
	margin-right: 2em;
}
body .et_pb_accordion.faq-accordion img {
	width: auto;
}

body .product-thumb .et_pb_main_blurb_image {
	margin-bottom: 1em;
}
body .product-thumb h4 {
	padding-bottom: 15px;
}

body .timken-gallery .et_pb_gallery_items .et_pb_gallery_item {
	margin-right: 2%;
	width: 23.5%;
	margin-bottom: 3%;
}
body .et_pb_gallery .et_pb_gallery_pagination {
	border-color: #2b2b2b;
}

/** TIMELINE **/
body .history-timeline .dct_title_1 .et_pb_text_inner::before {
	width: 180px;
}
body .history-timeline .dct_title_1 .et_pb_text_inner::after {
	width: 120px;
	bottom: -10px;
}
body .history-timeline .et_pb_blurb_content {
	min-height: 185px;
}
body .history-timeline .et_pb_blurb_content .et_pb_blurb_container .et_pb_module_header {
	text-align: left;
	font-size: 21px;
	padding-left: 30px;
}
body .history-timeline .et_pb_blurb:nth-child(even) .et_pb_blurb_content .et_pb_blurb_container .et_pb_module_header {
	text-align: right;
	padding-right: 30px;
	padding-left: 0;
}
body .history-timeline .et_pb_blurb_content .et_pb_blurb_container .et_pb_blurb_description {
	margin-top: 20px !important;
}
body .history-timeline .et_pb_blurb_description {
	font-size: 17px;
	color: #2b2b2b;
}

/** PRODUCT TABLE **/
body .semantic_ui .ui.table.product-table {
	border-radius: 0;
	border: 0;
}
body .semantic_ui .ui.table.product-table .footable-filtering th {
	color: #FF8200;
	background: #fff;
}
body .semantic_ui .ui.table.product-table .footable-filtering th .form-control,
body .semantic_ui .ui.table.product-table .footable-filtering th .btn {
	border-color: #53565A;
}
body .colored_table table.ninja_table_pro.inverted.product-table .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) {
	border-top: solid 1px #53565A !important;
	border-bottom: solid 1px #53565A !important;
}
body .semantic_ui .ui.table.product-table .footable-filtering th .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) {
	background-color: #FF8200;
	color: #fff;
	border-color: #53565A;
	border-left: 0;
	border-right: 0;
}
body .semantic_ui .ui.table.product-table .footable-header th {
	border-top: solid 1px #FF8200;
	border-bottom: solid 1px #FF8200;
	text-align: center;
	background-color: #fff !important;
	color: #000 !important;
}
body .product-table tbody tr:nth-child(2n) {
	background-color: #fff !important;
	color: #2b2b2b;
}
body .product-table tbody tr:nth-child(2n+1) {
	background-color: #F4F4F4;
}
body .semantic_ui .ui.table.product-table tr td {
	border: 0;
	color: #2b2b2b;
	text-align: center;
}
body .semantic_ui .ui.table.product-table tfoot tr.footable-paging td {
	border: 0 !important;
}
body table.ninja_table_pro.product-table .pagination a.footable-page-link {
	color: #2B2B2B;
	border-color: #2B2B2B;
}
body table.ninja_table_pro.product-table .pagination > .active > a {
	background-color: #2B2B2B;
	color: #fff;
}

/** GRAVITY FORMS **/
body .gform_wrapper .gform_footer input.button,
body .gform_wrapper .gform_footer input[type="submit"] {
	background-color: transparent;
	font-weight: 700;
	border: solid 5px #FF8200;
	font-size: 1em;
	text-transform: uppercase;
	line-height: 1.75em;
	cursor: pointer;
}
body .gform_wrapper .gform_footer input.button:hover,
body .gform_wrapper .gform_footer input[type="submit"]:hover {
	background-color: #FF8200;
}
body .gform_wrapper .ginput_complex select {
	margin-top: 12px;
	margin-bottom: 12px;
}
body .gform_legacy_markup_wrapper textarea.medium {
	margin-top: 8px !important;
}
body .gform_legacy_markup_wrapper .field_sublabel_hidden_label .ginput_complex.ginput_container input[type="text"] {
	margin-bottom: 0px;
}

/** STORE LOCATOR **/
body #asl-storelocator.asl-p-cont.asl-bg-0 .inside.search_filter {
	background-color: #FF8200;
	padding-top: 20px !important;
}
body #asl-storelocator.asl-p-cont.asl-bg-0 .agile-modal-content {
	background-color: #FF8200;
}
body #asl-storelocator.asl-p-cont.asl-bg-0 .col-xs-12.search_filter .sl-search-group > span,
body #asl-storelocator.asl-p-cont.asl-bg-0 .col-xs-12.search_filter .asl-store-search > span {
	background-color: #2B2B2B;
}
body #asl-storelocator.asl-p-cont.asl-bg-0 #asl-geolocation-agile-modal .btn.btn-default {
	background-color: #BA1111;
}
body #asl-storelocator.asl-p-cont.asl-bg-0 .agile-modal-content h4 {
	color: #2b2b2b;
}
body #asl-storelocator.asl-p-cont.asl-bg-0 .inside.search_filter .asl-store-search {
	margin-top: 10px;
}
body #asl-storelocator.asl-p-cont.container.no-asl-filters .inside.search_filter::before {
	position: relative;
	content: "TYPE IN YOUR ZIP CODE TO FIND DISTRIBUTORS NEAR YOU";
	font-family: myriad-pro, sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.6px;
}
body #asl-storelocator.asl-p-cont.asl-template-1.asl-p-cont.no-asl-filters .asl-panel #asl-list.storelocator-panel {
	margin-top: 125px;	
}
body #asl-storelocator.asl-p-cont.asl-bg-0 .store-locator button.close-directions.close[aria-label="Close"] {
	color: #53565A;
}
body #asl-storelocator.asl-p-cont.asl-bg-0 #asl-list.storelocator-panel {
	background-color: #FFEBD6;
}
body #asl-storelocator.asl-p-cont.asl-text-0 #asl-list {
	color: #2B2B2B
}
body #asl-storelocator.asl-p-cont.asl-bg-0 #asl-list.storelocator-panel .sl-item .addr-sec .p-title {
	color: #2B2B2B
}
body #asl-storelocator.asl-p-cont.asl-bg-0 .btn.btn-asl {
	border: solid 1px #2B2B2B;
	background-color: #FFEBD6;
	color: #2b2b2b;
}
body #asl-storelocator.asl-p-cont.asl-bg-0 .btn.btn-asl:hover {
	color: #fff;
	background: #2b2b2b;
}
body #asl-storelocator.asl-p-cont.container.storelocator-main.asl-template-1 .sl-item .item-thumb {
	display: none;
}
body #asl-storelocator.asl-p-cont #asl-list.storelocator-panel .sl-item {
	padding: 15px 10px 20px 20px;
}
body #asl-storelocator.asl-p-cont.asl-bg-0 .asl-overlay-on-item h1.h1 {
	color: #2b2b2b;
}
body #asl-storelocator.asl-p-cont.asl-text-0 #agile-modal-direction {
	color: #2b2b2b;
}
body #asl-storelocator.asl-p-cont.asl-bg-0 .sl-item.highlighted {
	background-color: #F4F4F4 !important;
}

/** Article Grid **/
.et_pb_blog_grid .et_pb_image_container {
	max-height: 240px;
	overflow: hidden;
}
.et_pb_blog_grid_wrapper .et_pb_blog_grid .column article {
	height: 550px;
}

/** FOOTER **/
#et-footer-nav, #footer-bottom {
	display: none;
}
#main-footer #footer-widgets .fwidget {
	margin-bottom: 2.5em;
}
#main-footer #footer-widgets .widget_nav_menu {
	display: block;
	float: none;
}
#main-footer #footer-widgets .menu li {
	padding-left: 0;
}
#main-footer #footer-widgets .menu li:before {
	display: none;
}
#main-footer #footer-widgets .menu li a:hover {
	text-decoration: underline;	
}
#main-footer #footer-widgets .footer-widget:nth-child(1) .widget_custom_html.widget_text a {
	display: inline-block;
	margin-right: 1em;
	font-size: 1.25em;
	color: #fff;
}
#main-footer #footer-widgets .footer-widget:nth-child(1) .widget_text a {
	color: #FF8200;
}
#main-footer #footer-widgets .footer-widget:nth-child(1) .widget_text a:hover {
	text-decoration: underline;
}
#main-footer #footer-widgets .footer-widget:nth-child(4) .widget_text p {
	line-height: 1.3em;
}
#main-footer #footer-widgets .footer-widget:nth-child(4) .widget_text a {
	display: block;
	width: 250px;
	color: #2b2b2b;
	background-color: #FF8200;
	text-transform: uppercase;
	text-align: center;
	line-height: 2em;
	font-weight: 700;
}
#main-footer #footer-widgets .footer-widget:nth-child(4) .widget_text a:hover {
	background-color: #fff;
}

/* fix the spacing on accordions on the resource page */
.page-id-144 .et_pb_accordion .et_pb_toggle {
	margin-bottom: 0px !important;
}

body .newsletter-form ul.gform_fields li.gfield .address_state select {
	margin-top: 12px;
	padding: 4px 7px 4px 2px;
}

/** DESKTOP ONLY **/
@media only screen and ( min-width: 768px ) {
}

/** Mobile + Tablets **/
@media only screen and (max-width: 980px) {
	body h1,
	body .et_pb_text_0 h1 {
		font-size: 40px;
		line-height: 40px;
	} 
	body h2 {
		font-size: 25px;
	} 
	body h5 {
		font-size: 18px;
	} 
	body .timken-gallery .et_pb_gallery_items .et_pb_gallery_item {
		margin-right: 2%;
		width: 48%;
		margin-bottom: 3%;
	}
	body .interchange-search .search-row {
		display: block;
	}
	body .interchange-search .search-row > div {
		margin-bottom: 15px;
	}
	body .interchange-search .search-brand {
		width: 100%;
		padding-right: 0;
	}
	/* resources page */
	body .et_pb_accordion_item img {
		width: 100%;
		float: none;
		margin-right: 0;
	}
}

/** Mobile + Tablets **/
/* landscape tablets */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
	#logo {
		max-width: 200px !important;
		border: solid 1px red;
	}
	html body #page-container .et_pb_section .et_pb_button {
		font-size: 15px;
	}
}

/** Fix for only the contact page 3 columns -- the emails are too long **/
@media only screen and (max-width: 1380px) {
	.contact-info .et_pb_column {
		width: 100% !important;
		margin-right: 0 !important;
		margin-top: 1em;
	}
}

@media only screen and (max-width: 1024px) {
	#logo {
		max-width: 100%;
	}
	.home-blurb {
		height: auto;
		padding-bottom: 1em;
	}
	.home-blurb .et_pb_blurb_content {
		max-width: 100%;
	}
	.home-blurb .et_pb_main_blurb_image {
		width: 100%;
	}
	.home-blurb .et_pb_main_blurb_image img {
		width: 100%;
	}
	body .bg-right-orange-60,
	body .bg-left-orange-40,
	body .bg-right-orange-40{
		background: #FF8200;
	}
	.post-featured-image-row .et_pb_column_4 {
		height: auto;
	}
	.post-featured-image-row .et_pb_image_0 {
		top: 0;
		padding-top: 2em;
		position: relative !important;
		text-align: center;
	}
	body .bg-left-gray-50 {
		background: #f4f4f4;
	}
	.contact-info .et_pb_column {
		width: 100% !important;
		margin-right: 0 !important;
		margin-top: 1em;
	}
	body #asl-storelocator.asl-p-cont.asl-template-1.asl-p-cont.no-asl-filters .asl-panel #asl-list.storelocator-panel {
		margin-top: 175px;
	}
	body .industry-affiliations+.industry-affiliations .et_pb_text {
		height: auto;
	}
	body .et_pb_section .contact-form-gf {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	#top-menu li, #top-menu li a {
		font-size: 14px !important;
		padding-right: 15px;
	}
}

@media only screen and (min-width: 770px) and  (max-width: 1140px) {
	#logo {
		max-height:  100%;
		width:  180px;
		height:  auto;
	}
	body #top-menu li a {
		font-size:  14px;
	}
	body .et_header_style_left .logo_container {
		width: 20%;
		height: au
	}
}
@media only screen and (min-width: 1140px) and  (max-width: 1350px) {
	#logo {
		max-height:  100%;
		width:  300px;
		height:  auto;
	}
	body #top-menu li a {
		font-size:  16px;
	}
}
