.wrapper-red {
    height: 100%;
    background-color: red;
    padding: 20px 40px;
}

.wrapper-red h1 {
    color: #fff;
    font-size: 14px !important;
    font-style: italic
}

.wrapper-blue p {
    color: #fff !Important;
    margin-bottom: 20px !Important;
    font-size: 16px !Important;
    display: block !Important;
}

.wrapper-blue h4 {
    border-top: 2px solid #fff;
    padding-top: 20px;
    display: block;
}

.wrapper-blue {
    height: 100%;
    background-color: #3E4095;
    padding: 20px 40px;
    color: #fff;
    position: relative;
    display: flex;
    align-items: center;
}

.wrapper-blue > .inner-wrap {
    /* position: absolute;
    width: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    padding: 30px 40px;*/
}

.backicon {
    display: none;
}

/* 
  ##Device = Desktops
  ##Screen = 1281px to higher resolution desktops
*/

@media (min-width: 1281px) {

    //CSS

}

/* 
  ##Device = Laptops, Desktops
  ##Screen = B/w 1025px to 1280px
*/

@media (min-width: 1025px) and (max-width: 1280px) {}

/* 
  ##Device = Tablets, Ipads (portrait)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) {}

/* 
  ##Device = Tablets, Ipads (landscape)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {}

/* 
  ##Device = Low Resolution Tablets, Mobiles (Landscape)
  ##Screen = B/w 481px to 767px
*/

@media (min-width: 481px) and (max-width: 767px) {
    
     .top-header .social-icon > a {
        display: none;
    }

    .top-header .left-text > a:nth-child(2) {
        display: none;
    }

    header .container {
        padding: 0 15px;
        white-space: nowrap;
        text-align: left;
        position: relative;
        z-index: 9;
    }

    .swiper-slide.background {
        height: 70vh;
    }

    .home-heading {
        font-size: 30px;
        margin-bottom: 15px;
    }

    .nav-logo {
        width: 150px;
    }

    .banner.first-banner h1 {
        font-size: 20px;
    }

    .banner.first-banner .col-sm-3 > .wrap:nth-child(3) {
        margin-bottom: 30px;
    }

    .banner.first-banner {
        padding-bottom: 0;
    }

    .banner.first-banner > .container {
        padding: 0;
        overflow: hidden;
    }

    .wrapper-red {
        padding: 20px;
    }

    .banner {
        padding: 30px 0;
    }

    /*=========footer=======*/

    .footer {
        padding: 30px 15px 30px 15px;
    }

    .footer ul {
        margin-bottom: 30px;
    }

    .footer-heading {
        margin-bottom: 10px;
        font-size: 16px;
    }

    .footer-desc {
        margin-top: 30px;
    }

    .small-footer {
        height: auto;
        line-height: 1.4;
        padding: 10px 15px 10px 15px;
    }

    .small-footer .pull-left,
    .small-footer .pull-right {
        float: none;
        width: 100%;
        display: inline;
        line-height: 1.8;
        font-size: 12px;
    }

    .small-footer i {
        display: none;
    }

    .swiper-container .swiper-pagination {
        position: absolute;
        top: -100px;
        right: 30px;
    }

    /*======= footer ends =====*/




    /*============navbar */
    .navbar-collapse {
        background-color: #3e4095;
        padding: 30px 0;
        position: fixed;
        right: -100%;
        top: 0;
        width: 100%;
        height: 100%;
        transition: none !important;
        transition: right 0.2s ease-in !important;
    }

   .navbar-collapse {
       
        background-color: #ffffff;
        transition: right 0.2s ease-in !important;
        overflow: auto;
    }
    .collapse.show{
         display: block;
        right: 0%;
        z-index: 1;
        top: 0;
        transition: none !important;
        transition: right 0.2s ease-in !important;
    }
    header {
        position: relative;
        z-index: 999;
    }

    .navbar-brand {
        padding-left: 20px;
    }

    .navbar-toggler,
    .navbar-toggler:active,
    .navbar-toggler:hover {
        border: transparent;
        outline: none;

    }

    .navbar-nav {
        display: block !important;
    }

    .nav-item,
    .nav-link {
        display: table-caption;
        margin-left: 0;
        width: 100%;
    }

    .navbar-expand-lg .navbar-nav {
        height: auto !important;
        width: 80%;
        padding: 0 20px;
        margin: 0 auto;
        border: none;
        display: flex !important;
        flex-direction: column-reverse;
    }

    .navbar,
    header #topheader.sticky {
        height: auto !important;
    }

    header #topheader > .container {
        padding: 0px;
        white-space: nowrap;
        text-align: left;
        position: relative;
        z-index: 9;
    }

    .nav-link:hover:before {
        display: none;
    }

    .nav-item,
    .nav-link {
        color: #3e4095 !important;
        text-align: center;
        display: block;
    }

    .nav-item:hover {
        border: none !important;
    }

    .navbar-nav .dropdown-menu {
        display: block;
    }

    .dropdown-item {
        padding: 0;
        text-align: center;
    }

    .navbar-nav .dropdown-menu {
        border: none;
    }

    .dropdown > a {
        color: transparent !important;
        display: none;
    }

    .backicon,.backicon>a{
        text-align: left;
        display: block;
    }

    /*============navbar */
    
    .all-page-banner{
        height: 150px;
    }
    .text-area-section h1{
        margin-bottom: 20px;
        font-size: 30px;
    }
    .text-area-section h4{
        font-size: 14px;
        margin-bottom: 10px;
        text-align: justify;
    }
    .text-area-section h4.highlight > span{
        display: block;
        margin: 0;
        padding: 0;
        width: 100%;
        text-align: left;
    }
    .text-area-section h4.highlight{
        display: block;
    }
    
    
    /*======contact form=====*/
        
    #inject{
        padding: 0;
    }
    .form-content{
        padding: 20px;
        margin-top: 0px;
    }
    .form-content .inline > .input-wrapper{
        width: 100%;
    }
    .admision-content .section:nth-child(2){
        display: none;
    }
    .admision-content .section{
        padding: 30px 0;
    }
    .form-content{
        box-shadow: none;
    }
    .inner-tabs{
        display: none;
    }
    /*======contact form=====*/
    
     /*======news=====*/
    .news-wrapper > .description{
        font-size: 14px;
        margin-bottom: 10px;
    }
    .news-wrapper > .subject{
        font-size: 18px;
        margin-bottom: 10px;
    }
     /*======news ====*/
    
    .text-area-section ul{
        padding-left: 0;
    }
    .gal-folder-box{
        margin-bottom: 0;
    }
    .text-area-section ul > li:nth-child(odd){
            padding: 5px 5px 5px 10px;
         margin-bottom: 0;
    }.text-area-section ul > li:nth-child(even){
            padding:  5px 10px 5px 5px;
         margin-bottom: 0;
    }
    .text-area-section h4.highlight > .image{
        width: 40%;
        margin: 0;
    }
    .text-area-section h4.highlight > span>b{
        font-size: 20px !important;
        margin-top: 18px;
    }
    .text-area-section h4.highlight > span>p{
        font-size: 14px;
        text-align: justify;
        padding-left: 20px;
    }
    .text-area-section h4.highlight > span>i{
        margin-left: -15px !important;
    }
    .infra ul{
        padding-left: 20px !important;
    }
    .infra ul>li{
        padding: 5px 0!important;
        font-size: 12px;
    }
    .infra h5{
        font-size: 18px!important;
    }
    
    
}

/* 
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/

@media (min-width: 320px) and (max-width: 480px) {

    .top-header .social-icon > a {
        display: none;
    }

    .top-header .left-text > a:nth-child(2) {
        display: none;
    }

    header .container {
        padding: 0 15px;
        white-space: nowrap;
        text-align: left;
        position: relative;
        z-index: 9;
    }

    .swiper-slide.background {
        height: 40vh;
                background-position: left;

    }

    .home-heading {
        font-size: 30px;
        margin-bottom: 15px;
    }

    .nav-logo {
        width: 150px;
    }

    .banner.first-banner h1 {
        font-size: 20px;
    }

    .banner.first-banner .col-sm-3 > .wrap:nth-child(3) {
        margin-bottom: 30px;
    }

    .banner.first-banner {
        padding-bottom: 0;
    }

    .banner.first-banner > .container {
        padding: 0;
        overflow: hidden;
    }

    .wrapper-red {
        padding: 20px;
    }

    .banner {
        padding: 30px 0;
    }

    /*=========footer=======*/

    .footer {
        padding: 30px 15px 30px 15px;
    }

    .footer ul {
        margin-bottom: 30px;
    }

    .footer-heading {
        margin-bottom: 10px;
        font-size: 16px;
    }

    .footer-desc {
        margin-top: 30px;
    }

    .small-footer {
        height: auto;
        line-height: 1.4;
        padding: 10px 15px 10px 15px;
    }

    .small-footer .pull-left,
    .small-footer .pull-right {
        float: none;
        width: 100%;
        display: inline;
        line-height: 1.8;
        font-size: 12px;
    }

    .small-footer i {
        display: none;
    }

    .swiper-container .swiper-pagination {
        position: absolute;
        top: -100px;
        right: 30px;
    }

    /*======= footer ends =====*/




    /*============navbar */
    .navbar-collapse {
        background-color: #3e4095;
        padding: 30px 0;
        position: fixed;
        right: -100%;
        top: 0;
        width: 100%;
        height: 100%;
        transition: none !important;
        transition: right 0.2s ease-in !important;
    }

   .navbar-collapse {
       
        background-color: #ffffff;
        transition: right 0.2s ease-in !important;
        overflow: auto;
    }
    .collapse.show{
         display: block;
        right: 0%;
        z-index: 1;
        top: 0;
        transition: none !important;
        transition: right 0.2s ease-in !important;
    }
    header {
        position: relative;
        z-index: 999;
    }

    .navbar-brand {
        padding-left: 20px;
    }

    .navbar-toggler,
    .navbar-toggler:active,
    .navbar-toggler:hover {
        border: transparent;
        outline: none;

    }

    .navbar-nav {
        display: block !important;
    }

    .nav-item,
    .nav-link {
        display: table-caption;
        margin-left: 0;
        width: 100%;
    }

    .navbar-expand-lg .navbar-nav {
        height: auto !important;
        width: 80%;
        padding: 0 20px;
        margin: 0 auto;
        border: none;
        display: flex !important;
        flex-direction: column-reverse;
    }

    .navbar,
    header #topheader.sticky {
        height: auto !important;
    }

    header #topheader > .container {
        padding: 0px;
        white-space: nowrap;
        text-align: left;
        position: relative;
        z-index: 9;
    }

    .nav-link:hover:before {
        display: none;
    }

    .nav-item,
    .nav-link {
        color: #3e4095 !important;
        text-align: center;
        display: block;
    }

    .nav-item:hover {
        border: none !important;
    }

    .navbar-nav .dropdown-menu {
        display: block;
    }

    .dropdown-item {
        padding: 0;
        text-align: center;
    }

    .navbar-nav .dropdown-menu {
        border: none;
    }

    .dropdown > a {
        color: transparent !important;
        display: none;
    }

    .backicon,.backicon>a{
        text-align: left;
        display: block;
    }

    /*============navbar */
    
    .all-page-banner{
        height: 150px;
    }
    .text-area-section h1{
        margin-bottom: 20px;
        font-size: 30px;
    }
    .text-area-section h4{
        font-size: 14px;
        margin-bottom: 10px;
        text-align: justify;
    }
    .text-area-section h4.highlight > span{
        display: block;
        margin: 0;
        padding: 0;
        width: 100%;
        text-align: left;
    }
    .text-area-section h4.highlight{
        display: block;
    }
    
    
    /*======contact form=====*/
        
    #inject{
        padding: 0;
    }
    .form-content{
        padding: 20px;
        margin-top: 0px;
    }
    .form-content .inline > .input-wrapper{
        width: 100%;
    }
    .admision-content .section:nth-child(2){
        display: none;
    }
    .admision-content .section{
        padding: 30px 0;
    }
    .form-content{
        box-shadow: none;
    }
    .inner-tabs{
        display: none;
    }
    /*======contact form=====*/
    
     /*======news=====*/
    .news-wrapper > .description{
        font-size: 14px;
        margin-bottom: 10px;
    }
    .news-wrapper > .subject{
        font-size: 18px;
        margin-bottom: 10px;
    }
     /*======news ====*/
    
    .text-area-section ul{
        padding-left: 0;
    }
    .gal-folder-box{
        margin-bottom: 0;
    }
    .text-area-section ul > li:nth-child(odd){
            padding: 5px 5px 5px 10px;
         margin-bottom: 0;
    }.text-area-section ul > li:nth-child(even){
            padding:  5px 10px 5px 5px;
         margin-bottom: 0;
    }
    .text-area-section h4.highlight > .image{
        width: 40%;
        margin: 0;
    }
    .text-area-section h4.highlight > span>b{
        font-size: 20px !important;
        margin-top: 18px;
    }
    .text-area-section h4.highlight > span>p{
        font-size: 14px;
        text-align: justify;
        padding-left: 20px;
    }
    .text-area-section h4.highlight > span>i{
        margin-left: -15px !important;
    }
    .infra ul{
        padding-left: 20px !important;
    }
    .infra ul>li{
        padding: 5px 0!important;
        font-size: 12px;
    }
    .infra h5{
        font-size: 18px!important;
    }
    .cancel{
        right: 0;
        top: -60px;
    }
}