/*
Theme Name: Villa Marbella
Theme URI: https://cognito.nl
Author: Cognito Concepts
Author URI: https://cognito.nl
Description: Another Casa Del Mar theme designed by Anneke Rietveld
Requires at least: 6
Requires PHP: 8
Version: 1
Text Domain: cdm
*/

/*misschien niet nodig 

html {
    margin-top: 0!important;
}
*/
body {
    max-width: 1900px;
    margin: auto;

}

.bold {
    font-weight: bold;
}

.object-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    padding-top: 47px;
    border-top: 1px solid #cccccc;
}

header {
    background-repeat: no-repeat;
    background-position: top -176px center;
    background-size: cover;

    width: 100%;

    
    text-align: center;
}

.home header {
    background-position: top;

    max-height: 710px;
}

header h1 {
    max-width: 750px;
    margin: 175px auto 60px auto;

    font-family: sans-pro-light;
    font-weight: lighter;
    font-size: 55px;
    line-height: 57px;
    color: #eff0ef;
}

.home .header-menu {
    padding-top: 30px;
}

.content-width {
    margin: auto;
    margin-top: 0px;
    position: relative;
    max-width: 1120px;

}

#logo {
    position: absolute;
    top: 20px;
}

.home #logo {
    top: 29px;
}

#logo img {
    width: auto;
    height: 103px;
}

.home #logo img {
    height: 150px;
}

.menu-top-container {
    padding-top: 14px;
}

ul#menu-top {
    list-style: none;
}

ul#menu-top li {
    display: inline-block;
}

#menu-top {
    padding: 0px;
}

#menu-top li {
    padding: 10px;
    margin: 5px;
    min-width: 72px;
}

#menu-top li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    vertical-align: middle;
    font-family: sans-pro-semibold;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.current_page_item {
    background-color: white;
}

#menu-top .current_page_item a {
    color: #e50328;
}
footer {
    margin-top: 80px;
    background-color: #e30613;
}

footer .current_page_item{
    background-color: transparent;
}

#footer-widgets {
    padding-top: 55px;
    max-width: 1120px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    font-family: 'sans-pro-semibold';
    color: #ffffff;
    padding-bottom: 277px;
}

.footer-row:first-child .widget:first-child {
    margin-bottom: 34px;
}

.footer-row {
    display: inline-block;
    text-align: left;
    vertical-align: top;
}

#menu-footer {
    list-style: none;
}

#menu-footer a{
    text-decoration: none; 
    color: #ffffff;
}

footer .footer-row .wp-block-button__link {
    border-radius: 0;
    background-color: #ffd500;
    color: black;
    width: 323px;
    height: 59px;
}

ul#menu-search-bar li {
    position: relative;
    display: inline-block;
    padding: 10px 15px;
    min-width: 56px;
    
    background-color: #e40327;
}

ul#menu-search-bar li:first-of-type {
    background-color: #ea5045;
}

#menu-search-bar li:not(:first-child):before {
    position: absolute;
    top: 8px;
    left: 0;
    background-color: #ea5045;
    width: 1px;
    height: calc(100% - 16px);
    content: '';
}

#menu-search-bar a {
    font-family: sans-pro-semibold;
    text-transform: capitalize;
    color: white;
    text-decoration: none;
    font-size: 17px;
    vertical-align: middle;

    line-height: 30px;
}

#advance-search-button {
    max-width: 20px;
}

#advance-search-button a {
    text-decoration: none;
    font-family: sans-pro-semibold;
    font-size: 8px;
    font-weight: bold;
    color: black;
    line-height: 10px;
}

#menu-search-bar li {
    padding: 2px 0px 3px 13px;
}

#menu-search-bar li:last-child a {
    border: none;
}

ul#menu-search-bar.menu {
    margin-bottom: 0px;
    padding-inline-start: 0px;
}

#search-bar {
    padding-bottom: 99px;
}

#search-bar-form {
    width: 100%;
    padding: 36px;

    box-sizing: border-box;

    background-color: #ffd500;
    display: grid;
    grid-template-columns: 4fr 8fr 3fr 1fr;
    column-gap: 36px;
}

#search-bar-form .cdm-field {
    height: 42px;
    border: none;

    outline: none;
    background-color: white;

    font-family: sans-pro-regular;
    font-size: 17px;
}

#search-bar-form .cdm-field .v-field__input {
    height: 42px;
    min-height: auto;
    padding: 10px 16px;
    overflow-y: hidden;
}

#search-bar-form .cdm-field .v-field--variant-filled .v-field__outline:before {
    border: none;
}

#search-bar-form .cdm-field .v-label.v-field-label {
    top: 10px;
}

#search-bar-form select.cdm-field,
#search-bar-form input[type="text"].cdm-field {
    padding-left: 18px;
}

#search-bar-form input[type="submit"].cdm-field {
    background-color: black;
    color: white;
    cursor: pointer;

    text-transform: uppercase;
}

#search-bar-form a.cdm-field {
    margin-left: -10px;

    background-color: transparent;

    text-decoration: none;
    text-align: left;
    color:  black;
}

#search-page {
    margin-top: 20px;
    display: grid;
    grid-template-columns: calc(100% - 250px) 250px;
    gap: 30px;
}

#top-bar {
    display: contents;
}

#search-sidebar {
    width: 100%;
}

#search-sidebar label{
    display: flex;
    align-items: center;
    margin-top: 22px;
    text-transform: uppercase;
}

.object-overview {
    width: 100%;
}

#content {
    max-width: 1120px;
    margin: auto;
}

.horizontal {
    display: flex;
}

#price-slider input{
    width: 87px;
    height: 40px;
    padding-left: 15px;
    margin-top: 22px;
    background-color: #f0f0f0;
    font-family: sans-pro-semibold;
}
 
#price-slider input:not(:last-child){
    margin-right: 46px;
}

.sidebar-object {
    padding: 0px 15px 20px 15px;
    margin-bottom: 20px;
    box-shadow: -2px 2px 9px #ceced1;
    border-top: 4px solid  #ffd500 ;
}

.sidebar-object select{
    background-color: #f0f0f0;
    width: 100%;
    height: 40px;
    padding-left: 15px;
    margin-top: 22px;
    font-family: sans-pro-semibold;
}

:focus{
    outline: none;
}

.object-image-container {
    display: block;
    height: 200px;
}

.object-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.object h2{
    font-family: sans-pro-light;
    font-weight: 500;
    font-size: 18px;
}

.object label{
    font-family: sans-pro-semibold;
}

.object a{
    float: right;
}

.quick-info{
    border-top: 1px solid #cccccc;
}

#yellow {
    height: 93px;
    background-color: #ffd500;
}

