/*
 Theme Name:   Arista HC Theme
 Description:  A custom Divi child theme built by Green Tree Media.
 Author:       Green Tree Media, LLC
 Author URI:   https://greentreemediallc.com
 Template:     Divi
 Version:      1.5.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags: responsive-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready
 Text Domain:  divi-child-theme
*/

/* ---------- PALETTE ----------------------------
Blue 1 (dark)  : 003087
Blue 2         : 0072CE
Blue 3         : 418FDE
Blue 4         : 6CACE4
Blue 5 (light) : 92C1E9
Green          : 078e8e
Off-white      : f5efec
Orange         : FE5000
Red            : ed0b0b
Yellow         : FFB549
*/

/* ---------- HEADER ----------------------------- */
/* Fixed header, hide secondary menu */
#top-header {z-index: 9}
#main-header{
    transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
}
body.et_fixed_nav:not(.admin-bar) #main-header
body:not(.admin-bar) header#main-header.et-fixed-header {top: 0 !important}
body.et_fixed_nav.admin-bar #main-header,
body.admin-bar header#main-header.et-fixed-header {top: 32px !important}
/* END Fixed header, hide secondary menu */

/** App Style header and Drop Down Menu **/

@media (max-width: 980px) {
 .container.et_menu_container { 
 width: calc( 100% - 60px);
 }
}

.et_mobile_menu {
 margin-left: -30px;
 padding: 5%;
 width: calc( 100% + 60px);
}

.mobile_nav.opened .mobile_menu_bar:before {
 content: "\4d";
}
/** END App Style header **/

#et-info-email {display:none}

#et-info-phone::before,
#et-info-address::before {
    font-family: 'ETmodules';
    margin-right: 5px;}
    
#et-info-address::before {content:'\e081';}

#et-info-phone::before,
#et-info-address::before {opacity:0.5;}

#et-info-phone {
	background-color: #FE5000;
	color: #f5f5f5 !important;
	padding: 5px 8px;
	border-radius: 3px;
}

#et-info-phone,
#et-info-address {font-weight:900}

@media all and (max-width: 767px) {
	#et-info-phone,
	#et-info-address {
		display:block;
	}
	
	#et-info-phone {
		padding-top: 15px;
		padding-bottom: 15px;
		margin-bottom: 20px;
	}
}

.ahc_header_btn > a::before {
    font-family:'FontAwesome';
    content: '';
    margin-right: 5px;
}

.ahc_header_btn--caregiver > a::before {content:'\f08a'}
.ahc_header_btn--employee > a::before {content:'\f2be';}
.ahc_header_btn--family > a::before {content:'\f109';}
.ahc_header_btn--pay > a::before {content:'\f046';}

.nav li ul {
    display:block;
    padding: 10px 0;
    width:auto;
}

.nav > li > ul::before {
    content:"";
    height:0;
    width:0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #eee;
    position:absolute;
    top: -13px;
    left: 30%;
    margin:0;
    z-index:100;
}

#top-menu li li {padding: 0}

.et_mobile_menu li a:hover,
.nav ul li a:hover {
    opacity: 1;
    background-color:rgba(0,0,0,0.05);
}

.ahc_local_hero .et_pb_text_inner > p:first-child::before {
	content:'\f041';
	display: inline-block;
	font-family:"FontAwesome";
	margin-right: 10px;
	vertical-align:middle;
}

/* ---------- STAFF ----------------------------- */

.customStaff .et_pb_team_member_image {
	border-top: 1px solid #fe5000;
    border-right: 3px solid #fe5000;
    border-bottom: 3px solid #003087;
    border-left: 1px solid #003087;
    margin: 0 auto 20px;
    max-width:200px;
	transition: all 0.3s linear;
}

.customStaff:hover .et_pb_team_member_image {
	border-top: 1px solid #003087;
    border-right: 1px solid #fe5000;
    border-bottom: 3px solid #fe5000;
    border-left: 3px solid #003087;
	transform:scale(1.05);
}

.customStaff .et_pb_team_member_image::after {
	background-color: rgba(0,0,0,0.5);
	border-radius: 50%;
	content: '';
	display: none;
	position: absolute;
	top: 2.5%;
	left: 2.5%;
	width: 95%;
	height: 95%;
}

.customStaff .et_pb_team_member_image:hover {cursor:pointer;}

.customStaff .et_pb_team_member_image::before {
	color: #ffffff;
	content:'[Read Bio]';
	display: none;
	font-size: 16px;
	font-weight: 900;
	line-height: 1em;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	z-index: 100;
}

.customStaff .et_pb_team_member_image:hover::before,
.customStaff .et_pb_team_member_image:hover::after {display:block;}

.customStaff .et_pb_team_member_description > div {display:none;}

#bioContent {
	display:none;
	background-color: #ffffff;
	border-radius: 5px;
	font-size: 17px;
	line-height: 1.3em;
	padding: 40px 3vw;
}

#bioContent.bioContent--visible {
	display:block;
	-webkit-animation: scale-in-ver-center 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: scale-in-ver-center 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

#bioContent.bioContent--hiding {
	display: block;
	-webkit-animation: scale-out-vertical 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
	        animation: scale-out-vertical 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
}

@-webkit-keyframes scale-in-ver-center {
  0% {
    -webkit-transform: scaleY(0);
            transform: scaleY(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: scaleY(1);
            transform: scaleY(1);
    opacity: 1;
  }
}
@keyframes scale-in-ver-center {
  0% {
    -webkit-transform: scaleY(0);
            transform: scaleY(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: scaleY(1);
            transform: scaleY(1);
    opacity: 1;
  }
}

@-webkit-keyframes scale-out-vertical {
  0% {
    -webkit-transform: scaleY(1);
            transform: scaleY(1);
    opacity: 1;
  }
  100% {
    -webkit-transform: scaleY(0);
            transform: scaleY(0);
    opacity: 1;
  }
}
@keyframes scale-out-vertical {
  0% {
    -webkit-transform: scaleY(1);
            transform: scaleY(1);
    opacity: 1;
  }
  100% {
    -webkit-transform: scaleY(0);
            transform: scaleY(0);
    opacity: 1;
  }
}


/* --------- MODULES ----------------------------- */

.ahc_bullet_row .et_pb_module ul,
.ahc_bullet_row .et_pb_module ul{padding-left:0;padding-bottom:0;}
.ahc_bullet_row .et_pb_module ul li {
	padding-left: 30px;
	list-style:none;
	margin-bottom: 10px}

.ahc_bullet_row .et_pb_module ul li::before {
    color: #003087;
    display: inline-block;
    margin-right: 7px;
	margin-left: -30px;
	padding-right: 5px;
    content:'\f046';
    font-family:'FontAwesome';
    font-size: 1.2em;
	opacity: 1;
    vertical-align: middle;
}

.ahc_bullet_row--light .et_pb_module ul li::before {color: #fff}
.ahc_bullet_row--dark .et_pb_module ul li::before {color: #333}

.ahc_testimonial_slider .et_pb_slide {background-color:transparent !important}

.ahc_testimonial_slider .et_pb_slide_title {position:relative;}
.ahc_testimonial_slider .et_pb_slide_title::before,
.ahc_testimonial_slider .et_pb_slide_title::after {
    color: rgba(255,255,255,0.15);
    content:'\7b';
    font-family:"etmodules";
    font-size:100px;
    position:absolute;
    z-index: -1;
}

.ahc_testimonial_slider .et_pb_slide_title::before {
    transform: rotate(180deg);
    top:0;
    left:-60px;}
.ahc_testimonial_slider .et_pb_slide_title::after {bottom:0;right:0;}

.ahc_testimonial_slider .et_pb_slide_content:after {
    width: 100%;
    font-family:"etmodules";
    display:block;
    content:"\e033\e033\e033\e033\e033";
    color: #f1c40f;
    padding-top: 10px;
}

.ahc_count::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 0;
    height: 0;
    border-top: 40px solid #003087;
    border-left: 40px solid #003087;
    border-right: 40px solid transparent;
    border-bottom: 40px solid transparent;
    font-size: 0;
    line-height: 0;
    background-color: transparent;
    border-radius: 5px;
}

.ahc_count::after {
    color: #fff;
    content:'';
    font-weight: 900;
    position: absolute;
    top:7px;
    left: 8px;
    font-size: 17px;
    line-height: 1em;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    padding: 5px 10px 6px;
}

.ahc_count--first::after {content:'1'}
.ahc_count--second::after {content:'2'}
.ahc_count--third::after {content:'3'}
.ahc_count--fourth::after {content:'4'}

/*
.et_pb_button {padding:12px 35px;}
.et_pb_button:hover,
.et_pb_module .et_pb_button:hover {padding:12px 70px 12px 35px}
a.button:hover::after {margin-left:35px;}
*/

.ahc_faq_toggle_section .et_pb_toggle {padding:0}
.ahc_faq_toggle_section .et_pb_toggle .et_pb_toggle_title {
	padding: 15px 40px 15px 15px;
	transition: all ease .5s
}

.ahc_faq_toggle_section .et_pb_toggle_open .et_pb_toggle_title {
	background-color: #FE5000;
	color: #fff;
}

.ahc_faq_toggle_section .et_pb_toggle .et_pb_toggle_content {padding: 5% }


.ahc_faq_toggle_section .et_pb_toggle .et_pb_toggle_title::before {
	margin-right:20px;
	transition: all ease .3s;
}
.ahc_faq_toggle_section .et_pb_toggle_close .et_pb_toggle_title::before {content:'\74'}
.ahc_faq_toggle_section .et_pb_toggle_open .et_pb_toggle_title::before {
	content:'\51';
	color: #fff;
	transform: rotate(180deg) scale(1.5,1.5);
}

.ahc_arrow_row .et_pb_column {
	-webkit-clip-path: polygon(90% 0, 100% 50%, 90% 100%, 0% 100%, 10% 50%, 0% 0%);
    clip-path: polygon(90% 0, 100% 50%, 90% 100%, 0% 100%, 10% 50%, 0% 0%);
}

@media all and (max-width: 767px) {
    .ahc_arrow_row .et_pb_column {
        -webkit-clip-path: polygon(100% 0, 100% 91%, 50% 100%, 0 90%, 0 0, 50% 10%);
        clip-path: polygon(100% 0, 100% 91%, 50% 100%, 0 90%, 0 0, 50% 10%);
		padding: 60px 8%;
	}
}

/* ---------- BLOG ------------------------------- */
@media only screen and (min-width: 1080px) {
    .ahc_fullwidth_results .et_pb_post.has-post-thumbnail .entry-featured-image-url {
        float: left;
        width: 20%;
        margin-right: 4%;
    }
    .ahc_fullwidth_results .et_pb_post.has-post-thumbnail:not(.format-gallery) > .post-content {
        padding-left: 24%;
    }
}

.rp4wp-related-posts {margin-top: 30px}

.rp4wp-related-posts ul {
	display: block;
	padding-left:0 !important;
	margin:0;
}
.rp4wp-related-posts ul>li{
	list-style:none;
	padding:0;
	margin:0;
	padding: 0 1% 20px;
	display: inline-block;
    max-width: 31%;
	vertical-align: top;
}

.rp4wp-related-post-content a {
	font-size:16px;
	line-height: 1.3em;
}
.rp4wp-related-posts ul > li p {display:none}
.rp4wp-related-post-image {
	display:block;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
}

@media all and (max-width: 767px) {
    .rp4wp-related-posts ul > li {
		max-width: 100%;
		padding: 0 0 20px;
	}
	.rp4wp-related-post-image {text-align:center}
}

/* ---------- EVENTS ----------------------------- */
.post-type-archive-tribe_events #main-content .container::before,
.single-tribe_events #main-content .container::before {background: none}

@media (min-width: 981px){
	.post-type-archive-tribe_events #left-area,
	.single-tribe_events #left-area {
		width: 100%;
		padding: 23px 0px 0px !important;
		float: none !important;
	}
	.single-tribe_events #left-area {
		margin: 0 auto;
		width: 80%;
	}
}

.post-type-archive-tribe_events #sidebar,
.single-tribe_events #sidebar {display:none}

.post-type-archive-tribe_events #main-content,
.single-tribe_events #main-content {background-color:#f5f5f5}

.tribe-events-list-separator-month::after {border-bottom: 1px solid #ee730c;}
.tribe-events-list-separator-month span {
    background-color: #f5f5f5;
    padding: 10px 7.5%;
    border: 1px solid #1967b1;
    color: #1967b1;
}

.newsletter_archive {
	font-size:16px;
	line-height: 1.4em;
}

/* ---------- GRAVITY FORMS ---------------------- */
.gform_body input,
.gform_body select,
.gform_body textarea {
  background-color: #eeeeee;
  border: 0;
  border-radius: 3px;
  font-size: 16px;
  padding: 15px !important;
}

.gform_wrapper.gravity-theme .gform_page_footer input[type="button"].gform_next_button {
	background-color: #282828 !important;
	border: 0;
	border-radius: 4px;
	color: #ffffff;
	font-size: 18px;
	line-height: 1em;
	padding: 0.75em 2em;
}

.gform_wrapper.gravity-theme .gform_page_footer input[type="button"].gform_previous_button {
	border: 0;
	color: #777;
	font-size: 18px;
	line-height: 1em;
}

.multiColumn .gfield_checkbox {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

.multiColumn.multiColumn-4 .gchoice {width:25%;}
.multiColumn.multiColumn-3 .gchoice {width:33%;}
.multiColumn.multiColumn-2 .gchoice {width:50%;}

.gform_footer .gform_button.button {
  background-color: #282828;
  border: 0;
  border-radius: 3px;
  color: #fefefe;
  font-size: 16px;
  font-weight: 700;
  padding: 15px;
}


/* ------------ CALDERA FORMS ------------ */

.caldera-grid input.form-control,
.caldera-grid select.form-control,
.caldera-grid textarea.form-control {
	box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    background-color: #eee;
	border: 0;
	border-width: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
	box-shadow: none;
	color: #999;
	font-size: 14px;
	height: auto;
    padding: 16px;
}

.caldera-grid select.form-control {height:51px}

.caldera-grid .checkbox input[type="checkbox"],
.caldera-grid .radio input[type="radio"] {
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
	background-color: #eee;
	border: 0;
	border-width: 0;
	height: 18px;
	width: 18px;
	position: relative;
	vertical-align: middle;
	margin-top:-1px;
}

.caldera-grid .radio input[type="radio"] {border-radius:50%}

.caldera-grid .checkbox input[type="checkbox"]:checked::before,
.caldera-grid .radio input[type="radio"]:checked::before {
    position: absolute;
    top: 50%;
    left: 50%;
    content: "";
    transform: translate(-50%,-50%);
}

.caldera-grid .checkbox input[type="checkbox"]:checked::before {
	width: 17px;
    height: 17px;
    color: #2ea3f2;
    font-family: dashicons;
    font-size: 17px;
    line-height: 17px;
    content: "\f147";
}

.caldera-grid .radio input[type="radio"]:checked::before {
	width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2ea3f2;
}

.caldera-grid input:focus,
.caldera-grid textarea:focus,
.caldera-grid .checkbox input[type="checkbox"]:focus {
  outline-style:none !important;
  box-shadow:none !important;
  border-color:transparent !important;
}

.caldera_divi_contact_button {
	display: inline-flex;
	position: relative;
}

.caldera_divi_contact_button::after {
	right: 1em;
}

.caldera_divi_contact_hide_button {
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
	background-color: inherit;
	border: 0;
	border-width:0;
	color: inherit;
}

/* ---------- FOOTER ----------------------------- */
#footer-info {
    width:100%;
    text-align:center;}

#main-footer .footer-widget h4 {font-weight:400}

#main-footer .fwidget.et_pb_widget {margin-bottom:30px!important;}

.footer-widget .title::after {
    background-color:#0072CE;
    content: "";
    display: block;
    width: 30px;
    height: 3px;
    left: 0;
    bottom: -5px;
    margin-bottom:10px;
    position: relative;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;}

div#footer-widgets div.footer-widget ul.menu li {padding-left:0 !important;}
div#footer-widgets div.footer-widget ul.menu li::before {display:none;}

.fwidget.widget_nav_menu {
	display: block;
	padding: 0 5% !important;}
    
/* ---------- MEGA MENU 5 COL -------------------- */
#top-menu li.mega-menu.col-5 > ul > li:nth-of-type(5n),
.fullwidth-menu-nav li.mega-menu.col-5 > ul > li:nth-of-type(5n) {clear: none;}

#top-menu li.mega-menu.col-5 > ul > li:nth-of-type(6n),
.fullwidth-menu-nav li.mega-menu.col-5 > ul > li:nth-of-type(6n) {clear: none;}

#top-menu li.mega-menu.col-5 > ul > li,
.fullwidth-menu-nav li.mega-menu.col-5 > ul > li {
    width: 20%;
    margin: 0;}
    
/* ---------- MEGA MENU 6 COL -------------------- */    
#top-menu li.mega-menu.col-6 > ul > li:nth-of-type(5n),
.fullwidth-menu-nav li.mega-menu.col-6 > ul > li:nth-of-type(5n) {clear: none;}

#top-menu li.mega-menu.col-6 > ul > li:nth-of-type(7n),
.fullwidth-menu-nav li.mega-menu.col-6 > ul > li:nth-of-type(7n) {clear: none;}

#top-menu li.mega-menu.col-6 > ul > li,
.fullwidth-menu-nav li.mega-menu.col-6 > ul > li {
    width: 16%;
    margin: 0;}

/* ---------- GLOBAL ---------------------------- */
.scrolloff {pointer-events: none;}
#page-container {overflow:hidden;}

@media all and (max-width: 767px) {
  .mobile_section_reverse {
	display: flex;
	flex-direction: column-reverse;
  }
}

/* ---------- CUSTOM LIST BULLETS ---------------- */
.custom_list ul {padding-bottom:0!important;}
.custom_list ul li {
	padding-left: 30px;
	list-style:none;
	margin-bottom: 10px;
}

.custom_list 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;
}

.custom_list--check ul li::before {content: '\5a';}
.custom_list--link ul li::before {content:'\e02c';font-size:1em;}
.custom_list--arrow ul li::before {content:'\24';}

/* Hide chat bubble when editing pages */
.et-fb .src-pages-launchers-dialog-menu-___dialog-menu__container___1g0gL {display:none !important}

/* ---------- ANIMATIONS ------------------------ */
