/*
Theme Name: Elysian Hospice
Description: A child theme for Enfold.
Version: 1.0
Author: Armour Creative
Author URI: https://armourcreative.com
Template: enfold
*/


.container {
    padding: 0 80px;
}


/* Fonts */

h1 {
    font-size: 44px;
    line-height: 1.2em;
    font-weight: 500;
	padding-bottom: 8px;
    text-transform: none !important;
}
h2 {
    font-size: 36px;
    line-height: 1em;
    font-weight: 500;
	padding-bottom: 12px;
    text-transform: none !important;
}
 h3 {
    font-size: 26px;
    line-height: 1.3em;
    font-weight: 400;
    text-transform: none;
}

h4 {
	color: #4ec3e0 !important;
    font-size: 21px;
    font-weight: 300;
    text-transform: uppercase;
    text-decoration: underline;
	text-underline-offset: 8px; 
	padding-bottom: 22px;
	letter-spacing: .15rem;
	line-height: 1.6em;
}
p {
    font-size: 18px;
    line-height: 1.5em;
    font-weight: normal;
}


#top #wrap_all .avia-slideshow-button, #top .avia-button, .html_elegant-blog .more-link, .avia-slideshow-arrows a:before {
    padding-left: 38px;
    padding-right: 38px;
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 18px;
    font-weight: 300;
    text-transform: none;
}


/* Menu Justify */
.logo {
  flex-shrink: 0;
  width: 100%;
  top: 0;
  position: absolute;
}
.logo::after {
  content: "Where Every Moment Matters";
  font-size: 30px;
  color: #0086d4;
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
  width: 100%;
  line-height: 60px;
  text-align: right;
}
.tagline {
  font-size: 18px; /* Adjust as needed */
  color: #333; /* Adjust color */
  font-weight: bold;
  white-space: nowrap; /* Prevents wrapping */
}

.av-main-nav {
display: flex;
flex-direction: row;
justify-content: space-between;
position: relative;
z-index: 10;
}

/* Menu Styling */
#header #header_main_alternate .container {
    background: #f0f9fb;
	box-shadow: 0 4px 7px -2px rgba(0, 0, 0, 0.13);
	border-top: 1px solid #f2f2f2;;
		max-width: 100%;
		display: flex;
}
.main_menu {
	max-width: fit-content;
    margin-left: 5%;
}
.av-main-nav>li>a {
    display: block;
    text-decoration: none;
    padding: 0 13px;
    font-weight: 500;
    font-size: 18px;
}
.avia-menu-text {
    color: #3551a3;
    text-transform: capitalize;
    font-weight: 300;
    font-size: 20px;
}
.av-burger-overlay {
	z-index: 1;
}
.small-container .container { 
	max-width: 70%;
}

/* Homepage Iconboxes */
.iconbox .iconbox_content .iconbox_content_title {
	font-size: 20px;
    line-height: 1.3em;
    font-weight: 500;
    text-transform: none;
}
.iconbox_top .iconbox_icon {
    /* left: 41%; */
    /* top: -66px; */
    /* font-size: 40px; */
    /* padding: 36px; */
    zoom: 1.75;
    margin-top: -10px;
}
.main_color.iconbox_top .iconbox_content{
	background: #ffffff;
	border-radius: 24px;
	padding: 45px 35px 35px 35px;
	min-height: 205px;
}

.center-box {
	display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.center-box h3 {
	font-size: 18px;
}
.center-box p {
	font-size: 16px;
    line-height: 19px;
}
#top .center-box .av-icon-char {
	font-size: 50px;
    line-height: 40px;
}
/* Families Iconboxes */

.family-icons .iconbox_top .iconbox_icon::before {
	position: relative;
	left: -4px;
	line-height: .8em;
	font-size: 32px;
}
.family-icons .iconbox_top .iconbox_icon {
	top: -34px;
	border: 8px solid #ffffff !important;
	margin: 0 0 0 -35px;

}

.family-icons .main_color.iconbox_top .iconbox_content{
	min-height: 298px;
	padding: 60px 30px 30px 30px
}

/* Footer */
#top .av-subnav-menu {
    margin: 0;
    background: #3351a3;
    font-size: 18px;
}
 .main_color .av-subnav-menu a {
    background: #3351a3;
    color: #ffffff;
}


/* Footer Menu */


.footer-menu {
  background: var(--enfold-alternate-color-bg);
}
.footer-menu ul {
  display: flex;
  justify-content: space-evenly;
  text-align: center;
}
#top .footer-menu ul a {
  color: #fff;
  font-size: 20px;
  background: transparent;
  border-left: 0;
}
.widget_nav_menu a {
    font-size: 19px;
}
#top .content .flex_column .widget_nav_menu li a {
    padding: 0.6em 3px;
}


.footer-columns p {
  font-size: 15px;
}
#top .flex_column_table.av-equal-height-column-flextable .av-flex-placeholder {
  width: 4%;
}
.socket p {
  font-size: 14px;
}
.float-text {
  padding: 70px 0 70px 50%;
}
#top .hero {
  background-position: 75% center;
}
.social-links {
	font-size: 40px;
    padding: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
}
.social-links .av_font_icon {
	margin: 0 15px;
}
@media screen and (max-width: 1200px) {
  .float-text {
    padding: 70px 0 115% 0;
  }
  #top .flex_column.column-1 .avia-image-container {
    width: 100%;
  }
  #top .flex_column.column-1 .avia-image-container img {
    margin: 0 auto;
  }
	.social-links {
    padding: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
}
.social-links .av_font_icon {
	margin: 0 15px;
}
}
#top .content .flex_column .widget_nav_menu li,
#top .content .flex_column .widget_nav_menu li:first-child {
	border: 0;
} 
.column-2 {
	text-align: left;
}
.footer-logo img {
	max-height: 110px;
}
@media screen and (max-width: 990px) {
	#fade {
		background-position: 80% center;
		position: relative;
	}
	#fade::after {
		content: "";
		position: absolute;
		top: 0; 
		left: 0;
		width: 100%; 
		height: 100%;
		background: linear-gradient(
      to right,
      rgba(255,255,255,0.5) 0%,   /* 50% white on the left */
      rgba(255,255,255,0.2) 100%  /* 20% white on the right */
    );
		opacity: 1;
		pointer-events: none;   
		z-index: 1; 
		}
	#fade .container {
		position: relative;
		z-index: 2;
	  }
	#fade .avia-divider-svg {
		display: none;
	}
	
	#top .flex_column.column-1,
	#top .flex_column.column-2,
	#top .flex_column.column-3,
	#top .flex_column.column-4 {
	text-align: center;
	}
}

@media screen and (max-width: 768px) {
	#fade::after { 
		background: linear-gradient(
      to bottom right,
      rgba(255,255,255,0.7) 0%,   /* 50% white at top-left */
      rgba(255,255,255,0.5) 100%  /* 20% white at bottom-right */
    );
    opacity: 1;  /* ensure we’re not double-fading */
	}
	
  .logo::after {
    content: "";
	}
	#header_main {
		margin-bottom: 70px;
	}
	#header_main::after {
	  content: "Where Every Moment Matters";
	  font-size: 30px;
	  color: #0086d4;
	  position: absolute;
	  width: 100%;
	  line-height: 60px;
	  text-align: center;
	}
  .footer-menu ul {
    flex-direction: column;
  }
.footer-logo {
    	width: 100%;
	}
	.footer-logo img {
		max-width: 300px;
		margin: 0 auto;
	}
	.column-2 {
	text-align: center;
}
	#top .footer-logo h5 {
		font-size: 29px;
	}
	#top #footer-page h3,
	#top .content .flex_column .widget_nav_menu li a{
		text-align: center;
	}
	.avia-section-huge .content, .avia-section-huge .sidebar {
		padding-top: 70px;
		padding-bottom: 70px;
	}
	#top .flex_column_table.av-equal-height-column-flextable:not(:first-child) {
		margin-top: 0;
	}
	.flex_column.social-icons {
		display: flex !important;
    	flex-direction: column;
		row-gap: 20px;
	}
	.mobile-fit-content .flex_column {
		height: 100% !important;
	}
}
.iconlist-char {
  font-size: 40px;
}
.avia-image-container.av-1rxpj-aee6391f6174a3497baa876877f467c6 img.avia_image {
    box-shadow: none;
    max-width: 181px;
}

/* Contact Page */
#gform_submit_button_1.gform_button.button {
  background-color: #5bab47;
  padding: 10px 20px;
  font-size: 20px;
}
#top legend {
  font-size: 22px;
}
#top label span, #top legend span {
  font-size: 18px;
  color: #444;
  padding-left: 5px;
}
#top label {
  font-weight: 400;
  font-size: 18px;
}
.gform-theme--framework .field_description_above .gfield_description:where([class=gfield_description], .gfield_creditcard_warning_message, .field_validation_above .gfield_validation_message) {
  font-size: 18px;
}
#top .main_color input[type='text'] {
  font-size: 20px;
  color: #3551a3;
  background-color: #f2f2f2;
}
#top .main_color input[type='tel'],
#top .main_color input[type='email'],
#top .main_color textarea {
	background-color: #f2f2f2;
}

.max-400 img{
max-width: 400px;
}

	/* Career Images */
.box-img img {
	border-radius:  8px 8px 0 0;
}
.box-img .avia_textblock {
	padding: 20px 30px;
}

.apply h3 {
	font-size: 18px;
}