/*
 Theme Name:  Divi Child Theme
 Theme URI:    https://divilife.com
 Description:  Child Theme for Divi
 Author:       Tim Strifler
 Author URI:   https://divilife.com
 Template:     Divi
 Version:      1.0.1
*/

/*****Add any custom CSS below this line*****/

/* Typography */
h1 {font-family:'Poppins',Helvetica,Arial,Lucida,sans-serif; font-size:58px; font-weight:200; letter-spacing:5px; line-height:1.1em; text-transform:uppercase;}
h2 {font-family:'Poppins',Helvetica,Arial,Lucida,sans-serif; font-size:42px; font-weight:300; letter-spacing:3px; line-height:1.1em; text-transform:uppercase;}
h3 {font-family:'Poppins',Helvetica,Arial,Lucida,sans-serif !important; font-size:34px; font-weight:300; letter-spacing:3px; line-height:1em; text-transform:uppercase;}
h4 {font-family:'Poppins',Helvetica,Arial,Lucida,sans-serif !important; font-size:21px; font-weight:600; letter-spacing:3px; line-height:1em; text-transform:uppercase; color: #466f81!important;}
h5 {}
h6 {}
p {}

/* FLOATING BUTTON */
.sticky-divi-button {
color: #ffffff; /* You can change font color */
font-family: 'Poppins';
font-size: 18px;  /* You can change font size */
background-color: #466f81; /* You can change color button */
border-radius: 25px;
letter-spacing: 1px;
text-transform: uppercase;
text-decoration: none;
box-shadow: 0px 25px 28px -21px rgba(194,180,190,1);
padding: 10px 2%;
z-index: 10;
position: fixed;
bottom: 20px;
right: 20px;
}
.sticky-divi-button:hover {
color: #fff; /* You can change font color */
background-color: #5b5b5b; /* You can change color button on hover */
box-shadow: none;
}

/***MENU CTA***/
#top-menu li a:hover {opacity: 1!important;}

nav ul#menu-main-navigation li.nav-cta a span.et_pb_more_button {margin-top:0px !important;}

.menu-cta a {
	background-color: #477082;
    border: 2px solid #477082!important;
    padding: 12px!important;
    border-radius: 25px;
    text-align: center;
}
 
.menu-cta a:hover {
    background-color: transparent;
	color: white!important;
}
 
.et_header_style_left #et-top-navigation {
    padding-top: 16px!important;
}
 
.et_header_style_left .et-fixed-header #et-top-navigation {
    padding-top: 6px!important;
}
 
/***Menu CTA Button Mobile Settings***/
 
@media only screen and (max-width: 980px) {
.menu-cta a {
    background-color: #8dc63f;
    }
}

/* Background Video Overlay */
#bg-video-overlay span.et_pb_section_video_bg video:before {content:''; display:block;}

/* Horizontal Box (Image + Text) */
.horizontal-box>.et_pb_image {width:25%; float:left; margin-right:5%; height:100%;}
.horizontal-box>.et_pb_text {display:flex; width:70%;}
.horizontal-box .et_pb_image .et_pb_image_wrap {display:flex; height: 100%;}
.horizontal-box .et_pb_image .et_pb_image_wrap img {object-fit:cover; height:100%; position:absolute; width:100%}

/* Media Queries */
@media only screen and (max-width:767px) {
	h1 {font-size:40px;}
	h2 {font-size:30px;}
	h3 {font-size:18px;}
	
	h1.entry-title {font-size:32px;}
	
	
}

@media only screen and (max-width:991px) {
	/* Horizontal Box (Image + Text) */
	.horizontal-box>.et_pb_image {width:100%; float:none; margin-right:0%; height:150px;}
	.horizontal-box>.et_pb_text {display:flex; width:100%;}
}

@media all and (max-width: 980px) {
/*** wrap row in a flex box ***/
.custom_row {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
-webkit-flex-wrap: wrap; /* Safari 6.1+ */
flex-wrap: wrap;
}
 
/*** custom classes that will designate the order of columns in the flex box row ***/
.first-on-mobile {
-webkit-order: 1;
order: 1;
}
 
.second-on-mobile {
-webkit-order: 2;
order: 2;
}
 
.third-on-mobile {
-webkit-order: 3;
order: 3;
}
 
.fourth-on-mobile {
-webkit-order: 4;
order: 4;
}
/*** add margin to last column ***/
.custom_row:last-child .et_pb_column:last-child {
margin-bottom: 30px;
}
 
}