/*
Theme Name: Divi Child By Cornerstone Web Studio
Theme URI: http://cornerstone.studio
Description: A Custom Child Theme For Divi
Author: Cornerstone Web Studio
Author URI: http://cornerstone.studio
Template: Divi
Version: Updated for Divi 3
*/

/***********************************************************/
/***********************************************************/
/*-----CORNERSTONE.STUDIO CSS STYLING BELOW THIS POINT-----*/
/***********************************************************/
/***********************************************************/

 /* Move reCAPTCHA v3 badge to the left */
 .grecaptcha-badge {
  width: 70px !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  left: 4px !important;
}
.grecaptcha-badge:hover {
  width: 256px !important;
}

/* https://wpcreatorsclub.com/custom-bullet-list-icons-in-divi/ */
.customBullets ul li {
  padding-left: 30px;
  list-style:none;
  margin-bottom: 10px;
}
.customBullets ul li::before {
  content: '';
  display: inline-block;
  margin-right: 7px;
  margin-left: -30px;
  padding-right: 5px;
  font-family:'ETmodules';
  font-size: 1.2em;
  vertical-align: middle;
}
.customBulletsIcon ul li::before {
  content: '\5a';
	color: #c62127 !important;
}

.no_wrap {
	white-space: nowrap;
}

/*-----------------------------------------------*/
/*-----------[MOBILE MENU BREAKPOINT]------------*/
/*-------------[CORNERSTONE.STUDIO]--------------*/

@media ( max-width: 1451px ) {
	#top-menu-nav {display: none !important;}
	#et_top_search {display: none!important;}
	#et_mobile_nav_menu {display: block!important;}
}

/*-----------------------------------------------*/
/*-------------[GENERAL SITE STYLE]-------------*/
/*-------------[CORNERSTONE.STUDIO]--------------*/



/*------------------------------------------------*/
/*-----------------[HEADER-MENU]------------------*/
/*------------------------------------------------*/

.et_mobile_menu .first-level > a {
	position: relative;
}
.et_mobile_menu .first-level > a:after {
	font-family: 'ETmodules';
	content: '\4c';
	font-weight: normal;
	position: absolute;
	font-size: 16px;
	top: 13px;
	right: 10px;
}
.et_mobile_menu .first-level > .icon-switch:after{
	content: '\4d';
}
.second-level {
	display: none;
}
.reveal-items {
	display: block;
}
.et_mobile_menu {
	width: 100%;
}

#top-menu li li a {
	width: 240px;
}
#top-menu li.current-menu-ancestor>a {
	color: inherit !important;
}
#top-menu li.current-menu-item>a, #top-menu li.current_page_item>a {
    color: #c62127 !important;
}
#et-secondary-menu {
	float: unset;
	text-align: center;
}
.nav li ul {
	width: 280px;
}
.et_mobile_menu .menu-item-has-children>a {
	font-weight: inherit;
    background-color: transparent;
}
/*------------------------------------------------*/
/*------------------[HOMEPAGE]--------------------*/
/*------------------------------------------------*/


/*------------------------------------------------*/
/*------------------[SUBPAGES]--------------------*/
/*------------------------------------------------*/

/* specials page */
.dsm_card_title {
  margin-bottom: 94px;
}
@media screen and (max-width: 980px) {
	.dsm_card_title {
  		margin-bottom: auto !important;
	}
}



.content-with-ul ul,
.tabs-content ul {
	margin-top: 1em;
} 
.tabs-content h3 {
	font-size: 30px;
	padding-bottom: 10px;
}
p:not(.has-background):last-of-type {
    padding-bottom: 1em;
}
.no-pb p {
	padding-bottom: 0px !important;
}
.reviews-content hr {
	margin-bottom: 30px;
}
.single-post #left-area,
.search-results #left-area {
	width: 70%;
}
.single-post #sidebar,
.search-results #sidebar {
	width: 30%;
	border-left: 1px solid rgba(0,0,0,.1);
}
.single-post #main-content .container:before,
.search-results #main-content .container:before {
	display: none;
}
.wp-pagenavi {
	text-align: center;
}
.wp-pagenavi a, .wp-pagenavi span {
	border: none;
}
.single-post h1 {
	font-size: 35px;
}
.single-post h5 {
	font-size: 25px;
}
/*------------------------------------------------*/
/*-------------------[Footer]---------------------*/
/*------------------------------------------------*/

.testimonial-slider h4 {font-size:50px;}

/*show footer menu on phone*/
@media (max-width: 980px) {
	.open-mobile-menu .et_pb_menu__menu {
		display: flex!important;
	}
	.open-mobile-menu .et_mobile_nav_menu {
		display: none!important;
	}
}

/*------------------------------------------------*/
/* ----------- [Gravity Forms Styles] ----------- */
/*------------------------------------------------*/

/* Keep the reCAPTCHA V3 badge above everything */
.grecaptcha-badge {
	z-index: 99999;
}

/*.gravityFormInputField input, 
.gravityFormInputField select, 
.gravityFormInputField textarea { 
	background-color: #EBECF3 !important; 
	color: #000 !important; 
	font-size: 16px !important; 
	padding: 16px !important; 
	border: none; 
} 
.gravityFormInputField input:focus, 
.gravityFormInputField select:focus, 
.gravityFormInputField textarea:focus {  */
/* 	border: 2px solid #0e354a !important;  */
/* } */

/* Submit Button Sweep + Styles */
#gform_submit_button_2, #gform_submit_button_3 { 
	display: inline-block;
    vertical-align: middle;
    font-size: 15px;
    background-color: #c62127;
    border-width: 0px!important;
    border-color: rgba(255,255,255,0);
    border-radius: 0px;
    font-weight: normal;
    font-style: normal;
    text-transform: uppercase;
    text-decoration: none;
	padding: 1em 1.5em;
	cursor: pointer;
	color: #fff;
}
#gform_submit_button_2:hover, #gform_submit_button_2:focus, #gform_submit_button_2:active,
#gform_submit_button_3:hover, #gform_submit_button_3:focus, #gform_submit_button_3:active {
    background-color: #016afa !important;
} 


/*------------------------------------------------*/
/*----------------[Media Queries]------------------*/
/*------------------------------------------------*/

/* Desktop */
@media screen and (max-width: 1445px) {
  #top-menu, .fullwidth-menu, nav#top-menu-nav, nav.fullwidth-menu-nav {
    display:none!important;
  } 
	html footer .mobile_menu_bar {
		display: none !important;
	}
 #et_mobile_nav_menu, .et_mobile_nav_menu {  
    display: block!important;
  } 
	html .mobile_menu_bar:before {
		font-size: 50px !important;
	}
	html .et_mobile_menu {
		padding: 20px !important;
	}
}
@media screen and (max-width: 1200px) {
	
}
@media screen and (min-width: 981px) {
	html body .et_pb_gallery_item {
		width: 24% !important;
		margin-right: 1% !important;
	}
}
/* Tablet */
@media screen and (max-width: 980px) {
	.testimonial-slider h4 {font-size:40px;}
}
/* Mobile */
@media screen and (max-width: 480px) {
	.testimonial-slider h4 {font-size:30px;}
	.et_header_style_left #logo {
		max-width: 68%;
	}
	
}



/*------------------------------------------------*/
/*-------------[GRAVITY FORMS STYLES]-------------*/
/*------------------------------------------------*/

.gravityFormInputField input, 
.gravityFormInputField select, 
.gravityFormInputField textarea { 
	background-color: #ffffff !important; 
	color: #003071 !important; 
	font-size: 15px !important; 
	padding: 15px !important; 
	border: 1px solid #3e3e3e !important;
}

.gravityFormInputField input:focus, 
.gravityFormInputField select:focus, 
.gravityFormInputField textarea:focus { 
	color: #3e3e3e !important;
}

/* SUBMIT BUTTON STYLES */
/* #gform_submit_button_5 {  */
#gform_submit_button_4 { 
	font-size: 17px;
	font-family: 'work sans';
	color: #ffffff;
	line-height: 31px;
    font-weight: 500px;
	text-transform: uppercase;
	letter-spacing: 1px;
	background-color: #c62127;
	border: 0px solid white !important;
	display: inline-block;
    vertical-align: middle;
    padding: 12px 30px 12px 30px;
	transition: background 0.3s ease-in-out;
	
}
/* #gform_submit_button_5:hover, #gform_submit_button_5:focus, #gform_submit_button_5:active { */
#gform_submit_button_4:hover, #gform_submit_button_4:focus, #gform_submit_button_4:active {
	cursor: pointer;
	background-color: #016AFA !important;
}
/* move submit btn up a bit */
.top_label { padding-top: 0px !important; }
