@media screen and (min-width: 1921px) {
    body.compensate-for-scrollbar {
        margin-right: auto !important;
    }
}

/**
 * RWD PANEL
 */

@media screen and (min-width: 1140px) {
    .rwdPanel {
        display: none;
    }

    .rwdPanel-action-open,
    .rwdPanel-action-toggle {
        display: none !important;
    }
}

@media screen and (max-width: 1139px) {
    .rwdPanel {
        overflow-x: hidden;
        overflow-y: auto;
        position: fixed;
        z-index: 1000;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        background: #fff;
        transition-duration: 0.5s;
        transition-timing-function: ease;
        transition-property: transform, -webkit-transform, -ms-transform;
        /* Closed: */
        pointer-events: none;
        transform: translateY(100%);
        -webkit-transform: translateY(100%);
        -ms-transform: translateY(100%);
    }

    header.stickable .rwdPanel {
        z-index: 9;
    }

    .rwdPanel.active {
        pointer-events: all;
        transform: none;
        -webkit-transform: none;
        -ms-transform: none;
    }

    .rwdPanel-scrollLock body {
        position: fixed;
        width: 100%;
        overflow-y: scroll;
    }
}

/**
 * RWD MENU
 */

.rwdMenu {
    font-size: 1rem;
}

.rwdMenu ul {
    display: block;
    width: 100%;
    padding: 0;
}

.rwdMenu:not(:first-child) > ul {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.rwdMenu + .rwdMenu > ul {
    border-top: none;
}

.rwdMenu ul ul {
    display: none;
    box-shadow: inset 0 3px 5px -1px rgba(0, 0, 0, 0.12);
    background-color: rgba(0, 0, 0, 0.1);
}

.rwdMenu li {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.rwdMenu li.slided {
    border-bottom: none;
}

.rwdMenu a {
    color: inherit;
}

.rwdMenu li > *:first-child {
    flex: 1 0 0px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-height: 46px;
    padding: 5px var(--container-padding);
    text-align: left;
    word-break: break-word;
    color: #000;
    border: none;
}

.rwdMenu li > *:first-child:hover {
    text-decoration: none;
}

.rwdMenu li.active > *:first-child {
    font-weight: 700;
}

.rwdMenu > ul > li > *:first-child {
    text-transform: uppercase;
}

.rwdMenu > ul > li > ul {
    font-size: 0.875rem;
}

.rwdMenu > ul > li > ul > li > *:first-child {
    padding-left: calc(var(--container-padding) + 15px);
}

.rwdMenu > ul > li > ul > li > ul > li > *:first-child {
    padding-left: calc(var(--container-padding) + 30px);
}

.rwdMenu > ul > li > ul > li > ul > li > ul > li > *:first-child {
    padding-left: calc(var(--container-padding) + 45px);
}

.rwdMenu > ul > li > ul > li > ul > li > ul > li > ul > li > *:first-child {
    padding-left: calc(var(--container-padding) + 60px);
}

.rwdMenu > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li > *:first-child {
    padding-left: calc(var(--container-padding) + 75px);
}

.rwdMenu li > *:first-child > .fa,
.rwdMenu li > *:first-child > .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    font-size: 22px;
    flex-shrink: 0;
    margin: -9px 6px -9px -9px;
}

.rwdMenu li > *:first-child > .icon img {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.rwdMenu li > *:first-child > .caption {
    flex: 1 0 0;
}

.rwdMenu li > *:first-child > .caption * {
    display: inline-block;
}

.rwdMenu li > *:first-child > .caption ~ * {
    margin-left: 10px;
}

.rwdMenu .rwdMenu-count {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2em;
    height: 2em;
    text-align: center;
    font-size: 14px;
    color: #000;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.rwdMenu .user-nav li + li:before {
    display: none;
}

.cloneMenu-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 46px;
    padding: 0;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    border-top: none;
    border-right: none;
    border-bottom: none;
    border-left: 1px solid rgba(0, 0, 0, 0.04);
    background: rgba(0, 0, 0, 0.06);
}

.cloneMenu-toggle::before {
    content: "\f107";
    display: block;
    font-family: 'FontAwesome', sans-serif;
    transition: all 0.3s;
}

.cloneMenu-toggle.active::before {
    transform: rotateZ(180deg);
    -webkit-transform: rotateZ(180deg);
    -ms-transform: rotateZ(180deg);
}

.rwdPanel .social-list {
    margin: 15px 0;
    text-align: center;
}

/**
 * RWD BUTTON
 */

.rwdButton {
    float: right;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    margin: 15px 15px 15px 0;
    font-size: 18px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transition: all 0.4s;
    border-radius: 0;
}

.rwdButton .animIcon {
    opacity: 0;
    position: absolute;
    top: 10%;
    left: 10%;
    right: 10%;
    bottom: 10%;
    width: auto;
}

.rwdButton > * {
    transition: all 0.5s;
}

.rwdButton.rwdPanel-action-toggle.active {
    color: #fff;
    background-color: #f00;
}

.rwdButton .animIcon--close span {
    background-color: #fff;
}

.rwdButton:not(.active) > .animIcon--close {
    transform: scale(0.4);
    -webkit-transform: scale(0.4);
    -ms-transform: scale(0.4);
}

.rwdButton.active > .animIcon--close {
    opacity: 1;
}

.rwdButton.active > .animIcon--close ~ * {
    opacity: 0;
    transform: scale(0);
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
}

/* --------------- BREAKPOINTS --------------- */

@media screen and (max-width: 1720px) {
    .page-header-teaser {
        padding-left: var(--space-40);
    }

    .page-header-content {
        width: 28%;
    }

    .page-header-teaser {
        width: 72%;
    }

    .page-subtitle{
        margin-left: calc(2 * var(--space-40));
    }

}

@media screen and (max-width: 1600px) {
    #main-menu > ul {
        gap: var(--space-40);
    }

    .categories-box-name {
        padding: 12px;
        font-size: 15px;
        letter-spacing: 1px;
    }
}

@media screen and (max-width: 1440px) {

    .footer-col {
        width: 16%;
    }

    .footer-col-1 {
        width: 20%;
    }

    .footer-col-5 {
        width: 32%;
    }

    .footer-logo {
        max-width: 200px;
    }

    .newsletter-form .form-control {
        height: 48px !important;
        padding: 0 14px;
    }

    .newsletter-form .btn-lg {
        height: 48px;
        min-width: 120px;
        padding: 0 15px;
    }

    .asidedPage-content {
        padding-left: var(--space-50);
    }

    .shop-product-list{
        margin: -12px;
    }

    .shop-product-box {
        padding: calc(var(--space-25) + 5px) 12px;
    }

    .page-header-teaser{
        font-size: calc(var(--font-24) - 3px);
    }

    .page-title {
        font-size: 52px;
    }

    .shop-product-offer-top-right .btn {
        padding: 0 10px;
        gap: 10px;
        letter-spacing: 0.2px;
        font-size: 13px;
    }

    .shop-product-offer-top-right .btn-left{
        gap: 10px;
    }

    .page-header-inner {
        padding: var(--space-50) 0;
        min-height: 250px;
    }

}

@media screen and (max-width: 1280px) {
    #main-menu > ul {
        gap: var(--space-25);
    }

    .news-slider .swiper-wrapper {
        margin: -8px;
    }

    .news {
        padding: 8px;
    }

    .btn-md {
        gap: 8px;
        min-width: 160px;
        padding: 0 15px;
    }

    .footer-col {
        width: 15%;
    }

    .footer-col-1 {
        width: 23%;
    }

    .footer-col-5{
        width: 32%;
    }

    .categories-box-name {
        padding: 10px;
        font-size: 14px;
        letter-spacing: 0.5px;
    }

}

@media screen and (min-width: 1140px) {
    .mainsearch {
        top: 0 !important;
    }

    .footer-col-content {
        display: block !important;
    }
}

@media screen and (max-width: 1139px) {
    .text table tr td {
        padding: 6px 10px;
    }

    #main-menu {
        display: none;
    }

    .langs-menu {
        display: none !important;
    }

    .rwd-hide {
        display: none;
    }

    .text img {
        max-width: 100%;
        max-width: 100% !important;
    }

    .container {
        width: 100%;
    }

    .article-image {
        margin-right: 25px;
        margin-bottom: 15px;
    }

    .lang .langs-menu-short {
        display: none;
    }

    .lang .langs-menu-long {
        display: block;
    }

    .mainsearch.rwdPanel .mainsearch-search {
        background-color: #f0f;
    }

    .mainsearch.rwdPanel .dropdown-menu {
        position: static !important;
        width: 100%;
        box-shadow: none;
    }

    .mainsearch.rwdPanel .mainsearch-search,
    .mainsearch.rwdPanel .dropdown-menu {
        padding: 15px;
    }

    .mainsearch.rwdPanel .dropdown-menu .dropdown-search-li.all-search-results {
        margin-top: 15px;
    }

    .mainsearch.rwdPanel .form-element-container {
        width: calc(100% - 46px);
        flex-grow: 0;
    }

    .mainsearch.rwdPanel .mainsearch-submit {
        height: 46px;
    }

    .mainsearch.rwdPanel input,
    .mainsearch.rwdPanel .mainsearch-submit {
        border: none;
    }

    .main-category-item-title {
        min-width: 180px;
        padding: 8px 10px;
        font-size: 14px;
        letter-spacing: 1px;
    }

    .header-mid-right {
        display: flex;
        align-items: center;
    }

    .basket-box-btn {
        margin-right: 20px;
    }

    .header-mid-inner {
        padding-right: var(--container-padding);
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .main-slide-teaser {
        padding: 10px 25px;
        background: rgba(0, 0, 0, 0.60);
        font-size: calc(var(--font-36) + 4px);
        color: var(--color-secondary);
        margin-bottom: calc(var(--space-40) - 6px);
    }

    .main-slide-content,
    .main-slider-arrows {
        bottom: var(--space-60);
    }

    .slider-arrows .btn-square.prev {
        left: -10px;
    }

    .slider-arrows .btn-square.next {
        right: -10px;
    }

    .news {
        width: 28.2%;
    }

    /*FOOTER*/
    .footer-cols {
        display: flex;
        flex-direction: column;
        margin-bottom: 0;
        gap: 0;
    }

    .footer-col {
        text-align: center;
        width: 100% !important;
    }

    .footer-col-1 {
        margin-bottom: 15px;
    }

    .footer-col-title {
        padding-top: 15px;
        padding-bottom: 15px;
        cursor: pointer;
        display: block;
        position: relative;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        font-size: 18px;
    }

    footer {
        padding-top: var(--space-50);
    }

    .footer-contact {
        width: 100%;
    }

    .footer-logo {
        margin: 20px auto 10px auto;
        max-width: 150px;
    }

    .footer-address {
        text-align: center;
    }

    .footer-contact-item {
        justify-content: center;
    }

    .footer-col-content {
        padding-top: 15px;
    }

    .footer-col-heading {
        position: relative;
        cursor: pointer;
    }

    .footer-col-heading::after {
        content: "\f107";
        font-family: 'FontAwesome', sans-serif;
        display: block;
        position: absolute;
        right: 6px;
        top: 0;
        bottom: 0;
        margin: auto;
        width: 9px;
        height: 15px;
        transition: transform 500ms;
        color: #000;
    }

    .footer-col-heading.active::after {
        -webkit-transform: scaleY(-1);
        -moz-transform: scaleY(-1);
        -ms-transform: scaleY(-1);
        -o-transform: scaleY(-1);
        transform: scaleY(-1);
    }

    .footer-col-content {
        display: none;
    }

    .footer-col-container .footer-image {
        width: min(100%, 400px);
        margin: auto;
    }

    .footer-main-inner {
        display: block;
    }

    .footer-left {
        width: 100%;
        padding-right: 0;
    }

    .footer-right {
        width: 100%;
    }

    .footer-col-title {
        margin-bottom: 0;
    }

    .footer-col:nth-child(5) {
        margin-bottom: 10px;
    }


    .aside {
        margin-bottom: 0;
        bottom: 0;
        position: fixed;
        background-color: #fff;
        left: -280px;
        width: 280px;
        z-index: 101;
        transition: left, 300ms;
        top: 127px;
        padding-left: 15px;
        padding-top: 40px;
    }

    .aside .section-title-sm{
        font-size: 22px;
    }

    .aside-close {
        display: block;
    }

    .aside-title {
        padding-left: var(--container-padding);
        padding-top: 10px;
    }

    .aside-button {
        display: block;
    }

    .aside-shadow.active {
        opacity: 1;
        pointer-events: auto;
    }

    .aside-shadow {
        pointer-events: none;
        opacity: 0;
        transition: opacity, 300ms;
        display: block;
        z-index: 99;
    }

    .aside.active {
        left: 0;
    }

    .asidedPage-content {
        width: 100%;
        padding-left: 0;
    }

    .page-header-inner {
        display: block;
        padding: var(--space-60) 0;
        min-height: initial;
    }

    .page-header-content {
        width: 100%;
        display: flex !important;
        flex-direction: column;
        align-items: center;
    }

    .page-header-teaser{
        padding-left: 0;
        width: 100%;
        padding-top: var(--space-60);
        text-align: center;
    }

    .file-title-line1 {
        font-size: 64px;
    }

    .file-title-line2 {
        font-size: 30px;
    }

    .file-text {
        max-width: 80%;
    }

    .logotype {
        padding: 7px;
    }

    .logotype-slider{
        margin: -7px;
    }

    .shop-product-top-content{
        padding-left: var(--space-40);
    }

    .shop-product-offer-top-left {
        width: 44%;
    }

    .shop-product-offer-top{
        gap: var(--space-40);
    }

    .shop-product-offer-top-right {
        width: 56%;
    }

    .shop-product-price .caption {
        width: 38%;
    }

    .shop-product-price .price-right{
        width: 62%;
    }

    .shop-product-offer-inner .shop-product-history-price-before-discount {
        width: 61%;
    }

    .description-tab .text {
        columns: 2;
        column-gap: var(--space-40);
    }

    .shop-product-box{
        width: 33.3333%;
    }

    .sections-header {
        flex-direction: column;
        align-items: center;
    }

    .sections-header .text{
        width: 100%;
        margin-top: 20px;
    }

    .categories-box-list{
        display: none;
    }

    .cloneMenu > li > div  ul {
        display: block;
    }

    .cloneMenu > li  div:not(.box-title){
        width: 100%;
        display: none;
    }

    .footer-scroll{
        width: 48px;
        height: 48px;
        top: calc(-1 * var(--space-50));
    }



}

@media screen and (max-width: 900px) {
    .footer-bar {
        text-align: center;
        padding: 13px 0;
        line-height: normal;
    }

    .footer-bar-content > * {
        float: none;
        display: inline-block;
        vertical-align: middle;
    }

    .footer-bar-content.footer-bar-content > * {
        margin-left: 15px;
        margin-right: 15px;
    }

    .footer-bar .footer-bar-links {
        display: block;
        margin: -3px -8px;
    }

    .footer-bar .footer-bar-links:not(:last-child) {
        margin-bottom: 3px;
    }

    .footer-bar-links > li {
        margin: 3px 8px;
        line-height: 20px;
    }

    .copyright,
    .copyright-undicom {
        margin-top: 4px;
        margin-bottom: 4px;
        line-height: 20px;
    }

    .main-category-item-title {
        min-width: 140px;
        font-size: 13px;
    }

    .contact-top{
        flex-wrap: wrap;
    }

    .contact-top-col {
        width: 50%;
        padding: var(--space-50);
    }

    .contact-top-col:nth-child(2){
        border-right: 1px solid rgba(0,0,0,0.1);
    }

    .realization-images{
        margin: -4px;
    }

    .realization-image {
        padding: 4px;
    }

    .tile-item {
        width: 100%;
    }

    .tile-image{
        display: flex;
        justify-content: center;
    }

}

@media screen and (max-width: 800px) {
    .shop-product-top {
        display: block;
    }

    .product-photo{
        width: 100%;
    }

    .shop-product-top-content{
        width: 100%;
        padding-left: 0;
        padding-top: var(--space-60);
    }
}

@media screen and (max-width: 767px) {
    .text .table-responsive-wrapper {
        position: relative;
        padding-bottom: 40px;
        margin: 20px 0;
    }

    .text .table-responsive-wrapper::after {
        pointer-events: none;
        content: "";
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 45px;
        background-size: contain;
        background-position: right 15px center;
        background-repeat: no-repeat;
        background-image: url(../images/rwd-table-hand.png);
        -webkit-animation-name: rwd-hand-move;
        animation-name: rwd-hand-move;
        -webkit-animation-duration: 1.5s;
        animation-duration: 1.5s;
        -webkit-animation-iteration-count: infinite;
        animation-iteration-count: infinite;
        -webkit-animation-direction: alternate;
        animation-direction: alternate;
        -webkit-animation-timing-function: linear;
        animation-timing-function: linear;
    }

    .text .table-responsive {
        margin: 0;
        border: none;
    }

    .text table {
        margin: 0;
        min-width: 780px;
    }

    @keyframes rwd-hand-move {
        0% {
            transform: translateX(-30px);
        }
        100% {
            transform: translateX(0);
        }
    }
    @-webkit-keyframes rwd-hand-move {
        0% {
            transform: translateX(-20px);
        }
        100% {
            transform: translateX(0);
        }
    }
    .form .form-element-captcha .captcha-image-wrapper {
        margin-bottom: 15px;
    }

    #content {
        padding-top: 77px;
    }

    .breadcrumb-container {
        margin: 18px 0;
    }

    .aside-button {
        top: 132px;
    }

    .aside {
        top: 77px;
    }
    .section-texts {
        flex-direction: column !important;
        gap: var(--space-40);
    }


}

@media screen and (min-width: 706px) {
    footer .show-hide {
        display: block !important;
    }
}

@media screen and (max-width: 639px) {
    .text img {
        max-width: 100%;
        max-width: 100% !important;
        width: inherit;
        width: inherit !important;
        height: auto;
        height: auto !important;
    }

    .text table,
    .text iframe,
    .text object {
        max-width: 100%;
        max-width: 100% !important;
        width: 100%;
        width: 100% !important;
    }

    .article-image {
        margin-right: 0;
        margin-top: 0;
        width: 100%;
        display: block;
        float: none;
        max-width: none;
        text-align: center;
        line-height: 0;
    }

    .breadcrumb > li:not(:first-child):not(:last-child):not(:nth-last-child(2)) {
        display: none;
    }

    .breadcrumb > li:not(:first-child):not(:last-child) a {
        font-size: 0;
        text-indent: -1000px; /* Apple */
    }

    .breadcrumb > li:not(:last-child) a span {
        display: none;
    }

    .breadcrumb > li:not(:first-child):not(:last-child) a:after {
        content: "...";
        font-size: 12px;
    }

    .breadcrumb > li + li:before {
        padding: 0 6px;
    }

    .breadcrumb > li:first-child a {
        font-size: 0 !important;
        letter-spacing: 0 !important;
    }

    .breadcrumb > li:first-child a:after {
        content: "\f015";
        display: inline-block;
        font-family: FontAwesome, sans-serif;
        font-size: 12px;
    }

    .main-categories-item {
        width: 100% !important;
    }

    .section-mainVideo {
        aspect-ratio: 2 / 1 !important;
    }

    .mainVideo-apla img {
        height: 100%;
        object-fit: cover;
    }

    .news {
        width: 40.2%;
    }

    .realization-image {
        width: 100% !important;
    }

    .shop-product-box{
        width: 50% !important;
    }

}

@media screen and (max-width: 560px) {
    .text {
        word-wrap: break-word;
        font-size: 14px;
    }

    .btn-lg {
        height: 48px;
        min-width: 150px;
    }

    .file-inner {
        flex-direction: column !important;
    }

    .file-left{
        width: 100%;
    }

    .file-image{
        width: 100%;
    }

    .realization-title{
        font-size: 15px;
    }

    .description-tab .text{
        columns: initial;
    }

    .header-arrows{
        position: static;
        margin-top: 15px;
        transform: initial;
    }

    .shop-product-price .caption{
        font-size: 14px;
    }

}

@media screen and (max-width: 480px) {
    .modal-footer > .btn {
        width: 100%;
    }

    .modal-footer .btn + .btn {
        margin-left: 0;
        margin-top: 5px;
    }

    .main-category-item-image img {
        padding: 10px;
    }

    .main-category-item-title {
        bottom: 20px;
    }

    .contact-top-col {
        width: 100%;
        border-right: 1px solid rgba(0,0,0,0.1);
    }

    .toggle-heading{
        padding: 14px;
    }

    .toggle-heading .caption {
        padding-right: 10px;
    }

    .toggle-body {
        padding-left: 14px;
        padding-right: 14px;
        padding-bottom: 20px;
    }

    .file-title-line1 {
        font-size: 44px;
    }

    .file-title-line2 {
        font-size: 24px;
    }

    .file + .file {
        margin-top: var(--space-60);
        padding-top: var(--space-60);
    }

    .page-title {
        font-size: 46px;
    }

    .page-header-teaser{
        font-size: 15px;
    }

}

@media screen and (max-width: 420px) {
    .footer-bar-content.footer-bar-content > * {
        display: block;
        margin-left: 0;
        margin-right: 0;
    }

    .news {
        width: 62.2%;
    }

    .shop-product-offer-top {
        display: block;
    }

    .shop-product-offer-top-left{
        width: 100%;
    }

    .shop-product-offer-top-right{
        width: 100%;
        margin-top: 20px;
    }

    .logo{
        max-width: 140px;
    }

}

@media screen and (max-width: 360px) {
    .main-categories-column {
        width: 100%;
    }

    .shop-product-box{
        width: 100% !important;
    }
}

@media screen and (max-width: 319px) {
    body {
        width: 320px;
    }
}

/* --------------- GLOBAL VARIABLES --------------- */

@media screen and (max-width: 1600px) {
    :root {
        --space-60: 55px;
        --space-50: 45px;
        --space-40: 35px;

        --font-48: 40px;
        --font-36: 32px;
        --font-30: 26px;
        --font-24: 22px;
    }
}

@media screen and (max-width: 1440px) {
    :root {
        --space-60: 50px;
        --space-50: 40px;

        --font-48: 36px;

        --container-padding: 30px;
    }
}

@media screen and (max-width: 1366px) {
    :root {
        --space-25: 20px;

        --font-48: 34px;
        --font-36: 28px;
        --font-30: 24px;
    }
}

@media screen and (max-width: 1280px) {
    :root {
        --space-60: 40px;
        --space-50: 35px;
        --space-40: 30px;

        --font-48: 32px;

        --container-padding: 20px;
    }
}

@media screen and (max-width: 1139px) {
    :root {
        --space-60: 35px;
        --space-50: 30px;
        --space-40: 25px;
        --space-25: 15px;
    }
}

@media screen and (max-width: 960px) {
    :root {
        --space-60: 30px;
        --space-50: 25px;
        --space-40: 20px;
    }
}

@media screen and (max-width: 900px) {
    :root {
        --container-padding: 15px;
    }
}

@media screen and (max-width: 639px) {
    :root {
        --font-48: 30px;
        --font-36: 24px;
        --font-30: 22px;
        --font-24: 18px;
    }
}

@media screen and (max-width: 420px) {
    :root {
        --font-48: 24px;
        --font-36: 20px;
        --font-30: 20px;
        --font-24: 16px;
    }
}