/*------------------media query---------------*/
@media (min-width: 992px){
    .nav_area > ul > li a{
        padding: 5px 0px;
    }

    ul.menu {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    ul.sub-menu {
        min-width: 150px;
    }
    ul.sub-menu{
        position: absolute;
        background: var(--blue2);
        z-index: 555;
        text-align: left;
        padding: 0px;
        height: 0;
        transition: all .5s ease;
        left: 2px;
    }
    ul.sub-menu > li:hover > a{
        color: #ff9a1e !important; 
    }
    ul.sub-menu > li:hover{
        background-color: #1fd6fe;
    }

    ul.sub-menu span.arrow {
        display: inline-block;
    font-size: 12px;
    position: absolute;
    right: 5px;
    top: 40%;
    }
    .nav_area > ul > li ul.sub-menu 
    {
        transform-origin: 50% 0;
        transform: scaleY(0) translateZ(0);
        transition: transform 0.3s, opacity 0.3s;
        display: block;
        background-color: #01a0e2;
    }
    #sub-menu1{
        background-color: #2cafe5;
    }
    ul.sub-menu li a
    {
        color: #000 ;
    }
    .nav_area ul li:hover ul.sub-menu 
    {	
        display:block;
        height: auto;
    }
    ul.sub-menu li ul.sub-menu 
    {    
        left: 100%;   
        top:  0;  
        margin-top: 0;  
    }
    .menu-item-has-children .arrow{display: none;}
    ul.sub-menu span.arrow{color: #000;}
    .nav_area > ul > li:hover > ul.sub-menu, .nav_area ul.sub-menu > li:hover > ul.sub-menu 
    {   
        transform: scaleY(1) translateZ(0);  
     }
    
     .nav_area ul li:hover ul.sub-menu 
     {    
         display: block; 
     }
     ul.sub-menu > li:hover > a
     {	
         color:#fff; 
    }
    ul.sub-menu > li:hover .arrow
    {  
        color:#ff9a1e; 
    }
    ul
    {
       margin-top: 0;
       margin-bottom: 0;
    }
    label.toggle 
    {   
         display: none; 
    }
    ul.sub-menu li.menu-item-has-children .arrow 
    {    
        transform: rotate(-90deg);  
    }
    .nav_area ul li:last-child 
    {
        padding-right: 0;
        border-right: 0;
    }
    .nav_area ul li a {
        display: flex;
        align-items: center;
        text-align: left;
    }
   
   .logo img{
    /*margin-bottom: -20px;*/
   }
   .nav_area > ul > li:not(:last-child):after {
    content: ' |';
    color: #14377f;
    position: absolute;
    top: 4px;
    right: 0;
    font-size: 15px;
}
        
}
@media (max-width:1200px){
    
}

@media (max-width:991px){
    body{
        font-size: 15px;
    }
    h1 {
        font-size: 44px;
        line-height: 52px;
    }
    h2, .fs-38 {
        font-size: 24px;
        line-height: 32px;
    }
   
    .container {    max-width: 100%;  }
    
    h1 {
        font-size: 42px;
        line-height: 56px;
    }
    h2 {
        font-size: 34px;
        line-height: 44px;
    }
    h4, .fs-24 {
        font-size: 18px;
        line-height: 24px;
    }
    h3, .fs-26 {
        font-size: 16px;
        line-height: 24px;
    }
    h5 {
        font-size: 19px;
        line-height: 26px;
    }
    .fs-20 {
        font-size: 16px;
        line-height: 24px;
    }
    ul.menu  
    { 
        position: fixed;
        width: 40%;
        left: 0;
        text-align: left;
        background: #4792c8;
        z-index: 2;
        padding: 15px 0px;
        z-index: 10;
        top: 0;
        height: 100%;
        left: -100%;
        transition: all .4s;
        overflow: auto;
    }
    .banner-slider-section{
        margin-top: 120px;
    }
    ul.menu.open 
    {
        left:0;
    }
    ul.menu.open li a br, ul.menu.open li a i{display: none;}
    .toggle {
        cursor: pointer;
        color: #fff;
        font-size: 15px;
        margin: 0;
        text-align: right;
        display: block;
        position: absolute;
        right: 15px;
        top: 45px;
        background: var(--blue2);
        padding: 10px;
    }
    ul li span.arrow{
        color:#fff;
        font-size: 15px;
        width: 100%;
        text-align: right;
        padding-right: 15px;
        padding-top: 5px;
    }
    .nav_area ul li a 
    {    
        line-height: 40px;    
        font-size: 20px; 
        color:#fff;
        padding: 10px 5px 10px 20px;
    }
    ul.menu span{
        padding-left: 20px;
    }
    .mobile_header{
        position: fixed;
        top: 0;
        z-index: 9999999;
        background: #fff;
        width: 100%;
    }
    nav.nav_area ul li
    {
        display:block;     
        position: relative;    
        border: 0;  
        /*padding:0 0 0 0;*/
        /*padding-bottom: 10px;*/
        /*border-bottom: 1px solid white;*/
        /*margin-bottom: 5px;*/
        padding-left: 10px;
        border-top: 1px solid #ffffff!important;
        padding:0px 0 0px 0px;
    }
    ul li span.arrow.close-icon i:before
    {
        content: "\f106";
    }
    ul.sub-menu li span.arrow.close-icon i:before 
    {    
        content: "\f106";  
    }
    ul li .sub-menu li a 
    {   
            line-height: 18px;  
            font-size: 15px;
    }
    ul.sub-menu span.arrow 
    {
        right: 10px;
        /*text-align: center;*/
        top: 20px;
        font-size:15px;
    }

    span.arrow {
        position: absolute;
        right: 10px;
        color: #fff;
        top: 12px;
        width: 40px;
        text-align: center;
        height: 30px;
        }
    ul.sub-menu 
    {
        display: none;
        position: relative;
        background: transparent;
        padding: 0;
        /*margin-top: 10px;*/
        font-size:10px;   
    }
    ul.sub-menu li ul.sub-menu {    
        padding:  0  10px;
        width: 100%;  
    }
    .logo img{
        max-width: 80%;
    }
    /* ----------- */
    
    .news-slider .owl-nav, .achievement-slider .owl-nav {
        width: calc(100% + 35px);
        left: -15px;
    }
    .activity-content p{
        font-size: 12px;
        line-height: 20px;
    }
    .inner-sec-title h2:after {
        width: 76%;
    }
    .fs-22 {
        font-size: 18px;
        line-height: 22px;
    }
    .fs-15 {
        font-size: 13px;
        line-height: 19px;
    }
    .activity-box .date {
        width: 50px;
        min-width: 50px;
        height: 50px;
    }
}

@media (max-width:767px){
    ul.sidemenu{display: none;}
    
    .toggle {
        top: 30px;
    }
    nav ul li a > i{display: none !important;}
    h1 {
        font-size: 24px;
        line-height: 30px;
    }
    h2, .fs-38 {
        font-size: 20px;
        line-height: 26px;
    }
    .fs-28 {
        font-size: 16px;
        line-height: 24px;
    }
    body{
        font-size: 14px;
        line-height: 24px;
    }
    ul.menu{
        width: 70%;
    }
    .banner-slider-section{
        margin-top: 70px;
    }
    .copyright p {
        font-size: 12px;
    }
    .footer .menu-title {
        font-size: 20px;
    }
    .footer ul li a {
        font-size: 14px;
        line-height: 20px;
    }
    .nav_area ul li a {
        line-height: 28px;
        font-size: 14px;
        /*padding-left: 5px;*/
        padding: 10px 5px 10px 10px;
        color: #fff;
    }
    ul.menu span{
        padding-left: 10px;
    }
    .mobile_header{
        position: fixed;
        top: 0;
        z-index: 9999999;
        background: #fff;
        width: 100%;
    }
    /* ----------------------- */
    .news-slider .owl-nav, .achievement-slider .owl-nav {
        position: absolute;
        width: calc(98% + 15px);
        display: flex;
        justify-content: space-between;
        top: 50%;
        left: -3px;
        margin-top: 0;
        transform: translateY(-50%);
    }
    .news-slider, .achievement-slider{
        padding: 0 30px;
    }
    .banner-slider .owl-nav {
        top: 20%;
    }
    .banner-slider .banner-title h4{
        font-size: 14px;
        line-height: 14px;
    }
    .inner-banner .banner-title {
        bottom: 15px;
    }
    .news-item .news-left img{
        width: 100%;
    }
    .news-section .news-item {
        max-width: 95%;
        margin: 0 auto;
    }
    .thumb-slider .owl-theme .owl-nav {
        width: calc(100% + 65px);
        left: -35px;
    }
    .event-middle img, .event-right {
        padding-left: 0px;
    }
    .event-item p{
        margin: 0;
    }
    .event-middle{
        padding: 15px 0;
    }
    .event-left{
        border: none;
    }
    .school-calender .fc-center h2 {
        font-size: 18px;
    padding: 0px 15px 0px 40px;
    }
    .school-calender .fc-center h2::before {
        content: '\f073';
        font-family: 'Font Awesome 5 Pro';
        font-size: 20px;
        line-height: 30px;
        font-weight: 600;
        color: #ffdc20;
        top: 10px;
        position: absolute;
        left: 15px;
    }
    .logo img{max-width: 100%;}
    .sidebar{
        background-size: 100%;
    }

}
@media (max-width:565px){
    .pagination a {
        height: 35px;
        width: 35px;
        min-width: 35px;
    }
    .pagination a img{
        width: 8px;
    }
    .icon-box img{max-width: 30px;}
    .toggle {
        top: 17px;
    }
}

@media only screen and (min-width:768px) {
    ul.sidemenu {
        display: block !important;
    }
    .brd-r{
        position: relative;
    }
    .brd-r::after{
        position: absolute;
        content: "";
        height: 135px;
        border-right: 1px solid #8ccbf2;
        top: 0;
        right: 15px;
    }
}

@media (min-width:992px) and (max-width:1224px){
    .nav_area > ul > li a {
        font-size: 12px;
    }
    .footer ul li a{
        font-size: 16px;
    }
}