@media only screen and (min-width: 1920px) {
    .yellow-background1 {
        background: #4e030b;
        padding: 3px 0;
    }

    .sb2 {
        background-image: url(../image/rie1.jpg);
        background-size: 4%;
        background-repeat: repeat-x;
        height: 27px;
    }

    .sb8 {
        background-image: url(../image/sb6.jpg);
        background-size: 6%;
        background-repeat: repeat-x;
        height: 40px;
        transform: rotate(180deg);
    }

    .sb6 {
        background-image: url(../image/sb6.jpg);
        background-size: 6%;
        background-repeat: repeat-x;
        height: 40px;
    }
}







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

    .left-side-top {
        width: 80%;
        /* border: 1px solid; */
        display: none;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
    }

    .right-side-top {
        display: flex;
        width: 100%;
        justify-content: space-around;
        align-items: center;
        font-size: 0.825rem;
        color: #ffffff;
        /* font-weight: bold; */
        gap: 30px;
    }

    .sb2 {
        background-image: url(../image/rie1.jpg);
        background-size: 14%;
        background-repeat: repeat-x;
        height: 26px;
    }

    .main-header {
        width: 100%;
        display: flex;
        /* border: 1px solid red; */
        flex-wrap: nowrap;
        align-content: center;
        justify-content: space-between;
        align-items: center;
        position: relative;
        /* background: url(../image/back.png); */
        /* height: 6.2rem; */
        padding: 5px 0;
        flex-direction: column;
    }

    .middle-text {
        width: 100%;
        /* padding-right: 8rem; */
        /* border: 1px solid; */
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-left: 10px;
    }

    .last-icons {
        width: 100%;
        display: flex;
        /* border: 1px solid; */
        align-content: center;
        flex-wrap: nowrap;
        /* padding: .31rem; */
        justify-content: flex-end;
        align-items: center;
    }

    .ncert-logo {
        width: 330px;
    }

    .left-logo {
        width: 12%;
    }

    .i75logo {
        display: none;
    }

    .last-icons {
        width: 100%;
        display: flex;
        /* border: 1px solid; */
        align-content: center;
        flex-wrap: nowrap;
        /* padding: .31rem; */
        justify-content: center;
        align-items: center;
    }

    .navbar-toggler {
        padding: 0.15rem .75rem !important;
        font-size: .85rem !important;
        line-height: 1;
        background-color: #ffffff !important;
        color: black !important;
        border: 1px solid transparent;
        border-radius: .25rem;
    }

    .navbar {
        background: var(--main-color);
        padding: 5px !important;
        /* border-bottom: 2px solid var(--main-color); */
        /* border-top: 2px solid var(--main-color); */
        box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    }

    .navbar {
        position: relative;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-pack: justify;
        justify-content: space-between;
        padding: .5rem 1rem;
        background-image: url(../image/pCopy.png);
        /* position: absolute; */
        /* z-index: 999; */
        background-size: 53px;
        background-repeat: repeat-x;
    }

    .left-news-box {
        width: 27%;
        padding: 5px 3px;
        text-align: center;
        background-color: #30408d;
        position: relative;
        font-weight: normal;
        color: white;
        font-size: .8rem;
    }

    .quick-linkss {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        align-items: center;
        margin-top: 20px;
        row-gap: 15px;
    }

    .tab-content>.tab-pane {
        background: #f5f5ff;
        border: 3px solid var(--main-color2);
        /* padding: 1.1rem; */
        height: 460px;
        overflow-y: scroll;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
        display: none;
        border-radius: 0px 0px 10px 10px;
    }

    .tab-content>.tab-pane li {
        padding: .3rem 1rem;
        border-bottom: 1px dotted #767676;
    }

    .timeline a {
        width: 90%;
        /* border: 1px solid; */
        display: flex;
        color: #000000;
        flex-wrap: wrap;
        align-content: center;
        justify-content: flex-start;
        line-height: 1rem;
        font-size: .9rem;
        text-align: left;
    }

    .sb8 {
        background-image: url(../image/sb6.jpg);
        background-size: 14%;
        background-repeat: repeat-x;
        height: 35px;
        transform: rotate(180deg);
    }

    .sb6 {
        background-image: url(../image/sb6.jpg);
        background-size: 14%;
        background-repeat: repeat-x;
        height: 35px;
    }

    .main-foter {
        display: flex;
        width: 100%;
        /* border: 1px solid white; */
        justify-content: space-evenly;
        flex-direction: column;
    }

    .left-f {
        width: 100%;
        /* border: 1px solid rgb(146, 255, 73); */
    }

    .middle-f {
        width: 100%;
        /* border: 1px solid rgb(146, 255, 73); */
    }

    .right-f {
        width: 100%;
        /* border: 1px solid rgb(146, 255, 73); */
    }

    .main-footer-white {
        width: 100%;
        height: 100%;
        padding: 0;
    }

    .footers {
        padding-top: 1rem;
        background: none;
        background-size: 100%;
    }

    .real-footer {
        background: var(--active-color2);
        display: flex;
        justify-content: space-around;
        font-size: 0.77rem;
        font-weight: bold;
        color: #000000;
        flex-direction: column;
        align-items: center;
    }

    .odia {
        font-size: 1.3rem;
        font-weight: normal;
        margin: 0;
    }

    .hindi {
        font-size: 1.3rem;
        margin: 2px 0 0 0;
        font-weight: normal;
    }

    .english {
        font-size: 1.2rem;
        /* font-weight: bold; */
        margin: 0;
    }
    .middle-f2{
        width: 100%;
        padding-left: 0;
    }
    .quick-links {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: fit-content;
}
.heading-footer {
    display: flex;
    width: 100%;
    align-items: center;
    margin-bottom: 5px;
    gap: 10px;
    flex-direction: column;
}.heading-footer h3 {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}.address {
    font-size: 14px;
    font-weight: normal;
    text-align: center;
}.single-f {
    text-decoration: none;
    width: 45%;
    border: 2px solid var(--main-color2);
    border-radius: 5px;
    overflow: hidden;
    padding: 5px;
    background-color: var(--light-background);
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    transition: 0.4s ease;
}.main-f {
    /* border: 1px solid red; */
    padding: 0.3rem 0;
    width: 100%;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    gap: 10px;
}
}