
@media screen and (min-width:150px) and (max-width:992px) {
    .header li a {
        padding: 12px 15px;
        color: #fff;
    }

    .top-nav {
        border: none !important;
    }

    .form-banner {
        padding: 8px 0px;
    }

    .sidenav:after {
        content: "";
        position: absolute;
        left: 107px;
        background: url(../images/menu-vector.png) no-repeat;
        height: 151px;
        background-size: contain;
        width: 301px;
        top: 0;
    }

    .sub {
        position: relative;
    }

    .header {
        display: block;
    }

    .admission_enquiry h2 {
        margin-top: 15px;
    }

    .request {
        margin-bottom: 20px;
    }

    .hide {
        display: block;
    }

    .right-side {
        float: none;
    }

    .dropdoqwn2 {
        display: none;
        position: relative !important;
        left: 0 !important;
        width: 100%;
        margin-top: 0px;
        box-shadow: none !important;
    }

    .megamenu li a {
        padding: 4px 0px !important;
        text-transform: capitalize;
        color: #222;
    }

    .headerlist {
        padding: 0px 6px;
    }

    .megamenu strong {
        padding-top: 10px;
        margin-bottom: 5px;
        font-size: 16px;
    }

    .dropdoqwn {
        display: none;
        position: relative !important;
        width: 100%;
        margin-top: 0px;
        box-shadow: none !important;
    }

    .dropdoqwn2 {
        display: none;
        position: relative;
    }

    #sub {
        position: absolute;
        right: 0;
        margin-top: 0;
        z-index: 99999;
        top: 16px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        width: 100%;
        height: 39px;
        top: 3px;
    }


    .dropdoqwn li a {
        font-size: 13px !important;
        padding: 6px 15px;
        color: #eba8a7;
        background: #911110;
    }

    .logo-part {
        display: none;
    }

    .header ul li {
        display: block;
    }
}

@media screen and (min-width:800px) {
    .header ul li:hover>ul {
        display: block;
    }

    .meg:hover .megmenupart {
        display: block !important;
    }

    .clientp {
        padding: 0px 58px !important;
    }

    .faicon {
        display: none;
    }
}

.active .type17 {
    transform: rotate(45deg);
    background-color: #222;
    transition: all 0.6s ease-in-out;
}

.active .type17:before {
    transform: translate(-4px, -6px) rotate(90deg);
}

.active .type17:after {
    transform: translate(16px, -7px) rotate(90deg);
}

.block {
    height: 38px;
    width: 38px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0px;
    /* transition: all 1s ease; */
    background-image: #222;
}

.cta {
    height: 50px;
    width: 50px;
    cursor: pointer;
}

.toggle-btn {
    height: 2px;
    width: 25px;
    background-color: #222;
    position: relative;
    top: 50%;
    left: 0;
    margin: auto;
    transition: all 0.3s ease-in-out;
}

.toggle-btn:before {
    content: "";
    height: 2px;
    width: 25px;
    box-shadow: 0 -10px 0 0 #222;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.3s ease-in-out;
}

.toggle-btn:after {
    content: "";
    height: 2px;
    width: 25px;
    box-shadow: 0 10px 0 0 #222;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.3s ease-in-out;
}

.type17:before {
    width: 12px;
}

.type17:after {
    width: 12px;
    box-shadow: 13px 10px 0 0 #222;
}

@media (max-width: 991.98px) {

    .search {
        height: auto;
        padding: 8px 9px !important;
        background-color: transparent;
    }

    .side1 {
        background: none !important;
        height: auto;
        margin-top: 0;
        width: auto;
        position: initial !important;
    }

    #newpost {
        display: none;
        position: absolute;
        width: 100% !important;
        background: #fff;
        min-height: 61px;
        right: 0 !important;
        top: 79px !important;
        height: 92% !important;
    }

    .about h1 {
        font-size: 32px;
    }

    .products h2 {
        font-size: 32px;
    }

    .panel {
        padding: 2rem 2rem;
    }

    .infrastructure h3 {
        font-size: 32px;
    }

    .login {
        padding: 0px 8px !important;
    }

    .lague {
        display: none !important;
    }

    .login span {
        display: none !important;
    }

    .one {
        display: none;
    }

    .search i {
        color: #333;
    }

    .search span {
        display: none !important;
    }

    .header-cen {
        padding: 10px 10px;
    }

    .top_area {
        display: none;
    }

    .header-new {
        position: relative;
    }

    .offcanvas-collapse {
        position: fixed !important;
        top: 78px !important;
        /* Height of navbar */
        bottom: 0;
        padding-bottom: 68px;
        right: 100%;
        width: 100% !important;
        height: 100% !important;
        z-index: 99999 !important;
        overflow-y: auto;
        visibility: hidden;
        background-color: #730100;
        transition: visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
        transition: transform .3s ease-in-out, visibility .3s ease-in-out;
        transition: transform .3s ease-in-out, visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
    }

    .offcanvas-collapse.open {
        visibility: visible;
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }

    .mystyle {
        width: 100%;
    }

    .form1 {
        display: none;
    }

    .megamenu {
        background-color: #fff;
        color: #444;
        border-radius: 0px;
        padding: 12px 22px;
        height: 295px;
        overflow-y: auto;
    }

    .megmenupart {
        position: relative !important;
    }

    .mobile_icons {
        display: block !important;
        position: absolute;
        right: 15px;
        z-index: 11;
        top: 16px
    }

    .mobile-logo {
        width: 117px;
        padding-top: 10px;
        padding-bottom: 10px;
        margin-left: 3px;
        position: absolute;
        left: 0;
        right: 0;
        margin: 0 auto;
        text-align: center;
    }

    .menu {
        position: absolute;
        right: 15px;
        top: 6px;
    }

    .top-section {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .topmenu {
        display: none;
    }

    .top-header {
        justify-content: center !important;
    }

    .top-header img {
        width: 210px;
    }

    .navbar-toggler {
        outline: none !important;
        box-shadow: none !important;
    }



    .back-to-top {
        display: none !important;
    }

    .header {
        width: 100%;
    }

    .side-right {

        text-align: center;
        width: 87%;
        margin-top: 13px;
        border-top: 1px solid #23507c;
        padding: 25px 7px;
        margin-left: auto;
        margin-right: auto;
    }
}

@-webkit-keyframes fadeInDown {
    from {
        opacity: 0;
        -webkit-transform: translatey(-10px);
        -moz-transform: translatey(-10px);
        -o-transform: translatey(-10px);
        transform: translatey(-10px);
    }

    to {
        opacity: 1;
        -webkit-transform: translatey(0);
        -moz-transform: translatey(0);
        -o-transform: translatey(0);
        transform: translatey(0);
    }
}

@-moz-keyframes fadeInDown {
    from {
        opacity: 0;
        -webkit-transform: translatey(-10px);
        -moz-transform: translatey(-10px);
        -o-transform: translatey(-10px);
        transform: translatey(-10px);
    }

    to {
        opacity: 1;
        -webkit-transform: translatey(0);
        -moz-transform: translatey(0);
        -o-transform: translatey(0);
        transform: translatey(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        -webkit-transform: translatey(-10px);
        -moz-transform: translatey(-10px);
        -o-transform: translatey(-10px);
        transform: translatey(-10px);
    }

    to {
        opacity: 1;
        -webkit-transform: translatey(0);
        -moz-transform: translatey(0);
        -o-transform: translatey(0);
        transform: translatey(0);
    }
}

.in-down {
    -webkit-animation-name: fadeInDown;
    -moz-animation-name: fadeInDown;
    -o-animation-name: fadeInDown;
    animation-name: fadeInDown;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    -o-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-duration: 1s;
    -moz-animation-duration: 1s;
    -o-animation-duration: 1s;
    animation-duration: 1s;
}


/** fadeInLeft **/

@-webkit-keyframes fadeInLeft {
    from {
        opacity: 0;
        -webkit-transform: translatex(-10px);
        -moz-transform: translatex(-10px);
        -o-transform: translatex(-10px);
        transform: translatex(-10px);
    }

    to {
        opacity: 1;
        -webkit-transform: translatex(0);
        -moz-transform: translatex(0);
        -o-transform: translatex(0);
        transform: translatex(0);
    }
}

@-moz-keyframes fadeInLeft {
    from {
        opacity: 0;
        -webkit-transform: translatex(-10px);
        -moz-transform: translatex(-10px);
        -o-transform: translatex(-10px);
        transform: translatex(-10px);
    }

    to {
        opacity: 1;
        -webkit-transform: translatex(0);
        -moz-transform: translatex(0);
        -o-transform: translatex(0);
        transform: translatex(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        -webkit-transform: translatex(-100px);
        -moz-transform: translatex(-100px);
        -o-transform: translatex(-100px);
        transform: translatex(-100px);
    }

    to {
        opacity: 1;
        -webkit-transform: translatex(0);
        -moz-transform: translatex(0);
        -o-transform: translatex(0);
        transform: translatex(0);
    }
}

.in-left {
    -webkit-animation-name: fadeInLeft;
    -moz-animation-name: fadeInLeft;
    -o-animation-name: fadeInLeft;
    animation-name: fadeInLeft;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    -o-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-duration: 1s;
    -moz-animation-duration: 1s;
    -o-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-delay: 1s;
    -moz-animation-delay: 1s;
    -o-animation-duration: 1s;
    animation-delay: 1s;
}

.back-to-top {
    position: fixed;
    display: none;
    text-align: center;
    z-index: 99999999;
    background-color: #ffffff;
    color: #1c1210;
    width: 45px;
    height: 42px;
    line-height: 30px;
    right: 40px;
    bottom: 30px;
    padding-bottom: 2px;
    font-size: 25px;
    padding-top: 3px;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    box-shadow: none;
    border: 2px solid #1c1210;
    animation: fadeInRight 1.2s;
    border-radius: 10px 10px 0px 0px;
}

.back-to-top:hover {
    background-color: #1c1210 !important;
    color: #fff;
}

@media (min-width: 991px) {
    .navbar-toggler {
        display: none;
        outline: none !important;
        box-shadow: none !important;
    }

    .container-fluid {
        padding-left: 5%;
        padding-right: 5%;
    }

    .col-md-12-5 {
        width: 20%;
    }

}

#newpost {
    display: none;
    position: absolute;
    width: 94%;
    background: #fff;
    min-height: 61px;
    right: 75px;
    top: 0;
    height: 92%;
}

.from_area {
    display: flex;
    align-items: center;
    padding: 11px 20px;
    height: 100%;
}

.btn_area {
    background-color: #d57901;
    padding: 7px 14px;
    border: none;
    color: #fff;
    border-radius: 0px 5px 5px 0px;
    margin-left: 9px;
    position: absolute;
    top: 29px;
    right: 19px;
}