/* ===================================================================
                            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 30%;
  }

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

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

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

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


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

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

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

  /* = */
  header.header .container-fluid {
    width: 100%;
  }

  /* =slider banner= */

  .home_banner::before {
    right: -30%;
  }

  .home_banner_content h1 {
    font-size: 1.7rem;
  }


  /* =home banner= */

  .home_banner_content h5 {
    font-size: 20px;
  }


}


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

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

  /* =nav bar= */
  header.header .container-fluid {
    width: 100%;
  }

  .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%;
    padding-right: 0;
  }

  .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: 35%;
    padding-left: 0;
  }

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

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

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


  /* =home banner= */
  .home_banner::before {
    right: -74%;
  }

}


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

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

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

  /* =header= */

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

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

  .main_logo a .logo_img img {
    width: 15%;
    margin-right: 1%;
    padding: 10px;
    margin-top: 0px;
  }

  .home_banner img {
    margin-top: 30px;
  }

  .home_banner::before {
    height: 690px;
  }

  .home_banner {
    padding: 50px 0;
  }

  .home_banner_content h5 {
    font-size: 20px;
  }

  /* =abt section= */

  .abt_text_content {
    position: relative;
    z-index: 1;
    margin-left: 30px;
  }

  /* =parallax= */

  .home_parallax_tint {
    padding: 50px 0;
  }

  .home_parallax p {
    font-size: 18px;
  }

  /* =inner banner= */

  .inner_banner {
    background-size: cover;

  }


}




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

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

  ul li {
    font-size: 16px;
    text-align: justify;
  }

  ol li {
    font-size: 16px;
  }


  /* =nav bar= */
  header.header .container-fluid {
    width: 100%;
  }

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

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

  .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: 20px;
    text-align: left;
  }

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

  }

  .main_logo a .logo_img img {
    width: 30%;
    margin-top: 0;
    /* padding-bottom: 10px; */
    padding-left: 0;
  }

  .header .item-center>nav.menu.active{
overflow: scroll;
  }


  /* =home banner= */
  .home_banner_content h1 {
    font-size: 1.4rem;
  }

  .home_banner {
    padding-top: 40px;
    padding-bottom: 50px;
  }

  .home_banner_content h5 {
    padding: 0;
    font-size: 18px;
    margin-bottom: 20px;
  }

  .home_banner img {
    width: 100%;
  }

  .home_banner::before {
    width: 500px;
    height: 500px;
  }

  .home_banner img {
    margin-top: 30px;
  }

  /* =abt sec= */

  .abt_text_content {
    position: relative;
    z-index: 1;
    margin: 0;
    margin-top: 30px;
  }

  .abt_img_main .design_images img:first-child {
    right: 0;
  }

  .abt_img_main .design_images img:last-child {
    left: 0;
  }

  /* =parallax= */
  .home_parallax_tint {
    padding: 40px 0;
  }

  .home_parallax p {
    font-size: 18px;
  }

  /* =project section= */

  .project_imgs img {
    margin-top: 30px;
  }

  .abt_text_content {
    padding: 0 !important;
  }

  .project_shape_imgs img:first-child {
    width: 11%;
  }

  /* =footer= */
  .footer-title {
    margin-top: 30px;
  }

  .footer-top {
    padding-top: 10px;
  }

  .footer-copyright .copyright p {
    float: left;
  }

  .footer-address ul li .cont p br {
    display: none;
  }

  /* =testimonial= */

  .top_controls {
    top: -45%;
  }

  /* -inner banner= */

  .inner_banner {
    padding: 30px 0px;
    background-size: cover;
  }

  .inner_banner h1 {
    font-size: 20px;
  }

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

  .project_text {
    padding: 0;
    padding: 20px 0;
  }

  .project_individual {
    padding: 15px;
  }

  /* =contact page= */
  .contact-main {
    margin: 30px 0 0;
  }

  /* =certification page= */

  .certifications_block {
    width: 100%;
  }

  .certification_sec a {
    width: 100%;
  }

  .our_team_block {
    padding: 15px;
  }

  /* =our experts page=*/
  .our_experts h4 {
    font-size: 18px;
  }

  .our_experts span.line.test {
    display: none;
  }

  .our_team_block .d-flex {
    display: block !important;
    margin-bottom: 0;
  }

  .our_team_block .block_content h4 {
    font-size: 18px;
  }

  .our_team_block .img_block img {
    margin-bottom: 20px;
  }

  /* =on going projects= */

  .ongoing_project_block {
    margin-bottom: 30px;
  }

}

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

@media only screen and (min-width: 576px) and (max-width: 767px) {
  .main_logo a .logo_img img {
    width: 18%;
  }

  /* =on going projects= */
  .ongoing_project_block h5 br {
    display: none !important;
  }
}