/*
 Theme Name:     Clarks Divi
 Theme URI:      https://ad-mays.com
 Description:    Mays Divi Child Theme
 Author:         Mays & Associates
 Author URI:     https://ad-mays.com.com
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */
/* 01 Font Stylings */
h1 sup {
	font-size:24px;
}
h4 sup {
	font-size:14px;
}
/* 02 Header Stylings */
/* 02A Searchbar */
.ds-icon-search input.et_pb_searchsubmit,
.widget_search input#searchsubmit {
    background: transparent;
    color: transparent;
    border: none;
    width: 55px;
    z-index: 2;
}
/*Add padding to the search input field*/
.ds-icon-search input.et_pb_s,
.widget_search input#s {
    padding-right: 55px !important;
}
/*Add the icon*/
.ds-icon-search .et_pb_searchform:before,
.widget_search::before {
    content: '\55';
    position: absolute;
    font-family: 'ETModules';
    z-index: 1;
    right: 0;
    font-size: 20px;
    padding: 8px 20px;
} 
 /*01B Header Social Bar */
 .header-social .social-icon {
	height: 38px !important;
    width: 38px !important;
    -webkit-box-shadow: 0px 5px 3px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px 5px 3px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 5px 3px rgba(0, 0, 0, 0.5);
}
   .social-icon {
    width: 30px;
    margin: 0 5px 5px 0;
}
   .header-ace-logo {
    display: inline-block;
    width: 100px !important;
    margin-right: 10px !important;
}
 @media(max-width: 1641px) {
	 .header-ace-logo {
		width: 90px !important;
	}
	  .header-social .social-icon {
		height: 30px !important;
		width: 30px !important;
	  }
 }
 
 @media(max-width: 1441px) {
	  .header-social .social-icon {
		height: 24px !important;
		width: 24px !important;
	  }
 }
 

  @media(max-width: 1249px) {
	 .header-ace-logo {
		width: 70px !important;
	}
  }
  
  @media(max-width: 1168px) {
	.header-social .social-icon {
		height: 20px !important;
		width: 20px !important;
	  }
  }
  
   @media(max-width: 1085px) {
	 .header-ace-logo {
		width: 50px !important;
	}
  }
 
 @media(max-width: 981px) {
     .header-social {
       text-align: center;
     }
     .header-social .social-icon {
  	height: 38px !important;
    width: 38px !important;
}
   .social-icon {
    width: 30px;
    margin: 0 5px 5px 0;
}
   .header-ace-logo {
    width: 100px !important;
}
   }
 @media(max-width: 504px) {
	 .header-ace-logo {
		width: 90px !important;
	}
	    .header-social .social-icon {
		height: 28px !important;
		width: 28px !important;
	  }
 }
 
   @media(max-width: 400px) {
	.header-social .social-icon {
		height: 24px !important;
		width: 24px !important;
	  }
  }

/* 03 Blog Stylings */
/* 03A Blog Layout: Featured image on the left */
.et_pb_module.image-on-the-left .et_pb_ajax_pagination_container article.et_pb_post {  
	width: 100%; 
}  
.et_pb_module.image-on-the-left .et_pb_ajax_pagination_container article.et_pb_post .entry-featured-image-url {    
	width: 25%;
	float: left;
	margin-left: 15px;
	margin-right: 15px;
}  
.et_pb_module.image-on-the-left .et_pb_ajax_pagination_container article.et_pb_post .entry-title,  .et_pb_module.image-on-the-left .et_pb_ajax_pagination_container article.et_pb_post .post-meta,  .et_pb_module.image-on-the-left .et_pb_ajax_pagination_container article.et_pb_post .post-content {
    width: 70%;
	float: right; 
}
.post-content-inner {
	margin: 15px 0;
}
/* 03B Blog Button Stylings */
.more-link {
	background-color: #971A1F;
	font-weight:500;
	max-width:154px;
	padding: .3em 1em;
	text-transform: uppercase;
}
@media all and (max-width: 991px) {
    .et_pb_module.image-on-the-left .et_pb_ajax_pagination_container article.et_pb_post .entry-featured-image-url,    .et_pb_module.image-on-the-left .et_pb_ajax_pagination_container article.et_pb_post .entry-title,    .et_pb_module.image-on-the-left .et_pb_ajax_pagination_container article.et_pb_post .post-meta,    .et_pb_module.image-on-the-left .et_pb_ajax_pagination_container article.et_pb_post .post-content {      
		width: 100%;      
		float: none; 
	}      
	.et_pb_module.image-on-the-left .et_pb_ajax_pagination_container article.et_pb_post .entry-featured-image-url {          
		margin-left:0;          
		margin-right:0;      
	}
}

/* 03C Single Article Stylings */
.single .container {
	width: 90%;
}
h1.entry-title {
	font-weight: 700;
	font-size: 48px;
	color: #0a3758;
	line-height: 1.2em;
}
.bx-wrapper{
	max-width: 100%!important;
}

.larger-header{
	font-size: 72px;
}

.et_pb_toggle_title:before{
	content: "3";
}
.et_pb_toggle_open .et_pb_toggle_title:before{
	content: "2";
}
.hover-btn{
	opacity: 0;
}
.current-hover .hover-btn{
	opacity: 1 !important;
}
@media (min-width: 1200px){
	.closer-gutter{
		margin-right: 1% !important;
		width: 19.6% !important;
	}
}
@media( max-width: 1200px){
	.early-mobile-row{
		display: flex !important;
		flex-direction: ltr !important;
		flex-wrap: wrap !important;
	}
	.early-mobile-col{
		width: 100% !important;
		margin-right: 0 !important;
		margin-bottom: 3% !important;
	}
}

.dipl_testimonial_slider_0 .layout1 .dipl_testimonial_meta{
	border-color: #fff !important;
}
.dipl_testimonial_slider .dipl_testimonial_author_name{
	font-family: professor, sans-serif !important;
}
.dipl_testimonial_slider .dipl_single_testimonial_card{
	padding: 20px 20px 0 20px !important;
}
.blog-featured-image img{
	height: 600px !important;
	object-fit: cover;
}

@media only screen and (max-width: 767px){
	.larger-header{
		font-size: 50px;
	} 
}

/* Slider Controls */
.et-pb-controllers .et-pb-active-control {
	background-color:#a91e23 !important;
}
.et-pb-controllers a {
	opacity: 1;
}
/* Plugin Overrides */
/* Smashballoon Overrides */
.cff-item {
	box-shadow:3px 3px 10px rgba(0,0,0,0.57);
}
/*
.cff-html5-video, #cff .cff-photo {
	display: none;
}*/
/* Smashballon Text Style Overrides */
.cff-page-name {
	font-size: 20px !important;
	font-weight: 600;
}

.cff-item a {
	color:#0A3758;
}

.cff-date {
	font-size: 16px !important;
	font-weight: 300 !important;
}

.cff-post-text {
	font-size: 15px;
}

/* EventOn Overrides */

.ajde_evcal_calendar.boxy.boxstyle1 #evcal_list .eventon_list_event .desc_trig, .ajde_evcal_calendar.boxy.boxstyle1 .evo_boxtop {
	border-radius: 0;
}
.ajde_evcal_calendar.boxy.boxstyle1 #evcal_list .eventon_list_event .desc_trig {
	border-width: 3px;
	border-color: #a91e22;
}
/* Display complete event title on event grid */
.ajde_evcal_calendar.boxy.boxstyle1 #evcal_list .eventon_list_event .evcal_desc span.evcal_event_title {
 overflow-wrap:normal !important;
 word-wrap:normal !important;
 overflow:visible !important;
 white-space:normal !important;
 text-overflow:unset !important;
}
/*Event Top Cards */
.eventon_events_list .eventon_list_event .evcal_desc span.evcal_desc2, .evo_pop_body .evcal_desc span.evcal_desc2, .evo_h3 {
	text-transform: capitalize !important;
}
.ajde_evcal_calendar.boxy.boxstyle1 .eventon_list_event {
	border-radius: 0 !important;
}
/* Event button overrides */
.wp-block-button__link {
	background-color:#a91e23 !important;
	color: #ffffff !important;
	padding: 0.3em 1em !important;
	font-size: 20px !important;
}
.wp-block-button__link:hover {
	text-decoration: none !important;
}

/* Text Color overrides */
.evo_start .date {
	color: #0A3758 !important;
}

.evo_h3 {
	color:#0A3758 !important;
}
/* Hide Time of Event for Food Drive Event */
#event_4807_0 .evcal_time {
	display: none;
}
.evcal_time, .event_location_name {
		color: #131315 !important;
}
.ajde_evcal_calendar.color #evcal_list .eventon_list_event .evcal_cblock, .ajde_evcal_calendar.color #evcal_list .eventon_list_event .evoet_cx span.evcal_event_title, .ajde_evcal_calendar.color #evcal_list .eventon_list_event .evoet_cx span.evcal_event_subtitle, .ajde_evcal_calendar.color #evcal_list .eventon_list_event .evoet_cx em, .ajde_evcal_calendar.color #evcal_list .eventon_list_event .eventon_list_event .evoet_cx .evcal_desc_info, .ajde_evcal_calendar.color .eventon_events_list .eventon_list_event .evcal_cblock em.evo_day, .ajde_evcal_calendar.color .evoet_cx .evo_below_title .status_reason, .ajde_evcal_calendar.color .evoet_cx .evo_tz_time .evo_tz, .ajde_evcal_calendar.color .evoet_cx .evo_mytime.tzo_trig i, .ajde_evcal_calendar.color .evoet_cx .evo_mytime.tzo_trig b, .ajde_evcal_calendar.color .evoet_cx .evcal_desc3 em i, .ajde_evcal_calendar.color .evoet_cx .evcal_desc3 .evo_ep_pre, .ajde_evcal_calendar.color .evoet_cx .evcal_desc3 .evo_ep_time, .ajde_evcal_calendar.color .evoet_cx .evo_mytime.tzo_trig:hover i, .ajde_evcal_calendar.color .evoet_cx .evo_mytime.tzo_trig:hover b, .evo_lightboxes .color.eventon_list_event .evoet_cx .evo_below_title .status_reason, .evo_lightboxes .color.eventon_list_event .evcal_cblock, .evo_lightboxes .color.eventon_list_event .evoet_cx span.evcal_event_title, .evo_lightboxes .color.eventon_list_event .evoet_cx span.evcal_event_subtitle, .evo_lightboxes .color.eventon_list_event .evoet_cx em, .evo_lightboxes .color.eventon_list_event .evoet_cx .evcal_desc_info, .evo_lightboxes .color.eventon_list_event .evcal_cblock em.evo_day, .evo_lightboxes .color.eventon_list_event .evoet_cx .evo_tz_time > *, .evo_lightboxes .color.eventon_list_event .evoet_cx .evo_mytime.tzo_trig i, .evo_lightboxes .color.eventon_list_event .evoet_cx .evo_mytime.tzo_trig b, .ajde_evcal_calendar.color #evcal_list.eventon_events_list .eventon_list_event p .evoet_cx span.evcal_event_title {
	color: #0a3858 !important;
}

.evoet_cx .evoet_time_expand .evcal_time i.fa, .evoet_cx .evoet_location .evcal_location i.fa {
	color: #A91E23 !important;
}
.ajde_evcal_calendar.color .evcal_cblock .evo_end:before, .evo_lightboxes .color.eventon_list_event .evcal_cblock .evo_end:before {
	background-color: #0a3858 !important;
}
.ajde_evcal_calendar.boxy.boxstyle1 #evcal_list .eventon_list_event .desc_trig {
	background-color: #ffffff !important;
}
.evo_lightboxes .evopopclose, .evo_lightboxes .evolbclose {
	background-color:#A91E23 !important;
}
.evo_lightboxes .evopopclose:hover, .evo_lightboxes .evolbclose:hover {
	background-color:#0A3758 !important;
}
.evcal_alldayevent_text, .evo_countdowner {
	color:#231F20 !important;
}
.evo_lightboxes .evolbclose:before, .evo_lightboxes .evolbclose:after {
	background-color: #ffffff !important;
}

.evcal_evdata_row i.fa {
	opacity: 1 !important;
}
.evcal_evdata_row .evcal_evdata_icons i, .evcal_evdata_row .evcal_evdata_custometa_icons i {
    color: #A91E23 !important;
}
/* Font Sizes */
.evo_start .month {
	font-size: 15px !important;
	color:#0A3758 !important;
}

.eventon_events_list .eventon_list_event .evcal_desc .evcal_desc_info, .evo_pop_body .evcal_desc .evcal_desc_info {
	font-size: 15px !important;
}

.ajde_evcal_calendar.boxy.box_4 div.no_events {
	box-shadow: none !important;
	width: 100% !important;
	min-height: 40px !important;
	margin-bottom: 0 !important;
}


.ajde_evcal_calendar.boxy.box_4 div.no_events:hover {
    transform: none !important;
	opacity: 1 !important;
}
p.no_events {
	color:#a91e23!important;
	text-align: center !important;
	font-weight:700 !important;
	font-size: 27px !important;
}
@media (max-width:1166px) and (min-width:981px) {
	.evcal_event_title{
		font-size: 18px !important;
	}
	
	.evo_start .month {
	font-size: 13px !important;
}

.eventon_events_list .eventon_list_event .evcal_desc .evcal_desc_info, .evo_pop_body .evcal_desc .evcal_desc_info {
	font-size: 13px !important;
}
}
@media (max-width:767px) {
	.eventon_events_list .eventon_list_event .evcal_desc .evcal_desc_info, .evo_pop_body .evcal_desc .evcal_desc_info {
		font-size: 13px !important;
	}
}
/* Spacing between event on icons and text */
/*.evcal_time, .evcal_location {
	padding-left: 30px !important;
}*/

/* Space Between Event and Location */
.evcal_time, .evcal_location {
	width: 100%;
}
/* lines up location icon with time icon */
.evcal_location:before {
	left: 1px !important;
}

/* Border Stylings */
/* Remove border radius on modal */
.evo_lightbox.eventcard .evo_lightbox_body, .evo_lightbox .evo_lightbox_body, .evo_metarow_directimg img,.evo_time, .evo_location, .evcal_evdata_row {
	border-radius: 0 !important;
}

/* Grid Stylings */
/* Calendar Page */
.ajde_evcal_calendar.boxy.box_4 .eventon_list_event, .ajde_evcal_calendar.boxy.box_4 .evoShow_more_events {
	border: 0 !important;
	box-shadow:6px 6px 18px 0px rgb(0 0 0 / 30%) !important;
	width: 23.3333% !important;
	/* add margin to show drop shadows */
	margin-right: 1% !important;
	margin-bottom: 3% !important;
}

.ajde_evcal_calendar.boxy.box_4 .eventon_list_event:last-child, .ajde_evcal_calendar.boxy.box_4 .evoShow_more_events:last-child {
 margin-right: 0px;
}

/* Event Listings */
.ajde_evcal_calendar.boxy #evcal_list .eventon_list_event .evcal_desc span.evcal_event_title{
	color: #231F20;
}
.evo_boxtop {
	background-position: top !important;
}

#evcal_list .sep_month_events {
	box-shadow:6px 6px 18px 0px rgb(0 0 0 / 30%) !important;
	border-radius: 0 !important;
	border: 0 !important;
	margin: 1% !important;
}
.evcal_month_line {
	margin: 15px 0 !important;
}
.event_description .evcal_close {
	background-color:#A02166 !important;
}

.event_description .evcal_close:hover {
	background-color:#DA933D !important;
}
.eventon_desc_in p {
	font-size:18px !important;
}
.event_description .evo_card_row_end:before {
	color: #ffffff !important;
}
/* Modal */
.evopop_top {
	border-left: 3px solid #A91E23 !important;
	background-color: #f1f1f1 !important;	
}
.evcal_event_title {
	color: #231F20 !important;
}
/* Accordion Event On Stylings */
.evo_lightboxes .evo_pop_body .evcal_desc span.evcal_desc2 {
	color: #231F20; 
}

/* Disable Comments */
#eventon_comments, .single-ajde_events #respond {
	margin-top: 40px;
display: none !important;
}

@media (max-width:1700px) {
	.ajde_evcal_calendar.boxy.box_4 .eventon_list_event, .ajde_evcal_calendar.boxy.box_4 .evoShow_more_events {
	border: 0 !important;
	box-shadow:6px 6px 18px 0px rgb(0 0 0 / 30%) !important;
	width: 30.3333% !important;
	/* add margin to show drop shadows */
	margin-right: 3% !important;
	margin-bottom: 3% !important;
}
}

@media (max-width:1500px) {
	.ajde_evcal_calendar.boxy.box_4 .eventon_list_event, .ajde_evcal_calendar.boxy.box_4 .evoShow_more_events {
	border: 0 !important;
	box-shadow:6px 6px 18px 0px rgb(0 0 0 / 30%) !important;
	width: 47% !important;
	/* add margin to show drop shadows */
	margin-right: 3% !important;
	margin-bottom: 3% !important;
}
}
/* Single Events Mobile */
@media screen and ( max-width: 980px ) {
    .reverse {
        display: flex;
        flex-direction: column-reverse;
    }
	.eventon_desc_in p {
		font-size:16px !important;
	}
} 
@media (max-width:767px) {
 .ajde_evcal_calendar.boxy.box_4 .eventon_list_event {
		width: 100% !important;
		margin-bottom: 40px !important;
		margin-right:2% !important;
	}
}

/* Single Events */
.single-ajde_events .evo_page_body {
	max-width: 1800px !important;
}
.single-ajde_events .container {
	width: 90% !important;
	max-width: 1800px !important;
}
/* Single Event Top Card */
.evcal_list_a {
	border-left: 3px solid #a91e22 !important;
	background-color: #ffffff !important;
}
.color.evo_sin_page #evcal_list .eventon_list_event .evcal_event_title {
	color:#231f20 !important;
}
	.color.evo_sin_page #evcal_list .eventon_list_event a.desc_trig >*,
	.color.evo_sin_page #evcal_list .eventon_list_event .evcal_desc_info em,
	.color.evo_sin_page #evcal_list .eventon_list_event .evcal_desc_info span,
	.color.evo_sin_page #evcal_list .eventon_list_event .evcal_desc_info b,
	.color.evo_sin_page #evcal_list .eventon_list_event .evcal_desc3 em,
	.color.evo_sin_page #evcal_list .eventon_list_event .evcal_desc3 span,
	.color.evo_sin_page #evcal_list .eventon_list_event .evcal_desc span.evcal_event_subtitle {
color: #131315 !important
	}

#cff.cff-masonry .cff-item:first-child,
#cff.cff-masonry .cff-item{
	min-height: 500px;
}
#cff .cff-photo, #cff .cff-html5-video, #cff .cff-event-thumb{ 
    height: 200px;
    width: 100%;
}
.cff-multiple{ overflow: hidden; }
/* Ubermenu Overrides */
.ubermenu-target-with-icon .ubermenu-icon{
	font-size:20px;
}
.ubermenu-submenu {
	box-shadow: 4px 3px 13px rgb(0 0 0 / 63%) !important;
}
.ubermenu-tabs .ubermenu-tabs-group > .ubermenu-tab > .ubermenu-target {
	text-transform: uppercase;
	border: 1px solid #B4B4B4;
}
.ubermenu-tab.ubermenu-active > .ubermenu-target, .ubermenu .ubermenu-tab-layout-left>.ubermenu-tabs-group {
	border: none !important;
}

.ubermenu-tab-content-panel a {
    color: #231F20 !important;
}
@media (max-width: 991px) {
.ubermenu-target {
	text-align: center !important;
}
}

/* Team Page Stylings */
.member-name {
	padding-bottom:5px !important;
}
/* WPPage Navi Plugin Override */
.wp-pagenavi a, .wp-pagenavi span {
	background-color:#a91e23 !important;
	color: #ffffff !important;
	border: none;
	font-size:20px;
}

/*Gravity Form Plugin Stylings Override */
.gform_button{
    color: #FFFFFF!important;
    border-width: 0px!important;
    border-radius: 0px;
    font-family: 'Arvo',Georgia,"Times New Roman",serif!important;
    font-weight: 700!important;
    background-color: #a91e23;
	padding:0.3em 1em;
	line-height:1.7em;
	cursor: pointer;
}