/* ===================================================================
                            xxl
====================================================================== */

@media only screen and (min-width: 1400px) {}


/*=====================================================================
                             xl
 ====================================================================== */

@media only screen and (min-width: 1200px) and (max-width:1399px) {
  p {
    font-size: 16px;
  }

  ul li {
    font-size: 16px;
  }

  /* =nav bar= */
  .header .item-left {
    flex: 0 0 35%;
  }

  .logo_img h4 span{
    font-size: 26px;
  }

  .main_logo a .logo_img img {
    width: 18%;
  }

  .logo_img h4 {
    width: 70%;
    font-size: 22px;
  }

  .header .item-center {
    flex: 0 0 65%;
  }

  header.header .container {
    max-width: 95%;
  }


  ul.menu-main {
    padding: 30px 0;
  }

  .header .menu>ul>li>a {
    font-size: 16px;
  }

  .main_logo a .logo_img {
    width: 100%;
  }

  /* ===== */
  .header .menu>ul>li>a {
    margin: 0 10px;
  }

    /* =slider= */
    div#rev_slider {
      height: 350px !important;
      max-height: 350px !important;
    }
  
    .tp-bgimg.defaultimg {
      background-size: 100% !important;
    }

    /* home second section= */

    .landing_2nd_sec_imgblock{
      min-height: 450px;
    }
  






}


/*=================================================================
                         Tablet Landscape(lg)
=================================================================== */

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  p {
    font-size: 14px;
  }

  /* =nav bar= */
  .header .item-center {
    flex: 0 0 70%;
  }

  .header .menu>ul>li .sub-menu.mega-menu>.list-item>ul>li>a {
    font-size: 14px;
  }

  .header .item-left {
    flex: 0 0 30%;
  }

  .main_logo a .logo_img {
    width: 100%;
  }

  .header .menu>ul>li>a {
    font-size: 14px;
    margin: 0 10px;
  }

  .vision_missecrigh {
    padding: 15px 15px;
  }

  .vision_missecrigh h4 {
    font-size: 30px;
  }

  .curriculum_main {
    padding: 25px 10px;
  }

  .main_logo a .logo_img img {
    width: 30%;
  }

  .about-event .event-title h3 {
    font-size: 24px;
  }

  .logo_img h4 {
    width: 70%;
    font-size: 13px;
  }

  .logo_img h4 span {
    font-size: 18px;
  }

  /* =slider= */
  div#rev_slider {
    height: 250px !important;
    max-height: 250px !important;
  }

  .tp-bgimg.defaultimg {
    background-size: 100% !important;
  }

  /* =2nd landing section= */

  .landing_2nd_sec_imgblock {
    min-height: 400px;
  }

  section.landing_2nd_sec {
    margin: 50px 0 10px;
  }

}


/*=================================================================
                        Tablet Portrait (md)
=================================================================== */

@media only screen and (min-width: 768px) and (max-width: 991px) {
  p {
    font-size: 16px;
  }

  .section-space {
    padding: 40px 0;
}

  /* =header= */
  .header .item-left {
    flex: 0 0 80%;
  }

  .header .item-right {
    flex: 0 0 20%;
  }

  .main_logo a .logo_img {
    width: 78%;
  }

  .header .mobile-menu-trigger {
    float: right;
    margin-top: 7%;
  }

  .header .menu>ul>li.menu-item-has-children:hover .sub-menu {
    margin-top: 0;
    width: 300px;
    margin-left: 10px;
  }


  /* =slider= */
  div#rev_slider {
    height: 250px !important;
    max-height: 250px !important;
  }

  .tp-bgimg.defaultimg {
    background-size: 100% !important;
  }

  /* =[ */

  .landing_2nd_sec_imgblock {
    min-height: 360px;
  }

  .landing_2nd_sec_seccontent {
    padding-left: 0;
  }

  .section-title h2 {
    font-size: 24px;
  }

  section.landing_2nd_sec {
    margin: 50px 0;
  }


  /* =home band= */

  .home_band .band_content {
    padding: 30px;
  }

  section.home_band {
    padding: 0;
  }


  .home_band .band_content a {
    font-size: 16px;
  }


  /* =gallery section= */
  .gallery_card {
    width: 100%;
  }

  .gallery_sec {
    padding-bottom: 10px;
  }

  section.gallery_sec button.main-btn {
    margin-bottom: 30px;
  }





  /* =footer= */

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

  /* =contact page= */
  .contact-address .contact-heading {
    padding-top: 0;
  }

  .contact_header {
    margin-bottom: 20px;
  }





}


/* ==============================================================
                    Mobile Landscape Size(sm)
================================================================= */

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


/*===================================================================
                         All Mobile Sizes 
 ====================================================================*/

@media only screen and (max-width: 767px) {
  p {
    font-size: 16px;
  }

  ul li {
    font-size: 16px;
  }

  ol li {
    font-size: 16px;
  }

  .section-space{
    padding: 40px 0;
  }


  /* =nav bar= */

  .header .menu .mobile-menu-head {
    border: none !important;
  }

  .header .menu>ul>li>a {
    text-align: left;
    font-weight: 600;
  }

  .header {
    padding: 10px 0;
  }

  .header .item-left {
    flex: 0 0 80%;
  }

  .header .item-center {
    flex: 0;
  }

  .header .item-right {
    flex: 0 0 20%;
  }

  .header .mobile-menu-trigger {
    float: right;
    margin-top: 8%;
  }


  .main_logo a {
    padding: 0;
  }

  .header .menu>ul>li.menu-item-has-children:hover .sub-menu {
    margin-top: 0;
    width: 300px;
    margin-left: 10px;
  }

  /* =nav new= */

  .logo_img h4 {
    font-size: 16px;
    text-align: left;
  }

  .logo_img h4 span {
    font-size: 20px;

  }

  .main_logo a .logo_img img {
    width: 20%;
  }

  /* =slider= */
  div#rev_slider {
    height: 135px !important;
    max-height: 135px !important;
  }

  .tp-bgimg.defaultimg {
    background-size: 100% !important;
  }

  /* =[ */

  .landing_2nd_sec_imgblock {
    min-height: 320px;
  }

  .landing_2nd_sec_seccontent {
    padding-left: 0;
  }

  .section-title h2 {
    font-size: 24px;
  }

  section.landing_2nd_sec {
    margin: 50px 0;
  }


  /* =home band= */

  .home_band .band_content {
    padding: 30px;
  }

  section.home_band {
    padding: 0;
  }

  section.home_band {
    text-align: center;
  }

  .home_band .band_content a {
    font-size: 16px;
    margin-top: 20px;
  }

  .home_band .band_content .admission {
    text-align: center;
  }

  /* =gallery section= */
  .gallery_card {
    width: 100%;
  }

  .gallery_sec {
    padding-bottom: 10px;
  }

  section.gallery_sec button.main-btn {
    margin-bottom: 30px;
  }


  /* =footer= */

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

  .footer-address {
    margin-bottom: 40px;
  }

  .footer-copyright p {
    text-align: left !important;
  }

  .footer-copyright .copyright p {
    margin-bottom: 5px;
    font-size: 14px;
  }

  /* =contact page= */
  .contact-from {
    padding: 30px;
  }

  .contact_header{
    margin-bottom: 30px;
  }

  /* =inner banner= */
  .inner_tint {
    padding: 20px 0;
    text-align: center;
  }

  .inner_banner h2 {
    font-size: 24px;
    text-align: center;
    margin: 0;

  }

  .main_contact_form{
    margin-bottom: 30px;
  }



  /* =about inner= */
  .abt_sec img {
    width: 100%;
  }

  .inner_banner h5 {
    display: none;
  }



  /* =event inner= */

  button.accordion-button.nstyle {
    font-size: 18px;
  }


  /* =inner page section= */

  .inner_block_sec{
    padding: 15px;
  }

  .inner_block_sec_content{
    padding: 20px 0;
  }

  /* =modal popup= */

  h5.modal-title.nstyhd{
    font-size: 22px;
  }
  .contys_btn button{
    padding: 10px 60px;
  }

  .inner_block_sec h4{
float: left !important;
width: 100%;
  }



}