/*==========  Desktop First Method  ==========*/
@media only screen and (max-width : 1800px) {}

@media only screen and (max-width : 1690px) {}

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1376px) {}

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
  .logo {
    width: 212px;
  }

  .main_menu .navbar-nav .nav-link {
    font-size: 13px;
  }

  .promo_div_box {
    height: 210px;
  }

  .about_gallery .img_cont {
    height: 210px;
  }
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
  .mobile_hidden {
    display: none !important;
  }

  .desk_hidden {
    display: block !important;
  }

  .main_menu {
    position: absolute;
    width: 100%;
    left: 0;
    top: 76px;
  }

  .main_menu .navbar {
    padding-top: 0px;
    padding-bottom: 0px;
    background-color: #fff;
  }

  .main_menu .navbar-nav {
    padding: 0;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  header .container {
    position: relative;
  }

  header,
  header.smaller {
    height: 86px;
    -webkit-box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.2);
  }

  body {
    padding-top: 86px;
  }

  .logo {
    position: absolute;
    left: 7px;
    top: 26px;
    width: 150px;
  }

  .row {
    margin-left: -8px;
    margin-right: -8px;
  }

  .row>[class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
  }

  .tc_mob_body {
    position: absolute;
    right: 0;
    top: 86px;
    display: none;
  }

  .tc_mob_body_inner .row>div {
    width: 100%;
  }

  .tc_mob_body_inner {
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .tc_wrapper .social_buttons {
    margin-top: 10px;
    margin-bottom: 12px;
  }

  .ms_caption_header .font40 {
    font-size: 30px;
  }

  .pdb_caption_wrapper {
    font-size: 16px;
  }

  .advantages {
    background-image: none;
  }

  .testimonials_row {
    display: block;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .testimonials_row>div {
    display: block;
  }

  .testimonials_row>div:first-child {
    padding-right: 0px;
    width: auto;
    margin-bottom: 30px;
  }

  .testimonials_row>div:last-child {
    padding-left: 0px;
  }

  .hex_image_wrapper {
    margin-left: auto;
    margin-right: auto;
  }

  .about_gallery .img_cont {
    height: 160px;
  }

  .banner .img_cont {
    min-height: 500px;
    height: auto;
  }

  .subjects_box .img_cont {
    min-height: 300px;
  }

  .subjects_box .img_cont {
    min-height: 400px;
  }
  .subjects_box .d16 {
    bottom: 27px !important;
}
}

/*=================================================================================================*/
/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
  .block {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .plpr {
    padding-left: 15px;
    padding-right: 15px;
  }

  .mssb_toleft {

    width: 0%;
  }

  .mssb_toright {
    width: 100%;
  }
 .ms_caption {
    position: relative;
    display: inline-block;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.2);
      border-radius: 5px; 
-webkit-border-radius: 5px; 
-moz-border-radius: 5px; 
}


  .ms_caption_header {
    width: 100%;
  }

  .promo_div_box {
    max-width: 350px;
    height: 250px;
    margin-bottom: 40px;
  }

  .pdb_caption_wrapper {
    font-size: 20px;
  }

  .about_gallery .img_cont {
    height: 380px;
    margin-bottom: 40px;
  }

  .banner .img_cont {
    min-height: 350px;
  }

  .contact_map_wrapper .ms_caption_wrapper {
    position: static;
    background-color: #0060AE;
  }

  .contact_map_wrapper .ms_caption_wrapper .ms_caption_body {
    max-width: 100%;
  }

  .contact_map_wrapper .ms_caption_wrapper .ms_caption_body .font22 {
    font-size: 18px;
  }

  .contact_map_wrapper .mssb_toright:after {
    display: none;
  }
  .promo_div_box {
    margin-left: auto;
    margin-right: auto;
}
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 670px) {}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 640px) {}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 576px) {
  .hex_image_wrapper {
    width: 300px;
    height: 270px;
  }

  .testi_text {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .testi_text .font30 {
    font-size: 22px;
  }

  .testi_text .font20 {
    font-size: 16px;
  }

  .banner .img_cont {
    min-height: 320px;
  }

  .ac-container label {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 20px;
  }

  .ac-container label:after,
  .ac-container input:checked+label:after {
    left: 16px;
    top: 14px;
  }

  .ac-container label {
    padding-left: 60px;
  }

  .subjects_box .img_cont {
    min-height: 326px;
  }

  .subjects_box .img_cont {
    min-height: 250px;
  }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
  .ms_caption_header .font40 {
    font-size: 18px;
  }

  .promo_div_box {
    height: 220px;
  }

  .about_gallery .img_cont {
    height: 280px;
  }

  .banner .img_cont {
    min-height: 250px;
  }

  .subjects_box_txt .font30 {
    font-size: 24px;
  }

  .subjects_box_txt .font20 {
    font-size: 16px;
  }
  .ms_caption  .font30 {
    font-size: 20px;
}
.ms_caption_body {
    font-size: 12px;
}
.footer_links>.row>div:last-child {
    width: 100%;
  }
footer .social_buttons {
    text-align: center;
}
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 400px) {
  .tc_mob_body_inner {
    font-size: 14px;
  }

  .blue_button {
    font-size: 18px;
  }

  .footer_form {
    padding-right: 0px;
  }

  .footer_form .orange_button {
    position: static;
    margin-top: 10px;
  }

  .about_gallery .img_cont {
    height: 220px;
  }

  .banner .img_cont {
    min-height: 220px;
  }

  .contact_info.font20 {
    font-size: 16px;
  }

  .subjects_box .img_cont {
    min-height: 170px;
  }
  .footer_links>.row>div {
    width: 50%;
  }
  
  ul.bordered {
    padding-left: 10px;
    font-size: 10px;
}
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 450px) {
  .conthead {
    margin-top: 30px;
  }

  .test_list_box {
    padding: 24px;
    padding-bottom: 100px;
  }
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {
  .banner .img_cont {
    min-height: 196px;
  }
}

/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
  .mobile_hidden {
    display: block !important;
  }

  .desk_hidden {
    display: none !important;
  }

  .tc_wrapper {
    text-align: right;
  }

  .main_menu .navbar-nav {
    position: relative;
    right: -28px;
  }

  .logo {
    margin-top: 12px;
  }

  .tc_mob_body_inner:before {
    content: '';
    position: absolute;
    left: 100%;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #FBAE3F;
  }

  .tc_mob_body {
    display: block !important;
  }

  .right_long_header:before {
    content: '';
    position: absolute;
    left: 100%;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #FBAE3F;
  }
  .smaller .logo {
    width: 212px;
}
.smaller .tc_wrapper {
    display: none;
}
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
  .serv_accordeon_box {
    padding-left: 90px;
    padding-right: 90px;
  }
}


/*=================================================*/
/* Large Devices, Wide Screens */
@media only screen and (min-width : 1376px) {}

/*=============================*/
/* Large Devices, Wide Screens */
@media only screen and (min-width : 1700px) {}