@media screen and (min-width: 1921px) {
}

/**
 * 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 {
        border-top: 1px solid rgba(0,0,0,0.1);
        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: -1;
    }

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

}

/**
 * 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;
    color: var(--color-primary);
}

.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: var(--square-size);
    height: var(--square-size);
    padding: 0;
    font-size: 18px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transition: all 0.4s;
    border-radius: var(--square-radius);
}

.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: var(--color-primary);
}

.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) {
    .offer-item {
        padding: var(--space-25);
    }

    .offer-slider {
        margin: calc(var(--space-25) * -1);
    }

    #main-menu > ul {
        gap: 15px;
    }

    .header-contact {
        gap: calc(var(--space-50) * 1);
    }
}

@media screen and (max-width: 1600px) {
    .offer-item {
        padding: 10px;
    }

    .offer-slider {
        margin: -10px;
    }

    header .logo {
        width: 200px;
    }

    #content {
        padding-top: calc((var(--space-40) - 2px) * 2 + 46px);
    }

    .section-text-right {
        width: 45%;
        padding: var(--space-40) 2%;
    }
}

@media screen and (max-width: 1440px) {
    .header-contact {
        gap: 15px;
    }

    #main-menu ul a {
        padding: 5px;
        font-size: 13px;
    }

    .offer-item-inner {
        padding: var(--space-40) var(--space-25);
    }

    .footer-cols {
        gap: 5px;
    }

    .text-img3 {
        display: none;
    }

    .section-text-right {
        padding-right: 0;
    }

    .header-contact {
        gap: var(--space-25);
    }
}

@media screen and (max-width: 1280px) {
    .header-contact {
        gap: 10px;
    }

    .header-contact a {
        gap: 10px;
        font-size: 13px;
    }

    #main-menu ul a {
        padding: 5px;
        font-size: 13px;
    }

    .portfolio-sliders .rf-square{
        display: none;
    }
    .portfolio-title {
        inset: 10px 15px;
        font-size: 15px;
        line-height: 1.25;
        gap: 0 5px;
    }

    .offer-item {
        width: 25%;
    }

    .mainSlider-logo {
        width: 25.6%;
    }

    .header-inner {
        padding: var(--space-25) 0;
    }

    #content {
        padding-top: calc(var(--space-25) * 2 + 46px);
    }

    header .logo {
        width: 170px;
    }

    #main-menu > ul {
        gap: 5px;
    }
}

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

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

@media screen and (max-width: 1139px) {
    .section-offer {
        margin-bottom: var(--space-60);
    }

    .footer-wrapper {
        padding-top: var(--space-60);
    }

    .footer-col-title {
        margin-bottom: 10px;
    }

    .footer-top {
        padding-bottom: calc(var(--space-60) - 20px);
    }

    .lines {
        opacity: 0.5;
        gap: 30%;
    }

    .line:nth-child(1),
    .line:nth-child(2) {
        display: none;
    }

    .section-text-inner {
        flex-direction: column;
        gap: var(--space-25);
        justify-content: center;
        align-items: center;
    }

    .section-text-left {
        max-width: 660px;
    }

    .section-text-right {
        padding: 0;
        width: 100%;
        margin-top: 0;
    }

    .section-portfolio .portfolio-dots .slick-dots,
    .offer-dots .slick-dots {
        margin-top: var(--space-60);
    }

    .section-portfolio,
    .section-header {
        margin-bottom: var(--space-60);
    }

    .section-offer-inner {
        padding: var(--space-60) 0;
    }

    .section-text {
        margin-bottom: var(--space-60);
    }

    .mainSlider-scroll-wrapper {
        display: none;
    }


    .mainSlider-inner {
        padding: var(--space-60) 0;
    }

    .mainSlider-section .line:after,
    .mainSlider-section .line:before {
        background: rgba(255, 255, 255, 0.4);
    }


    .header-inner {
        padding: 5px 0;
    }

    #content {
        padding-top: 56px;
    }

    .header-contact {
        gap: 10px;
    }

    .header-center {
        display: none;
    }

    .header-contact a {
        gap: 10px;
    }

    /* RWD FOOTER */
    .footer-logo-wrapper {
        margin: 0 auto;
        width: 100%;
        max-width: 420px;
    }

    .footer-cols {
        width: 100%;
    }

    .footer-col ul {
        flex-wrap: wrap;
        justify-content: center;
        align-content: center;
    }

    .footer-inner {
        gap: var(--space-40);
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
    }

    .footer-col-title, .footer-title {
        position: relative;
        font-size: 18px;
        text-align: center;
        padding-bottom: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }


    .footer-title:not(.no-toggle).active:after,
    .footer-col-title:not(.no-toggle).active:after {
        transform: translateY(-50%) scaleY(-1);
    }

    .footer-title:not(.no-toggle),
    .footer-col-title:not(.no-toggle) {
        cursor: pointer;
    }

    .footer-col-content:not(.no-toggle),
    .footer-content:not(.no-toggle) {
        display: none;
        padding-bottom: 20px;
    }


    .footer-title:not(.no-toggle):after,
    .footer-col-title:not(.no-toggle):after {
        transition: transform, 500ms;
        position: absolute;
        right: var(--container-padding);
        top: 50%;
        transform: translateY(-50%) rotate(90deg);
        color: #fff;
        width: 10px;
        -webkit-mask-size: contain;
        -mask-size: contain;
        -webkit-mask-position: center;
        mask-position: center;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        background-color: currentColor;
        -webkit-mask-image: url('../images/icons/arrow-right.svg');
        mask-image: url('../images/icons/arrow-right.svg');
        height: 10px;
        content: "";
    }


    .footer-title:not(.no-toggle).active:after,
    .footer-col-title:not(.no-toggle).active:after {
        transform: translateY(-50%) rotate(90deg) scale(-1);
    }

    .footer-cols {
        display: flex;
        flex-direction: column;
    }

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

    .footer-col ul li {
        padding: 0 !important;
    }

    .footer-col ul {
        flex-direction: column !important;
    }


    /* --------- */
    .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;
    }
}

@media screen and (max-width: 1000px) {
    .portfolio-slider-right:not(.slick-initialized) .portfolio-item:nth-child(n + 3) {
        display: none;
    }

    .portfolio-slider-right:not(.slick-initialized) {
        grid-template-rows: 1fr 1fr;
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 900px) {
    .offer-item {
        padding: 2px;
    }

    .offer-title {
        font-size: 14px;
    }

    .offer-text {
        max-height: calc(4em * 1.5);

        line-height: 1.5;
    }

    .offer-slider {
        margin: -2px;
    }

    .mainSlider-logo {
        display: none;
    }

    .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;
    }
}

@media screen and (max-width: 767px) {
    .header-contact .caption {
        display: none;
    }

    .offer-item {
        width: 33.3333%;
    }

    .mainSlider-slide {
        padding-right: 0;
    }

    .footer-bar-links:has(li) + .copyright:before {
        display: none;
    }

    .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;
    }
}

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

@media screen and (max-width: 639px) {
    .gallery-list-item {
        width: 50%;
    }

    .offer-text.text{
        line-height: 1.5;
    }

    .text {
        font-size: 13px;
        line-height: 25px;
    }

    .slick-dots li a {
        width: 40px;
        height: 40px;
        font-size: 13px;
    }

    .slick-dots {
        gap: 5px;
    }

    .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: flex;
        float: none;
        max-width: 450px;
        text-align: center;
        line-height: 0;
        margin: 0 auto;
        aspect-ratio: 450 / 450;
    }

    .article-image-inner {
        position: absolute;
        inset: 0;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .article-image + .text {
        margin-top: var(--space-50);
    }

    .article-image-inner img {
        max-height: 100%;
    }

    .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;
    }
}

@media screen and (max-width: 560px) {
    .footer-bar-content {
        flex-direction: column;
    }

    .portfolio-title,
    .portfolio-slider-left .portfolio-title {
        font-size: 12px;
    }

    .offer-item {
        width: 50%;
    }

    .text {
        word-wrap: break-word;
    }

    .mainSlider-slide {
        padding: 0;
    }

    .mainSlider-inner {
        padding-bottom: 60px;
    }

    .mainSlider-nav ul.slick-dots {
        align-items: center;
        flex-direction: row;
    }

    .mainSlider-nav {
        top: unset;
        transform: none;
        bottom: 10px;
    }

    .gallery-list-item {
        width: 50%;
    }

    .portfolio-icon {
        display: none;
    }
}

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

    .slick-dots li a {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }

    #content {
        padding-top: 50px;
    }

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

    header .logo {
        width: 130px;
    }

    .main-menu-button span:nth-child(1) {
        bottom: 12px;
    }

    .main-menu-button span:nth-child(3) {
        top: 12px;
    }

    .main-menu-button span {
        width: 20px;
    }
}

@media screen and (max-width: 420px) {
    .gallery-list {
        gap: -5px;
    }

    .gallery-list-item {
        padding: 5px;
    }

    .offer-text{
        max-height: unset;
    }
    .header-right, .header-contact {
        gap: 5px;
    }

    .offer-title {
        min-height: unset;
    }

    .offer-item {
        width: 100%;
    }

    .footer-bar-content.footer-bar-content > * {
        display: block;
        margin-left: 0;
        margin-right: 0;
    }
}

@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;

    }
}

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

        --container-padding: 30px;
    }
}

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

    }
}

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


        --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: 480px) {
    :root {
        --square-size: 40px;
    }
}

