/**
 * 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%);
    }
    .footer-columns{
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
    }
    .footer-columns-left{

        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    .footer-title{
        padding-top: var(--space-40);
        text-align: center;
        position: relative;
        padding-bottom: 5px;
        border-bottom: 1px solid #ffffff;
    }
    .footer-title.active .mobile-arrow{
        -webkit-transform: rotate(-90deg);
        -moz-transform: rotate(-90deg);
        -ms-transform: rotate(-90deg);
        -o-transform: rotate(-90deg);
        transform: rotate(-90deg);
    }
    .mobile-arrow{
        display: block;
        position: absolute;
        right: var(--space-25);
        top: 0;
        bottom: 0;
        width: 45px;
        height: 35px;
        -webkit-transform: rotate(90deg);
        -moz-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        -o-transform: rotate(90deg);
        transform: rotate(90deg);
        margin: auto 0;
        transition: transform, 500ms;
    }
    .mobile-arrow .icon{
        width: 100%;
        height: 100%;
        color: #ffffff;
    }
    .footer-col:not(.col-4){
        width: 100%;
    }
    .footer-columns-left{
        width: 100%;
    }
    .footer-content{
        text-align: center;
        margin-top: 10px;
        margin-bottom: var(--space-40);
    }
    footer .footer-col .footer-content{
        display: none;
        flex-grow: unset;
    }
    header.stickable .rwdPanel {
        z-index: -1;
    }

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

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

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

.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: 40px;
    height: 40px;
    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;
}

.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: 1520px) {
    .header-center {
        padding-left: calc(var(--space-50));
        padding-right: calc(var(--space-50));
    }
}

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

}

@media screen and (max-width: 1380px) {
    .header-center {
        padding-left: calc(var(--space-50));
        padding-right: calc(var(--space-25));
    }

    .langs-menu.langs-menu--list li {
        margin: 4px 5px;
    }

    .langs-menu {
        margin: 0;
    }

    .langs-menu.langs-menu--list a, .langs-menu.langs-menu--list li {
        width: 40px;
        height: 40px;
    }
    header .social-list ul li{
        width: 40px;
        height: 40px;
    }
    .social-item .social-icon {
        width: 40px;
        height: 40px;
    }
    .header-left {
        min-width: 100px;
        width: 15%;
    }
    .main-box-content .buttons-row{
        flex-direction: column;
        row-gap: 15px;
    }
    .lang-rwd-button{
        border: 2px solid rgba(0,0,0, 0.1);
        border-radius: 50%;
    }
    header.sticky .social-list ul li, .subpage header .social-list ul li {
        width: 40px;
        height: 40px;

    }
}

@media screen and (max-width: 1280px) {
    .big-title {
        font-size: 90px;
    }

    .about-us .btn {
        margin-bottom: 40px;
    }
    .about-us-right {
        padding-left: 20px;
        padding-right: 0;
    width: 50%;
    }
    .about-us-left{
        width: 50%;
    }
    .main-news .news-boxes{
        flex-wrap: wrap;
        row-gap: 20px;
    }
    .main-news .news-box{
        width: 50%;
    }
    .main-news .news-box-content{
        justify-items: center;
    }
    .main-news .news-thumbnail .img-wrapper{
        margin: auto;
        display: flex;
        justify-content: center;
    }
}

@media screen and (max-width: 1139px) {
    .left-box{
        margin-bottom: var(--container-padding);
        background-position-x: 0%;
    }
    .right-box{
        -ms-background-position-x: 100%;
        background-position-x: 100%;
    }
 .right-box:after{
     content: "";
     bottom: -43px;
     right: -97px;
     -webkit-transform: rotate(21deg);
     -moz-transform: rotate(21deg);
     -ms-transform: rotate(21deg);
     -o-transform: rotate(21deg);
     transform: rotate(21deg);
     width: 154px;
     height: 319px;
     display: block;
     position: absolute;
     background-color: #fff;
  }
    .left-box::before {
        content: "";
        top: -43px;
        left: -97px;
        -webkit-transform: rotate(21deg);
        -moz-transform: rotate(21deg);
        -ms-transform: rotate(21deg);
        -o-transform: rotate(21deg);
        transform: rotate(21deg);
        width: 154px;
        height: 319px;
        display: block;
        position: absolute;
        background-color: #fff;
    }
    .slick-nav{
        bottom: var(--space-25);
    }
    .main-slider .slide{
        min-height: 600px;
    }
    .rwdMenu li.active > *:first-child {
        font-weight: 700;
        color: var(--color-secondary);
    }

    .lang-rwd-button {
        margin-left: 15px;
    }

    .mainpage header {
        background-color: #fff;
    }

    .header-inner {
        padding: 0px !important;
    }

    .mainpage header .logo-color {
        opacity: 1;
    }
    .main-box .buttons-row{
        flex-direction: row;
        flex-wrap: wrap;
    }
    .trust-item .icon-container{
        width: 80%;
        height: 80%;
        min-height: 180px;
        min-width: 180px;
    }
    #rwd-langs .social-item {
        display: none;
    }

    .rwdMenu .social-item {
        border-bottom: none;
    }
    .main-box {
        background-size: 100%;
    }

    .social-item .social-icon {
        border-color: rgba(0, 0, 0, 0.1);
    }

    .social-item .social-icon svg {
        fill: var(--color-primary);
    }

    .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;
    }
    .trust-list{
        flex-wrap: wrap;
        column-gap: 0;
        justify-content: center;
        align-items: flex-start;
    }
    .trust-item{
        padding: 15px;
        flex-grow: unset;
        width: 33.3333%;
    }
    .content .row{
        flex-wrap: wrap;
        justify-content: center;
    }
    .content .column, .content .column.map-column{
        width: unset;
        flex-grow: 1;
    }
    .left-box .main-box-content{
        padding-left: var(--space-60);
    }
    .main-boxes-inner{
        flex-direction: column;
    }

    .right-box.main-box::before{
        top: unset;
        bottom: 0;
    }
    .main-title{
        font-size: 40px;
    }
    .left-box, .right-box{
        margin-right: 0;
        margin-left: 0;
        width: 100%;
        padding-left: 55px;
        padding-right: 55px;
    }
    header.sticky .social-list ul li, .subpage header .social-list ul li {
        border: unset;
    }
    .footer-columns{
        padding-bottom: 60px;
    }
    #form-wrapper .contact-form-container {
        padding-left: 0;
        padding-right: 0;
    }
    #form-wrapper .fancybox-close-small {
        top: 10px;
        right: 30px;
    }
    .captcha-group{
        width: 100%;
    }
}

@media screen and (max-width: 1000px){
    .left-half{
        width: 100%;
        padding: 0;
    }
    .right-half{
        padding: 0;
        width: 100%;
    }
    .about-us-item .title{
        text-align: center;
        margin: auto;
    }

    .about-us-item, .about-us-item:nth-child(even){
        flex-direction: column;
    }
    .about-us-item:first-child .left-half::after{
        content: unset;
    }
    .about-us-item .right-half:nth-child(even),  .about-us-item .right-half:nth-child(odd){
        padding: 0;
        padding-bottom: var(--space-40);
    }
    .about-us-item .left-half{
        padding-bottom: var(--space-40);
    }
    .news-box{
        width: 50%;
    }
     .news-boxes{
        flex-wrap: wrap;
        row-gap: 20px;
    }
   .news-box{
        width: 50%;
    }
    .news-box-content{
        justify-items: center;
    }
     .news-thumbnail .img-wrapper{
        margin: auto;
        display: flex;
        justify-content: center;
    }

     .btn-row button[type="submit"]{
         width: 240px;
     }
}

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

    .slide-content {
        min-height: unset;
        padding-bottom: 120px;
        padding-top: 105px;
    }

    .main-section .slide {
        font-size: 35px;
    }

    .main-section .slide .text {
        width: unset;
    }

    .section-title::before {
        background-size: contain;
    }
    .about-us-inner{
        flex-direction: column;
    }
    .about-us-left, .about-us-right{
        width: 100%;
    }
    .about-us-right{
        padding-top: 20px;
        padding-left: 0;
    }
    .about-us-right .title{
        margin: auto;
        text-align: center;
    }
    .about-us-right{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .about-us-right .section-decoration {
        left: -15px;
    }
    .main-news .section-top{
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .section-top .btn{
        position: static;
        margin: auto;
        -webkit-transform: unset;
        -moz-transform: unset;
        -ms-transform: unset;
        -o-transform: unset;
        transform: unset;
    }
    .downloads-item{
        width: 100%;
    }
    .reference-item{
        width: 50%;
    }
    .floating-image{
        width: 66vw;
        height: 66vw;
    }
    .left-box:before{
        left: -130px;
    }
    .right-box:after {
        right: -130px;
    }
}


@media screen and (max-width: 767px) {
    .left-box, .right-box{
        background-size: cover;
    }
    .main-box .text, .main-box .title{
        width: 100%;
    }
    .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;
    }

     .news-box, .main-news .news-box{
        width: 70%;
         margin: auto;
    }
     .news-thumbnail{
         width: 100%;
     }
     .news-thumbnail img{
         width: 100%;
     }
    .gallery-list-item{
        width: 50%;
    }
    .pagination-wrapper ul li a.btn.btn-primary {
    width: 35px;
        height: 35px;
        min-height: unset;
    }
    .pagination-wrapper ul li.prev, .pagination-wrapper ul li.next {
        width: 35px;
        height: 35px;
    }
    .pagination-wrapper ul li a.btn .icon {
        width: 25px;
        height: 25px;
    }
    .content .column.map-column{
        align-items: stretch;
        width: 100%;

    }
    .content .row{
        column-gap: 5px;
    }
    .content .column{
        width: unset;
        flex-grow: 1;
        display: flex;
        justify-content: center;
        align-items: center;

        padding: var(--space-25) 0;
    }
    .main-title{
        font-size: 30px;
    }
    .big-title{
        font-size: 45px;
    }
    .section-title{
        font-size: 35px;
    }
    .news-box-content .btn{
        margin: auto;
    }
 #form-wrapper .fancybox-close-small{
     right: 5px;
     top: 5px;
 }
    #form-wrapper .fancybox-close-small::after {
        width: 40px;
        height: 40px;
        font-size: 36px;
    }
}

@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;
    }
    .news-box, .main-news .news-box{
        width: 90%;
    }
    .breadcrumb > li:first-child a:after {
        content: "\f015";
        display: inline-block;
        font-family: FontAwesome, sans-serif;
        font-size: 12px;
    }
    .downloads-item-content{
        flex-direction: column;
        row-gap: var(--space-25);
    }
    .downloads-item-content > div{
        flex-grow: 1;
        border: none;
    }
    .reference-item{
        width: 100%;
    }
    .main-box-content{
        align-items: center;
        padding-left: 0 !important;
    }
   .left-box::before, .right-box::after{
       content: unset;
   }
    .slide-decoration{
        display: none;
    }

    .slick-nav .slick-dots li button {
        width: 40px;
        height: 40px;
    }
}

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

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

    .main-section .slide {
        font-size: 30px;
    }
    .trust-item{
        width: 50%;
    }

}
@media screen and (max-width: 500px) {
    .news-box, .main-news .news-box{
        width: 100%;
    }
}

@media screen and (max-width: 420px) {
    .footer-bar-content.footer-bar-content > * {
        display: block;
        margin-left: 0;
        margin-right: 0;
    }
    .left-box{
        background-position-x: -70px;
    }
    .right-box{
        background-position-x: calc(100% + 76px);
    }
}

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