/* @media (min-width: 1281px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1350px;
    }
} */
@media (min-width: 576px) and (max-width:736px) {

    .container,
    .container-sm {
        max-width: 650px;
    }
}

@media (min-width: 1000px) and (max-width:1150px) {
    .history-slider {
        margin-inline-start: 0;
    }

    .history-slider.lg\:horizontal {
        flex-direction: row-reverse;
        justify-content: space-between;
        border: 0;
        /* border-bottom: 1px solid #D6D6D6; */
    }

    .history-slider.lg\:horizontal .active::before {
        right: 50%;
        top: 23px;
        transform: translate(50%, 0%);
    }

    .history-slider.lg\:horizontal .active::after {
        top: 100%;
        right: 50%;
        transform: translate(50%, 0%) rotate(90deg);
    }

    .history-slider.lg\:horizontal .active a {
        transform: translate(3px, -40px);

    }

    .history-slider.lg\:horizontal>div {
        margin-bottom: 10px;
    }

    .history-swiper {
        margin-inline-start: 0;
        height: auto !important;
        overflow: unset;
        overflow-x: clip;
        border: 0;
        border-bottom: 1px solid #D6D6D6;
    }
}

@media (min-width: 1337px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1140px;
    }
}

@media (min-width: 1500px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1350px;
    }
}


@media (min-width: 1920px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1670px;
    }

    .card-news,
    .map-card {
        height: 335px;
    }

    .main-body .content .main-slider,
    .main-body .content .history-swiper {
        height: 410px;
    }

    .ads-card {
        padding: 36px;
        height: 157px;
        margin-bottom: 20px;
    }
}

@media (max-width: 1536px) {
    .details-card-description p {
        font-size: 12px;
    }

    .manager-word,
    .manager-card h2,
    .manager-card h4,
    .cs-tabs .nav-link,
    .cs-tabs .nav-link:focus,
    .cs-tabs .nav-link:hover {
        font-size: 16px;
    }

    .details-card-title,
    .details-card-subtitle {
        font-size: 14px;
    }

    .details-card .table>:not(caption)>*>* {
        padding-top: 13px;
        padding-bottom: 13px;
    }

    .session-content h6 {
        font-size: 14px;
    }

    .member-card h2 {
        font-size: 14px;
    }

    .point p {
        font-size: 13px;
    }

    .cs-btn {
        font-size: 14px;
        min-width: 170px;
        height: 44px;
    }

    .datepicker-contaniner {
        padding: 32px 32px 16px;
    }

    .session-content h5 {
        font-size: 14px;
    }

    .point span {
        font-size: 12px;
        padding-top: 5px;
    }

    .cs-datepicker table tr td.prev-session::before,
    .cs-datepicker table tr td.current-session::before,
    .cs-datepicker table tr td.next-session::before,
    .cs-datepicker table tr td.active::before {
        width: 36px;
        height: 36px;
        transform: translate(50%, 7px);
    }

    .cs-status h6 {
        font-size: 14px;
    }

    .cs-status-icon {
        width: 14px;
        height: 14px;
    }

    .map-list-info h6 {
        font-size: 14px;
    }

    .map-list-info p {
        font-size: 12px;
    }

    .map-list .list .count {
        width: 29px;
        height: 29px;
        font-size: 14px;
    }

    .facilities_page .map-list .list .count {
        flex: 0 0 29px;
    }

    .facilities_page .map-list-info p {
        display: flex;
        gap: 3px;
    }

    .distance-page .details {
        padding: 49px 40px;
    }

    .project-card figure {
        height: 283px;
    }

    .album-fancybox {
        width: 93px;
        height: 93px;
    }

    .album-pic-card .album-pic-body h4 {
        font-size: 16px;
        flex: 0 0 70%;
    }
    .cs-tree{
        min-width: 1070px;
    }
    .cs-tree .tf-nc{
        padding-inline: 20px;
        font-size: 14px;
    }
    .cs-tree .tf-nc, .tf-tree li{
        margin-top: 26px;
    }
    .tf-tree li{
        padding: 0px 5px;
    }
    .cs-tree .tf-nc.first{
        font-size: 20px;
        width: 355px;
        line-height: 30px;
    }
    .y-center .hero-icon{
        width: 70px;
        height: 70px;
    }
    .y-center .hero-icon img{
        width: 100%;
        height: 100%;
    }
    .y-center h3{
        margin-top: -30px;
    }
}

@media (max-width:1367px) {
    .plan-card .plan-card-body h4 {
        font-size: 14px;
    }

    .plan-card {
        padding: 20px 22px 15px;
    }

    .plan-card .plan-card-footer h6,
    .plan-card .plan-card-footer a {
        font-size: 12px;
    }

    .plans-page p,
    .plans-page h2 {
        font-size: 14px;
    }

    .gole-card {
        padding: 16px;
    }

    .project-card figure {
        height: 238px;
    }

    .project-card .details h3 {
        font-size: 14px;
    }

    .swiper-button-prev.shape-1,
    .swiper-button-next.shape-1 {
        height: 90px;
        width: 40px;
        transform: translateY(-20%);
    }
    .plan-card .actions{
        margin-inline-start: 0;

    }
    .cs-tree .tf-nc, .tf-tree li{
        margin-top: 20px;
    }
    .cs-tree .tf-nc{
        padding-inline: 10px;
        font-size: 12px;
        min-width: 150px;
        min-height: 50px;

    }
    .cs-tree .tf-nc.first {
        font-size: 18px;
        width: 315px;
        line-height: 30px;
    }
    .y-center p {
       font-size: 14px;
    }
}

@media (max-width: 1280px) {
    .ads-card {
        height: 117px;
        margin-bottom: 16px;
    }

    .card-news,
    .map-card {
        height: 250px;
    }

    .main-body .content .main-slider,
    .main-body .content .history-swiper {
        height: 325px;
    }

    .manager-word {
        margin-top: 40px;
    }

    .manager-word::before,
    .manager-word::after {
        background-size: 20px;
        width: 36px;
        height: 36px;
    }



    .history-swiper {
        margin-inline-start: 46px;

    }

    .plan-card .actions {
        margin-inline-start: 20px;
    }

    .facilities_page .sidebar-map {
        padding-inline: 24px;
    }

    .facilities_page .map-list {
        margin-right: -24px;
        margin-left: -24px;
    }

    .facilities_page .map-list .list {
        padding-right: 24px;
    }

    .distance-card p {
        font-size: 14px;
    }

    .development-project-card h4::before {
        right: -10px;
    }

    .development-project-card h4::after {
        left: -10px;
    }

    .y-historical-page .history-slider.horizontal .active::before {
        right: 28%;
        top: 21.5px;
        transform: translate(0%, 0%);
        z-index: 6;
    }

    .y-historical-page .history-slider.horizontal .active::after {
        top: 100%;
        right: -3%;
        transform: translate(10%, 0%) rotate();
        z-index: 5;
    }

}

@media (max-width: 1200px) {
    .y-historical-page .y-history-swiper {
        height: auto !important;
        overflow: visible;
        border: 0;
        border-right: 1px solid #D6D6D6;
        margin-right: 60px;
        margin-top: 30px;
    }

    .y-historical-page .history-slider.virtical .active::before {
        right: -14%;
        top: 13px;
        transform: translate(0%, 0%);
        z-index: 6;
    }

    .y-historical-page .history-slider.virtical .active::after {
        top: 100%;
        right: -28%;
        transform: translate(10%, 0%) rotate();
        z-index: 5;
    }
}

@media (max-width:1025px) {

    .time {
        align-items: flex-end;
        gap: 10px;
        flex-direction: column-reverse;
    }

    .fastway-info {
        column-gap: 40px;
    }

    .main-body .content {
        padding: 85px 16px;
    }

    .header::after {
        bottom: -3px;
    }

    .main-body::after {
        background-size: 300px;
    }

    .main-body::before {
        background-size: 350px;

    }

    .header {
        padding: 21px 10px 0px;
    }


    .map-content {
        width: 510px;
        max-height: 320px;
        min-height: 0;
    }

    .map-content-head .close-map-content {
        width: 45px;
        height: 45px;
        line-height: 36px;
    }

    .map-content-body {
        padding: 16px 33px;
    }

    .facilities_page .map-list {
        margin-top: 32px;
    }

    .distance-page .details {
        padding: 32px;
    }

    .rp-0 {
        margin-top: -85px;
        margin-bottom: -100px;
        margin-inline: -16px;

    }

    .distance-page .distance-slider {
        top: -85px;
    }

    .distance-slider .swiper-button-prev,
    .distance-slider .swiper-button-next {
        height: 100px;
        width: 40px;
    }

    .play {
        top: 47%;

        width: 65px;
        height: 65px;
    }

    .play::after {
        width: 77px;
        height: 77px;
    }

    .development-project-card {
        padding: 22px;
    }

    .development-project-card h4::before {
        right: 10px;
    }

    .development-project-card h4::after {
        left: 10px;
    }

    .y-historical-page .y-history-swiper {
        height: auto !important;
        overflow: visible;
        border: 0;
        border-right: 1px solid #D6D6D6;
    }

    .y-historical-page .history-slider.virtical .active::before {
        right: -17.5%;
        top: 13px;
        transform: translate(0%, 0%);
        z-index: 6;
    }

    .y-historical-page .history-slider.virtical .active::after {
        top: 100%;
        right: -30%;
        transform: translate(10%, 0%) rotate();
        z-index: 5;
    }

}

@media (max-width:992px) {

    .header .btn-nav {
        display: block;
    }

    .sidebar {
        display: none;
    }

    .footer {
        display: none;
    }

    .header {
        height: 212px;
    }

    .fastway-info {
        flex-wrap: wrap;
        gap: 20px;
    }

    .time {
        display: none;
    }

    .header .logo {
        left: 65px;
        top: 20px;
        width: 60px;
        height: 70px;
    }

    .all-page {
        min-height: 100vh;
    }

    .mobile-side-bar,
    .mobile-sub-side-bar {
        position: fixed;
        z-index: 2;
        background-color: white;
        width: 50%;
        height: 100%;
        top: 0;
        padding: 22px 16px;
        /* right: 0; */
    }

    .head-moblie {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .head-moblie .close-menu {
        font-size: 20px;
        font-family: bookH;
        cursor: pointer;
    }

    .header-events-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
    }

    .header-events-mobile a {
        font-size: 14px;

        color: var(--black-color);
    }

    .header-events-mobile a svg {
        width: 15px;
        height: 15px;
    }

    .body-mobile {
        margin-top: 40px;
        width: 100%;
        overflow-y: auto;
        height: 800px;
    }

    .custom-tabs {
        width: 100%;
    }

    .custom-tabs .tab {
        width: 100%;
        color: var(--black-color);
        display: flex;
        align-content: space-between;
        align-items: center;
        font-size: 16px;
    }

    .custom-tabs .tab span {
        width: 100%;
        font-family: semiBoldH;
    }

    .custom-tabs .bottom {
        padding: 32px 0;
        display: none;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: wrap;
        row-gap: 10px;
    }

    .custom-tabs .bottom>a {
        flex: 1 1 auto;

    }

    .sub-tab-icon {
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: space-between;
        font-size: 14px;
        cursor: pointer;
        padding: 16px;
        transition: 0.2s ease-in;

    }

    .sub-tab-icon:hover {
        background-color: rgba(194, 190, 188, 14%);
        transition: 0.2s ease-in;
    }

    .sub-tab-icon svg path {
        transition: 0.2s ease-in;
    }

    .sub-tab-icon:hover svg path {
        fill: var(--red-color);
        transition: 0.2s ease-in;
    }

    .sub-tab-icon p {
        margin-top: 10px;
        margin-bottom: 0;
        color: var(--black-color);
    }

    .sub-tab-icon.active {
        background-color: rgba(194, 190, 188, 14%);
        width: 100%;
        height: 100%;

    }

    .sub-tab-icon.active svg path {
        fill: var(--red-color);
    }

    .inner-slider {
        width: 100%;
    }

    .ads-card {
        width: 100%;
    }

    .details-card .table-responsive {
        margin-bottom: -16px;
    }



    .history-slider {
        margin-inline-start: 0;
    }

    .history-slider.md\:horizontal {
        flex-direction: row-reverse;
        justify-content: space-between;
        border: 0;
        /* border-bottom: 1px solid #D6D6D6; */
    }

    .history-slider.md\:horizontal .active::before {
        right: 50%;
        top: 23px;
        transform: translate(50%, 0%);
    }

    .history-slider.md\:horizontal .active::after {
        top: 100%;
        right: 50%;
        transform: translate(50%, 0%) rotate(90deg);
    }

    .history-slider.md\:horizontal .active a {
        transform: translate(3px, -40px);

    }

    .history-slider.md\:horizontal>div {
        margin-bottom: 10px;
    }

    .content .y-historical-page .history-swiper {
        margin-inline-start: 0;
        height: auto !important;
        overflow: unset;
        overflow-x: clip;
        border: 0;
        border-right: 1px solid #D6D6D6;
    }

    .main-body .content .history-swiper {
        margin-inline-start: 0;
        height: auto;
        overflow: unset;
        overflow-x: clip;
        border: 0;
        border-bottom: 1px solid #D6D6D6;
    }


    .sub-header {
        display: none;
    }

    .mobile-sub-header {
        display: flex;
        justify-content: space-between;
        background-color: white;
        height: 100px;
    }

    .y-location-page .y-location p {
        width: 100%;
    }

    .distance-page .distance-slider {
        position: relative;
        top: 50px;
        height: 100% !important;
    }

    .y-historical-page .y-history-swiper {
        height: auto !important;
        overflow: visible;
        border: 0;
        border-right: 1px solid #D6D6D6;
        margin-right: 30px;
    }

    .y-historical-page .history-slider.virtical .active::before {
        right: -21.5%;
        top: 13px;
        transform: translate(0%, 0%);
        z-index: 6;
    }

    .y-historical-page .history-slider.virtical .active::after {
        top: 100%;
        right: -40%;
        transform: translate(10%, 0%) rotate();
        z-index: 5;
    }

}

@media (max-width: 800px) {
    .header {
        height: auto;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .header::after {
        bottom: 11px;
    }

    .inner-slider .item {
        width: 100%;
    }

    .header .logo {
        position: initial;
    }

    .fastway {
        margin-bottom: 50px;
    }

    .main-body .content {
        padding-bottom: 2rem;
        padding-top: 2rem;
    }

    .header-events {
        display: none;
    }

    .main-body::after {
        background-size: 200px;
        bottom: 0;
    }

    .main-body::before {
        bottom: 0;
        background-size: 250px;

    }

    .fastway {
        padding-bottom: 0px;
    }

    .details-card {
        margin-bottom: 32px;
    }

    .content .y-feature-app .y-icon-info p {
        white-space: unset;
    }

    .content .y-feature-app .y-download {
        padding-right: 55px;
    }


    .y-contact-page .form form {
        width: 500px;
    }

    .y-contact-page .form form button {
        right: 89%;
    }

    .question-page .y-answer .y-answers {
        margin-top: 50px;
    }

    .map-content {
        width: calc(100% - 59px);
        max-height: 270px;
        min-height: 0;
    }

    .map-content-body {
        padding: 16px;
        max-height: 220px;
        overflow: auto;
    }

    .location-content h2 {
        font-size: 14px;
    }

    .location-content-phone p {
        font-size: 12px;
    }

    .map-content-head .close-map-content {
        width: 36px;
        height: 36px;
        line-height: 40px;
        padding: 0;
    }

    .map-content-head .close-map-content svg {
        width: 16px;
        height: 16px;
    }


    .y-center-page .y-center h3 {
        margin-top: -30px;
    }

    .select-map {
        position: absolute;
        bottom: 30px;
        right: 60px;
    }

    .select-map .dropdown .dropdown-menu {
        width: 100%;
    }

    .select-map .dropdown .btn {
        padding: 16px 22px 8px;
        font-size: 14px;
        font-family: boldH;
    }

    .y-location-page .y-location p {
        width: 100%;
    }

    .service-card {
        padding: 22px;
    }

    .service-card figure {
        width: 70px;
        height: 70px;
    }

    .service-card figure img {
        width: 35px;
        height: 35px;
    }

    .album-fancybox {
        width: 83px;
        height: 83px;
    }

    .album-fancybox svg {
        width: 20px;
        height: 20px;
    }

    .cs-slider-btn .swiper-button-next,
    .cs-slider-btn .swiper-button-prev {
        width: 44px;
        height: 44px;
    }

    .cs-tabs .nav-link {
        font-size: 14px;
    }

    .albums-page .cs-tabs .nav {
        width: 80%;
    }

    .report-page .cs-slider-btn {
        left: -50px;

    }

    .report-card {
        flex-direction: column;
        height: auto;
        padding: 32px;
        gap: 0;
        border-radius: 8px;
        width: auto;
    }

    .report-card figure {
        height: auto;
        width: max-content;
        margin-right: auto;
        margin-left: auto;
    }

    .report-card figure img:first-child {
        width: auto;
        height: 150px;
    }

    .mobile-page .y-mobile {
        margin-top: 30px;
    }

    .y-historical-page .y-history-swiper {
        height: auto !important;
        overflow: visible;
        border: 0;
        border-right: 1px solid #D6D6D6;
        margin-right: 30px;
    }

    .y-historical-page .history-slider.virtical .active::before {
        right: -21.5%;
        top: 13px;
        transform: translate(0%, 0%);
        z-index: 6;
    }

    .y-historical-page .history-slider.virtical .active::after {
        top: 100%;
        right: -40%;
        transform: translate(10%, 0%) rotate();
        z-index: 5;
    }


}

@media (max-width:525px) {

    .question-page .y-answer .y-answers {
        margin-top: 0;
        margin-left: 30px !important;
        margin-right: 10px !important;
    }


    .main-body .content {
        font-size: 14px;
    }

    .mobile-side-bar,
    .mobile-sub-side-bar {
        width: 100%;
    }


    .header {
        height: 72px;
    }

    .header::after {
        bottom: -17px;
    }

    /* .header-content {
        padding-inline: 16px;
    } */

    /* .main-body .content {
        padding: 0px 16px;
    } */

    .outer-slider {
        width: 100%;
    }

    .fastway-info {
        flex-wrap: wrap;
        gap: 10px;
    }

    .sidebar::after {
        content: unset;
    }

    .ads-card {
        width: 100%;
    }

    .inner-slider {
        width: 100%;
    }

    .bottom-header {
        display: none;
    }



    .whatsapp {
        bottom: 20px;
    }

    .whatsapp .icon-fast {
        width: 50px;
        height: 50px;
    }

    .whatsapp svg {
        width: 20px !important;
        height: 20px !important;
    }

    .fastway-info>div p {
        width: 90px;
    }

    .icon-fast {
        width: 54px;
        height: 54px;
    }

    .icon-fast svg {
        width: 20px;
        height: 20px;
    }

    .main-body::after {
        background-size: 100px;
    }

    .main-body::before {
        background-size: 150px;

    }

    .fastway {
        padding-bottom: 0px;
    }

    .manager-word::before {
        background-size: 20px;
        width: 36px;
        height: 36px;
    }

    .manager-word::before {
        right: -40px;

    }

    .manager-word::after {
        left: -40px;
    }

    .content .y-feature-app .y-icon-info p {
        white-space: unset;
    }

    .content .y-feature-app .y-download {
        padding-right: 55px;
    }


    .content .y-feature-app .y-icon {
        width: 50px;
        height: 50px;
        line-height: 50px;
    }

    .y-contact-page .form form textarea {
        width: 350px;
    }

    .y-contact-page .form form .cs-upload-file {
        width: 350px;
    }

    .y-contact-page .form form button {
        right: 60%;
    }

    .y-contact-page .map-card {
        transform: translateX(20px);
        width: 390px;
    }

    .y-home-page .nav-link {
        width: 32%;
    }

    .datepicker-contaniner {
        padding: 20px 13px 6px;
    }

    .facilities_page .map-content {
        min-width: 0;
        width: calc(100% - 59px);
    }

    .facilities_page .map-content img {
        width: 100%;
    }

    .facilities_page .map-content p {
        font-size: 12px;
    }

    .facilities_page .map-list .list {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .y-location-page .y-location p {
        width: 100%;
    }

    .service-details .cs-btn {
        height: 52px;
        line-height: 42px;
        font-family: boldH;
        width: 200px;
    }

    .service-details p {
        font-size: 14px;
    }

    .question-page .cs-slider-btn {
        left: 0 !important;
        bottom: 0 !important;
    }

    .cs-slider-btn {
        left: -80%;
        bottom: 60px;
    }

    .albums-page .cs-tabs .nav {
        width: auto;
    }

    .albums-page .cs-slider-btn {
        left: 50px;
        bottom: 0;
    }

    .album-pic-card .album-pic-body h4 {
        font-size: 14px;
        flex: 0 0 80%;
    }

    .report-page .cs-slider-btn {
        bottom: 0;
    }

    .y-historical-page .y-history-swiper {
        height: auto !important;
        overflow: visible;
        border: 0;
        border-right: 1px solid #D6D6D6;
        margin-right: 30px;
    }

    .y-historical-page .history-slider.virtical .active::before {
        right: -44.5%;
        top: 10px;
        transform: translate(0%, 0%);
        z-index: 6;
    }

    .y-historical-page .history-slider.virtical .active::after {
        top: 100%;
        right: -70%;
        transform: translate(10%, 0%) rotate();
        z-index: 5;
    }

}
