/*
Theme Name: Possibilities Child
Description: Child theme for the Divi theme
Author: Sunflower Blog Designs - Sunflower Creatives
Template:Divi
Version: 1.0
*/



/*---------------------- [TABLE OF CONTENT]------------------------------  */
/*
* Mobile Menu -Tablets
* Menu Area
* Footer
* Box Shadows
* Horizontal Optin
* Slider
* Sections Dividers - Down Arrow
* Text & Images
* Blog Layout
* Mobile
*/



/*----------------------------------------------------------------------------------------*/
/* ------------------------------------ [MOBILE ]------------------------------------------------ */
/*----------------------------------------------------------------------------------------*/

/* --------------------- CHANGE TO HAMBURGER MENU ON TABLETS --------------------------------- */
@media only screen and (max-width: 1024px) and (min-width: 981px) {
#et_mobile_nav_menu {display: block !important;}
#top-menu {display: none !important;}
}

@media only screen and (max-width: 1024px) and (min-width: 981px) and (orientation:landscape) {
#et_mobile_nav_menu {display: block !important;}
#top-menu {display: none !important;}

.et_mobile_menu {
    position: absolute;
    left: 50%!important;
    padding: 5%;
    background: #FFF none repeat scroll 0% 0%;
    width: 50%;
    visibility: visible;
    opacity: 1;
    display: none;
    z-index: 9999;
    border-top: 3px solid #2EA3F2;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}
}


/*--------------------------------------------------------------------------------------*/
/*---------------------------------------[MENU AREA]------------------------------------*/
/*--------------------------------------------------------------------------------------*/
 
/*--------- CTA BUTTON IN THE MENU ----------- */
    .menu-button {border-radius: 0px; height:30px;}
    .menu-button a {color: #fff!important;}
    li.menu-button {
        color:#fff!important;
        background-color: #212121; 
        font-weight: 700; 
        text-transform: uppercase; 
        text-align: center; 
        padding: 10px 20px 25px 20px !important;
        -moz-transition: all 0.5s; 
        -webkit-transition: all 0.5s;
        transition: all 0.5s;}
    li.menu-button:hover {background-color: #898b88 ; color: #ffffff !important;}


/*------------- FIXED MENU SCROLLING STATE TEXT COLOR ON MENU BUTTON  -------------- */

#top-menu > li.menu-button a {
    color: #ffffff !important;
}

.menu-button .et-fixed-header #top-menu li.current-menu-item > a {color: #ffffff !important;}

/*------------ ADD THIS ONLY IF YOUR CTA BUTTON HAS A DROP DOWN MENU -------------- */

    li.menu-button li a {
        color: #666!important;
        width: 160px;
        text-transform: none;
        font-weight: normal;
        background-color:#fff;}
 
 
/*---------------------------- CTA MENU BUTTON ON MOBILE MENU ------------------------- */

  .et_mobile_menu li a {padding: 10px 5%; line-height: normal;}
  .et_mobile_menu li.menu-button {background-color: #777777; padding-left: 0px; line-height: 1.7em; text-align: left;}
  .et_mobile_menu li.menu-button a{color: #fff!important; font-weight: 900; padding-top: 0px; text-align: center;} 



/*------------ [END CTA MENU BUTTON ON MOBILE]------------- */


/* -------------------- MENU HOVER EFFECTS --------------------- */


/*  Hover Opacity  */
#top-menu-nav > ul > li > a:hover, #et-secondary-menu > ul > li > a:hover, #et-info-email:hover, .et-social-icons a:hover {
    opacity: 1.0;
    transition: all 0.4s ease-in-out 0s;
}

/*--------------------------    [  Drop Down Menu ]--------------------------------- */
.nav li ul { position: absolute; top: 25px; left: -27px;  padding: 0px;}
#top-menu li li a { padding: 10px 0px; width: 240px !important; padding-left: 8px !important; border-top: solid 1px #cccccc !important;}
#top-menu li li, .nav li li {  padding: 0px 0px; margin: 0px;}


/* Horizontal Opt In Module  */

.subscribe-section .et_pb_newsletter_description{
                display:none;
}
.subscribe-section .et_pb_newsletter_form{
                width:100%;
                float:none;
                padding-left:0;
}

.subscribe-section .et_pb_newsletter_form p{
                width:31%;
                float:left;
                margin-right:15px;
                padding-bottom:0;
                line-height:1;
}

.subscribe-section .et_pb_newsletter_form p.et_pb_newsletter_field input[type="text"]{
                padding: 10px 4% !important;
}
.subscribe-section.et_pb_newsletter_form p input{
                padding:10px 4%!important;
}
.subscribe-section.et_pb_newsletter_form p .et_pb_button{
                padding:12px 4%!important;
                line-height:1em!important;
}

.subscribe-section.et_pb_newsletter_form input[type="text"], .et_pb_newsletter_form p.et_pb_newsletter_field input[type="text"]{margin-bottom: 10px !important;}


@media only screen and (max-width: 768px){
                
                .subscribe-section.et_pb_newsletter .et_pb_newsletter_fields > p:first-of-type,  .subscribe-section.et_pb_newsletter .et_pb_newsletter_fields > p:nth-of-type(2){
                                flex-basis: 31% !important;
                                margin-right: 0 !important;
                }              
                .subscribe-section .et_pb_contact_field_options_wrapper{
                                display: flex;
                                align-items: center;
                }
                .subscribe-section .et_pb_contact_field_options_wrapper .et_pb_contact_field_options_title{
                                margin-right: 10px;
                                margin-bottom: 0;
                }              
}
@media only screen and (min-width: 981px){
                .subscribe-section.et_pb_newsletter .et_pb_newsletter_fields > * {flex-basis: 30% !important;
} 
}

/*----------------------------------------------------------------------------------------*/
/*------------------------------------  [SECTION SLIDER]--------------------------------- */
/*----------------------------------------------------------------------------------------*/

/* ------ REMOVE SHADOW FROM SLIDER ------ */

  .short .et-pb-controllers { position: absolute; bottom: -30px; left: 0px; width: 100%; text-align: center; z-index: 10;}
  .short .et_pb_slide_description { padding-top: 40px; padding-bottom: 0px; animation-duration: 0.7s; animation-delay: 0.9s;    
    animation-timing-function: ease-in-out; animation-fill-mode: both; animation-name: fadeBottom;}

  .short .et_pb_slide_content {font-size: 18px; font-weight: 400;  padding-bottom: 5px;}

  .short .et_pb_slide_content p { padding-bottom: .3em; line-height: 1.5em;}


/*----------------------------------------------------------------------------------------*/
/*----------------------------[SHADOW BOXED ITEMS]----------------------------------*/
/*----------------------------------------------------------------------------------------*/
/* Box Around the Testimonial Slider Row  */
#shadow-box.et_pb_row {
    padding: 80px ;
    outline:5px solid #d6d6d6;
    outline-offset:10px;
    margin-top: -220px;
    margin-bottom: 30px;
}

#blog-page-shadow-box.et_pb_row {
    padding: 20px ;
    outline:5px solid #d6d6d6;
    outline-offset:10px;
    margin-bottom: 30px;
}

/* Home Page */
#shadow-box.et_pb_newsletter { 
    outline:5px solid #d6d6d6;
    outline-offset:10px;
    }

/* Contact Page */
#shadow-box.et_pb_text {
 padding: 20px;
 outline:5px solid #d6d6d6;
 background-color: #d6d6d6 !important; 
 outline-offset:10px;
    }

#praises .et_pb_toggle_open {
    padding: 20px;
    outline: 5px solid #d6d6d6;
    outline-offset: 10px;
}

#praises .et_pb_toggle_close{
    padding: 20px;
    outline: 5px solid #d6d6d6;
    outline-offset: 10px;
}


/*---------------------------------------------------------------------------------------------*/
/*---------------------------------------[Section Dividers] -----------------------------------*/
/*---------------------------------------------------------------------------------------------*/

   
/* ----------------------------------- BOTTOM ARROW POINTING DOWN USED IN REGULAR SECTIONS ------------------------------- */   

/* ---- BOTTOM ARROW ------ */
  .bottom-triangles::before, .bottom-triangles::after {position: absolute; content: ''; pointer-events: none;}   
  .bottom-triangles::before, .bottom-triangles::after {left: 50%; width: 50px; height: 50px; -webkit-transform: translateX(-50%)
    rotate(45deg); transform: translateX(-50%) rotate(45deg);}
       
/* ----------- BOTTOM ARROW POINTING DOWN.  CURRENTLY SET TO INHERIT THE BACKGROUND OF THE SECTION ------ */   
   .bottom-triangles::after { bottom: -20px; z-index: 10; background: inherit;}


 .bottom-triangles.et_pb_section {margin-top: 0px; padding-top: 5px; padding-bottom: 20px;  position: relative;}

/*----------------------------------------[End of Triangles Dividers]---------------------------------*/




/* ------------------------ SMALL TRANSPARENT ARROW FOR HERO/HEADER IMAGES (TOP OF PAGES) ------------------------------ */
.arrow-transparent{overflow: hidden;}

.arrow-transparent:after,.arrow-transparent:before{content:'';position:absolute;bottom:0;width:50%;z-index:100;-moz-transform:rotate(0.000001deg);-webkit-transform:rotate(0.000001deg);-o-transform:rotate(0.000001deg);-ms-transform:rotate(0.000001deg);transform:rotate(0.000001deg);
border-bottom:50px solid #fff; /* << Change to background color of next section */
}

.arrow-transparent:before{right:50%;border-right:100px solid transparent; 
border-left:1000px solid #fff; /* << Change to background color of next section */
}
.arrow-transparent:after{left:50%;border-left:100px solid transparent; 
border-right:1000px solid #fff; /* << Change to background color of next section */
}

.arrow-transparent.et_pb_section { background-position: top; min-height: 400px;}

/*----------------------------------------------------------------------------------------*/
/* ------------------------------------ [TEXT ]------------------------------------------------ */
/*----------------------------------------------------------------------------------------*/

h2 {font-size: 30px; line-height: 1.1em;}
h3 {font-size: 25px !important; color: #23282d;}
h4 {color: #23282d;}
.shadow.et_pb_text {text-shadow: 2px 2px #333333; }


/* -------------------- FONT AWESOME ------------------------- */
.fa { padding-right: 8px; padding-left: 8px;}

/*----------------------------------------------------------------------------------------*/
/* ------------------------------------ [SHADOW BOXES ]------------------------------------------------ */
/*----------------------------------------------------------------------------------------*/

/*---------------  HEADER TITLE WITH SHADOW BOX FOR HERO IMAGES IN SECTIONS USING DOWN ARROWS ------------ */
.arrow-transparent  .header-content {
  padding: 10px ;
  background-color: rgba(247,247,247,0.6)!important;  
  outline:5px solid rgba(255,255,255,0.55);
  outline-offset:10px;
  width: 40% !important;
}

/* --------------------------- HERO HEADER - CENTER ALIGNED SETTING & FLOAT LEFT ----------------------------- */
.arrow-transparent .et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content {float: left;}
.normal .et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content {
float: left;
}

/*---------------  HEADER TITLE WITH SHADOW BOXES FOR HERO IMAGES IN NORMAL SECTIONS ------------ */
.normal  .header-content {
  padding: 10px ;
     background-color: rgba(247,247,247,0.6)!important;  
    outline:5px solid rgba(255,255,255,0.55);
    outline-offset:10px;
    width: 40% !important;
  
}

@media only screen and (max-width: 479px) {
.arrow-transparent .header-content { width: 100% !important;}
}

/* ---------------------------- FANCY TIMELINE ON SERVICES PAGE -----------------------------   */

.cbp_tmtimeline {margin: 30px 0 0 0; padding: 0; list-style: none !important; position: relative;} 

/* ------- THE LINE ---------- */
.cbp_tmtimeline:before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 10px;
	background: #d6d6d6;
	left: 20%;
	margin-left: -10px;
}

.cbp_tmtimeline > li {position: relative;}

/* ------------------ THE DATE/TIME ------------ */
.cbp_tmtimeline > li .cbp_tmtime {display: block; width: 34%; padding-right: 120px; position: absolute; font-size: 25px;}

.cbp_tmtimeline > li .cbp_tmtime span { display: block; text-align: right;}
.cbp_tmtimeline > li .cbp_tmtime span:first-child { font-size: 0.9em; color: #bdd0db;}
.cbp_tmtimeline > li .cbp_tmtime span:last-child {font-size: 2.9em; color: #3594cb;}
.cbp_tmtimeline > li:nth-child(odd) .cbp_tmtime span:last-child {color: #6cbfee;}

/* -------- RIGHT COLUMN --------- */
.cbp_tmtimeline > li .cbp_tmlabel {
	margin: 0 0 15px 25%;
	background: #DBCFB7;
	padding: 2em;
	font-size: 1.2em;
	font-weight: 300;
	line-height: 1.4;
	position: relative;
	border-radius: 5px;
}

.cbp_tmtimeline > li:nth-child(odd) .cbp_tmlabel {background: #d6d6d6;}
.cbp_tmtimeline > li .cbp_tmlabel h2 { margin-top: 0px; padding: 0 0 10px 0; border-bottom: 1px solid rgba(255,255,255,0.4);}

/* ------------ THE TRIANGLE ------------ */
.cbp_tmtimeline > li .cbp_tmlabel:after {
	right: 100%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-right-color: #DBCFB7;
	border-width: 10px;
	top: 10px;
}

.cbp_tmtimeline > li:nth-child(odd) .cbp_tmlabel:after {border-right-color: #E5E7E8;}

/*------------ THE ICONS ------------ */
.cbp_tmtimeline > li .cbp_tmicon {
	width: 40px;
	height: 40px;
	font-family: 'ecoico';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	font-size: 1.4em;
	line-height: 40px;
	-webkit-font-smoothing: antialiased;
	position: absolute;
	color: #fff;
	background: #DBCFB7;
	border-radius: 50%;
	box-shadow: 0 0 0 8px #d6d6d6;
	text-align: center;
	left: 20%;
	top: 0;
	margin: 0 0 0 -25px;
}

/* -------------- THE ICONS ---------*/
.cbp_tmtimeline > li .cbp_tmicon {
	width: 40px;
	height: 40px;
	font-family: 'Font Awesome';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	font-size: 1.4em;
	line-height: 40px;
	-webkit-font-smoothing: antialiased;
	position: absolute;
	color: #fff;
	background: #DBCFB7;
	border-radius: 50%;
	box-shadow: 0 0 0 8px #d6d6d6;
	text-align: center;
	left: 20%;
	top: 0;
	margin: 0 0 0 -25px;
}

.cbp_tmtimeline > li i fa {
	width: 40px;
	height: 40px;
	font-family: 'Font Awesome';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	font-size: 1.4em;
	line-height: 40px;
	-webkit-font-smoothing: antialiased;
	position: absolute;
	color: #fff;
	background: #DBCFB7;
	border-radius: 50%;
	box-shadow: 0 0 0 8px #d6d6d6;
	text-align: center;
	left: 20%;
	top: 0;
	margin: 0 0 0 -25px;
}



/* --------------------- FANCY TIMELINE MEDIA QUERIES----------- */
@media screen and (max-width: 65.375em) {.cbp_tmtimeline > li .cbp_tmtime span:last-child {font-size: 1.5em;}}

@media screen and (max-width: 47.2em) {.cbp_tmtimeline:before {display: none;}
.cbp_tmtimeline > li .cbp_tmtime {width: 100%; position: relative; padding: 0 0 20px 0;}
.cbp_tmtimeline > li .cbp_tmtime span {text-align: left;}
.cbp_tmtimeline > li .cbp_tmlabel {margin: 0 0 30px 0; padding: 1em; font-weight: 400; font-size: 95%;}
.cbp_tmtimeline > li .cbp_tmlabel:after {right: auto; left: 20px; border-right-color: transparent; border-bottom-color: #DBCFB7; top: -20px;}
.cbp_tmtimeline > li:nth-child(odd) .cbp_tmlabel:after {border-right-color: transparent; border-bottom-color: #d6d6d6;}
.cbp_tmtimeline > li .cbp_tmicon {position: relative; float: right;left: auto; margin: -55px 5px 0 0px;}	
}



/*------------------------------ [ IMAGES ]------------------------------------ */

.et_pb_post a img { width: auto;}
.single article img { width: auto;}

.hover.et_pb_image img:hover { opacity: 0.4; -moz-transition: all 0.5s;  -webkit-transition: all 0.5s; transition: all 0.5s;}


/*----------------------------------------------------------------------------------------*/
/* ------------------------------------ [BLOG ]------------------------------------------------ */
/*----------------------------------------------------------------------------------------*/

#blog-hero {background-position: top;}
/*--------------------- SINGLE POSTS ----------------------*/

.form-allowed-tags{display:none;}

#post-nav-section {margin-top: 1em; margin-bottom: 1em;}

/* --------------- CUSTOM BLOG MODULE SETTINGS FOR FULL-WIDTH SETTING -------------- */

.plain-grid .et_pb_post {position: relative; } 
.plain-grid .et_pb_post {margin-bottom: 20px; margin-left: auto; margin-right: auto;  padding-left: 1%; padding-right: 1%; max-width: 1080px; display: block;} 
.plain-grid .et_pb_post h2 {
    position: absolute;
    bottom: 23%;
    text-align: center;
    color: #23282d;
    margin-left: 9%; 
    margin-right: 9%;
    width: 80%;
    z-index: 10000;
    padding: 20px;
    display: block;
    background-color: rgba(247,247,247,0.6)!important;  
    outline:5px solid rgba(255,255,255,0.55);
    outline-offset:10px;
}

.plain-grid .et_overlay { max-width: 1080px;} 

@media only screen and (max-width: 479px) {
.plain-grid .et_pb_post h2 { bottom: 20%; padding: 10px ; }
.plain-grid .et_overlay::before { display: none;}
.plain-grid .et_overlay::before:hover { display: none;}

 }

/* Overlay Icon position adjusted  */
.plain-grid .et_overlay::before { top: 30%;}
.plain-grid .et_overlay::before:hover { top: 30%;}

/* ---------------------- SIDEBAR ------------------------- */
#sidebar .et_pb_widget {border-bottom: 1px solid #ddd; padding-bottom: 20px; margin-bottom: 20px;} 
#sidebar .et_pb_widget:last-of-type {border-bottom:0;}

