/*
Theme Name: Liberty Upscale
Author: WSI Web Success
Author URI: https://www.wsiwebsuccess.com/
Description: Theme for Liberty Senior Living Communities
Version: 2.0.9
Tags: blog, custom-colors, custom-header, custom-logo, custom-menu, featured-images
Text Domain: liberty-upscale
*/

/* CSS Document */

html {
	box-sizing: border-box;
}
*,
*:before,
*:after
{
	box-sizing: inherit;
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
body {
	line-height: 1;
	color: #2e2e2e; /*very dark*/
	background: white;
	font-family: "Krub", sans-serif;
	font-size:18px !important;
	line-height:1.5em;
	font-weight:300;
}
ol,
ul {
	margin:0 0 1em 0;
	padding: 0 0 0 35px;
	font-size: 1em;
	line-height:1.8em;
}
ol ol,
ul ul {
	font-size:1em;
	margin:0;
}
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption,
th,
td {
	text-align: left;
	font-weight: normal;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}
blockquote,
q {
	quotes: "" "";
	padding:20px;
	margin:10px 5%;
	background-color:#e8e8e8; /*light gray*/
	font-style:italic;
}
blockquote span {
	display:block;
	text-align:right;
	margin-top:10px;
}
em {
	font-style: italic;
}
hr {
	height: 1px;
	margin: 1em 0;
	width: 100%;
}
a {
	text-decoration:none;
	font-weight:600;
}
a:hover, a:focus {
	text-decoration:underline;
}
.main-theme a, .tertiary-theme a {
	color:white;
	text-decoration:underline;
}
.main-theme a:hover, .main-theme a:focus,
.tertiary-theme a:hover, .tertiary-theme a:focus {
	text-decoration:none;
}
strong {
	font-weight:bold;
}
h1, h2, h3, h4 {
	line-height:1.3em;
	padding:0;
}
h1 {
	margin: 0 0 .9em -30px;
	font-size: 1.9em;   
	font-weight:600;
}
h2 {
	margin: 0 0 .7em 0;
	font-size:1.8em;
	font-weight:300;
}
h3 {
	margin: 0 0 .7em 0;
	font-size: 1.8em;
	font-weight:600;
}
h4 {
	margin: 0 0 .8em 0;
	font-size: 1.6em;
	font-weight:300;
}
p {
	margin: 0 0 1.3em 0;
	padding: 0;
	font-weight:normal;
	font-size: 1em;
}
img {
	max-width:100%;
	display:block;
	height:auto;
}
p img {
	display:inline-block;
}
.clearfix:after {
	content: " ";
	display: block;
	clear: both;
}
.container {
	width:90%;
	max-width:1400px;
	margin:0 auto;
}

.screen-reader-text {
	opacity:0;
	height:0;
	width:0;
	position:absolute;
}
.skip-main {
	position: absolute;
	top: 0;
	left: calc(50% - 75px);
	width: 200px;
	height: 30px;
	text-align: center;
	background-color: white;
	padding: 3px 5px;
	opacity: 0;
	z-index:-1;
}
.skip-main:focus {
	opacity:1;
	z-index:105;
}
#main-content:focus {
	outline: none;
}

/* COOKIE NOTIFICATION */
body .cookie-notification {
	display:none;
}
.cookie-notification {
	position:fixed;
	bottom:0;
	left:0;
	width:100%;
	background-color: #2e2e2e; /*very dark*/
	z-index:-1;
}
body.show-cookie-notification .cookie-notification {
	display:block;
	z-index:100;
}
body.show-cookie-notification .cookie-notification p {
	margin:0;
	padding:13px 10px 0 0;
	color:white;
	width:calc(100% - 100px);
}
.cookie-notification a {
	color:white;
}
.cookie-notification .close {
	cursor:pointer;
	float: right;
	color: #323232; /*super dark*/
	width: 100px;
	background-color: #dddddd; /*light gray*/
	padding: 5px;
	text-align: center;
	margin: 8px;
} 

/* MINI TOP */
.mini-top {
	text-align:right;
	position:relative;
}
.mini-top .phone {
	display:inline-block;
	padding:4px 0 0 4px;
}
.mini-top .phone img {
	width:24px;
}
.mini-top .search-box {
	top:36px;
}

/* SOCIAL */
.social {
	list-style-type:none;
	display:inline-block;
	padding: 0;
	margin: 0;
	vertical-align: top;
}
.social li {
	display:inline-block;
}
.social li a {
	border-radius: 3px;
	padding: 4px;
	display: block;
}
.social img {
	height: 22px;
}
.social a:hover img, .social a:focus img {
	opacity:.6;
}

/* SEARCH */
.search-wrap {
	display:inline-block;
	vertical-align:top;
	margin:4px 0;
}
.search-icon img {
	width:24px;
}
.search-icon:hover img, .search-icon:focus img {
	opacity:.6;
}
.search-box {
	display:none;
	position:absolute;
	top:65px;
	left:0;
	width:100%;
	padding:10px 10px 7px 10px;
	box-shadow:3px 3px 15px rgba(0,0,0,0.6);
	z-index:6;
}
.search-box .searchform {
	max-width:700px;
	margin: 0 0 0 auto;
}
.search-wrap.open .search-box {
	display:block;
}
.searchbutton {
	height: 34px;
	width: 34px;
	border-radius:10px;
	background-image: url(img/search_color.png);
	background-size: 27px;
	background-repeat: no-repeat;
	border: none;
	background-color:transparent;
	margin-bottom:-10px;
}
.search-box input[type=text] {
	padding: 3px 5px;
	width: calc(100% - 45px);
	border: 1px solid lightgray;
	vertical-align: top;
	border-radius: 5px;
	font-size:16px;
}
.searchbutton:hover,
.searchbutton:focus {
	opacity:0.5;
}

/* FIX FIREFOX */
@-moz-document url-prefix() {
	.search input[type="text"] {
		top: 6px;
	}
}

/* FIX IE */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	.search input[type="text"] {
		top: 6px;
	}
}

/* HEADER */
header {
	position:fixed;
	z-index:50;
	width:100%;
}
.logo {
	padding:15px 0;
	background-color:white;
}
.logo img {
	width: auto;
	height: 110px;
	margin: 0 auto;
}
.top-bar {
	padding:20px 0 0 0;
	position:relative;
}
.top-right {
	float:right;
}
.top-right .phone, .top-right .phone:hover, .top-right .phone:focus {
	text-decoration:none;
	color:white;
	padding:5px 10px;
	font-weight:600;
	position: relative;
	top: 2px;
}
.trailing-buttons {
	text-align:right;
	padding:15px 0;
}
.trailing-buttons .callout-btn {
	width:240px;
	text-align:center;
	border-radius:10px !important;
	display:inline-block;
	font-weight:500 !important;
	padding:10px !important;
}

/* BANNER */
.wp-block-cover.banner {
	padding-top:170px;
	margin-bottom:60px;
}
.home .wp-block-cover {
	background-image: url(https://www.thepreserveatfairfieldglade.com/wp-content/uploads/Area-Hero_Optimized_Bottom-Aligned.jpg);
	background-size: cover;
}
.home .wp-block-cover.banner img {
	animation-name: imgFade;
	animation-duration: 15s;
	animation-delay:5s;
	animation-iteration-count: infinite;
}

@keyframes imgFade {
	25% {opacity:1;}
	45% {opacity:0;}
	65% {opacity:0;}
	85% {opacity:1;}
}

/* TOP NAV */
.top-nav {
	padding-left:190px;
}
.top-nav ul {
	margin: 0 auto;
	padding:0;
	list-style: none;
	text-align:center;
}
.top-nav ul li {
	display: inline-block;
	vertical-align:top;
}
.top-nav ul li a {
	text-decoration: none;
	white-space: nowrap;
	display: block;
	font-size: 18px;
	color:white;
	font-weight:400;
	position:relative;
}
.top-nav>ul>li>a {
	padding: 0 0 12px 0;
	margin: 0 30px 12px 15px;
}
.top-nav>ul>li>a:only-child {
	margin: 0 15px 12px 15px;
}
.top-nav>ul>li:hover>a {
	border-bottom:2px solid #e2b650; /*gold*/
	font-weight:600;
} 
.top-nav>ul>li:hover>a:only-child {
	border-bottom:none;
}
.top-nav>ul>li:hover>a:only-child:after {
	content:" ";
	position: absolute;
	display: block;
	bottom: -2px;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #e2b650; /*gold*/
	right: unset;
	top: unset;
	margin: 0;
	border: none;
}
.top-nav>ul>li:hover,
.top-nav>ul>li>ul a:hover {
	font-weight:600;
}
.top-nav>ul>li>ul a {
	font-weight:normal;
}
.top-nav ul li a:before {
	content: attr(data-text);
	height: 0;
	visibility: hidden;
	overflow: hidden;
	user-select: none;
	pointer-events: none;
	font-weight:bold;
	display:block;
}

/* Hide Dropdowns by Default */
.top-nav ul ul {
	display: none;
	z-index: 55;
	text-align:left;
	padding-bottom:30px;
	width:50px;
	margin:0;
}
ul.expandable {
	z-index: 9999;
}

/* First Tier Dropdown */
.top-nav ul ul li {
	display: list-item;
	padding:0;
}
.top-nav ul ul li:last-child {
	border-bottom:none;
}
.top-nav ul ul li:hover > ul.drop-to-right,
.top-nav ul ul li.hover > ul.drop-to-right {
	right: 100%;
	left: auto;
}
.top-nav ul ul li:hover > ul li {
	white-space: nowrap;
}
.top-nav ul ul li a {
	padding: 5px 15px;
	margin:0;
}
.top-nav ul ul li a:hover,
.top-nav ul ul li a:focus {
	text-decoration:none;
}

/* Display Dropdowns on Hover */
.top-nav ul li:hover > ul,
.top-nav ul li.hover > ul {
	display:block;
	position:relative;
	left:0;
}
.top-nav ul li:hover > ul:before,
.top-nav>ul>li:hover:before {
	content:" ";
	position:absolute;
	top:0;
	left:0;
	width:100vw;
	height:100%;
	z-index:-1;
}
.top-nav ul li:last-child:hover>ul {
	right:0;
}

/* Change this in order to change the Dropdown symbol */
.top-nav li > a:after {
	content: " ";
	position:absolute;
	right:-14px;
	top:12px;
	width: 0;
	height: 0;
	margin-left: 8px;
	vertical-align: middle;
	border-top: 4px solid white;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
}
.top-nav li > a:only-child:after {
	display: none;
}

/* SITEMAP */
.wp-block-navigation .wp-block-navigation__submenu-icon {
	display:none;
}
.wp-block-navigation .wp-block-navigation-item {
	display:block;
}
.wp-block-navigation .has-child .wp-block-navigation__submenu-container {
	display: block;
	height: auto;
	position: unset;
	visibility: visible;
	width: auto;
	opacity: 1;
	margin-left:10px;
	padding-left:10px;
	border: unset;
	border-left: 1px solid #323232;
}

/* MOBILE TOP */
.mobile-top {
	padding:15px;
	position:relative;
	z-index:5;
}
.mobile-top .mobile-logo {
	display:inline-block;
	max-width:250px;
	width:calc(100% - 55px);
}

/* MOBILE NAV */
.mobile-nav {
	width: 45px;
	float: right;
	padding: 13px 0;
}
.mobile-nav .hamburger {
	width:40px;
	height:30px;
	border-top:2px solid white;
	border-bottom:2px solid white;
	margin:5px auto;
	position:relative;
}
.mobile-nav .hamburger:before {
	content:" ";
	position:absolute;
	top:calc(50% - 1px);
	left:0;
	width:100%;
	height:2px;
	background-color: white;
}
.mobile-nav .cross {
	width:45px;
	height:30px;
	position:relative;
}
.mobile-nav .cross:before, .mobile-nav .cross:after {
	content:" ";
	position:absolute;
	top:calc(50% - 1px);
	left:0;
	width:100%;
	height:2px;
	background-color: white;
}
.mobile-nav .cross:before {
	transform:rotate(45deg);
}
.mobile-nav .cross:after {
	transform:rotate(-45deg);
}
.mobile-nav .hamburger:hover,
.mobile-nav .cross:hover {
	cursor:pointer;
}
.mobile-nav ul {
	list-style:none;
	background-color: #244c5a; /*dark blue*/
	margin:0;
	padding:0;
	z-index: 3;
	font-size:18px;
}
.mobile-nav>ul {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	padding:105px 40px 20px 40px;
	background-color: #244c5a; /*dark blue*/
	display:none;
	z-index:-1;
	max-height:90vh;
	overflow-y:scroll;
}
.mobile-nav ul li {
	position: relative;
}
.mobile-nav ul a {
	padding:15px 0;
	display:block;
	color: white;
	font-weight:300;
	text-decoration:none;
}
.mobile-nav ul a:hover, .mobile-nav li.expanded>a {
	font-weight:500;
}
.mobile-nav>ul>li {
	border-bottom:2px solid #e2b650; /*gold*/
}
.mobile-nav ul li ul {
	display:block;
}
.mobile-nav .sub-menu {
	overflow: hidden;
	height: 0px;
	transition: 0.3s height ease-in-out;
}
.mobile-nav .sub-menu.expanded {
	height: auto;
}

/* Style for the toggle span */
.mobile-nav .submenu-toggle {
	display: block;
	position: absolute;
	top: 5px;
	right: 3px; /* Adjust as needed */
	width: 45px;
	height:50px;
	cursor:pointer;
}
.mobile-nav .submenu-toggle:before {
	content:" ";
	border-left: 10px solid white;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	display: block;
	position: relative;
	top: 17px;
	left: 18px;
}

/* Style for when the menu is open */
.mobile-nav .toggled.submenu-toggle:before {
	border-top: 10px solid white;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-bottom: unset;
	width: 10px;
	left: 14px;
	top: 19px;
}
.mobile-nav li > a:only-child:after {
	display: none;
}

/* CONTENT */
.negative-margin {
	margin-top:-120px;
	position:relative;
}
.two-columns {
	column-count:2;
}
.main-theme h1, .main-theme h2, .main-theme h3, .main-theme h4, .main-theme, .bg-band h2,
.tertiary-theme h1, .tertiary-theme h2, .tertiary-theme h3, .tertiary-theme h4, .tertiary-theme {
	color:white;
}
.bg-band.main-theme, .bg-band.secondary-theme, .bg-band.tertiary-theme {
	background-color:unset;
}
.note {
	font-size:.8em;
	font-style:italic;
}
.bg-band {
	position:relative;
	padding:50px 0;
	clear:both;
}
.wp-block-media-text.bg-band {
	margin:0;
}
.bg-band:before {
	content:" ";
	position:absolute;
	top: 0;
	left: 50%;
	width:100vw;
	height:100%;
	transform:translatex(-50%);
	z-index:-1;
}
.bordered.orange figure {
	border: 7px solid #e6c156;
}
.content {
	padding:140px 30px 50px 30px;
	overflow:hidden;
}
.home .content {
	padding-bottom:0;
}
.inner.blog #main-content {
	float:left;
	width:calc(100% - 350px);
	padding-right:20px;
}
.wp-block-media-text {
	margin:50px 0;
}
.wp-block-media-text__content {
	padding:30px 8% !important;
}
.wp-block-embed__wrapper {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}
.wp-block-embed__wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 95%;
}

/* FLOOR PLANS */
.floor-plans {
	display:block !important;
	margin:30px 0;
	text-align:center;
}
.floor-plans>div>p>a {
	font-weight:300;
	color:#323232;
	display:inline-block;
	margin:5px 10px;
}
.floor-plans>div>p>a.active, .floor-plans>div>p>a:hover, .floor-plans>div>p>a:focus {
	font-weight:600;
	color:#323232;
	text-decoration:none;
	border-bottom:2px solid #14a4c7; /*blue*/
}
.floor-plans .wp-block-column {
	width:440px;
	max-width:100%;
	display:inline-block;
	border-right:1px solid gray;
	padding:20px;
	margin:20px 0;
	text-align:left;
	position:relative;
}
.floor-plans .wp-block-column h2, .floor-plans .wp-block-column p, .floor-plans .wp-block-column .wp-block-buttons {
	padding:0 20px;
}
.floor-plans .wp-block-column:after {
	content:" ";
	position:absolute;
	bottom:-20px;
	left:-2px;
	width:calc(100% + 8px);
	height:1px;
	background-color:gray;
}
.floor-plans .wp-block-column:nth-child(3n),
.floor-plans .wp-block-column:last-child {
	border-right:none;
}
.floor-plans img {
	height: 20vw;
	min-height:250px;
	width: 100%;
	object-fit: contain;
}

/* THINGS TO DO */
.things-to-do {
	position:relative;
}
.things-to-do:before {
	content:" ";
	position:absolute;
	top:238px;
	left:calc(50% - 50vw);
	height:calc(100% - 238px);
	width:100vw;
	background-color:#f7faf8; /*super light blue*/
}
.things-to-do .wp-block-group .wp-block-group__inner-container {
	padding:15px;
}
.things-to-do .slick-prev, .things-to-do .slick-next {
	top: 238px;
	width: 30px;
	height: 30px;
	background: #14a4c7 !important; /*blue*/
	border-radius: 50%;
}
.things-to-do .slick-prev:before, 
.things-to-do .slick-next:before {
	opacity: 1;
	content: " ";
	display: block;
	position: relative;
}
.things-to-do .slick-next:before {
	border-left: 10px solid white;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	left: 11px;
}
.things-to-do .slick-prev:before {
	border-right: 10px solid white;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	left: -11px;
}
.things-to-do .slick-prev:hover, .things-to-do .slick-next:hover {
	background:#dbefea !important; /*light blue*/
}
.things-to-do .slick-prev {
	left: -35px;
}
.things-to-do .slick-next {
	right: -35px;
}


/* TESTIMONIALS */
.testimonial-grid .wp-block-group__inner-container{
	column-count: 3;
}
.testimonial-wrapper {
	text-align:center;
	padding:20px;
}
.testimonial-wrapper .container {
	max-width:800px;
}
.testimonial-wrapper .testimonial {
	break-inside: avoid;
	background-color:unset;
	color:white;
	max-width:unset;
	box-shadow:unset;
	font-size:1.2em;
	line-height:1.4em;
}
.testimonial-wrapper .name-block {
	text-align:center;
}
.testimonial-wrapper .slick-dots li button:before {
	color:white !important;
	font-size:10px;
}
.testimonial-wrapper .read-more {
	display:none;
}
.testimonial-wrapper .testimonial-link {
	text-align:right;
	margin-bottom:0;
}
.testimonial-wrapper .testimonial-link a {
	font-weight:500;
}
.testimonial {
	display:inline-block;
	vertical-align:top;
	margin:10px;
	max-width:400px;
	padding:20px;
	background-color:white;
	box-shadow:3px 3px 10px rgba(0,0,0,0.3);
	text-align:left;
	color:#323232; /*super dark*/
}
.name-dot {
	border-radius:50%;
	background-color:blue;
	color:white;
	padding:5px;
	float:left;
	font-size:30px;
	width: 40px;
	height: 40px;
	text-align: center;
	margin-right:10px;
}
.name-block {
	line-height:1em;
}
.name-block p {
	margin-top:10px;
}
.name-block span {
	font-size:.8em;
	opacity:.6;
	font-style:italic;
}

/* TESTIMONIAL CAROUSEL */
/* Container for the testimonials */
.testimonial-carousel {
	display: flex;
	color:white;
	padding:60px 0;
}
.testimonials {
	position: relative; /* Needed for positioning the slides inside */
	min-height: 250px; /* Adjust this value based on your longest testimonial to prevent page jump */
	display: flex;
	align-items: center;
	flex-basis: 50%;
}
.testimonial-controls {
	flex-basis: 50%;
	align-content:center;
	position:relative;
	padding-bottom:30px;
}
.testimonial-controls div {
	display:inline-block;
}
.testimonial-controls h4, .testimonial-controls h3 {
	color:white !important;
}
.testimonial-content {
	margin-bottom:0;
}

/* Base style for all testimonial slides */
.testimonial-in-carousel {
	position: absolute; /* Stack all slides on top of each other */
	top: 0;
	left: 0;
	width: 100%;
	opacity: 0; /* Make them invisible by default */
	visibility: hidden;
	transition: opacity 0.4s ease-in-out; /* Smooth fade transition */
}

/* Style for the currently VISIBLE testimonial slide */
.testimonial-in-carousel.active {
	opacity: 1; /* Make it visible */
	visibility: visible;
	position: relative; /* Allow it to define the container's height */
}

/* Add a pointer cursor to the buttons for better UX */
.testimonial-controls .controls button {
	cursor: pointer;
	position:relative;
	height:18px;
	width:10px;
	border-right:10px solid white;
	border-top:9px solid transparent;
	border-bottom:9px solid transparent;
	background-color:unset;
	margin-right: 10px;
	top: -5px;
}
.testimonial-controls .controls button.next {
	border-right:unset;
	border-left:10px solid white;
	border-top:9px solid transparent;
	border-bottom:9px solid transparent;
	margin-left: 10px;
	margin-right:0;
}

/* This wrapper handles the truncation */
.testimonial-content-wrapper {
	max-height: 310px; /* The collapsed height */
	overflow: hidden;
	position: relative; /* Needed for the gradient overlay */
	transition: max-height 0.5s ease-out; /* Smooth expand/collapse animation */
}

/* A gradient overlay to hint that there's more content */
.testimonial-content-wrapper::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 100px;
	/* The second color should match your page's background color */
	background: linear-gradient(to bottom, rgba(36, 76, 90, 0), rgba(36, 76, 90, 1));
	pointer-events: none; /* Allows you to select text behind the gradient */
	transition: opacity 0.3s ease;
}
.super-light-green .testimonial-content-wrapper::after {
	background: linear-gradient(to bottom, rgba(246, 249, 248, 0), rgba(246, 249, 248, 1));
}

/* Styles for the wrapper when it's expanded */
.testimonial-content-wrapper.expanded {
	/* Use a large value that will always be taller than your content */
	max-height: 2000px; 
}

/* Hide the gradient overlay when the content is expanded */
.testimonial-content-wrapper.expanded::after {
	opacity: 0;
}

/* The "Read more" / "Read less" button */
.toggle-expand {
	display: none; /* Hidden by default; JavaScript will show it if needed */
	margin-top: 25px;
	cursor: pointer;
}

.toggle-expand:hover {
	text-decoration: underline;
}

/* SLIDING GALLERY */
.wp-block-themeisle-blocks-slider .glide__track {
	border:unset;
}
.wp-block-themeisle-blocks-slider {
	width: calc(100% - 70px);
	margin: 0 auto;
}
.wp-block-themeisle-blocks-slider .wp-block-themeisle-blocks-slider-item-wrapper figure {
	border:7px solid #dbefea; /*light blue*/
}
.wp-block-themeisle-blocks-slider .glide__slides {
	min-height:300px;
	max-height:80vh;
	overflow:unset;
}
.wp-block-themeisle-blocks-slider .glide__arrows .glide__arrow {
	background:#14a4c7 !important; /*blue*/
	border-radius:50%;
	box-shadow:unset;
}
.wp-block-themeisle-blocks-slider .glide__arrows .glide__arrow svg {
	fill:white;
}
.wp-block-themeisle-blocks-slider .glide__arrows .glide__arrow {
	padding:6px;
}
.wp-block-themeisle-blocks-slider .glide__arrows .glide__arrow svg {
	height: 14px;
	width: 14px;
}
.glide__arrow--left {
	left:-35px;
}
.glide__arrow--right {
	right:-35px;
}
.glide__bullets {
	bottom:-20px;
}
.wp-block-themeisle-blocks-slider .glide__track .glide__bullet {
	border:1px solid #14a4c7 !important; /*blue*/
	box-shadow:unset;
}
.wp-block-themeisle-blocks-slider .glide__track .glide__bullet.glide__bullet--active {
	background-color:#14a4c7 !important; /*blue*/
}

/* INSPIRE */
.inspire-mark mark {
	background-color: #18332f; /*green*/
	display: inline-block;
	padding: 5px 0 7px;
	width: 37px;
	text-align: center;
	color: white;
	margin-right: 5px;
	font-size: 1.8em;
}
h2.inspire-mark mark {
	font-size:unset;
	width:50px;
}
h2.inspire-mark {
	font-size:2.3em;
}

/* BLOG */
.wp-block-themeisle-blocks-posts-grid .is-grid.o-posts-grid-columns-3 {
	grid-template-columns: 1fr 1fr 1fr;
}
.wp-block-themeisle-blocks-posts-grid .o-posts-grid-post-blog .o-posts-grid-post{
	background-color:unset;
}
.wp-block-themeisle-blocks-posts-grid .o-posts-grid-post-image img{
	height:unset !important;
	aspect-ratio:4 / 3 !important;
	margin:20px 0;
}
.o-posts-grid-post-blog:first-of-type {
	grid-column: span 3;
}
.o-posts-grid-post-blog:first-of-type .o-posts-grid-post{
	display:flex;
	flex-direction:row;
}
.o-posts-grid-post-blog:first-of-type .o-posts-grid-post-image {
	width:50%;
}
.o-posts-grid-post-blog:first-of-type .o-posts-grid-post-body {
	width:50%;
	justify-content: center;
	max-width: 500px;
	margin: 0 auto;
	padding-left: 40px;
}
.o-posts-grid-post-title a {
	font-weight:300;
}
.single .content .container {
	padding-top:150px;
}
.single .content .container h1 {
	text-align:center;
}
.o-posts-read-more {
	display:block;
	margin-top:5px;
}
.o-posts-grid-post-blog:first-of-type .o-posts-read-more {
	display:inline-block;
	margin-top:25px;
	color:white !important;
	background-color:#14a4c7; /*blue*/
	text-transform:uppercase;
	padding:7px 20px;
	font-size:16px;
	border-radius:20px;
	line-height:1em;
	text-decoration:none;
	font-weight:normal;
}
.o-posts-grid-post-blog:first-of-type .o-posts-read-more:hover, .o-posts-grid-post-blog:first-of-type .o-posts-read-more:focus {
	color:#323232 !important;
	background-color:#dbefea; /*light blue*/
	text-decoration:none;
}
.o-posts-grid-post-title a:hover, .o-posts-grid-post-title a:focus {
	text-decoration:none !important;
}

/* CONTACT */
.contact-bar {
	padding:60px 0 70px;
}
.contact-bar h2 {
	font-size:3.2em;
	margin-bottom:10px;
}
.contact-bar p {
	margin-bottom:10px;
}
.contact_wrapper .gform-field-label {
	font-size:18px !important;
	text-transform:uppercase !important;
	font-weight:300 !important;
}
.contact_wrapper .gform-field-label.gform-field-label--type-sub {
	text-transform:unset !important;
	font-weight:400 !important;
}
.contact_wrapper.gform_wrapper .gform_footer input[type=submit] {
	font-size:20px !important;
	line-height: 1.4em !important;
	padding:5px 10px !important;
	white-space:normal;
	margin:0 auto !important;
}
.contact_wrapper.gform_wrapper .gform_footer input[type=submit]:hover, 
.contact_wrapper.gform_wrapper .gform_footer input[type=submit]:focus{
	cursor:pointer;
}
.contact_wrapper select, 
.contact_wrapper input {
	border-radius:30px !important;
	font-size:18px !important;
}
.contact_wrapper .gform_footer {
	margin-top:40px !important;
}
.contact_wrapper {
	padding:20px;
	border-bottom-left-radius:15px;
	border-bottom-right-radius:15px;
}
.contact-bar .contact_wrapper {
	padding:0;
}
.contact-top {
	border-top-left-radius:15px;
	border-top-right-radius:15px;
	padding:20px 20px 10px 20px;
}
.contact-top h2 {
	margin-bottom:15px;
}
.contact-top p {
	font-size:24px;
}
.contact-top a {
	display:block;
	font-size:20px;
	margin-top:10px;
}

/* FORM PROCESSING */
body.form-processing,
body.form-processing .contact input:hover,
body.form-processing .contact label:hover,
body.form-processing .contact select:hover {
	cursor:wait !important;
}
body .gform_wrapper.gravity-theme .gform_footer {
	position:relative;
	padding: 0;
	margin: 15px 0;
	display:inline-block;
}
body.form-processing .gform_wrapper .gform_footer:after {
	content: "Processing your request...";
	position: absolute;
	top: 0px;
	left: 0;
	width: 100%;
	height: calc(100% - 8px);
	padding: 6px 10px;
	border-radius: 10px;
	max-width: 100%;
	text-align: center;
}

/* FOOTER */
footer .social {
	margin: -1px 0;
}
footer {
	text-align:left;
	padding:1px;
	color:white;
	padding:50px 0 20px 0;
}
.footer-logo {
	height:100px;
	width:auto;
	display:block;
	margin:0 auto;
}
.levels-of-care {
	font-weight:bold;
}
.community-info {
	padding:30px 0 0;
	text-align:center;
}
.community-address {
	display:inline-block;
	padding:20px 0 5px;
}
.addresses-3 .community-address {
	width:calc(33% - 4px);
}
.community-address a {
	text-decoration:none;
}
.footer-nav {
	float:right;
	font-size:16px;
}
.footer-left {
	padding-left:160px;
}
.footer-nav ul {
	list-style: none;
	padding-left: 15px;
	font-weight:normal;
	margin-bottom:15px;
	margin-top:5px;
}
.footer-nav a {
	color:white; 
	text-decoration:none;
	display:block;
	font-weight:500;
}
.footer-nav a:hover,
.footer-nav a:focus {
	color:white;
	text-decoration:underline;
}
.liberty-footer {
	border-top:2px solid white;
	border-bottom:2px solid white;
	padding:50px 0 30px 0;
	margin:20px 0;
}
.liberty-footer img {
	margin-top:-12px;
	max-width:200px;
}
.language-assistance p {
	color:white;
	display:inline-block;
}
.language-assistance {
	padding-top:20px;
}
.language-assistance select {
	margin:0 10px;
	font-size:18px;
	padding:3px;
	border-radius:10px;
}
.notices-nav {
	text-align:center;
	margin-top:30px;
}
.notices-nav a {
	padding:0 15px;
	text-decoration:none;
	font-size:16px;
}
.notices-nav a:hover, .notices-nav a:focus {
	text-decoration:underline;
}

/* COPYRIGHT */
.copyright {
	text-align:center;
	margin-top:12px;
	font-size:.8em;
	opacity:0.6;
	padding-bottom:35px;
	color:white;
}
.copyright a, .copyright a:hover {
	color:white;
}

/* POPUP */
.popup {
	display: none;
	position: fixed;
	width: 100%;
	left: 0;
	z-index: 200;
	background-color: #244c5a7d;
	height: 100%;
	top: 0;
}
.popup-text {
	position:absolute;
	background-size:cover;
	background-position:50%;
	background-image:url(https://thepreserveatf.wpenginepowered.com/wp-content/uploads/Pop-up-background_Optimized-1.jpg);
	top:50%;
	left:50%;
	width: 90%;
	max-width: 410px;
	color:white;
	text-shadow:none;
	text-align:center;
	transform:translate(-50%, -50%);
	background-color:white;
	border-radius:20px;
	padding:20px 25px 10px 25px;
	border:3px solid white;
	z-index:2;
}
.popup-text p {
	position:relative;
}
.popup-text:before {
	content:" ";
	position:absolute;
	top:0;
	left:0;
	height:100%;
	width:100%;
	border-radius:20px;
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+50,000000+99&0+50,1+100,1+101 */
	background: linear-gradient(to bottom,  rgba(0,0,0,0) 50%,rgba(0,0,0,0.5) 99%,rgba(0,0,0,0.5) 100%,rgba(0,0,0,1) 101%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

}
.popup-text img {
	display:block;
	margin:0 auto 20px;
}
.popup .close {
	position:absolute;
	top:11px;
	right:23px;
	opacity:.8;
	text-decoration:none;
	color:white;
	font-size: 12px;
	font-weight: 500;
	padding-right:20px;
}
.popup .close:before, .popup .close:after {
	content:" ";
	position:absolute;
	right:0;
	top:0;
	width:3px;
	height:30px;
	background-color:white;
	border-radius:5px;
}
.popup .close:before {
	transform:rotate(45deg);
}
.popup .close:after {
	transform:rotate(-45deg);
}
.popup .close:hover, .popup .close:focus {
	opacity:1;
}
.popup.closed:before {
	display:none;
}


/* WP CONTROLS */
.home .wp-block-cover h2 {
	font-size:4em;
}
.wp-block-cover h2 {
	font-size:3em;
	line-height:1em;
	margin-bottom:20px;
	font-weight:300;
}
.wp-block-cover {
	position: relative;
	width: 100vw;
	left: calc(50% - 50vw);
}
.wp-block-cover__inner-container {
	width:calc(90% + 15px) !important;
	max-width:1400px;
	color:white !important;
}
.wp-block-buttons {
	margin:20px 0;
}
.wp-block-buttons .wp-block-button__link {
	width:unset;
}
.callout-btn, 
.contact_wrapper.gform_wrapper .gform_footer input[type=submit],
.wp-block-button a,
body.form-processing .gform_wrapper .gform_footer:after {
	color:white !important;
	text-transform:uppercase !important;
	padding:7px 20px !important;
	font-size:.9em !important;
	border-radius:20px !important;
	line-height:1em !important;
	text-shadow:none !important;
	text-decoration:none !important;
	font-weight:normal !important;
}
.callout-btn:hover, .callout-btn:focus,
.contact_wrapper.gform_wrapper .gform_footer input[type=submit]:hover, 
.contact_wrapper.gform_wrapper .gform_footer input[type=submit]:focus,
.wp-block-button a:hover, .wp-block-button a:focus{
	color:#323232 !important; 
	text-decoration:none;
}
.wp-block-image.is-style-rounded img {
	border-radius:10px !important;
}
.wp-caption {
	width:100%!important;
}
.wp-caption.caption-25{
	width:25%!important;
}
.wp-caption.caption-25 .size-img-25 {
	width:100%;
}
.wp-caption.caption-33{
	width:33%!important;
}
.wp-caption.caption-33 .size-img-33 {
	width:100%;
}
.wp-caption.caption-50 {
	width:50%!important;
}
.wp-caption.caption-50 .size-img-50{
	width:100%;
}
.wp-caption img {
	height:auto;
}
.wp-caption-text {
	text-align:center;
	font-style:italic;
	font-size:.9em;
	margin-top:5px;
}
.centered-img, .centered-img.alignleft, .centered-img.alignright, .centered-img.aligncenter {
	float:none;
	display:inline-block;
	padding:3px;
	margin:0;
}
.alignleft {
	float: left;
	margin: 0 30px 10px 0;
}
.alignright {
	float: right;
	margin: 0 0 10px 30px;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	text-align:center;
}
.size-img-25 img, .size-img-33 img, .size-img-50 img {
	width:100%;
}
.size-img-25  {
	padding:2px;
	width: 25%;
	height:auto;
	min-width: 200px;
}
.size-img-33  {
	padding:2px;
	width: 33.33%;
	height:auto;
	min-width: 250px;
}
.size-img-50 {
	padding:2px;
	width: 50%;
	height:auto;
	min-width: 250px;
}
.size-img-100 {
	width:100%;
	height:auto;
}

@media (max-width:1551px) {	
	.things-to-do:before {
		top:14vw;
		height:calc(100% - 14vw);
	}
	.things-to-do .slick-prev, .things-to-do .slick-next {
		top: 14vw;
	}
	.floor-plans .wp-block-column:nth-child(2n),
	.floor-plans .wp-block-column:last-child {
		border-right:none;
	}
	.floor-plans .wp-block-column:nth-child(3n){
		border-right:1px solid gray;
	}
}

@media (min-width:1301px) {
	.mini-top{
		display:none;
	}
}

@media (max-width:1300px) {
	.top-bar .top-right {
		display:none;
	}
	.top-nav {
		padding-left:0;
	}
	.content {
		padding: 176px 0 50px 0;
	}
	.wp-block-cover h2, .contact-bar h2, .home .wp-block-cover h2 {
		font-size:3em;
	}
}

@media (max-width:1150px) {
	.popup-text {
		top:calc(50% + 65px);
	}
	.popup .wp-block-cover {
		min-height:550px !important;
	}
	.testimonial-grid .wp-block-group__inner-container {
		column-count: 2;
	}
	.wp-block-themeisle-blocks-posts-grid .is-grid.o-posts-grid-columns-3 {
		grid-template-columns: 1fr 1fr;
	}
	.o-posts-grid-post-blog:first-of-type {
		grid-column: span 2;
	}
	.footer-nav {
		float:none;
		text-align:center;
		margin-bottom:40px;
	}
	.footer-nav ul {
		padding:0;
	}
	.footer-nav ul li {
		display:inline-block;
		margin:0 10px;
	}
	.footer-left {
		padding:0;
	}
}

@media (max-width:1042px) {
	.things-to-do:before {
		top:22vw;
		height:calc(100% - 22vw);
	}
	.things-to-do .slick-prev, .things-to-do .slick-next {
		top: 22vw;
	}
	.floor-plans .wp-block-column {
		border-right:none !important;
	}
}

@media (min-width:1001px) {
	.mobile-top {
		display:none;
	}
	.mobile-only {
		display:none !important;
	}
}

@media (max-width:1000px) {
	h1 {
		margin:0 0 .8em 0;
	}
	.testimonial-grid .wp-block-group__inner-container{
		grid-template-columns: 1fr 1fr;
	}
	.top-bar, header>.logo {
		display:none;
	}
	.mini-top {
		background-color:white !important;
	}
	.content {
		padding: 36px 0 50px 0;
	}
	.wp-block-cover h2, .contact-bar h2, .home .wp-block-cover h2 {
		font-size:2.5em;
	}
	.negative-margin {
		margin-top:-70px;
	}
	.inner.blog #main-content {
		float:none;
		width:100%;
		padding:0;
	}
	.side-bar {
		float:none;
		width:100%;
		max-width:400px;
		margin:0 auto 20px;
		padding:20px;
	}
	.size-img-25 {
		width:33.33%;
	}
	.size-img-33 {
		width:50%;
	}
}

@media (max-width:800px) {
	h1, h2, h3 {
		font-size: 1.6em;
	}
	.size-img-25 {
		width:50%;
	}
	.size-img-50 {
		width:100%;
		float:none;
	}
}

@media (max-width:780px) {
	.home .wp-block-cover.banner .wp-block-column:first-child {
		animation-name: imgFade;
		animation-duration: 15s;
		animation-delay:5s;
		animation-iteration-count: infinite;
	}
	.home .wp-block-cover.banner .wp-block-column:last-child {
		position:absolute;
		opacity:0;
		animation-name: ctaFade;
		animation-duration: 15s;
		animation-delay:5s;
		animation-iteration-count: infinite;
		z-index:-1;
	}
	@keyframes ctaFade {
		25% {opacity:0; z-index:-1;}
		45% {opacity:1; z-index:1;}
		65% {opacity:1; z-index:1;}
		85% {opacity:0; z-index:-1;}
	}
	.wp-block-themeisle-blocks-posts-grid .is-grid.o-posts-grid-columns-3 {
		grid-template-columns: 1fr;
	}
	.o-posts-grid-post-blog:first-of-type {
		grid-column: span 1;
	}
	.o-posts-grid-post-blog:first-of-type .o-posts-grid-post{
		display:block;
	}
	.o-posts-grid-post-blog:first-of-type .o-posts-grid-post-image,
	.o-posts-grid-post-blog:first-of-type .o-posts-grid-post-body {
		width:100%;
		padding:0;
	}
	.testimonial-grid .wp-block-group__inner-container {
		column-count: 1;
	}
	.things-to-do:before {
		top:44vw;
		height:calc(100% - 44vw);
	}
	.things-to-do .slick-prev, .things-to-do .slick-next {
		top: 44vw;
	}
	.things-to-do .slick-next {
		right:-20px;
	}
	.things-to-do .slick-prev {
		left:-20px;
	}
	.floor-plans .wp-block-column {
		border-right:none;
	}
	.floor-plans .wp-block-column:last-child {
		border-bottom:none;
	}
	.floor-plans .wp-block-column h2, .floor-plans .wp-block-column p, .floor-plans .wp-block-column .wp-block-buttons {
		padding:0;
	}
	.testimonial-carousel {
		display: block;
	}
	.testimonial-controls {
		text-align:center;
	}
	.negative-margin {
		margin-top:0;
	}
	.masonry.columns-4 {
		-webkit-columns: 2; /* Chrome, Safari, Opera */
		-moz-columns: 2; /* Firefox */
		columns: 2; /* Standard syntax */
	}
}

@media (max-width:640px) {
	.testimonial-grid .wp-block-group__inner-container{
		display:block;
		text-align:center;
	}
	.trailing-buttons {
		text-align:left;
	}
	.trailing-buttons .callout-btn {
		border-radius:20px !important;
		width:unset;
		padding 10px 15px !important;
	}
	.masonry.columns-4 {
		-webkit-columns: 1; /* Chrome, Safari, Opera */
		-moz-columns: 1; /* Firefox */
		columns: 1; /* Standard syntax */
	}
	.two-columns {
		column-count:1;
	}
	.wp-block-cover.banner {
		padding-top:300px;
	}
	.alignright, .alignleft, .aligncenter {
		float: none;
		margin: 0 auto;
		display: block;
	}
	.size-img-33 {
		width:100%;
		float:none;
	}
}

@media (max-width:450px) {
	.footer-nav ul li {
		display:block;
	}
	.notices-nav a {
		display:block;
	}
	.logo, .custom-logo-link {
		width:unset;
		height:unset;
		max-width:270px;
	}
	.community-address {
		min-width:unset;
		width:100%;
	}
	.size-img-25 {
		width:100%;
		float:none;
	}
}

@media (max-width:300px) {
	.mobile-nav {
		padding:0;
	}
	a {
		word-break:break-all;
	}
}


