@media only screen and (max-width: 1200px) {
    .top-right-menu .nav-link {
        font-size: 20px;
        padding: 0 6px !important;
        display: inline;
    }

    .top-left-item li {
        padding: 0 4px;
    }

    .top-left-item li a {
        font-size: 20px;
    }

    .top-left-item {
        padding: 7px 0;
    }

    .top-left-item li img {
        width: 13px;
        height: 13px;
    }

    .mobileicon {
        margin-top: 8px;
        float: right;
        margin-top: 24px;
    }

    .header-menu-part .nav-item .nav-link {
        font-size: 16px;
    }

    .top-right-menu {
        padding-right: 0;
    }

    .home-main-slider .img-text {
        position: relative;
        bottom: 0;
        top: 86px;
        left: 39px;
    }

    .home-main-slider .carousel-caption {
        padding-top: 115px;
        padding-bottom: 115px;
    }

    .mobileshow {
        display: none;
    }

    .veiw-more-button .text-white {
        font-size: 26px;
        position: relative;
        bottom: 5px;
    }

    .background-image-1-heading {
        font-size: 26px;
    }

    .upevent .card-heading {
        font-size: 26px;
        line-height: 29px;
    }

    .upevent .card-heading {
        font-size: 20px;
        line-height: 26px;
    }

    .latest-blog {
        font-size: 26px;
    }

    .mobileshow {
        display: none;
    }

    /****chapters****/
    .card-text-address1 {
        position: absolute;
        top: 120px;
        width: 100%;
        padding: 9px;
        overflow: hidden;
    }

    .card-text-address3 {
        color: #ffffff;
        margin: 0 5px 0 0;
    }

    span.card-text-address2 {
        font-size: 13px;
    }

    .card-text-address0 {
        color: #ffffff;
        margin-right: 140px;
    }

    /****chapters close****/
}

@media only screen and (max-width: 991px) {

    .flex-box {
        width: 100%;
        max-width: 100%;
    }

    .mobileshow {
        display: block;
    }

    .dropdown-menu .dropdown-item {
        color: #fff !important;
    }

    .mobilemenu {
        width: 65%;
        z-index: 999;
        background: rgb(0 0 0 / 90%);
        right: 0;
        top: 0;
        padding: 24px 22px 41px;
        height: 100%;
        position: fixed;
        left: 0;
        box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
        color: #fff;
        text-align: left;
    }

    .loginmenu {
        display: inline-flex;
    }

    .mobilemenu li a {
        color: #fff !important;
    }

    .navbar-nav .dropdown-menu {
        background: rgb(0 0 0 / 81%);
        border: 1px solid;
    }

    .mobileshow {
        position: absolute;
        width: 100%;
        right: 0;
    }

    .mobilemenu .navbar-nav {
        display: block;
    }

    .mobileshow .nav-link.btn.btn-warning.text-dark.login-button {
        float: left;
        padding-left: 10px;
        padding-right: 13px;
    }

    .home-main-slider .carousel-caption {
        margin-left: 66px !important;
    }

    .home-main-slider .img-text {
        left: 0;
    }

    .about-text .left-pism-content p {
        font-size: 20px;
        line-height: 26px;
    }

    .right-pism-content {
        max-height: 390px;
    }

    .right-pism-content {
        max-height: 410px;
    }

    .veiw-more-button .text-white {
        font-size: 26px;
        position: relative;
        bottom: 5px;
    }

    .background-image-1-heading {
        font-size: 26px;
    }

    .upevent .card-heading {
        font-size: 26px;
        line-height: 29px;
    }

    .latest-blog {
        font-size: 26px;
    }

    .footer-social-icon {
        list-style: none;
        padding: 0;
        position: absolute;
        top: 10px;
        right: 0px;
    }

    .homegallery .img-container img {
        height: auto;
    }

    .team-block2-card1 img {
        height: 148px;
    }

    .homegallery .img-hover-text {
        height: 100%;
    }

    .navbar-expand-md .navbar-nav .dropdown-menu {
        position: relative;
        width: max-content;
    }

    .close-mb-menu {
        text-align: right;
        font-size: 28px;
        position: absolute;
        right: 19px;
        top: 0;
    }

    .mobilemenu .nav-link {
        margin: 18px 0 !important;
    }

    .blog-veiw-more-button a {
        font-size: 26px;
    }

    .container-heading {
        font-size: 29px;
    }

    /*****gallery page *********/
    .pagetitle .title-heading {
        font-size: 22px;
    }

    /*****about us page***/
    .aboutfirstsection {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .secondsection {
        padding: 24px 0;
    }

    .about-content-four {
        padding-top: 34px;
    }

    .mission-vision h3 {
        font-size: 25px;
    }

    .objective-section h3 {
        font-size: 25px;
    }

    .objective-section {
        padding: 24px;
    }

    .goal-section {
        padding: 24px 0;
    }

    .goal-section h3 {
        padding-top: 38px;
    }

    .imgdiv {
        width: 100%;
    }

    .objective-section img {
        width: 100%;
    }

    .goal-section img {
        width: 100%;
    }

    .eys-icon {
        position: absolute;
        top: 58%;
        left: 83%;
    }
}

@media only screen and (max-width: 800px) {

    /****top header*****/
    .top-right-menu .nav-item {
        display: inline-block;
    }

    .top-right-menu .nav-link {
        padding: 8px 0;
        font-size: 20px;
    }

    .top-right-menu {
        padding: 10px 0;
    }

    .top-left-item li .emailid span {
        font-size: 20px;
    }

    .top-left-item li {
        display: inline;
        padding: 0 4px;
    }

    .top-left-item li img {
        width: 12px;
        height: 12px;
    }

    .top-left-item {
        padding: 10px 0;
    }

    button.navbar-toggler.collapsed {
        position: absolute;
        top: 10px;
        left: -23px;
    }

    /*****our team******/
    .mobilemenu {
        width: 65%;
        z-index: 999;
        background: rgb(0 0 0 / 90%);
        right: 0;
        top: 0;
        padding: 24px 22px 41px;
        height: 100%;
        position: fixed;
        left: 0;
        box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
        color: #fff;
        text-align: left;
    }

    .mobilemenu li a {
        color: #fff !important;
    }

    .mobileshow {
        position: absolute;
        width: 100%;
        right: 0;
    }

    .mobileshow .nav-link.btn.btn-warning.text-dark.login-button {
        float: left;
        padding-left: 10px;
        padding-right: 13px;
        margin-top: 21px;
    }

    .mobileicon {
        margin-top: 8px;
        float: right;
        margin-top: 24px;
    }

    .homegallery .img-container img {
        height: 100%;
    }

    .footer-quick {
        margin-bottom: 36px;
    }

    h3.footer-heading {
        margin-top: 0;
    }

    .team-block2-card1 img {
        height: 148px;
    }

    .team-block2-card1 .col-6.col-sm-12.col-md-4.col-lg-7 {
        padding-right: 4px;
    }

    .home-main-slider .carousel-inner img {
        height: 600px;
    }

    .home-main-slider .psim-top-heading {
        font-size: 18px;
        line-height: 16.44px;
    }

    .home-main-slider .main-heading {
        font-size: 58px;
        margin: 0 0;
        line-height: 70px;
    }

    .home-main-slider .conference {
        font-size: 58px;
        line-height: 78px;
    }

    .home-main-slider .psim-bottom-heading {
        font-size: 18px;
        margin: 26px 0 32px;
    }

    .home-main-slider .img-text {
        position: relative;
        bottom: 0;
        top: 86px;
    }

    .home-main-slider button.register-btn {
        padding: 15px 12px;
    }

    .swiper-pagination {
        margin-top: 41px;
        position: relative !important;
    }

    .swiper-horizontal {
        touch-action: pan-y;
        overflow: hidden;
    }

    .home-main-slider .carousel-caption {
        padding-top: 115px;
        padding-bottom: 115px;
    }

    .home-main-slider .img-text {
        left: 0;
        padding-left: 0;
    }

    section.subscibe-section {
        background: #f2f2f2;
        padding: 60px 0;
    }

    .footer {
        background-color: #221b16;
        padding: 31px 5px 0px 5px;
    }

    .team-block2-card1 .card-body5 {
        padding: 6px 0 0;
    }


    .team-block2-card1 {
        margin-bottom: 26px !important;
    }

    .team-block2-card1-p1 {
        font-size: 20px;
    }

    .team-card1-body {
        text-align: center;

    }

    .card-body5 {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
        padding: 0rem;
    }

    .card-body5 {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
        padding: 1.25rem;
    }

    .footer-left-section {
        width: 80%;
    }

    .footer-social-icon {
        list-style: none;
        padding: 0;
        position: absolute;
        top: 10px;
        right: 0px;
    }

    .right-pism-content-heading {
        font-size: 20px;
    }

    .right-pism-content-main-heading {
        font-size: 19px;
    }

    .about-text .about-pism {
        font-size: 28px;
    }

    .background-image-1-heading {
        font-size: 27px;
    }

    .veiw-more-button .text-white {
        font-size: 24px;
    }

    .background-image-1-part1 {
        padding: 56px 0 0;
    }

    .veiw-more-button .text-white {
        font-size: 22px;
        position: relative;
        bottom: 5px;
    }

    .background-image-1-heading {
        font-size: 22px;
    }

    .upevent .card-heading {
        font-size: 23px;
        line-height: 29px;
    }

    .background-image-1-content {
        padding: 0 0;
    }

    .container-heading {
        font-size: 29px;
    }

    .blogheading {
        padding: 88px 14px 13px;
    }

    .latest-blog {
        font-size: 22px;
    }

    .navbar-expand-md .navbar-nav .dropdown-menu {
        position: relative;
    }

    .blog-veiw-more-button a {
        font-size: 22px;
        text-decoration: none;
    }

    /*****gallery page *********/
    .pagetitle .title-heading {
        font-size: 22px;
    }

    /*****about us page***/
    .aboutfirstsection {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .secondsection {
        padding: 24px 0;
    }

    .about-content-four {
        padding-top: 34px;
    }

    .mission-vision h3 {
        font-size: 25px;
    }

    .objective-section h3 {
        font-size: 25px;
    }

    .objective-section {
        padding: 24px;
    }

    .goal-section {
        padding: 24px 0;
    }

    .goal-section h3 {
        padding-top: 38px;
    }

    /****chapters****/
    .card-text-address1 {
        position: absolute;
        top: 75px;
        width: 100%;
        padding: 9px;
        border-radius: 4px;
        overflow: hidden;
    }

    .card-text-address3 {
        color: #ffffff;
        margin: 0 5px 0 0;
    }

    .card-text-address0 {
        color: #ffffff;
        margin-right: 58px;
    }

    /****chapters close****/

    #imageModal .modal-dialog {
        width: 100% !important;
    }
}

@media only screen and (max-width: 767px) {
    .flex-box {
        width: 100%;
        max-width: 767px;
    }

    .team-block2-card1 img {
        height: 126px;
    }

    .team-block2-card1-p1 {
        font-size: 15px;
    }

    .modal-body img {
        width: 100%;
        height: auto;
        /* Maintain aspect ratio */
    }

    .team-block2-card1 {
        margin-bottom: 8px !important;
    }

    /****chapters****/
    .card-text-address1 {
        position: absolute;
        top: initial;
        bottom: 0px;
        width: 100%;
        padding: 9px;
        overflow: hidden;
    }

    .card-text-address3 {
        color: #ffffff;
        margin: 0 5px 0 0;
    }

    .card-text-address0 {
        color: #ffffff;
        margin-right: 8px;
    }

    .eys-icon {
        position: absolute;
        top: 55%;
        left: 83%;
    }

    .model-title-main .Midsummer_maintitle {
        line-height: 35px;
        font-size: 28px;
        padding-top: 35px !important;
    }

    /****chapters close****/
}

@media only screen and (max-width: 600px) {

    /*****home slider ***********/
    .home-main-slider .carousel-inner img {
        width: 100%;
        height: revert-layer;
    }

    .home-main-slider .main-heading {
        font-size: 48px;
        line-height: 35px;
    }

    .home-main-slider .conference {
        font-size: 48px;
        line-height: 61px;
    }

    .home-main-slider .psim-bottom-heading {
        font-size: 18px;
    }

    .home-main-slider .img-text {
        padding: 0 0 0 40px;
    }

    .footer-logo-image {
        width: 60%;
        margin-bottom: 30px;
    }

    .footer-quick {
        margin-bottom: 36px;
    }

    h3.footer-heading {
        margin-top: 0;
    }

    .team-block2-card1 .img-fluid {
        height: 100%;
    }

    .team-block2-card1 .col-6.col-sm-12.col-md-4.col-lg-7 {
        padding-right: 4px;
    }

    .home-main-slider .carousel-inner img {
        height: 600px;
    }

    .home-main-slider .psim-top-heading {
        font-size: 18px;
        line-height: 16.44px;
    }

    .home-main-slider .main-heading {
        font-size: 56px;
        margin: 28px 0;
    }

    .home-main-slider .conference {
        font-size: 50px;
    }

    .home-main-slider .psim-bottom-heading {
        font-size: 18px;
        margin: 26px 0 32px;
    }

    .home-main-slider .img-text {
        position: relative;
        bottom: 0;
        top: 86px;
    }

    .home-main-slider .carousel-caption {
        padding-top: 115px;
        padding-bottom: 115px;
        margin-left: 1px !important;
    }

    .home-main-slider button.register-btn {
        padding: 15px 12px;
    }

    .swiper-horizontal {
        overflow: hidden !important;
        width: 85%;
        margin: 0 auto;
    }

    .swiper-pagination {
        margin-top: 10px;
        position: relative !important;
    }

    .upevent .card-heading {
        font-size: 24px;
    }

    .upevent .card-text {
        font-size: 13px;
        line-height: 15px;
    }

    .card-text-address {
        font-size: 13px;
        margin-top: 16px;
    }

    .background-image-1-heading {
        font-size: 22px;
    }

    .latest-blog {
        font-size: 18px;
    }

    .blog-veiw-more-button a {
        font-size: 18px;
    }

    .blogheading {
        padding: 88px 26px 13px;
    }

    span.swiper-pagination-bullet.swiper-pagination-bullet-active {
        background-color: #ffc119;
    }

    span.swiper-pagination-bullet {
        background-color: #6b6b6b;
    }

    .upevent .card-body5 {
        padding-bottom: 17px;
    }

    .upevent .card-body5 {
        padding-bottom: 17px;
    }

    .latestblog .swiper-pagination {
        margin-top: 30px;
    }

    .lectures-slider-container .swiper-pagination {
        margin-top: 32px;
    }

    section.subscibe-section {
        background: #f2f2f2;
        padding: 60px 0;
    }

    .footer {
        background-color: #221b16;
        padding: 31px 5px 0px 5px;
    }

    .team-block2-card1 .card-body5 {
        padding: 6px 0 0;
    }

    .team-block2-card1 {
        margin-bottom: 8px !important;
    }

    .team-card1-body {
        text-align: center;
        padding-bottom: 0px !important;
    }

    .footer-left-section {
        width: 80%;
    }

    .footer-social-icon {
        list-style: none;
        padding: 0;
        position: absolute;
        top: 10px;
        right: 0px;
    }

    /***** Gallery Page *******/
    .pagetitle .title-heading {
        font-size: 23px;
    }

    .breadum-container .breadummenu {
        line-height: 22px;
        margin-top: 10px;
    }

    .breadum-container {
        display: flex;
        padding: 23px 39px 36px;
        height: 150px;
        align-items: flex-start;
        flex-direction: column;
    }

    .container-heading {
        font-size: 25px;
    }

    .homegallery .img-container img {
        height: auto;
    }

    /*****about us page***/
    .aboutfirstsection {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .secondsection {
        padding: 24px 0;
    }

    .about-content-four {
        padding-top: 34px;
    }

    .mission-vision h3 {
        font-size: 25px;
    }

    .objective-section h3 {
        font-size: 25px;
    }

    .objective-section {
        padding: 24px;
    }

    .goal-section {
        padding: 24px 0;
    }

    .goal-section h3 {
        padding-top: 38px;
    }

    /****felloship****/
    .fellowship-section .fl-heading {
        font-size: 27px;
    }

    .fellowship-section {
        padding: 0 9px;
    }

    .fellowship-section-accorditon {
        padding: 0 22px;
    }

    /****chapters****/
    .card-text-address1 {
        position: absolute;
        top: initial;
        bottom: 0px;
        width: 100%;
        padding: 9px;
        overflow: hidden;
    }

    .card-text-address3 {
        color: #ffffff;
        margin: 0 5px 0 0;
    }

    .card-text-address0 {
        color: #ffffff;
        margin-right: 8px;
    }

    .form_group {
        margin-bottom: 10px;
    }

    /****chapters close****/


    /* Addition Css Fixes */


    #swiper-carousel-control-next,
    #swiper-carousel-perv {
        max-width: 35px;
        min-width: 35px;
        height: 35px;
    }

    #signupModal .modal-dialog {
        max-width: 90%;
        height: 100vh;
        margin: 80px auto;
        /* overflow: auto; */
    }

    #modal-content-otp {
        width: 100%;
    }

    .OTP-Main {
        border: none;
    }

    .OTP {
        height: 35vh;
    }

    #signupModal .modal-dialog .modal-header {
        justify-content: end;
    }

    #signupModal .modal-dialog .modal-header .close {
        margin: 0;
        padding: 0;
    }

    .Midsummer_btn {
        text-align: center;
    }

    .rich-content .secondsection .container .row {
        flex-direction: column-reverse !important;
    }

    .rich-content .goal-section .container .row {
        flex-direction: column-reverse !important;
    }

    /* Convert table to non-table display */
    .MidsummerShip-table,
    .MidsummerShip-table thead,
    .MidsummerShip-table tbody,
    .MidsummerShip-tr,
    .MidsummerShip-table th,
    .MidsummerShip-table td {
        display: block;
    }

    /* Hide table headers */
    .MidsummerShip-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    /* Create a card-like appearance for each row */
    .MidsummerShip-table tbody {
        gap: 20px;
        display: grid;
    }

    .MidsummerShip-table tbody tr {
        border: 1px solid #ddd;
        display: inherit;
        background: white;
    }

    /* Style each cell as a row with label */
    .MidsummerShip-table td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        text-align: left;
    }

    /* Add labels for each cell */
    .MidsummerShip-table td:before {
        position: absolute;
        top: 0.75rem;
        left: 0.75rem;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: bold;
        content: attr(data-label);
    }

    /* Add data labels for each column */
    .MidsummerShip-table tbody tr td:nth-of-type(1):before {
        content: "S.No";
    }

    .MidsummerShip-table tbody tr td:nth-of-type(2):before {
        content: "Full Name";
    }

    .MidsummerShip-table tbody tr td:nth-of-type(3):before {
        content: "Designation";
    }

    .MidsummerShip-table tbody tr td:nth-of-type(4):before {
        content: "Institute";
    }

    .MidsummerShip-table tbody tr td:nth-of-type(5):before {
        content: "Membership Status";
    }

    /* Search and pagination adjustments */
    .search-bar {
        width: 100%;
        margin-bottom: 1rem;
    }

    .fellowship-accorditon-icon {
        display: flex;
        justify-content: center;
        margin-bottom: 0.5rem;
    }

    .pagination-btn {
        margin: 0 0.5rem;
        font-size: 1.5rem;
    }

    .first-flex-set-margin {
        margin-right: 0px;
    }

    .text-truncate {
        text-overflow: unset;
        white-space: unset;
        line-height: 22px;
    }

    #down-angle {
        right: 0px;
    }

    .navigationLeft {
        width: 5.0rem;
    }

    #navigationLeft-time {
        font-size: 14px;
    }

    .navigationLeft-flex {
        gap: 10px !important;
    }

    .subscibe-section-box-row {
        margin-top: 15px;
    }

    .margin-top-3-class {
        margin-top: 0;
    }

    .margin-bottom-mobile-8 {
        margin-bottom: 8px;
    }
}

@media only screen and (max-width: 575px) {
    .top-right-menu .nav-link {
        font-size: 14px;
    }

    .top-left-item li .emailid span {
        font-size: 14px;
    }

    .top-left-item li a {
        font-size: 14px;
    }

    .home-main-slider .main-heading {
        font-size: 47px;
        margin: 17px 0;
    }

    .home-main-slider .conference {
        font-size: 47px;
    }

    .veiw-more-button .text-white {
        font-size: 20px;
        position: relative;
        bottom: 5px;
    }

    .background-image-1-heading {
        font-size: 20px;
    }

    .upevent .card-heading {
        font-size: 23px;
        line-height: 29px;
    }

    .background-image-1-content {
        padding: 0 27px;
    }

    .container-heading {
        font-size: 25px;
    }

    .background-image-1-content {
        padding: 0 39px;
    }

    .homegallery .img-container img {
        height: 100%;
    }

    .home-main-slider .psim-bottom-heading {
        margin: 26px 36px 32px 0;
    }

    .team-block2-card1.card-left-bottom .img-fluid {
        height: 136px;
    }

    /****chapters****/
    .card-text-address1 {
        position: absolute;
        top: initial;
        bottom: 0px;
        width: 100%;
        padding: 9px;
        overflow: hidden;
    }

    .card-text-address3 {
        color: #ffffff;
        margin: 0 5px 0 0;
    }

    .card-text-address0 {
        color: #ffffff;
        margin-right: 8px;
    }

    /****chapters close****/
}

@media only screen and (max-width: 523px) {
    .team-card1-body-text1 {
        font-size: 18px;
        margin-top: 10px;
    }

    /****chapters****/
    .card-text-address1 {
        position: absolute;
        top: initial;
        bottom: 0px;
        width: 100%;
        padding: 9px;
        overflow: hidden;
    }

    .card-text-address3 {
        color: #ffffff;
        margin: 0 5px 0 0;
    }

    .card-text-address0 {
        color: #ffffff;
        margin-right: 8px;
    }

    /****chapters close****/
}

@media only screen and (max-width: 473px) {
    .home-main-slider .main-heading {
        font-size: 27px;
        margin: 3px 0;
    }

    .team-block2-card1.card-left-bottom .img-fluid {
        height: auto;
    }

    .team-block2-card1 {
        margin-bottom: 11px !important;
    }

    .home-main-slider .conference {
        font-size: 27px;
    }

    .home-main-slider .psim-top-heading {
        line-height: 23.44px;
    }

    .header-logo img {
        width: 170px;
        padding: 5px 0;
    }

    .tablist-gallery {
        padding: 30px 0 30px 0 !important;
    }

    .top-right-menu .nav-link {
        font-size: 17px;
    }

    .top-left-item li .emailid span {
        font-size: 17px;
    }

    .top-left-item li a {
        font-size: 17px;
    }

    .top-header .col-3.col-sm-4.col-md-6.col-lg-7 {
        padding: 0;
    }

    .team-block2-card1 .img-fluid {
        height: 100%;
    }

    .card-left .col-6.col-sm-6.col-md-6.col-lg-4 {
        padding: 0;
    }

    .card-left .card-body5 {
        padding: 4px 0 0 11px !important;
    }

    .card-left .card-body5 {
        padding: 4px 0 0 11px !important;
    }

    .team-block2-card1-p1 {
        font-size: 11px;
    }

    .veiw-more-button .text-white {
        font-size: 18px;
        position: relative;
        bottom: 5px;
    }

    .background-image-1-heading {
        font-size: 18px;
    }

    .upevent .card-heading {
        font-size: 21px;
        line-height: 29px;
    }

    .background-image-1-content {
        padding: 0 27px;
    }

    .container-heading {
        font-size: 29px;
    }

    .homegallery .img-container img {
        height: 100%;
    }

    .team-card1-body-text1 {
        font-size: 17px;
        margin-top: 13px;
    }

    .team-block2-card1-p2 {
        font-size: 13px;
    }

    /****chapters****/
    .card-text-address1 {
        position: absolute;
        top: initial;
        bottom: 0px;
        width: 100%;
        padding: 9px;
        overflow: hidden;
    }

    .card-text-address3 {
        color: #ffffff;
        margin: 0 5px 0 0;
    }

    .card-text-address0 {
        color: #ffffff;
        margin-right: 8px;
    }

    .team-card1-body {
        text-align: center;
        padding-bottom: 0px !important;
    }

    .eys-icon {
        position: absolute;
        top: 57%;
        left: 83%;
    }

    /****chapters close****/
}

@media only screen and (max-width: 436px) {
    .team-block2-card1-p2 {
        font-size: 13px;
    }

    .team-card1-body-text1 {
        font-size: 15px;
        margin-top: 6px;
    }

    /****chapters****/
    .card-text-address1 {
        position: absolute;
        top: 50px;
        width: 100%;
        padding: 9px;
        overflow: hidden;
    }

    .card-text-address3 {
        color: #ffffff;
        margin: 0 5px 0 0;
    }

    .card-text-address0 {
        color: #ffffff;
        margin-right: 30px;
    }

    .header_Main_Text_2 {
        font-size: 14px;
    }

    .team-card1-body {
        text-align: center;
        padding-bottom: 27px !important;
    }

    .tablist-gallery {
        padding: 30px 0 30px 0 !important;
    }

    .eys-icon {
        position: absolute;
        top: 57%;
        left: 83%;
    }

    /****chapters close****/
}

@media only screen and (max-width: 412px) {
    .top-right-menu .nav-link {
        font-size: 13px;
    }

    .top-left-item li .emailid span {
        font-size: 13px;
    }

    .top-left-item li a {
        font-size: 13px;
    }

    .veiw-more-button .text-white {
        font-size: 16px;
        position: relative;
        bottom: 5px;
    }

    .tablist-gallery {
        padding: 30px 0 30px 0 !important;
    }

    .background-image-1-heading {
        font-size: 16px;
    }

    .upevent .card-heading {
        font-size: 14px;
        line-height: 20px;
    }

    .background-image-1-content {
        padding: 0 27px;
    }

    .container-heading {
        font-size: 29px;
    }

    .homegallery .img-container img {
        height: 100%;
    }

    .team-block2-card1-p1 {
        font-size: 13px;
        padding-right: 5px;
    }

    .home-main-slider .psim-top-heading {
        margin-right: 25px;
    }

    .home-main-slider .learn-more-link {
        margin-left: 10px;
    }

    .team-card1-body-text1 {
        font-size: 14px;
        margin-top: 3px;
    }

    .team-block2-card1-p2 {
        font-size: 13px;
    }

    .team-card1-body-text2 {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .team-block2-card1 {
        margin-bottom: 8px !important;
    }

    .team-card1-body {
        text-align: center;
        padding-bottom: 0px !important;
    }

    /****chapters****/
    .card-text-address1 {
        position: absolute;
        top: initial;
        bottom: 0px;
        width: 100%;
        padding: 9px;
        overflow: hidden;
    }

    .card-text-address3 {
        color: #ffffff;
        margin: 0 5px 0 0;
    }

    .card-text-address0 {
        color: #ffffff;
        margin-right: 8px;
    }

    .eys-icon {
        position: absolute;
        top: 57%;
        left: 83%;
    }

    /****chapters close****/
}

@media only screen and (max-width: 396px) {
    .team-block2-card1 {
        margin-bottom: 18px !important;
    }

    /****chapters****/
    .card-text-address1 {
        position: absolute;
        top: initial;
        bottom: 0px;
        width: 100%;
        padding: 9px;
        overflow: hidden;
    }

    .tablist-gallery {
        padding: 30px 0 30px 0 !important;
    }

    .card-text-address3 {
        color: #ffffff;
        margin: 0 5px 0 0;
    }

    .card-text-address0 {
        color: #ffffff;
        margin-right: 8px;
    }

    .team-card1-body {
        text-align: center;
        padding-bottom: 0px !important;
    }

    .eys-icon {
        position: absolute;
        top: 57%;
        left: 83%;
    }

    /****chapters close****/
}

@media only screen and (max-width: 396px) {
    .team-block2-card1 {
        margin-bottom: 8px !important;
    }

    /****chapters****/
    .card-text-address1 {
        position: absolute;
        top: initial;
        bottom: 0px;
        width: 100%;
        padding: 9px;
        overflow: hidden;
    }

    .tablist-gallery {
        padding: 30px 0 30px 0 !important;
    }

    .card-text-address3 {
        color: #ffffff;
        margin: 0 5px 0 0;
    }

    .card-text-address0 {
        color: #ffffff;
        margin-right: 8px;
    }

    .team-card1-body {
        text-align: center;
        padding-bottom: 0px !important;
    }

    .eys-icon {
        position: absolute;
        top: 57%;
        left: 83%;
    }

    /****chapters close****/
}

@media only screen and (max-width: 354px) {
    .team-block2-card1.card-left-bottom .img-fluid {
        height: 106px;
    }

    /****chapters****/
    .card-text-address1 {
        position: absolute;
        top: initial;
        bottom: 0px;
        width: 100%;
        padding: 9px;
        overflow: hidden;
    }

    .tablist-gallery {
        padding: 30px 0 30px 0 !important;
    }

    .card-text-address3 {
        color: #ffffff;
        margin: 0 5px 0 0;
    }

    .card-text-address0 {
        color: #ffffff;
        margin-right: 8px;
    }

    .header_Main_Text_2 {
        font-size: 11px;
    }

    .Accordion_time_Border {
        margin-top: 10px;
        border: 0.8px solid green;
        border-radius: 4px;
        padding: 7px 10px;
    }

    .header_Main_Text {
        font-size: 13px;
    }

    .Accordion_Box {
        gap: 2px;
    }

    .team-card1-body {
        text-align: center;
        padding-bottom: 0px !important;
    }

    .eys-icon {
        position: absolute;
        top: 57%;
        left: 83%;
    }

    /****chapters close****/
}

@media screen and (max-width: 768px) {
    .Accordion_time {
        padding: 20px;
    }

    .Accordion_Box {
        gap: 10px;
    }

    .Accordion_Span_Parg {
        font-size: 13px;
    }

    .Accordion_Box-1 {
        height: 40px;
    }

    .conferences-Health img {
        width: 100%;
    }

    .eys-icon {
        position: absolute;
        top: 55%;
        left: 83%;
    }
}

@media screen and (max-width: 480px) {
    .Accordion_time {
        padding: 10px;
    }

    .Accordion_Span {
        width: 10px;
        height: 10px;
    }

    .Accordion_Box-1 {
        height: 30px;
    }

    .tablist-gallery {
        padding: 30px 0 30px 0 !important;
    }

    .Accordion_Span_Parg {
        font-size: 13px;
    }

    .modal-dialog-login {
        max-width: 60%;
        width: auto;
        margin: 30px auto;
    }
}

/*  */

@media screen and (max-width: 992px) {
    .form_group {
        width: 50%;
    }

    .conferences-main-parg {
        font-size: 13px;
    }

    .modal-dialog-login {
        max-width: 60%;
        width: auto;
        margin: 30px auto;
    }
}

@media screen and (max-width: 474px) {
    .form_group {
        width: 100%;
    }

    .Registration_Btn {
        display: block;
    }

    .tablist-gallery {
        padding: 30px 0 30px 0 !important;
    }

    .Registration_Btn button {
        margin-bottom: 10px;
    }

    .conferences-main-p {
        display: block;
    }

    .subscibe-input-group {
        width: 100%;
    }

    .subscibe-input-search {
        border: 1px solid #ebb00e;
        width: 105%;
        border-radius: 5px 0px 0px 5px;
    }

    .Registrationabstract_Btn {
        padding: 4px 20px;
        display: grid;
        align-items: center;
        gap: 10px;
        margin-top: 20px;
    }

    .tablist-gallery li .nav-link {
        background: #fff !important;
        font-size: 17px;
        line-height: 23.44px;
        color: #121212;
        border: none;
        margin: 0 6px;
        border-radius: 5px;
    }

    .tablist-gallery li .nav-link.active {
        background: #ffc119 !important;
        font-size: 17px;
        line-height: 23.44px;
        color: #000;
        border: none;
        font-weight: 400;
    }

    .Midsummer_icon {
        font-size: 13px;
    }

    .tablist-gallery {
        padding: 51px 0 40px 0;
    }

    .modal-dialog-login {
        max-width: 60%;
        width: auto;
        margin: 30px auto;
    }

    .img-thumbnail {
        width: 100%;
        /* height: 280px; */
        object-fit: cover;
        object-position: center;
    }
}

@media screen and (max-width: 374px) {
    .Midsummer_btn button {
        font-size: 14px;
    }

    .button-container.team-view-more-button {

        display: none;
    }

    .tablist-gallery {
        padding: 84px 0 0px 0 !important;
        margin-right: 19px;
    }

    .Registrationabstract_Btn {
        padding: 4px 20px;
        display: grid;
        align-items: center;
        gap: 10px;
        margin-top: 20px;
    }

    .tablist-gallery li .nav-link {
        background: #fff !important;
        font-size: 17px;
        line-height: 23.44px;
        color: #121212;
        border: none;
        margin: 0 6px;
        border-radius: 5px;
    }

    .tablist-gallery li .nav-link.active {
        background: #ffc119 !important;
        font-size: 17px;
        line-height: 23.44px;
        color: #000;
        border: none;
        font-weight: 400;
    }

    .Midsummer_icon {
        font-size: 13px;
    }

    .tablist-gallery {
        padding: 51px 0 0 0;
    }

    .team-card1-body {
        text-align: center;
        padding-bottom: 0px !important;
    }

    .gallery-section-toggle-image {
        display: none;
        align-items: center;
        border: 1px solid #f39c12;
        border-radius: 4px;
        justify-content: center;
        /* gap: 1px; */
    }

    .modal-dialog-login {
        max-width: 60%;
        width: auto;
        margin: 30px auto;
    }

    .img-thumbnail {
        width: 100%;
        /* height: 280px; */
        object-fit: cover;
        object-position: center;
    }


}

@media screen and (max-width: 992px) {
    .OurTeam-team-title {
        font-size: 13px;
        text-align: center;
        line-height: 18px;
    }

    .OurTeam-team-2-prag {
        font-size: 13px;
        line-height: 15px;
        text-align: center;
    }

    .dspy {
        display: none;
    }

    .button-container.team-view-more-button {

        display: none;
    }

    .modal-dialog-login {
        max-width: 60%;
        width: auto;
        margin: 30px auto;
    }

}

@media screen and (max-width: 767px) {
    .gallery-section-toggle {
        width: 50px;
        height: 30px;
    }

    .button-container.team-view-more-button {

        display: none;
    }

    .dspy {
        display: none;
    }

    .modal-dialog-login {
        max-width: 60%;
        width: auto;
        margin: 30px auto;
    }

    .Midsummer_maintitle {
        padding-top: 0px;
    }

    .Registration_Btn.apply-btn {
        padding: 10px 0 10px 0;
    }
}

@media screen and (max-width: 576px) {

    /* .OurTeam-container-block {
        display: none;
    } */
    .OurTeam-section {
        padding: 20px 0px;
    }

    .OurTeam-container {
        padding: 0px;
    }

    .OurTeam-team-title {
        font-size: 13px;
    }

    .OurTeam-team-2-prag {
        font-size: 11px;
    }

    .gallery-section-toggle-image {
        display: none;
    }

    .button-container.team-view-more-button {

        display: none;
    }

    .modal-dialog-login {
        max-width: 60%;
        width: auto;
        margin: 30px auto;
    }

    div#OurTeam-col {
        padding: 0;
    }
}

@media screen and (max-width: 474px) {
    .OurTeam-team-title {
        font-size: 16px;
    }

    .OurTeam-team-2-prag {
        font-size: 13px;
    }


    .tablist-gallery {
        padding: 30px 0 30px 0 !important;
        justify-self: center;
        justify-content: center !important;
    }

    .tablist-gallery5 {
        padding: 34px 0 0px 0 !important;
        margin-right: 0;
    }

    .tablist-gallery5 li .nav-link {
        background: #fff !important;
        font-size: 17px;
        line-height: 23.44px;
        color: #121212;
        border: none;
        margin: 0 6px;
        border-radius: 5px;
    }

    .tablist-gallery5 li .nav-link.active {
        background: #ffc119 !important;
        font-size: 17px;
        line-height: 23.44px;
        color: #000;
        border: none;
        font-weight: 400;
    }

    .tablist-gallery5 {
        padding: 51px 0 40px 0;
    }

    div#OurTeam-col {
        padding: 0;
    }

    .team-card1-body {
        text-align: center;
        padding-bottom: 0px !important;
    }

    .gallery-section-toggle-image {
        display: none;
        align-items: center;
        border: 1px solid #f39c12;
        border-radius: 4px;
        justify-content: center;
        /* gap: 1px; */
    }

    .button-container.team-view-more-button {

        display: none;
    }

    .modal-dialog-login {
        max-width: 60%;
        width: auto;
        margin: 30px auto;
    }
}

@media screen and (max-width: 447px) {
    .OurTeam-team-2 {
        font-size: 13px;
    }

    .team-card1-body {
        text-align: center;
        padding-bottom: 0px !important;
    }

    .dspy {
        display: none;
    }

    .gallery-section-toggle-image {
        display: none;
        align-items: center;
        border: 1px solid #f39c12;
        border-radius: 4px;
        justify-content: center;
        /* gap: 1px; */
    }

    .button-container.team-view-more-button {

        display: none;
    }

    .modal-dialog-login {
        max-width: 60%;
        width: auto;
        margin: 30px auto;
    }

    .psim-partners-section {
        gap: 20px;
        padding-bottom: 20px;
    }

    .psim-partners-box {
        max-width: 100%;
        width: 100%;
    }

    .Midsummer_divider {
        margin-bottom: 0px;
    }

}

/* Slider  */
/* For screens larger than 767px, show normal grid */
@media (min-width: 768px) {
    .slider-container {
        display: none;
    }

    .none {
        display: none;
    }

    .modal-dialog-login {
        max-width: 30%;
        width: auto;
        margin: 30px auto;
    }
}

/* For screens 767px and smaller, show slider */
@media (max-width: 992px) {
    #sildercontainer_box #normal-content {
        display: none;
    }

    .slider-container {
        display: block;
    }

    .carousel {
        display: block;
    }

    .mfp-gallery .mfp-figure figure img {
        max-width: 990px;
    }

    .button-container.team-view-more-button {

        display: none;
    }

    #display-none {
        display: none;
    }

    .modal-dialog-login {
        max-width: 60%;
        width: auto;
        margin: 30px auto;
    }
}

@media (max-width: 1199px) {
    .mfp-gallery .mfp-figure figure img {
        max-width: 780px;
    }
}

@media (max-width: 767px) {
    .mfp-gallery .mfp-figure figure img {
        max-width: 340px;
    }


    dis-block {
        display: none;
    }

    .modal-dialog-login {
        max-width: 60%;
        width: auto;
        margin: 30px auto;
    }
}


@media (max-width: 576px) {



    .h-100 {
        /* margin-top: 6px; */
        /*height: 90% !important;*/
    }

    .h-100 img {
        height: 60% !important;
    }


    .dspy {
        display: none;
    }

    .modal-dialog-login {
        max-width: 90%;
        width: auto;
        margin: 30px auto;
    }

}






/******  **********/
@media screen and (max-width: 1400px) {
    .modal-body-register {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        overflow: hidden;
        object-fit: contain;
        object-position: center;
    }
}

@media screen and (max-width: 1200px) {
    .mfp-arrow-left {
        left: 94%;
        top: 50%;
        transform: translateY(-880%);
    }

    /* Right arrow positioning */
    .mfp-arrow-right {
        left: 7px;
        top: 50%;
        transform: translateY(-950%);
    }

    #modal-content-login {
        width: 70%;
        background-color: white;
    }

    .modal-content-register {
        width: 70%;
        background-color: white;
    }

    .modal-body-register {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        overflow: hidden;
        object-fit: contain;
        object-position: center;
    }
}

@media screen and (max-width: 992px) {
    #modal-content-login {
        width: 80%;
        background-color: white;
    }

    .modal-content-register {
        width: 90%;
        background-color: white;
    }
}

@media screen and (max-width: 767px) {
    .mfp-arrow-left {
        left: 85%;
        top: 50%;
        transform: translateY(-500%);
    }

    /* Right arrow positioning */
    .mfp-arrow-right {
        left: 3px;
        top: 50%;
        transform: translateY(-600%);
    }
}


@media screen and (max-width: 800px) {
    .register-form {
        width: 50%;
    }

    #modal-content-login {
        width: 80%;
        background-color: white;
    }

    .modal-content-register {
        width: 100%;
        background-color: white;
    }
}

@media screen and (max-width: 620px) {
    .register-form {
        width: 70%;
    }

    #modal-content-login {
        width: 90%;
        background-color: white;
    }

    .modal-content-register {
        width: 90%;
        background-color: white;
    }
}

@media screen and (max-width: 474px) {
    .register-form {
        width: 100%;
    }

    #modal-content-login {
        width: 100%;
        background-color: white;
    }

    .modal-content-register {
        width: 100%;
        background-color: white;
    }

    .img-thumbnail {
        width: 100%;
        /* height: 280px; */
        object-fit: cover;
        object-position: center;
    }

    .eys-icon {
        position: absolute;
        top: 57%;
        left: 83%;
    }
}

/* OTP */
@media screen and (max-width: 670px) {
    .Verification-otp input {
        width: 50px;
        height: 55px;
        text-align: center;
        margin: 0 5px;
        font-size: 18px;
        border-radius: 4px;
    }
}

@media screen and (max-width: 474px) {

    .Verification-otp input {
        width: 40px;
        height: 55px;
        text-align: center;
        margin: 0 5px;
        font-size: 18px;
        border-radius: 4px;
    }

    .Verification-divider {
        position: absolute;
        bottom: 0px;
        left: 20%;
        top: 56%;
        width: 30px;
        height: 2px;
        background-color: #ffc119;
        margin: 10px 0 20px 0;
    }

    .img-thumbnail {
        width: 100%;
        height: 114px;
        object-fit: cover;
        object-position: center;
    }

    .eys-icon {
        position: absolute;
        top: 57%;
        left: 83%;
    }
}

@media screen and (max-width: 576px) {
    .MidsummerShip-tr th {
        font-size: 13px;
    }

    .MidsummerShip-tr td {
        font-size: 13px;
    }
}

@media screen and (max-width: 430px) {
    .MidsummerShip-tr th {
        font-size: 13px;
    }

    .MidsummerShip-tr td {
        font-size: 13px;
    }
}