.rwd-wcag-menu,
.rwd-search,
.rwd-menu {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: none;
    overflow-x: hidden;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.rwdwcag-wrapper,
.rwd-search-wrapper,
.rwd-menu-wrapper {
    height: inherit;
    background: #fff;
    pointer-events: visible;
    overflow-x: hidden;
}

.rwd-menu ul {
    display: block;
    margin: 0;
    width: 100%;
    clear: both;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-toggle.active span.l1 {
    margin-top: 12px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.nav-toggle.active span.l3 {
    margin-top: -10px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.nav-toggle.active span.l2 {
    background: 0 0;
}

.left_box .help .box {
    word-break: break-all;
    padding: 0 5px;
}

/**
 * RWD BUTTON
 */

.rwdButton {
    float: right;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    margin-left: var(--container-padding);
    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-secondary);
}

.rwdButton .animIcon--close span {
    background-color: #000;
}

.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: 1660px) {
    .wcag-list ul li + li:before {
        margin: 0 15px;
    }

    .left_box .help .box a, .left_box .help .box, .left_box .help a {
        font-size: 1.5rem;
    }

    .left_box .help .box.phone {
        font-size: 30px;
        line-height: 40px;
    }

    #menu2 a:before,
    #menu a:before {
        right: 20px;
    }

    #menu2 a,
    #menu a {
        padding: 12px 40px 12px 20px;
    }

    .container {
        max-width: 1120px;
    }

    .page-right > .container:first-child {
        max-width: none;
    }

}

@media screen and (max-width: 1530px) {
    .logo-box {
        padding-right: 20px;
    }

    .wcag-list ul li + li:before {
        margin: 0 5px;
    }

    .wcag-list {
        margin-right: 15px;
    }

    .wcag-bottom-right .header_icon {
        margin-left: 45px;
    }

    .wcag-bottom-right .bip {
        margin-right: 50px;
    }
}

@media screen and (max-width: 1440px) {
    .icons .wcag ul li {
        margin-left: 5px;
    }

    .icons .wcag ul li + li {
        margin-left: 5px;
    }

    .wcag-bottom-right .bip {
        margin-right: 40px;
    }

    .wcag-bottom-right .header_icon {
        margin-left: 35px;
    }

    .wcag-bottom-left ul li + li {
        margin-left: 6px;
    }

    .header-wcag-top .icons a {
        margin: 0 0 0 6px;
    }

    .wcag-list {
        margin-right: 5px;
        margin-bottom: 5px;
    }

    .logo-box {
        padding-right: 10px;
    }

    .news-intro p img {
        width: calc(33.33% - 6px) !important;
        height: auto !important;
    }

    .img_bottom {
        width: calc(25% - 15px);
    }

    .container {
        max-width: 1000px;
    }

    .header-search {
        max-width: 230px;
    }

    .right_box h2 {
        font-size: 38px;
        line-height: 40px;
    }

    .left_box h2 {
        font-size: 42px;
        line-height: 56px;
    }

    .left_box .help .box.phone {
        font-family: 'Comfortaa', cursive;
        font-size: 26px;
        line-height: 40px;
    }

    .left_box .help .box a, .left_box .help .box, .left_box .help a {
        font-size: 18px;
    }

    .wcag {
        padding-right: 0;
    }

    .header_top h1 span,
    .header_top h1 {
        line-height: 24px;
        font-size: 20px !important;
    }

    .header_top .icons {
        float: right;
        padding-top: 16px;
    }
}

@media screen and (min-width: 1366px) {
    .wcag .icons {
        display: none
    }
}

@media screen and (max-width: 1366px) {
    .wcag-bottom-left{
        margin: 0;
    }

    .header-wcag-top .icons {
        align-items: unset;
    }

    .wcag-bottom-left ul .icons {
        display: none;
    }

    .wcag-bottom-right {
        margin-top: 0;
        margin-left: 5px;
    }

    .wcag-bottom-right .header_icon {
        margin-left: 15px;
    }

    .wcag-bottom-right .bip {
        margin-right: 15px;
    }

    .wcag-list ul li a .caption {
        line-height: 36px;
    }

    header .header-wcag-top {
        flex-wrap: wrap;
        justify-content: center;
        padding-bottom: 5px;
    }

    .header-wcag-bottom {
        justify-content: center;
    }

    .wcag-mode-text-only .header-wcag-top .icons .wcag .wcag-btn {
        width: 125px;
    }
}

@media screen and (max-width: 1280px) {
    .header-left{
        margin-bottom: 5px;
    }
    .wcag-mode-text-only .header-wcag-top .icons .wcag .wcag-btn {
        width: 115px;
    }

    .btn-icon .caption {
        padding: 0 10px;
    }

    .header-wrapper {
        flex-direction: column;
    }

    .content {
        padding: 21px 0;
    }

    .news-intro .date {
        font-size: 1.4rem;
    }

    .header_top .icons .wcag a {
        width: 42px;
    }

    .header_top .icons a {
        height: 42px;
        min-width: 42px;
        line-height: 22px;
    }

    .eu img {
        height: 24px;
    }

    .header-right {
        padding-left: 20px;
    }

    body {
        background-size: 119% auto;
    }

    .content h3 a {
        font-size: 24px;
    }

    .help-wrapper .help {
        width: 24vw;
    }

    .page-left {
        width: 24%;
    }

    .container {
        max-width: 900px;
    }

    .footer-box-last {
        display: none;
    }

    .footer-box:nth-of-type(1) {
        width: 60%;
    }

    .footer-box {
        width: 40%;
    }

    .header-search {
        padding-right: 42px;
    }

    .header-search input {
        height: 42px;
    }

    .header-search button {
        height: 42px;
        width: 42px;
    }

    .header_top .icons a {
        margin: 0 0 0 8px;
    }

    .header_top .wcag {
        margin: -38px -19px -8px auto;
        float: none;
        clear: both;
        overflow: hidden;
        text-align: right;
    }

    .header_top .icons {
        margin: 8px 0 -28px;
        /*margin: 8px 0 -10px;*/
    }

    .header_top .icons .wcag a {
        margin: 0;
    }

    /*.wcag li {*/
    /*padding: 4px;*/
    /*}*/
    .wcag ul {
        width: auto;
        border: 0;
        display: inline-block;
    }

    .wcag a {
        padding: 8px;
        width: 42px;
        height: 42px;
        border: 1px solid rgba(0, 0, 0, 0.1);
        float: left;
    }
}

@media screen and (min-width: 1140px) {
    .rwd-search,
    .rwd-menu {
        display: none !important;
    }
}

@media screen and (max-width: 1139px) {
    .header-wrapper {
        flex-direction: row;
    }
    .btn-icon .caption {
        padding: 0;
    }

    .wcag-list ul li + li:before,
    .link-box-wrapper .link-box svg {
        display: none;
    }

    .icons .wcag {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .wcag .wcag-list-1 {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }

    .wcag-list {
        width: 100%;
    }

    .wcag-list ul {
        display: flex;
        flex-direction: column;
    }

    .wcag-list ul li {
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .wcag-list ul li:last-child {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);

    }

    .wcag-list ul li a {
        width: unset;
        height: unset;
        border: none;
    }

    .header-wcag-bottom {
        margin-top: 0;
    }

    .wcag-bottom-right .header_icon {
        margin-left: 15px;
    }

    .wcag-bottom-right .bip {
        margin-right: 15px;
    }

    .wcag .wcag-list .wcag-list-link {
        border: none;
    }

    .header-right {
        justify-content: space-between;
        align-items: center;
        flex-direction: row;
    }

    .wcag-bottom-left .btn-icon,
    .header-wcag-top {
        display: none !important;
    }

    body {
        min-height: 100vh;
    }

    .header-right {
        min-height: 46px;
    }

    .header-search {
        max-width: 90%;
    }

    .nav-toggle.active span.l1 {
        margin-top: 11px;
    }

    .nav-toggle.active {
        padding: 8px;
    }

    .img_bottom {
        width: calc(33% - 15px);
    }

    .page-match {
        height: auto !important;
    }

    .body-block {
        position: fixed;
        width: 100%;
    }

    header {
        padding: 15px 0 20px;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-right .wrapper {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-match {
        padding: 0;
    }

    #menu2 a,
    #menu a {
        color: #000;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        text-decoration: none;
    }

    .rwd-only {
        display: block;
    }

    .nav-toggle {
        position: relative;
        z-index: 1001;
        cursor: pointer;
    }

    .nav-toggle span {
        margin-top: 5px;
        display: block;
        width: 100%;
        height: 2px;
        background: red;
        -webkit-transition: all .5s ease-in-out;
        -moz-transition: all .5s ease-in-out;
        -ms-transition: all .5s ease-in-out;
        -o-transition: all .5s ease-in-out;
        transition: all .5s ease-in-out;
    }

    .nav-toggle span, .nav-toggle.active span {
        background: #000;
    }

    .header-rwd-icon svg {
        fill: #000;
    }

    .nav-toggle {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 6px;
    }

    .header-rwd-icon {
        cursor: pointer;
        position: relative;
        padding: 7px;
        float: left;
        margin-left: 8px;
        width: 38px;
        height: 38px;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

    .header-search input {
        color: #000;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

    .page-left {
        display: none;
    }

    .right_box h2 {
        padding-bottom: 0;
    }

    .container {
        max-width: 100%;
    }

    .right_box {
        padding: 20px 0 0;
    }

    .content h3 a {
        font-size: 20px;
        line-height: 24px;
    }

    body {
        background: #fff;
    }
}

@media screen and (max-width: 900px) {
    .wcag-bottom-right a span {
        display: none;
    }

    .section_left,
    .menu_right {
        width: 100%;
    }

    .menu_right {
        margin-top: 20px;
    }

    .header_top .icons .caption {
        display: none;
    }
}

@media screen and (min-width: 701px) {
    .footer-box-toggle {
        display: block !important;
    }

    .rwd-menu-wrapper .wcag-bottom-right {
        display: none;
    }
}

@media screen and (max-width: 700px) {
    .logo-box .logo {
        width: 90px;
    }

    .header-right .header-wcag-bottom .wcag-bottom-right {
        display: none;
    }

    .rwd-menu-wrapper .wcag-bottom-right {
        justify-content: center;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .nav-toggle.active span.l1 {
        margin-top: 9px;
    }

    .pagination .next, .pagination .prev {
        width: 36px;
        height: 36px;
    }

    .pagination .active, .pagination-dots, .pagination .num {
        line-height: 36px;
    }

    .pagination > a {
        margin: 0 4px;
    }

    .footer-box-title.active:before {
        -webkit-transform: translate3d(0, -50%, 0) scale(-1);
        -moz-transform: translate3d(0, -50%, 0) scale(-1);
        -ms-transform: translate3d(0, -50%, 0) scale(-1);
        -o-transform: translate3d(0, -50%, 0) scale(-1);
        transform: translate3d(0, -50%, 0) scale(-1);
    }

    .footer-box-title:before {
        position: absolute;
        right: 15px;
        top: 50%;
        -webkit-transition: all 0.4s;
        -moz-transition: all 0.4s;
        -ms-transition: all 0.4s;
        -o-transition: all 0.4s;
        transition: all 0.4s;
        -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);
        content: '\f107';
        font-family: fontAwesome;
    }

    .footer-box-title {
        padding-right: 40px;
        font-size: 20px;
        position: relative;
        border-bottom: 1px solid #f7a600;
    }

    .content h3 a {
        font-size: 18px;
        line-height: 20px;
    }

    .right_box h2 {
        font-size: 28px;
        line-height: 40px;
    }

    .content {
        padding: 10px 0;
    }

    .news-intro .date {
        font-size: 1.2rem;
    }

    .date-icon {
        width: 18px;
        height: 24px;
    }

    .news-intro p img:nth-of-type(2n) {
        margin-right: 0;
    }

    .news-intro p img {
        width: calc(50% - 3px) !important;
        height: auto !important;
    }

    .footer-box-toggle {
        display: none;
    }

    .footer-top .page-right {
        padding: 15px 0 30px 0;
    }

    .footer-box:nth-of-type(1),
    .footer-box:nth-of-type(2) {
        width: 100%;
    }

    .header_top h1 {
        margin-top: 0;
    }

    .header_top h1 span,
    .header_top h1 {
        line-height: 16px;
        font-size: 16px !important;
    }

    .header_top .icons {
        padding: 0;
    }

    header h2 {
        margin: 0;
        font-size: 13px;
        line-height: 16px;
    }

    .image-rotator {
        display: none;
    }

    header {
        padding: 10px 0 15px;
    }

    .header-left a.logo {
        padding: 0;
    }

    .nav-toggle.active span.l3 {
        margin-top: -9px;
    }

    .header_top .icons a img {
        height: 21px;
    }

    .header_top .icons .wcag a {
        width: 36px;
        padding: 7px 6px;
    }

    .header_top .icons a {
        height: 36px;
        min-width: 36px;
        padding: 7px 8px;
    }

    .nav-toggle {
        padding: 4px 5px;
    }

    .kontakt,
    .kontakt_form {
        width: 100%;
    }
}

@media screen and (max-width: 560px) {
    .header-left {
        min-width: unset;
    }

    .pagination > a {
        margin: 0 2px;
    }

    .img_bottom {
        width: calc(50% - 15px);
    }

    .footer-box-toggle li {
        width: 100%;
    }

    header h1,
    header h2 {
        display: none;
    }

}

@media screen and (max-width: 420px) {
    .pagination > a {
        margin: 0;
    }

    .kontakt_form label {
        float: none;
    }

    .textarea, .kontakt_form input {
        width: 100%;
    }

    footer .copyright,
    footer .author {
        float: none;
        text-align: center;
    }

    .header_top .icons a {
        height: 32px;
        min-width: 32px;
        line-height: 16px;
    }

    .header_top .icons .wcag a {
        width: 32px;
        padding: 5px 4px;
    }

    .header_top .icons a img {
        height: 16px;
    }

    .header-left {
        width: 90px;
    }

    .header_top .wcag {
        margin-top: -36px;
        margin-right: -17px;
    }

    .wcag li {
        padding: 2px;
    }
}

@media screen and (max-width: 380px) {
    .header_top .icons a {
        padding: 7px 4px;
    }
}

@media screen and (max-width: 320px) {
    body {
        width: 320px;
    }
}