@media screen and (max-width: 1200px) {
  #slider {
    margin-left: 0 !important;
    left: 0; }

  #container #header .slogan-box {
    margin: 500px auto 0; } }
@media screen and (max-width: 1100px) {
  #container #header.withSlider {
    height: 740px; }
  #container #header.withSliderMain {
    height: 970px; }
  #container #header .slogan-box {
    margin: 430px auto 0 !important; } }
@media screen and (max-width: 960px) {
  #container #header .slider-row .second-menu-row ul.menu li a {
    padding: 0 7px;
    font-size: 14px; }
  #container #header.withSlider {
    height: 700px; }
  #container #header.withSliderMain {
    height: 920px; }
  #container #header .slogan-box {
    margin: 350px auto 0 !important; }
  #container .footer .second-menu-row ul.menu li a {
    padding: 0 7px;
    font-size: 14px; }

  #mapBlock {
    display: block;
 
}
  #action {
    display: none; }
  .modal {
    padding: 0;
    min-width: unset; }
    .modal .title {
      margin-bottom: 10px;
      line-height: 28px; }
    .modal .descr {
      font-size: 16px; }
    .modal form .submit-btn {
      top: auto;
      right: auto;
      position: static; }
    .modal .field {
      float: none;
      width: 100%;
      margin-right: 0;
      margin-bottom: 13px; }
    .modal .squares:after {
      top: -27px;
      right: -47px; }
    .modal .squares:before {
      top: -27px;
      left: -47px; }
    .modal .squares.squares-bottom:after {
      top: 27px;
      right: -47px; }
    .modal .squares.squares-bottom:before {
      top: 27px;
      left: -47px; }

  .fancybox-close {
    top: 5px !important;
    right: 10px !important; } }
@media screen and (max-width: 500px) {
  #header .menu-row ul.menu {
    padding: 9px 7px !important; }

  #content .client  .form {
    padding: 0 15px 15px !important;
  }
  #content .client  .form .title {
    font-size: 20px !important;
    padding: 0 !important;
    margin: 0 !important;
  }

}
@media screen and (max-width: 760px) {
  #content .client {
    margin-bottom: 40px;
  }
  #content .client  .form {
    padding: 0 25px 20px;
  }
  #content .client  .form .title {
    font-size: 30px;
  }
  #content .client  .form .pic {
    float: none;
    width: 100%;
  }

  #content .client  .form .pic:nth-child(2n) {
    margin-left: 0;
  }
  #content .client  .form .pic:last-child:nth-child(2n+1) {
    margin-left: 0;
  }

  .son-order-btn {
    display: none; }

  .btn {
    text-decoration: none;
    display: inline-block;
    border: 0;
    outline: 0;
    background: url(big-btn-bg.png) top center repeat-x;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(190, 135, 89, 0.75);
    min-width: 185px;
    padding: 0 30px;
    height: 65px;
    line-height: 65px;
    text-align: center;
    font-size: 20px;
    color: #522705;
    font-style: italic;
    font-family: "Philosopher", Arial, sans-serif; }
    .btn:hover {
      background: url(big-btn-bg.png) bottom center repeat-x;
      color: #522705;
      text-decoration: none; }
    .btn:focus, .btn:active {
      color: #522705;
      text-decoration: none;
      background: #ffcea5;
      box-shadow: inset 3px 3px 8px rgba(0, 0, 0, 0.3); }

  .btn-small {
    text-decoration: none;
    display: inline-block;
    background: url(btn-bg.png) top center repeat-x;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(190, 135, 89, 0.75);
    width: 150px;
    height: 42px;
    line-height: 40px;
    text-align: center;
    font-size: 18px;
    color: #522705;
    font-style: italic;
    font-family: "Philosopher", Arial, sans-serif; }
    .btn-small:hover {
      background: url(btn-bg.png) bottom center repeat-x;
      color: #522705;
      text-decoration: none; }
    .btn-small:focus, .btn-small:active {
      color: #522705;
      text-decoration: none;
      background: #ffcea5;
      box-shadow: inset 3px 3px 8px rgba(0, 0, 0, 0.3); }

  #container #slider {
    display: none; }
  #container #header {
    padding-bottom: 30px; }
    #container #header.withSlider {
      height: auto; }
    #container #header.withSliderMain {
      height: auto;
      padding-bottom: 0; }
      #container #header.withSliderMain .slogan-box {
        margin: 0 auto 0 !important; }
    #container #header .top-row .title-box {
      display: none; }
    #container #header .top-row .logo {
      width: 100%; }
    #container #header .top-row .contacts {
      padding-top: 20px;
      width: 100%;
      text-align: center; }
      #container #header .top-row .contacts .phone {
        text-align: right; }
      #container #header .top-row .contacts .address {
        padding-top: 5px;
        font-size: 16px; }
    #container #header .menu-row {
      height: 80px; }
      #container #header .menu-row ul.menu {
        margin: 0;
        padding: 9px 0; }
        #container #header .menu-row ul.menu li {
          float: left;
          width: 33%;
          padding: 0; }
          #container #header .menu-row ul.menu li a {
            font-size: 17px;
            padding: 0 7px; }
    #container #header .slider-row .second-menu-row {
      position: static; }
      #container #header .slider-row .second-menu-row ul.menu {
        padding: 0; }
        #container #header .slider-row .second-menu-row ul.menu li {
          display: block;
          height: 50px;
          line-height: 48px;
          border-bottom: 1px solid #404040; }
          #container #header .slider-row .second-menu-row ul.menu li:after {
            content: ""; }
          #container #header .slider-row .second-menu-row ul.menu li a {
            font-size: 15px; }
    #container #header .slogan-box {
      padding: 30px 10px; }
      #container #header .slogan-box .logo {
        display: none; }
      #container #header .slogan-box .slogan {
        width: 100%; }
  #container .services {
    padding-top: 30px; }
    #container .services .grid {
      padding: 0 10px; }
    #container .services .col-6 {
      width: 100%;
      padding-bottom: 40px; }
      #container .services .col-6:nth-child(2n+1) {
        padding-right: 0; }
      #container .services .col-6:nth-child(2n) {
        padding-left: 0; }
      #container .services .col-6 .info > .box {
        height: auto !important; }
      #container .services .col-6 .info .title {
        text-align: center; }
      #container .services .col-6 .info .text .title {
        text-align: center; }
      #container .services .col-6 .info .text > * {
        display: none; }
      #container .services .col-6 .info .text .button {
        display: block; }
  #container .reasons .grid {
    padding: 0 10px; }
  #container .reasons .col-4 {
    width: 100%; }
    #container .reasons .col-4:nth-child(1) {
      padding-right: 0; }
    #container .reasons .col-4:nth-child(2) {
      padding: 0; }
    #container .reasons .col-4:nth-child(3) {
      padding-left: 0; }
    #container .reasons .col-4 .name {
      margin-bottom: 30px; }
    #container .reasons .col-4 .text {
      display: none; }
  #container .masters {
    margin-bottom: 30px; }
    #container .masters .grid {
      padding: 0 10px; }
    #container .masters .master {
      padding-bottom: 40px;
      width: 100%;
      clear: both; }
      #container .masters .master .pic {
        width: 100%; }
      #container .masters .master .box {
        width: 100%;
        text-align: center; }
        #container .masters .master .box .text-right {
          margin-top: 20px;
          text-align: center !important; }
  #container .bottom-form {
    padding: 40px 0; }
    #container .bottom-form .form {
      margin: 0 20px;
      padding: 0 20px 20px; }
      #container .bottom-form .form form input[type="text"] {
        width: 100%;
        margin-bottom: 15px; }
  #container .address {
    padding-top: 25px; }
    #container .address .grid {
      padding: 0 10px; }
    #container .address .title {
      margin-bottom: 30px; }
    #container .address .col-4 {
      display: none;
      width: 100%; }
      #container .address .col-4.showed {
        display: block; }
  #container .map {
    margin: 20px 0 15px; }
    #container .map .map-type {
      display: none; }
    #container .map .map-block .tabs {
      display: none; }
      #container .map .map-block .tabs.active {
        display: block; }
  #container .footer .logo {
    display: none; }
  #container .footer .social {
    padding: 20px 0; }
  #container .footer .menu-row {
    height: 80px; }
    #container .footer .menu-row ul.menu {
      margin: 0;
      padding: 9px 0; }
      #container .footer .menu-row ul.menu li {
        float: left;
        width: 33%;
        padding: 0; }
        #container .footer .menu-row ul.menu li a {
          font-size: 17px;
          padding: 0 7px; }
  #container .footer .second-menu-row {
    position: static; }
    #container .footer .second-menu-row ul.menu {
      padding: 0 10px; }
      #container .footer .second-menu-row ul.menu li {
        display: block;
        height: 50px;
        line-height: 48px;
        border-bottom: 0; }
        #container .footer .second-menu-row ul.menu li:after {
          content: ""; }

  #content .service-page .row {
    margin-bottom: 30px; }
    #content .service-page .row .pic {
      margin-bottom: 20px; }
  #content .col-6 {
    float: none !important;
    width: 100% !important;
    padding: 0 !important; }
  #content .pic {
    position: relative;
    margin-bottom: 20px; }
    #content .pic img {
      width: 100%; }
    #content .pic:before {
      content: "";
      border: 1px solid #fff;
      position: absolute;
      top: 15px;
      left: 15px;
      bottom: 15px;
      right: 15px; }
  #content .address {
    padding-top: 0 !important; }
  #content .descr {
    font-size: 16px;
    padding-bottom: 30px; }
  #content .actions-page .col-6 .content-form {
    margin-bottom: 40px; }
    #content .actions-page .col-6 .content-form > .grid {
      min-width: 300px;
      padding: 0 !important; }
    #content .actions-page .col-6 .content-form .squares {
      margin: 0 20px; }
      #content .actions-page .col-6 .content-form .squares:after {
        right: -20px; }
      #content .actions-page .col-6 .content-form .squares:before {
        left: -20px; }
    #content .actions-page .col-6 .content-form .form {
      margin: 0 10px;
      padding: 0 20px 30px; }
  #content .actions-page .col-6 .content-form .form .col-lg-6 {
    width: 100% !important;
    margin: 0 !important;
    float: none;
  }
}

@media (max-width: 750px) {
  .tour{display:none}
}


