@media screen and (max-width: 1023px) {
    body {
        overflow-y: unset;
    }

    .dashboard-side,
    .dashboard-main {
        width: 100%;
    }

    .wrappers .owl-item>div img {
        width: 100%;
        height: 85px;
    }

    #desk-sidemenu {
        display: none;
    }

    .w90 {
        width: 90%;
    }

    .mob-view {
        display: block;
    }

    .desk-view {
        display: none;
    }

    .dashboard-side .dash-logo,
    .dashboard-side .dash-menus {
        margin-left: unset;
        text-align: center;
    }

    .dashboard-side .dash-menus .menu {
        padding: 10px 0;
    }

    .event-container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .event-container .event-date {
        flex-direction: row;
        gap: 6px;
        width: 100%;
    }

    .rightbar {
        /* flex-direction: row-reverse; */
        justify-content: space-between;
        gap: 10px;
    }

    .font-grey {
        font-size: 18px;
        font-weight: bold;
    }

    .amenities .amenity-div {
        justify-content: unset;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .amenities #gym,
    .amenities #hostel {
        right: unset;
        left: 0;
    }

    .amenities #swimming-pool {
        right: 0;
        left: unset;
    }

    .school-profile {
        position: relative !important;
    }

    .school-profile .name {
        width: 67%;
    }

    .school-page .performers {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .sports-tchr .tchrs-flex {
        flex-wrap: wrap;
        gap: 20px;
    }

    .school-profile .name {
        /* position: unset !important; */
        left: unset;
        width: unset;
        z-index: 9;
        bottom: 15px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .school-page .school-card {
        position: unset !important;
        margin-top: 1rem;
        background: #1e2039;
        padding: 8px;
        width: 100%;
    }

    .form-modal .modal-content {
        width: 100%;
    }

    .form-modal .register_btn {
        width: 40%;
    }

    .form-modal .modal-header>div {
        flex-wrap: wrap;
        gap: 8px;
    }

    .school-card .school-logo div:nth-child(1) {
        height: 85px;
        width: 85px;
    }


    .school-logo {
        padding: 0px 10px;
    }

    .school-logo>div {
        height: 125px;
        width: 125px;
        background: white;
        border-radius: 5px;
    }

    .school-logo>div img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    .school-profile .name {
        padding: 8px;
    }

    .school-profile .name p {
        font-size: 20px !important;
    }

    .school-profile .lctn {
        display: flex;
        align-items: center;
    }

    .school-profile .lctn img,
    .school-profile .follower-bar>div img {
        width: 15px;
    }

    .school-profile .follower-bar {
        position: relative;
    }

    .school-profile .follower-bar>div:first-child {
        position: absolute;
        left: -16px;
        width: 42px;
        height: 42px;
        background: #5b17c9;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        bottom: -6px;
    }

    .school-profile .follower-bar>div:last-child {
        padding: 3px 10px 3px 30px;
        background: #000000a1;
        border-radius: 25px;
    }

    .school-profile .follow-btn button {
        margin-top: 8px;
        padding: 3px 12px;
        background: #4cc24a;
        border-radius: 25px;
    }

    .dashboard .school-page .school-profile {
        background-color: unset;
        position: unset;
        min-height: unset;
        box-shadow: unset;
    }

    .school-contacts {
        margin-top: 1rem;
        flex-direction: column;
        gap: 8px;
    }

    .school-contacts .school-divs>div:first-child>img {
        width: 24px;
    }
    
}

@media screen and (max-width: 1024px) {
    .home_banner_wrapper {
        background-image: url('../images/home_banner/mobile-banner-540x720.jpg');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: top;
    }
    .home_banner_row{
        padding-top: 155px;
    }

}
@media screen and (max-width: 767px) {
    
    .post-pic img{
        height: auto;
    }
    #shareModal.modal.fade.show{
        display: flex;
        align-items: center;
        justify-content: space-evenly;
    }
    .posts-page .post-bar {
        justify-content: flex-start;
        flex-wrap: wrap;
        margin-top: 0;
        width: 100% !important;
    }
    .dashboard-pg .wrappers {
        min-height: fit-content;
    }
    .Privacy-Policy-img {
        text-align: center;
    }

    .page_wrapper .body_content .main_content .row .col-xl-9 .inner_left .profile_cover_wrapper .cover_wrapper .profile_wrapper .img_wrapper a img {
        width: 100px;
        height: 100px;
    }

    .profile_wrapper {
        flex-direction: column;
    }

    .cover_wrapper {
        padding: 0 !important;
    }

    .school-profile .name {
        position: absolute !important;
        flex-direction: column;
    }

    .follower-flex {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .school-profile .follow-btn button {
        margin-top: 0;
    }

    .dashboard-mid .follower-bar-div {
        padding-left: 15px !important;
    }

    .form-control[type="file"]:not(:disabled):not([readonly]) {
        width: 100%;
    }

    .add-row .add-row-btn {
        position: absolute;
        right: 0;
        width: 39px;
        bottom: -22px;
    }

    .post-modal {
        overflow-y: hidden;
    }

    .post-modal .modal-dialog {
        height: 100vh;
    }

    .post-section .modal-content {
        flex-direction: column;
    }

    .post .post-profile .profile-img {
        height: 45px;
        width: 45px;
    }

    .post-modal .modal-header {
        width: 100%;
        height: 35%;
    }

    .post-section .modal-body {
        height: 65%;
        padding: 8px;
    }

    .comment-box {
        height: calc(100% - 35% - 52px);
    }

    .profile-details .profile-name {
        flex: 73%;
    }

    .post-time {
        text-align: end;
    }

    .post .post-details {
        flex-direction: column;
        padding: 0;
        gap: 6px;
    }

    .post .post-details>div:first-child p {
        justify-content: unset;
    }

    .post .post-actions {
        /* justify-content: space-between; */
        padding: 0;
    }

    .w27 {
        width: 100%;
        display: none;
    }

    .w73 {
        width: 100%;
        padding: unset;
    }

    .announcement .event-container .event-date {
        width: 100%;
        justify-content: space-between;
    }

    .register_btn {
        width: unset;
    }

    .notification .event-list {
        justify-content: space-between;
        align-items: end;
        gap: 1rem;
        padding: 10px;
        flex-direction: column;
    }

    .event-container .event-list .event-details {
        flex-direction: column;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 10px;
    }

    .network .profile-name p:last-child,
    .network .profile-name p:first-child {
        text-align: end;
    }

    .event-container .event-list .event-details>div:nth-child(2) {
        display: flex;
        flex-direction: column;
        gap: unset;
    }

    .data-col {
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .dashboard-pg .data-col .data-box {
        width: 47%;
    }

    .dashboard-pg .form-container>select,
    .dashboard-pg .form-container>button {
        width: 30%;
    }

    .dashboard-pg .form-container {
        justify-content: unset;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .dashboard-pg .records>div {
        padding: 7px 1rem;
    }

    .user-menu .close {
        left: unset;
        top: -15px;
        right: -15px;
    }

    .amenities .amenity-details {
        width: 100%;
    }

    .sports-tchr .tchrs-flex {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .sports-tchr .tchrs {
        width: 30%;
    }

    .banner-img {
        height: 155px;
    }

    .school-profile .name p.school {
        font-size: 20px !important;
    }

    .school-profile .name p {
        font-size: 16px !important;
        z-index: 9;
    }

    /* .dashboard .school-page .school-details {
        display: block;
        position: absolute;
        top: 55px;
    } */

    /* .dashboard .school-page .school-details {
        display: block;
        position: absolute;
        top: 80px;
    } */

    .dashboard .school-page .school-details {
        display: flex;
        position: unset;
        top: 60px;
        left: 0px;
        gap: 4px;
    }

    .student-page .physical-stats .head {
        font-size: 16px;
    }



    .ml-3 {
        margin-left: 0;
    }

    /*  */
    .pos-top-right {
        top: 16px;
        right: 16px;
    }

    .pos-top-right .fas {
        font-size: 20px;
    }

    .mob-cards .col {
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: 1rem;
    }



    .dash-nav .fa-bars {
        font-size: 18px;
    }

    /*  */
    .sub-event .sub-event-card {
        flex-direction: column;
        align-items: start !important;
    }

    .sub-event .sub-event-details {
        width: 100%;
        margin-left: unset !important;
    }

    .sub-event-img img {
        height: 65px;
        width: 65px;
    }

    .passion_wrapper .container .passion_row .col-lg-6 .right_col .section_title,
    .passion_wrapper .container .passion_row .col-lg-6 .right_col .secondary {
        text-align: center;
    }

    .mySwipertopschools,
    .mySwipertopschools .swiper-slide {
        height: unset;
    }
}

@media screen and (max-width: 390px) {
    
    .posts-page .post-bar label{
        padding: 5px 15px;
        font-size: 12px;
    }
    .posts-page .post-bar button {
        padding: 5px 30px;
    }
    
    .sports-tchr .tchrs-flex {
        display: flex;
        justify-content: space-evenly;
        flex-wrap: wrap;
    }

    .sports-tchr .tchrs {
        width: 35%;
    }
    .dashboard-side .school-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .dashboard-side .school-logo img {
        width: 165px;
    }
    
}

@media screen and (max-width: 992px) {
    
    .sp-teacher-details p:first-child{
        min-height: 40px !important;
    }
    .school-logo {
        padding: 0px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .dashboard-side .school-logo img {
        width: 165px;
    }
    .post-pic img {
        height: auto;
    }
}

/* Shubham Start */
@media screen and (min-width: 0px) and (max-width: 360px) {
    .image-container {
        transform: translate(4px, 40px) !important;
    }

    .upper-container .background-img {
        right: 75px;
    }
    .posts-page .post-img {
        width: 25% !important;
    }
    
}

@media screen and (min-width: 361px) and (max-width: 375px) {
    .image-container {
        transform: translate(0px, 40px) !important;
    }

    .upper-container .background-img {
        right: 87px;
    }
    .posts-page .post-img {
        width: 25% !important;
    }
   
}

@media screen and (min-width: 376px) and (max-width: 390px) {
    .image-container {
        transform: translate(0px, 40px) !important;
    }

    .upper-container .background-img {
        right: 95px;
    }
    .posts-page .post-img {
        width: 25% !important;
    }
}

@media screen and (min-width: 391px) and (max-width: 415px) {
    .image-container {
        transform: translate(3px, 40px) !important;
    }
    .posts-page .post-img {
        width: 23%;
    }

}
@media screen and (min-width: 416px) and (max-width: 450px) {
    .upper-container .background-img {
        right: 110px;
    }
}

@media screen and (min-width: 416px) and (max-width: 560px) {

    .image-container {
        transform: translate(4px, 40px);
    }
    .posts-page .post-img {
        width: 20%;
    }
    .posts-page .post-comment-div div:nth-child(2) {
        width: 100% !important;
    }

}

@media screen and (min-width: 561px) and (max-width: 767px) {
    .posts-page .post-img {
        width: 10%;
    }

}

@media screen and (min-width: 768px) and (max-width: 991px) {
   
    /* .dashboard-mid .jp .card-body {
        min-height: 245px;
    } */
    .event-container .event-list .event-details {
        align-items: center;
    }
    .student-record .col-xxl-4 .card {
        min-height: 343px;
    }

    .sport-details-div .text-white.sport-title {
        min-height: 63px;
    }

    .upper-container .background-img {
        right: 95px;
    }

    .image-container {
        transform: translate(4px, 40px);
    }

    .sports-section .swiper-button-next,
    .sports-section .swiper-button-prev {
        top: var(--swiper-navigation-top-offset, 60%);
    }

    .mySwipertopschools .swiper-slide {
        width: 100% !important;
        padding: 0px !important;
    }

    .top-school-swiper .row .mini-card {
        min-height: auto !important;
        padding: 20px 0.5rem;
    }

    .top-school-swiper-prev-button {
        left: calc(40% - -100px) !important;
    }

    .top-school-swiper-next-button {
        left: calc(58% - 120px) !important;
    }

    .top-school .card-body-school {
        padding: 15px 0 0 0 !important;
    }

    .mySwipertopschools {
        height: calc(100vh - 30px) !important;
    }

    .registration-form .upload {
        margin-top: 0 !important;
    }

    .form_bg .container .form_container-registration {
        padding: 10px 25px !important;
    }
    .posts-page .post-img {
        width: 17% !important;
    }

}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .student-record .col-xxl-4 .card {
        min-height: 295px;
    }

    .tab-content .col-xxl-4 .card {
        min-height: 313px;
    }

}