/* Large devices (desktops, less than 1200px) */
@media screen and (max-width: 1199px) {
  .nav-header__link + .nav-header__link {
    margin-left: 10px;
  }
  .page-intro__text {
    max-width: 580px;
  }
  .about__inner::before {
    height: 164px;
    width: 180px;
  }
  .about__inner::after {
    bottom: auto;
    top: 0;
    height: 170px;
    width: 137px;
  }
  .calculator__inner {
    padding: 0 50px;
  }
  .calculator-main-right {
    min-height: 300px;
    max-width: 320px;
  }
  .calculator-main__price-text {
    font-size: 18px;
  }
  .calculator-main__price {
    font-size: 26px;
    margin: 35px 0;
  }
  .phone-group{
    flex-direction: column;
  }
  .phone-group .header-contacts{
    margin: 3px 0;
  }
  .phone-group .header-contacts__tel{
    font-size: 23px;
  }
}
/* Medium devices (tablets, less than 992px) */
@media screen and (max-width: 991px) {
  .visible-sm {
    display: block;
  }
  .page-header {
    min-height: 200px;
  }
  .nav-header__link {
    font-size: 16px;
  }
  .nav-header__link + .nav-header__link {
    margin-left: 25px;
  }
  .header-inner {
    -webkit-align-content: center;
        -ms-flex-line-pack: center;
            align-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-justify-content: space-around;
        -ms-flex-pack: distribute;
            justify-content: space-around;
  }
  .page-intro__inner {
    overflow: hidden;
  }
  .page-intro__man {
    right: -120px;
  }
  .calculator-main {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .calculator-main-left {
    margin-bottom: 40px;
  }
  .no-problems__text {
    margin-right: 0;
  }
  .no-problems__inner {
    background-position: 450px bottom;
  }
  .tariff-item--left::before,
  .tariff-item--right::before {
    -webkit-transform: skewY(1deg) rotate(1deg);
        -ms-transform: skewY(1deg) rotate(1deg);
            transform: skewY(1deg) rotate(1deg);
  }
  .tariff-item--left::after,
  .tariff-item--right::after {
    -webkit-transform: skewY(-1deg) rotate(-1deg);
        -ms-transform: skewY(-1deg) rotate(-1deg);
            transform: skewY(-1deg) rotate(-1deg);
  }
  .benefits-timeline__text br {
    display: none;
  }
  /* HEADER */
  .page-header {
    display: block;
    min-height: 51px;
  }
  .logo {
    display: none;
  }
  .nav-header {
    display: none;
  }
  .phone-group {
    display: none;
  }
  .header-mobile-btn,
  .header-mobile-logo,
  .header-phone {
    display: block;
  }
  .header-inner {
    -webkit-align-content: stretch;
        -ms-flex-line-pack: stretch;
            align-content: stretch;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  .page-intro__title {
    margin-bottom: 30px;
  }
  .page-intro__btn {
    margin-top: 35px;
  }
  .about {
    padding: 30px 0;
  }
  .about__inner::before {
    height: 196px;
    width: 208px;
  }
  .about__inner::after {
    height: 243px;
    width: 210px;
    top: 160px;
  }
  .tariff-item {
    margin: 0 45px 70px;
  }
  .benefits-timeline {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    -webkit-justify-content: space-around;
        -ms-flex-pack: distribute;
            justify-content: space-around;
  }
  .benefits-timeline__item {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -webkit-flex-direction: column-reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    padding-right: 0;
    text-align: center;
  }
  .benefits-timeline__text {
    padding-right: 0;
  }
  .benefits-timeline__text br {
    display: none;
  }
  .benefits-timeline__pic {
    margin-bottom: 15px;
  }
  .benefits-item-wrap {
    border-right: 0;
    width: auto;
    margin-bottom: 40px;
  }
  .benefits-item-wrap:first-child {
    padding: 0;
  }
  .benefits-item-wrap:first-child::before,
  .benefits-item-wrap:first-child::after,
  .benefits-item-wrap:last-child::before,
  .benefits-item-wrap::after {
    display: none;
  }
  .benefits-item-wrap:nth-child(even) {
    border-left: 0;
    padding: 0;
    width: auto;
  }
  .benefits-item-wrap:nth-child(even) .benefits-timeline__item .benefits-timeline__text {
    padding: 0;
  }
  .benefits-item-wrap:nth-child(even) .benefits-timeline__item {
    padding-left: 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -webkit-flex-direction: column-reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    text-align: center;
  }
  .benefits-item-wrap + .benefits-item-wrap {
    padding-top: 0;
  }
  .benefits-features__item {
    width: -webkit-calc((100% - 30px) / 2 - 30px);
    width: calc((100% - 30px) / 2 - 30px);
  }
  .page-title {
    font-size: 28px;
  }
  .page-info__subtitle {
    max-width: 430px;
    margin: 0 auto 42px;
  }
  .calculator-main__btn {
    padding: 15px 13px;
  }
  .slick-slider {
    margin: 0 40px;
  }
  .slick-prev {
    left: -30px;
  }
  .slick-next {
    right: -30px;
  }
  .no-problems__inner {
    background-position: 365px bottom;
  }
  .scroll-up {
    right: 15px;
  }
  .page-intro {
    min-height: 770px;
  }
  .calculator-main-left {
    min-height: 297px;
  }
  .mobile-menu-popup__link {
    font-size: 28px;
  }
  .mobile-menu-popup__number {
    font-size: 38px;
  }
  .mobile-menu-popup__text {
    font-size: 20px;
  }
  .page-footer__phone-group .page-footer__number{
    font-size: 28px;
  }
}
@media screen and (max-width: 991px) {
  .page-footer__phone-group{ flex-direction: column; }
  .page-footer__phone-group .page-footer__contacts{ display: block; margin: 4px 0; }
}
/* Extra small devices (portrait phones, less than 576px) */
@media screen and (max-width: 575px) {
  .visible-xs {
    display: block;
  }
  .hidden-sm {
    display: none;
  }
  /* INTRO */
  .page-intro__man {
    right: -50px;
    display: none;
  }
  .page-intro {
    min-height: 464px;
    padding-top: 115px;
    /*background: url("https://cdeklogic.ru/img/intro-bg-mini.jpg") no-repeat center top / cover; */
  }
  .page-intro__title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .page-intro__text {
    font-size: 18px;
  }
  .page-intro__btn-wrap {
    text-align: center;
  }
  .page-intro__btn {
    font-size: 13px;
    padding: 15px 40px;
    margin-top: 100px;
  }
  .page-intro__man {
    height: 244px;
    width: 163px;
  }
  .page-intro > .container {
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }
  .benefits__inner::after,
  .about__inner::before,
  .about__inner::after,
  .tariff__inner::after {
    display: none;
  }
  .tariff-item .tariff-item--left br {
    display: none;
  }
  .tariff-item {
    margin: 0 20px 40px;
  }
  .tariff__post-items {
    margin-bottom: 25px;
  }
  .tariff {
    padding: 40px 0 10px;
  }
  .benefits-timeline__text {
    max-width: 260px;
  }
  .benefits-features__item {
    width: 100%;
  }
  .page-info__subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .calculator-main__field-text,
  .calculator-main__field-wrap,
  .selectric {
    width: 100%;
  }
  .calculator__inner {
    padding: 0 15px;
  }
  .calculator-main {
    margin-top: 30px;
  }
  .clients__subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .no-problems__inner {
    padding: 10px 0 100px;
  }
  .no-problems__text,
  .no-problems__text-second,
  .no-problems__text-third {
    font-size: 21px;
  }
  .no-problems__text--green {
    font-size: 32px;
  }
  .page-footer__top,
  .page-footer__post-footer {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    text-align: center;
  }
  .page-footer__post-right {
    text-align: center;
  }
  .page-footer__top,
  .page-footer__post-footer {
    border: 0;
  }
  .callback-form,
  .submitted-form {
    width: 100%;
    max-width: none;
    height: 100vh;
    padding: 0 20px;
  }
  .callback-form__field-text {
    width: 100%;
  }
  .calculator-main__shipping-weight-result {
    margin-left: 20px;
  }
  .logo-footer {
    display: none;
  }
  .page-footer__top {
    min-height: auto;
    height: auto;
    padding-top: 20px;
  }
  .page-subtitle br:not([class="visible-xs"]) {
    display: none;
  }
  .benefits-timeline__text br {
    display: block;
  }
  .benefits-timeline__text br:not([class="visible-xs"]) {
    display: none;
  }
  .benefits-timeline__text {
    font-size: 18px;
  }
  .page-title {
    font-size: 26px;
  }
  .page-subtitle {
    font-size: 18px;
  }
  .benefits__title-third {
    margin-top: 15px;
  }
  .benefits-features__text {
    font-size: 18px;
  }
  .calculator-main__price-text {
    font-size: 18px;
  }
  .calculator-main__price {
    font-size: 30px;
  }
  .benefits__title-second {
    font-size: 30px;
  }
  .calculator__post-calc-text,
  .tariff__post-items {
    font-size: 16px;
  }
  .mobile-menu-popup__link {
    font-size: 20px;
  }
  .mobile-menu-popup__number {
    font-size: 27px;
  }
  .mobile-menu-popup__text {
    font-size: 14px;
  }
  .calculator-main-left {
    min-height: 520px;
  }
  .page-footer__tel-text{
    text-align: center;
    line-height: 1.4;
    display: block;
  }
  .page-footer__phone-group{
    align-items: center;
  }
}