* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    -moz-appearance: none;
    -webkit-appearance: none;
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    font-size: 16px;
}

svg {
    margin-bottom: -2px;
}

.wrapper {
    width: 100%;
    margin: 0 auto !important;
    height: auto;

}

.content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    height: auto;

}

@media (max-width:1200px) {

    .content {
        width: 96%;
    }


}

@media (max-width:700px) {

    .content {
        width: 90%;
    }
}

.image-gallery {
    margin-top: 20px !important;
}

.image-grid {
    display: grid;
    gap: 10px;

}

.image-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    border-radius: 10px;
}

.image-container {
    position: relative;
    display: inline-block;
}


@media (min-width: 768px) {

    .image-grid {
        grid-template-columns: 3fr 1fr;
        grid-template-rows: repeat(3, 1fr);
        gap: 10px;
        height: 500px;
    }

    .image-grid .image-container {
        background-color: #dddddd;
        border-radius: 8px;
        overflow: hidden;
    }

    .image-grid .image-container:nth-child(1) {
        grid-row: 1 / 4;
        grid-column: 1;
        height: 500px;

    }

    .image-grid .image-container:nth-child(2),
    .image-grid .image-container:nth-child(3),
    .image-grid .image-container:nth-child(4) {
        grid-column: 2;
        height: calc((500px - 20px) / 3);
    }

    .image-grid .image-container:nth-child(4) {
        position: relative;
    }

    .image-grid .image-container:nth-child(4)::after {
        content: "View all images";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.5);
        color: white;
        border-radius: 10px;
        z-index: 1;
        cursor: pointer;
        pointer-events: none;
        font-weight: 600;


    }

    .image-grid .image-container:nth-child(4) img {
        position: relative;
        z-index: 0;

        border-radius: 10px;
    }

    .image-grid .image-container img {
        transition: transform 0.5s ease;
    }

    .image-grid .image-container:hover img {
        transform: scale(1.05);
    }

    .image-grid .image-container:nth-child(n+5) {
        display: none;
    }

    .featured-container {
        display: flex;
        gap: 10px;
        position: absolute;
        top: 15px;
        left: 10px;
    }

    .quickinfo-priority,
    .quickinfo-sale,
    .quickinfo-category {
        padding: .18rem .56rem;
        color: #fff;
        font-size: .70rem;
        letter-spacing: .5px;
        font-weight: 600;
        text-decoration: none;
        text-transform: uppercase;
        border-radius: 20px;
    }

    .quickinfo-sale {
        background-color: rgba(216, 35, 42, 1);
    }

    .quickinfo-category {
        background-color: rgba(16, 165, 92, 1);
    }

    .quickinfo-priority {
        background: rgba(6, 0, 0, 0.9);
    }
}

@media (max-width: 767px) {
    .image-gallery {
        margin-top: 120px !important;
    }

    .image-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        position: relative;

    }

    .image-container {
        position: relative;
    }

    .image-grid .image-container:nth-child(1) {
        width: 100%;
        height: 300px;
    }


    .image-grid .image-container:nth-child(n+2) {
        width: calc(33.33% - 6.67px);
        height: 100px;
        float: left;
    }

    .image-grid .image-container:nth-child(n+5) {
        display: none;
    }

    .image-grid .image-container:nth-child(4) {
        position: relative;
    }

    .image-grid .image-container:nth-child(4)::after {
        content: "View all images";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.5);
        color: white;
        border-radius: 10px;
        z-index: 1;
        cursor: pointer;
        pointer-events: none;
        font-weight: 600;
        font-size: 14px;
        text-align: center;
    }

    .image-grid .image-container:nth-child(4) img {
        position: relative;
        z-index: 0;
        /* Ensure the image is below the text overlay */
        border-radius: 10px;
    }

    .featured-container {
        display: flex;
        gap: 10px;
        position: absolute;
        bottom: 15px;
        left: 10px;
    }

    .quickinfo-priority,
    .quickinfo-sale,
    .quickinfo-category {
        padding: .18rem .56rem;
        color: #fff;
        font-size: .70rem;
        letter-spacing: .5px;
        font-weight: 600;
        text-decoration: none;
        text-transform: uppercase;
        border-radius: 20px;
    }

    .quickinfo-sale {
        background-color: rgba(216, 35, 42, 1);
    }

    .quickinfo-category {
        background-color: rgba(16, 165, 92, 1);
    }

    .quickinfo-priority {
        background: rgba(6, 0, 0, 0.9);
    }
}

svg {
    margin-bottom: -2px !important;
}

hr,
.devider {
    border: 0;
    height: 0;
    border-top: solid 1px rgba(0, 0, 0, 0.1);
    border-bottom: solid 1px rgba(255, 255, 255, 0.3);
    clear: both;
}

.devider {
    margin: 40px 0;
}

.details-section {
    display: grid;
    grid-template-columns: 73% 25%;
    gap: 2%;
    width: 100%;
    height: auto;
    box-sizing: border-box;
}

@media (max-width: 1025px) {
    .details-section {
        grid-template-columns: 100%;
    }
}



.property-details,
.section-right {
    width: 100%;
    /* Ensure children take full width of their grid cell */
}

.ad-title2 {
    display: block !important;
}

.ad-title2 h1 {
    margin: 25px 0 15px 0;
    font-weight: 600;
    font-size: 26px;
    color: #222;
}

h2 {
    margin: 20px 0;
    font-size: 20px;
    font-weight: 600;
    color: #222;
}

.location-container p {
    margin: 15px 0;
    color: #222;
}

.location-container .address-section {
    width: 50%;
    float: left;

}


.location-container .price-section {
    width: 50%;
    float: right;

}

.location-container .price-section span {
    color: #676767;


}

.location-container .price-section table {
    margin: 15px 0 0 0;
    color: #222;
    font-weight: 600;
    font-size: 18px;


}

.location-container .price-section table td:nth-child(4),
.location-container .price-section table td:nth-child(2) {
    padding-left: 20px;
}

.business-hours-data2 table tr td {
    text-align: left;
    font-weight: 600;
    line-height: 28px;
    text-transform: capitalize;
    width: auto;

}

.business-hours-data2 tr td:nth-child(2),
.business-hours-data2 tr td:nth-child(4) {
    padding-left: 20px;
}

@media (max-width:660px) {
    .location-container .address-section {
        width: 100%;
        float: left;

    }

    .location-container .price-section {
        width: 10%;
        float: left;
        text-align: left;
    }


    .location-container p {
        text-align: left !important;
    }
}

.location-container p {
    text-align: right;
    font-weight: 600;
    font-size: 18px;
}

.location-container .address-section p:first-child {
    text-align: left;

}

.location-container p span,
.location-container .price-section p span {
    font-weight: 400;
    font-size: 16px;
    color: #676767;
}

.quickinfo-container {
    display: block;
    margin: 25px 0;

}

.quickinfo-container p {
    float: left;
    font-size: 15px;
    color: #676767;
    margin: 10px 0;

}

.quickinfo-container p span {

    margin: 0 20px 0 5px;
    font-weight: 400;
}

.quickinfo-container .quickinfo-left {
    width: 55%;
    float: left;

}

.quickinfo-container .quickinfo-right {
    width: 45%;
    float: right;


}

@media (max-width: 660px) {
    .quickinfo-container .quickinfo-left {
        width: 100%;
        float: left;

    }

    .quickinfo-container .quickinfo-right {
        width: 100%;
        float: left;


    }

    .quickinfo-container .quickinfo-right p {
        float: left !important;
        margin: 10px 10px 10px 0 !important;
    }
}



.content-table {
    margin: 10px 0;
    clear: both;

    width: 100%;
}

.left {
    clear: both;
    width: 30%;
    float: left;
    height: auto;
}

.left .left-data {
    border-right: 1px solid #fafafa;
}

.left-data {
    height: 45px;
    padding-left: 5%;
    font-size: 15px;
    font-weight: 700;
    color: #232425;
    line-height: 45px;
    width: 40%;
    float: left;
    background: #fafafa;
    border: 1px solid #ccc;
    border-bottom: 1px solid #fafafa;
    border-right: 1px solid #fafafa;
}

.radius1 {
    border-top-left-radius: 10px;
}

.radius2 {
    border-top-right-radius: 10px;
}

.radius5 {
    border-bottom-left-radius: 10px;
}

.radius4 {
    border-bottom-right-radius: 10px;
}

.right-data {
    height: 45px;
    padding-left: 5%;
    font-size: 15px;
    color: #333;
    line-height: 45px;
    width: 60%;
    float: left;
    background: white;
    border: 1px solid #ccc;
    border-bottom: 1px solid #fafafa;
    text-transform: capitalize;
}

.right {
    width: 70%;
    float: left;
    height: auto;
}

.right .right-data {
    border-right: 1px solid #ccc;
}

.left .right-data {
    border-right: 1px solid #fafafa;
}

.bbottom {
    border-bottom: 1px solid #ccc;
}

@media only screen and (max-width:725px) {
    .left {
        width: 100%;
    }

    .right {
        width: 100%;
    }

    .left-data {
        padding: 0;
        background: white;
    }

    .radius1 {
        border-top-left-radius: 0;
    }

    .radius2 {
        border-top-right-radius: 0;
    }

    .radius3 {
        border-bottom-left-radius: 0;
    }

    .radius4 {
        border-bottom-right-radius: 0;
    }

    .left .left-data {
        border-left: 1px solid white;
    }

    .right .left-data {
        border-left: 1px solid white;
    }

    .right .right-data {
        border-right: 1px solid white;
    }

    .left .right-data {
        border-right: 1px solid white;
    }

    .left .bbottom {
        border-bottom: none;
    }
}

/* quick content table ends*/

.socials table {
    color: #232425;
    margin-top: 30px;
}

.socials table tr td {
    text-align: left;
    font-weight: 600;
    line-height: 28px;
    width: auto;
}

.faq-ans {
    color: #333;
}

.faq-ans strong {
    font-weight: 500;
    text-decoration: underline;
}

@media only screen and (max-width:400px) {
    .socials table tr .socials_links {
        max-width: 250px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

.socials table tr td a {
    text-decoration: none;
    color: #1879f2;
}

.socials table tr td:nth-child(2) {
    padding-left: 20px;
    font-weight: 400;
    color: #333;
}

.socials tr td:nth-child(4) {
    padding-left: 20px;
}

/*social links ends*/
.grid-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 5px;


}

@media (max-width: 660px) {
    .grid-container {
        grid-template-columns: repeat(3, 1fr);
        /* Three columns for mobile screens */
    }
}

.grid-item-overview {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 5px;

}



.grid-item-overview p {
    font-size: 16px;
    color: #222;
    font-weight: 600;
    margin-top: 10px;
    float: left;
    text-align: center;
}

.grid-item-overview p span {
    font-weight: 400;
    color: #676767;
    line-height: 24px;
    font-size: 14px;
    text-transform: lowercase;
}

.about p {
    font-size: 16px;
    line-height: 24px;
    color: #222222 !important;
    margin: 30px 0 0 0 !important;

}



a {
    color: #007BFF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.card {
    display: flex;
    align-items: center;
    border: 1px solid #d7d7d7;
    border-radius: 10px;
    padding: 10px 15px;
    max-width: 400px;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
}

.profile-pic {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    margin-right: 15px;
}

.info {
    flex: 1;
}

.info h3 {
    margin: 0;
    font-size: 1em;
    color: #222;
}

.info p {
    margin: 5px 0;
    color: #676767;
    font-size: 13px;
    font-weight: 400;
}

.info p span {
    font-weight: 400;
}

.contact-info {
    color: #D8232A;
    text-decoration: none;
    font-weight: 600;
}

.contact-info:hover {
    text-decoration: underline;
}

#map,
.map-container {
    height: 400px;
    width: 100%;
    margin: 0;
    padding: 0
}


#myBtn {
    display: none;
    position: fixed;
    margin: 9px 0 0;
    z-index: 99;
    font-size: 15px;
    border: none;
    outline: none;
    background-color: #D8232A;
    border: 1px solid #D8232A;
    color: #fff;
    cursor: pointer;
    padding: 5px 5px 2px 5px;
    border-radius: 4px;
    font-weight: 500;
}

#myBtn:hover {
    background-color: #555
}

.section-right {

    height: auto;
    float: right;
    margin-top: 50px;
    border-radius: 5px;

}

.section-right .sideform {
    border: 1px solid #d7d7d7;
    border-radius: 10px;
    /* box-shadow: 0 0 5px 0 rgb(0 0 0 / 15%);
    transition: all .3s cubic-bezier(.25, .8, .25, 1);*/
    padding: 5%;
    width: 100%;
    float: right !important;
    margin: 15px 0 30px 0;
}


.send-message-head {
    margin: 0 0;
}

.section-right .user-image {
    width: 100%;
    clear: both
}

.user-image {
    height: 60px;
    margin-top: 15px
}

.user-image .user-left {
    width: auto;
    float: left;
    height: 50px;
    margin-right: 15px
}

.user-image .user-left img {
    height: 50px;
    width: 50px;
    border-radius: 100%
}

.user-image .user-right {
    float: left
}

.user-image .user-right p {
    font-weight: 500;
    line-height: 25px;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.user-image .user-right p a {
    text-decoration: none;
    color: #1879f2;
    font-weight: 500
}

.modal-content input {
    height: 40px;
    width: 100%;
    border-radius: 4px;
    margin: 0 0 10px 0;
    border: 1px solid #d7d7d7;
    padding: 0 10px;
    font-weight: 500;
}

.modal-content textarea {
    height: 100px;
    width: 100%;
    border-radius: 4px;
    margin: 0 0 10px 0;
    border: 1px solid #d7d7d7;
    padding: 0 10px;
    font-weight: 500;
}


.modal-content input[type=text]:focus::-webkit-input-placeholder,
.modal-content input[type=number]:focus::-webkit-input-placeholder,
.modal-content input[type=email]:focus::-webkit-input-placeholder {
    transition: opacity .45s ease;
    opacity: 0
}

.modal-content input:focus::placeholder {
    transition: opacity .45s ease;
    opacity: 0
}

.modal-content textarea:focus::placeholder {
    transition: opacity .45s ease;
    opacity: 0
}

.modal-content input:focus,
.modal-content input:focus,
.modal-content input:focus {
    border: 1px solid #2D8EFF;
    height: 40px;
    outline: none
}

.modal-content textarea:focus {
    border: 1px solid #2D8EFF;

    outline: none
}

.modal-content .btn_success {
    width: 100%;
    background: #D8232A;
    border: none;
    border-radius: 4px;
    height: 40px;
    font-weight: 600;
    font-size: 16px;
    color: white;
}

.modal-content .termsof {
    font-size: 12px;
    margin-top: 5px;
}


#messageupload {
    margin-bottom: 5px;
}

/*message box popup*/
.modal-close {
    color: #777;
    line-height: 70px;
    font-size: 20px;
    position: absolute;
    right: -12px;
    text-align: center;
    top: -12px;
    width: 70px;
    text-decoration: none
}

.modal-close:hover {
    color: #000
}

.close {
    color: #aaaaaa;

    font-size: 28px;
    font-weight: bold;
    display: none;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

#login_modal,
#call_button {
    display: none;
}

.req {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

@media only screen and (max-width:1024px) {

    .login_modal {
        display: none;
        position: fixed;
        z-index: 99;

        left: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgb(0, 0, 0);
        background-color: rgba(0, 0, 0, 0.4);
    }




    .close {
        padding: 10px;
        font-size: 38px;
        font-weight: bold;
        display: block;
    }

    #call_button {
        display: block;
        font-size: 15px;
        border: 1px solid #ccc;
        color: #222;
        cursor: pointer;
        padding: 7px 5px;
        border-radius: 3px;
        float: left;
        margin: 9px 0 0 0;
        font-weight: 600;
        text-decoration: none;
        width: 40%;
        text-align: center;
        background: #fafafa;
    }

    #login_modal {
        display: block;
        font-size: 15px;
        border: none;
        outline: none;
        background: #D8232A;
        border: 1px solid #D8232A;
        color: #fff;
        cursor: pointer;
        padding: 7px 5px;
        border-radius: 3px;
        float: left;
        margin: 9px 0 0 20px;
        font-weight: 600;
        width: 40%;
        text-align: center;
    }

    .bottom_bar {

        display: block;
        position: fixed;
        padding: 0 5%;
        bottom: 0px;
        right: 0px;
        z-index: 10;
        font-size: 12px;
        border: none;
        outline: none;
        background-color: floralwhite;
        color: #fff;
        cursor: pointer;
        width: 100%;
        height: 60px;
        box-shadow: 0 0 5px 0 rgb(0 0 0 / 15%);
    }

    #myBtn {
        display: block;
        float: right;
        position: relative;

    }
}

@media (min-width:500px) and (max-width:1024px) {
    .login_modal_content {

        width: 400px;
        position: absolute;
        top: 50%;
        border: none;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 2em;
        background: #fff;

    }

    .section-right .sideform {
        border: 0;
        border-radius: 0px;
        padding: 2%;
        width: 100%;
        float: right !important;
        margin: 0;
    }
}

@media (max-width:500px) {

    .section-right .sideform {
        border: 0;
        border-radius: 0px;
        padding: 2%;
        width: 100%;
        float: right !important;
        margin: 0;
    }


    .login_modal_content {

        width: 100%;
        position: absolute;
        bottom: 0;
        left: 0;
        transform: translate(0%, 0%);
        padding: 2em;
        background: #fff;
        border: none;
        z-index: 99;


    }

}

.grid-thirds {
    display: grid;
    grid: auto 1fr auto/repeat(4, 1fr);
    grid-gap: 1vw;
    grid-row-gap: 3vw;
    margin: 0 !important;

}

.grid-thirds a {
    text-decoration: none;
    display: block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    height: 315px;
    border-width: 1px;
    border-color: #f5f5f5;
    box-shadow: 0 0 5px 0 rgb(0 0 0 / 15%);
    transition: all .3s cubic-bezier(.25, .8, .25, 1);
    border-radius: 4px;
}

.grid-thirds a:hover .title {
    color: #093772;
}

.fa-external-link {
    color: #093772;
}

.grid-thirds .grid-item {
    color: #333;
    overflow: hidden;
}

.grid-thirds a:hover {
    -webkit-box-shadow: 0 0 7px 0 rgb(0 0 0 / 35%);
    -moz-box-shadow: 0 0 7px 0 rgb(0 0 0 / 35%);
    -ms-box-shadow: 0 0 7px 0 rgb(0 0 0 / 35%);
    -o-box-shadow: 0 0 7px 0 rgb(0 0 0 / 35%);
    border-color: #ccc;
    box-shadow: 0 0 7px 0 rgb(0 0 0 / 35%);
}



.grid-thirds .grid-item .image {
    position: relative;
    display: block;
    width: 100%;
    height: 200px;
    margin: 0 auto !important;
}

.grid-thirds .grid-item .image img {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 100%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
    min-height: 200px;
    object-fit: cover;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.grid-item .loc {
    height: auto;
    width: auto;
    background: #093772;
    position: absolute;
    top: 10px;
    left: 0;
    border-radius: 0 2px 2px 0;
    float: left;
    padding: 3px 4px 3px 3px;
    color: #fff;
    font-size: 13px;
    font-family: 'Libre Franklin', sans-serif;
    letter-spacing: .5px;
    font-weight: 500;
    text-decoration: none;
    text-transform: capitalize;
}

.grid-item .premium {
    background: #093772;
    height: auto;
    width: auto;
    text-transform: capitalize;
    position: absolute;
    top: 10px;
    right: 0;
    border-radius: 2px 0 0 2px;
    float: left;
    padding: 2px 4px 3px 5px;
    color: #fff;
    font-size: 13px;
    font-family: 'Libre Franklin', sans-serif;
    letter-spacing: .5px;
    font-weight: 500;
}

.grid-item .basic {
    background: #2E7E36;
    height: auto;
    width: auto;
    text-transform: capitalize;
    position: absolute;
    top: 10px;
    right: 0;
    border-radius: 2px 0 0 2px;
    float: left;
    padding: 2px 4px 3px 5px;
    color: #fff;
    font-size: 13px;
    font-family: 'Libre Franklin', sans-serif;
    letter-spacing: .5px;
    font-weight: 500;
}

.grid-item .featured {
    background: #E96727;
    height: auto;
    width: auto;
    text-transform: capitalize;
    position: absolute;
    top: 10px;
    right: 0;
    border-radius: 2px 0 0 2px;
    float: left;
    padding: 2px 4px 3px 5px;
    color: #fff;
    font-size: 13px;
    font-family: 'Libre Franklin', sans-serif;
    letter-spacing: .5px;
    font-weight: 500;
}

.grid-item .sold {
    position: absolute;
    font-size: 14px;
    line-height: 20px;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: 500;
    text-transform: capitalize;
    background: red;
    padding: 0 5px 0 5px;
    border-radius: 3px;
}


.grid-item .title {
    text-align: left;
    font-size: 18px;
    color: #111;
    text-decoration: none;
    font-weight: 600;
    margin-top: 12px;
    margin-bottom: 7px;
    line-height: 16px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.grid-item .title:first-letter {
    text-transform: capitalize;
    padding-left: 15px;
}

.grid-item .title span {
    float: right;
    padding: 0 10px;
}

.grid-item .land {
    font-size: 14px;
    color: #333;
    font-weight: 400;
    text-align: left;
    line-height: 22px;
    padding-left: 15px;
    text-decoration: none;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}



.grid-item .land span {
    padding-right: 3%;
    font-weight: 400;
}

.grid-item .road {
    font-size: 12px;
    color: #333;
    font-weight: 400;
    text-align: left;
    line-height: 22px;
    padding-left: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    text-transform: capitalize;

}



.grid-item .seller {
    font-size: 10px;
    color: #999999;
    line-height: 22px;
    padding-left: 15px;
    font-weight: 400;
    text-transform: capitalize;
}

.grid-item .seller a {
    text-decoration: none;
    color: #555555;
}

.vr {
    color: #ccc !important
}

@media screen and (max-width: 900px) {
    .grid-thirds {
        grid: auto 1fr auto/repeat(3, 1fr);
        grid-gap: 2vw;
        grid-row-gap: 3vw;
    }
}

@media screen and (max-width: 700px) {
    .grid-thirds {
        grid: auto 1fr auto/repeat(2, 1fr);
        grid-gap: 2vw;
        grid-row-gap: 6vw;
    }
}

@media screen and (max-width: 480px) {
    .grid-thirds {
        grid: auto 1fr auto/repeat(1, 1fr);
        grid-gap: 3vw;
        grid-row-gap: 6vw;
    }

    .ad-holder {
        height: auto;
    }
}


/*message box popup ends*/
/*similar listing blog style*/

.market-right {
    display: flex;
    flex-wrap: wrap;
    width: 100%
}

.market-right .small-grids .sg-title .sg-head:hover {
    color: #D8232A;

}

.market-right .small-grids {
    width: 100%;
    overflow: hidden;
    height: 85px;
    flex: wrap;
    margin: 0 0 20px 0;
}

.market-right .small-grids a {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    line-height: 18px;
    text-decoration: none;

    border-radius: 8px;

}

.small-grids .sg-image {
    width: 30%;
    margin-right: 4%;
    height: auto;
    float: left
}

.small-grids .sg-image img {
    width: 100%;
    height: 85px;
    object-fit: cover;
    border-radius: 8px;
}

.small-grids .sg-title .sg-head {

    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}





.sg-title .time {
    font-size: 13px;
    line-height: 22px;
    color: #222222;
    font-weight: 700;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

}

.sg-title .time span {
    font-weight: 500;
    color: #676767;

}

.sg-title .time .dot {

    color: #222;

}

@media only screen and (max-width:1025px) {
    .market-right .small-grids {
        width: 49%;
        margin-right: 1%;
    }
}

@media only screen and (max-width:750px) {
    .market-right .small-grids {
        width: 100%
    }
}

/*similar properties blog style ends*/
