@media (max-width:1250px) {

    .headerBottom .headerDetails {
        padding-left: 14px !important;
    }

    .headerBottom nav .navBar {
        gap: 10px;
    }

    .headerBottom .buttons {
        background: linear-gradient(116deg, rgba(255, 255, 255, 1) 15%, var(--color1) 15%);
        padding: 26px 48px;
        padding-right: 20px;
    }

    .headerBottom .buttons a {
        font-size: 16px !important;
    }
}


@media (max-width:1100px) {
    #newsEvents .right .imgContainer {

        max-height: 285px;
    }
}

@media (max-width:1150px) {
    .headerBottom .buttons {
        padding: 14px 48px;
        padding-right: 20px;
    }

    #toggleButton, #closeBtn {
        display: flex !important;
    }

    body.lock {
        overflow: hidden;
    }

    #closeBtn {
        position: absolute;
        top: 0;
        right: 0;
        height: 35px;
        width: 35px;
        background-color: var(--color1);
    }

    .mobileLogo {
        display: block !important;
    }

    .mobileLogo img {
        max-width: 200px;


    }

    .headerBottom nav .overlayContainer {
        /* overflow-y: scroll; */
        transform: scale(0);
        opacity: 0;
        position: absolute;
        top: 0;
        right: 0;
        height: 100vh;
        transition: opacity ease 1s;
        width: 100vw;
        background-color: rgba(0, 0, 0, 0.425);
        z-index: 5;
    }

    .headerBottom nav .navBar {
        overflow-y: scroll;
        padding: 0px !important;
        width: 350px;
        height: 100vh;
        margin-left: auto;
        background-color: rgb(0, 0, 0);
        flex-direction: column;
        gap: 0;
        transition: transform ease .3s;
        opacity: 0;
        transform-origin: right top;
        transform: scale(0);
    }

    .headerBottom nav .overlayContainer.show {
        opacity: 1;
        transform: scale(1);

    }

    .headerBottom nav .overlayContainer.show .navBar {
        opacity: 1;
        transform: scale(1);
    }

    .headerBottom nav .navBar .navItem {
        padding: 0px;
    }

    .headerBottom nav .navBar .navItem:hover {
        background-color: #141414;

    }

    .headerBottom nav .navBar .navLink {
        padding: 10px 32px !important;
        padding: 0px;
        color: white !important;
        display: block;
    }

    /* drop down menu */
    .headerBottom .dropDownMenu {
        position: static !important;
        width: 100%;
        max-height: 0px;
        overflow: hidden;
        transition: all ease-in-out .5s;
    }

    .headerBottom .dropDownMenu li {
        border: 0 !important;

    }

    .headerBottom .dropDownMenu li a {
        background-color: rgb(29, 29, 29) !important;
        color: white !important;
        padding: 8px 32px !important;
        font-size: 14px;

    }

    .headerBottom .dropDownMenu li:hover a {
        background-color: #141414 !important;
    }

    .headerBottom nav .navBar .navItem:hover .dropDownMenu {
        max-height: 2000px;
    }

    #newsEvents .right .buttons {
        margin-right: 0px !important;
    }
}

@media (max-width:992px) {

    #newsEvents .right .imgContainer,
    #newsEvents .right .imgContainer img {

        max-height: 280px;

    }

    #newsEvents .left {
        max-height: 240px;
    }

    #newsEvents .right .buttons {
        margin-right: 0px !important;
    }

    #newsEvents .right .buttons a {
        text-align: center !important;
    }

    #newsEvents .right .buttons a:last-child {
        padding-right: 26px;
    }

    #newsEvents .nursingPanel .title {
        background: var(--color2);


    }

    #newsEvents .right .buttons a:last-child {
        background: linear-gradient(65deg, white 10%, var(--color1) 10%);
    }

    #newsEvents .right .buttons a:first-child {
        background: linear-gradient(68deg, var(--color2) 90%, white 90%);
    }


    /* media query (768) for small screen desktop - laptops */
    @media (max-width:768px) {
        #newsHighlight {
            padding: 8px 16px;
            max-width: 350px;
        }

        #newsHighlight::before {
            left: -40px;

            border-bottom: 20px solid var(--color1);
            border-right: 20px solid var(--color1);
            border-left: 20px solid transparent;
            border-top: 20px solid transparent;

        }

        #newsEvents .left ul li {
            flex-direction: column;
            align-items: flex-start !important;
        }

        #newsEvents .left ul li span::before {
            display: none;

        }

        #newsEvents .left ul li span {

            width: max-content;
            margin-top: 10px;
            margin-right: auto;
        }

        .sectionHeading h2 {
            font-size: 26px !important;
            background: linear-gradient(118deg, var(--color2) 70%, white 40%);
        }

        #newsEvents .right .imgContainer,
        #newsEvents .right .imgContainer img {

            max-height: 160px;
            overflow: hidden;

        }

        #links .headings:first-child .sectionHeading h2 {
            padding-left: 30px;
        }

        #links ul {
            padding-inline: 25px;
        }

        #links .headings:first-child .sectionHeading h2,
        #links .headings:last-child .sectionHeading h2 {
            background: var(--color2);

        }

        #links .headings:last-child .sectionHeading h2 {
            padding-left: 30px;
        }

        #pageSlide .overlay {
            padding-left: 15px !important;
        }

        .breadcrumbNav {
            left: 16px;
        }

        #newsEvents .left {
            overflow-y: scroll;
        }

        #about .mainBox .imgContainer {
            height: 255px;
        }
    }

    /* media query (576) for tablate n other high resolution mobiles */
    @media (max-width:576px) {
        #header .headerBottom .logo img {
            width: 150px;
        }

        .headerBottom .buttons {
            padding-right: 12px;
            gap: 12px;
        }

        #header .headerTop .left {
            flex-grow: 1;
            justify-content: space-between !important;
        }

        #header .headerTop .left a {
            border: none !important;
        }

        #newsEvents .right .buttons a {
            padding: 10px 55px;

        }

        .headerBottom .buttons a {
            font-size: 14px !important;
        }

        .headerBottom .buttons span {
            font-size: 24px !important;
        }

        #slider .imgContainer {
            height: 220px;
        }

        #newsHighlight {
            font-size: 14px;
            padding: 8px 16px;
            max-width: 250px;
        }

        #newsHighlight::before {
            left: -35px;

            border-bottom: 19px solid var(--color1);
            border-right: 18px solid var(--color1);
            border-left: 18px solid transparent;
            border-top: 18px solid transparent;

        }

        #newsEvents .profileBox .name p {
            font-size: 14px !important;
        }

        #newsEvents .right .imgContainer {
            max-height: 160px;
        }

        #newsHighlight {
            min-width: max-content;
        }

        #pageSlide .imgContainer {
            max-height: 200px;

        }

        #pageSlide h1 {
            font-size: 38px;
        }

        .breadcrumbNav li, .breadcrumbNav a {
            font-size: 16px !important;
        }
  


    }

    /* media query (420) for mobiles screen  */
    @media (max-width:450px) {
        #newsEvents .right .buttons a {
            font-size: 16px !important;
        }

        #newsEvents .right .buttons a {
            padding: 10px 23px !important;
        }

        #newsEvents .right .buttons a:first-child {
            padding-left: 22px !important;
        }

        #newsEvents .right .buttons a:last-child {

            background: linear-gradient(65deg, white 10%, var(--color1) 10%);
        }
              #about .mainBox {
  flex-direction:column;
}
    }