body.page--scrolled.page--hide-header .header-wrapper--fixed {
    transform: translateY(0);
    transition: transform .5s ease-in-out;
}

body.page--scrolled-down.page--hide-header .header-wrapper--fixed {
    transform: translateY(-100%);
}

.page--scrolled .header-wrapper--fixed .header-inner {
    padding-top: 1em;
    padding-bottom: 1em;
}

.logo__image img {
    max-height: 80.5px;
}


@media only screen and (max-width: 40em) {
    .logo__image img {
        max-height: 62px;
    }
}


.content > h1:last-child {
    margin-bottom: 0;
}


.content h2 {
    font-size: 181.25%;
}


.content h3 {
    font-size: 162.5%;
}


@media only screen and (max-width: 40em) {
    .content h2 {
        font-size: 162.5%;
    }

    .content h3 {
        font-size: 131.25%;
    }
}


.header-section {
    margin-bottom: 1.5em;
    text-align: center;
}


.header-section {
    margin-top: 3em;
}


.content .header-section {
    font-size: 225%;
}


@media only screen and (max-width: 40em) {
    .content .header-section {
        font-size: 162.5%;
    }
}


@media only screen and (min-width: 40em) {
    .header-section:first-child {
        margin-top: 1.5em;
    }
}


.body-inner--products {
    max-width: none;
    padding: 0;
}


.products {
    margin-bottom: 0;
    justify-content: start;
}


.product {
    margin-bottom: 0;
}


.product__content {
    padding: 0;
    position: relative;
}


.product__image {
    margin-bottom: 0;
    overflow: hidden;
}


.product__image img {
    width: 100%;
    transition: transform 0.2s;
}


.product__image:after {
    content: "";
    display: block;
    position: absolute;
    top: 100%;
    right: 0;
    bottom: 0;
    left: 0;
    background: #003c77;
    opacity: 0.7;
    transition: top 0.2s;
}


.product__title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75em 0.5em;
    color: #fff;
    font-size: 125%;
    line-height: 1.25;
    text-align: left;
    background: #003c77;
    background: rgba(0, 60, 119, 0.7);
}


.product__description {
    display: none;
}


.product:hover .product__image:after,
.product:focus .product__image:after,
.product:active .product__image:after {
    top: 0;
}


.product:hover .product__title,
.product:focus .product__title,
.product:active .product__title {
    visibility: visible;
    background: none;
}



.product:hover .product__image img,
.product:focus .product__image img,
.product:active .product__image img {
    transform: scale(1.15);
}


@media only screen and (min-width: 40em) {
    .product__title {
        background: none;
        padding: 0 1em 1em;
        font-size: 150%;
        visibility: hidden;
    }
}


.block-1 {
    background: #fff url('img/top-banner.png') no-repeat center top;
    position: relative;
}


.block-1:after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3em;
    background: linear-gradient(0deg, #fff, transparent);
}


@media only screen and (min-width: 60em) {
    .block-1 {
        background-size: auto;
    }
}


.block-2 {
    background: #fff url('img/line-blue.png') no-repeat center center;
    background-size: cover;
    min-height: 400px;
    display: flex;
    align-items: center;
}


.block-3 {
    background: #fff url('img/banner-cta.png') no-repeat center center;
    background-size: cover;
    border: 2px solid #ef7d30;
    border-width: 2px 0;
    min-height: 400px;
    display: flex;
    align-items: center;
    margin: 1em 0;
}


.block-2 > .body-inner,
.block-3 > .body-inner {
    width: 100%;
}


.block-3 h2 {
    margin-bottom: 1.25em;
}


.counter-number {
    font-size: 150%;
    font-weight: bold;
    color: #ee7d2d;
    line-height: 1;
}


.js-counter-block p {
    margin-bottom: 0;
}


.block-2 .counter-number {
    font-size: 500%;
}


.block-2 .js-counter-block {
    margin-top: 2em;
}


.button-2,
.button-3 {
    border-radius: 5px;
}


.button-2 {
    padding-left: 1.5em;
    padding-right: 1.5em;
}


.cta-box {
    background: #59a8f8 url('img/banner-cta2.png') no-repeat top left;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 160px;
    padding: 1em 0;
    flex-wrap: wrap;
    margin-bottom: 4em;
}


.cta-box__left,
.cta-box__right {
    padding: 1em 2em;
    text-align: center;
}


.cta-box h1,
.cta-box h2,
.cta-box h3,
.cta-box h4 {
    color: #fff;
    margin-bottom: 0;
}


.cta-box p:first-child {
    margin-top: 0;
}


.cta-box p:last-child {
    margin-bottom: 0;
}


.cta-box .button {
    color: #fff;
    background-color: transparent;
    box-shadow: none;
    border: 2px solid #fff;
    padding-left: 1.5em;
    padding-right: 1.5em;
}


@media only screen and (min-width: 50em) {
    .cta-box {
        padding-left: 1em;
        padding-right: 1em;
    }
}


.cta-buttons {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    margin-bottom: 4em;
    margin-left: -0.5em;
    margin-right: -0.5em;
    flex-direction: column;
}


.cta-button {
    display: block;
    display: flex;
    text-decoration: none;
    color: #fff;
    line-height: 1.25;
    font-weight: bold;
    border-radius: 6px;
    flex: 1;
    padding: 1em;
    position: relative;
    align-items: center;
    margin-bottom: 1em;
    justify-content: space-between;
    box-sizing: border-box;
    margin: 0.5em;
    min-height: 8em;
    flex-direction: column;
}


.cta-button__label {
    display: block;
    font-size: 112.5%;
    width: 100%;
    /*font-size: 200%;*/
    box-sizing: border-box;
    z-index: 1;
    order: 2;
    /*width: 50%;
    padding-right: 0.5em;*/
    text-align: center;
    /*padding: 1em;*/
}


.cta-button__icon {
    background: transparent no-repeat bottom center;
    width: 50%;
    order: 1;
    background-size: 100%;
    /*min-width: 100px;*/
    height: auto;
    position: relative;
    margin-bottom: 1em;
}


.cta-button__icon:after {
    content: "";
    display: block;
    padding-top: 100%;
}


.cta-button:after {
    content: "";
    display: block;
    border-bottom: 6px solid #5aa9f8;
    border-radius: 6px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}


.cta-button:before {
    content: "";
    display: block;
    border-radius: 6px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    transition: top 0.2s;
    background-color: #ee7d2d;
    background-color: rgba(236, 98, 0, 0.75);
}


.cta-button--web .cta-button__icon {
    max-width: 200px;
    background-image: url('img/ico-web.png');
    /*padding-top: 46.67%;*/
}


.cta-button--web .cta-button__icon:after {
    padding-top: 71.5%;
}


.cta-button--marketing .cta-button__icon {
    max-width: 150px;
    background-image: url('img/ico-marketing.png');
    /*padding-top: 35.75%;*/
}


.cta-button--marketing .cta-button__icon:after {
    padding-top: 93.33%;
}


.cta-button:hover,
.cta-button:focus,
.cta-button:active {
    color: #fff;
}


.cta-button:hover .cta-button__icon,
.cta-button:focus .cta-button__icon,
.cta-button:active .cta-button__icon {
    background-position: bottom center;
}


.cta-button:hover:before,
.cta-button:focus:before,
.cta-button:active:before {
    top: 0;
}


@media only screen and (min-width: 20em) {
    .cta-button {
        flex-direction: row;
    }


    .cta-button__label {
        order: 1;
        text-align: left;
        width: 70%;
        padding-right: 1em;
        font-size: 125%;
    }


    .cta-button__icon {
        width: 30%;
        order: 2;
        margin-bottom: 0;
    }
}


@media only screen and (min-width: 25em) {
    .cta-button {
        padding: 1em 2.5em;
        min-height: 10em;
    }

    .cta-button__label {
        font-size: 150%;
    }
}


@media only screen and (min-width: 40em) {
    .cta-buttons {
        flex-direction: row;
    }


    .cta-button {
        padding: 1em;
        min-height: 0;
    }
}


@media only screen and (min-width: 60em) {
    .cta-button {
        padding: 1em 2.5em;
    }


    .cta-button__label {
        font-size: 200%;
        width: 50%;
    }


    .cta-button__icon {
        width: 50%;
        margin: 0 1.5em;
        margin-bottom: 1em;
    }
}


.head-block {
    display: flex;
    align-items: center;
    margin-bottom: 1em;
    padding-top: 1em;
}


.head-block__content {
    font-size: 100%;
    line-height: 1.3;
}


.head-block__content h1 {
    font-size: 175%;
}


.head-block__content big {
    font-size: 150%;
}


@media only screen and (min-width: 34em) {
    .head-block__content {
        font-size: 137.5%;
    }
}


@media only screen and (min-width: 60em) {
    .block-1 {
        background-position: center top -60px;
    }


    .block-1 > .body-inner:first-child {
        padding-top: 0;
    }


    .head-block {
        min-height: 500px;
        background: transparent url('img/image01.png') no-repeat bottom right;
        background-position: bottom -30px right;
        background-size: 75%;
        padding-top: 0;
    }


    .head-block__content {
        width: 50%;
        padding-bottom: 2em;
    }


    .cta-button {
        color: #ee7d2d;
    }


    .cta-button:before {
        top: 100%;
    }


    .cta-button__icon {
        background-position: top center;
    }
}


@media only screen and (min-width: 72em) {
    .head-block__content {
        font-size: 175%;
    }
}


.budget-range-control .form__control,
.budget-range-control input {
    position: relative;
}

.budget-range-point-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    display: flex;
    justify-content: space-between;
    padding-top: 4px;
}

.budget-range-point {
    width: 24px;
    height: 24px;
    background: #ef7d30;
    border-radius: 50%;
}

.budget-range {
    -webkit-appearance: none; /* Hides the slider so that custom slider can be made */
    width: 100%; /* Specific width is required for Firefox. */
    background: transparent; /* Otherwise white in Chrome */
    padding: 0.75em 0;
    margin: 0;
}

.budget-range::-webkit-slider-thumb {
    -webkit-appearance: none;
}

.budget-range:focus {
    outline: none; /* Removes the blue border. You should probably do some kind of focus styling for accessibility reasons though. */
}

.budget-range::-ms-track {
    width: 100%;
    cursor: pointer;

    /* Hides the slider so custom styles can be added */
    background: transparent;
    border-color: transparent;
    color: transparent;
}

/* Special styling for WebKit/Blink */
.budget-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    margin-top: -12px; /* You need to specify a margin in Chrome, but in Firefox and IE it is automatic */
    border: 8px solid #ef7d30;
    height: 32px;
    width: 32px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}

/* All the same stuff for Firefox */
.budget-range::-moz-range-thumb {
    border: 8px solid #ef7d30;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}

/* All the same stuff for IE */
.budget-range::-ms-thumb {
    border: 8px solid #ef7d30;
    height: 32px;
    width: 32px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}

.budget-range::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: #ef7d30;
    border-radius: 8px;
}

.budget-range:focus::-webkit-slider-runnable-track {
    background: #ef7d30;
}

.budget-range::-moz-range-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: #ef7d30;
    border-radius: 8px;
}

.budget-range::-ms-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: #ef7d30;
    border-radius: 8px;
}

.budget-range::-ms-fill-lower {
    background: #ef7d30;
    border-radius: 8px;
}

.budget-range:focus::-ms-fill-lower {
    background: #ef7d30;
}

.budget-range::-ms-fill-upper {
    background: #ef7d30;
    border-radius: 8px;
}

.budget-range:focus::-ms-fill-upper {
    background: #ef7d30;
}

.budget-range-info {
    text-align: center;
    line-height: 1;
    margin-bottom: 1em;
    font-weight: bold;
    color: #000;
    font-size: 150%;
}


@media only screen and (min-width: 30em) {
    #modal-poptavka .modal__container {
        width: 75%;
        max-width: 60em;
    }
}


/** pricelist */
.pricelist tfoot {
    display: none;
}


.content table thead .pricelist-button {
    color: #ef7d30;
}


@media only screen and (max-width: 40em) {
    .content table thead .pricelist-button--active {
        color: #fff;
        background: #ef7d30;
    }


    .pricelist--active,
    .pricelist--active thead,
    .pricelist--active tbody,
    .pricelist--active tfoot,
    .pricelist--active tr,
    .pricelist--active td,
    .pricelist--active th {
        display: block;
        box-sizing: border-box;
        width: 100% !important;
    }


    .pricelist--active thead tr {
        display: flex;
        flex-wrap: wrap;
    }


    .pricelist--active thead td,
    .pricelist--active thead th {
        flex: 1;
    }


    .pricelist--active thead td:first-child,
    .pricelist--active thead th:first-child {
        flex-basis: 100%;
    }


    .pricelist--active thead p {
        text-align: center !important;
    }


    .pricelist--active tbody td,
    .pricelist--active tbody th {
        text-align: center;
    }


    .pricelist--active tbody td:first-child,
    .pricelist--active tbody th:first-child {
        font-size: 87.5%;
    }


    .pricelist--active .pricelist-section td,
    .pricelist--active .pricelist-section th {
        text-align: center;
        display: none;
    }

    .pricelist--active .pricelist-section td:first-child,
    .pricelist--active .pricelist-section th:first-child {
        display: block;
        font-size: 100%;
    }


    .pricelist--active tbody td,
    .pricelist--active tbody th,
    .pricelist--active tfoot td,
    .pricelist--active tfoot th {
        display: none;
    }


    .pricelist--active tbody .pricelist-cell--active,
    .pricelist--active tbody .pricelist-cell--active,
    .pricelist--active tfoot .pricelist-cell--active,
    .pricelist--active tfoot .pricelist-cell--active {
        display: block;
    }


    .pricelist--active tbody .pricelist-cell--hidden,
    .pricelist--active tbody .pricelist-cell--hidden,
    .pricelist--active tfoot .pricelist-cell--hidden,
    .pricelist--active tfoot .pricelist-cell--hidden {
        display: none;
    }
}
