/*   
Theme Name: QUAD
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: quad
*/

.footer .text-block {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}
.countdown-bar span.text,
div#countdown {
    /* display:none; */
    text-align: center;
}
.countdown-bar .text-center a {
    font-size: 20px !important;
}
.countdown-bar .text-center a:hover {
    color: #fff !important;
}
html.pum-open.pum-open-overlay.pum-open-scrollable body>:not([aria-modal=true]) {
    padding-right: 0;
}
 html.pum-open .pum-overlay {
    opacity: 1;
    display: -webkit-flex !important;
    display: flex !important;
    flex-wrap: wrap;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
/*     background: rgba(82, 103, 140, 0.4) !important; */
}
/* html.pum-open .pum-overlay .pum-container {
    width: 100% !important;
    min-width: unset !important;
    max-width: 600px !important;
    min-height: 600px;
    margin: 0 !important;
    box-shadow: none;
    border-radius: 50%;
    background: #52678c;
    text-align: center;
    padding: 70px 2.5% 2.5% 2.5%;
}
@media only screen and (max-width: 767px) {
    html.pum-open .pum-overlay .pum-container {
        border-radius: 0;
        box-shadow: none;
    }
    html.pum-open .pum-overlay .pum-container .popmake-close {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        margin: 0 auto;
        transform: none;
    }
}
html.pum-open .pum-overlay .pum-container .popmake-close {
    text-decoration: underline;
}
html.pum-open .pum-overlay .pum-container h3 {
    font-size: 20px !important;
    margin-bottom: 20px;
    text-align: center;
}
html.pum-open .pum-overlay .pum-container p,
html.pum-open .pum-overlay .pum-container h3 {
    color: #fff;
}
html.pum-open .pum-overlay .pum-container p {
    font-size: 14px;
    font-weight: 100;
}
html.pum-open .pum-overlay .pum-container #logo-popup {
    display: block;
    height: 100px;
    margin: 15px auto 25px;
    width: 250px;
}
html.pum-open .pum-overlay .pum-container #logo-popup img {
    width: 250px;
    height: auto;
}
html.pum-open .pum-overlay .pum-container .wpcf7-form {
    margin: 25px 0;
}
html.pum-open .pum-overlay .pum-container .wpcf7-form * {
    box-sizing: border-box;
}
html.pum-open .pum-overlay .pum-container .wpcf7-form div[class*="col"] {
    padding: 0;
}
html.pum-open .pum-overlay .pum-container .wpcf7-form .wpcf7-text {
    padding: 23px 25px;
    height: 64px;
    background: #fff;
    font-size: 16px;
    margin-bottom: 10px;
}
html.pum-open .pum-overlay .pum-container .wpcf7-form .btn {
    width: 100%;
    margin-bottom: 10px;
}
html.pum-open .pum-overlay .pum-container a.link-text {
    font-weight: bold;
    color: #eb353e;
}
html.pum-open .pum-overlay .pum-container a.link-text:hover {
    color: #fff;
} */
.wpcf7-not-valid {
    border: 1px solid red !important;
}
.gender-form .wpcf7-not-valid {
    border: none !important;
}
.gender-form .wpcf7-not-valid .checkbox-entry input[type="radio"]+span::after {
    border-color: red;
}
.wpcf7-not-valid-tip,
.wpcf7-response-output {
   /* display: none !important;*/
	 display: none;
	 margin: auto !important;
    padding: 10px 20px !important;
    border: 1px solid red !important;
}
div.wpcf7 .ajax-loader {
    position: absolute;
    right: 3px;
}
.communicate-sc .info-item .icon {
    margin-right: 5px;
}
.communicate-sc .info-item a {
    display: block;
}
.incl-item {
    transition: all 0.3s;
}
.incl-item:hover {
    /*cursor: pointer;*/
}
.form .gender-form .checkbox-entry {
    margin-right: 0;
}
.appy-popup .text-center {
    width: 100%;
}
.blog-row .item .date {
    text-transform: uppercase;
}
.text>br {
    margin-bottom: 0;
}
.search-results {
    width: 100%;
    height: auto;
    padding: 0;
}
.partners-item .date,
.banner-pg .date-inner {
    text-transform: uppercase;
}
.suite-el-wr .icon {
    min-width: 25px;
    min-height: 25px;
}
.suite-el-wr .square-e {
    min-width: 110px;
}
.swiper-container {
    width: 100%;
    height: auto;
}
.news-inner iframe {
    width: 100%;
    height: 34vw;
    min-height: 195px;
}
div.wpcf7 .ajax-loader {
    top: 16px;
    background-image: url('img/ajax-loader.gif');
}
.btn.btn-blue:hover .ajax-loader {
    background-image: url('img/ajax-loader-blue.gif');
}
.btn.btn-light .ajax-loader {
    background-image: url('img/ajax-loader-blue.gif');
}
.btn.btn-light:hover .ajax-loader {
    background-image: url('img/ajax-loader.gif');
}
.tab-list>a:hover,
.tab-list>div:hover {
    font-weight: 400;
}
.single-post .swiper-slide {
    height: auto;
}
.contact-us-block div.wpcf7 .ajax-loader,
.communicate-form div.wpcf7 .ajax-loader,
.popup-container div.wpcf7 .ajax-loader {
    top: 34%;
}
.popup-content {
    top: inherit;
}
.insta_bg {
    position: relative;
}
.image-mosaic .image img {
    display: none;
}
.lang li.active {
    color: #eb353e;
}
.lang li {
    font-weight: 500;
}
nav .current-menu-item a {
    color: #ffffff;
}
header.scrolled .current-menu-item a {
    color: inherit;
}
nav>ul>li:not(.apply_now)>a:after,
nav .current-menu-item a:after {
    content: '';
    display: block;
    width: 0px;
    margin-right: auto;
    margin-left: auto;
    height: 1px;
    background: #fff;
    transition: width 0.2s;
}
header nav li.current-menu-item a:after {
    width: 100%;
}
header.scrolled .current-menu-item a:after,
header.scrolled a:hover:after {
    background: #111e3a;
    width: 100%;
}
nav>ul>li>a:hover:after,
nav .current-menu-item a:hover:after,
header.scrolled .current-menu-item a:hover:after {
    width: 100%;
}
nav>ul>li.apply_now>a.btn.btn-blue:before {
    transform: none;
}
nav .menu-item-has-children a,
header.scrolled .menu-item-has-children a {
    color: #fff;
}
.menu-item-has-children li a,
.active .menu-item-has-children a,
.active .menu-item-has-children li a {
    color: #4e4e4e;
}
header.scrolled .menu-item-has-children a,
.active .menu-item-has-children a,
.active .menu-item-has-children li a,
header.scrolled .active .menu-item-has-children a,
header.scrolled .active .menu-item-has-children li a {
    color: #111e3a;
}
.banner-content div.btn {
    /*margin-left: 5px;*/
}

/*.tab-list {
  flex-wrap: wrap;
}*/

.span_row2 {
    display: block;
}
.why-us .col-lg-5 {
    padding-top: 50px;
}
.why-us .row {
    -webkit-box-align: start;
    -ms-flex-align: start;
    -ms-grid-row-align: flex-start;
    align-items: flex-start;
}
.partners-item:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
}
#menu-primary_menu {
    height: 35px;
}
#menu-primary_menu li {
    line-height: 36px;
}
.apply_now a {
    font-size: 16px;
    padding: 6px 38px;
}
.scrolled .apply_now .btn.btn-blue.btn-blue-light {
    color: #fff;
}
.scrolled .apply_now .btn.btn-blue:hover {
    color: inherit;
}
.footer .logo-items {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.footer .logo-items .item {
    margin-right: 20px;
    margin-bottom: 10px;
    -webkit-box-flex: 0;
    -webkit-flex: 0 1 110px;
    -ms-flex: 0 1 110px;
    flex: 0 1 110px;
}
.footer .logo-items .item img {
    max-width: 100%;
}
@media (max-width: 1199px) {
    #menu-primary_menu {
        height: auto;
    }
    .apply_now a {
        font-size: 14px;
        padding: 0;
        padding: 5px;
    }
}
@media (max-width: 575px) {
    .banner .banner-content .btn:last-of-type {
        margin-bottom: 15px;
    }
}
.opacity {
    opacity: 0
}
.grecaptcha-badge {
    display: none!important;
}

/* style vgallery */
a.vgallery-item {
	display: inline-block;
	position: relative;
	padding-bottom: unset;
}  
.play-button {
	position: absolute;
	top: calc(50% - 50px);
	left: calc(50% - 50px);
	width: 100px;
	height: 100px;
	display: block;
	border: 2px solid #fff;
	border-radius: 50%;
	padding: 0;
	margin: 0 auto;
	user-select: none;
	background-color: rgba(0, 0, 0, 0.6);
	transition: background-color 0.5s ease;
}
.play-button:after {
	position: absolute;
	top: calc(50% - 25px);
	left: calc(50% - 14px);
	display: block;
	content: "";
	box-sizing: border-box;
	border-color: transparent transparent transparent #fff;
	border-style: solid;
	border-width: 26px 0 26px 40px;
}
.play-button:hover {
	background-color: rgba(0, 33, 66, 0.9);
}
#quad-fade {
	display: none;
	position: fixed;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;
	background-color: black;
	z-index: 1001;
	-moz-opacity: 0.8;
	opacity: .80;
	filter: alpha(opacity=80);
}
.boxclose:before {
	content: "×";
}
#QuadVideo {
	width: 86% !important;
	margin: 0 auto;
}
#quad-fade:hover ~ #boxclose {
	display:none;
}
#quad-light {
	display: none;
	position: fixed;
	top: 4%;
	left: 5%;
	right: 5%;
	bottom: 1%;
	z-index: 1002;
	overflow: clip;
	text-align: center;
}
#boxclose {
	float: right;
	cursor: pointer;
	color: #fff;
	border: 1px solid #AEAEAE;
	border-radius: 3px;
	background: #222222;
	font-size: 31px;
	font-weight: bold;
	display: inline-block;
	line-height: 0px;
	padding: 11px 3px;
	position: fixed;
	right: 30px;
	top: 30px;
	z-index: 1002;
	opacity: 0.9;
}
#quad-light .sl-close {
	position: fixed;
	right: 30px;
	top: 30px;
	z-index: 10060;
	margin-top: -14px;
	margin-right: -14px;
	height: 24px;
	width: 24px;
	line-height: 24px;
	color: #000;
}
#quad-light button {
	padding: 0;
	background-color: rgba(1, 1, 1, 0);
	border: 0;
}
#quad-light .sl-close .btn-close:before, #quad-light .sl-close .btn-close:after {
	background-color: #fff;
}
.video-gallery-sc .gallery-item .image-caption {
	bottom: 6px;
}
.sl-close .btn-close {
    position: relative;
    display: block;
}
.page-id-4116 .video-gallery-sc .h5.text-center {
	display: none;
}
.h6.light-black {
	color: #eb353e;
	font-size: 24px;
	text-transform: none;
}
.btn-space a:not(:last-of-type) {
	margin-right: 20px;
}
.img-wrap-small-size img {
	height: 370px;
    margin-left: auto;
    margin-right: auto;
}
.link-no-click a {cursor: default;}
.link-yes-click a {cursor: pointer;}
.link-yes-click a:hover {color: #eb353e;}

.text.animation.simple-animation.watermark-below.watermark-below {
	font-size: 60px;
    opacity: .8;
	padding-top: 30px;
   /* margin-top: -300px;
    transform: rotate(-45deg);
   writing-mode: vertical-lr;*/
}

.button-phase {
	border: 1px solid #ededed !important;
	margin: 0 10px}
.button-phase a:after {height:0}
.button-phase:hover {
	border-right: 2px solid #eb353e !important;
	border-left: 2px solid #eb353e !important;
	transition: 0s !important;
}
.h5 em {
    font-style: italic;
}
.submit-text-form {
	font-size: 14px;
	width: 90% !important;
	margin: 0 auto 20px;
	font-weight: 600
}




.page-template-template-resident-portal .footer, .page-template-template-resident-portal .footer .copyright-text span  {
	color: #000 !important;
	background-color: #111e3a00 !important
}
.page-template-template-resident-portal .footer a {color: #000;}
.page-template-template-resident-portal .resident-portal-page {margin: 110px 0 15px}
.page-template-template-resident-portal .resident-portal-page .col-lg-4:nth-child(2) {
	background-image: url(/wp-content/uploads/2023/10/Resident-Portal-bg.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}
.page-template-template-resident-portal .resident-portal-page .col-lg-4:nth-child(2)::before, .page-template-template-resident-portal .resident-portal-page .col-lg-4:nth-child(2)::after {
    content: '';
    position: absolute;
    left: -15px;
    top: -15px;
    width: 100px;
    height: 100px;
    background: #eb353e;
    z-index: -1;
}
.page-template-template-resident-portal .resident-portal-page .col-lg-4:nth-child(2)::after {
    left: unset;
    top: unset;
    right: -15px;
    bottom: -15px;
}


/**** ADAPTIVE ****/

@media (max-width: 1024px) {
	#quad-light {
		top: 25%;
	}
	#QuadVideo {
		width: 100% !important;
	}
	.btn-close:before, .btn-close:after {
		height: 5px;
	}
	.btn-close {
		width: 50px;
		height: 50px;
	}
	.sl-wrapper .sl-close, #quad-light .sl-close {
		right: 70px;
		top: 60px;
	}
}
@media (max-width: 991px) {
	.h6.light-black {
		font-size: 18px;
	}
	.btn-close {
		width: 20px;
		height: 20px;
	}
	.btn-close:before, .btn-close:after {
		height: 2px;
	}
}
@media (max-width: 430px) {
	.page-template-template-resident-portal .resident-portal-page {margin: 85px 30px 0;}
}
@media (max-width: 414px) {
	.sl-wrapper .sl-close, #quad-light .sl-close {
		right: 60px;
		top: 50px;
	}
}
/*contact commercial css*/
.commercial-select{
	    height: 46px;
	    padding: 10px 16px;
	    margin-bottom: 15px;
    border: 1px solid #c0c0c0;
	    font-size: 14px;
    line-height: 16px;
    font-family: "Open Sans", sans-serif;
	    appearance: auto;
    -webkit-appearance: auto;
    -moz-appearance: auto;
 
}
.commercial-select option {
  font-size: 14px;
	   padding: 10px 16px;
  height: 46px;
}

