/*
CTC Separate Stylesheet
Updated: 2023-12-06 13:23:12
*/


.svg-icon1 {
    width: 15px;
}


#maptitle h2 {
    font-size: 30px;
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 700;
    margin: 4vw auto 2vw auto;
    text-align: center;
}

.custom-posts-grid a {
    text-decoration: none;
    color: black;
}

.custom-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));
    grid-gap: 30px;
   
}

.post-item-grid {
    /* border: 1px solid #ccc; */
    padding: 0px;
    -webkit-box-shadow: 1px 1px 40px -18px rgba(0,0,0,0.6);
    -moz-box-shadow: 1px 1px 40px -18px rgba(0,0,0,0.6);
    box-shadow: 1px 1px 40px -18px rgba(0,0,0,0.6);
    border-radius: 20px;
}

.post-item-grid-below-image {
    padding: 0 15px 10px 15px;
    border-radius: 20px;
}


 a.featured-image-link > img {
    max-width: 100%;
    height: 230px !important;
    object-fit: cover;
    border-bottom: 1px solid #ccc;
    border-radius: 20px 20px 0 0;

}

.post-title {
    font-size: 1.25em;
    margin-top: 15px;   
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 700;
    text-transform: capitalize;
}

.post-author {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
}

.post-meta {
    display: flex;
    justify-content: start;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.post-meta span {
    margin-right: 15px;
}

.post-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1em;
    /* border-top: 1px solid #ccc; */
    padding-top: 15px;
}

.post-divider {
    margin-top: 15px;
    /* margin-bottom: 15px; */
}


.svg-icon {
    width: 15%;
}

div.post-info > a > img {
    width: 6%;
}

div.post-info > a.info-link.price{
    color: #ed2051;
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 700;
    font-size: 16px;
}

div.post-info > a > span {
    margin-bottom: 15px;
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 700;
    font-size: 14px;
}

#map {
    border-radius: 30px;
}

#map-search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1em 1em 1em 3em;
    background-color: #fff; /* change to match your theme */
    border-radius: 50px; /* rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* subtle shadow */
    margin: 1em auto;
    margin-top: 0;
    padding-bottom: 2.7vw;
    padding-top: 1.2vw;
    width: 80%; /* adjust as needed */
    /* margin-top: -11%; */
}

#rent_sale {
    padding-left: 15%;
}

#searchbar {
    margin-top: -13vw;
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;

}

#location,
#type,
#min_price,
#max_price {
    margin: 0 1em;
    display: flex;
    flex-direction: column;
    
}

select,
input[type="text"],
input[type="number"] {
    padding: 0.5em;
    border: 1px solid #ccc; /* light grey border */
    border-radius: 5px;
    margin-top: 0.5em;
}

#search-button {
    padding: 1em 1.5em;
    background-color: #ff6b6b; /* change to match your theme or image */
    color: white;
    border: none;
    border-radius: 35px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#search-button:hover {
    background-color: #ff4757; /* slightly darker on hover */
}

label {
    font-size: 0.9em;
    color: #333; /* dark grey for text */
}

/* Adjust layout on smaller screens */
@media (max-width: 768px) {
    #search_inline {
        flex-direction: column;
    }

    #rent_sale,
    #location,
    #type,
    #min_price,
    #max_price {
        margin: 0.5em 0;
    }
}

#search_inline{
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    margin-left: -6%;
    margin-top: 2%;  
}


#search-address,
#search-property-type,
#search-price-min,
#search-price-max {
    border: none;
    padding: 0;
}


.property_info_buttons {
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif; 
    border: 2px solid #4da694;
    border-radius: 20px;
    background-color: #fff;
    padding: 5px 15px;
    font-weight: 500;
    color: #4DA694;
}


.info-line2 {
    font-size: 20px !important;
    display: flex;
    justify-content: flex-start;
    font-size: 0.9em;
    margin: 5px 0;
}

.svg-icon2 {
    width: 20px;
    
}

#property-item-city1 {
    font-size: 20px !important;
}