@media (min-width: 1200px) {
  section.page-top .container {
    width: 1140px;
  }

  .flex-direction-nav,
  .flex-control-nav {
    display: block;
  }
}

@media (max-width: 1008px) {
  .maxwidth-theme {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* MORE THAN SM - MD/LG */
@media (min-width: 992px) {
  .body_media {
    top: 2px;
  }

  /* do not remove this hack! )) */
  section.page-top .container {
    width: 970px;
  }

  .catalog.item-views.table .item .title {
    text-align: left;
  }

  .projects.detail .head > .row .col-md-10 {
    padding-right: 0;
    float: left;
  }

  .projects.detail .head > .row .col-md-2 {
    padding-left: 0;
    float: right;
  }

  .share {
    text-align: right;
    float: right;
    margin-top: 0;
    margin-bottom: 0;
  }
}

/* SM */
@media (max-width: 991px) {
  .body_media {
    top: 1px;
  }

  /* do not remove this hack! )) */
  .banners-big .slides .img {
    display: none;
  }

  .banners-big .slides .title {
    font-size: 40px;
    line-height: 46px;
    font-weight: normal;
  }

  .banners-big .slides .text-block b {
    font-size: 22px;
    line-height: 27px;
    font-weight: normal;
  }

  .banners-big .flex-direction-nav {
    display: none;
  }

  .banners-small .item {
    height: 70px;
  }

  .banners-small .item .image {
    line-height: 58px;
  }

  .teasers.item-views.front {
    margin-top: 39px;
  }

  .about {
    margin-top: 30px;
  }

  .slider-container .tp-caption h1 {
    font-size: 24px;
    line-height: 30px;
  }

  .slider-container .tp-caption {
    font-size: 12px;
  }

  .item-views.sections .group-content hr {
    display: none;
  }

  .item-views.sections .group-content .item {
    border-bottom: 1px solid #d7dee3;
    margin-bottom: 30px;
    padding-bottom: 15px;
  }

  .catalog.item-views.table .item .text {
    text-align: center;
  }

  .detail .projects .item img {
    height: auto !important;
  }

  .projects.detail .item_slider {
    padding: 0;
  }

  .projects.detail .share.text-right {
    text-align: left !important;
  }

  .history.item-views.list .item .info {
    margin-left: 0;
  }

  .history.item-views.list .item .title {
    width: 100%;
    float: none;
  }

  .history.item-views.list .item .text,
  .history.item-views.list .item .image {
    padding-left: 9px !important;
    padding-right: 9px !important;
  }

  .history.item-views.list.image_right .item:not(.wti) .text {
    padding-bottom: 15px !important;
  }

  .history.item-views.list.image_left .item:not(.wti) .text {
    padding-top: 15px !important;
  }

  .vacancy.item-views.accordion .pay {
    float: none;
  }

  .page404 .t404 {
    margin: 0;
  }

  #bx-composite-banner a {
    margin-bottom: 24px;
  }
}

/* MORE THAN XS - SM/MD/LG */
@media (min-width: 768px) {
  header .nav-main-collapse.collapse {
    display: block !important;
    height: auto !important;
  }

  .mega-menu ul.nav {
    position: static;
  }

  .front h3.short {
    display: none;
  }

  .staff.item-views.list .item:not(.wti) .title {
    margin-top: 9px;
  }

  .catalog.detail .head:not(.wti) {
    border: 1px solid #d7dee3;
    margin-bottom: 24px;
  }

  .catalog.detail .galery .inner {
    border: none;
  }

  .projects.detail .head {
    border: 1px solid #d7dee3;
  }

  .projects.detail .galery .inner {
    border: none;
  }

  .staff.item-views.list.image_left .item:not(.wti) .text {
    margin-left: -20px;
  }

  .staff.item-views.list.image_right .item:not(.wti) .text {
    margin-right: -20px;
  }

  .catalog.item-views.price .item .price {
    text-align: center;
  }
}

/* XS */
@media (max-width: 767px) {
  .body_media {
    top: 0px;
  }

  /* do not remove this hack! )) */
  header.fixed {
    position: relative !important;
  }

  header.fixed + .main {
    margin-top: 0 !important;
  }

  header > .container {
    margin-bottom: 0;
  }

  header.fixed .btn.btn-responsive-nav {
    margin-top: 6px;
  }

  header.fixed .logo-row .top-callback {
    padding-top: 0;
  }

  .top-row .info-text .email {
    width: 50%;
    float: left;
    margin-left: 0;
    text-align: left;
  }

  .top-row .info-text .phone {
    width: 50%;
    float: right;
    margin-left: 0;
    text-align: right;
  }

  .logo-row {
    height: 66px;
  }

  .logo-row .logo {
    height: 65px !important;
    line-height: 57px !important;
  }

  .logo-row .logo img {
    width: auto;
    max-height: 53px;
  }

  .logo-row .top-callback {
    padding-top: 0;
  }

  .logo-row .top-callback .email {
    display: none !important;
  }

  .menu-row.row {
    height: 0;
  }

  .mega-menu {
    width: 100%;
    clear: both;
    float: none !important;
  }

  .menu-only {
    margin: 0;
  }

  .search {
    display: none;
  }

  .mega-menu .search {
    display: block;
  }

  .title-search-result {
    display: none !important;
  }

  footer {
    text-align: center;
    margin-top: 0;
  }

  footer .social {
    padding-bottom: 0;
  }

  .about {
    margin-top: 34px;
  }

  .front h3 {
    display: none;
  }

  .front h3.short {
    display: inline-block;
  }

  .flex-direction-nav {
    display: none;
  }

  .banners-big .flex-control-nav {
    display: none;
  }

  .banners-big .flexslider,
  .banners-big .slides li {
    height: 240px;
  }

  .banners-big .slides .title {
    padding: 0 0 10px 0;
    font-size: 15px;
    line-height: 12px;
  }

  .banners-big .slides .text .inner {
    padding-top: 30px;
  }

  .banners-big .slides .text-block {
    margin-bottom: 10px;
  }

  .banners-big .slides .text-block,
  .banners-big .slides .text-block b {
    font-size: 11px;
    line-height: 18px;
  }

  .styled-block .row > div,
  .order-block .row > div {
    display: block;
    width: 100%;
  }

  .styled-block > .row > div + div {
    margin-top: 15px;
  }

  .item-views.list.image_right .item .image,
  .item-views.list.image_left .item .image,
  .item-views.list.image_right .item .text,
  .item-views.list.image_left .item .text {
    padding: 24px;
  }

  .item-views.list.image_right .item .image {
    padding-top: 0;
  }

  .item-views.list.image_left .item .image {
    padding-bottom: 0;
  }

  .item-views.list.image_right .item.noborder .image {
    padding-bottom: 0;
  }

  .item-views.list.image_left .item.noborder .image {
    padding-top: 0;
  }

  .item-views.list.image_right .item.noborder .text {
    padding-top: 0;
  }

  .item-views.list.image_left .item.noborder .text {
    padding-bottom: 0;
  }

  .item-views.list .item.wti.noborder .text {
    padding: 0;
  }

  .item-views.sections .item .image {
    margin-left: auto;
    margin-right: auto;
  }

  .item-views.sections .item .image a {
    text-align: center;
  }

  .teasers.item-views.front hr {
    display: none;
  }

  .teasers.item-views.front .item {
    margin: 0;
    border-bottom: 1px solid #efefef !important;
    padding-bottom: 15px;
  }

  .teasers.item-views.front .items > div:last-of-type .item {
    margin-bottom: 25px;
  }

  .teasers.item-views.front .items > div + div .item {
    margin-top: 15px;
  }

  .teasers.item-views.front .item .image {
    width: 105px;
    max-width: 105px;
    height: 70px;
    max-height: 70px;
    margin: 0;
    float: left;
    line-height: 67px;
    text-align: center;
  }

  .teasers.item-views.front .item .info {
    padding-left: 125px;
  }

  .projects.item-views.table .item {
    text-align: center;
  }

  .projects.item-views.table .item > a {
    display: inline-block;
    width: 345px;
  }

  .detail .projects.item-views.table .item .image img {
    max-height: 100%;
  }

  .slider-container .tp-caption h1 {
    font-size: 15px;
    line-height: 18px;
  }

  .slider-container .tp-caption {
    font-size: 11px !important;
    line-height: 13px !important;
  }

  .slider-container .tp-caption a.btn {
    font-size: 11px;
    line-height: 13px;
  }

  .detail .detailimage {
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto 20px;
    padding: 0;
    float: none;
    text-align: center;
  }

  .detail .detailimage img {
    max-width: 100%;
    max-height: 100%;
  }

  .detail .galery .inner {
    padding: 0 !important;
  }

  .detail .galery #carousel {
    display: none;
  }

  .display-type.pull-right.text-right {
    float: none !important;
    text-align: left;
  }

  .staff.item-views.list.image_left .item .text {
    margin-left: 0px;
    padding-left: 20px;
  }

  .staff.item-views.list.image_right .item .text {
    margin-right: 0px;
    padding-right: 20px;
  }

  .catalog.item-views.list .item .text,
  .catalog.item-views.list .item .foot {
    padding-top: 15px !important;
  }

  .catalog.item-views.price .item .text > .row > .col-md-2.col-sm-2,
  .catalog.item-views.price .item .text > .row > .col-md-3.col-sm-3 {
    margin-top: 5px;
  }

  .catalog.item-views.price .item .text > .row > .col-md-2.col-xs-12 {
    margin-top: 10px;
  }

  .form.contacts .captcha-row > div > .form-group {
    margin-top: 0 !important;
  }
}

/* WHEN HIDE SIDE MENU */
@media (max-width: 530px) {
  .detail blockquote::before {
    top: -3px;
    left: 4px;
    font-size: 90px;
  }

  .detail blockquote {
    padding-left: 35px;
  }

  .news.front .item .text {
    display: none;
  }

  .left-menu-md,
  .right-menu-md {
    display: none;
  }

  .main > .container > .row > .maxwidth-theme > div:not(.left-menu-md):not(.right-menu-md) {
    width: 100%;
  }

  .catalog.sections .item .image {
    max-width: 100% !important;
    margin: 0 auto;
    float: none;
  }

  .catalog.sections .item .info {
    padding-left: 0 !important;
    padding-top: 15px;
  }

  .catalog.sections .item .title {
    text-align: center;
  }

  .catalog.sections.front .items > div {
    width: 50%;
    float: left;
  }

  .catalog.sections.front .item .text {
    display: none;
  }
}

@media (max-width: 395px) {
  .form .form-footer .pull-right {
    float: none !important;
    text-align: center;
    margin-top: 15px;
  }

  .form .form-footer .pull-left {
    float: none !important;
    text-align: center;
  }

  .form.contacts .required-fileds {
    float: none !important;
    text-align: center;
  }

  .form.contacts .required-fileds + div.pull-right {
    float: none !important;
    text-align: center;
    margin-top: 15px;
  }

  /*.form .star{float:left;}*/
  .form.popup .form-footer.clearfix .pull-right {
    float: right !important;
  }

  .form.popup .form-footer.clearfix .pull-left {
    float: left !important;
  }

  .form.popup .form-header i {
    display: none;
  }

  .form.popup .form-header .text {
    padding-left: 80px !important;
    padding-right: 80px !important;
  }

  .form.popup .form-body {
    padding: 24px 111px 0 !important;
  }

  .form.popup .form-footer {
    padding: 14px 111px 52px !important;
  }

  .form.popup .captcha-row .input {
    margin-left: 30px !important;
  }
}

@media (max-width: 357px) {
  .partners.front .flex-direction-nav {
    display: none;
  }

  .partners.front .btn,
  .services.front .btn {
    right: -10px;
  }

  .detail .ask_a_question {
    width: 100%;
    margin: 0px auto;
    float: none;
    margin-bottom: 15px;
  }

  .teasers.item-views.front .item .image,
  .news.front .item .image {
    width: 75px;
    max-width: 75px;
    height: 50px;
    max-height: 50px;
    line-height: 48px;
  }

  .teasers.item-views.front .item .info,
  .news.front .item .info {
    padding-left: 90px;
  }

  .projects.item-views.table .item > a {
    width: 100%;
  }
}

@media (max-width: 320px) {
  .catalog.sections.front .item {
    margin: 0 0 0px;
    padding: 10px;
  }

  .catalog.sections.front .item .image {
    height: 80px;
    line-height: 79px;
  }
}
