/*
Theme Name: Subcontractor
Theme URI: https://www.lmgnow.com/
Template: Divi
Author: Lifestyles Media Group
Author URI: https://www.lmgnow.com/
Description: Smart. Flexible.
Tags: responsive-layout
Version: 1.0.1.1617898167
Updated: 2021-04-08 16:09:27

*/

hr + p {
	padding-top: 1em;
}

#et-main-area ul {
	margin-left: 1em;
}

#main-content .container:before {
	background: none;
}

body:not(.et-tb) #main-content .container {
	padding-top: 30px;
}

#et-boc > header .et_pb_row_1_tb_header { flex-wrap: nowrap; }
#et-boc > header .et_pb_row_1_tb_header > .et_pb_column_1_tb_header { width: 35%; }
#et-boc > header .et_pb_row_1_tb_header > .et_pb_column_2_tb_header { width: 20%; }
#et-boc > header .et_pb_row_1_tb_header > .et_pb_column_3_tb_header { width: 45%; }

@media (max-width: 1150px) {
	#et-boc > header .et_pb_row_1_tb_header { flex-wrap: wrap; }
	#et-boc > header .et_pb_row_1_tb_header > .et_pb_column_1_tb_header { width: 50%; }
	#et-boc > header .et_pb_row_1_tb_header > .et_pb_column_2_tb_header { width: 50%; }
	#et-boc > header .et_pb_row_1_tb_header > .et_pb_column_3_tb_header { width: 100%; }
}

@media (max-width: 850px) {
	#et-boc > header .et_pb_section_2_tb_header p {
		font-size: 0.8em;
		font-weight: bold;
		line-height: 1.2;
	}
}

#et-boc > header #menu-primary-menu > li {
	margin: 0;
	padding: 0;
}

#et-boc > header #menu-primary-menu > li > a {
	margin: 0;
	padding: 10px;
	opacity: 1;
}

#et-boc > header #menu-primary-menu > li.current-menu-item > a,
#et-boc > header #menu-primary-menu > li.current_page_item > a,
#et-boc > header #menu-primary-menu > li > a:hover {
	background-color: #fff;
	color: #2b7ad9;
	text-shadow: none;
}

#et-boc > header .et_pb_menu_0_tb_header.et_pb_menu .et_mobile_menu,
#et-boc > header .et_pb_menu_0_tb_header.et_pb_menu .et_mobile_menu ul {
	background-color: #2b7ad9 !important;
}

#et-boc > header .header-buttons .et_pb_text_inner,
#et-boc > header .header-buttons .et_pb_text_inner p {
	display: flex;
	align-items: center;
}

#et-boc > header .header-buttons .et_pb_text_inner a {
	color: #01428E;
	font-weight: bold;
	font-size: 0.9em;
	padding: 0.4em 0.1em;
	margin-right: 5px;
}

#et-boc > header .header-buttons .et_pb_text_inner a:last-child {
	margin-right: 0;
}

@media (min-width: 981px) {
	body.et_right_sidebar #left-area {
		width: 64.833%;
	}

	body.et_right_sidebar #sidebar {
		width: 29.6667%;
	}
}

input[type="submit"],
.mc-registration > a,
.asa-event-registration > a {
	border: none;
	background-color: #fff;
	color: #2b7ad9 !important;
	width: 100%;
	border-radius: 4px;
	padding: 0.4em 0.4em;
	font-weight: bold;
	font-size: 1.2em;
	cursor: pointer;
}

#main-content #left-area input[type="submit"],
.mc-registration > a,
.asa-event-registration > a {
	background-color: #2b7ad9;
	color: #fff !important;
}

.btn {
	display: block;
	width: 100%;
	color: #fff;
	background-color: #2b7ad9;
	padding: 0.4em 0.4em;
	border-radius: 4px;
	text-align: center;
}

.btn.btn-danger {
	background-color: #d9534f;
	border-color: #d43f3a;
}

.btn.btn-danger:hover {
	background-color: #d2322d;
}

.btn.btn-alert {
	background-color: #f0ad4e;
	border-color: #ed9c28;
}

.btn.btn-alert:hover {
	background-color: #ed9c28;
}

#main-content #sidebar .et_pb_widget,
#main-content .et_builder_inner_content .et_pb_widget_area_right .et_pb_widget {
	background-color: #2b7ad9;
	border-radius: 4px;
	padding: 1em;
	margin-bottom: 1em;
}

#main-content #sidebar .et_pb_widget:last-child,
#main-content .et_builder_inner_content .et_pb_widget_area_right .et_pb_widget:last-child {
	background-color: #fff;
	border-radius: 0;
	padding: 0;
}

#main-content #sidebar .et_pb_widget *,
#main-content .et_builder_inner_content .et_pb_widget_area_right .et_pb_widget * {
	color: #fff;
}

#main-content #sidebar .et_pb_widget a > span,
#main-content #sidebar .et_pb_widget input,
#main-content #sidebar .et_pb_widget textarea,
#main-content .et_builder_inner_content .et_pb_widget_area_right .et_pb_widget a > span,
#main-content .et_builder_inner_content .et_pb_widget_area_right .et_pb_widget input,
#main-content .et_builder_inner_content .et_pb_widget_area_right .et_pb_widget textarea {
	color: #212529;
}

#main-content #sidebar .et_pb_widget span.gfield_required_text,
#main-content .et_builder_inner_content .et_pb_widget_area_right .et_pb_widget span.gfield_required_text {
	/*color: #c02b0a !important;*/
}

#main-content #sidebar .et_pb_widget .gform_submission_error,
#main-content #sidebar .et_pb_widget .gform_submission_error .gform-icon,
#main-content #sidebar .et_pb_widget .validation_message,
#main-content .et_builder_inner_content .et_pb_widget_area_right .et_pb_widget .gform_submission_error,
#main-content .et_builder_inner_content .et_pb_widget_area_right .et_pb_widget .gform_submission_error .gform-icon,
#main-content .et_builder_inner_content .et_pb_widget_area_right .et_pb_widget .validation_message {
	color: #c02b0a !important;
	text-shadow: none;
	font-size: 1em;
}

#main-content #sidebar .et_pb_widget .widgettitle,
#main-content .et_builder_inner_content .et_pb_widget_area_right .et_pb_widget .widgettitle {
	border-bottom: 1px solid #fff;
	margin-bottom: 1em;
	padding-bottom: 0.4em;
	text-shadow: 0.08em 0.08em 0em rgb(0 0 0 / 40%);
	font-size: 20px;
}

#main-content #sidebar .et_pb_widget h5,
#main-content .et_builder_inner_content .et_pb_widget_area_right .et_pb_widget h5 {
	margin-top: 1em;
	font-size: 1em;
	text-transform: uppercase;
}

#main-content #sidebar .et_pb_widget ul,
#main-content .et_builder_inner_content .et_pb_widget_area_right .et_pb_widget ul {
	list-style-type: disc !important;
	margin-left: 1.6em;
}

#main-content #sidebar .et_pb_widget ol,
#main-content .et_builder_inner_content .et_pb_widget_area_right .et_pb_widget ol {
	list-style-position: outside;
	margin-left: 1.6em;
}

#main-content #sidebar .et_pb_widget ul > li,
#main-content .et_builder_inner_content .et_pb_widget_area_right .et_pb_widget ul > li {
	margin-bottom: 0;
}

#main-content #sidebar .et_pb_widget ul > li > *,
#main-content .et_builder_inner_content .et_pb_widget_area_right .et_pb_widget ul > li > * {
	position: relative;
	left: -5px;
}



#main-content > .container:before {
	background-color: transparent !important;
}


@media (max-width: 980px) {
    .et_right_sidebar #left-area {
        margin-bottom: 2em !important;
        padding-bottom: 2em !important;
		border-bottom: 1px solid #ccc  !important;
    }
}

.gform_fields.top_label {
	row-gap: 20px !important;
}




.full-image-slider .et_pb_slide {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.full-image-slider .et_pb_slide:first-child .et_pb_slide_image img.active {
	animation: unset !important;
}

.full-image-slider .et_pb_container {
	max-width: 100% !important;
	width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
}

.full-image-slider .et_pb_slide_image img {
	max-height: none !important;
	width: 100% !important;
}

.full-image-slider .et_pb_slide_image {
	margin: 0 !important;
	padding: 0 !important;
	top: 0 !important;
	position: relative !important;
	width: 100% !important;
	display: block !important;
	-webkit-animation-name: fade !important;
	-moz-animation-name: fade !important;
	-ms-animation-name: fade !important;
	-o-animation-name: fade !important;
	animation-name: fade !important;
}

.full-image-slider .et_pb_slider_container_inner {
	position: relative;
}

.full-image-slider .et_pb_slide_description {
	position: absolute !important;
	top: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	right:  0 !important;
	padding: 0 !important;
	margin: 0 !important;
	width: auto !important;
	height: auto !important;
}

.full-image-slider .et_pb_slide_description .et_pb_button_wrapper,
.full-image-slider .et_pb_slide_description .et_pb_button_wrapper a,
.full-image-slider .et_pb_slide_description .et_pb_button_wrapper a:hover {
	width: 100% !important;
	height: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	color: rgba(0, 0, 0, 0) !important;  
	border: none !important;
	background: none !important;
}

.et_pb_column.et_pb_slider_fullwidth_off.full-image-slider .et_pb_slide_description .et_pb_slide_title,
.et_pb_column.et_pb_slider_fullwidth_off.full-image-slider .et_pb_slide_description .et_pb_slide_content,
.full-image-slider .et_pb_slide_description .et_pb_slide_title,
.full-image-slider .et_pb_slide_description .et_pb_slide_content {
	display: none;
}







.my-calendar-nav > ul {
	list-style-type: none !important;
}

.mc-events-link > .location-link {
	display: none;
}

ul.upcoming-events {
	margin: 0 0 0 0 !important;
	padding: 0 0 0 0 !important;
	list-style-type: none !important;
}

.asa-event {
	margin-top: 1em;
	padding: 1em;
	background-color: #f1f1f1;
}

.asa-event > .asa-event-date > span {
	font-size: 1.6em;
	font-weight: bold;
}

.asa-event .asa-event-location {
	margin: 1em 0;
	padding: 0 1em;
}

.asa-event .asa-event-location > h3 {
	font-size: 1.4em;
	padding: 0 0 5px 0;
}

.asa-event .asa-event-registration {
	margin: 0.6em 0;
}







.my-calendar-table td.has-events h3.event-title > a span {
	font-weight: normal;
	font-size: 1em;
	line-height: 1.1;
	text-decoration: none;
}



.calendar-event.past-event {
	display: none;
}

.past-date.has-events .mc-date-container .mc-date {
	background-color: #fff;
	color: #000;
}


.mc-registration > a {
	margin: 2em 0;
}

