/*
 Theme Name:   Divi-child
 Theme URI:    //divi.space/
 Description:  A Child Theme built for Divi on Divi Space
 Author:       Cathy Topping
 Author URI:  //yourwebtoolkit.com
 Template:     Divi
 Version:      1
 License:      GNU General Public License v2 or later
 License URI:  //www.gnu.org/licenses/gpl-2.0.html
*/

/***** HEADER IMAGE ****/
.header-content {width: 50% !important; padding: 30px 30px 30px 46px !important;}
.header-content h2 {font-size: 60px; color: #ffe901!important; text-align: left !important; text-transform: uppercase;}
.header-content p {line-height: 1.5em; text-align: left !important; color: #142d4b!important;}

/***** MOBILE DROPDOWN LINE COLOUR ****/
.et_mobile_menu { border-top: 3px solid #FFE901; }

/*****HOVER LINE TO NAV BAR ****/
#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: #ffe901; /*** COLOR OF THE LINE ***/
 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%;
}


/***** LINE ****/
hr {
    width: 120px;
    height: 5px;
    background: #ffe901 none repeat scroll 0% 0%;
    border: medium none;
    margin-bottom: 0px;
}



/*******************************************************************
******************** IMAGE OVERLAY ************************
******************************************************************/
.border-hover .et_pb_column {
 overflow: hidden;
 position: relative;
}
 
.border-hover .et_pb_column img {
 -webkit-transition: all 0.5s ease-in-out;
 -moz-transition: all 0.5s ease-in-out;
 transition: all 0.5s ease-in-out;
}
 
.border-hover .et_pb_column:hover img {
 transform: scale(1.1);
}
 
.border-hover .et_pb_column:hover .et_pb_image:after {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: rgba(0,0,0,0.4);
 content: '';
}
 
.border-hover .et_pb_column .et_pb_promo_description:before {
 top: 50px;
 right: 30px;
 bottom: 50px;
 left: 30px;
 border-top: 1px solid #ffe901;
 border-bottom: 1px solid #ffe901;
 -webkit-transform: scale(0,1);
 transform: scale(0,1);
 -webkit-transform-origin: 0 0;
 transform-origin: 0 0;
 position: absolute;
 content: '';
 opacity: 0;
 -webkit-transition: opacity 0.35s,
 -webkit-transform 0.35s;
 transition: opacity 0.35s, transform 0.35s;
}
 
.border-hover .et_pb_column .et_pb_promo_description:after {
 top: 30px;
 right: 50px;
 bottom: 30px;
 left: 50px;
 border-right: 1px solid #ffe901;
 border-left: 1px solid #ffe901;
 -webkit-transform: scale(1,0);
 transform: scale(1,0);
 -webkit-transform-origin: 100% 0;
 transform-origin: 100% 0;
 position: absolute;
 content: '';
 opacity: 0;
 -webkit-transition: opacity 0.35s,
 -webkit-transform 0.35s;
 transition: opacity 0.35s, transform 0.35s;
}
 
.border-hover .et_pb_column:hover .et_pb_promo_description:before, .border-hover .et_pb_column:hover .et_pb_promo_description:after {
 -webkit-transition-delay: 0.15s;
 transition-delay: 0.15s;
 opacity: 1;
 -webkit-transform: scale(1);
 transform: scale(1);
}
 
.border-hover .et_pb_column .et_pb_promo_description h2 {
 opacity: 0;
 color: #ffe901;
 position: absolute;
 top: 37%;
 width: 100%;
 text-align: center;
 -webkit-transition: all 0.5s ease-in-out;
 -moz-transition: all 0.5s ease-in-out;
 transition: all 0.5s ease-in-out;
 margin: 0;
 padding: 0;
}
 
.border-hover .et_pb_column .et_pb_promo_description p {
 opacity: 0;
 color: #fff;
 position: absolute;
 top: 42%;
 width: 100%;
 text-align: center;
 -webkit-transition: all 0.5s ease-in-out;
 -moz-transition: all 0.5s ease-in-out;
 transition: all 0.5s ease-in-out;
}
 
.border-hover .et_pb_column:hover .et_pb_promo_description h2 {
 opacity: 1;
 position: absolute;
 top: 40%;
 width: 100%;
 text-align: center;
 color: #ffe901;
}
 
.border-hover .et_pb_column:hover .et_pb_promo_description p {
 opacity: 1;
 position: absolute;
 top: 50%;
 width: 100%;
 text-align: center;
 color: #fff;
}
 
.border-hover .et_pb_promo {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
}
 
.border-hover .et_pb_promo_button {
 opacity: 0;
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
}
.border-hover .et_pb_promo_description {
 position: static !important;
}

/*******************************************************************
******************** IMAGE OVERLAY FOR BLOG, PODCAST ETC ************************
******************************************************************/
/* Make sure our absolute positioned overlay doesn't cover more than we want it to... */
.overlay-one { position: relative; }

.overlay-one:after {
 position: absolute;
 content: '';
 background: url('http://thepitchqueen.siteworkinprogress.com/wp-content/uploads/2017/06/The-Pitch-Queen-podcast-2.png');
 background-size: cover; /* Make overlay fit the window of our original image */
 top: 0;
 right: 0;
 bottom: 0;
 left: 0;
 opacity: 0; /* Make's the overlay invisible until we hover */
 transition: .5s ease all; /* How long the transition takes */
}

.overlay-one:hover:after {
 opacity: 1; /* Make Image Appear */
}

/*******************************************************************
******************** IMAGE OVERLAY FOR BLOG, PODCAST ETC ************************
******************************************************************/
/* Make sure our absolute positioned overlay doesn't cover more than we want it to... */
.overlay-two { position: relative; }

.overlay-two:after {
 position: absolute;
 content: '';
 background: url('http://thepitchqueen.siteworkinprogress.com/wp-content/uploads/2017/06/COFFEE-IS-FOR-CLOSERS-2.png');
 background-size: cover; /* Make overlay fit the window of our original image */
 top: 0;
 right: 0;
 bottom: 0;
 left: 0;
 opacity: 0; /* Make's the overlay invisible until we hover */
 transition: .5s ease all; /* How long the transition takes */
}

.overlay-two:hover:after {
 opacity: 1; /* Make Image Appear */
}

/*******************************************************************
******************** IMAGE OVERLAY FOR BLOG, PODCAST ETC ************************
******************************************************************/
/* Make sure our absolute positioned overlay doesn't cover more than we want it to... */
.overlay-three { position: relative; }

.overlay-three:after {
 position: absolute;
 content: '';
 background: url('http://thepitchqueen.siteworkinprogress.com/wp-content/uploads/2017/06/The-Pitch-Queen-blog-2.png');
 background-size: cover; /* Make overlay fit the window of our original image */
 top: 0;
 right: 0;
 bottom: 0;
 left: 0;
 opacity: 0; /* Make's the overlay invisible until we hover */
 transition: .5s ease all; /* How long the transition takes */
}

.overlay-three:hover:after {
 opacity: 1; /* Make Image Appear */
}



/*******************************************************************
******************** SOCIAL MEDIA FOOTER ************************
******************************************************************/
ul.et_pb_social_media_follow {
    text-align: center;
}
ul.et_pb_social_media_follow li {
    display: inline-block;
    float: none;
}

.et_pb_social_media_follow li a.icon::before {	color: #000 !important;	}



