@media only screen and (min-width: 320px) and (max-width: 991px) {
    a.closebtn {
        display: block !important;
    }

    .dogleclick {
        display: block;
        position: absolute;
        right: 22px;
        margin-top: -25px;
    }

    .sidenav {
        height: 100%;
        width: 0;
        position: fixed;
        z-index: 1;
        top: 0;
        left: 0;
        background-color: #f1ad53;
        overflow-x: hidden;
        transition: 0.5s;
        padding-top: 67px;
    }

    .sidenav a {
        padding: 8px 8px 8px 20px;
        text-decoration: none;
        font-size: 15px;
        color: #000;
        display: block;
        transition: 0.3s;
        text-align: left;
    }

    .sidenav a:hover {
        color: #f1f1f1;
    }

    .sidenav .closebtn {
        position: absolute;
        top: 0;
        right: 25px;
        font-size: 36px;
        margin-left: 50px;
    }

    .about_left_content {
        padding: 50px 10px 70px 10px;
    }

    .about_content_img {
        margin-left: 0px;
        margin-top: -30px;
    }

    /*  dropdown  */

    ul#buyDropboxMobile {
        left: 20px;
        top: 140px;
    }

    ul#rentDropboxMobile {
        left: 20px;
        top: 180px;
    }

    svg#HomeDrowdownIcon {
        display: none !important;
    }

    /*  Article Header  */
.article-header ul#articleDropmenu {
    flex-direction: column;
    display: none; 
    position: absolute;
    width: max-content;
    background-color: #fff;
    padding: 5px 0px;
    border-radius: 5px;
    box-shadow: 0px 0px 5px #00000020;
    z-index: 2;
    top: 25px;
    left: 0px;
}

.rotate-icon {
    transform: rotate(180deg);
}

#dropdown-icon {
    transition: all 0.3s ease;
}

.article-header ul#articleDropmenu li {
    padding: 5px 10px;
}

.article-header a#articleDropdown {
    padding: 0;
}

.article-header ul#articleDropmenu li:hover {
    background-color: #f1ad53;
}

    /*  home page  */
   .latest_box .nav-tabs .nav-link, 
   .latest_box .nav-tabs .nav-link.active, 
   .latest_btn a.active, .latest_btn a {
        padding: 7px 14px;
        font-size: 12px;
    }

/*  Buy  */
    .buy_page .property_content {
        width: 100%;
        box-shadow: 0px -10px 5px -5px #00000030;
        overflow: hidden;
    }

    .buy_page div#map {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}

.buy_page h2 {
    font-size: 20px;
}

.buy_page {
    height: 100%;
}

.container-property {
    width: 90%;
}

html:has(.buy_page), body:has(.buy_page) {
    height: auto;
}

.partner-section ul li {
    margin-left: 0px;
}


}

@media only screen and (min-width: 320px) and (max-width: 767px) {

    .loan_table table thead th:first-child,
    .loan_table table tbody td:first-child {
        padding-left: 15px;
    }

    .top_banner .formbox {
    padding: 10px;
    height: auto;
}

    .sticky {
        top: 0px;
    }

    .desktop_header {
        display: none;
    }

    .mobile_header {
        display: block;
    }

    .logo img {
        max-width: 75px;
    }

    /*.top_bannerarea {
        min-height: 600px;
    }*/

    .rates_section .rates-slide span{
        font-size: 22px;
    }

    .build_bussenss p,
    .most_calculator h4,
    .agent_details h2,
    .price_history tr th,
    .provertise_box .card-body h5.card-title,
    .rates_section .rates-slide p {
        font-size: 18px;
    }
    .create_profile .mycreate_profile button,
    .my_profile .myprofile button,
    .login_user .model_colright,
    .login_user .model_colleft.text-center, 
    .successfull .modal-body p,
    .footer_area p.logo_describ,
    .descover_box .card {
        width: 100%;
    }

    .descover_box .card {
        aspect-ratio: unset;
    }

    .descover_box .nav-tabs .nav-link {
        padding: 10px 18px;
        font-size: 16px;
    }

    .descover_box .card {
        padding: 25px;
    }

    .latest_btn a.active,
    .latest_btn a {
        padding: 7px 15px;
    }

  

    .footer_input input {
        padding: 12px 15px;
    }

    .logo-sticky img {
        max-width: 70px;
    }

    .login_user .model_colleft.text-center {
        padding-right: 0px;
    }

    .login_user .model_colright {
        padding-left: 0;
        padding-right: 0;
        padding-top: 20px;
    }
    .most_calculator .accordion-item h3,
    .blog_box .bolgscol .card-body h5,
    .latest_blog .blog_content h3,
    .contact_agent .client_price p,
    .login_user .loginbox label,
    .login_user button.login-button,
    .facts_features .fact_details h6,
    .faq_box .accordion-button,
    section.sell_offset_box .card h3,
    section.sell_article-box .card .card-body h5 {
        font-size: 16px;
    }

    .forget_pass .modal-body h2, .verify_otp .modal-body h2, .login_user .login_form h2, .build-business h2 {
        font-size: 30px;
    }
    .successfull .modal-body p,
    .latest_blog p,
    .price_history td p,
    .price_history td p a,
    .login_user .footer_login p,
    .login_user .login_logo p,
    .login_user .loginbox p,
    .price_history tr td,
    .common_terms_box .terms_slide p {
        font-size: 15px;
    }

    .login_user .modal-content {
        padding: 30px 30px;
        background: linear-gradient(to bottom, #fffcf8 48%, #ffffff 48%);
    }

    .login_user .footer_login {
        position: unset;
    }

    .login_logo img {
        max-width: 300px;
    }

    .contact_agent .beds_box strong,
    .contact_agent .client_price h3,
    .most_calculator h2,
    .facts_features h3,
    .special_box h1,
    .latest_blog h1,
    .build_bussenss h2,
    .inquiry_form h2,
    .agents_lists h1,
    .visit_office h2,
    .mortgage-box h2,
    .rates_section h2,
    .loan_table_section h2,
    .contact_form h1,
    .help_info h1,
    .blog_box h2,
    .descover_box h2,
    .sell_guide-box h2,
    .sell_find-out-box h2,
    .sell_article-box h2,
    .about_content_title,
    .testinomial_title,
    .offices_loc_title,
    h2#swal2-title,
    .brand-position h2,
    .connect_box h2,
    .partner-section h  {
        font-size: 28px;
    }

    .property_sale .latest_btn {
        margin-top: 10px;
    }
    .advertise_banner,
    .help_banner,
    .rent_banner,
    .buy_banner {
        min-height: 350px;
    }

    .advertise_banner h1, .rent_banner h1, .buy_banner h1 {
        font-size: 38px;
    }

    .agent_details li {
        font-size: 14px;
        line-height: 35px;
    }
    .breadcrumb-item.active,
    .breadchamp a,
    .most_calculator .accordion-item .accordion-body input::placeholder,
    .most_calculator .accordion-item .accordion-body input,
    .help_colordbtn a,
    .breadchamp h6,
    .visit_office .details_contact p,
    .mortgage-box .details_contact p,
    .contact_formdetails label,
    .create_account .google_sigin,
    .property_tour .sedule_property label,
    .get_touch form label,
    .get_touch form .form-check label,
    .faq_box .accordion-body,
    .latest_blog h5,
    div#swal2-html-container {
        font-size: 14px;
    }

    .contact_form .contact_formdetails {
        padding: 30px;
        margin-top: 50px;
    }
    .my_profile .myprofile h6,
    .latest_blog .main_blog h3,
    .contact_form .contact_formdetails h3,
    .property_tour .sedule_property h2,
    .get_touch form h3,
    .common_terms_box .terms_slide h4 {
        font-size: 20px;
    }

    .contact_banner img {
        min-height: 250px;
        object-fit: cover;
    }

    .help_banner .help_group button.btn {
        padding: 12px 10px;
        font-size: 16px;
        width: 85px;
    }

    .help_banner .help_group i {
        margin-top: -10px;
        margin-right: -35px;
    }

    .help_banner .help_group input {
        padding: 20px;
        height: 50px;
    }

    .help_btns a,
    .help_btns a:hover {
        padding: 10px 8px;
        font-size: 14px !important;
    }

    .get_touch form {
        border-radius: 10px 10px 0px 0px;
        padding: 20px;
    }

    .get_touch img {
        border-radius: 0px 0px 10px 10px;
    }

    .home_gallary .main-photo a img {
/*        min-height: 330px;*/
        border-radius: 10px 10px 0px 0px;
    }

    .home_gallary .sub .img-box:nth-child(2) img {
        border-radius: 0px 0px 0px 0px;
    }

    .home_gallary .photos-grid-container .transparent-box, .home_gallary .sub .img-box:nth-child(4) img, .home_gallary .sub .img-box:nth-child(3) img {
        border-radius: 0px 0px 10px 10px
    }

    .home_gallary .photos-grid-container .sub {
        grid-template-columns: 1fr 1fr;
    }

    .home_gallary .photos-grid-container {
        grid-template-columns: 1fr;
    }
    .my_profile .myprofile,
    .help_group,
    .facts_features .agent_details.fact_details h2 {
        max-width: 100%;
    }

    .help_group {
        margin-left: 5px;
    }

    .home_varity h2,
    footer .footer-text {
        font-size: 25px;
    }

    .price_history table.table {
        display: inline-block;
    }

    .most_calculator p {
        text-align: justify;
    }

    .glightbox-clean .gnext,
    .glightbox-clean .gprev {
        top: 45% !important;
    }
    .inquiry_form form button {
        width: 45%;
        }

.footer_input span.input-group-append button {
    margin-top: 6px;
}
.forget_pass .modal-content, .verify_otp .modal-content {
    padding: 30px;
    margin: 10px;
}
.verify_otp form input {
    width: 40px;
    height: 40px;
}
.my_profile .myprofile {
    padding: 35px 25px;
}
/* blog page */
.blogs_banner, .faq_banner {
    height: 350px;
}
.true_value h1, .advertise_banner h1, .rent_banner h1, .buy_banner h1, .blogs_banner h1, .faq_banner h1 {
    font-size: 34px;
}
section.singlepost_box  {
    padding: 50px 0;
}

/* single blog page */
p.blog_content, .post_box_left .postinfo_title {
    font-size: 14px;
    line-height: 22px;
}
.post_box_left .postinfo_date {
    font-size: 16px;
}
.post_box_left h3.post_title {
    font-size: 18px;
    line-height: 24px;
}
.post_content {
    font-size: 14px;
    line-height: 24px;
}
.post_box_right h4 {
    font-size: 20px;
}
.post_box_right .relatepost_title {
    font-size: 13px;
    line-height: 18px;
}

/* terms and services */
.terms_wrap {
    padding: 50px 0;
}
.terms_box h3.terms_title {
    font-size: 20px;
    line-height: 30px;
}
.terms_box p.terms_content, .terms_box .terms_list li {
    font-size: 14px;
    line-height: 25px;
}
.faq_wraper {
    padding: 50px 0;
}
/*  Single Property  */
    .property_tour img {
        border-radius: 10px 10px 0 0;
    }

    .property_tour .tour_schedule {
        border-radius: 0px 0px 10px 10px;
        margin: 0 12px;
        width: calc(100% - 24px);
    }

    .property_tour .sedule_property {
        padding: 20px;
    }

    .home_gallary .photos-grid-container .img-box {
        border: 4px solid #ffffff;
    }

    .special_box #map {
        aspect-ratio: 2/1;
    }

    section.sell_offset_box .card img {
        width: 100px;
    }

    .locations_content .nav-link {
        font-size: 12px;
        padding: 6px 10px;
    }
    ul#ui-id-1 {
        top: 340px !important;
    }

    .video-section .title-box h2 {
        font-size: 25px;
    }

    .video-section .title-box svg {
        width: 50px;
        height: 50px;
    }

    .video-section .title-box {
        gap: 10px;
    }

    section#myHeader.sticky ~ .top_banner {
        margin-top: 50px;
    }

}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .desktop_header {
        display: none;
    }

    .mobile_header {
        display: block;
    }

    .logo-sticky img {
        max-width: 90px;
    }

    .home_gallary .main-photo a img {
/*        min-height: 239px;*/
    }

    .get_touch form {
        border-radius: 15px 15px 0px 0px;
        padding: 35px;
    }

    .get_touch img {
        border-radius: 0px 0px 15px 15px;
    }

    .facts_features .agent_details.fact_details h2 {
        max-width: 55%;
    }

/*    .property_sale .latest_btn {
        transform: translateY(-15px);
    }*/

    .home_varity .nearby_homes.slick-dotted.slick-slider {
        margin-bottom: 0;
    }
    .build_bussenss .card h5 {
        width: 80%;
    }
 
    ul#ui-id-1 {
        top: 360px !important;
    }


}

@media only screen and (min-width: 992px) and (max-width: 1024px) {
    .home_gallary .main-photo a img {
/*        min-height: 325px;*/
    }
    .build_bussenss .card h5 {
        width: 85%;
    }
    .post_box_right .relatepost_title {
        font-size: 14px;
        line-height: 20px;
    }

    .search_map .location_box select, .search_map input {
        font-size: 12px;
        padding: 12px;
    }

}


@media only screen and (min-width: 1025px) and (max-width: 1200px) {

    .search_map .location_box select, .search_map input {
        font-size: 13px;
        padding: 10px;
    }
}



@media only screen and (min-width: 768px) and (max-width: 1024px) {
    /*.top_bannerarea {
        min-height: 550px;
    }
*/
    .home_varity h2,
    .provertise_box h1 {
        font-size: 26px;
    }

    .price_history tr td,
    .most_calculator .accordion-item h3,
    .price_history tr th,
    .contact_form .contact_formdetails h3,
    .provertise_box .card-body h5.card-title {
        font-size: 20px;
    }

    .blog_box .bolgscol .date_box {
        top: 175px;
        right: 30px;
        padding: 8px !important;
        width: 65px;
        height: 65px;
    }
    .latest_blog .blog_content h3,
    .help_btns a,
    .help_btns a:hover,
    .login_user button.login-button,
    .descover_box .card-body h5,
    .descover_box .nav-tabs .nav-link,
    .blog_box .bolgscol .card-body h5 {
        font-size: 16px;
    }

    .contact_agent .beds_box strong,
    .contact_agent .client_price h3,
    .most_calculator h2,
    .facts_features h3,
    .special_box h1,
    .latest_blog h1,
    .build_bussenss h2,
    .inquiry_form h2,
    .agents_lists h1,
    .visit_office h2,
    .mortgage-box h2,
    .rates_section h2,
    .loan_table_section h2,
    .contact_form h1,
    .help_info h1,
    .blog_box h2,
    .descover_box h2,
    .sell_guide-box h2,
    .sell_find-out-box h2,
    .sell_article-box h2,
    .about_content_title,
    .testinomial_title,
    .offices_loc_title,
    h2#swal2-title,
    .brand-position h2,
    .connect_box h2,
    .partner-section h  {
        font-size: 32px;
    }

    .visit_office .details_contact {
        padding: 30px 20px;
    }

    .descover_box .card {
        padding: 30px 25px;
/*        min-height: 480px;*/
        width: 31%;
    }

    .descover_box .card-body a {
        font-size: 13px;
    }

    .login_user .modal-content {
        background: linear-gradient(to right, #fffcf8 44%, #ffffff 44%);
        padding: 40px 40px;
    }

    .login_user .model_colright {
        padding-left: 28px;
        padding-right: 0px;
    }
    .forget_pass .modal-body p, .verify_otp .modal-body p,
    .visit_office .details_contact p,
    .mortgage-box .details_contact p,
    .login_user .footer_login p,
    .login_user .login_logo p,
    .login_user .loginbox p {
        font-size: 15px;
    }

    .forget_pass .modal-body h2, .verify_otp .modal-body h2, .login_user .login_form h2, .build-business h2 {
        font-size: 30px;
    }
    .advertise_banner,
    .rent_banner,
    .buy_banner {
        min-height: 400px;
    }
    .advertise_banner h1,
    .rent_banner h1,
    .buy_banner h1 {
        font-size: 44px;
    }
    .help_colordbtn a,
    .related_blog button,
    .contact_agent .client_price p,
    .most_calculator h4,
    .build_bussenss p,
    .agent_details h2 {
        font-size: 18px;
    }

    .agent_details li {
        font-size: 16px;
        line-height: 35px;
        padding-bottom: 10px;
    }

    .create_account .google_sigin,
    .latest_blog h5 {
        font-size: 14px;
    }

    .contact_form p,
    .login_user .login_form .loginbox p {
        width: 100%;
    }

    .contact_banner img {
        min-height: 300px;
        object-fit: cover;
    }

    .contact_form .contact_formdetails {
        padding: 40px 30px;
        margin-top: -150px;
    }
    .forget_pass .modal-content, .verify_otp .modal-content {
        padding: 30px;
    }
     /* blog page */
     .blogs_banner, .faq_banner {
        height: 400px;
    }
    .true_value h1, .advertise_banner h1, .rent_banner h1, .buy_banner h1, .blogs_banner h1, .faq_banner h1 {
        font-size: 38px;
    }
       /* single blog page */
       section.singlepost_box {
        padding: 60px 0;
    }
    .post_box_left h3.post_title {
        font-size: 24px;
    }
    .post_box_right h4 {
        font-size: 22px;
    }
    .post_box_left {
        margin-bottom: 50px;
    }
 
    /* terms page */
    .terms_wrap {
        padding: 60px 0;
    }
    .terms_box h3.terms_title {
        font-size: 22px;
        line-height: 42px;
    }
    .terms_box p.terms_content, .terms_box .terms_list li {
        font-size: 15px;
        line-height: 25px;
    }
    .faq_wraper {
        padding: 60px 0;
    }

    .video-section .title-box h2 {
        font-size: 45px;
    }

}

@media only screen and (min-width: 1025px) and (max-width: 1400px) {
    .descover_box .card {
        padding: 30px;
        width: 31.6%;
    }

    /*.top_bannerarea {
        min-height: 600px;
    }*/

    .contact_form .contact_formdetails {
        margin-top: -220px;
    }
       /* single post page */
       .post_box_left h3.post_title {
        font-size: 26px;
        line-height: 38px;
    }
    .post_box_right .relatepost_title {
        font-size: 14px;
        line-height: 20px;
    }
    .post_box_right h4 {
        font-size: 24px;
    }
    /*Terms and service  */
    .blogs_banner, .faq_banner {
        height: 400px;
    }
    .true_value h1, .advertise_banner h1, .rent_banner h1, .buy_banner h1, .blogs_banner h1, .faq_banner h1 {
        font-size: 46px;
    }
    .terms_box h3.terms_title {
        font-size: 24px;
    }

}

@media only screen and (min-width: 320px) and (max-width: 900px) {
    .login_user .modal-dialog {
        margin: 0 10px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1399px) {
    .buy_page .property_content {
        width: 50%
    }

    .buy_page div#map {
    width: 50%
    }

    .buy_page h2 {
        font-size: 26px;
    }

    .buy_page {
        height: calc(100% - 170px);
    }

    .container-property {
        width: calc(100% - 24px);
    }
}

@media (max-width: 580px) {
    .home_gallary .photos-grid-container .sub {
        grid-template-columns: 1fr;
    }

    .most_calculator .accordion-item .accordion-body .down_payment .input-with-percent input,
    .most_calculator .accordion-item .accordion-body .down_payment .input-with-dollar input,
    .most_calculator .accordion-item .accordion-body .loan_payment .input-with-percent,
    .most_calculator .accordion-item .accordion-body .down_payment .input-with-percent,
    .most_calculator .accordion-item .accordion-body .loan_payment .input-with-dollar,
    .most_calculator .accordion-item .accordion-body .down_payment .input-with-dollar {
        width: 100%;
        margin-left: 0;
        border-radius: 10px;
    }

    .most_calculator .accordion-item .accordion-body .down_payment .input-with-percent input {
        border-left: 1px solid #b2b2b2;
    }
    .latest_blog  .blog_group {
        flex-direction: column;
    }
    .latest_blog  .blog_content {
        padding-left: 0 !important;
        padding-top: 30px;
    }
    .latest_blog .blog_group img {
        max-width: 100%;
    }
    .latest_blog .blog_group .news-img-box,
    .latest_blog .blog_group .blog_content {
        width: 100%;
    }
    .home_gallary .sub .img-box:nth-child(3) img {
        border-radius: 0px 0px 0px 0px;
    }
    .most_calculator .accordion-item .accordion-body .down_payment .input-with-dollar {
        margin-bottom: 10px;
    }
    .contact_agent .contactbtn .btnbox {
        width: 142px;
    }

}


@media only screen and (min-width: 1025px) and (max-width: 1199px) {
    .home_gallary .main-photo a img {
/*        min-height: 324px;*/
    }

    .price_history tr td {
        font-size: 20px;
    }

    .price_history tr th {
        font-size: 23px;
    }

    .build_icons {
        min-height: 100px;
    }
    .advertise_banner h1, .rent_banner h1, .buy_banner h1 {
        font-size: 48px;
    }
    .advertise_banner, .rent_banner, .buy_banner {
        min-height: 450px;
    }

    .build_bussenss .card h5 {
        width: 75%;
    }

    .video-section .title-box h2 {
        font-size: 55px;
    }
 
}

@media only screen and (min-width: 1200px) and (max-width: 1399px) {
    .home_gallary .main-photo a img {
/*        min-height: 388px;*/
    }

    .video-section .title-box h2 {
        font-size: 65px;
    }
}

@media only screen and (min-width: 320px) and (max-width: 1199px) {
    section.sell_offset_box .row {
        transform: translateY(0px);
    }

    section.sell_article-box .row.px-md-4 {
        row-gap: 1.5rem;
    }

    .top_banner .formbox,
    ul#ui-id-1 {
        max-width: 480px;
    }
}

@media only screen and (min-width: 320px) and (max-width: 576px) {
    ul#ui-id-1 {
        top: 370px !important;
        width: calc(100% - 62px) !important;
    }
}

/*@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .search_map .location_box select {
        padding: 12px 5px;
        font-size: 12px;
    }

    .select_icon:after {
        right: 6px;
    }
}

@media only screen and (min-width: 1400px) {
    .search_map .location_box select {
        padding: 12px 5px;
        font-size: 12px;
    }

    .select_icon:after {
        right: 6px;
    }
}*/