/**
 * MOBILE MENU
 */

/* NAV TOGGLE */
.nav-toggle {
    margin: 10px 0 10px 10px;
}
.nav-toggle span {
    background: #000;
}

.nav-toggle.active span {
    background: var(--color-accent);
}

/* RWD MENU */
.rwd-menu ul > li:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rwd-menu ul > li {
    display: block;
    float: left;
    margin-bottom: -1px;
    width: 100%;
    border-bottom: 1px solid #e5e5e5;
    text-align: left;
}

.rwd-menu ul > li > a {
    position: relative;
    padding: 13px 15px 13px;
    color: #000;
    text-align: left;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 1.1428rem;
    line-height: 1.714rem;
}

.rwd-menu .rwd-menu-wrapper > ul > li.active-link > a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 700;
}

.rwd-menu ul > li > a#home {
    padding-left: 50px;
    background: url(../images/home.png) no-repeat 15px 16px;
}

.rwd-menu ul > li.active-link > a#home {
    background: url(../images/home.png) no-repeat 15px -76px;
}

.rwd-menu ul > li > ul {
    display: none;
}

.rwd-menu ul > li.active > ul {
    display: block;
}

.rwd-menu ul > li.active > a {
    /*font-weight: bold;*/
    color: var(--color-accent);
}

.rwd-menu ul > li > a > .glyphicon-bg {
    position: absolute;
    top: 1px;
    right: 0;
    bottom: 0;
    width: 50px;
    background: #e7e7e7;
    color: #000;
    text-align: center;
    transition: 0.4s all;
}

.rwd-menu ul > li > ul > li > a,
.rwd-menu ul > li.active > ul > li > a {
    color: #000;
}

.rwd-menu ul > li > ul > li.active-link > a {
    text-decoration: underline;
}

.rwd-menu ul > li:first-child > a > .glyphicon-bg {
    top: 0;
}

.rwd-menu ul > li > a .glyphicon {
    width: 100%;
    vertical-align: middle;
    text-align: center;
    line-height: 50px;
    transition: 0.4s all;
}

.rwd-menu ul > li.active > a .glyphicon {
    transition: 0.4s all;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.rwd-menu ul > li.active > ul > li:last-child {
    border-bottom: 0;
}

.rwd-menu ul > li ul {
    border-bottom: 1px solid #000;
}

.rwd-menu ul > li > ul > li {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #e7e7e7;
    text-align: center;
}

.rwd-menu ul > li > ul > li:last-child {
    margin-bottom: -1px;
}

.rwd-menu ul > li > ul > li > a {
    position: relative;
    padding: 13px 15px 13px 35px;
    color: #000;
    text-align: left;
    font-weight: 400;
    font-size: 1rem;
    line-height: 24px;
}

.rwd-menu ul > li > ul > li > a > .glyphicon-bg,
.rwd-menu ul > li > ul > li > ul > li {
    background: #b7b7b7;
}

.rwd-menu ul > li > ul > li > ul > li > a {
    padding: 13px 15px 13px 55px;
}

.rwd-menu ul > li > ul > li > a:before {
    position: absolute;
    top: 22px;
    left: 15px;
    width: 5px;
    height: 5px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: #000;
    content: '';
}

.rwd-menu ul > li > ul > li.active-link > a:before {
    background: #000;
}

.rwd-menu ul > li > ul > li > ul > li > a:before {
    left: 35px;
}

.rwd-menu ul > li > ul > li > ul {
}

.rwd-menu ul > li > ul > li > ul > li > ul {
}

.rwd-panel {
    display: none;
    pointer-events: none;
    overflow-x: hidden;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 100%;
}

.rwd-panel-wrapper {
    pointer-events: visible;
    overflow-x: hidden;
    height: inherit;
    background: #fff;
}

.rwd-lang {
    display: none;
}

.rwd-lang ul {
    display: none;
}
.rwd-lang li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.rwd-lang .lang {
    display: block;
    padding: 12px 15px;
    color: #000;
}

.rwd-lang .lang span {
    font-size: 16px;
}

.rwd-lang .langs-menu-icon {
    margin-right: 15px;
}

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

.rwd-lang .langs-menu-long {
    display: inline-block;
    text-transform: uppercase;
}

.rwd-menu .iconedCaption {
    padding: 5px 10px;
    min-height: 50px;
    text-transform: uppercase;
    font-weight: normal;
    font-size: 1.1428rem;
    color: #000;
}
.rwd-menu .iconedCaption svg {
    fill: #000;
}

.rwd-menu .header-bar-sides {
    float: left;
    width: 100%;
    height: auto;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.rwd-menu .header-bar-sides > .iconedCaption {
    flex: 1 0 auto;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}
.rwd-menu .header-bar-sides > .btn-base-group > * {
    margin: 1px 0 0 0;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}
.rwd-menu .mini-menu {
    display: block;
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.rwd-menu .mini-menu > ul {
    display: block;
}
.rwd-menu .mini-menu > ul > li > * {
    display: flex;
    width: 100%;
    align-items: center;
    min-height: 50px;
    font-size: 1.1428rem;
    color: #000;
    padding: 5px 15px;
    text-align: left;
}
.rwd-menu #wcag {
    float: left;
    width: 100%;
}
.rwd-menu #wcag > ul {
    justify-content: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.rwd-menu #wcag > ul > li {
    width: auto;
    border: none;
    padding: 0;
    margin: 1px 0;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}
.rwd-menu #wcag > ul > li:last-child {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}
.rwd-menu #wcag .btn.btn-base.btn-hollow-light {
    color: var(--color-accent);
}
.rwd-menu #wcag .btn.btn-base.btn-hollow-light svg {
    fill: var(--color-accent);
}

.rwd-menu #wcag li.active > .btn.btn-base {
    color: #fff;
    background-color: var(--color-accent);
}
.rwd-menu #wcag li.active > .btn.btn-base svg {
    fill: #fff;
}

.rwd-menu .mini-menu-jumpToContent,
.rwd-menu .mini-menu-shortcuts {
    display: none;
}

.rwd-menu .header-logotypes {
    float: left;
    width: 100%;
    justify-content: center;
    padding: 5px 15px;
    margin-top: 15px;
    text-align: center;
}
.rwd-menu .header-logotypes + * {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.rwd-menu .btn.btn-base.btn-square {
    width: 50px;
    height: 50px;
    line-height: 48px;
}

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

@media screen and (max-width: 1600px) {
    .header-bar-sides {
        height: 50px;
    }

    .header-main-sides {
        height: 90px;
    }

    .logo a img {
        max-height: 60px;
    }

    #main-menu > ul {
        height: 56px;
    }

    #wcag ul {
        margin: 0 -3px;
    }
    #wcag li {
        padding: 0 3px;
    }
}

@media screen and (max-width: 1440px) {
    .container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .tileBox-body {
        display: flex;
        align-items: center;
        min-height: 100px;
        padding: 15px;
    }
    .tileBox-icon {
        width: 80px;
        height: 80px;
        margin: -16px;
    }
}
@media screen and (max-width: 1440px) and (min-width: 1140px) {
    .asidedPage-content > .container {
        padding-left: 40px;
    }
}
@media screen and (max-width: 1366px) {
    .header-main-sides {
        height: 80px;
    }

    #main-menu > ul {
        height: 48px;
    }

    .logo a img {
        max-height: 56px;
    }

    .asidedPage-aside {
        float: left;
        width: 280px;
        padding: calc(1.3 * var(--space-60)) 0 var(--space-40) 0;
    }
}

@media screen and (max-width: 1280px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media screen and (min-width: 1140px) {
    .rwd-lang,
    .rwd-menu,
    .nav-toggle {
        display: none;
        display: none !important;
    }
}

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

    #main-menu {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

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

    .rwd-hide {
        display: none;
    }

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

    .container {
        width: 100%;
    }

    .body-block {
        position: fixed;
        width: 100%;
    }

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

    .newsBox-title {
        margin-bottom: 10px;
    }

    .newsBox .iconedCaption {
        margin-top: 5px;
    }

    .newsBox .text {
        font-size: 0.928rem;
        line-height: 1.8em;
    }

    .footer-cols {
        margin-left: -8px;
        margin-right: -8px;
    }
    .footer-cols > * {
        padding: 0 8px;
    }

    .header-menu {
        display: none;
    }

    .asidedPage-aside {
        display: none;
    }

    header {
        position: relative;
        padding-bottom: 61px;
    }
    .header-main {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
    }
    header.sticky .header-main {
        position: fixed;
        top: 0;
        bottom: auto;
    }

    .header-main {
        background-color: #fff;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .header-main-sides {
        height: 60px;
    }

    .header-lang .caption {
        display: none;
    }

    .rwd-select {
        margin-top: var(--space-40);
    }
    .rwd-select + .heading {
        margin-top: var(--space-40);
    }

    .header-logotypes img {
        max-height: 24px;
        margin-left: 10px;
        margin-right: 10px;
    }
    .header-logotypes a:nth-child(2) img {
        max-height: 28px;
        margin-top: 8px;
    }

    .header-main-sides .logo {
        margin-right: auto!important;
    }

    .header-main-sides {
        margin: 0 -5px;
    }
    .header-main-sides > * {
        margin-left: 5px;
        margin-right: 5px;
    }

    .header-main .mainsearch {
        width: auto;
    }
    .header-main .mainsearch button {
        position: static;
        pointer-events: none;
        border: 1px solid var(--color-accent);
    }

    .header-main .mainsearch-input-wrapper {
        display: none;
    }

    .mainsearch-fancybox .mainsearch {
        max-width: 400px;
        width: 100%;
        padding: 15px 40px 15px 15px;
    }
    .mainsearch-fancybox .mainsearch .fancybox-close-small {
        top: 15px;
    }

    .logo a img {
        max-height: 46px;
    }

    .langs-menu ul {
        display: block!important;
        height: auto!important;
    }

    .header-main-sides .lang,
    .header-main-sides .btn.btn {
        height: 40px;
        line-height: 38px;
    }
    .header-main-sides .lang,
    .header-main-sides .btn.btn.btn-square {
        width: 40px;
    }

    .tileBox-list {
        margin: -10px;
    }

    .tileBox-list-item {
        padding: 10px;
    }
    .mini-menu-shortcuts,
    .mini-menu-jumpToContent {
        display: none!important;
    }

    #wcag ul {
        justify-content: center;
    }
}

@media screen and (max-width: 1024px) {
    .newsBox-list-item {
        max-width: 100%;
    }

    .newsBox-side.newsBox-side--media {
        max-width: 170px;
    }
    .newsBox-side.newsBox-side--content {
        max-width: calc(100% - 170px);
    }

    .social-icon {
        width: 46px;
        height: 46px;
        line-height: 44px;
    }

    .contactBox-side.contactBox-side--media::before {
        content: "";
        display: block;
        width: 100%;
        padding-bottom: 76%;
    }

    .main-slider-arrows {
        bottom: 8px;
    }
    .main-slide-content {
        width: 38%;
    }

    .tileBox-icon {
        width: 56px;
        height: 56px;
        margin: -12px;
    }
    .tileBox-body,
    .tileBox-head + .tileBox-body {
        min-height: 60px;
    }
    .tileBox-head + .tileBox-body .tileBox-name,
    .tileBox-name {
        font-size: 1.428rem;
    }
    .tileBox .btn.btn.btn.btn {
        width: 36px;
        height: 36px;
        line-height: 34px;
    }
    .tileBox .btn.btn.btn.btn .icon {
        width: 32px;
        height: 32px;
        line-height: 32px;
    }
}

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

    .marg-xlg,
    .marg-xlg-top {
        margin-top: calc(1.7 * var(--space-40));
    }

    .marg-xlg,
    .marg-xlg-bottom {
        margin-bottom: calc(1.7 * var(--space-40));
    }

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

    .footer-extra-side.footer-extra-side--right {
        max-width: 450px;
    }

    .footer-extra-side > * {
        margin: 0 8px;
    }

    .contactBox-title,
    .contactBox-subtitle {
        margin-bottom: 8px;
    }

    .main-slider-arrows > .btn.btn.btn {
        height: 40px;
        line-height: 38px;
    }
    .main-slider-arrows > .btn.btn.btn-square {
        width: 40px;
    }
    .main-slide-title {
        font-size: var(--font-36);
    }
    .main-slide-img {
        right: 15px;
    }
    .main-slide-content {
        width: 43%;
        padding-bottom: 60px;
    }


    .tileBox-list {
        margin: -5px;
    }

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

    .tileBox-head + .tileBox-body .tileBox-name,
    .tileBox-name {
        font-size: 1.1428rem;
    }

    .section-news {
        padding: var(--space-60) 0;
    }
    .section-news-sides {
        flex-direction: column;
        margin: 0;
    }
    .section-news-side {
        flex: 1 0 auto;
        max-width: none;
        padding: 0;
    }
    .section-news-side + .section-news-side {
        margin-top: var(--space-60);
    }
    .newsBox--wide .newsBox-side.newsBox-side--media {
        max-width: 600px;
    }

    .footer-extra-side {
        margin: 0 -8px;
    }


    .header-bar-sides {
        height: 46px;
    }
    .header-bar .header-bar-sides .btn.btn.btn {
        min-width: 40px!important;
        width: auto;
        height: 40px;
        line-height: 38px;
    }

    .header-main-sides {
        height: 56px;
    }
}

@media screen and (max-width: 767px) {
    .tileBox-list{
        width: 100%;
    }
    .section-tile-boxes{
        flex-direction: column;
    }
    .tileBox-list-item {
        max-width: 100%;

    }
    .box-form-link{
        margin: 25px auto 10px auto;
        padding: 20px;
        width: unset;
    }
    .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;
    }


    .footer-cols {
        margin: 10px 0 0 0;
        flex-wrap: wrap;
    }
    .footer-col {
        max-width: 100%;
        padding: 10px 0;
    }
    .footer-col + .footer-col {
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
    .footer-col:last-of-type {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    .footer-col-title {
        position: relative;
        margin-bottom: 0;
    }
    .footer-col-content {
        display: none;
        margin-top: 10px;
    }

    .footer-col-title:after {
        content: "\f107";
        position: absolute;
        top: 50%;
        right: 0;
        font-size: 1.5714rem;
        font-weight: 700;
        color: #000;
        font-family: "FontAwesome", sans-serif;
        -webkit-transform: translate3d(0, -50%, 0);
        -moz-transform: translate3d(0, -50%, 0);
        -ms-transform: translate3d(0, -50%, 0);
        -o-transform: translate3d(0, -50%, 0);
        transform: translate3d(0, -50%, 0);
        -webkit-transition: all 0.4s;
        -moz-transition: all 0.4s;
        -ms-transition: all 0.4s;
        -o-transition: all 0.4s;
        transition: all 0.4s;
    }
    .footer-col-title.active:after {
        -webkit-transform: translate3d(0, -50%, 0) rotateZ(180deg);
        -moz-transform: translate3d(0, -50%, 0) rotateZ(180deg);
        -ms-transform: translate3d(0, -50%, 0) rotateZ(180deg);
        -o-transform: translate3d(0, -50%, 0) rotateZ(180deg);
        transform: translate3d(0, -50%, 0) rotateZ(180deg);
    }

    footer .social-list {
        width: 100%;
        padding: 0;
        margin-top: 15px;
        text-align: center;
    }

    .contactBox-list-item + .contactBox-list-item {
        margin-top: var(--space-60);
    }
    .contactBox {
        display: block;
    }
    .contactBox-side {
        max-width: none;
    }
    .contactBox-side.contactBox-side--media::before {
        padding-bottom: 350px;
    }

    .textGrid-item {
        max-width: 50%;
    }

    .main-slide-title {
        font-size: var(--font-24);
    }

    .tileBox-body {
        padding: 10px;
    }
    .tileBox-body,
    .tileBox-head + .tileBox-body {
        min-height: 56px;
    }
    .tileBox-name:not(:first-child) {
        margin-left: 10px;
    }
    .tileBox-name:not(:last-child) {
        margin-right: 8px;
    }
    .tileBox .btn.btn.btn.btn {
        width: 32px;
        height: 32px;
        line-height: 30px;
    }
    .tileBox .btn.btn.btn.btn .icon {
        width: 28px;
        height: 28px;
        line-height: 28px;
    }
    .tileBox-icon {
        width: 48px;
        height: 48px;
        margin: -8px;
    }
}

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

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

    .heading-title {
        text-align: center;
    }

    .file-icon .icon {
        width: 40px;
        height: 40px;
    }
    .file-button {
        min-width: 40px;
    }
    .file-button .caption {
        display: none;
    }

    .footer-extra {
        flex-direction: column;
        align-items: center;
    }
    .footer-extra-side {
        margin: 0;
        padding: 0;
    }
    .footer-extra-side + .footer-extra-side {
        margin-top: 12px;
    }
    .footer-extra-side.footer-extra-side--right {
        max-width: none;
        margin-left: 0;
    }

    .text, .text-base {
        line-height: 1.8em;
    }

    .contact-form h2 {
        text-align: center;
    }

    .main-slider .slick-track {
        display: flex;
        align-items: stretch;
    }
    .main-slider .slick-slide {
        display: flex;
        height: auto;
    }
    .main-slider .main-slide .container {
        display: flex;
        justify-content: center;
        height: auto;
    }
    .main-slide-sides {
        display: flex;
        align-self: stretch;
        justify-content: center;
        flex-direction: column;
        width: 100%;
        max-width: 400px;
    }
    .main-slide-sides::before {
        display: none;
    }
    .main-slide-sides > * {
        max-width: none;
        width: auto;
        margin: 20px auto 0 auto;
    }
    .main-slide-content {
        position: static;
        padding-bottom: 0;
        text-align: center;
    }
    .main-slider-arrows {
        position: static;
        justify-content: center;
        padding: 8px 15px;
        background-color: var(--color-light);
    }
    .main-slide-img {
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    .main-slide-img img,
    .main-slide-img {
        position: static;
        transform: none;
        -webkit-transform: none;
        -ms-transform: none;
    }
    .main-slide-content:only-child .main-slide-title {
        font-size: var(--font-36);
    }


    .tileBox {
        flex-direction: row;
        align-items: stretch;
    }
    .tileBox-head {
        width: 150px;
    }
    .tileBox-head + .tileBox-body .tileBox-name, .tileBox-name {
        font-size: var(--font-24);
    }
}

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

    .newsBox-title {
        margin-bottom: 8px;
    }

    .newsBox .iconedCaption {
        margin-top: 5px;
    }

    .rwd-menu .header-bar-sides > .iconedCaption {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    .rwd-menu .header-bar-sides .btn-base-group .btn:first-child {
        border-left: 1px solid rgba(0, 0, 0, 0.1);
    }

    .header-bar-sides > .btn-base-group {
        margin-left: -5px;
    }

    .mini-menu > ul > li > a,
    .mini-menu > ul > li > button {
        padding-left: 12px;
        padding-right: 12px;
    }
    #wcag li:last-child {
        margin-left: 0;
    }
}

@media screen and (max-width: 460px) {
    .newsBox-side.newsBox-side--media {
        max-width: 140px;
    }
    .newsBox-side.newsBox-side--content {
        max-width: calc(100% - 140px);
    }

    .newsBox-side.newsBox-side--content:not(:first-child) {
        padding-left: 15px;
    }

    .newsBox-img {
        top: 8px;
        left: 8px;
        right: 8px;
        bottom: 8px;
    }

    .newsBox-title {
        margin-bottom: 4px;
        font-size: 1.1428rem;
    }

    .newsBox .iconedCaption {
        --icon-size: 28px;
        margin-top: 0;
    }

    .newsBox .iconedCaption-caption:not(:first-child) {
        margin-left: 0;
    }

    .contactBox-side.contactBox-side--content {
        padding: 15px;
    }
    .contactBox-title {
        font-size: 1rem;
    }
    .contactBox-title,
    .contactBox-subtitle {
        margin-bottom: 5px;
    }
    .contactBox-sections {
        margin-left: -8px;
        margin-right: -8px;
    }
    .contactBox-sections > .contactBox-section {
        padding-left: 8px;
        padding-right: 8px;
    }

    .header-main-sides > .iconedCaption {
        width: 40px;
        height: 40px;
        line-height: 38px;
        border: 1px solid var(--color-accent);
    }
    .header-main-sides > .iconedCaption .iconedCaption-caption {
        display: none;
    }
    .header-main-sides > .iconedCaption img {
        margin: 0;
    }

    .tileBox-head {
        width: 120px;
    }

    .header-bar .container {
        padding: 0;
    }
    .header-bar-sides {
        flex-wrap: wrap;
        justify-content: center;
        height: auto;
    }
    .header-bar-sides .mini-menu {
        order: -1;
        width: 100%;
    }
    .mini-menu {
        background-color: #fff;
    }
    .mini-menu > ul > li > a,
    .mini-menu > ul > li > button {
        color: #000;
    }
    .mini-menu > ul > li:not(:last-child)::after {
        background-color: rgba(0, 0, 0, 0.2);
    }
}

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

    .gallery-list {
        margin: -5px;
    }

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

    .footer-extra-side.footer-extra-side--right {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-extra-side.footer-extra-side--right > * + * {
        margin-top: 12px;
    }

    .textGrid {
        margin: -10px -5px;
    }
    .textGrid-item {
        padding: 10px 5px;
    }
    .textGrid-title {
        margin-bottom: 8px;
        font-size: 1.1428rem;
    }

    .logo a img {
        max-height: 40px;
    }
}

@media screen and (max-width: 360px) {
    .newsBox-list-item + .newsBox-list-item {
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .newsBox {
        display: block;
    }

    .newsBox-side.newsBox-side--content:not(:first-child) {
        margin-left: 0;
    }

    .newsBox-side.newsBox-side--media {
        float: left;
        width: 100%;
        max-width: 90px;
        margin-right: 10px;
        margin-bottom: 5px;
    }
    .newsBox-side.newsBox-side--content {
        max-width: none;
    }

    .newsBox-title {
        margin-bottom: 8px;
    }

    .newsBox .text {
        text-align: justify;
    }

    .newsBox-img {
        top: 5px;
        left: 5px;
        right: 5px;
        bottom: 5px;
    }

    .newsBox .iconedCaption {
        display: flex;
        text-align: center;
        clear: both;
    }

    .newsBox .iconedCaption > * {
        flex-grow: 0;
    }

    .textGrid-item {
        max-width: 100%;
    }

    .header-main-sides .lang,
    .header-main-sides > .iconedCaption,
    .header-main-sides .mainsearch button {
        width: 36px;
        height: 36px;
        line-height: 34px;
    }
    .header-main-sides > * {
        margin-left: 2px;
        margin-right: 2px;
    }

    .tileBox-head {
        width: 100px;
    }
}

@media screen and (max-width: 340px) {
    .logo a img {
        max-height: 38px;
    }
}

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

        --header-gap: 196px;
    }
}

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

        --font-48: 36px;
    }
}

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

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

        --header-gap: 178px;
    }
}

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

        --font-48: 32px;
    }
}

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

        --header-gap: 0;
    }
}

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

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