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

@media screen and (min-width: 1140px) {
    .rwdPanel {
        display: none;
    }
    .rwdPanel-action-open,
    .rwdPanel-action-toggle {
        display: none!important;
    }
}

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

    .rwdPanel.active {
        pointer-events: all;
        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:first-child {
    border-top: 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 0;
    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);
    -ms-transform: rotateZ(180deg);
}

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

.rwdMenu .lang span.langs-menu-icon {
    margin-right: 10px;
}


.rwdMenu .social-list > ul > li a {
    padding: 0;
}

.rwdMenu .social-list > ul > li {
    border: 0 none;
}

/**
 * RWD BUTTON
 */

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

.rwdButton .animIcon {
    opacity: 0;
    position: absolute;
    top: 10%;
    left: 10%;
    right: 10%;
    bottom: 10%;
    width: auto;
}
.rwdButton > * {
    transition: all 0.5s;
}
.rwdButton.rwdPanel-action-toggle.active {
    color: #fff;
    background-color: 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: 1800px) {
    #main-menu li a {
        font-size: 0.75rem;
    }
}

@media screen and (max-width: 1670px) {
    .logo {
        width: 270px;
    }

    #content {
        padding-top: 143px;
    }
}

@media screen and (max-width: 1600px) {
    .top-right {
        flex-grow: 1;
    }

    .top-inner {
        gap: 15px;
    }

    .news-item {
        padding: 15px;
    }

    .news-slider {
        margin: -15px;
    }

    .mainpage .news-slider {
        margin: -15px;
        width: calc(100% + 30px);
    }

    .event-link {
        padding: 40px 30px;
    }

    .info-link {
        padding: 20px 5px 20px 15px;
    }

    .about-left {
        width: 45%;
    }

    .description {
        width: 75%;
    }

    .form-box-wrapper {
        padding: 35px;
    }
}

@media screen and (max-width: 1440px) {
    .news-item {
        padding: 10px;
    }
    .news-slider {
        margin: -10px;
    }

    .mainpage .news-slider {
        margin: -10px;
        width: calc(100% + 20px);
    }

    .event-link {
        padding: 35px 30px;
    }

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

    .info-link {
        padding: 20px 0 20px 15px;
    }

    .info-content {
        padding: 8px 45px 8px 0;
    }

    .about-right {
        width: 41%;
        padding-right: 3%;
    }

    .about-left {
        width: 47%;
    }

    .description {
        width: 77%;
    }

    .file-item {
        padding: 30px 45px;
    }

    .file-icon {
        margin-right: 30px;
    }

    .form-box-wrapper {
        padding: 30px;
    }



    #main-menu li a {
        font-size: 0.75em;
    }

    .logo {
        width: 270px;
    }
}

@media screen and (max-width: 1366px) {
    .logo {
        width: 240px;
    }

    #content {
        padding-top: 137px;
    }

    #main-menu li a {
        font-size: 0.6125em;
    }

    .event-link {
        padding: 30px;
    }

    .event-title {
        margin-bottom: 5px;
    }

    .info-link {
        padding: 20px 0 20px 10px;
    }

    .info-content {
        padding: 8px 40px 8px 0;
    }

    .structure-list ul li a {
        padding: 20px 18% 20px 7%;
    }

    .about-right {
        width: 41%;
        padding-right: 2%;
    }

    .about-left {
        width: 51%;
    }

    .description {
        width: 82%;
    }

    .file-item {
        padding: 30px 40px;
    }

    .file-icon {
        margin-right: 20px;
    }

    .controls.captcha-container {
        width: 100%;
    }

    .form-box-wrapper {
        padding: 25px;
    }
}

@media screen and (max-width: 1280px) {
    .calendar-box table thead tr:nth-child(2) th {
        padding: 0 4px;
        font-size: 13px !important;
    }

    .events-box-container .event-photo {
        max-width: 100px;
    }

    .event-box-wrapper {
        gap: var(--space-40);
    }

    .calendar-box {
        width: 33%;
    }

    .subpage .event-box-wrapper .event-item {
        width: 50%;
    }

    .subpage .event-box-wrapper .event-item:nth-child(even) {
        border-right: none !important;
    }

    .subpage .event-box-wrapper .event-item:nth-child(3n + 3) {
        border-right: 1px solid rgba(0, 0, 0, .1) !important;
    }

    .event-link {
        padding: 25px;
    }

    .info-content {
        padding: 8px 35px 8px 0;
    }

    .structure-list ul li a, .subpage .structure-list ul li a {
        padding: 20px;
    }

    .about-right {
        width: 41%;
        padding-right: 1%;
    }

    .about-left {
        width: 53%;
    }

    .description {
        width: 87%;
    }

    .file-item {
        padding: 30px;
    }

    .file-icon {
        margin-right: 25px;
    }

    .form-box-wrapper {
        padding: 20px;
    }

    .person-item {
        padding: 10px;
    }
	
	.top-right {
    width: 74%;
}
}

@media screen and (max-width: 1200px) {
    .event-link {
        padding: 20px;
    }

    .info-content {
        padding: 8px 30px 8px 0;
    }

    .info-link {
        padding: 20px 0;
    }

    .about-right {
        width: 41%;
    }

    .about-left {
        width: 55%;
    }


    .description {
        width: 92%;
    }

    .file-item {
        padding: 20px;
    }

    .file-icon {
        margin-right: 20px;
    }

    .person-item {
        padding: 5px;
    }
	
	.article-text {
    margin-bottom: var(--space-40);
}

.contact-right {
    width: 66%;
}

.top-right {
    width: 73%;
}
#main-menu li {
    margin: 0 3px;
}
}

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

@media screen and (max-width: 1139px) {
    #content {
        padding-top: 117px;
    }

    .person-item-inner {
        padding: 10px;
    }

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

    .mainsearch-submit {
        width: 40px;
        height: 40px;
        background-color: var(--color-primary);
        color: #fff;
    }

    .mainsearch input.form-control {
        height: 46px;
        border: 1px solid var(--color-primary) !important;
    }

    .mainsearch .alert-block {
        top: 100%;
    }

    .top-right {
        gap: 10px;
    }

    .header-top-inner > .mainsearch-rwd-button {
        display: none;
    }

    .event-box-wrapper {
        flex-direction: column-reverse;
    }

    .calendar-box {
        width: 100%;
        margin: 0 auto;
        max-width: 560px;
    }

    .table-calendar thead tr:first-child .text-center {
        line-height: 70px;
    }

    .event-box-wrapper {
        margin-bottom: 0;
    }

    .event-box {
        width: 100%;
    }

    .footer-boxes .footer-box:nth-child(2) .show-hide {
        margin-bottom: 13px;
    }

    .rwdPanel-action-toggle .langs-menu-short {
        display: none;
    }

    .header-top-right > .social-list {
        display: none;
    }

    .footer-bar-content {
        gap: 10px;
        flex-direction: column;
    }

    .footer-bar-left {
        justify-content: center;

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

    .mainsearch.rwdPanel .mainsearch-search {
        background-color: #fff;
    }
    .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;
    }


    .pagination-wrapper ul li.next, .pagination-wrapper ul li.prev {
        margin: 0;
    }

    .footer-box {
        width: 28%;
    }

    .footer-box:last-child {
        width: 48%;
    }

    .footer-box:first-child {
        width: 24%;
    }
    .top {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .page-submenu-inner ul li a {
        font-size: 0.825rem;
        height: 100%;
        justify-content: center;
        display: flex;
        align-items: center;
    }

    .submenu-box ul li {
        padding: 5px;
    }

    .submenu-box ul li a {
        width: auto;
        padding: 12px;
    }

    .result-right {
        width: 53%;
        padding-left: 20px;
    }

    .result-location {
        width: auto;
    }

    .phone-row span {
        display: inline-block;
        white-space: nowrap;
    }

    .result-data {
        padding-left: 15px;
        padding-right: 15px;
    }

    .result-location {
        width: auto;
    }

    .phone-row a {
        white-space: nowrap;
    }

    .email-row a {
        white-space: nowrap;
    }

    .result-item {
        padding: 20px 10px;
    }

    .result-contact {
        padding-right: 15px;
    }
}

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

    .footer-box-container {
        padding-top: 0;
        padding-bottom: 0;
    }

    .footer-boxes {
        flex-wrap: wrap;
    }

    .footer-boxes {
        flex-wrap: wrap;
        padding-top: 0;
    }

    footer .footer-box {
        width: 100%;
        border-top: 1px solid var(--color-border);
        padding: 15px 15px 0 15px !important;
        max-width: 100%;
    }

    footer .show-hide {
        display: none;
    }

    footer .footer-col-title {
        background: url(../images/icons/arrow_down2.svg) no-repeat right 5px;
        background-size: 20px 20px;
        margin-bottom: 0;
        font-size: 20px;
        padding-bottom: 15px;
        padding-left: 0;
    }

    .footer-box:first-child {
        width: 100%;
        border-top: 0 none;
    }

    .footer-box:last-child {
        width: 100%;
    }

    img.logo-min {
        max-width: 250px;
        margin-bottom: 15px;
    }

    .footer-bar-content {
        gap: 0;
    }

    .find-box {
        padding: 20px;
    }

}
@media screen and (max-width: 960px) {
    .pagination-wrapper ul li {
        margin: 0;
    }

    .pagination-wrapper {
        max-width: 100%;
    }

    .copyright:before{ display:none;}

    .news-item{ width:50%;}


    .pagination-wrapper ul li a, .pagination-wrapper ul li span {
        padding: 0 20px;
    }
	
	
.search-box button.btn.btn-lg.btn-primary.has-icon {
    width: auto!important;
    padding-left: 10px;
}

.search-box button.btn.btn-lg.btn-primary.has-icon .btn-icon {
    margin-left: -10px;
}

.search-box button.btn.btn-lg.btn-primary.has-icon {
    width: auto !important;
    min-width: 1px;
    padding: 0 0 0 10px;
}

    .search-box-btn-wrapper .btn {
        padding: 0 10px;
        height: 46px;
        line-height: 44px;
    }
	
	.result-item {
    font-size: 0.938rem;
}

.subpage .structure-text {
    padding-right: 0;
}
}

@media screen and (max-width: 900px) {
    .main-slider ul.slick-dots {
        bottom: var(--space-25);
    }

    .lang-rwd-button {
        margin-left: 0;
    }

    .langs-menu-short {
        text-transform: uppercase;
    }

    .top {
        padding: 10px 0;
    }

    #content {
        padding-top: 65px;
    }


    .wcag-mobile-panel .wcag-actions {
        border-bottom: none !important;
    }

    .footer-bar-left{
        display: inline-block; text-align:center;
    }

    .footer-bar-links:has(li) + .copyright:before {
        display: none;
    }
    .footer-bar-links > li {
        margin: 3px 8px;
        line-height: 20px;
    }

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

    .event-box {
        width: 100%;

    }

    .calendar-box {
        width: 100%;
    }

    .event-box-wrapper {
        flex-wrap: wrap;
    }

    .calendar-box img {
        margin: 0 auto;
    }

    .info-box {
        flex-wrap: wrap;
    }

    .info-item {
        width: 100%;
    }

    .info-icon {
        width: 22%;
        padding-bottom: 10%;
    }

    .rwd-bar {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .header-top {
        height: 0;
    }

    .header-top .header-top-left {
        display: none;
    }

    .header-top .header-top-right > .lang-rwd-button,
    .header-top .header-top-right > .btn-bip {
        display: none;
    }

    .logo {
        width: 240px;
    }



    .pagination-wrapper ul li a, .pagination-wrapper ul li span {
        padding: 0 15px;
    }

    .pagination-wrapper ul li.next, .pagination-wrapper ul li.prev {
        padding: 0 15px;
    }

    .menu-box-toggle {
        display: block;
    }

    .toggle-more {
        display: flex;
        justify-content: center;
        padding: 10px;
        width: auto;
        margin: 0 -15px;
        background: var(--color-primary);
        color: #fff;
    }

    .toggle-more .caption {
        margin-right: 18px;
    }

    .page-submenu-inner {
        display: none;
        padding: 15px 0;
    }

    .page-submenu-box {
        height: auto!important;
    }

    .page-submenu-inner ul, .submenu-box ul {
        flex-wrap: wrap;
    }

    .page-submenu-inner ul li, .submenu-box ul li {
        width: 100%;
        margin-bottom: 10px;
        padding: 0;
    }

    .submenu-box ul{ padding-top:10px;}


    .page-submenu-inner ul li a , .submenu-box ul li a  {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .file-buttons .btn.has-icon {
        min-width: 1px;
    }

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


    .contact-left {
        width: 100%;
        margin-bottom: 30px;
        text-align: center;
    }

    .contact-right {
        width: 100%;
    }

    .submenu-box {
        display: none;
    }

    .person-item {
        width: 50%;
    }

    .find-box {
        padding: 30px 24px;
    }

    .find-text {
        width: auto;
        padding-left: 10px;
        padding-right: 15px;
    }
	
	.menu-box-toggle2 {
    display: block;
}
.search-box-container {
    padding-bottom: 0;
}
}

@media screen and (max-width: 767px) {
    .subpage .event-box-wrapper .event-item:nth-child(3n + 3) {
        border-right: none !important;
    }

    .event-item:nth-child(3n+1):nth-last-child(3), .event-item:nth-child(3n+1):nth-last-child(2), .event-item:nth-child(3n+2):last-child {
        border-bottom: 1px solid rgba(0, 0, 0, .1) !important;
    }

    .title1 {
        font-size: var(--font-30);
    }

    .title2 {
        font-size: var(--font-30);
    }

    .event-item {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, .1);
        border-top: none !important;
        border-right: none !important;
        padding: 25px !important;
    }

    .event-link {
        padding: 0 !important;
    }

    .subpage .event-box-wrapper .event-item {
        width: 100%;
    }

    .subpage .event-box-wrapper .event-item {
        border-right: none !important;
    }

    .subpage .event-box-wrapper .event-item:not(:nth-child(3n + 3)) {
        border-right: none !important;
    }

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

    .about-box {
        flex-wrap: wrap;
    }

.about-left {
        width: 100%;
        margin-bottom: 0;
    }

    .about-right, .subpage .about-right {
        width: 100%;
    }

    .slider-navigation {
        margin-right: 15px;
    }


    .pagination-wrapper ul li a, .pagination-wrapper ul li span {
        padding: 0 12px;
    }

    .pagination-wrapper ul li.next, .pagination-wrapper ul li.prev {
        padding: 0 12px;
    }

    .note-img {
        width: 19%;
    }

    .note-text {
        width: 78%;
    }

    .controls.captcha-container .col-sm-6 {
        width: 50%;
    }
    .controls.captcha-container {
        width: 100%;
        display: flex;
    }

    .search-box {
        padding: 10px;
        margin: 0;
    }

    .search-box .form-group.form-group-lg.col-xs-12.col-sm-3 {
        width: 50%;
        margin-bottom: 10px;
    }

    .search-box .form .form-element-name {
        margin-bottom: 10px;
    }

    .result-left {
        width: 100%;
        margin-bottom: 20px;
    }
    .result-right {
        width: 100%;
        padding-left: 0;
    }

    .result-item {
        flex-wrap: wrap;
        border-bottom: 1px solid var(--color-border);
    }

    .find-box-inner {
        width: 100%;
        align-items: center;
        margin-bottom: 24px;
    }

    .find-box {
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }

    .big-sign {
        display: none;
    }

    .find-text {
        text-align: center;
    }
	
	    .about-right, .subpage .about-right {
        width: 100%;
        padding-top: 0;
    }
	
	    .about-left {
        width: 100%;
        margin-bottom: 30px;
    }
}

@media screen and (min-width: 991px) {
    footer .show-hide {
        display: block !important;
    }
}
@media screen and (max-width: 639px) {
    .rwd-bar {
        gap: 5px;
    }

    .top-right {
        gap: 5px;
    }

    .file-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-25);
    }

    .file-buttons {
        align-self: flex-end;
    }

    .news-slider-wrapper .box-header {
        flex-direction: column;
        align-items: center;
        gap: var(--space-25);
    }

    .btn-lg {
        height: unset;
        min-height: 42px;
        line-height: 40px;
    }

    .next-arrow.slick-arrow, .prev-arrow.slick-arrow {
        width: 42px;
        height: 42px;
    }

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

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

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

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

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

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

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

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

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

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


    .pagination-wrapper ul li a, .pagination-wrapper ul li span {
        padding: 0 8px;
    }

    .pagination-wrapper ul li.next, .pagination-wrapper ul li.prev {
        padding: 0 8px;
    }

    .subpage .structure-list ul li {
        width: 100%;
    }

    .subpage .structure-list ul {
        flex-wrap: wrap;
    }
	
	.event-view-image {
    margin-right: 0;
    margin-top: 0;
    width: 100%;
    display: block;
    float: none;
    max-width: none;
    text-align: center;
    line-height: 0;
}

    .main-slider ul.slick-dots {
        display: none !important;
    }
}

@media screen and (max-width: 560px) {
    .slider .slide {
        height: auto;
    }

    .slider .container {
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .slide-box {
        height: unset;
    }

    .slider .slider-photo {
        height: unset;
        margin-top: auto;
    }

    #content {
        padding-top: 112px;
    }

    .top-inner {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .top-right {
        align-self: center;
    }

    .text {
        word-wrap: break-word;
    }
    .gallery-list-item {
        width: 50%;
    }

    .subpage .event-box-wrapper .event-box {
        margin: 0 !important;
        padding-top: 0;
    }

    .subpage .event-box-wrapper .event-link {
        padding: 0 !important;
    }

    .pagination-wrapper ul li.next, .pagination-wrapper ul li.prev {
        margin: 0;
    }

    .slide-box {
        flex-wrap: wrap;
    }

    .slide-left {
        width: 100%;
        margin-bottom: 20px;
    }

    .slide-right {
        width: 100%;
    }

    .event-item {}

    .event-item {
        width: 100%;
        border: 0 none;
        border-bottom: 1px solid var(--color-border);
    }

    .event-photo {
        width: 27%;
    }

    .event-content {
        width: 69%;
    }
    .calendar-box {
        width: 100%;
    }

    .pagination-wrapper ul li.next, .pagination-wrapper ul li.prev {
        margin: 0;
        padding: 0;
    }

    .pagination-wrapper ul li a, .pagination-wrapper ul li span {
        padding: 0 5px;
    }

    .pagination-wrapper ul li.next, .pagination-wrapper ul li.prev {
        padding: 0 5px;
    }

    .note-img {
        width: 25%;
    }

    .note-text {
        width: 70%;
    }

    .person-item {
        width: 100%;
    }

    .result-right {
        flex-wrap: wrap;
    }

    .result-contact {
        width: 100%;
        margin-bottom: 7px;
    }
	
	.slider .slider-photo {height: 300px;}

.slider-photo img {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
}
@media screen and (max-width: 530px) {
    .news-item{ width:100%;}
}

@media screen and (max-width: 480px) {
    .file-name-box {
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
        justify-content: center;
    }

    .file-buttons {
        width: 100%;
        justify-content: center;
    }

    .file-item {flex-wrap: wrap;justify-content: center;align-items: center;}

    .file-name {
        align-items: center;
        text-align: center;
        padding: 0;
    }

    .file-item {
        gap: 0;
    }

    .file-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .file-icon {
        display: none;
    }

    .file-buttons .btn.has-icon {
        margin: 0 5px;
    }

    .top-right {
        gap: 5px;
    }

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

    .pagination-wrapper ul li a, .pagination-wrapper ul li span {
        padding: 0 5px;
    }

    .controls.captcha-container .col-sm-6 {
        width: 100%;
    }
	
		.slider .slider-photo {height: 250px;}
}

@media screen and (max-width: 424px) {
    .news-box-container .event-photo {
        width: 100%;
    }

    .fancybox-events-popup .event-item .event-content {
        padding-left: 0 !important;
    }

    .event-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .event-item {
        padding: 15px !important;
    }

    .calendar-box td {
        padding: 3px;
    }

    .event-photo + .event-content {
        padding-left: 0;
    }

    .subpage .event-box-wrapper .event-link {
       flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .event-photo {
        width: 100%;
        max-width: 140px;
        margin: 0 auto;
    }

    .event-content {
        width: 100%;
    }

    .pagination-wrapper ul li.prev a, .pagination-wrapper ul li.next a {
        width: 40px;
        height: 40px;
    }

    .pagination-wrapper ul li {
        padding-left: 0;
    }

    .pagination-wrapper ul li a, .pagination-wrapper ul li span {
        padding: 0 5px;
    }

    .result-left {
        align-items: flex-start;
        gap: 5px;
    }
	
	.result-nb {
    width: 40px;
    height: 40px;
    margin-right: 5px;
}

    .result-left {
        margin-bottom: 10px;
    }

    .result-contact {
        padding-right: 0;
    }

    .phone-row,
    .email-row {
        padding-left: 25px;
        font-size: 0.85em;
    }

    .phone-row,
    .phone-row,
    .email-row a,
    .email-row a {
        font-size: 0.85em;
    }

    .result-data {
        padding: 0;
    }

    .news-slider-wrapper .box-header {
        gap: 0;
    }

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

    .box-header {
        justify-content: center;
        flex-direction: column;
    }

    .box-title {
        margin-bottom: 14px;
    }

    .note-box {
        flex-wrap: wrap;
        justify-content: center;
    }

    .note-img {
        width: 100%;
        margin: 0 auto 20px;
        max-width: 140px;
    }

    .note-text {
        width: 100%;
    }
	
	.events-box-container .event-photo {
    max-width: 140px;
    margin: 0 auto 20px;
    display: block;
}

.info-arrow {width: 10px;flex-shrink: 0;margin-left: 10px;margin-right: 10px;}

.info-content {
    width: auto;
    border-right: 0;
    padding-right: 0;
}

.info-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    margin-right: 10px;
}

.info-content .text.txt {
    font-size: 0.913rem;
    line-height: 150%;
}

.info-title {
    margin-bottom: 6px;
}

.info-link {
    padding: 10px 0;
}

.pagination-wrapper ul li a, .pagination-wrapper ul li span {
    line-height: 40px;
}

.person-box-text {
    padding-top: 10px;
}
}

@media screen and (max-width: 400px) {
.form-group.form-group-lg.col-xs-12.col-sm-3.search-box-btn-wrapper {
    width: 100%;
}

.form-group.form-group-lg.col-xs-12.col-sm-3.select2:nth-child(3) {
    width: 100%;
}

    .search-box button.btn.btn-lg.btn-primary.has-icon {
        padding: 0 0 0 20px;
    }
}
@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;
        --space-30: 25px;

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

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

        --font-48: 36px;
        --font-45: 35px;
        --font-40: 34px;

        --container-padding: 30px;
    }
}

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

        --font-60: 43px;
        --font-48: 34px;
        --font-45: 33px;
        --font-40: 32px;
        --font-36: 28px;
        --font-30: 24px;
        --font-18: 17px;
    }
}

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

        --font-48: 32px;
        --font-45: 31px;
        --font-40: 30px;

        --container-padding: 20px;
    }
}

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

        --font-48: 30px;
        --font-45: 29px;
        --font-40: 28px;
    }
}

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

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

@media screen and (max-width: 639px) {
    :root {
        --font-48: 30px;
        --font-45: 28px;
        --font-40: 26px;
        --font-36: 24px;
        --font-30: 22px;
        --font-26: 19px;
        --font-24: 18px;
        --font-22: 17px;
        --font-20: 16px;
        --font-18: 16px;
    }
}

@media screen and (max-width: 424px) {
    :root {
        --font-60: 32px;
        --font-48: 24px;
        --font-45: 23px;
        --font-40: 22px;
        --font-36: 20px;
        --font-30: 20px;
        --font-26: 17px;
        --font-24: 17px;
        --font-20: 16px;
        --font-18: 16px;
    }
}
