/*
Theme Name: Machete Marketing Child Theme
Description: Custom responsive child theme for Machete
Theme URI:   https://machete.co.za
Author: Machete
Author URI:  https://machete.co.za
Template: machete
Version: 1.0
*/

@import url("floors/floorplans.css");
@import url("floors/elevations.css");
@import url("floors/first.css");
@import url("floors/second.css");
@import url("floors/third.css");
@import url("floors/fourth.css");

/* Main */
body .wpb_text_column {
    margin-bottom: 0!important;
}
h1, h2, h3{
	margin-top:0!important;
	margin-bottom:20px!important;
	color:#201a09!important;
}

.white{
	color:white!important;
}
.black{
	color:black!important;
}
.green{
	color:#3c6048!important;
}
.gold{
	color:#D4B665!important;
}


/* Header */
#top nav ul li a {
    color: #201A09!important;
}
#top nav ul li.current-menu-item a,
#top nav ul li a:hover {
    color: #D4B665!important;
}
#header-outer[data-lhe="animated_underline"] nav > ul >li:not([class*="button_"]) > a .menu-title-text:after,
#header-outer[data-lhe="animated_underline"] .nectar-header-text-content a:after{
	border:none!important;
	display:none!important;
}
#header-outer.small-nav{
	    background-color: #3c6048;
}
#header-outer.small-nav nav ul li a {
    color:rgba(255,255,255,0.75)!important;
}
#header-outer.small-nav nav ul li.current-menu-item a {
    color: #D4B665!important;
}
#header-outer.small-nav #top #logo img {
    content: url(https://thecavendish.co.za/wp-content/uploads/2023/09/The-cavendish-logo-white-sml.png);
}
#header-outer.small-nav .horizon-logo img {
    content: url(https://thecavendish.co.za/wp-content/uploads/2023/09/Horizon-Capital-Residential-Logo-invert.png);
}

/* Content */
.material .wpb_content_element, 
.material .wpb_row {
    margin-bottom: 0!important;
}
body[data-header-resize="1"] .container-wrap,
body[data-header-resize="1"] .project-title {
    padding-top: 0!important;
}

.mobile-show {
	display: none !important;
}

img.border-radius,
.portfolio-items .col .work-item.style-2,
.flex-gallery .slides img,
.map .vc_column-inner{
	border-radius:16px;
	overflow: hidden;
}
img.full-width{
	width:100%!important;
}
.image-margin-top{
	margin-top:-150px;
}

.rw_padding_left {
    padding-right: 3% !important;
}

.rw_padding_right {
    padding-left: 3% !important;
}

*:focus {
    outline: 0 !important;
}

.nectar-flickity.nectar-carousel.nectar-carousel:not(.masonry) .flickity-viewport {
    margin: 30px 0 60px 0!important;
}
.nectar-flickity[data-control-style=material_pagination] .flickity-page-dots, .nectar-flickity[data-controls=material_pagination] .flickity-page-dots{ bottom: -30px!important;
}
.swiper-container[data-bullet_style="scale"] .slider-pagination .swiper-pagination-switch i{
    width: 10px;
    height: 10px;
    box-shadow:none;
}
.swiper-container[data-bullet_style="scale"] .slider-pagination .swiper-pagination-switch i:hover,
.swiper-container[data-bullet_style="scale"] .slider-pagination .swiper-pagination-switch i{
    background-color: #9eb0a4!important;
}
.swiper-container[data-bullet_style="scale"] .slider-pagination .swiper-active-switch i{
    background-color: #3C6048!important;
}
.nectar-slider-wrap,
.axo-carousel .flickity-viewport {
    border-radius: 16px;
    border: 1px solid #f2efe9;
    background-color: #fcfcfc;
}


/* Buttons */
body.material .nectar-button,
html body.material .nectar-button.see-through.accent-color[data-color-override="false"],
body .gform_wrapper .gform_footer input[type=submit],
.gform_wrapper .gform_footer input[type=submit],
.gform_wrapper .gform_footer input[type=submit]:hover,
body[data-form-submit=regular] .container-wrap .gform_footer  button[type=submit], 
body[data-form-submit=regular] .container-wrap .gform_footer input[type=submit],
.btn-default{
	color: #201A09!important;
	font-size: 18px!important;
	font-weight: 500!important;
	line-height: 28px!important;
	padding: 12px 20px!important;
}
/*body.material .nectar-button, html body.material .nectar-button.see-through.accent-color[data-color-override="false"] {
    background-color: white!important;
}*/
body.material .nectar-button, 
html body.material .nectar-button.see-through.accent-color[data-color-override="false"]:hover {
	border-color:rgb(234, 219, 178)!important;
}


/* Content */
.greenbar:before {
    border-top: 12px #3c6048 solid;
    display: block!important;
    width: 48px;
    padding-bottom: 30px;
	content:"";
}
.content-row{
	padding-top:55px!important;
	padding-bottom:55px!important;
}
.content-row.no-bottom-padding{
	padding-bottom:0px!important;
}
.content-row.no-top-padding{
	padding-top:0px!important;
}
.content-row.lightgrey .row-bg-wrap{
	background-color:#fcf9f3!important;
}


/* Leafbg */
.content-row.leafbg{
	padding-top:45px!important;
	padding-bottom:45px!important;
}
.content-row.leafbg .row-bg-wrap{
	background:url(https://thecavendish.co.za/wp-content/uploads/2023/09/leafbg-taller.png) repeat top;
	color:#fff;
}
.content-row.leafbg p,
.content-row.leafbg h1, .content-row.leafbg h2, .content-row.leafbg h3, .content-row.leafbg h4{
	color:#fff!important;
}
.content-row.leafbg h4{
	font-family: 'Source Sans Pro';
    font-size: 18px;
    font-weight: 400;
}
.content-row.leafbg h1{
	margin-bottom:0!important;
}
.rounded-box .vc_column-inner{
	border-radius: 16px;
	border: 1px solid rgba(212, 182, 101, 0.50);
	padding:20px 30px 30px 30px;
	text-align:center;
	color:#FFF;
	font-weight: 400;
	max-width: 250px;
	min-height:141px;
    margin: 0 auto;
}
.rounded-box .number{
	font-size: 40px;
	line-height: 40px;
	font-weight: 700;
}
.rounded-box .unit{
	font-size: 30px;
	line-height: 30px;
	font-weight: 500;
}


/* Lists */
ul.list {
    list-style-position: outside;
	margin:0px 0px 0px 30px!important;
}
ul.list li{
	list-style-type:none;
	margin-bottom:10px;
	margin-left:5px;
}
ul.list li:before{
	content: '✓';
    font-size: 15px;
    font-weight: bold;
    color: #3c6048;
	text-align: center;
	position: absolute;
    display: block;
    left: 0px;
    background-color: #eadbb2;
    border-radius: 100%;
	width: 25px;
    height: 25px;
    line-height: 25px;
	padding-bottom:25px;
    font-family: Arial, Helvetica, sans-serif;
}

/* icons*/
.icons .img-with-aniamtion-wrap .hover-wrap {
    margin-bottom: 0px!important;
}
.icons p{
    margin-bottom: 50px;
    margin-top: 15px;
}

/* Maps*/
body .egm-marker-iw{
	max-width:175px;
}
body .gmpInfoWindowtitle{
	display:none;
}
body .egm-marker-iw img{
	margin-bottom: -20px!important;
	width:100%!important;
}
.egm-marker-iw p{
	padding-bottom:0;
}
.gmp_MapPreview a button,
body[data-button-style^="rounded"] .gmp_MapPreview a button{
    background-color: #3c6048;
    font-size: 13px;
    line-height: 16px;
    font-weight: 400;
    color: #d4b665;
    border-radius: 0px !important;
    border-style: none;
    width: 100%;
    padding: 5px;
}




/* Forms */
.gform_legacy_markup_wrapper.gf_browser_chrome .gfield_checkbox li input, .gform_legacy_markup_wrapper.gf_browser_chrome .gfield_checkbox li input[type=checkbox], .gform_legacy_markup_wrapper.gf_browser_chrome .gfield_radio li input[type=radio] {
    margin-top: 0!important;
}
.ginput_container_consent input[type="checkbox"] {
    float: left;
    margin-right: 10px;
	margin-bottom: 30px;
    margin-top: 5px!important;
}
label.gfield_consent_label {
    display: block;
    font-size: 15px;
    line-height: 22px;
}

.gform_wrapper input[type=text],
.gform_wrapper input[type=email],
.gform_wrapper input[type=tel],
.gform_wrapper textarea{
	border-radius: 8px;
	border: 1px solid #D0D5DD;
	background:transparent;
	box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
	font-family: 'Source Sans Pro';
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
}
.gform_wrapper input::placeholder{
    color: #667085;	
}
body .gform_wrapper .top_label .gfield_label {
	color: #344054;
	font-family: 'Source Sans Pro';
	font-size: 16px;
	font-style: normal;
	font-weight: 400!important;
}

body .gform_wrapper .gform_footer input[type=submit],
.gform_wrapper .gform_footer input[type=submit],
.gform_wrapper .gform_footer input[type=submit]:hover,
body[data-form-submit=regular] .container-wrap .gform_footer  button[type=submit], 
body[data-form-submit=regular] .container-wrap .gform_footer input[type=submit]{
    background-color: #D4B665;
    border-color: #D4B665;
	margin: 0!important;
}
.gform_required_legend{
	display:none;
}
.iti--separate-dial-code{
	display: block;
}


/* Footer */

.global-footer{
	
}
.copyright,
.copyright a{
	color:#fff!important;
	font-size: 14px;
	font-weight: 500;
	text-align:right;
}


/* Mobile */
body #slide-out-widget-area .inner-wrap .inner .nectar-header-text-content {
    display: none!important;
}
.slide-out-widget-area-toggle.mobile-icon .lines-button.x2 .lines:after, .slide-out-widget-area-toggle.mobile-icon .lines-button.x2 .lines:before, .slide-out-widget-area-toggle.mobile-icon .lines-button:after {
    background-color: #3c6048!important;
}

/* Responsive styles  */

@media (max-width: 1200px){
#top nav ul li a {
	margin-left: 15px!important;
    margin-right: 15px!important;
	font-size: 14px!important;
}
}

@media (max-width: 999px){
.rw_padding_left {
    padding-right: inherit !important;
}
.rw_padding_right {
    padding-left: inherit !important;
}
.image-margin-top{
	margin-top:10px;
}
}


@media (max-width: 1050px){
.mobile-hide {
        display: none !important;
}
#top nav ul li a {
	margin-left: 10px!important;
    margin-right: 10px!important;
}
}


@media (max-width: 690px){
.mobile-show {
        display: block!important;
}
.content-row.leafbg {
    padding-bottom: 25px!important;
}
.img-with-aniamtion-wrap,
.right.img-with-aniamtion-wrap{
	text-align:center!important;
}
.copyright,
.copyright a{
	text-align:center;
}
.no-margin-mobile{
	margin:0!important;
}
}



