/*
 Theme Name:   Divi Child
 Theme URI:    http://cooldesign.co.za
 Description:  A Child Theme built for Divi
 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
*/
/* =========================================================================================== 
   BLOWER DOOR FLORIDA
/* =========================================================================================== */
/* GENERAL STYLING */

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

/* FOOTER BOTTOM BAR LINK HOVER STYLING
================================================================= */
#footer-info a:hover { 
	opacity: 1 !important;
	border-bottom: 2px solid;
	-webkit-transition-duration: 0.0s !important;
	transition-duration: 0.0s !important;
	-webkit-transition-timing-function: cubic-bezier(0,0,0,0);
	transition-timing-function: cubic-bezier(0,0,0,0);
}

/* IMAGE HOVER EFFECT - GROW
================================================================= */
.img-hover-effect {
	transform: translateZ(0);
	transition-duration: 0.3s;
	transition-property: transform;
}

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

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

/* NEWS SIDEBAR WIDGET SPACING - SEARCH & 'SEE ALL NEWS ...' BUTTON
================================================================= */
#search-2 {
	margin-bottom: 30px;
}

#custom_html-2  {
	margin-bottom: 30px;
}

/* LINKS HOVER STYLING - DIFFERENT COLOURS & UNDERLINE LINKS ON HOVER
================================================================= */
/* a:hover {
	color: #fff !important;
	border-bottom: 2px solid;	
} */

.link-hover-blue-underlined a:hover {
	color: #2ea3f2 !important; /* light blue on hover */
	border-bottom: 2px solid;	
}

#footer-info a:hover,
#footer-widgets .footer-widget a:hover  {
	color: #fff !important;
	text-decoration: none !important;
	border-bottom: 2px solid; /* wide underline and turn white in Footer */
}

/* BLURB LINK COLOUR FOR CONTACT PAGE
================================================================= */
.blurb-link-colour a:link {
	color: #ffffff !important;
}

.blurb-link-colour a:hover {
	color: #ffffff !important;
	border-bottom: 2px solid;	
}


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

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

/* =========================================================================================== */
/* HEADER STYLING */

/* 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 one to the Fixed Header too - disabled for now
----------------------------------------------------------------- */ 
/* #main-header.et-fixed-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);
 }
*/

/* Remove it on the Home page - disabled for now
-----------------------------------------------------------------
.home #main-header { 
	-webkit-box-shadow: 0px 0px 0px 0px rgba(0,0,0,0);
	-moz-box-shadow: 0px 0px 0px 0px rgba(0,0,0,0);
	box-shadow: 0px 0px 0px 0px rgba(0,0,0,0);
 } */ 

/* Remove it from the Fixed Header on the home page too
----------------------------------------------------------------- */
.home #main-header.et-fixed-header {
	-webkit-box-shadow: 0px 0px 0px 0px rgba(0,0,0,0);
	-moz-box-shadow: 0px 0px 0px 0px rgba(0,0,0,0);
	box-shadow: 0px 0px 0px 0px rgba(0,0,0,0);
 }

/* PAINT A 10-PIXEL LOGO-BLUE BORDER ABOVE THE TOP MENU ON MOBILES
=================================================================  */
@media all and (max-width: 980px) {
	#main-header {
	border-top: 10px solid #184287 !important; /* logo-blue */
	}
}
 
/* =========================================================================================== */
/* LOGO STYLING */
 
/* LOGO - ADD SMALL PADDING AT THE BOTTOM - DISABLED
=================================================================
@media all and (min-width: 480px) {
	#logo {
	    padding-bottom: 10px;
	}
} */

/* LOGO - MAKE IT A LITTLE BIGGER ON MOBILES
================================================================= 
@media only screen and (max-width : 980px) {
    #logo { 
    	margin-top: 0px;
	    max-height: 100%;
    }
} */

/* =========================================================================================== */
/* BUTTON STYLES */

/* SCROLL TO TOP BUTTON COLOUR - LOGO BLUE
================================================================= */
.et_pb_scroll_top.et-pb-icon {
	background: #2269b7;
}

/* WATERMELON BUTTON
================================================================= */
.button-watermelon {
	background-color: #f16976; /* watermelon red */
	border: none;
	border-radius: 4px;
	box-shadow: none;
	color: #fff !important;
	font-weight: bold;
	cursor: pointer;
	padding: 5px 8px;
	width: auto;
}

.button-watermelon:hover {
	background-color: #f04e5e; /* brighter watermelon red */
	color: #fff !important;
	text-decoration: none !important;
	border: 0 !important; 
	padding: 6px 9px;
	font-weight: bold;
}

/* WATERMELON BUTTON-LARGE
================================================================= */
.button-watermelon-large {
	background-color: #f16976; /* watermelon red */
	border: none;
	border-radius: 4px;
	box-shadow: none;
	color: #fff !important;
	font-weight: bold;
	cursor: pointer;
	padding: 16px 20px;
	width: auto;
}

.button-watermelon-large:hover {
	background-color: #f04e5e; /* brighter watermelon red */
	color: #fff !important;
	text-decoration: none !important;
	border: 0 !important; 
	padding: 17px 21px;
	font-weight: bold;
}

/* BLACK BUTTON
================================================================= */
.button-black {
	background-color: #000; /* black */
	border: none;
	border-radius: 4px;
	box-shadow: none;
	color: #fff !important;
	font-weight: bold;
	cursor: pointer;
	padding: 8px 15px;
	width: auto;
}

.button-black:hover {
	background-color: #184287; /* logo-blue */
	color: #fff !important;
	text-decoration: none !important;
/*	border: 0 !important; */
	border: 1px solid white !important; 
	font-weight: bold;
	padding: 11px 18px;
}

/* BLUE BUTTON
================================================================= */
.button-blue {
	background-color: #2f9ef9; /* light blue */
	border: none;
	border-radius: 4px; 
	box-shadow: none; 
	color: #fff !important;
	font-weight: bold;
	cursor: pointer;
/*	padding: 5px 8px; */
	padding: 16px 20px;
	width: auto;
}

.button-blue:hover {
	background-color: #2b8cdc; /* darker blue */
	color: #fff !important;
	text-decoration: none !important;
	border: 0 !important;
	padding: 17px 21px;
	font-weight: bold;
}

/* RED BUTTON
================================================================= */
.button-red {
	background-color: #e02b20; /* red */
	border: none;
	border-radius: 4px;
	box-shadow: none;
	color: #fff !important;
	font-weight: bold;
	cursor: pointer;
	padding: 5px 8px;
	width: auto;
}

.button-red:hover {
	background-color: #f63226; /* lighter red */
	color: #fff !important;
	text-decoration: none !important;
	border: 0 !important;
	font-weight: bold;
}

/* =========================================================================================== */
/* BULLET STYLES */

/* IMAGE BULLETS
================================================================= */
.bullet-blue-image {
	list-style-image: url("http://t45.co.za/wp-content/uploads/2017/11/bullet-blue.png");
	padding-left: 10px;
}

.bullet-green-image {
	list-style-image: url("http://t45.co.za/wp-content/uploads/2017/11/bullet-green.png");
	padding-left: 10px;
}

.bullet-gold-image {
	list-style-image: url("http://t45.co.za/wp-content/uploads/2017/11/bullet-gold.png");
	padding-left: 10px;
}

/* SQUARE BULLET
================================================================= */
.bullet-square {
	list-style-type: square;
	padding-left: 10px;
	margin-left: 10px
}

/* CIRCLE BULLET
================================================================= */
.bullet-circle {
	list-style-type: circle;
	padding-left: 10px;
	margin-left: 20px
}

/* NO BULLET
================================================================= */
.bullet-none {
	list-style-type: none;
	padding-left: 10px;
	margin-left: 0px
}

/* =========================================================================================== */
/* SECONDARY MENU CUSTOMISATION - TOP-MOST MENU */

/* CENTRE SECONDARY MENU
================================================================= */
#et-secondary-menu {
	text-align: center;
	float:none;
}
 
.et_vertical_nav #top-header {
	padding-right: 0px;
	margin-left: 0px;
}

/* SECONDARY SUB-MENU - ALIGN LEFT
================================================================= */

/* Align the sub-menu background box to the left
----------------------------------------------------------------- */
 #et-secondary-nav li ul {
    padding: 1em 0;
    position: absolute;
    left: 0;
}
/* Align the sub-menu text to the left
----------------------------------------------------------------- */
#et-secondary-nav li {
    text-align: left !important;
}

/* SECONDARY MENU - ACTIVE BACKGROUND COLOUR - WHITE
================================================================= */

/*
#et-secondary-menu li.current-menu-item > a,
#et-secondary-menu li.current-menu-ancestor > a { 
	background-color: #fff !important;
	color: #184287 !important; /* logo blue 
} */

/* Disabled - PAGE SCROLL TO ID tests ==============================================  
/* PAGE SCROLL TO ID code 
#et-secondary-menu .current-menu-item a.mPS2id-highlight {
	background-color: #fff !important; 
	color: #184287 !important;  ...... logo blue 
}
==================================================================================== */


#et-secondary-menu > ul > li a {
	padding-top: 10px;
	margin-top: -10px;	
	padding-left: 15px;
	padding-right: 15px;
	margin-right: -18px;  /* closes gaps between menu items to 2px */
}

/* SECONDARY MENU - HOVER TEXT COLOUR - WHITE
================================================================= */
#et-secondary-menu a {
	-webkit-transition-duration: 0.0s;
	transition-duration: 0.0s;
	-webkit-transition-timing-function: cubic-bezier(0,0,0,0);
	transition-timing-function: cubic-bezier(0,0,0,0);
}

#et-secondary-menu a:hover {
	background-color: #fff !important;
	color: #184287 !important; /* logo blue */
	opacity:1 !important; 
	-webkit-transition-duration: 0.0s !important;
	transition-duration: 0.0s !important;
	-webkit-transition-timing-function: cubic-bezier(0,0,0,0);
	transition-timing-function: cubic-bezier(0,0,0,0);
}

/* SECONDARY MENU IN FOOTER - ACTIVE COLOUR - WHITE
================================================================= */
.bottom-nav li.current-menu-item > a,
.bottom-nav li.current-menu-ancestor > a { 
	color: #fff !important; /* active menu item in bold white, underlined */
	font-weight: bold;
	text-transform: uppercase;
	border-bottom: 2px solid;
}

/* SECONDARY MENU IN FOOTER - HOVER COLOUR - WHITE 
================================================================= */
.bottom-nav a:hover {
	color: white !important;
	opacity: 1 !important;
	border-bottom: 2px solid;
	-webkit-transition-duration: 0.0s;
	transition-duration: 0.0s;
	-webkit-transition-timing-function: cubic-bezier(0,0,0,0);
	transition-timing-function: cubic-bezier(0,0,0,0);	
}

/* =========================================================================================== */
/* MAIN MENU CUSTOMISATION - CALLED 'TOP' MENU IN CSS - THE ONE ALONGSIDE THE LOGO */

/* MAIN (TOP) MENU - HOVER COLOUR PURPLE - SAME BASE PURPLE
================================================================= */
#top-menu-nav #top-menu a:hover,
#mobile_menu_slide a:hover { 
	color: #2269b7 !important; /* logo-blue */
	opacity:1 !important; 
	-webkit-transition-duration: 0.0s;
	transition-duration: 0.0s;
	-webkit-transition-timing-function: cubic-bezier(0,0,0,0);
	transition-timing-function: cubic-bezier(0,0,0,0);	
}

/* MAIN (TOP) MENU - ANIMATED UNDERLINES ON HOVER 
================================================================= */
/*  Note - had to use Font Awesome icons to work with this - Divi icons clash */
#top-menu .current-menu-item a::before,
#top-menu .current_page_item a::before {
	content: "";
	position: absolute;
	z-index: 2;
	left: 0;
	right: 0;
} 

#top-menu li a:before {
	content: "";
	position: absolute;
	z-index: -2;
	left: 0;
	right: 100%;
	bottom: 50%;
	background: #2ea3f2; /*** COLOR OF THE LINE - light blue ***/
	height: 3px; /*** THICKNESS OF THE LINE ***/
	-webkit-transition-property: right;
	transition-property: right;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-timing-function: ease-out;
	transition-timing-function: ease-out;
}

#top-menu li a:hover {
	opacity: 1 !important;
}

#top-menu li a:hover:before {
	right: 0;
}

#top-menu li li a:before {
	bottom: 10%;
} 

/* =========================================================================================== */
/* MOBILE MENU CUSTOMISATION */

/* MOBILE MENU - HANBURGER LINES IN LOGO-BLUE ON WHITE
=================================================================  */
.mobile_menu_bar:before {
/*	background-color: #184287; */
/*	padding: 2px 2px 2px 2px; */
	color: #184287!important; /* logo blue */
}

/* MOBILE MENU - TURN LIGHT BLUE LINE INTO LOGO-BLUE LINE - DISABLED
================================================================= 
.et_mobile_menu { 
	border-top: 3px solid #184287; 
} */


/* MOBILE MENU - NEW LAYOUT
================================================================= */
/* Tablets only - double column
----------------------------------------------------------------- */
@media all and (min-width: 768px) and (max-width: 980px) {
	.et_mobile_menu {
		border:0px #fff;/*Change this*/
		width:125%;
		margin-left: -12.5%;
	}

	.et_mobile_menu li a,
	.et_mobile_menu .menu-item-has-children > a {
		width: 49%;
		float: left;
		background:#b5b5b5; /* grey background */
		margin-bottom:5px;
		margin-right:1%;
		color:#fff !important;/*Change this*/
		text-align: center;
		font-size: 18px
	}

	#mobile_menu .current_page_item a {
/*		background: #db1c24; very nice red */
		background: #184287; /* logo-blue */		
		color: #fff !important;;/*Change this*/
	}
}

/* Phones only - single column
----------------------------------------------------------------- */
@media all and (max-width: 767px) {
	.et_mobile_menu {
		border:0px #fff; /* White border - currently switched off */
		width:125%;
		margin-left: -12.5%;
	}

	.et_mobile_menu li a,
	.et_mobile_menu .menu-item-has-children > a {
		width: 90%;
		/* float: left; */
		margin-left: auto;
		margin-right: auto;
		background:#b5b5b5; /* grey background */
		margin-bottom:5px;
		/* margin-right:1%; */
		color:#fff !important; /* White text */
		text-align: center;
		font-size: 18px
	}

	#mobile_menu .current_page_item a {
/*		background: #db1c24; very nice red */
		background: #184287; /* logo-blue */
		color: #fff !important; /* White text */
	}
}

/* =========================================================================================== */
/* BLOG CUSTOMISATION */

/* LEFT FEATURED BLOG THUMBNAIL ON INDEX PAGE
================================================================= */
@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;
	}
}

/* PAGINATION ON INDEX PAGE - MAKE BOLDER
================================================================= */
.pagination {
	font-weight: bold;
}

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

.bbb-blog-list a.more-link:hover  {
	background-color: #f04e5e; /* lighter watermelon red button */
}

/* Change blog title on INDEX page to uppercase, semi-bold
----------------------------------------------------------------- */
.et_pb_post h2 a, .entry-title {
/*	text-transform: uppercase; */
	font-weight: 600;
/*	margin-top: -25px; .... this has been placed in the NEWS page 
    settings CSS repository so it only applies to that page and 
	not the Latest News blocks at the bottom of the individual posts */
}

/* BOLD PREVIOUS POSTS WIDGET TITLE
================================================================= */
.widgettitle  {
	font-weight: bold;
}

/* PROVIDE A FIXED WIDTH CONTAINER FOR THE FIRST PHOTO IN A BLOG
================================================================= */
/*@media only screen and (max-width: 980px) { */

.blog-photo-container  {
	width: 520px;
	height: 320px;
	float: left;
	padding: 0 20px 20px 0;
}

/* resize images */
.blog-photo-container img {
    width: 100%;
   	height: auto;
}

/* 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; /* very light grey */
    color: #666 !important;   /* darker grey - old color: #999  */
}

/* Style the current / hovered page link */
.wp-pagenavi span.current,
.wp-pagenavi a:hover { 
    color: #fff !important;  /* white text on blue background - old color: #666  */
    background-color: #2269b7 !important;  /* Blue - same as the bottom bar  */
}

/* 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 - GIVE BOXES ROUNDED CORNERS
================================================================= */
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="url"], 
body .gform_wrapper .gform_body .gform_fields .gfield input[type="tel"], 
body .gform_wrapper .gform_body .gform_fields .gfield input[type="password"], 
body .gform_wrapper .gform_body .gform_fields .gfield select, 
body .gform_wrapper .gform_body .gform_fields .gfield textarea {
	background-color: #fff;
	color: #333;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px; 
	box-shadow: 1px 1px 3px #d2d2d2;
}

/* GRAVITY FORMS - MULTI-PAGE STEPS INDICATOR STYLING 
================================================================= */
/* All Steps 
----------------------------------------------------------------- */
body .gform_wrapper .gf_page_steps .gf_step {
	color: #666666;
	opacity: 1;
}

/* Active Step
----------------------------------------------------------------- */
body .gform_wrapper .gf_page_steps .gf_step_active {
	color: #2f9ef9;
	font-size: 16px;
	font-weight: bold;
}

/* For sold-style progress bar
----------------------------------------------------------------- */
/* h3.gf_progressbar_title  {
	font-size: 14px !important;
	font-weight: bold !important;
	color: #444444 !important;	
} */

/* GRAVITY FORMS - MULTI-PAGE PREV/NEXT/SUBMIT BUTTON STYLING 
================================================================= */
/* Previous Button Styling 
----------------------------------------------------------------- */
body .gform_wrapper .gform_body .gform_page_footer .gform_previous_button {
	background-color: #2f9ef9; /* light blue */
	border: none;
	border-radius: 4px;
	box-shadow: none;
	color: #fff !important;
	font-size: 15px;
	font-weight: bold;
	cursor: pointer;
	height: 35px; 
	min-width: 100px; 
}

/* Change to darker blue on hover
----------------------------------------------------------------- */
body .gform_wrapper .gform_body .gform_page_footer .gform_previous_button:hover {
	background-color: #2b8cdc; /* darker blue */
	height: 36px; 
	min-width: 101px; 
}

/* Next Button Styling
----------------------------------------------------------------- */
body .gform_wrapper .gform_body .gform_page_footer .gform_next_button {
	background-color: #2f9ef9; /* light blue */
	border: none;
	border-radius: 4px;
	box-shadow: none;
	color: #fff !important;
	font-size: 15px;
	font-weight: bold;
	cursor: pointer;
	height: 35px; 
	min-width: 100px; 
}

/* Change to darker blue on hover
----------------------------------------------------------------- */
body .gform_wrapper .gform_body .gform_page_footer .gform_next_button:hover {
	background-color: #2b8cdc; /* darker blue */
	height: 36px; 
	min-width: 101px;
}

/* Submit Button Styling
----------------------------------------------------------------- */
body .gform_wrapper .gform_body .gform_page_footer .gform_button {
	background: #f16976; /* watermelon red button */
	border: none;
	border-radius: 4px;
	box-shadow: none;
	color: #fff !important;
	font-size: 15px;
	font-weight: bold;
	cursor: pointer;
	height: 35px; 
	min-width: 100px; 
}

/* Change to darker watermelon red on hover
----------------------------------------------------------------- */
body .gform_wrapper .gform_body .gform_page_footer .gform_button:hover {
	background: #f04e5e; /* darker watermelon red */
	height: 36px; 
	min-width: 101px;
}

/* GRAVITY FORMS - REGULAR FORM 'SEND MESSAGE' BUTTON STYLING 
================================================================= */
body .gform_wrapper button[type="submit"] {
	color: #ffffff;
	background: #f16976; /* watermelon red button */
	font-size: 15px;
	font-weight: bold;
	letter-spacing: 1px;
	float:left; 
/*	margin-left: 10px; */
	height: 35px; 
	min-width: 150px; 
	border: 0;
/*	border: solid 1px #909090; */
	border-radius: 4px;
}

/* Change to darker watermelon red on hover
----------------------------------------------------------------- */
body .gform_wrapper button[type="submit"]:hover {
	background: #f04e5e; /* darker watermelon red */
/*	border: solid 1px #000000; */
	height: 36px; 
	min-width: 151px; 
}

/* WHY DID I PUT THIS HERE? 
================================================================= */
#main-footer .footer-widget h4 {
	margin-top:-20px;
}

/* FOOTER WIDGET SPACING - REDUCE TOP AND BOTTOM MARGINS 
================================================================= */
@media only screen and (min-width : 979px) {
	.footer-widget #text-2.fwidget.et_pb_widget.widget_text,
	.footer-widget #text-3.fwidget.et_pb_widget.widget_text,
	.footer-widget #text-4.fwidget.et_pb_widget.widget_text  {
		margin-top:-20px !important;
		margin-bottom:-30px !important;
	}
}

/* HIDE SIDEBAR ON 404 ERROR POSTS 
================================================================= */

/*** Take out the divider line between content and sidebar ***/
.error404 #main-content .container:before {background: none;}


/*** Hide Sidebar for 404 pages ***/
.error404  #sidebar {display:none;}



