/*==========  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) {
  .main_slider_box {
    height: 570px;
  }

  .main_slider_box {
    height: 570px;
  }

  .main_slider_caption .font20 {
    font-size: 16px;
  }

  .main_slider_caption .font32 {
    font-size: 26px;
  }

  .banner_box {
    height: 550px;
  }

  .map {
    height: 600px;
    background-color: #E7E8E9;
  }
}

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
  .logo {
    width: 240px;

  }

  .logo:after,.smaller .logo:after {
    width: 50px;
    height: 30px;
    margin-right: -60px;
    margin-top: 8px;
    top: 0;
  }

  .cases_box {
    height: 300px;
  }

  .CB_caption {
    padding-right: 65px;
    background-size: 30px auto;
    background-position: 91% 32px;
    font-size: 20px;
  }

  .gallery_box .img_cont {
    height: 180px;
  }

  .gallery_box_txt {
    font-size: 13px;
  }

  .nf_button {
    font-size: 12px;
  }

  .case_gallery .img_cont {
    height: 200px;
  }
  .logo:after, .smaller .logo:after {
    margin-top: 16px;
}
}

/* 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;
  }

  .logo,.smaller .logo {
    position: absolute;
    left: -63px;
    top: -6px;
    width: 130px;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    z-index: 2;
  }

  .logo:hover {
    opacity: 0.8;
  }

  .row {
    margin-left: -8px;
    margin-right: -8px;
  }

  .row>[class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
  }

  .tc_mob_body,
  .top_search_form_wrapper,
  .top_toright_top .soial_buttons {
    display: none;
  }

  .top_toright_top>.row>div {
    position: static;
    display: block;
  }

  .tc_mob_body {
    background-color: #fff;
    position: absolute;
    top: 80px;
    left: 0;
    padding: 20px;
    -webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
  }

  .top_search_form_wrapper {
    background-color: #fff;
    position: absolute;
    top: 80px;
    left: 0;
    padding: 20px;
    -webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
    width: 100%;
  }

  .top_sr_input {
    border-color: #0F64AB;
  }

  .top_sr_input {

    max-width: 100%;

  }

  header,header.smaller {
    -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);
    height: 110px;
  }

  .main_menu {
    display: none;
  }

  .main_slider_box {
    height: 420px;
  }

  .main_slider_box {
    height: 450px;
  }

  .main_slider_caption .font20 {
    font-size: 12px;
  }

  .main_slider_caption .font32 {
    font-size: 20px;
  }

  .main_slider_caption {
    padding: 20px 20px;
    background-color: rgba(15, 100, 171, .8);
  }

  .main_slider_caption_wrapper {
    max-width: 350px;
  }

  .top_panel {
    height: 100%;
    position: relative;
  }

  .top_panel:after {
    content: '';
    position: absolute;
    bottom: 49px;
    left: 0;
    right: 0;
    background-color: #939598;
    width: 100%;
    height: 1px;
  }

  .gallery_box_txt {
    font-size: 12px;
    padding: 15px;
  }

  .banner_box {
    height: 450px;
  }

  .blog_header .inner {
    display: block;
    width: auto;
  }

  .blog_header .inner>div {
    display: block;
    width: auto;
  }

  .blog_header .inner>div:first-child {
    padding-right: 0px;
  }

  .blog_header .inner>div:last-child {
    padding-left: 0px;
  }

  .blog_header.dotted {
    border-top: 0px;
    border-bottom: 0px;
  }

  .news-filter {
    padding-top: 15px;
    padding-bottom: 15px;
    border-top: 3px dotted #D2D4D5;
    border-bottom: 3px dotted #D2D4D5;
    margin-bottom: 20px;
  }

  .new_wrpapper .img_cont {
    height: 160px;
  }

  .back_link {
    text-align: left;
    padding-top: 10px;
  }

  .case_gallery .img_cont {
    height: 150px;
  }

  .logo:after, .smaller .logo:after {
    margin-top: 8px;
}
.link_inner {
    background-color: rgba(15, 100, 171, .5);
    opacity: 1;
}
}

/*=================================================================================================*/
/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
  .block {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .plpr {
    padding-left: 15px;
    padding-right: 15px;
  }

  .main_slider_caption .font20 {
    font-size: 12px;
  }

  .main_slider_caption .font32 {
    font-size: 18px;
  }

  .main_slider .slick-dots {
    bottom: 12px;
  }

  .slick-dots li {
    width: 12px;
    height: 12px;
  }

  .block_header h1,
  .block_header h2,
  .block_header h3,
  .block_header h4,
  .block_header h5 {
    font-size: 24px;
  }

  .font18 {
    font-size: 16px;
  }

  .advantages_box {
    font-size: 16px;
  }

  .product_slider_box:after,
  .product_slider:after {
    display: none;
  }

  .product_slider_box .inner {
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
  }

  .cases_box {
    height: 320px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .banner_box {
    height: 400px;
  }

  .news-filter {
    flex-wrap: wrap;
    margin-left: -5px;
    margin-right: -5px;
  }

  .nf_button {
    font-size: 16px;
    display: block;
    margin: 5px;
  }

  .news-filter>li {
    width: 50%;
    margin-right: 0;
  }

  .new_wrpapper .img_cont {
    margin-bottom: 20px;
    height: 333px;
  }

  .table_bordered tr,
  .table_bordered td,
  .table_bordered th {
    padding: 7px;
    font-size: 12px;
  }

  .case_gallery .img_cont {
    height: 320px;
  }

  .map {
    height: 500px;
  }
}

/* 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) {
  .accreditations_box {
    display: block;
    width: auto;
  }

  .accreditations_box>div {
    display: block;
    width: auto;
  }

  .accreditations_box>div:first-child {
    padding-right: 0px;
    width: 190px;

    margin-bottom: 20px;
  }

  .accreditations_box>div:last-child {
    padding-left: 0px;
  }

  .accreditations_box>div:first-child img {
    max-width: 100%;
    height: auto;
  }

  .gallery_body .row>div {
    width: 50%;
  }

  .gallery_box .img_cont {
    height: 160px;
  }

  .banner_box {
    height: 330px;
  }

  .nf_button {
    font-size: 12px;
    margin: 3px;
  }

  .new_wrpapper .img_cont {
    height: 280px;
  }

  .new_title.font20 {
    font-size: 16px;
  }

  .new_wrpapper {
    font-size: 12px;
  }

  .table_bordered tr,
  .table_bordered td,
  .table_bordered th {
    padding: 5px;
    font-size: 10px;
  }

  .case_gallery .img_cont {
    height: 300px;
  }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
  .main_slider_caption .font32 {
    font-size: 15px;
  }

  .main_slider_caption .font20 {
    font-size: 10px;
  }

  .product_slider_wrapper {
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 100px !important;
  }

  .product_slider .prev,
  .product_slider .next {
    top: 0%;
    width: 40px;
    height: 40px;
    font-size: 16px;
    line-height: 40px;
    margin-top: -70px;
  }

  .product_slider .prev {
    left: 50%;
    margin-left: -50px;
  }

  .product_slider .next {
    right: 50%;
    margin-right: -50px;
  }

  .gallery_box .img_cont {
    height: 120px;
  }

  .gallery_box_txt {
    font-size: 10px;
    padding: 10px;
  }

  .banner_box {
    height: 300px;
  }

  .hor_calc_inner {
    background-image: none;
    padding-right: 0px;
  }

  .hcal_txt_header {
    -webkit-background-size: 80px auto;
    background-size: 65px auto;
    background-repeat: no-repeat;
    background-position: right 0;
    background-image: url(../img/calc.png);
    padding-right: 100px;
    min-height: 100px;
  }

  .hcal_txt {
    max-width: 100%;
  }

  .new_wrpapper .img_cont {
    height: 230px;
  }

  .table_bordered tr,
  .table_bordered td,
  .table_bordered th {
    padding: 6px 3px;
    font-size: 8px;
  }

  .case_gallery .img_cont {
    height: 290px;
  }
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 400px) {
  .mobile_menu {
    padding-left: 40px;
    padding-right: 40px;
  }

  .cases_box {
    height: 250px;
  }

  .subscribe .block_header br {
    display: none;
  }

  .tank_calc_wrap .img_cont {
    width: 90px;
    height: 116px;
  }

  .tank_calc_inner .font30 {
    font-size: 24px;
  }

  .footer_feedback {
    padding-left: 0px;
    -webkit-background-size: 98px auto;
    background-size: 60px auto;
    background-position: right 0;
    font-size: 13px;
  }

  .gallery_box {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    height: auto;
  }

  .gallery_body .row>div {
    width: 100%;
  }

  .gallery_box .img_cont {
    height: 180px;
  }

  .gallery_block .active_button {
    font-size: 12px;
  }

  .hor_calc {
    padding: 20px 20px;
  }

  .news-filter>li {
    width: 100%;

  }

  .new_wrpapper .img_cont {
    height: 180px;
  }

  .calculator_box_header {
    font-size: 12px;
  }

  .case_gallery .img_cont {
    height: 220px;
  }
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {
  .case_gallery .img_cont {
    height: 190px;
  }
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 310px) {}

/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {}


/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
  .mobile_hidden {
    display: block !important;
  }

  .desk_hidden {
    display: none !important;
  }

  .tc_mob_body,
  .top_search_form_wrapper {
    display: block !important;
  }

  .main_menu .navbar-nav .nav-link {
    padding-bottom: 20px;
  }

  .contact_toleft {
    border-right: 3px dotted #DADCDD;
  }
  .smaller .logo {
    width:200px;
    position: relative;
    top: -7px;
}
.smaller .top_toright_top {
    display: none;
}
header.smaller {
    height: 88px;
}
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
  .smaller .logo:after {
    width: 70px;
    height: 42px;
    top: -9px;
}
}


/*=================================================*/
/* Large Devices, Wide Screens */
@media only screen and (min-width : 1376px) {}

/*=============================*/
/* Large Devices, Wide Screens */
@media only screen and (min-width : 1700px) {}