/*
 Theme Name:     Horizon Healthcare
 Theme URI:      https://crftd.dev/
 Description:    Customzied Divi Child Theme. Do not delete Divi, or this theme.
 Author:         CRFTD
 Author URI:     https://crftd.dev/
 Template:       Divi
 Version:        1.0.0
*/


/* =Theme customization starts here
------------------------------------------------------- */
/***
1. HEADER
2. BODY
3. TYPOGRAPHY
4. ELEMENTS
5. FORM
6. FOOTER
7. WOOCOMMERCE
8. POPUP
***/

/*** 1. HEADER ***/
#anchor {
    position: absolute;
    top: -100px;
}

.dd-sub, .dd-has-sub {
	z-index: 99;
}

.et_mobile_menu li a {
	padding: 4px;
}

@media (max-width: 980px) {
    .et_pb_menu .et_mobile_menu {
		padding: 4px 20px;
	}
}

@media only screen and (min-width: 981px) {
    .et_pb_divimenus_flex_item_2_tb_header .dd-menu-flex-sub,
	.et_pb_divimenus_flex_item_3_tb_header .dd-menu-flex-sub {
        left: 0% !important;
        transform: translateX(-65%) !important;
    }
	.et_pb_divimenus_flex_item_4_tb_header .dd-menu-flex-sub {
		left: 0% !important;
        transform: translateX(-75%) !important;
	}
}

@media screen and (min-width: 1291px) {
	.header-desktop img {
		margin-top: -80px !important;
	}
}

@media screen and (max-width: 1290px) and (min-width: 1236px) {
	.header-desktop img {
		margin-top: -78px !important;
	}
}

@media screen and (max-width: 1235px) and (min-width: 1139px) {
	.header-desktop img {
		margin-top: -77px !important;
	}
}

@media screen and (max-width: 1138px) and (min-width: 1091px) {
	.header-desktop img {
		margin-top: -76px !important;
	}
}

@media screen and (max-width: 1090px) and (min-width: 1029px) {
	.header-desktop img {
		margin-top: -74px !important;
	}
}

@media screen and (max-width: 1028px) and (min-width: 981px) {
	.header-desktop img {
		margin-top: -73px !important;
	}
}

.top-text {
	display: inline-block;
	float: right;
	padding: 0 2px;
	margin-bottom: 0px !important;
}

.et_mobile_menu .first-level > a {
	background-color: transparent;
	position: relative;
}

.et_mobile_menu .first-level > a:after {
	font-family: 'ETmodules';
	content: '\4c';
	font-weight: normal;
	position: absolute;
	font-size: 16px;
	right: 10px;
}

.et_mobile_menu .first-level > .icon-switch:after{
	content: '\4d';
}

.sub-menu li, .second-level {
	display: none;
}

.reveal-items {
	display: block !important;
}

.et_mobile_menu {
	z-index: inherit;
}

.mobile_nav.opened .mobile_menu_bar:before {
    content: '\4d' !important;
}

/*rotate the Divi Menu icon on click*/

.mobile_menu_bar:before {
	transition: all .4s ease;
	transform: rotate(0deg);
	display: block;
}


/*rotate the Divi Menu icon on click*/

.mobile_nav.opened .mobile_menu_bar::before {
	transition: all .4s ease;
	transform: rotate(90deg);
	display: block;
}


/*** 2. BODY ***/
#main-content {
    min-height: 600px;
}

.valign {
	align-items: center;
    display: flex;
}

.balign {
	align-items: flex-end;
}
.talign {
	align-items: top;
}

.et_pb_bottom_inside_divider {
	bottom: -1px !important;
}

body:not(.home) #et-main-area .et_pb_section:not(:first-child) {
	border-top: 1px solid #eaeaea;
}

@media screen and (max-width: 699px) {
	.service-cta {
		padding: 20px 0px 50px 0px;
	}
}


/*** 3. TYPOGRAPHY ***/
h2, h3, h4, h5, h6, blockquote {
    font-family: 'Outfit',Helvetica,Arial,Lucida,sans-serif;
}

@media screen and (max-width: 699px) {
	h1, h2 {
		font-size: 34px !important;
	}
	.entry-content h3, .entry-content h4, .entry-content h5,
	footer h3 {
		font-size: 18px;
	}
	blockquote {
		font-size: 22px;
	}
}

@media screen and (min-width: 700px) and (max-width: 999px) {
	h1, h2 {
		font-size: 44px;
	}
	blockquote {
		font-size: 36px;
	}
	.entry-content h3, .entry-content h4, .entry-content h5,
	footer h3 {
		font-size: 20px;
	}
}

@media screen and (min-width: 1000px) {
	h1, h2 {
		font-size: 46px;
	}
	blockquote {
		font-size: 36px;
	}
	.entry-content h3, .entry-content h4, .entry-content h5,
	footer h3 {
		font-size: 22px !important;
	}
}

.service-title h3 {
    font-size: 28px !important;
    letter-spacing: -1px;
}

.crftd-locations-list li {
	list-style-type: none;
	font-size: 15px;
}

.copy-row p a {
	color: #fff;
}

blockquote {
	margin: 0px;
	border-left: none;
	padding-left: 0px;
	color: #80374b;
	line-height: 1.1em;
	font-weight: 500;
}

.horizon-lists ul {
  --icon-space: 1.3em;
  list-style: none;
  padding: 0;
}

.horizon-lists li {
	padding-left: var(--icon-space);
}

.horizon-lists li:before {
	content: "P";
	font-family: ETmodules!important;
	font-weight: 400!important;
	display: inline-flex;
	margin-left: calc(var(--icon-space) * -1);
	width: var(--icon-space);
	font-size: 20px;
	color: #80374B;
	height: 30px;
	padding: 5px;
	vertical-align: middle;
}

.wpgb-card-footer a, .wpgb-card-footer .et-db #et-boc .et-l a {
	color: var(--wpgb-light-scheme-1) !important;
}

/*** 4. ELEMENTS ***/
.sbs-btn .et_pb_button_module_wrapper {
    display: inline-block;
    text-align: center;
    margin: 2px auto;
}
#home-intro .sbs-btn,
.service-cta .sbs-btn {
    text-align: center;
}

@media only screen and (max-width: 768px) {
    .et_pb_button_module_wrapper>a,
	.sbs-btn .et_pb_button_module_wrapper {
        width: 100%;
        text-align: center;
    }
}

/*this sets the height of the image module*/
.equal-image {
	height: 100%;
}
/*this sets the height of the image container*/
.equal-image .et_pb_image_wrap {
	height: 100%;
}
/*this sets the height and fit of the actual image*/
@media only screen and (min-width: 768px) {
    .equal-image img {
        object-fit: cover;
        height: 100%;
    }
}
@media only screen and (max-width: 768px) {
    .et_pb_slide_description,
    .et_pb_slider_fullwidth_off .et_pb_slide_description {
        padding: 20px 4%;
    }
}

@media only screen and (min-width: 769px) {
    .et_pb_slide_description,
    .et_pb_slider_fullwidth_off .et_pb_slide_description {
        padding: 120px 8%;
     }
}

/*** 5. FORM ***/
.gform_wrapper.gravity-theme .gfield_label,
.gform_wrapper.gravity-theme .chosen-container-multi .chosen-choices li.search-field input[type=text] {
    color: #200e13;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
}

.gform_wrapper.gravity-theme .ginput_complex label,
.gform_wrapper.gravity-theme .ginput_complex legend {
    color: #200e13;
}

body .gform_wrapper .gform_body .gform_fields .gfield input[type=text],
body .gform_wrapper .gform_body .gform_fields .gfield input[type=email],
body .gform_wrapper .gform_body .gform_fields .gfield input[type=tel],
body .gform_wrapper .gform_body .gform_fields .gfield input[type=number],
body .gform_wrapper .gform_body .gform_fields .gfield select,
body .gform_wrapper .gform_body .gform_fields .gfield textarea,
body .gform_wrapper.gravity-theme .chosen-container-multi .chosen-choices {
	color: #200e13;
	font-size: 15px;
	line-height: 22px;
    font-family: 'Outfit', sans-serif;
	font-style: normal;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0px;
	border-radius: 4px;
	padding: 14px 20px;
	background-color: #fff;
    height: 52px;
}

body .gform_wrapper .gform_body .gform_fields .gfield input[type=text]:focus,
body .gform_wrapper .gform_body .gform_fields .gfield input[type=email]:focus,
body .gform_wrapper .gform_body .gform_fields .gfield input[type=tel]:focus,
body .gform_wrapper .gform_body .gform_fields .gfield input[type=number]:focus,
body .gform_wrapper .gform_body .gform_fields .gfield select:focus,
body .gform_wrapper .gform_body .gform_fields .gfield textarea:focus,
body .gform_wrapper.gravity-theme .chosen-container-multi .chosen-choices:focus {
	background-color: #f7f7f7;
}

body .gform_wrapper .gform_body .gform_fields .gfield_checkbox {
	display: inline-block !important;
}

body .gform_wrapper .gform_body .gform_fields .gfield_checkbox label {
	color: #fff;
}

body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=text],
body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=email],
body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=tel],
body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=number],
body #gform_wrapper_1 .gform_body .gform_fields .gfield select,
body #gform_wrapper_1 .gform_body .gform_fields .gfield textarea,
body #gform_wrapper_1 .gravity-theme .chosen-container-multi .chosen-choices {
    border: 1px solid #80374B;
    color: #200e13 !important;
}

body #gform_wrapper_2 .gform_body .gform_fields .gfield input[type=text],
body #gform_wrapper_2 .gform_body .gform_fields .gfield input[type=email],
body #gform_wrapper_2 .gform_body .gform_fields .gfield input[type=tel],
body #gform_wrapper_2 .gform_body .gform_fields .gfield textarea,
body #gform_wrapper_2 .gform_body .gform_fields .chosen-container-multi .chosen-choices  {
    border: 1px solid #80374B;
    color: #200e13 !important;
}

body .gform_wrapper .gform_footer input[type=submit] {
	color: #fff!important;
	background-color: #299da8 !important;
	border-width: 0px!important;
	border-radius: 10px;
    font-family: 'Outfit', sans-serif;
	font-size: 13px;
	line-height: 1.7em!important;
	font-weight: 500!important;
	text-transform: uppercase!important;
    letter-spacing: 1px;
	padding-top: 16px!important;
	padding-right: 30px!important;
	padding-bottom: 16px!important;
	padding-left: 30px!important;
	width: 100%;
    margin: 0px auto !important;
}

body .gform_wrapper .gform_footer input[type=submit]:hover {
    background-color: #299da8;
}

.gform_wrapper.gravity-theme .gform_footer {
    display: block !important;
    padding: 0px !important;
}

.h-captcha {
    margin-bottom: 10px !important;
}

.h-captcha::before {
	display: contents !important
}

.gform-theme--foundation .ginput_counter {
	color: #fff !important;
}

/* Other Fields */
.gform_wrapper .gform_fields .gfield input::-webkit-input-placeholder {
	color: #433d63;
	text-transform: none;
	font-weight: 500;
	letter-spacing: 0px;
}

.gform_wrapper .gform_body .gform_fields .gfield textarea::-webkit-input-placeholder {
	color: #433d63;
	text-transform: none;
	font-weight: 500;
	letter-spacing: 0px;
}

#gform_wrapper_2 .gform_fields .gfield input::-webkit-input-placeholder {
	color: #433d63;
	text-transform: none;
	font-weight: 500;
	letter-spacing: 0px;
}

#gform_wrapper_2 .gform_body .gform_fields .gfield textarea::-webkit-input-placeholder {
	color: #433d63;
	text-transform: none;
	font-weight: 500;
	letter-spacing: 0px;
}

.gform_confirmation_message_1 .gform_confirmation_message {
  color: white !important;
  margin-bottom: 30px !important;
}


/*** 6. FOOTER ***/
footer {
    background-color: #E7DAC8;
}

/*** 7. WOOCOMMERCE ***/
/*** 8. POPUP ***/

.location-sub {
	display: inline-block !important;
	padding-right: 4px !important;
}