/*
 Theme Name:     Qudos Homes - Divi Child
 Theme URI:      https://www.knaptonwright.co.uk
 Description:    Divi Child Theme
 Author:         Knapton Wright
 Author URI:     https://www.knaptonwright.co.uk
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

/* global styles */
#page-container, .et-main-area {overflow: hidden;}
@media(max-width:600px) {
    .et_pb_button_module_wrapper, 
    .et_pb_button_module_wrapper a {width:100%}
    .et_pb_button_module_wrapper + .et_pb_button_module_wrapper, 
    .pa-inline-buttons .et_pb_button_module_wrapper+.et_pb_button_module_wrapper {margin:10px 0 0 0 !important;}
}

/* shared */
.pa-inline-buttons .et_pb_button_module_wrapper {display: inline-block;}
.pa-inline-buttons .et_pb_button_module_wrapper + .et_pb_button_module_wrapper {margin-left:10px;}
.pa-inline-buttons {text-align: center !important;}
/* hanging green line */
.contact-block.white-title h2, h2 {position:relative;margin-bottom:35px;}
.development-cards .et_pb_blurb_container .et_pb_module_header:after,
.contact-block.white-title h2:after, h2:after
{display:block;width:65%;height:5px; background:#99C5C9;position:absolute;bottom:-15px; left:50%;transform:translate(-50%, 0);content:"";}
.contact-block.title-align-left h2:after {left:0;transform:translate(0,0)}
h2.left:after {left:0%;transform:translate(0%, 0);}

/* paralax bg controls */
.paralax-bg-translucent .et_parallax_bg {opacity:0.05}

/* testimonials */
.et_pb_testimonial_content p:last-of-type {margin-bottom:0;padding-bottom:0}
/*.et_pb_testimonial_description {position: absolute; width: calc(100% - 10vw - 300px); top: 50%; transform: translate(0px, -50%);}*/

/* /shared */

/* header */
.header-section {display:flex;box-shadow:0 0 25px rgba(0,0,0,0.25)}
.header-left, .header-right {width:auto !important;}
.et_pb_image_0_tb_header .et_pb_image_wrap {max-width:250px;width:100%; transition: all 1s ease;}
.header-right.et_pb_column_1_tb_header {display:flex;flex-wrap: wrap;justify-content: flex-end;margin:auto;}
.header-right.et_pb_column_1_tb_header > div:first-of-type {padding-bottom:15px;}
.et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li {margin:0;padding:0 8px}
.et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li:last-of-type {margin-right:0}
.et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li>a {margin:0;padding:0; letter-spacing:-0.03em;}
.header-right > .et_pb_search {width: 100%;margin: 0!important;max-width: 50%;}
.header-right > .et_pb_social_media_follow li {margin-bottom:0;}
/* /header */

/* footer */
.inline-logos {position:relative;background:#fff;padding:10px;border-radius:6px;box-shadow:0 0 15px rgba(0,0,0,0.15)}
.inline-logos > div {display:flex;width:100%;overflow:hidden;flex-flow: row nowrap; align-items:center; justify-content:space-between;}
.inline-logos > div > div {margin:0 2.5%;}
.inline-logos > div > div:first-of-type {margin-left:0}
.inline-logos > div > div:last-of-type {margin-right:0}
.inline-logos > div img {display:flex;max-width:100%;max-height:100px;}
/* /footer */

/* sticky menu on scroll */
.has_et_pb_sticky .et_pb_image_0_tb_header .et_pb_image_wrap {width:150px}
.has_et_pb_sticky .header-right.et_pb_column_1_tb_header>div:first-of-type {padding-bottom:7px}
.et_pb_image_0_tb_header.header-logo {margin-bottom:0!important;}
.has_et_pb_sticky .header-logo + div {display:none;}
/* /sticky menu on scroll */

/* overlay bg */
.overlay-bg, .et_pb_slide{position:relative;}
.overlay-bg:before, .et_pb_slide:before {display:block;content:"";width:100%;height:100%;position:absolute;background:rgba(0,0,0,0.45);z-index:1;top:0;left:0}
.overlay-bg.gradient-overlay:before, .et_pb_slide:before {background: linear-gradient(0deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.55) 10%, rgba(0,0,0,0) 66%);background-blend-mode: multiply;}
/* /overlay bg */

/* overflow items */
.overflow-container-top .et_pb_image_wrap {    background: #fff;padding: 10%;border-radius: 6px;position: relative;margin-top: calc(-4vh + -5rem);box-shadow: 0 0 15px rgb(0 0 0 / 25%); margin-bottom: 35px;}
/* /overflow items */

/* /global styles */

/* hero slider */
/*.et_pb_slide_description {padding-left: calc(30px + 20vw);position: relative;margin-left: calc(-30px + -20vw);}*/
.et_pb_bg_layout_dark .et_pb_slide_description {padding-left: calc(30px + 20vw)!important;padding-right:20vw!important;position: relative;margin-left: calc(-30px + -20vw) !important;background: linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 100%);}
/* /hero slider */

/* our developments block */
.development-cards .et_pb_blurb_container .et_pb_module_header {position:relative;text-align:center; margin-bottom:35px;line-height:1.3em}
.development-cards .et_pb_blurb_container .et_pb_blurb_description {text-align:center;}
.development-cards .et_pb_equal_columns > div {display:flex;}
.development-cards .et_pb_main_blurb_image {width: 100%;height: 0;padding-top: 56.25%;overflow: hidden;position:relative;}
.development-cards .et_pb_main_blurb_image > * {position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);width: 100%;object-fit: cover;}

.development-selector .et_pb_salvattore_content {display: flex;
    justify-content: stretch;
    flex-direction: row;}
    .development-selector .et_pb_salvattore_content article {height:100%}

@media(max-width:980px){
	.development-selector .et_pb_salvattore_content article {height:auto}
}
/* /our developments block */

/* development site plan block */
.site-plan-block-with-plot-list-block .site-plan-container {position: relative; width: calc(57.8% + 10vw);margin-left: -10vw;background-position: 100%;}
@media(max-width:980px) {
    .site-plan-block-with-plot-list-block .site-plan-container,
    .site-plan-block-with-plot-list-block .site-plan-container.et_pb_column_empty {display:block; position: relative;width: 120%;margin: 0 -10% 0 -10%;padding-top: 66%;background-position: 50% 50%;background-size: contain;margin-bottom: -12.5%;}
    .table-container.small-plot-list {width: 80%;margin-left: 10%;}
}
@media(max-width:768px) {
    .table-container.small-plot-list {width: 100%;margin-left: 0%;}
}
/* /development site plan block */

/* contact block */
.contact-block.white-title h2 {color:#fff;}
/* /contact block */

/* newsletter block */
.et_pb_newsletter_description, .et_pb_newsletter_form {margin:auto;}
.et_pb_newsletter_form > form {background:#99C5CA;position:relative;padding:25px;margin:-25px;box-shadow:0 0 25px rgba(0,0,0,0.25);border-radius:6px}
/* /newsletter block */


/* tables */
#comparison {z-index:0}
.table-container, div.comparison-table {width:100%;overflow:hidden;border-radius: 10px;background: #fff;padding:10px;width: 120%;margin-left: -20%;box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);}

div.comparison-table .table-head {display:flex;flex-flow:row; background: #f2f2f2;border-bottom:3px solid #666;padding-left:25px;}
div.comparison-table .table-head > div {font-weight:bold;font-size:16px; padding: 10px;text-align: center;line-height: 1.1em;}
div.comparison-table .table-content {max-height:500px; overflow: scroll;width:100%;text-align: center;}
div.comparison-table .table-content > .table-row {display:flex; width:100%; flex-direction: column;padding-top:20px; padding-bottom:20px; padding-left:25px; position:relative; overflow:hidden;color:#666; transition: all 0.3s;background: rgba(0, 0, 0, 0.05)}
div.comparison-table .table-content > .table-row .status-row {display:flex; width:100%; flex-direction: column;position: absolute;transform: rotate(-90deg) translate(-50%, 0%);top: 50%;left: 0;transform-origin: 0 0;padding: 10px;letter-spacing: -0.05em;line-height: 1em;}
div.comparison-table .table-content > .table-row .status-row .status {font-size:12px;letter-spacing: -0.05em;line-height: 1em;}
div.comparison-table .table-content > .table-row .content-row {display:flex; width:100%; flex-direction: row;padding:0; align-items: center; align-content: stretch;}
div.comparison-table .table-content span {font-size: 12px; font-weight: bold; position:relative; margin-top:3px; background:#99c5c9; color: #fff; display: inline-block; padding:2px 8px; border-radius: 100px;line-height:1.5em;}
div.comparison-table .table-content span.info-bubble {display:block; background:#ff0000; width:50px; height: 50px;}
div.comparison-table.comparison-table .table-row:nth-of-type(odd) {background: rgba(0, 0, 0, 0.1)}
div.comparison-table .table-content > .table-row:hover {background:#99C5C9;color:#fff;}
div.comparison-table .table-content > .table-row:hover .property-name > span {background:#666;color:#fff;}
div.comparison-table.comparison-table .sold .status-row {background:#ff0000; color:#fff}
div.comparison-table.comparison-table .coming-soon .status-row {background: #fff; color:#666;}
div.comparison-table.comparison-table .available .status-row {background:#99c5c9; color:#666;}
div.comparison-table.comparison-table .reserved .status-row {background:#FF8; color:#666;}
/*div.comparison-table.comparison-table .divider {border-top:0.5px solid #394050;}*/
div.comparison-table.comparison-table .sold .status-row {border-bottom:1px solid #fff;}
div.comparison-table .status-row div {padding-top:0px; font-size: 10px; font-weight: bold;line-height: 1em;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);}
div.comparison-table .plot-number {width:10%; text-align: center;}
div.comparison-table .property-name {width:50%; text-align: center;line-height: 1.2em;flex-grow:1}
div.comparison-table .parking {width:15%; text-align: center;}
div.comparison-table .price {width:25%; text-align: center;}
i.check{font-style:unset !important;}
i.check:before {font-family: EtModules;content:"\e052";font-style:unset !important;color:#99c5c9}
.comparison .slide .row > div:nth-of-type(odd){background: rgba(0,0,0,0.025);}

#site-plan > .et_pb_column:last-of-type {display:flex; align-items:center;}
.small-plot-list {width:100%}
/*.comparison-table {width:100%;table-layout: fixed;}
.comparison-table thead, .comparison-table tr.section-title {border-bottom:3px solid #666;}
.comparison-table thead th, .comparison-table tr.section-title td {font-weight:bold;font-size:16px; padding: 10px;text-align: center;line-height: 1.1em;}
.comparison-table th:first-of-type {text-align:left;}
.comparison-table tr:nth-of-type(odd) {background: #f2f2f2;}
.comparison-table td {text-align: center;}
.comparison-table tr td:first-of-type {text-align: center;}
.table-container .comparison-table td {text-align: center; line-height: 1.1em; text-align: center; padding: 10px;}
.table-container .comparison-table td span {font-size: 10px; font-weight: bold; position:relative; margin-top:3px; background:#99c5c9; color: #fff; display: inline-block; padding:2px 8px; border-radius: 100px;}
.table-container .comparison-table td span.info-bubble {display:block; background:#ff0000; width:50px; height: 50px;}
.comparison-table tr.sold {background: #39405036}
.comparison-table tr.coming-soon {background: rgba(255, 247, 140, 0.5);}
.comparison-table tr.divider {border-bottom:0.5px solid #394050;}
.comparison-table tr.divider:last-of-type {border-bottom: 0;}
.comparison-table tr.status-row td {padding-top:0; font-size: 10px; font-weight: bold;}*/

.comparison .bottom {padding:0; background:#666; margin:0}
.comparison .bottom > div, 
.comparison .bottom > div > div {background: transparent!important; flex-direction: column;text-align: center;align-items: center;}
.comparison .bottom > div p {color:#fff;}
@media(max-width:980px) {
    div.comparison-table {width:100%; margin:auto}
    div.comparison-table .property-name br {display:none;}
    div.comparison-table .property-name span {margin:0 0 0 5px; font-size: 14px; font-weight: normal;}
}
@media(max-width:768px) {
    div.comparison-table .property-name br {display:inline-block;}
    div.comparison-table .property-name span {margin:5px 0 0 0; font-size: 14px; font-weight: normal;}
}
.img-container {display:block;width:100%;height:0;background-position: 50% 50%;background-repeat: no-repeat;}
.ratio-16-9 {padding-top:56.75%}
.ratio-1-45 {padding-top:44.978%}
.bg-size-contain {background-size: contain;}
.bg-size-cover {background-size:cover;}
/* /tables */

/* comparison slider */
#comparison-table-container, #comparison-disclaimer {z-index:0}
.comparison-table-legend-title-container {width:100%}
.comparison-table-legend-title-container .development-icon {border-radius: 6px;border:1px solid #fff;margin-bottom:10px;}
.comparison {width:100%; position: relative;overflow-x:hidden;background: #fff;border-radius: 6px;box-shadow: 0 0 15px rgb(0, 0, 0, 0.15);padding: 10px;border: 1px solid rgba(0,0,0,0.25);}
.comparison > div {display:block; float:left;}
.comparison > .fixed-col {position:relative; width:250px; border-right:1px solid rgba(0,0,0,0.1); box-shadow: 0 0 25px rgba(0,0,0,0.1); overflow: hidden; border-radius: 3px 0 0 3px;}
.comparison .fixed-col .row:first-of-type {display:flex; align-items: flex-end;}
.comparison .fixed-col .row > div:first-of-type {width:100%; text-align: left;}
.comparison > .slide {width:calc(100% - 251px); overflow: scroll; scroll-behavior: smooth; border-radius: 0 3px 3px 0;}
.comparison section {position: relative; width:auto; float:left;margin:10px 0}
.comparison .fixed-col section {width:100%;}
.comparison section:first-of-type {margin-top:0}
.comparison section:last-of-type{margin-bottom:0}
.comparison .row {width:5000px;display:block;float:left;text-align: center;}
.comparison > .fixed-col .row {width:100%; padding-left:10px; padding-right:10px;}
.comparison .row > div {width:250px; text-align:center;display:inline-flex; height:100%; vertical-align:middle; justify-content:center; padding:5px 0; font-size: 12px;}
.comparison .row {border-bottom: 1px solid rgba(0,0,0,0.1);}
.comparison .fixed-col .row:first-of-type div {font-size: 16px;align-items: flex-end;}
.comparison .row.title, .comparison .row:first-of-type {font-size:16px; border-bottom: 2px solid rgba(0,0,0,0.25);font-weight: bold; padding-top:10px; padding-bottom:10px;text-align: left;}
.comparison section .row:nth-of-type(odd) {background: rgba(0,0,0,0.05);}
.comparison > .slide section:first-of-type .row:first-of-type {display: flex; align-items: center;}
.comparison > .slide .row:first-of-type > div {padding:0px 8px;}
.comparison > .slide .row:first-of-type > div > div,
.comparison > .slide .row:first-of-type > div > a {border-radius: 6px; border:1px solid #fff; box-shadow:0 0 8px rgba(0,0,0,0.2);}
.comparison section.attribute-section-title {margin-bottom:0;}
.comparison section.attribute-section-title + section {margin-top:0;}
.comparison section.attribute-section-title, .comparison .fixed-col section:first-of-type .row:first-of-type, .comparison .slide section:first-of-type .row:first-of-type  {background: #666 !important; color:#fff;}

/* mob version */
.comparison._mobile {display:none;}
section.top.mobile, .row.mob_title, .row.mob_section_title {width:100%; pointer-events: none;}
.comparison._mobile .mob_title[class*='houses'] {color:#fff !important; background: #666;border:0}
.row.mob_title, .row.mob_section_title {width:calc(100% - 20px);position:absolute; font-size: 10px;font-weight: bold;border-bottom: 1px solid rgba(0,0,0,0.25); border-top: 1px solid rgba(0,0,0,0.25);}
.comparison._mobile section {margin:15px 0}
.comparison._mobile .slide {width:100%;}
.comparison._mobile > .slide section:first-of-type .row:first-of-type, .comparison._mobile .row {display: block;}
.comparison._mobile .row > .mob_title {width:100%;}
.comparison._mobile .row > .mob_attribute_row {width:5000px;}
.comparison._mobile .row > .mob_attribute_row > div {width:250px;float:left;}
.comparison._mobile section > .row {padding-top:25px;}
.comparison._mobile section > .row.title {padding:0px; height:25px;background: #666;}
.comparison._mobile .mob_section_title {color:#fff !important;}
.attribute-section-title {display:none;}
.comparison-table-legend-title .development-title {display:none}
@media(max-width:968px){
    .row.mob_title.top_title {border: 0!important}
    .row.mob_title.top-title .comparison-table-legend-title-container {padding:0; width:100; color:#fff;font-size:10px;}

    .comparison-table-legend-title .development-title {display:inline}
    .development-icon {display:none;}
    .comparison._mobile {display:block;}
    .comparison._desktop {display:none;}
}
p.disclaimer {text-align: center;font-size: 12px;background: #394050;padding: 25px !important;color: #fff;border-radius: 10px;border: 1px solid #fff;box-shadow: 0 0 15px rgb(0 0 0 / 15%);line-height: 1.2em;}

/* /comparison slider */

/* development navigator */
.navigator {transition: all 0.2s ease;}
.fixed-nav {position:fixed; z-index: 10009; width: 100%;box-shadow: 0 0 25px rgba(0,0,0,0.45);border-bottom: 1px solid #fff;}
@media(max-width:980px){
    .fixed-nav {padding:40px 0 5px 0 !important;}
}
.development-nav {display:flex; align-items: center;}
.development-nav a{margin:0 10px 0 0;color:#fff;font-family:'Poly',Georgia,"Times New Roman",serif;padding: 10px;font-size: 12px;line-height: 1em;border: 1px solid rgba(255,255,255,0); border-radius: 3px;}
.development-nav a:hover:not(.development-home) {background: rgba(255,255,255, 0.05)}
.development-nav a.on {border: 1px solid rgba(255,255,255,0.25);background: rgba(255,255,255, 0.1);}
.development-home {position:relative; width:9vw; height:4vw; background-position: 50% 50%; background-size: cover; padding: 0;}
.development-nav a:last-of-type {margin-left:auto; margin-right: 0;}
@media(max-width:892px) {
    .navigator, .nav-proxy {display:none;}
}
/* /development navigator */

/* dyanmic rows and columns */
.row, .building-types-container {display:flex; flex-flow:row; flex-wrap:wrap; width:100%;justify-content: center;}
.col {display:flex; flex-direction: column; background:#fff; padding:19px; box-shadow: 0px 12px 18px 0px rgba(0, 0, 0, 0.3);margin-right:3%; width:31.333%; margin-bottom: 25px;position: relative;}
.row > .col:last-of-type, .building-types-container > .col:nth-of-type(3), .building-types-container > .col:last-of-type {margin-right: 0;}
.col h3, .col .description-container {text-align: center;padding-bottom: 0;}
.col h3 a {text-align: center; display:inline-block;}
.col .img-container {position: relative; margin:15px 0 55px 0}
.col .img-container:after {display:block; content:""; width:50%; background:#99C5C9; height: 5px; position: absolute; bottom:-35px; left:50%; transform:translate(-50%, -50%)}
.item-container.align-link-bottom {padding-bottom:67px;}
.item-container.align-link-bottom .et_pb_button,
.comparison .et_pb_button {position: absolute;bottom:19px; width:calc(100% - 38px);text-align: center;font-size: 16px; color:#fff; background: #99c5c9;}
.comparison .et_pb_button {position: relative;border-radius: 50px!important;bottom:auto;}
.item-container.align-link-bottom .et_pb_button:after,
.comparison .et_pb_button:after {font-size: 25px;}
@media(max-width:892px) {
    .building-types-container > .col {width:calc(97% / 2)}
    .building-types-container > .col:nth-of-type(even) {margin-right:0;}
    .building-types-container > .col:nth-of-type(3) {margin-right:3%;}
}
@media(max-width:568px) {
    .building-types-container > .col {width:100%; margin-right:0}
    .building-types-container > .col:nth-of-type(even) {margin-right:0;}
    .building-types-container > .col:nth-of-type(3) {margin-right:0;}
}

/* /dynamic rows and columns */

/* development slider */
.development-slider {z-index:0}
.development-slider .et_pb_slides .et_pb_empty_slide .et_pb_slider_container_inner {display:none}
.development-intro-image-overlay {opacity: 1 !important; position: absolute;top: 50%;left: 50%;z-index: 1;transform: translate(-50%, -50%) !important;box-shadow: 0 0 25px rgba(0,0,0,0.25);border: 2px solid #fff;}

@media(max-width:892px) {
    .et_pb_image_0_tb_body.development-intro-image-overlay {max-width:66%; width:66%}
}
@media(max-width:568px) {
    .et_pb_image_0_tb_body.development-intro-image-overlay {max-width:66%; width:66%}
}
/* /development slider */

/* building types list */
.building-types-container .row:last-of-type .col {margin-bottom: 0;}
/* /building types list */


/* surrounding area */
/* development map */
    
#surrounding-area {position:relative; overflow:hidden;}
.et_pb_map_container {position: absolute;top: 0; left: 0;height: 100%!important;width:100%;}
#surrounding-area .et_pb_row .et_pb_column:first-of-type,
.acf-map-container, .acf-map-container > .et_pb_code_inner {position: absolute;width: 100vw;height: 100vh;left: 50%;top: 50%;transform: translate(-50%, -50%);}
.acf-map {width: 200vw;height: 100vh;position: absolute;left: 50%;top: 50%;transform: translate(-50%, -50%);margin-left: calc((-100vw / 3) * 0.5);}
.acf-map img {max-width: inherit !important;}
#surrounding-area .et_pb_row .et_pb_column:last-of-type {box-shadow: 0px 12px 18px -6px rgb(0,0,0,0.3); padding:50px;margin-left: calc(100% - 47.25%);background:rgba(255,255,255,0.85)}
@media(max-width:980px) {
    .acf-map {margin-left: calc(-40vw + 50px);height:500vh}
    #surrounding-area .et_pb_row .et_pb_column:last-of-type {width: calc((100% - 200px) + 12.5%);margin-left: 200px;}
}
@media(max-width:768px) {
    .acf-map {margin-left: 0;margin-top: 0;top: 140px;}
    #surrounding-area .et_pb_row .et_pb_column:first-of-type, .acf-map-container, .acf-map-container > .et_pb_code_inner {height:100%}
    #surrounding-area .et_pb_row .et_pb_column:last-of-type {width: 100%;margin-left: 0;margin-top: calc(33vh - 80px);padding:25px}
}
/* /development map */

/* testimonials */
#testimonial {z-index:0}
.testimonials-slider {position: relative;}
.testimonial-container {left:0; position: relative;padding-top:25px;margin-top:-25px;overflow: hidden; height:100px;}
.testimonial-container .track, .testimonial-container .slide {float:left;}
.testimonial-container + .controls {position: absolute;top: 100%;height: 35px;left: 50%;transform: translateX(-50%);width: 100%; text-align: center;margin-top:10px;}
.testimonial-container + .controls a {cursor:pointer;display: inline-block;width: 35px;height: 35px;border-radius: 100%;border: 1px solid rgba(255,255,255,0.25);margin: 0 10px 0 0;position: relative;}
.testimonial-container + .controls a:hover {border-color:rgba(255,255,255,0.85)}
.testimonial-container + .controls a:hover:after {background-color:rgba(255,255,255,0.85)}
.testimonial-container + .controls a:after {position: absolute; top:50%; left:50%; transform: translate(-50%, -50%);background: rgba(255,255,255,0.05);width:90%;height:0; padding-top:90%;border-radius: 100%;content:"";}
.testimonial-container + .controls a.on:after {background:rgba(255,255,255,0.85)}

@media(max-width:1110px) {
    .et_pb_testimonial_content p, .et_pb_testimonial_content em{font-size:2.2rem}
}
@media(max-width:768px) {

}
@media(max-width:568px) {
   
}

/* /testimonials */

/* gallery */
.gallery .col .img-container:after {display: none;}
.gallery .col .img-container {margin:0;}
.gallery .col {padding:10px; width:calc((100% / 3) - (20px / 3)); margin: 5px;}
.gallery > .row > .col:nth-of-type(4n), .gallery > .row > .col:first-of-type {margin-left: 0px;}
.gallery > .row > .col:nth-of-type(3n) {margin-right: 0px;}

@media(max-width:980px) {
    .gallery .col {padding:10px; width:calc((100% / 2) - (10px / 2)); margin: 5px;}
    .gallery > .row > .col:nth-of-type(4n) {margin-left: 5px;}
    .gallery > .row > .col:nth-of-type(3n), .gallery > .row > .col:first-of-type {margin-left: 0px; margin-right:5px}
    .gallery > .row > .col:nth-of-type(2n) {margin-right: 0px;}
}
@media(max-width:768px) {
    .gallery .col {padding:10px; width:calc((100% / 2) - (10px / 2)); margin: 5px;}
}
@media(max-width:568px) {
    .gallery .col, .gallery > .row > .col:first-of-type, .gallery > .row > .col:nth-of-type(2n), .gallery > .row > .col:nth-of-type(3n), .gallery > .row > .col:nth-of-type(4n) {width:100%; margin: 5px 0 5px 0;}
}
/* /gallery */

/* glossary rows */
.glossary-row .et_pb_column > div:nth-of-type(even) {background-color: rgba(255,255,255,0.85);}
.underline-float-left h1:after, 
.underline-float-left h2:after,
.underline-float-left h3:after,
.underline-float-left h4:after {left:0; transform: translate(0,0);}
/* /glossary rows */

/* enquiry form */
#enquire, #enquire + div {z-index: 0}
#enquire .et_pb_column {padding:0}
/* /enquiry form */

/* development house types */
#house-types {z-index:0}
/* /development house types */

@media (max-width: 768px){
	.et-pb-controllers {
		margin-bottom:20px;
	}
	.et_pb_fullwidth_slider_0.et_pb_slider .et_pb_slide_description h2.et_pb_slide_title, .et_pb_fullwidth_slider_0.et_pb_slider .et_pb_slide_description 	.et_pb_slide_title a, .et_pb_text_2 h2, .et_pb_text_1 h2, .et_pb_text_3 h2 {
    font-size: 7vw!important;
    line-height: 7vw!important;
}
	.et_pb_button {
		font-size:14px;
	}
	.et_pb_button:after, .et_pb_button:before {
		font-size: 20px;
	}
	.et_pb_testimonial_0.et_pb_testimonial .et_pb_testimonial_content { 
		line-height:0.8em!important;
	}
	.et_pb_slide_title:after {
    	left: -50%;
    	transform: translate(50%,0);
	}
	.et_pb_newsletter_description {
		padding-bottom:35px;
	}
}
@media (max-width: 500px){
	.et_pb_fullwidth_slider_0.et_pb_slider .et_pb_slide_description h2.et_pb_slide_title, .et_pb_fullwidth_slider_0.et_pb_slider .et_pb_slide_description 	.et_pb_slide_title a, .et_pb_text_2 h2, .et_pb_text_1 h2, .et_pb_text_3 h2 {
    font-size: 12vw!important;
    line-height: 12vw!important;
}
}
