/*!
Theme Name: 8 Homes
Theme URI: http://underscores.me/
Author: D2
Author URI: http://d2creative.co.uk
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: eighthomes
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

8 Tech Homes is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/

REPLACED FAST FONTS WITH TYPEKIT
freight-display-pro 300 italic
futura-pt 400
din-2014 300, 400, 700

*/

.bg-mblue {color:#fff; background-color:var(--brand-mid-blue);}
body .wp-block-columns.doc-cols {gap:0!important;}
.doc-col p {color:#fff;}
body #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link {color:var(--brand-teal);}
body #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link {color: var(--brand-gold);}
body #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link:hover {color: var(--brand-teal);}
body #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link {color: var(--brand-teal);}
/* homepage */
.brandambassadors {height: 495px;display: flex;background:#004B68 url(/wp-content/themes/eighthomes/images/whiteblock.svg) left top repeat-x;}
.brandambassadorsleft {width: 50%;display: flex;align-items: center;justify-content: flex-end;}
.brandambassadorsleftinner {text-align: center;max-width: 440px;padding:20px;}
.brandambassadorsright {width: 50%;background: url(/wp-content/themes/eighthomes/images/ambassadors_sm.png) left bottom no-repeat;}

.homepanels {display: flex;}
.homepanels .homepanels1 {width: 50%;border-right:15px solid #fff;background: url(/wp-content/themes/eighthomes/images/home-panel-left_sm2.jpg) center top no-repeat;}
.homepanels .homepanels2 {width: 50%;border-left:15px solid #fff;background: url(/wp-content/themes/eighthomes/images/home-panel-right_sm2.jpg) center bottom no-repeat;}
.homepanels1top {height:595px;background: url(/wp-content/themes/eighthomes/images/panel1corner.svg) right bottom no-repeat;}
.homepanels1bot {height:595px;background: url(/wp-content/themes/eighthomes/images/panel1.svg) left top no-repeat;}
.homepanels1inner {padding:120px 80px 20px 80px;}
.homepanels p {color:#fff;}
.homepanels2top {height:595px;background: url(/wp-content/themes/eighthomes/images/panel2.svg) right bottom no-repeat;
	display: flex;
	justify-content: center;
	align-items: center;}
.homepanels2bot {height:595px;background: url(/wp-content/themes/eighthomes/images/panel2corner.svg) left top no-repeat;}
.homepanels2inner {max-width: 400px;text-align: center;padding: 20px;}

.homepanels .homepanels2.bartongrange {background: url(/wp-content/themes/eighthomes/images/home-panel-right_sm2bartongrange2.jpg) center bottom no-repeat;}
.homepanels .homepanels2.bartongrange .homepanels2top {display:block;}
.homepanels .homepanels2.bartongrange .homepanels2inner {max-width:none;text-align:left;padding:120px 80px 20px 80px;}
.devlogo {padding-bottom:20px;}
.devlogo img {max-height:135px;width: auto;}

.homelocations {height: 565px;background-color:#fff;display: flex;color:var(--brand-dark-blue)}
.homelocationsleft {width: 50%;background-image: url(/wp-content/themes/eighthomes/images/locations_sm.jpg);background-size: cover; }
.homelocationsright {width: 50%;}
.homelocationsrightinner {padding:70px;height: 100%;display: flex;flex-direction: column;justify-content: center;}
.homelocationsrightinner p, .homelocationsrightinner h1, .homelocationsrightinner h2 {color:var(--brand-dark-blue);}

.homeexcellence {height: 565px;background-color:#fff;display: flex;color:var(--brand-dark-blue)}
.homeexcellenceright {width: 50%;background-image: url(/wp-content/themes/eighthomes/images/excellence_sm.jpg);background-size: cover; }
.homeexcellenceleft {width: 50%;}
.homeexcellenceleftinner {padding:70px;height: 100%;display: flex;flex-direction: column;justify-content: center;}
.homeexcellenceleftinner p, .homeexcellenceleftinner h1, .homeexcellenceleftinner h2 {color:var(--brand-dark-blue);}

.slidertop { min-height:300px;}
.slidertop p {color:#fff;}
.sliderlayout {display: flex;}
.slideinfo {width: 50%;padding:110px 70px 70px;position: relative;}
.swiperbox1 {width: 50%;position: relative;padding:110px 0 70px 0;}
.swiperbox1 .swiper-slide {width:85%;border-radius: 50px;aspect-ratio: 640/565;opacity:0.37;overflow: hidden;}
.swiperbox1 .swiper-slide img {object-fit: cover;height: 100%;width:100%}
.swiperbox1 .swiper-slide-active {opacity:1;}
.slidertop .swiper-button-next, .slidertop .swiper-button-prev {color: var(--brand-teal);}
.slidertop .swiper-button-prev {top: calc(50% + 20px);left: calc(100% - 27px - 30px);}
.slidertop .swiper-button-next {left: calc(85% + 30px);}
.slide-details {position: absolute;opacity:0;transition: opacity 0.5s;z-index: 0;padding-right:70px;}
.slide-details.show {opacity:1;z-index: 1;}
.slidertop .slideinfo .custom-swiper-button-prev {display:block;}
.slidertop .slideinfo .custom-swiper-button-next {display:none;}



.testimonials {padding:70px;min-height:300px;} 
.testimonials h2 {text-align: center;}
.swiper-slide p {width:600px;max-width: 100%;color:#fff;margin: 0 auto;text-align: center;}
p.quouteby {font-weight: bold;}
.testimonials .swiper-pagination {padding-top:30px;position: relative;}
.testimonials .swiper-pagination-bullet-active {background: #fff;}

.bg8 {background: var(--brand-dark-blue) url(/wp-content/themes/eighthomes/images/8mark-white-006.png) left bottom no-repeat;background-size: 50%; }

@media only screen and (min-width:837px) and (max-width:1070px) { 
	.homepanels1top, .homepanels2bot { background-size:135px; }
	.homepanels1inner {padding: 120px 60px 20px 60px;}
	.homelocationsleftinner1, .homeexcellencerightinner {background-size: 250px;}
	.homelocationsrightinner, .homeexcellenceleftinner {padding: 20px 40px;}
}
@media only screen and (max-width:837px) { 
	.homepanels {display:block;}
	.homepanels .homepanels1 {width: 100%;border-right:none;}
	.homepanels .homepanels2 {width: 100%;border-left:none;}
	.homepanels1top, .homepanels2bot {height:395px;}
	.homepanels1bot, .homepanels2top {height:495px;}
	.homepanels1inner {max-width: 400px;text-align: center;padding: 20px;}
	.homepanels1bot {display: flex;justify-content: center;align-items: center;}
}
@media only screen and (max-width:768px) { 


	.homelocations {flex-direction: column-reverse;height: auto;}
	.homeexcellence {flex-direction: column;height: auto;}
	.homelocationsleft, .homeexcellenceright {width: 100%;height: 500px; }
	.homelocationsright, .homeexcellenceleft {width: 100%;}
	.slidertop .slideinfo .custom-swiper-button-prev {display:none;}
	.slidertop .slideinfo .custom-swiper-button-next {display:block;}
	.sliderlayout {flex-direction: column;}
	.slideinfo {width: 100%;padding:60px 20px 20px;}
	.slide-details.show {position: relative;}
	.swiperbox1 {width: 100%;padding:60px 0 40px 0; }

}
@media only screen and (max-width:600px) { 
	.homepanels, .homelocations {/*border-top: 10px solid #fff;*/}
	.brandambassadors {background-position:left 0 top -20px;}

}

/* properties */
.proprow  {padding-top: 30px;background-color: #fff;}
.proprow article {display: flex;}
.proprow article > div {width:50%;height:740px;}
.oddrow article.animateonce.active {background-position:left 0 center!important;}
.evenrow article.animateonce.active {background-position:right 0 center!important;}
.oddrow .row-content {background: url(/wp-content/themes/eighthomes/images/panel1.svg) left top no-repeat;color:#fff;padding:100px 50px 50px 100px;}
.oddrowfiller {}
.evenrow .row-content {background-color:var(--brand-dark-blue);color:#fff;padding:100px 50px 50px 100px;}
.evenrowfiller {display: flex;align-items: flex-end;justify-content: flex-start;}
.property_buttons {padding-top:30px; }
.property_buttons a {display:inline-block;margin:0 20px 20px 0; }
ul.propertyfeatures{margin: 0;padding: 0 0 30px 0;list-style: none;display: flex;flex-wrap: wrap;gap:10px 30px;}
ul.propertyfeatures li {display: flex;flex-direction: row;align-items: center;padding:0;/*border-left:1px solid #fff;*/}
ul.propertyfeatures svg {margin-right:10px;}
ul.propertyfeatures li:first-child {border-left:none;padding-left:0;}


.archive-description {background-color:var(--brand-dark-blue);color: #fff;padding: 60px 20px; display:flex;align-items: center;justify-content: center;}
.archive-description p {width: 600px;max-width: 100%;}
.archive-description p:last-of-type {padding: 0 0 0px 0;}

.dontmissout {background-color: var(--brand-dark-blue);border:1px solid #707070;display: flex;padding: 50px 0;align-items: center;}
.dmol {width:50%;padding:0 50px;}
.dmor {width:50%;padding: 0px 50px 0px 100px;}
.dmolinner {}
.dmorinner {}
.disclaimer .dontmissout {padding: 50px 100px ;color: #fff;text-align: center;}

.property-details  {display: flex;background-color: #fff;color:var(--brand-dark-blue);}
.property-details h2 {color:var(--brand-dark-blue);}
.property-details:not(.alt):nth-child(odd) {background:var(--brand-dark-blue);color:#fff;}
.property-details:not(.alt):nth-child(odd) h2,
.property-details:not(.alt):nth-child(odd) .pheading {color:#fff;}
/* reset for alt */
.property-details.alt, 
.property-details.alt:nth-child(even), 
.property-details.alt:nth-child(odd) { background-color: #fff;color:var(--brand-dark-blue); }
.property-details.alt:nth-child(even) {background:var(--brand-dark-blue);color:#fff;}
.property-details.alt:nth-child(even) h2,
.property-details.alt:nth-child(even) .pheading {color:#fff;}
.property-details.alt:nth-child(2) { background-color: #fff;color:var(--brand-dark-blue); }
.property-details.alt:nth-child(2) h2,
.property-details.alt:nth-child(2) .pheading { color:var(--brand-dark-blue); }



.property-details, .property-details h1, .property-details .pheading, .property-details .pheading a {}
/*.property-details .propertyfeatures {color:#5C5C5C;}
.property-details .propertyfeatures path {fill:#5C5C5C;}*/
.pdleft {width:50%;padding:0px;line-height: 0;}
.pdright {width:50%;padding:0px;line-height: 0;}
.pdleft.pdtext {padding: 50px 50px 0px 100px;display: flex;flex-direction: column;justify-content: center;}
.pdright.pdtext {padding: 50px 100px 0px 50px;display: flex;flex-direction: column;justify-content: center;}
.overflowhidden{overflow: hidden;width:100%;height: 740px;}
.blur {filter:blur(20px);}
.blur.active{filter:blur(0px);}  
.h740 {/*height: 740px; aspect-ratio:640/565;*/ height: 100%;min-height: 700px;}
.h740 img {object-fit: cover;width:100%;height: 100%;}



@media only screen and (max-width:1024px) { 
	.proprow article {background-size:cover!important;}
	.proprow article > div {height: auto;}
	.slide-details h1 {font-size: 4.0rem;line-height: 5.0rem;padding: 0 0 20px 0;}
	.slide-details h3 {font-size: 2.0rem;line-height: 3.0rem;padding: 0 0 20px 0;}
	.slide-details p {font-size: 1.6rem;line-height: 2.5rem;}
	.slide-details p:last-of-type {padding: 0 0 20px 0;}
}
@media only screen and (max-width:852px) { 
	.proprow article {flex-direction: column;}
	.proprow article > div {width: 100%;}
	.oddrowfiller, .evenrowfiller {height: 50vh !important;}
	.proprow.evenfiller article {flex-direction: column-reverse;}
	.evenrowfiller img {rotate:180deg!important;}
	.evenrowfiller {align-items: flex-start;}
	.oddrow .row-content {
		/* flip background vertically */
		-webkit-transform:scaleX(-1);
		-moz-transform:scaleX(-1);
		-ms-transform:scaleX(-1);
		-o-transform:scaleX(-1);
		transform:scaleX(-1);
	}	
	/* undo the vertical flip for all child elements */
	.oddrow .row-content > h2, 
	.oddrow .row-content > div,
	.oddrow .row-content > ul{
		-webkit-transform:scaleX(-1);
		-moz-transform:scaleX(-1);
		-ms-transform:scaleX(-1);
		-o-transform:scaleX(-1);
		transform:scaleX(-1);
	}
} 
@media only screen and (max-width:768px) { 
	.property-details {flex-direction: column;}
	.pdleft.pdimage, .pdright.pdimage {width:100%;padding: 0px;}
	.pdleft.pdtext, .pdright.pdtext {width:100%;padding: 50px 50px 50px 50px;}
	.h740 {min-height: 0;}
	/*.pdright {padding:0;}*/
	ul.propertyfeatures {display: block; }
	ul.propertyfeatures li {padding: 0 0 10px 0;border:none;}
	.dontmissout {flex-direction: column;text-align: center;}
	.dmol {width:100%;padding:0 50px;}
	.dmor {width:100%;padding: 20px 50px 0px 50px;}
	.oddrow .row-content {padding: 30px 30px 50px 30px;  }
	.evenrow .row-content {padding: 30px 30px 50px 30px;  }
	.oddrow h2, .oddrow .pheading, .oddrow .propertyfeatures,
	.evenrow h2, .evenrow .pheading, .evenrow .propertyfeatures {padding-bottom:10px;}
	.oddrow h2 {padding-right: 80px;}
	.oddrow article, .evenrow article {background-size:cover!important;}
	.proprow article > div {height: auto;}
	.dmol {padding: 0 30px;}
	.nobreakmobile {white-space: nowrap;}

	
}
@media only screen and (max-width:600px) { 
	.pdleft {padding: 0px 20px;}
	.pdleft.pdtext, .pdright.pdtext {width:100%;padding: 30px 20px;}
}





/* footer */

.site-footer {background-color: var(--brand-dark-blue);color:#fff;}
.site-footer .site-info {display:flex;padding:70px 0 50px 0}
.footer-logos {padding:70px 0 0 0;display:flex;gap:40px;align-items: flex-end;}
.footer-inner {/*width:1582px;*/max-width: 100%;margin:0 auto;padding:20px 0 0 127px;}
.site-footer .fcolleft {width:100%; display: flex;justify-content: space-between;}
.site-footer .fcolright {width:78px;display: flex;justify-content: flex-end;align-items: flex-end;}

.site-info .fcol1 {padding-left: 127px;padding-right:20px}
.site-info .fcol2 {padding-right:20px}
.site-info .fcol3 {padding-right:20px}
.site-info .fcol4 {padding-right:20px}
.site-info .fcol5 {padding-right:127px;}
.site-info .fcol6 {width:78px;}
.site-info .fcol6 a {display: block;}
.site-info a {text-decoration: none;}
.site-info a:hover {color: var(--brand-teal);}
a.svgfill:hover svg,
a.svgfill:hover g,
a.svgfill:hover path {fill:#fff!important;}
a.svgstroke:hover svg,
a.svgstroke:hover g,
a.svgstroke:hover path {stroke:#fff!important;}
.copyright {padding-top:10px;padding-top:0;}
.site-footer ul {list-style: none;padding: 0;margin: 0;}
.site-footer a {}

.findoutmore {background-color:var(--pale-blue);color: var(--brand-dark-blue);padding: 50px 20px;display: flex;flex-direction:column; align-items: center;justify-content: center;text-align: center;
	/*width: 1644px;*/
	max-width: 100%;
	margin:
  0 auto;}
.findoutmore .h1, .findoutmore .h3 {color: var(--brand-dark-blue);}


.wp-block-table {margin: 0;padding-bottom: 30px;}
.wp-block-table th, .wp-block-table td {font-family:'din-2014'; font-size:2.0rem; letter-spacing:0.05rem; line-height:3.5rem; margin:0; padding:2px 10px; text-transform: uppercase;font-weight: 400;text-align: left;}
.wp-block-table.is-style-stripes {border-bottom: 1px solid #fff;}

.wp-block-columns {margin-bottom: 0;}
.pageinner .wp-block-cover, .pageinner .wp-block-cover-image {height: 100%;min-height: 25vh;}
.page-id-29 .pageinner {padding: 0px 0px 0 0px;}
.page-id-29 .pageinner2 {padding: 30px 20px 0 20px;}

@media only screen and (max-width:1024px) { 
    .site-info .fcol1, .footer-inner {padding-left: 30px;}
	.site-info .fcol5 {padding-right:30px;}
	ul.propertyfeatures {padding:0 0 20px 0;}
	.property_buttons {padding-top: 20px;}
	p:last-of-type, .pageinner .ppw-ppf-desc {padding:0 0 20px 0;}
}
@media only screen and (max-width:768px) { 
    .site-footer .site-info {display:block;padding:30px 0}
	.site-footer .fcolright {width:100%; text-align: center;display: block;}
	.site-footer .fcolleft {flex-wrap: wrap;}
	.site-info .fcol1, .footer-inner {width:50%;padding: 0 20px 30px 20px;text-align:left;}
	.site-info .fcol2 {padding:0 20px 0 20px;width:50%;text-align: right;}  
	.site-info .fcol3 {padding:0 20px 0 20px;width:50%;text-align: left;}  
	.site-info .fcol4 {padding:20px 20px 0 20px;width:50%;text-align: right;}  
	.site-info .fcol5 {padding:20px 20px 0 20px;width:50%;text-align: right;}
	.site-info .fcol6 {width:100%;text-align: center;padding: 20px 20px 20px 20px;}
	
}
@media only screen and (max-width:600px) { 
	.site-footer {/*border-top: 10px solid #fff;border-bottom: 10px solid #fff;*/}
	.site-info .fcol1, .site-info .fcol2, .site-info .fcol3, .site-info .fcol4, .site-info .fcol5 {padding:20px 20px 0 20px;width:100%;text-align: center;}
	.proprow {padding-top: 10px;}
}
@media only screen and (max-width:520px) {
	.homepanels1top {background-position-x: 260px;}
	.homepanels2bot {background-position-x: calc( (100vw - 20px) - 510px);}
	.homelocationsleftinner1 {background-position: left -150px bottom -150px;}
	.wp-block-table tr {display:flex;flex-direction: column;padding: 20px 0;}
	.wp-block-table tr td:first-child::before {content:'Plot '} 
	.wp-block-table thead {display:none;}
}

.wpcf7-form {padding-left:24px;/* to offset spinner */}
.wpcf7-form label, .wpcf7-not-valid-tip, .wpcf7-response-output {font-family:'Futura-PT'; font-weight: 400; font-size:15px;line-height:1.5em;letter-spacing:0.1em;text-transform:uppercase;}
/*
.wpcf7-form label {
	position: absolute;
	left: -9999px;
}
*/
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="text"] {
    color: var(--brand-dark-blue);
    border: none;
    border-radius: 0px;
    padding: 10px;
    background-color:transparent;
    /* max-width: calc(100vw - 40px); */
	font-family:'Futura-PT';
    font-size: 14px;
	letter-spacing:0.05em;
	font-weight: 400
}
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="text"]:focus {
	background: #FFF	
}
.wpcf7-not-valid {
  background: #fff !important;
}

@media only screen and (max-width:520px) {
	.wpcf7 input[type="email"] {max-width: calc(100vw - 40px);}
}
.wpcf7 input[type="email"]::placeholder,
.wpcf7 input[type="tel"]::placeholder,
.wpcf7 input[type="text"]::placeholder {
	font-family:'freight-display-pro';
    font-size: 14px;letter-spacing:0.05em; 
	color:var(--brand-mid-blue);
	opacity: 1;
	font-style: italic;
}
.wpcf7 input[type="submit"] {
    border: none;
	border-radius:0;
    color: rgba(255,255,255,0);
	padding:10px 10px;
	width:60px;height: 60px;
	font-family:'Futura-PT';
	font-weight: 400;
    font-size: 15px;
	letter-spacing:0.2em;
    text-transform:uppercase;
	background:transparent url(/wp-content/themes/eighthomes/images/submit-blue.svg) center center no-repeat;
}
input[type="submit"]:hover {
    cursor: pointer;
}
.underline {
    display: inline-block;
    border-bottom: 1px solid var(--brand-dark-blue);
    margin: 0px 0 30px 0;
}
.wpcf7-spinner {display: inline-block;margin:0!important;text-align: center;}
@media only screen and (max-width:600px) { 
	.wpcf7-form {padding-left:0;}
    #wpcf7-f12-o1 p {flex-direction: column;max-width: 100%;border-bottom:none;}
    .register .wpcf7 input[type="email"] {text-align: center;border-bottom:1px solid var(--brand-dark-blue);}
}
.screen-reader-response {position:absolute;left:-9999px;}
.wpcf7-not-valid-tip, .wpcf7-response-output {color:red;}
.wpcf7-response-output {padding-top:15px;}

select#fomdev,
select#fhear {
	border: none;
	border-bottom: 1px solid var(--brand-dark-blue);
	background: #f8f8f8;
	color: var(--brand-dark-blue);
	padding: 10px 20px 10px 0;
	font-size:1.4rem;
	margin: 0 15px
}
.fflex {display: flex;align-items: center;flex-wrap: wrap;justify-content: center;}
.fflex div {padding: 0 10px;}

.wpgmza_map .wpgmza-inner-stack .wpgmza-panel-info-window .wpgmza-title {min-width: 200px!important;}
.wpgmza-gallery .wpgmza-gallery-stage .wpgmza-gallery-item {max-height: 250px!important;}

.doccolumns {}
.doccolumns h2 a {display:flex;justify-content: center;align-items: center; height: 200px;background:#004B68 /*var(--brand-dark-blue)*/;color: #fff;}
.doccolumns h2 a:hover {background:var(--brand-dark-blue);}
.doccolumns .disabled h2 {display:none;visibility:hidden;}

button.menu-toggle:hover{border-color:transparent;background-color:transparent;color:transparent;}

.extrafetauresbox {display:flex;padding:20px 0 0 0;}
.efcol {display:flex;flex-direction: column;}
.efcol2 {padding:20px 20px}
.efcol2 div {width:1px;height:100%;background: #fff;}
.efrow {display:flex;min-height: 55px; align-items: center}
.eficon {min-width: 55px;text-align: right;line-height: 0;}
.eftext {padding-left:10px;}

.wp-video {width:100%!important;}
.devblocktext .pheading {color:#fff;}