/* Fix title size */
.wpb--container h1 {
    font-size: 24px;
    line-height: 1.4;
    margin: 15px 0;
    font-weight: 500;
}

/* General Styles */
.elementor-kit-6 h1, .elementor-kit-6 h2 {
    font-family: "Inter", Sans-serif;
    font-weight: 350;
}

/* Hide branding */
.wpb--advert {
    display: none !important;
}

/* Search Form Styles */
.wpb--properties-form {
    display: flex;
    flex-wrap: wrap !important;
    padding: 10px;
    margin-bottom: 30px;
    align-items: center;
    border-radius: 5px;
    background-color: #1E2B3A;
}

.vscomp-wrapper.focused .vscomp-toggle-button,
.vscomp-wrapper:focus .vscomp-toggle-button {
  box-shadow: none !important;
}

.vscomp-toggle-button .vscomp-value {
	font-family: "AXA-paragraph", sans-serif !important;
	font-weight: 300 !important;
}

input#searchform-ref {
	font-weight: 300 !important;
}

input.vscomp-search-input {
	font-family: "AXA-paragraph", sans-serif !important;
	font-weight: 300 !important;
}

button#advancedSearchDesktop {
	font-weight: 300 !important;
}

button.wpb--btn-search {
	font-weight: 300 !important;
}

input.vscomp-search-input::placeholder {
	color: #fff !important;
}

a.wpb--stretched-link small {
	font-family: "AXA-paragraph", sans-serif !important;
	font-weight: 300 !important;
	font-size: 15px !important;
}

.wpb--stretched-link {
	font-family: "AXA-paragraph", sans-serif !important;
	font-weight: 800 !important;
	font-size: 15px !important;
}

.wpb--card-price {
	font-weight: 500 !important;
}

#list-ref {
	font-weight: 300 !important;
	font-size: 12px !important;
	font-family: "AXA-paragraph", sans-serif !important;
}

.vscomp-option {
	color: #fff !important;
	font-family: "AXA-paragraph", sans-serif !important;
}

.vscomp-option.selected {
    background-color: rgba(255,255,255,0.25) !important;
	color: #fff !important;
	font-family: "AXA-paragraph", sans-serif !important;
}

.vscomp-option.focused {
    background-color: rgba(255,255,255,0.15) !important;
	color: #fff !important;
	font-family: "AXA-paragraph", sans-serif !important;
}

.vscomp-dropbox {
    background-color: #1E2B3A !important;
	font-family: "AXA-paragraph", sans-serif !important;
	color: #fff !important;
}

.vscomp-search-input {
	color: #fff !important;
}

.wpb--card-features li {
    padding-top: 9px !important;
}

/* Search form dropdowns (on dark background) */
.wpb--properties-form .vscomp-toggle-button {
	color: #fff !important;
    background-color: transparent !important;
    border: none !important;
	border-bottom: 1px solid #fff !important;
}

.wpb--properties-form .vscomp-arrow::after {
	border-bottom-color: #fff !important;
	border-right-color: #fff !important;
}

/* Order form dropdown (on white page background) */
#orderform .vscomp-toggle-button {
	color: #1E2B3A !important;
    background-color: transparent !important;
    border: none !important;
	border-bottom: 1px solid #1E2B3A !important;
}

#orderform .vscomp-arrow::after {
	border-bottom-color: #1E2B3A !important;
	border-right-color: #1E2B3A !important;
}

.pop-comp-wrapper {
	color: #fff !important;
}

#wpb__style_container .wpb--form-group select, #wpb__style_container .wpb--form-group input {
    color: #fff !important;
    background-color: transparent !important;
    border: none !important;
    border-bottom: 1px solid #fff !important;
}

input#searchform-ref::placeholder {
  	color: #fff !important;
}

#wpb__style_container .wpb--form-group .vscomp-ele .vscomp-toggle-button {
    background: transparent;
    border: none !important;
    /*border-bottom: 1px solid #fff !important;*/
    color: #fff;
}

#wpb__style_container .wpb--form-group .vscomp-ele {
	background: transparent !important;
	border: none;
    border-bottom: 1px solid #fff !important;
    color: #fff !important;
}

.wpb--form-group {
    /*flex: 1 1 calc(10% - 10px);*/
	flex: 0 0 auto;
    min-width: 140px;
    margin: 0;
}

div.wpb--form-group.wpb--btnsearch {
	margin-left: auto !important;
	margin-right: 135px !important;
}

/* Select and Button Styles */

.wpb--btn-search {
    background-color: #fff !important;
    color: #1E2B3A !important;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    min-width: 120px;
    padding: 12px;
    margin-top: 10px; /* Add gap above the button */
    width: auto !important;
}

.wpb--btn-search:hover {
    background-color: transparent !important;
	color: #fff !important;
	border: 1px solid #fff !important;
}

/* Checkbox Styles */
.wpb--form-row.wpb--form-row-check {
    align-items: flex-start !important;
    overflow: hidden;
    height: 0;
    transition: height 0.3s ease;
    display: flex;
    flex-wrap: wrap;
    margin-top: 0px;
    width: 100%;
}

.wpb--form-row.wpb--form-row-check.hidden {
    height: 0;
    visibility: hidden;
}

.wpb--form-check {
	justify-content: flex-start !important;
    display: flex !important;
    align-items: start !important;
    /*flex: 1 1 calc(10% - 10px) !important;*/
    flex: 0 0 auto !important;
	min-width: 160px;
    max-width: 180px;
}

.wpb--form-check-label {
    color: #fff !important;
    text-transform: none !important;
    font-size: 14px;
    margin-left: 0 !important;
}

.wpb--form-check-input {
    width: 18px;
    height: 18px;
    border: 2px solid #ffffff;
    background: transparent;
    cursor: pointer;
}

.wpb--form-check-input:checked {
    background: #AA8E7B;
    border-color: #AA8E7B;
}

.wpb--form-row.wpb--form-row-check > .wpb--form-group.wpb--form-check {
  width: 180px;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  margin-right: 0px;
}

#advancedSearchDesktop {
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
    font-size: 14px;
    text-decoration: none; /* Remove underline */
}

#advancedSearchDesktop:hover {
	color: #fff;
}
	
span#form-reset {
    border: 0 !important;
	color: #fff !important;
}

span#form-reset:hover {
	color: #fff !important;
}

.wpb--properties-list-info > h1 {
    display: none; /* Hide h1 directly under this class */
}

#wpb__style_container .wpb--card-container {
	margin: auto !important;
}

/* Card Styles */
.wpb--card-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Ensure three columns */
    gap: 0; /* Remove spacing between cards */
    margin: 30px auto;
    width: 100%;
    box-sizing: border-box;
}

.wpb--card {
    width: 100%; /* Ensure cards fit the grid */
    box-sizing: border-box; /* Include padding and borders in size */
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wpb--card-price {
    color: #1E2B3A; /* Set price text color */
    font-size: 18px;
    font-weight: bold;
}

.wpb--location {
    color: #AA8E7B; /* Set location text color */
    text-align: center; /* Center-align location text */
    font-size: 14px;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wpb--form-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
	/*display: grid !important;
    grid-template-columns: repeat(8, 1fr);*/
	gap: 10px;
}

.wpb--form-group {
    /*flex: 1 1 calc(10% - 10px);
    min-width: 150px;
	max-width: 155px;*/
	/*flex: 0 0 160px;*/
	/*flex: 1 1 auto; min-width: 120px; max-width: 150px;*/
	flex: 0 0 calc(12.5% - 10px); min-width: 175px; max-width: 175px;
	box-sizing: border-box;
	margin-right: 10px;
}

.wpb--card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Property Details Page Styles */
.wpb--container h1 {
    font-size: 36px;
    color: #002125;
    margin: 30px 0;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
    font-family: "Inter", sans-serif;
}

.wpb--container {
    margin: 0 !important;
}

.wpb--aspect-box {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
}

.wpb--image-fit {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wpb--aspect-box {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 66.67%;
    overflow: hidden;
    margin-bottom: 0;
}

.wpb--aspect-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

ul.wpb--card-features li {
  background-color: #1E2B3A;
  color: white;
  border-radius: 0;
  font-size: 11px;
  padding: 5px 10px;
  margin: 6px 6px !important;
}

ul.wpb--card-features {
    padding-bottom: 15px;
}

small.list-ref {
  color: #1E2B3A !important;
  padding: 2px 5px !important;
  margin-bottom: 10px !important;
}

a.wpb--stretched-link > small:not(.list-ref) {
  color: #1E2B3A !important;
  margin-bottom: 10px !important;
}

.wpb--stretched-link {
    color: #002E38 !important;
    font-size: 15px;
}

#wpb__style_container .wpb--form-row {
	justify-content: flex-start !important;
}

.wpb--form-row.wpb--form-row-check {
    gap: 10px !important;
}

/* Responsive Styles */
@media (max-width: 767px) {
    #wpb__style_container .wpb--form-group.wpb--form-check {
        width: 33% !important;
    }
}

@media (max-width: 768px) {
    
    .wpb--aspect-box {
        padding-bottom: 75%;
    }
	
	.wpb--form-check-label {
    	font-size: 13px !important;
	}
	
	.wpb--form-row.wpb--form-row-check {
    	gap: 0px !important;
	}
	
	.wpb--properties-form {
    	padding: 0px !important;
	}
}

@media (max-width: 992px) {
    .wpb--card-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .wpb--form-row .wpb--form-group {
        max-width: 450px !important;
        min-width: 160px !important;
    }

    }

    div.wpb--form-group.wpb--btnsearch {
		margin-left: 0 !important;
    	margin-right: 0 !important;
	}

    .wpb--form-row {
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .wpb--card-container {
        grid-template-columns: 1fr;
    }

    .wpb--properties-form {
        padding: 20px;
        flex-direction: column;
    }

    .wpb--form-group {
        width: 100%;
    }

    .wpb--form-row {
        flex-direction: row;
        gap: 15px;
    }

    .wpb--form-check {
        width: 100%;
    }

    .wpb--container h1 {
        font-size: 24px;
        margin: 20px 0;
    }

    /*.wpb--form-row .wpb--form-group {
        flex: 0 0 calc(25% - 10px);
		/*flex: 1 1 calc(10% - 10px);
        max-width: 120px !important;
        min-width: 120px;
    }*/

     div.wpb--form-group.wpb--btnsearch {
		margin-left: 0 !important;
    	margin-right: 0 !important;
	}

    .wpb--form-row {
        gap: 10px;
    }
}

@media (max-width: 450px) {
    .wpb--card-container {
        grid-template-columns: 1fr;
    }

    .wpb--property-column {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    .wpb--property-similar {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .wpb--properties-form {
        padding: 20px;
        flex-direction: column;
    }

    .wpb--form-group {
        width: 100%;
    }

    .wpb--gallery-button {
        bottom: 20px !important;
    }

    
    .wpb--property-nav-menu a {
        font-size: 10px !important;
    }

    .wpb--nav-contacter {
        font-size: 10px !important;
    }

    .wpb--form-row {
        flex-direction: row;
    }

    .wpb--container h1 {
        font-size: 24px;
        margin: 20px 0;
    }

    /*.wpb--form-row .wpb--form-group {
		flex: 0 0 calc(25% - 10px);
        /*flex: 1 1 calc(10% - 10px);
        max-width: 120px !important;
        min-width: 120px;
    }*/

     div.wpb--form-group.wpb--btnsearch {
		margin-left: 0 !important;
    	margin-right: 0 !important;
	}

    .wpb--form-row {
        gap: 2px;
    }
}