@media screen and (max-width: 1199px) {
  .wrapper {
    padding: 0 33px;
  }
  .portfolio-item {
    width: 32%;
  }
  .portfolio-item-img {
    background-size: cover;
    height: 254px;
  }
  .video-reviews-item {
    width: 32%;
  }
  .video-reviews-item-img {
    background-position: center;
  }
  .text-reviews-item-img {
    width: 100%;
    height: auto;
  }
  .text-reviews-item-logo img {
    width: auto!important;
  }
  .text-reviews-item-logo {
    bottom: -25px;
  }
  .owl-carousel .owl-item {
    overflow: visible;
  }
  .text-reviews-items .owl-stage {
    padding-bottom: 25px;
  }
  .staff-item,
  .staff-item-wide {
    width: auto;
    height: 342px;
  }
  .other-item {
    width: 32%;
  }
}
@media screen and (max-width: 1100px) {
  .header-menu li {
    margin-right: 30px;
  }
  .text-reviews-items {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
}
@media screen and (max-width: 992px) {
  .header-menu {
    margin: 0 30px;
  }
  .header-logo {
    -ms-flex-negative: 0;
        flex-shrink: 0;
  }
  .header-phone a {
    width: 54px;
    height: 54px;
    border-radius: 100px;
    border: 2px solid #f13044;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    font-size: 0;
  }
  .header-phone a span {
    display: none;
  }
  .header-phone a i {
    background-image: url(../img/phone-icon.svg);
    width: 18px;
    height: 18px;
  }
  .header-phone a:hover {
    background-color: transparent;
  }
  .welcome-img {
    opacity: .3;
  }
  .portfolio-item {
    width: 49%;
  }
  .cost-item {
    margin-right: 18px;
  }
  .cost-item:last-of-type {
    margin-right: 0;
  }
  .video-reviews-item {
    width: 49%;
  }
  .consultation {
    padding-top: 40px;
    padding-bottom: 70px;
  }
  .consultation-img {
    right: 0;
    width: 282px;
    height: 540px;
    background-image: url(../img/consultation-img-tablet.png);
    bottom: -70px;
  }
  .consultation-img-caption {
    left: 32px;
    bottom: 70px;
  }
  .consultation .welcome-title {
    max-width: 465px;
  }
  .other-item {
    width: 49%;
    height: 222px;
  }
  .welcome-inner{
    text-align: center;
  }
  .welcome-title{
    margin: 0 auto;
    margin-bottom: 20px;
  }
  .welcome-form{
    margin: 0 auto;
    margin-top: 40px;
  }
  .welcome-playlink{
    margin-top: 120px;
  }
  .welcome{
    height: auto;
  }
  .welcome-inner{
    padding-bottom: 50px;
  }
  #welcome-video-popup .fancybox-close-small,
  #consultation-video-popup .fancybox-close-small{
    display: block;
  }
  #welcome-video-popup,
  #consultation-video-popup{
    padding: 0;
    max-height: 100%;
    height: 100%;
  }
  #welcome-video-popup video,
  #consultation-video-popup video{
    width: 100%;
    height: 100%;
    background-color: black;
    border-radius: 0;
  }
  .welcome-video,
  .consultation-video{
    display: none;
  }
  .consultation .welcome-title{
    max-width: 100%;
  }
}
@media screen and (max-width: 768px) {
  .fancybox-slide > div {
    width: 100%;
    margin: 0;
    height: auto;
    min-height: 100%;
    padding: 60px 33px 60px;
  }
  .fancybox-slide .fancybox-image-wrap{
    min-height: auto;
  }
  .header-menu {
    display: none;
  }
  .develop-block-left,
  .develop-block-right {
    width: 50%;
  }
  .develop-blocks {
    overflow: hidden;
  }
  .how-items-left,
  .how-items-right {
    width: 50%;
  }
  .wrapper {
    padding: 0 19px;
  }
  .cost-items {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .cost-item {
    width: 100%;
    margin-right: 0;
    margin-bottom: 22px;
  }
  .portfolio-item {
    width: 48%;
  }
  .welcome {
    height: auto;
  }
  .welcome-title {
    font-size: 35px;
  }
  .how {
    overflow: hidden;
  }
  .portfolio-item-img {
    height: 210px;
  }
  .fancybox-slide > div {
    padding: 60px 19px;
  }
  .test-path-items {
    padding: 0 50px;
  }
  .video-reviews-item {
    width: 48%;
  }
  .consultation-img {
    display: none;
  }
  .other-item {
    width: 48%;
    height: auto;
  }
}
@media screen and (max-width: 576px) {
  .welcome-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 36px;
    margin-bottom: 16px;
  }
  .welcome-subtitle {
    font-size: 18px;
    font-weight: 400;
    line-height: 20px;
  }
  .welcome-form {
    margin-top: 48px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    width: 100%;
  }
  .welcome-form input {
    width: 100%;
    margin-bottom: 16px;
  }
  .welcome-img {
    display: none;
  }
  .section {
    padding-top: 100px;
  }
  .section-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    margin-bottom: 8px;
  }
  .section-subtitle {
    font-size: 20px;
    font-weight: 400;
    line-height: 22px;
  }
  .how-items-left {
    padding-right: 16px;
  }
  .how-items-left .how-items-title {
    text-align: right;
  }
  .how-items-title {
    font-size: 18px;
  }
  .how-items-right {
    padding-left: 16px;
  }
  .how-items-sprite {
    margin-bottom: 32px;
  }
  .btn {
    padding: 18px 24px;
    padding-left: 64px;
  }
  span.btn-arrow {
    left: 24px;
  }
  .how-items {
    padding-top: 48px;
  }
  .portfolio-items {
    margin-top: 49px;
  }
  .portfolio-item {
    width: 100%;
    margin-bottom: 21px;
  }
  .portfolio-item-title {
    font-size: 18px;
  }
  .portfolio-item-desc {
    font-size: 14px;
  }
  .portfolio-item-info {
    font-size: 12px;
  }
  .develop-block-left {
    padding-right: 16px;
  }
  .develop-block-right {
    padding-left: 16px;
  }
  .develop-block-heading {
    width: 100%;
  }
  .develop-block-list li {
    font-size: 14px;
    margin-bottom: 7px;
  }
  .how-items-list li {
    font-size: 14px;
    margin-bottom: 7px;
  }
  .develop-block-heading {
    font-size: 14px;
  }
  .develop-block-inner {
    padding-top: 36px;
    padding-bottom: 56px;
  }
  .cost {
    padding-bottom: 100px;
  }
  .cost-items {
    margin-top: 49px;
  }
  .cost-item-title {
    font-size: 18px;
    line-height: 22px;
  }
  .test {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .test .section-title {
    max-width: 200px;
    margin: 0 auto;
    margin-bottom: 8px;
  }
  .test .section-subtitle {
    max-width: 200px;
    margin: 0 auto;
  }
  .test-path-items {
    padding: 0 24px;
  }
  .test-items {
    width: 234px;
  }
  .test-question-title {
    font-size: 18px;
  }
  .test-items li {
    font-size: 14px;
    padding: 0 16px;
    font-weight: 400;
  }
  .video-reviews-items {
    margin-top: 49px;
  }
  .video-reviews-item {
    width: 100%;
    margin-bottom: 21px;
  }
  .video-reviews-item-img {
    height: 158px;
  }
  .video-reviews-item-title {
    font-size: 18px;
  }
  .video-reviews-item-subtitle {
    font-size: 14px;
    margin-top: 4px;
  }
  .video-reviews-item-desc {
    padding: 16px;
  }
  .text-reviews-item-logo {
    width: 98px;
  }
  .text-reviews-item-logo img {
    width: 80%!important;
  }
  img[src="img/logo-proektnoereshenie.png"] {
    width: 50%!important;
  }
  .reviews {
    padding-bottom: 32px;
  }
  .consultation {
    padding-top: 69px;
    padding-bottom: 69px;
  }
  .list li {
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    margin-bottom: 7px;
  }
  .consultation-btn {
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    position: relative;
    left: 50%;
  }
  .staff-item,
  .staff-item-wide {
    height: 282px;
    margin-bottom: 0;
  }
  .owl-dots {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  .other {
    padding-top: 100px;
  }
  .other-items {
    margin-top: 48px;
  }
  .other-item {
    width: 100%;
    margin-bottom: 20px;
  }
  .other-item-title {
    font-size: 18px;
    line-height: 22px;
  }
  .other-item-subtitle {
    font-size: 14px;
    line-height: 20px;
    margin-top: 4px;
  }
  .footer-inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .footer-left {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
    margin-top: 8px;
  }
  .footer-email a {
    text-align: center;
    display: block;
  }
  .footer-policy a {
    display: block;
    text-align: center;
    font-size: 12px;
  }
  .footer-rights {
    font-size: 14px;
    line-height: 24px;
  }
  .playlink{
    margin-top: 40px;
  }
  .welcome-inner{
    padding-top: 50px;
  }
  .welcome-form .btn{
    margin: 0 auto;
  }
}
@media screen and (max-width: 340px) {
  .btn {
    padding: 18px 21px;
    padding-left: 59px;
  }
  span.btn-arrow {
    left: 21px;
  }
}
