/* Custom CSS File for Buyers to Modify */

/*----------------------------------------------------------
My Custom stuff
*/
.contact-info{
    position:absolute;
    right:15px;
    font-size: 1.8em;
}

.container-main-page{
    margin-top:30px;
}
.full-size-background-container{
    background-image: url("../images/yard-house.jpg");
    max-height: 700px;
    border-top:5px solid #545a5a;
}

.full-size-background-container .sidebar{
    margin-top: 30px;
    margin-bottom: 60px;
}

.sidebar-large input{
    max-width: 110px;
}

.sidebar-large .sidebar-large-button{
    /*margin-top:25px !important;*/
    /*margin-left:25px !important;*/
    width: auto;
}

.page-head{
    background-repeat: no-repeat;
    background-position: center top;
    background-image: url('../images/propiedades-bg.jpg');
    background-size: contain;
    border-top:5px solid #545a5a;
}

.page-head .page-title-custom{
    text-transform: uppercase;
    font-weight: 300;
    color: #ffffff;
}
.page-head .subtitle{
    background-color: transparent;
    padding:0px;
}

#contact-form{
    margin-top:0px;
}

#contact-form textarea#comment{
    width:100% !important;
}

#formularioDeContacto input[type="text"],#formularioDeContacto input[type="email"]{
    width:100% !important;
}

.header-wrapper{
    background-image: url("../images/header-bg.png");
    background-repeat: no-repeat;
    background-position-x: 100%;
    background-position-y: -20px;
    background-size: 46%;
}

.main-menu ul li{
    position: relative;
}
.sub-menu-custom{
    background-color: red;
    display: none;
    position:absolute;
    background-color: rgba(50,20,60,.3) !important;
    width:200%;
}

.main-menu li:hover .sub-menu-custom{
    display: block;
}

.sub-menu-custom li:hover > a{
    background-color:black !important;
    opacity:.5;
}

.page-head-contacto{
    background-repeat: no-repeat;
    background-position: center top;
    background-image: url('../images/contacto-bg.jpg');
    background-size: cover;
}
/*Modifying the margin-bottom to match the original design*/
.page-head{
    margin-bottom: 30px !important;
}

#property-contact-form input, #property-contact-form textarea{
    width:95%;
}

#header-top{
    border-bottom: none ;
    margin-bottom:10px !important;
}

#formulario-busqueda-home input[type="text"], #formulario-busqueda-home select{
    /*margin:0;*/
    width:100%;
    margin: 0 0 10px 0;

}
#formulario-busqueda-home select,.advance-search-form .row-search-properties select{
    -webkit-appearance: none;
    -moz-appearance: none;
    background-position: right 50%;
    background-repeat: no-repeat;
    border-radius: 0;
    /*background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAMCAYAAABSgIzaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDZFNDEwNjlGNzFEMTFFMkJEQ0VDRTM1N0RCMzMyMkIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDZFNDEwNkFGNzFEMTFFMkJEQ0VDRTM1N0RCMzMyMkIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo0NkU0MTA2N0Y3MUQxMUUyQkRDRUNFMzU3REIzMzIyQiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo0NkU0MTA2OEY3MUQxMUUyQkRDRUNFMzU3REIzMzIyQiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PuGsgwQAAAA5SURBVHjaYvz//z8DOYCJgUxAf42MQIzTk0D/M+KzkRGPoQSdykiKJrBGpOhgJFYTWNEIiEeAAAMAzNENEOH+do8AAAAASUVORK5CYII=);*/
    background-image: url('../images/dropdown-arrow.png');
    padding: 0px 0px 0px 10px;
}

#formulario-busqueda-home .option-bar{
    width:95%;
}

.row-search-properties{
    margin-left:15px;
    width:100%;
}
.search-properties-item-container{
    width:15%;
    display:inline-block;
    margin-right:10px;
}

.search-properties-item-container.half-width{
    width:10.5% !important;
}

.search-properties-item-container select{
    margin: 0 5px 5px 0;
    width:100%;
}

.search-properties-item-container input[type="submit"]{
    padding:0;
    margin-top:0 !important;
    margin-bottom:5px !important;
    margin-left:10px !important;
}

#slider{
    /*max-height:500px;*/
    position:relative;
    z-index: 2;
    border-top:5px solid #545a5a;
}

#homeSearchForm{
    position:absolute;
    z-index:999;
    top:30px;
    left:100px;
    max-width: 280px;
}
#overview #property_map{
    margin: 0;
    padding: 0;

}

@media all and (max-width: 1200px){
    .search-properties-item-container,.search-properties-item-container.half-width{
        width:30% !important;
    }
}

@media all and (max-width: 720px){

    #homeSearchForm,.contact-info{
        display:none;
    }
    .container{
        width:100%;
    }
    .search-properties-item-container,.search-properties-item-container.half-width{
        width:100% !important;
    }
    .header-wrapper{
        background-image: none;
    }
}

.custom-page-title{
    color:grey;
    border-bottom:1px solid grey;
    margin-left:25px;

}

#header #logo{
    padding-bottom:20px;
}

#empresa h1{
    margin-bottom: 40px;
}

#empresa p{
    text-align: justify;
    line-height: 1.7em;
}

#empresa iframe{
    width: 100%;
    height: 315px;
}

#servicios h1{
    margin-bottom: 40px;
}

#servicios p:not(.servicios-subtitle){
    font-size:14px;
    line-height: 1.7em;
}

.servicios-subtitle{
    text-transform: uppercase;
    text-decoration: underline;
    font-weight: bold;
}

.properties-container{
    box-sizing: border-box;
    padding: 15px;
}
.properties-container * {
    box-sizing: border-box;
}
.properties-container .properties-grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-column-gap: 30px;
    grid-row-gap: 15px;
    box-sizing: border-box;
}

.properties-grid .property .property-information{
    padding: 10px 0 10px 0;
}
.property-location{
    font-size: 12px;
}
.properties-grid .property-image{
    width: 100%;
}

.property .property-image{
    position: relative;
}
.properties-grid .property .property-image img{
    min-height: 190px;
    object-fit: cover;
}
.properties-grid .property-name{
    margin:0 0 5px 0px;
}

.property-name a:link{
    color: #394041;
}

.property-price{
    color: #06476E;
    text-transform: uppercase;
    font-weight: bold;
}
.properties-grid .property-information .property-price{
    margin-top: 10px;
}
.properties-grid .property-characteristics{
    margin-top: 10px;
    font-size: 10px;
}
.properties-grid .property-characteristics .property-characteristic{
    display: inline-block;
}
.properties-grid .property-characteristics .property-characteristic:not(:first-child){
    padding-left: 5px;
}

.btn-property-details{
    border-radius: 20px;
    border: 1px solid #06476E;
    padding: 5px 15px;
    text-transform: uppercase;
    font-weight: lighter;
    font-size: 10px;
    color: #03283e;
}

.properties-grid .property-information .btn-property-details{
    margin-top: 10px;
}

.properties-grid .property-characteristic{
    line-height: 1.4;
}

.properties-grid .property-characteristic .property-characteristic-value, .properties-grid .property-characteristic .property-characteristic-name{
    display: block;
}
.property-characteristic-value{
    font-weight: bold;
    font-size: 12px;
}

.property-characteristic-name{
    text-transform: uppercase;
}

.property-characteristic-value sup{
    font-size:8px;
}

.properties-grid .property-characteristics .property-characteristic:not(:first-child){
    padding-left: 10px;
}
.properties-grid .property-operation{
    font-size: 10px;
    border-radius: 5px;
    padding: 1px 6px;
    color:white;
    background-color:#343A3B;
    display: inline-block;
    position: absolute;
    top:0;
    right:10px;
}
@media all and (max-width: 960px){
    .properties-container .properties-grid{
        grid-template-columns: 1fr 1fr 1fr;
    }
}

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

@media all and (max-width: 620px){
    .properties-container .properties-grid{
        grid-template-columns: 1fr;
    }
}