/* 
 Theme Name:     majestic divi child theme
 Author:         Mark Hendriksen
 Author URI:     https://www.markhendriksen.com
 Template:       Divi
 Version:        1.0
 Description:    A Child Theme to increase conversions
*/ 


/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */ 

/* ##### CHANGE COLORS ##### */

/* ##### FONT COLOR CTA BUTTON IN MENU ##### */
@media (min-width: 981px) {
.cta_menu a {
	color: #fff !important;
}}

/* ##### FONT COLOR CTA BUTTON MOBILE MENU ##### */
.et_mobile_menu li.cta_menu a {
    color: #fff;
}

/* ##### BACKGROUND COLOR CTA BUTTON IN MENU ##### */
.cta_menu {
	background-color: #73be0f;	
}

/* ##### BACKGROUND COLOR DROPDOWN IN MENU ##### */
.custom_menu li li {
    background-color: #fff !important;
}

/* ##### TEXT COLOR DROPDOWN IN MENU ##### */
.custom_menu li ul.sub-menu li a {
	color: rgba(0,0,0,.6) !important;
}

/* ###### BLOG BUTTON ###### */
.more-link {
    background-color: #1e5096;
    color: #fff;
}

/* ######### SIDEBAR WIDGETS TOP BORDER COLOR ########## */
.et_pb_widget {
	border-top: 5px solid #1e5096;
}

/* ###### SIDEBAR MENU COLORS ###### */

.et_pb_widget_area .menu .menu-item {
	background-color: #e5e5e5;
}

.et_pb_widget_area .menu .menu-item:hover {
	background-color: #1e5096;
}

.et_pb_widget_area .menu .menu-item:hover a {
	color: #fff;
}

.et_pb_widget_area .menu .menu-item a {
	color: #444;
}

.et_pb_widget_area .menu .current-menu-item {
	background-color: #1e5096;
}

.et_pb_widget_area .menu .current-menu-item a {
	color: #fff !important;
}

/* ###### END COLORS ###### */

/* #####  GENERAL ##### */

#main-header {
	display: none;
}

#page-container {
	padding-top: 0px !important;
}

/* ##### MENU ##### */

.fullwidth-menu li {
	padding-right: 65px;
}

@media (min-width: 981px) and (max-width: 1350px) {
.custom_menu_section .custom_menu .et_pb_row {
	padding-left: 15px !important;	
}}	
	

@media (min-width: 981px) and (max-width: 1250px) {
.fullwidth-menu li {
	padding-right: 25px;
}}

@media (min-width: 981px) {
.cta_menu {
	float: right !important;
	padding-left: 35px;
	padding-right: 35px !important;
}

.cta_menu a {
	font-size: 18px!important;
}

.custom_menu .fullwidth-menu-nav ul {
	padding-top: 0px !important;
}

.custom_menu ul li a {
	padding-top: 20px !important;
	padding-bottom: 20px !important;
}}

.et_mobile_menu li.cta_menu a {
	text-align: center;
}

.mobile_menu_bar {
	text-align: center !important;
}

@media (max-width: 479px) {
.text_phone,
.phoneTop {
	text-align: center !important	
}

.et_pb_text.text_phone {
	margin-top: 0px !important;	
}

.phoneTop {
	padding-bottom: 25px;	
}}

@media (min-width: 981px) and (max-width: 1750px) {
.custom_row_width {
	width: 95% !important;
	max-width: 95% !important;
}
	
.custom_top_header .top_header_blurb {
	max-width: 100% !important;
}}

@media (min-width: 981px) and (max-width: 1150px) {
.custom_top_header .top_header_blurb .et_pb_blurb_description {
	font-size: 16px !important;
}}

@media (min-width: 981px) and (max-width: 1250px) {
.custom_top_header .phoneTop {
	font-size: 28px !important;
}}

@media (min-width: 981px) and (max-width: 1750px) {
.custom_menu .et_pb_row {
	width: 100% !important;
	max-width: 100% !important;
	padding-left: 50px !important;
}}

/* ###### DROPDOWN ###### */

.custom_menu li ul.sub-menu {
    padding: 0px 0 !important;
}

.custom_menu li ul.sub-menu li a {
    font-size: 18px !important;
	font-weight: 600;
}

.custom_menu ul li li a {
    padding: 6px 10px !important;
	margin-top: 2px;
}
.custom_menu li li {
    margin-top: 2px !important;
}

.custom_menu .menu-item-has-children>a:first-child:after {
	top: 20px;
}

/* ##### HOME PAGE ##### */

@media (min-width: 981px) {
.badge_home {
	position: absolute;
}

.home_cta_middle {
	width: 135%;	
}}

.blurb_image_home_page .et_pb_main_blurb_image {
	 width: 150px !important;
}

.blurb_image_home_page .et_pb_blurb_container {
    padding-left: 35px;
}

.shadow_blurb_hover {
	-webkit-transition: all .3s ease-out;
	-moz-transition: all 0.3s ease-out;
	-ms-transition: all 0.3s ease-out;
	-o-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}

.shadow_blurb_hover:hover {
	box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.5);
}

.contactform_home .et_contact_bottom_container,
.contactform_home .et_pb_contact_submit {
	width: 100% !important;
	overflow: hidden;
}

.contactform_home .et_pb_contact_submit {
	margin: 0 0 0 13px !important;
}

.contactform_home .et_pb_button:hover, .contactform_home .et_pb_module .et_pb_button:hover {
    padding: .3em 1em;
}

@media (min-width: 981px) {
.et_pb_column.testimonial_home_page {
	margin-top: 50px !important;
	margin-left: -75px !important;
}}

@media (min-width: 981px) and (max-width: 1650px) {
.home_contact .et_pb_blurb.home_blurb_title_contact h4 {
	font-size: 50px;	
}

.home_contact .home_contact_title_h3 h3 {
	font-size: 50px;
}

.home_contact .home_contact_column_2 {
	padding-left: 75px;
	padding-right: 75px;
}}

@media (min-width: 981px) and (max-width: 1350px) {
.home_contact_blurb {
	padding-left: 50px;
}}

/* ##### ABOUT US PAGES ##### */

@media (min-width: 981px) and (max-width: 1400px) {
.about_us_column_top_padding {
	padding-top:100px;
}}

/* ##### TESTIMONIAL PAGE ##### */

.custom_testimonial .et_pb_testimonial_description {
	float: right;
    display: inline-block;
    width: 50%;
    text-align: right;
}

.custom_testimonial .et_pb_testimonial_portrait {
    display: block;
    float: left;
}

@media (min-width: 981px) and (max-width: 1300px) {
.custom_testimonial .et_pb_testimonial_portrait {
    text-align: center;
    float: none;
}

.custom_testimonial .et_pb_testimonial_description {
	float: none;
    width: 100%;
    text-align: center;
}}

/* ##### BLOG PAGE ##### */

.more-link {
    display: inline-block !important;
    text-transform: uppercase;
    padding: 2px 15px;
    margin-top: 15px;
    box-shadow: 0px 0px 30px 10px rgba(0, 0, 0, 0.1);
}

/* ##### QUOTE PAGE ##### */

@media (max-width: 980px) {
.quote_page_row {
	width: 80% !important;
}}


/* ######### SIDEBAR WIDGETS ########## */

.et_pb_widget {
	border: 1px solid #e5e5e5;
}

/* ######## BADGE ######### */

@media (min-width: 981px) {
.image_badge {
	position: absolute;
}

.image_badge img {
    bottom: 71px;
	left: 60px;
}}

@media (max-width: 980px) {
.bottom_cta .et_pb_text_inner {
	text-align: center;
}}

/* ###### SIDEBAR MENU ###### */

@media all and (max-width: 980px) {
.et_pb_column .et_pb_widget.widget_nav_menu {
	width: 100% !important;
}}

.et_pb_widget_area .menu .menu-item {
	padding: 10px 20px 10px 20px;
	-webkit-transition: all .3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.et_pb_widget_area .menu .menu-item a {
	-webkit-transition: all .3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.widget_nav_menu h4 {
	font-weight: bold !important;
    margin-bottom: 10px;
    font-size: 28px !important;
}

/* ######### SIDEBAR ########## */

.et_pb_widget {
	padding: 30px;
	border-radius: 5px;
}

h4.widgettitle {
	font-size: 24px;
	font-weight: bold;
}

/* ######### SIDEBAR SERVICES STACKING ORDER ########## */

@media all and (max-width: 980px) {
/*** wrap row in a flex box ***/
.column_row_stacking_order {
  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;
}}


/* ##### CTA FIXED DESKTOP ##### */

.cta_fixed_right_container {
	position:fixed;
	bottom: 0;
	right:0px;
	z-index:9999999;
	transform: translateX(100%);
	box-shadow: rgba(0, 0, 0, 0.12) 0px 0px 10px;
    transition: 0.5s ease-out;
}

.show_form {
	transform: translateX(0px);
}


.cta_fixed_right_tab_text {
    transform: translate(-100%, -0%) rotate(0deg);
    transform-origin: right bottom 0px;
    position: absolute;
    bottom: -20px;
    text-align: center;
    justify-content: center;
    padding: 1.3rem 1rem 1rem 1em;
    margin: 0px;
    display: flex;
}

.cta_fixed_right_tab_text:hover {
	cursor: pointer;
}

.custom_contact_form p input, .custom_contact_form p textarea {
    padding: 15px 0 10px 0 !important;
}

.fa-times-circle {
	font-size: 22px;
	cursor: pointer;
	color: #fff !important;
}

/* ##### CTA FIXED MOBILE ##### */

@media (max-width: 980px) {
.cta_fixed_right_container_mobile {
	position:fixed;
	bottom: 0 !important;
	right:0px !important;
	left:0px !important;
	z-index:99999999;
	transform: translateY(100%);
	transition: 0.5s ease-out;
}

.cta_fixed_right_tab_text_mobile  {
	transform: translate(0%, -100%) rotate(0deg);
    transform-origin: center bottom 0px;
    position: absolute;
    top: 0px;
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 1.3rem 1rem 1rem 1em;
    margin: 0px;
    display: flex;
}

.show_form {
transform: translateY(0px);
}

.cta_fixed_right_tab_text_mobile:hover {
	cursor: pointer;
}	

.cross_icon .fa-times-circle {	
	float: right !important;
    margin-right: 35px !important;	
}}

@media (max-height: 560px) {
.cta_fixed_right_container_mobile {
	display: none;	
}}

.cta_fixed_right_container_mobile .fa-times-circle {
	font-size: 22px;
	cursor: pointer;
	color: #000 !important;
}

/* ###### DIVI 4.0+ FIXES  ###### */

@media only screen and (min-width: 981px) {
.fullwidth-menu li {
    padding-right: 60px !important;
}
	
.nav li li {
    padding-right: 20px !important;
}

.et_pb_fullwidth_menu--without-logo .et_pb_menu__menu>nav>ul {
    padding-top: 0px !important;
}

.et_pb_fullwidth_menu--without-logo .et_pb_menu__menu>nav>ul>li {
    margin-top: 0px !important;
}

.et_pb_menu__menu,
.fullwidth-menu-nav,
.et-menu.fullwidth-menu {
	width: 100% !important
}

li.cta_menu {
	position: absolute !important;
    right: 0px !important;
    padding: 0px 35px !important;
}}

.et_mobile_nav_menu {
	margin: 0 auto !important;
}

.custom_menu li li:first-child {
    margin-top: 0px !important;
}
