/*
 Theme Name:   Divi Child
 Theme URI:    http://divi.space/
 Description:  A Child Theme built for Divi on Divi Space
 Author:       Cool Design Digital Agency
 Author URI:   http://cooldesign.co.za
 Template:     Divi
 Version:      1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/
/* =========================================================================================== 
   DOSCO PRECISION HYDRAULICS
/* =========================================================================================== */
/* GENERAL STYLING */

/* FIX WORDPRESS 5.7 SPACING PROBLEM
================================================================== */
body p:empty:before {
    content: none;
}

/* WIDEN THE SCREEN CONTAINER - PROVIDES WIDER BLOG PAGES
================================================================= */
.container {
	max-width: 1600px !important;
}

/* DRAW A HORIZONTAL LINE
================================================================= */
div.hr  {
	background: #4D70D7  no-repeat scroll center;
	width:100%;
	height: 4px;
}

div.hr hr {
display: none;
}

/* VERTICALLY ALIGN A COLUMN
================================================================== */
.col-vertical-align { 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
} 

/* GIVE ITEMS ROUNDED CORNERS
================================================================= */
.rounded-corners  {
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}

/* BOX SHADOW ON BLURBS & IMAGES
================================================================= */
.item-box-shadow {
	box-shadow: 3px 3px 3px #000;
}

/* HOVER SETTINGS
================================================================= */
/* Hyperlinks - hover color
------------------------------------------------------- */
a:hover {
	color: #e04b4b; /* lighter red */
}

/* LINK UNDERLINE ON HOVER
------------------------------------------------------- */
.link-hover-underline a {
	color: #fff !important;
}

.link-hover-underline a:hover {
	text-weight: 800;
	border-bottom: solid 2px;
}


/* Image hover effect - Grow
------------------------------------------------------- */
.img-hover-effect {
	transform: translateZ(0);
	transition-duration: 0.3s;
	transition-property: transform;
}

.img-hover-effect:hover {
	transform: scale(1.05);
}

/* Blurb hover effect - Grow
------------------------------------------------------- */
.blurb-hover-effect {
	transform: translateZ(0);
	transition-duration: 0.3s;
	transition-property: transform;
}

.blurb-hover-effect:hover {
	transform: scale(1.05);
}

 /* BULLETS 
================================================================= */
/* Small Bullet image 
--------------------------------------------------------*/
.image {
	list-style-image: url("images/bullet.png");
	padding-right: 10px;
}

/* Red Tick Icon Bullet
--------------------------------------------------------*/
ul.red_tick li {
	list-style: none;
	list-style-position: outside;
}

ul.red_tick li:before {
	font-family: 'ETmodules';
	content: "\4e";
	font-size: 16px;
	font-weight: 700;
	color: red;
	padding-right: 8px;
	margin-left: -26px
}

/* BUTTONS 
================================================================= */
/* Back to Top button
------------------------------------------------------- */
.et_pb_scroll_top.et-pb-icon {
	background: #e04b4b;  /* red */
}

/* Red Button
------------------------------------------------------- */
.button-red {
	background-color: #e04b4b;  /* lighter red */
	border: none;
	border-radius: 5px;
	box-shadow: none;
	color: #000000;
	cursor: pointer;
	padding: 5px 8px;
	margin-bottom: 7px;
	width: auto;
}

.button-red:hover {
	background-color: #d90505; /* slightly darker red */
	text-decoration: none !important; 
	padding: 5px 12px;
	font-weight: bold;
}

/* Blue Button
------------------------------------------------------- */
.button-blue {
	background-color: #5c9cfc; /* medium-light blue */
	border: none;
	border-radius: 5px;
	box-shadow: none;
	color: #000000;
	cursor: pointer;
	padding: 5px 8px;
	width: auto;
}

.button-blue:hover {
	background-color: #4d70d7; /* darker blue */
	text-decoration: none !important;
	padding: 5px 12px;
	font-weight: bold;
}

/* Navy Button
------------------------------------------------------- */
.button-navy{
	background-color: #1e609c;
	border: none;
	border-radius: 5px;
	box-shadow: none;
	color: #000000;
	cursor: pointer;
	padding: 5px 8px;
	width: auto;
}

.button-navy:hover {
	background-color: #153F65;
	text-decoration: none !important;
	padding: 5px 12px;
	font-weight: bold
}

/* HEADER STYLING 
================================================================= */
/* Paint a 3-pixel red border above the top menu
------------------------------------------------------- */
#top-header {
/*	border-top: 3px solid #e04b4b; /* lighter red */
	border-top: 3px solid #e70012; /* Kawasaki red */
}

/* Right align top menu Phone and Email details
------------------------------------------------------- */
@media only screen and (min-width: 768px) {
    #et-info { float:right !important; }
}

/* Add a SHADOW below the main header
------------------------------------------------------- */
#main-header { 
	-webkit-box-shadow: 0px 9px 20px 2px rgba(0,0,0,0.24);
	-moz-box-shadow: 0px 9px 20px 2px rgba(0,0,0,0.24);
	box-shadow: 0px 9px 20px 2px rgba(0,0,0,0.24);
}

/* Add a SHADOW to the Fixed Header too
------------------------------------------------------- */
#main-header.et-fixed-header { 
	-webkit-box-shadow: 0px 9px 20px 2px rgba(0,0,0,0.24)!important;
	-moz-box-shadow: 0px 9px 20px 2px rgba(0,0,0,0.24)!important;
	box-shadow: 0px 9px 20px 2px rgba(0,0,0,0.24)!important;
}


/* MENU STYLING 
================================================================= */
/* Increase sub-menu width - this is the sub-menu text width
------------------------------------------------------- */
#top-menu li li a {
	padding: 3px 20px; 
	width: 340px;   /* was 210px */
}

/* .................................... work in progress
#top-menu .menu-item-710 li li a {
	width: 360px;
} 

#top-menu .menu-item-5865 li a {
	width: 360px;
} */


/* Sub-menu background width
------------------------------------------------------- */
.nav li ul  {
	width: 380px;
}

/* .................................... work in progress - Our Company sub-menu
#menu-item-704 .sub-menu  {
	width: 360px;
} */


/* Light grey background bands on 'Our Company' headings in drop-down menu
------------------------------------------------------- */
.menu-light-grey-background  {
	background-color: #ececec !important;
}

/* Dark grey background bands on 'Product' headings in drop-down menu - DISABLED
------------------------------------------------------- 
.menu-grey-background  {
	background-color: #d1d1d1 !important;
}
*/

/* Highlight 'SHOP ONLINE' with a red border 
------------------------------------------------------- */
@media only screen and ( min-width: 981px ) { 
	#top-menu {
		margin-bottom: 3px;
	}
	
	.menu-item-red-border a {
		color: #333 !important;
	}

	li.menu-item-red-border {
    	text-align: center; 
		border: 3px solid #e70012;
    	padding: 12px 13px 12px 12px !important;
		margin-right: 10px !important;
		border-radius: 50px 50px 50px 50px;
		height: 42px;
	}	
}

/* Show 'Download' icon on top menu items
------------------------------------------------------- */
@media all and (min-width: 981px) {
   selector { font-family: 'ETmodules'; }
   .menu-icons a { padding-left: 20px;  }
   .menu-icons a:before { font-family: 'ETmodules'; position: absolute; }
   #top-header .menu-icons a:before { left: 0px; top: 0px; }
   /********************* MENU ICONS ***************************/
   /*** DOWNLOAD ***/ .icon_download a:before { content: "\e092"; }
}


/* Menu hover colors
------------------------------------------------------- */
#top-menu-nav > ul > li > a:hover  {
	opacity: 1.0; 
	-webkit-transition: all 0.1s ease-in-out;
	-moz-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out; 
}

#et-secondary-menu > ul > li > a:hover,
#et-info-email:hover,
.et-social-icons a:hover {
	color: #ffffff;
	text-decoration: underline;
	opacity: 1.0; 
	font-weight: bold;
	-webkit-transition: all 0.1s ease-in-out;
	-moz-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;
}

#top-menu-nav #top-menu a:hover { 
	color: red !important;  /* red */
/*	color: #e04b4b !important;  /* lighter red */
	opacity: 1.0; 
}

/* TAB STYLING - FOR PRODUCT APPLICATIONS SECTION
================================================================= */
/* Make Tab background pale blue
------------------------------------------------------- 
ul.et_pb_tabs_controls {
	background-color: #D3DDFF;
}

.et_pb_tabs .et_pb_all_tabs {
	border: none;
}

.et_pb_tabs .et_pb_tabs_controls,
.et_pb_all_tabs .et_pb_active_content,
.et_pb_tabs li.et_pb_tab_active,
.et_pb_tabs li.et_pb_tab_0,
.et_pb_tabs li.et_pb_tab_1,
.et_pb_tabs li.et_pb_tab_2,
.et_pb_tabs li.et_pb_tab_3,
.et_pb_tabs li.et_pb_tab_4,
.et_pb_tabs li.et_pb_tab_5,
.et_pb_tabs li.et_pb_tab_6  { 
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}

/* Tab rounded-corners and bottom padding
------------------------------------------------------- 
.tab-rounded-corners-padding  {
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	margin-bottom: 10px;
}  */

/* COLLAPSE-O-MATIC STYLING
================================================================= */
.collapseomatic {
/*	Background-color: #d5d5d5; */
	Background-color: #e1e1e1; 
	font-family: Calibri,Helvetica,sans-serif;
/*	color: #046a9f; */
	color: #2468A5;
/*	font-size: 16px; */
	font-size: 18px;
/*	padding: 0px 0px 0 30px; */
	padding: 5px 0px 5px 30px;
	text-decoration: none;
	margin-bottom: -15px;
}

.collapseomatic_content {
/*	Background-color: #f3f3f3; */
	Background-color: #ffffff;
	margin: 0 0 0 0;
	border-style: none solid none solid;
	border-width: 30px;
/*	border-color: #f3f3f3; */
	border-color: #ffffff;
	padding: 10px 0 0 0;
}

/* BLOG INDEX PAGE - LEFT FEATURED BLOG THUMBNAIL LAYOUT
================================================================= */
@media only screen and ( min-width: 800px ) {
	.bbb-blog-list a img  {
    	float: left;
	    width: 35%;
	    padding-right: 20px;
	    vertical-align: bottom;
	    padding-bottom: 30px;
	}
}

/* Change MORE link to a button
------------------------------------------------------- */
.bbb-blog-list a.more-link {
    clear: both;
    display: inline-block;
    position: relative;
    background: #e04b4b; /* lighter red */
    font-size: 14px;
	font-weight: 600;
    color: #ffffff;
    max-width: 100%;
    padding: 5px 10px;
    text-align: center;
    margin-top: 10px;
/*    text-transform: uppercase; */
    letter-spacing: 1px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}

.bbb-blog-list a.more-link:hover {
	background: #d90505; /* slightly darker red */
	text-decoration: none !important;
	padding: 5px 12px;
	font-weight: bold;
}

/* Change blog title on INDEX page to uppercase, semi-bold
------------------------------------------------------- */
.et_pb_post h2 a, .entry-title {
/*    text-transform: uppercase; */
	font-weight: 600;
}

/* BLOG WP-PAGENAVI STYLING
================================================================== */
/* Center the pagination */
.wp-pagenavi { text-align:center; }

/* Add a border */
.wp-pagenavi span, .wp-pagenavi a, .wp-pagenavi :last-child { 
    border: 1px solid #bbb !important; 
    padding: 6px 12px; 
    margin: 0;  
}
.wp-pagenavi span, .wp-pagenavi a { border-right: none !important; }

/* Style the default text */
.wp-pagenavi span, .wp-pagenavi a { 
    font-weight: bold !important; 
	background-color: #f6f6f6 !important;
    color: #666 !important;   /* old color: #999  */
}

/* Style the current / hovered page link */
.wp-pagenavi span.current,
.wp-pagenavi a:hover { 
    color: #fff !important;  /* old color: #666  */
    background-color: #4d70d7 !important;  /* medium-light blue  */
}

/* Style the page count text */
.wp-pagenavi :first-child { color: #666 !important; }

/* Add text to the "next" link */
.wp-pagenavi .nextpostslink:before { content: 'Next '; }
.wp-pagenavi .previouspostslink:after { content: ' Prev'; }

/* =========================================================================================== */
/* GRAVITY FORMS CUSTOMSATION */

/* GRAVITY FORMS - REMOVE LABEL ON FIELDS USING PLACEHOLDER 
================================================================= */
.gform_wrapper .top_label .gfield_label,
.gform_wrapper .field_sublabel_below .ginput_complex.ginput_container label {	
	display: none !important;
}

/* GRAVITY FORMS - FIELD STYLING
================================================================= */
body .gform_wrapper .gform_body .gform_fields .gfield input[type="text"],
body .gform_wrapper .gform_body .gform_fields .gfield input[type="email"], 
body .gform_wrapper .gform_body .gform_fields .gfield input[type="tel"], 
body .gform_wrapper .gform_body .gform_fields .gfield textarea {
	background: #ffffff;
	border: none;
	border-radius: 0;
	color: #333 !important;
	padding: 10px 15px !important;
}

.gform_wrapper .gform_fileupload_multifile .gform_drop_area  {
	background: #fff !important;
}

body .gform_wrapper .gform_body .gform_fields .gfield .ginput_container_fileupload .gform_button_select_files {
	color: #ffffff;	
	background: #e04b4b; /* lighter red */
	border: solid 2px #e04b4b; /* lighter red */
	border-radius: 5px;	
	font-size: 15px;	
	cursor: pointer;
}

/* GRAVITY FORMS - 'SEND MESSAGE' BUTTON STYLING 
================================================================= */
body .gform_wrapper .gform_footer input[type=submit] { 
/*	float:right; */
	width: 98.5%;
	color: #ffffff;
	background: #e04b4b; /* lighter red */
	border: solid 2px #e04b4b; /* lighter red */
/*	border-radius: 5px; */
	font-size: 15px;
	font-weight: bold;
	letter-spacing: 1px;
	padding: 12px 23px; 
	cursor: pointer;
/*	height: 35px; 
	min-width: 150px; 
	border: 0; */
}

/* Change to  slightly darker red
----------------------------------------------------------------- */
body .gform_wrapper .gform_footer input:hover[type=submit] {
	font-size: 16px;
	background: #d90505; /* slightly darker red */
}



/* CONTACT PAGE - GOOGLE MAP OVERLAY
================================================================= */
/* Place an overlay of maps to prevent pointer events getting to them.  A click will activate the map
------------------------------------------------------- */
.map {
	width:100%;
	height:600px;	
}


.map-wrap {
	position:relative; 
}
	
.overlay {
	width:100%;
	min-height:600px; 
	position:absolute; 
	top:0;
}

/* WIDE FOOTER - OVERRIDE DEFAULT SETTINGS
================================================================= */
@media all and (min-width: 768px) {
	#main-footer .container, #footer-bottom .container {
		padding-top: 0%;
		margin-top: 0%;
		margin-bottom: 0%;
		margin-right: 5%; 
		margin-left: 5%; 
		width:90%!important;
		max-width: 90%;
	}
}

@media all and (max-width: 767px) {
	#main-footer .container {
		padding-top: 4%; 
	}
}


#footer-widgets {
	padding-top: 3%;
} 

/* FOOTER WIDGETS & BOTTOM BAR LINK COLOURS 
================================================================= */
/* Footer links hover colour - white underlined
------------------------------------------------------- */
#footer-info a:hover,
#footer-widgets .footer-widget a:hover  {
	color: #ffffff !important;
	text-decoration: underline;
	font-weight: bold;
	opacity: 1.0
}

/* FOOTER - REDUCE FOOTER WIDGET TOP AND BOTTOM GAPS 
================================================================= */
#main-footer .footer-widget {
	margin-top:-20px;
	margin-bottom: 40px;
}


