@media (max-width: 1170px) {
  /* Header */
  .header__logo {
    font-size: 38px;
  }
  .header__list li {
    font-size: 14px;
  }
  .header,
  .header__body {
    height: 75px;
  }
  .home {
    margin-top: 75px;
  }

  .langs button {
    font-size: 14px;
  }

  /* Header-End */
}
@media (max-width: 1005px) {
  /* Header */
  .header__logo {
    font-size: 34px;
  }
  .header__list li {
    font-size: 12px;
  }
  .header,
  .header__body {
    height: 65px;
  }
  .home {
    margin-top: 65px;
  }
  /* Header-End */

  /* Team */

  /* Team-End */
}
@media (max-width: 930px) {
  /* Header */
  .header__logo {
    font-size: 32px;
  }
  .header__list li {
    font-size: 12px;
  }
  .header,
  .header__body {
    height: 65px;
  }
  .home {
    margin-top: 65px;
  }

  /* Header-End */
}
@media (max-width: 890px) {
  /* Header */
  .header,
  .header__body {
    height: 50px;
  }
  .header__logo {
    font-size: 20px;
  }
  .header__list li {
    font-size: 11px;
  }
  li.langs {
    top: 5px;
  }
  .home {
    margin-top: 50px;
  }
  /* Header-End */
}
@media (max-width: 768px), (min-height: 1366px) {
  /* Header-burger */
  body.lock {
    overflow: hidden;
  }
  .header,
  .header__body {
    height: 75px;
  }
  .header__logo {
    font-size: 48px; /*32px*/
  }
  .header__burger {
    display: block;
    position: relative;
    width: 60px; /*30px*/
    height: 45px; /*20px*/
    position: relative;
    z-index: 3;
  }
  .header__burger span {
    position: absolute;
    background-color: #40649b;
    width: 100%;
    height: 5px; /*2px*/
    left: 0;
    top: 20px; /*9px*/
    transition: all 0.5s;
  }
  .header__burger::before,
  .header__burger::after {
    content: "";
    background-color: #40649b;
    position: absolute;
    width: 100%;
    height: 5px;
    left: 0;
    transition: all 0.5s;
  }
  .header__burger::before {
    top: 0;
  }
  .header__burger::after {
    bottom: 0;
  }
  .header__burger.active span {
    transform: scale(0);
  }
  .header__burger.active::before {
    transform: rotate(-135deg);
    top: 20px; /*9px*/
  }
  .header__burger.active::after {
    transform: rotate(135deg);
    bottom: 20px; /*9px*/
  }
  .header__menu {
    position: fixed;
    transition: all 0.5s;
    top: -100%;
    left: 0;
    width: 100%;
    overflow: auto;
    height: 100%;
    background-color: #fff;
    /* background-image: url(../img/burger-image.jpg); */
    /* background-repeat: no-repeat; */
    background-size: cover;
    background-position: center;
    opacity: 0.95;
    /* background-color: #fff; */
    padding: 70px 10px 20px 20px;
  }
  .header__menu.active {
    top: 0;
  }
  .header__list {
    display: block;
    padding-top: 30px;
  }
  .about__right__rainbow.header__list--rainbow {
    display: grid;
    position: absolute;
    top: 10px;
  }
  .header__list li + li::before {
    display: none;
  }
  .header__list li {
    margin: 0 0 20px 0;
    padding-left: 0;
  }
  .header__link {
    font-size: 24px;
    color: #999999;
  }
  .header__link.selected {
    color: #999999;
  }
  .changeLang {
    display: none;
  }
  .home {
    margin-top: 75px;
  }
  /* Header-burgerEnd */

  /* Team */

  .slider__team {
    padding: 0;
  }
  .slick-arrow {
    display: none;
  }

  /* Team-End */
  .langs button {
    display: inline-block !important;
    background-color: transparent;
    color: #40649b;
    font-size: 24px;
    padding: 50px 20px 0 0;
  }

  .langs button.active {
    color: #999999;
  }

  .langs button:hover {
    color: #333333;
  }
}

@media (max-width: 500px) {
  /* Header */
  .header__logo {
    font-size: 36px;
  }
  .header,
  .header__body {
    height: 60px;
  }
  .header__burger {
    width: 45px;
    height: 30px;
  }
  .header__burger span {
    top: 13px;
    height: 4px;
  }
  .header__burger::before,
  .header__burger::after {
    height: 4px;
  }
  .header__burger.active::before {
    top: 13px;
  }
  .header__burger.active::after {
    bottom: 13px;
  }
  .header__list {
    padding-top: 10px;
  }
  .about__right__rainbow.header__list--rainbow {
    top: -10px;
  }
  .home {
    margin-top: 60px;
  }
  /* Header-End */
  /* Team */
  .team__inner-title {
    margin-bottom: 20px;
  }
  .slick-list {
    overflow: hidden;
  }
  .slider__team-item {
    opacity: 0.4;
  }
  .slider__team-item.slick-center {
    transition: all 0.3s ease 0.3s;
    opacity: 1;
  }
  .slider__team-foto {
    margin: 0 10px 30px;
  }
  /* .slick-arrow {
    display: block;
  } */
  /* Team-End */
}

@media (max-width: 321px) {
  /* Header-burger */
  .header__logo {
    font-size: 30px;
  }
  .header,
  .header__body {
    height: 50px;
  }
  .header__burger {
    width: 35px;
    height: 25px;
  }
  .header__burger span {
    top: 11px;
  }
  .header__burger.active::before {
    top: 10px;
  }
  .header__burger.active::after {
    bottom: 10px;
  }
  .header__list {
    padding-top: 0;
  }
  .about__right__rainbow.header__list--rainbow {
    top: -20px;
  }
  .header__link {
    font-size: 18px;
  }
  .langs button {
    font-size: 22px;
  }
  /* Header-burgerEnd */

  /* Home */
  .home {
    margin-top: 50px; /* Maksim - to prevent the Home block from overriding the menu*/
  }
  .home-title {
    font-size: 17px;
  }
  /* Home-End */
}

@media (min-width: 768px) {
  /* Home */
  .home {
    padding: 180px 0 130px;
  }
  .home-title {
    font-size: 36px;
    margin-bottom: 50px;
  }
  .started {
    padding: 10px 20px;
  }
  /* Home End */

  /* About Us */
  .about {
  }

  .about__row {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
  }

  .about__left {
    width: 70%;
    height: 700px;
  }

  .about__right {
    margin-left: -30%;
    width: 70%;
    margin-bottom: -60%;
  }

  .about__right__container {
    padding: 20px 50px;
    -webkit-box-shadow: 5px -5px 15px gray;
    box-shadow: 5px -5px 15px gray;
    text-align: left;
  }

  .about__right__container-text h2 {
    margin-bottom: 15px;
  }
  /* About Us ENd */

  /* Focus */
  .focus {
  }

  .focus__bottom-item {
    width: 36%;
    margin-right: 7%;
    margin-left: 7%;
    padding: 50px 20px;
  }
  .focus__bottom-item.third {
    margin-bottom: 0;
  }

  .focus__bottom-item:last-child {
    margin-right: 7%;
    margin-left: 7%;
  }

  .focus__bottom-item h3 {
    margin-bottom: 30px;
  }

  .focus__bottom-photo img {
    height: 50px;
  }
  /* Focus ENd */

  /* Order */
  .order {
    padding: 60px 0;
  }
  .order-title {
    font-size: 36px;
  }
  .order-description {
    margin-bottom: 30px;
    font-size: 16px;
  }
  .d-none {
    display: inline-block;
  }
  .form-item-container {
    display: inline-block;
    width: calc((100% - 30px) / 2);
  }
  .order .button {
    padding: 10px 20px;
  }
  .form-item-container:nth-child(2n-1) {
    margin-right: 30px;
  }
  .form-item-container.message {
    width: 100%;
    margin-right: 0;
    margin-bottom: 24px;
  }
  /* Order End */
}

@media (min-width: 960px) {
  /* Home */
  .home {
    padding: 300px 0 200px;
  }
  .home-title {
    margin-bottom: 90px;
    font-size: 50px;
    padding: 0 50px;
  }
  /* Home End */

  /* About Us */
  .about {
  }
  .about__left {
    width: 50%;
  }
  .about__right {
    margin-bottom: 0;
    width: 55%;
    margin-left: -5%;
  }
  .about__right__container {
    padding: 90px 60px;
  }
  .about__right__container-text h2 {
    margin-bottom: 30px;
  }

  /* About Us ENd */

  /* Focus */
  .focus {
  }

  .focus h2 {
    margin-bottom: 30px;
  }

  .focus__top p {
    font-size: 120%;
    margin-bottom: 70px;
  }

  .focus__bottom {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .focus__bottom-item {
    width: calc((100% - 60px) / 4);
    margin-right: 20px;
    margin-bottom: 0;
    margin-left: 0;
    padding: 60px 20px 40px;
  }

  .focus__bottom-item:last-child {
    margin-left: 0;
    margin-right: 0;
  }
  /* Focus ENd */

  /* Order */
  .order {
  }
  .order-container {
    width: 66%;
    margin: 0 auto;
  }
  .order-title {
    font-size: 60px;
  }
  .order-description {
    font-size: 18px;
    margin-bottom: 70px;
  }
  /* Order End */
}

/* Begin======================== Work Steps and Why Select Us ============================= vdobrydin */

@media (max-width: 991.98px) {
  .block .title_bl {
    font-size: 150%;
    word-wrap: normal;
  }

  .ws_content {
    background-size: 100% auto;
  }

  .centBlock {
    float: none;
    clear: both !important;
    margin: 0 auto !important;
  }

  .ws_content .text_blocks {
    top: 0;
  }

  .ws_content {
    background-image: none;
  }

  .ws_content .block {
    width: 55%;
  }

  .ws_content .wrap_tb {
    background-repeat: no-repeat;
    background-size: 100% auto;
    padding: 15% 0;
  }

  .ws_content .wrap_tb.bg1 {
    background-image: url("../img/workSt_1.jpg");
  }

  .ws_content .wrap_tb.bg2 {
    background-image: url("../img/workSt_2.jpg");
  }

  .ws_content .wrap_tb.bg3 {
    background-image: url("../img/workSt_3.jpg");
  }

  .ws_content .wrap_tb.bg4 {
    background-image: url("../img/workSt_4.jpg");
  }

  .why_content .blockW {
    width: 40%;
  }

  .worksteps p {
    font-size: 18px;
  }
}

@media (max-width: 767.98px) {
  .ws_content .wrap_tb {
    padding: 0 0 5% 0;
  }

  .why_content .blockW {
    width: 70%;
  }

  .ws_content .block {
    width: 100%;
  }

  .ws_content .wrap_tb {
    background-image: none !important;
  }

  .wrap_tb img {
    display: block;
    width: 100%;
  }

  .blockMobile {
    float: none !important;
    display: inline-block;
  }

  .block .title_bl {
    width: auto !important;
  }

  .block .descr {
    width: auto;
    text-align: center;
  }

  .stepNumbMobile {
    position: relative;
    top: 9px;
    left: -20px;
  }
  .block .descr {
    margin-top: 6%;
  }
  .worksteps {
  }

  .worksteps p {
    font-size: 16px;
  }
}

@media (max-width: 400px) {
  .blockMobile {
    float: left !important;
  }

  .blockMobile {
    left: -2px !important;
  }

  .block .title_bl {
    text-align: center;
    width: 76% !important;
  }

  .why_content .blockW {
    width: 100%;
  }
}
/* End======================== Work Steps and Why Select Us ============================= vdobrydin */

