/*toggle*/
.toggle {
  display: block;
  width: 25px;
  height: 25px;
  cursor: pointer;
  position: relative;
  background: none;
  border: none;
  outline: none;
}

.toggle span {
  height: 3px;
  background: #fff;
  position: absolute;
  left: 0;
  width: 100%;
  -webkit-transition: .5s;
  -o-transition: .5s;
  -moz-transition: .5s;
  transition: .5s;
}

.toggle span:first-child {
  top: 1px;
}

.toggle span:last-child {
  bottom: 0;
}

.toggle span:nth-child(2),
.toggle span:nth-child(3) {
  top: 50%;
  margin-top: -1px;
}

.toggle_active span:first-child,
.toggle_active span:last-child {
  opacity: 0;
}

.toggle_active span:nth-child(2) {
  -webkit-transform: rotate(-45deg);
     -moz-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
       -o-transform: rotate(-45deg);
          transform: rotate(-45deg);
  width: 130%;
  left: -15%;
}

.toggle_active span:nth-child(3) {
  -webkit-transform: rotate(45deg);
     -moz-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
       -o-transform: rotate(45deg);
          transform: rotate(45deg);
  width: 130%;
  left: -15%;
}

.header__toggle,
.header #m-phone {
  display: none;
}

@media (max-width: 1200px) {
  .wrapper {
    padding-top: 80px;
  }
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 8;
    height: 80px;
    -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
       -moz-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
            box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  }
  .header__toggle {
    display: block;
    position: absolute;
    right: 21px;
    top: 22px;
    width: 33px;
    height: 33px;
  }
  .header__toggle span {
    height: 4px;
  }
  .header__toggle span:first-child {
    top: 2px;
  }
  .header .left {
    padding-top: 12px;
  }
  .header .left img {
    width: 120px;
    height: auto;
  }
  .header #phone {
    height: 80px;
    padding: 0 45px 0 0;
  }
  .header #phone p {
    padding-top: 12px;
    font-size: 28px;
  }
  .header #menu {
    position: fixed;
    top: 80px;
    left: 0;
    bottom: 0;
    width: 100%;
    background: #fff;
    visibility: hidden;
    opacity: 0;
    overflow: auto;
    -webkit-transition: .5s;
    -o-transition: .5s;
    -moz-transition: .5s;
    transition: .5s;
    padding-top: 65px;
    padding-bottom: 65px;
    border-top: 1px solid #1671B9;
  }
  .header #menu.toggled {
    visibility: visible;
    opacity: 1;
  }
  .header #menu li {
    float: none;
    margin: 0 0 38px 0;
    text-align: center;
    font-size: 42px;
  }
  .slider .slides li .left {
    padding-right: 90px;
  }
  .slider .slides li .left span {
    right: -50px;
  }
  .slider .slides li .right {
    position: relative;
    z-index: 3;
  }
  .content {
    padding-top: 56px;
    padding-bottom: 30px;
  }
  .page {
    padding: 50px 0;
  }
  .page .wd {
    width: auto;
    max-width: 960px;
  }
  .page.contacts {
    padding-bottom: 0;
  }
  .trig .title {
    padding-bottom: 55px;
  }
  .trig .col-3 .item {
    height: 190px;
  }
  .trig .icons {
    height: 95px;
  }
  .footer .wd > div .tit,
  .footer .wd > div.left p {
    padding-left: 65px;
  }
  .footer .wd > div.right .tit,
  .footer .wd > div.right .form {
    padding-left: 50px;
  }
  .footer .wd > div .copy {
    padding-right: 20px;
  }
  .service-in h1 {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 900px) {
  .slider .slides li .left {
    padding-right: 20px;
    right: 415px;
  }
  .slider .slides li .left span {
    right: -30px;
  }
  .slider .slides li .right {
    width: 370px;
    padding-top: 32px;
  }
  .slider .slides li .right p {
    padding: 30px 0;
  }
  .slider .flex-direction-nav {
    width: 371px;
  }
  .slider .flex-control-nav {
    right: 104px;
  }
  .items {
    padding-bottom: 65px;
  }
  .items .wd > div {
    width: 50%;
    padding-top: 65px;
  }
  .modal-wind {
    width: 560px;
    margin-left: -280px;
  }
  .footer .wd > div .tit,
  .footer .wd > div.left p {
    padding-left: 65px;
  }
  .footer .wd > div.right .tit,
  .footer .wd > div.right .form {
    padding-left: 30px;
  }
  .footer .wd > div .copy {
    padding-right: 20px;
  }
  .services .item .view,
  .service-in .item .view {
    width: 100%;
  }
  .service-in h1 {
    font-size: 32px;
  }
  .service-in .thumb {
    width: 276px;
    height: 236px;
    margin: auto;
  }
  .service-in .thumb img {
    width: 276px;
    height: 236px;
  }
  .service-in .item .right {
    padding: 0;
  }
  .service-in .item p {
    font-size: 15px;
  }
  .service-in .left .price,
  .service-in .left .modal {
    width: 276px;
    margin: auto;
  }
  .next-prev-post-link {
    padding: 0 20px;
    margin-bottom: 20px;
  }
  .next-prev-post-link > div {
    width: 45%;
  }
  .next-prev-post-link .next {
    text-align: right;
  }
}

@media (max-width: 700px) {
  .slider {
    min-height: 1px;
    height: 520px;
  }
  .slider .slides li .left {
    height: 520px;
  }
  .slider .slides li .left span {
    height: 520px;
  }
  .slider .slides li .right .tit {
    font-size: 30px;
    padding-bottom: 20px;
  }
  .trig .col-2 {
    width: 525px;
  }
  .footer .wd > div.left p.adr {
    padding-top: 7px;
    padding-bottom: 7px;
  }
  .services {
    padding: 40px 0 10px;
  }
  .services h1 {
    padding-bottom: 0;
  }
  .services .item {
    padding-top: 43px;
    padding-bottom: 30px;
  }
  .services .item .tit {
    line-height: 1.2;
  }
  .services .item img {
    margin-bottom: 30px;
  }
  .services .item .left,
  .services .item .right {
    float: none;
    width: 100%;
  }
  .services .item .view {
    max-width: 350px;
    margin: auto;
  }
  .service-in {
    padding-top: 35px;
  }
  .service-in h1 {
    padding: 0 20px 0;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
  }
  .service-in .thumb {
    margin-bottom: 50px;
  }
  .service-in .item .left,
  .service-in .item .right {
    float: none;
    width: 100%;
  }
  .service-in .item .modal {
    width: 100%;
    max-width: 350px;
    margin: auto;
  }
  .service-in .item .price {
    text-align: center;
  }
  .service-in .left .price {
    padding-top: 0;
  }
  .service-in .left .modal {
    margin-bottom: 38px;
    width: 276px;
  }
  .article {
    padding-top: 30px;
  }
  .article .tit {
    font-size: 23px !important;
  }
  .article img {
    float: none !important;
    margin: 0 auto 25px !important;
  }
}

@media (max-width: 630px) {
  .slider {
    height: auto;
    padding-bottom: 120px;
  }
  .slider .slides:after {
    display: block;
    width: 100%;
    content: "";
    clear: both;
  }
  .slider .slides li .left {
    display: none;
  }
  .slider .slides li .right {
    float: none;
    width: auto;
    margin: 0 20px;
  }
  .slider .slides li .right a{
	  width: 100%;
  }
  
  .slider .flex-direction-nav {
    height: 0;
    width: auto;
    left: 21px;
    bottom: 76px;
    z-index: 7;
  }
  .slider .flex-control-nav {
    width: auto;
    left: 21px;
    right: 21px;
    z-index: 5;
  }
  .items {
    padding-bottom: 45px;
  }
  .items .wd > div {
    width: 100%;
    padding-top: 45px;
  }
  .items .wd > div .thumb {
    min-height: 1px;
    margin-bottom: 20px;
  }
  .footer .wd {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-flow: row wrap;
       -moz-box-orient: horizontal;
       -moz-box-direction: normal;
        -ms-flex-flow: row wrap;
            flex-flow: row wrap;
  }
  .footer .wd > div.left {
    -webkit-box-ordinal-group: 3;
    -webkit-order: 2;
       -moz-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
  }
  .footer .wd > div.left span {
    display: none;
  }
  .footer .wd > div.left .tit {
    padding-left: 0;
  }
  .footer .wd > div {
    float: none;
    width: 100%;
  }
  .contacts .tab-cont {
    padding-bottom: 20px;
  }
}

@media (max-width: 580px) {
  .wrapper {
    padding-top: 60px;
  }
  .header {
    height: 60px;
  }
  .header__toggle {
    top: 14px;
    right: 20px;
  }
  .header .left {
    padding: 10px 0 0 20px;
  }
  .header .left img {
    width: 85px;
  }
  .header #phone {
    display: none;
  }
  .header #menu {
    top: 60px;
    padding-top: 150px;
    padding-bottom: 30px;
  }
  .header #m-phone {
    display: block;
    width: 100%;
    height: 100px;
    background: #1671b9;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
  }
  .header #m-phone p {
    padding-top: 21px;
    padding-bottom: 5px;
    font-size: 32px;
    font-weight: 700;
  }
  .header #m-phone a {
    font-size: 18px;
    text-decoration: none;
    border-bottom: 1px dashed #fff;
  }
  .header #m-phone a:hover {
    border: none;
  }
  .toggle span {
    background: #1671B9;
  }
  .content h1 {
    font-size: 32px;
    padding-bottom: 30px;
  }
  .page p,
  .sub-item p {
    font-size: 15px;
  }
  .sub-item h2 {
    font-size: 32px;
    padding-bottom: 25px;
  }
  .sub-item.about {
    padding-top: 50px;
  }
  .sub-item .dwnl {
    width: 253px !important;
  }
  .sub-item .dwnl a {
    font-size: 16px;
  }
  .modal-wind {
    width: 320px;
    margin-left: -160px;
    padding-bottom: 15px;
  }
  .modal-wind .form {
    width: auto;
    margin: 0 20px;
  }
  .modal-wind .form input,
  .modal-wind .form textarea {
    display: block;
    height: auto;
    width: 100%;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
  }
  .modal-wind .form input[type="submit"] {
    width: 100%;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
  }
  #mask {
    z-index: 8;
  }
  .trig .title {
    padding-bottom: 35px;
    font-size: 32px;
  }
  .trig .col-3,
  .trig .col-2 {
    width: 100%;
  }
  .trig .col-3 .item,
  .trig .col-2 .item {
    float: none;
    width: 100%;
    height: auto;
    margin-bottom: 35px;
  }
  .trig .icons {
    height: auto;
    margin-bottom: 15px;
  }
  .footer {
    padding-bottom: 0;
  }
  .footer .wd > div.right .tit,
  .footer .wd > div.right .form {
    padding-left: 0;
  }
  h1 {
    font-size: 32px;
  }
  .services .item .view {
    font-size: 14px;
  }
  .next-prev-post-link {
    font-size: 14px;
  }
}
