/**
 * 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%);
    }

    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: var(--color-primary);
}

.rwdMenu > ul > li > *:first-child {
    text-transform: uppercase;
}

.rwdMenu > ul > li > ul {
    font-size: 0.875rem;
}

.rwdMenu > ul > li > ul > li > *:first-child {
    padding-left: calc(var(--container-padding) + 15px);
}

.rwdMenu > ul > li > ul > li > ul > li > *:first-child {
    padding-left: calc(var(--container-padding) + 30px);
}

.rwdMenu > ul > li > ul > li > ul > li > ul > li > *:first-child {
    padding-left: calc(var(--container-padding) + 45px);
}

.rwdMenu > ul > li > ul > li > ul > li > ul > li > ul > li > *:first-child {
    padding-left: calc(var(--container-padding) + 60px);
}

.rwdMenu > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li > *:first-child {
    padding-left: calc(var(--container-padding) + 75px);
}

.rwdMenu li > *:first-child > .fa,
.rwdMenu li > *:first-child > .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    font-size: 22px;
    flex-shrink: 0;
    margin: -9px 6px -9px -9px;
}

.rwdMenu li > *:first-child > .icon img {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.rwdMenu li > *:first-child > .caption {
    flex: 1 0 0;
}

.rwdMenu li > *:first-child > .caption * {
    display: inline-block;
}

.rwdMenu li > *:first-child > .caption ~ * {
    margin-left: 10px;
}

.rwdMenu .rwdMenu-count {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2em;
    height: 2em;
    text-align: center;
    font-size: 14px;
    color: #000;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.rwdMenu .user-nav li + li:before {
    display: none;
}

.cloneMenu-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 46px;
    padding: 0;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    border-top: none;
    border-right: none;
    border-bottom: none;
    border-left: 1px solid rgba(0, 0, 0, 0.04);
    background: rgba(0, 0, 0, 0.06);
}

.cloneMenu-toggle::before {
    content: "\f107";
    display: block;
    font-family: 'FontAwesome', sans-serif;
    transition: all 0.3s;
}

.cloneMenu-toggle.active::before {
    transform: rotateZ(180deg);
    -webkit-transform: rotateZ(180deg);
    -ms-transform: rotateZ(180deg);
}

.rwdPanel .social-list {
    margin: 15px 0;
    text-align: center;
}

/**
 * RWD BUTTON
 */

.rwdButton {
    float: right;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    font-size: 18px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transition: all 0.4s;
    border-radius: 50%;
}

.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;
}

@media screen and (max-width: 1139px) {
    .menu-list {
        display: none;
    }
}

.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);
}

/**
 * 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) {
    .search-btn {
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        padding: 7px;
        margin-bottom: 0 !important;
        font-size: 14px !important;
        margin-right: 6px;
    }

    .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%);
    }

    /*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;
    }

    .mainsearch input.form-control {
        border: 0;
    }

    .mainsearch-search {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding: 15px;
    }
}

/**
 * RWD BUTTON
 */

.wcag-mobile .rwdButton {
    margin-right: 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);
}


/* NAV TOGGLE */
.nav-toggle span {
    background: #2e6da4;
}

.nav-toggle.active span {
    background: #2e6da4;
}

/* 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: 10px 15px 10px;
    color: #000;
    text-align: left;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

.rwd-menu .rwd-menu-wrapper > ul > li.active-link > a {
    color: #ed1c24;
    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 {
    color: #fff;
    background-color: #337ab7;
}

.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: 14px;
    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 Lang Menu
 */

.rwd-lang {
    background: #fff;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    overflow-x: hidden;
    height: 100%;
    width: 100%;
    display: none;
}

.rwd-lang li .lang {
    color: #0d2a54;
}

/*--------------- RESPONSIVE -------------*/

@media screen and (max-width: 1700px) {

    .error-text {
        font-size: 140px;
    }

    .error-text.error-2 {
        font-size: 226px;
    }

    .error-title-big {
        font-size: 100px;
        letter-spacing: 16px;
    }

    .error-title {
        letter-spacing: 6px;
    }
}

@media screen and (max-width: 1600px) {
    .col-sm-5 .news-date-left {
        width: 25%;
    }

    .col-sm-5 .news .news-content{
        width: 75%;
    }


    #main-menu li {
        padding-left: calc(var(--space-25) - 2px);
        padding-right: calc(var(--space-25) - 2px);
    }

    .public-order-item-wrapper {
        padding: 12px;
    }

    section.public-order .item-list {
        margin: -12px;
    }

    .public-order-item .item-top {
        gap: 15px;
    }


    .footer-col {
        padding: 0 var(--space-50);
    }

    .col-sm-5 .news .news-title-small {
        font-size: 1rem;
    }

    .col-sm-5 .news-date-left {
        padding: 10px;
    }

    .col-sm-5 .news .news-content {
        gap: 10px;
    }

}

@media screen and (max-width: 1440px) {
    .logo-title.h2 a {
        font-size: 32px;
        line-height: 40px;
    }

    .container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .col-sm-5 .news .news-content {
        padding-left: 10px;
        padding-right: 10px;
    }

    .job-offer .job-offer-item {
        padding: 10px;
    }

    .job-offer .item-list {
        margin: -10px;
    }

    .error-text.error-1 {
        bottom: 19%;
    }

    .error-text.error-2 {
        top: -7%;
        right: 8vh;
    }

    header:not(.hasTopBar) #main-menu > ul > li > div {
        top: 222px;
    }

    header.sticky #main-menu > ul > li > div {
        top: 178px !important;
    }
}

@media screen and (max-width: 1366px) {

    #main-menu li a {
        font-size: 0.9rem;
    }

    #main-menu li a svg {
        max-width: 30px;
    }

    .top-bananer-inner .lines-wrapper {
        width: 50%;
    }

    .top-bananer-inner .copter-image {
        width: 47%;
        max-width: 400px;
    }


    .top-bananer-inner .bananer-contact {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
    }

    .bananer-contact .name {
        margin-bottom: 0;
    }

    .top-bananer-inner {
        flex-wrap: wrap;
        padding: var(--space-50) 0;
        justify-content: flex-start;
    }

    .bananer-contact ul {
        gap: calc(2 * var(--space-40));
        flex-wrap: initial;
    }

    .news-date-left {
        width: 18%;
    }

    .news.no-image .news-content {
        width: 82%;
    }

    .public-order-item-wrapper {
        width: 50%;
    }

    .news-date-left {
        font-size: 0.9rem;
    }

    header:not(.hasTopBar) #main-menu > ul > li > div {
        top: 212px;
    }

    header.sticky #main-menu > ul > li > div {
        top: 176px !important;
    }
}

@media screen and (max-width: 1280px) {
    .col-sm-5 .news-date-left{
        font-size: 0.8rem;
    }
    .btn-header {
        font-size: 0.675rem;
        min-width: 154px;
        padding: 0 10px;
    }

    .logo-title.h2 a {
        font-size: 28px;
        line-height: 32px;
    }

    header .pull-right {
        width: auto;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .btn-xl {
        height: 50px;
        min-width: 180px;
        border-radius: 25px;
        font-size: 1rem;
    }

    header:not(.hasTopBar) #main-menu > ul > li > div {
        top: 210px;
    }

    #main-menu > ul > li > div {
        padding-right: 26% !important;
    }

    header.sticky #main-menu > ul > li > div {
        top: 166px !important;
    }

}

@media screen and (min-width: 1140px) {
    .top-search-rwd {
        display: none !important;
    }

    .rwd-lang,
    .rwd-menu,
    .nav-toggle {
        display: none;
        display: none !important;
    }

    .rwd-submenu-toggle {
        display: block !important;
    }
}


@media screen and (max-width: 1139px) {
    .btn-header {
        white-space: normal;
        line-height: 1.4;
    }
    .top-bananer-inner .lines-wrapper {
        width: 53%;
    }

    #content > .container > .row > .col-lg-2 {
        width: 100% !important;
    }

    #content > .container > .row > .col-lg-10 {
        width: 100% !important;
    }

    .rwd-submenu-toggle {
        display: none;
    }

    .rwd-submenu-title {
        display: block;
    }

    .page-status #content .row {
        display: block;
    }

    .page-status .page-content {
        width: 100% !important;
    }

    .header-top {
        padding: 10px 0;
    }

    .form-element-search {
        max-width: unset;
    }

    .rwd-menu > *,
    .top-search-rwd > * {
        padding: 0 15px 15px;
    }

    .rwd-menu,
    .top-search-rwd {
        display: none;
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1000;
        overflow-x: hidden;
        width: 100%;
        height: 100%;
        pointer-events: none;
    }

    .top-search-rwd .search-form {
        height: inherit;
        background: #fff;
        pointer-events: visible;
        overflow-x: hidden;
        position: relative;
    }

    .top-search-rwd .search-form .search-group-wrapper {
        position: relative;
        height: 100%;
    }

    .search-form-form .row {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 90%;
        max-width: 400px;
        -webkit-transform: translate3d(-50%, -50%, 0);
        -moz-transform: translate3d(-50%, -50%, 0);
        -ms-transform: translate3d(-50%, -50%, 0);
        -o-transform: translate3d(-50%, -50%, 0);
        transform: translate3d(-50%, -50%, 0);
    }

    .nav-toggle.active {
        padding-top: 1px;

    }

    .rwd-menu-nav {
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        border-radius: 6px;
        background-color: #f8f8f8;
        height: 100%;
        border: 1px solid #e7e7e7;
        position: relative;
    }

    .clone-ul a {
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        border-radius: 6px;
    }

    .top-search-rwd .search-form .search-group {
        position: absolute;
        top: 50%;
        width: 100%;
        padding: 0 15px;
        -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);
    }

    #main-menu {
        display: none;
    }

    nav#wcag {
        float: none;
        display: inline-block;
    }

    #wcag li {
        border: 0;
    }

    .rwd-wcag {
        clear: both;
        text-align: center;
        padding-top: 30px;
    }

    .nav-toggle {
        margin: 8px 0 0 10px;
        float: right;
        display: block;
    }

    .logo-title.h2 {
        font-size: 26px;
    }

    .wcag-toggle {
        display: none;
    }

    /*.search-wrapper {*/
    /*    display: none;*/
    /*}*/
    .search-wrapper-rwd {
        display: block;
    }

    .rwd-lang li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .rwd-lang .lang {
        display: block;
        padding: 12px 15px;
    }

    .rwd-lang .lang span {
        font-size: 16px;
        line-height: 24px;
    }

    .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-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;
    }

    /*
        Tabela w klasie .text
    */
    .text table {
        min-width: 1140px;
    }

    .text table tr td {
        padding: 6px 10px;
    }

    .table-container {
        position: relative;
        overflow-x: scroll;
    }

    .news.no-image .news-content {
        padding: 15px;
    }

    .news-date-left {
        padding: 10px;
    }

    .news-title-small {
        font-size: 0.9rem;
    }


    .logo-title.h2 a {
        font-size: 17px;
    }


    .footer-col:last-of-type .footer-col-content {
        gap: 5px;
        justify-content: center;
    }

    .logo .bip img{
        max-width: 170px;
    }

    .logo .bip{
        padding-right: 8px;
    }
    .bip {
        margin-right: 0 !important;
    }

    #content {
        padding-top: 95px;
    }

    .job-offer .item-list {
        margin: -6px;
    }

    .job-offer .job-offer-item {
        padding: 6px;
    }

    .job-offer .item-inner {
        padding: var(--space-25);
    }

    .error-text.error-1 {
        bottom: 2vh;
        left: 8vw;
        font-size: 112px;
    }

    .error-text.error-2 {
        top: -6vh;
        right: 1vw;
    }

    .error-page .line3 {
        right: 23vw;
        bottom: 14vh;
    }

    .error-page .line4 {
        right: 13.8vw;
        bottom: 11vh;
    }

    .error-title-big {
        font-size: 62px;
    }

    .header-top {
        padding: 10px 0;
    }

    .main-menu-button.active {
        margin-right: -3px;
    }
    .btn-header {
        max-width: 255px;
    }
}

@media screen and (max-width: 1000px) {
    .top-bananer-inner .line1 {
        font-size: 80px;
    }

    .top-bananer-inner .line2 {
        font-size: 1.675rem;
    }

    .top-bananer-inner .lines-wrapper {
        width: 45%;
    }


}

@media screen and (max-width: 1139px) and (min-width: 767px) {

    .col-sm-5 .news-inner {
        display: block;
    }

    .col-sm-5 .news-date-left {
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.2);
        text-align: center;
    }

    .col-sm-5 .news.no-image .news-content {
        width: 100%;


    }


    .col-sm-5 .news.no-image .news-content {
        flex-direction: column;
        gap: 10px;
    }

    .col-sm-5 .news-title-small {
        text-align: center;
    }
}

@media screen and (max-width: 1000px) {
    .news.no-image {
        width: 100%;
    }
}

@media screen and (max-width: 960px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .public-order-item .item-top .item-name {
        font-size: 17px;
    }

    .public-order-top .item-date {
        min-width: 90px;
    }

    .public-order-top-inner .date-wrapper + .item-content {
        margin-left: var(--space-40);
    }

    .public-order-top-inner .date-wrapper + .item-content {
        padding-left: var(--space-40);
    }

    .logo-rwd {
        display: block;
    }

    .logo-desktop {
        display: none;
    }

    .footer-col-logo {
        width: 100%;
    }

    .footer-cols {
        flex-wrap: wrap;
        gap: 15px;
    }

    .footer-col {
        padding: 0;
        width: calc(50% - 8px);
        border-left: 0 !important;
        border-right: 0 !important;
    }

    .footer-col:first-of-type {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: var(--space-50);
        margin-bottom: calc(var(--space-40) - 5px);
    }

    .footer-col:last-of-type {
        border-bottom: 0;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    #content {
        padding-top: 87px;
    }

}

@media screen and (max-width: 900px) {
    .job-offer .item-inner .item-name {
        font-size: 1rem;
        line-height: 1.7rem;
    }

    .top-bananer-inner .lines-wrapper {
        width: 50%;
    }
}
@media screen and (max-width: 850px) {
    .top-bananer-inner .bananer-contact{
        flex-direction: column;
    }
}

@media screen and (min-width: 768px) {
    /*Bootstrap*/
}

@media screen and (max-width: 767px) {
    .top-bananer-inner {
        flex-wrap: wrap;
        padding: var(--space-50) 0;
        justify-content: center;
    }
    .top-bananer-inner .lines-wrapper{
        width: 100%;
    }
    .top-bananer-inner .line1 {
        font-size: 56px;
    }
    .top-bananer-inner .line2 {
        font-size: 1.275rem;
    }
    .top-bananer-inner .copter-image {
        width: 46%;
    }

    .top-bananer-inner .line1 {
        font-size: 56px;
    }

    .top-bananer-inner .line2 {
        font-size: 1.275rem;
    }

    .top-bananer-inner .copter-image {
        width: 46%;
    }

    .clone-ul a,
    .rwd-menu-nav, .search-form-form {
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
    }

    .page-header .btn {
        margin-top: 0;
    }

    .container-page .page-header {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    h1, .h1, .h1 a, h1 a {
        font-size: 28px;
    }

    footer .row {
        text-align: center;
    }

    .copyright-undicom {
        float: none;
    }

    footer .navbar {
        padding: 10px 15px;
    }


    .category-list .btn-xl {
        height: 48px;
        min-width: 180px;
    }

    .logo .bip {
        margin-right: 0;
        border-right: 0;
    }

    .header-top {
        border-bottom: 0;
    }

    .logo-title.h2 a {
        font-size: 20px;
        line-height: 26px;
    }

    #content {
        padding-top: 125px;
    }


    .header-bottom {
        padding-bottom: 10px;
    }

    .search-box .filters-form {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-header {
        flex-direction: column;
        gap: 10px;
    }

    .page-header .page-title {

        width: 100%;
    }

    .error-text.error-2 {
        top: -3vh;
        right: 2vw;
        font-size: 134px;
    }

    .error-page .line1 {
        left: 15px;
        top: 15vw;
    }

    .error-title {
        letter-spacing: 7px;
    }

    .error-title-big {
        font-size: 43px;
        letter-spacing: 10px;
    }


    .error-page .line2 {
        left: 15%;
        top: 19vw;
    }

    .error-page .line3 {
        right: 26%;
        bottom: 13vw;
    }

    .error-page .line4 {
        right: 9.8vw;
        bottom: 8vh;
    }

    .error-text.error-1 {
        bottom: 1vh;
        left: 5vw;
        font-size: 80px;
    }

    .error-page-image {
        display: none;
    }

    .error-page-inner {
        aspect-ratio: 16 / 9;
        min-height: 326px;
    }

    /*.error-page .line4 {*/
    /*    right: 20.6%;*/
    /*    bottom: 17vw;*/
    /*}*/
    /*Bootstrap*/
    section.team .item-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .job-offer .job-offer-item {
        width: 50%;
    }

}

@media screen and (min-width: 706px) {
    footer .show-hide {
        display: block !important;
    }
}

@media screen and (max-width: 700px) {
    .public-order-item-wrapper {
        width: 100%;
    }

    .download-images a {
        padding-right: 40px;
    }

    /*
        .number-ball .text {
            line-height: 18px;
        }

        .number-ball-texts {
            top: 17%;
            width: 90%;
        }

        .number-ball-slide {
            padding: 0 6vw 20px;
        }
     */
    .dwn-text {
        border-right: 1px solid rgba(0, 0, 0, 0.1);
    }

    .dwn-pseudo-link,
    .dwn-pseudo-link .button {
        /*position: static;*/
        /*width: 100%;*/
        /*-webkit-transform: none;*/
        /*-moz-transform: none;*/
        /*-ms-transform: none;*/
        /*-o-transform: none;*/
        /*transform: none;*/
        font-size: 0;
        border-left: 0;
        border-color: #e5e5e5;
    }

    .dwn-pseudo-link .button:before {
        content: '\f019';
        display: block;
        position: absolute;
        top: 50%;
        font-family: FontAwesome;
        left: 50%;
        -webkit-transform: translate3d(-50%, -50%, 0);
        -moz-transform: translate3d(-50%, -50%, 0);
        -ms-transform: translate3d(-50%, -50%, 0);
        -o-transform: translate3d(-50%, -50%, 0);
        transform: translate3d(-50%, -50%, 0);
        font-size: 24px;
        color: #ccc;
    }

    .dwn-pseudo-link {
        width: 40px;
        font-size: 0;
    }

}

@media screen and (max-width: 639px) {
    .bip {
        margin-right: 5px;
    }
    .bananer-contact.bananer-contact ul {
        flex-wrap: wrap;
    }
    .bananer-contact.bananer-contact ul li{
        width: 100%;
display: flex;
        justify-content: center;
    }

    .rwdButton {
        margin-top: 2px;
    }


    .nav-toggle {
        margin: 3px 0 0 10px;
    }

    .header-right {
        margin-top: 2px;
    }

    .text img {
        max-width: 100%;
        max-width: 100% !important;
        width: inherit;
        width: inherit !important;
        height: auto;
        height: auto !important;
        float: none !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;
    }

    h1 {
    }

    h2 {
    }

    h3 {
    }

    h4 {
    }

    .news-content .btn-sm {
        min-width: 106px;
    }


    .public-order-top-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .public-order-top-inner .date-wrapper + .item-content {
        padding-left: 0;
        margin-left: 0;
        border-left: 0;
    }

    .public-order-top-inner .date-wrapper {
        display: flex;
        width: 100%;
    }

    .public-order-top-inner .item-content {
        padding-left: 0;
        margin-left: 0;
        border-left: none;
    }

    .logo {
        float: none;
    }

    .logo > * {
        display: block;
    }

    .contact-section .item-content-inner > * {
        width: 50%;
    }

    .public-order-top-inner .btn {
        margin: 0 auto;
    }


    .gallery-list-item {
        width: 50%;
    }

    section.team .item-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-accordion .accordion-item .item-content-inner > * {
        width: 50%;
    }

}

@media screen and (max-width: 560px) {

    .btn-header .icon{
        max-width: 84px;
        margin-right: -10px;
        margin-left: -5px;
    }

    h1 {
    }

    h2 {
    }

    h3 {
    }

    h4 {
    }

    .text {
        word-wrap: break-word;
    }

    .news-inner {
        display: block;
    }

    .news-date-left {
        width: 100% !important;
        border-right: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.2);
        text-align: center;
    }

    .news.no-image .news-content {
        width: 100% !important;


    }


    .news.no-image .news-content {
        flex-direction: column;
        gap: 10px;
    }

    .news-title-small {
        text-align: center;
    }

    .category-list .btn-xl {
        font-size: 0.938rem;
    }


    .footer-col {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: var(--space-50);
        margin-bottom: calc(var(--space-40) - 5px);
    }

    .col-sm-5 .news-inner {
        display: block;
    }

    .col-sm-5 .news-date-left {
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.2);
        text-align: center;
    }

    .col-sm-5 .news.no-image .news-content {
        width: 100%;


    }


    .col-sm-5 .news.no-image .news-content {
        flex-direction: column;
        gap: 10px;
    }

    .col-sm-5 .news-title-small {
        text-align: center;
    }

    .page-header h1, .page-header .page-title, .page-heading .page-title {
        font-size: calc(var(--font-48) - 7px);
    }

    .error-page .line1 {
        top: 9vw;
    }

    .error-title {
        letter-spacing: 2px;
    }

    .error-title-big {
        font-size: 34px;
        letter-spacing: 4px;
    }

    .error-actions {
        left: 50%;
        right: initial;
        transform: translateX(-50%);
    }

    .error-text.error-1 {
        font-size: 74px;
        bottom: 9vh;
        left: 15px;
    }

    .error-text.error-2 {
        font-size: 95px;
        right: 15px;
    }

    .error-page-inner {
        aspect-ratio: initial;
    }

    .error-page-content {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        padding-left: 15px;
        padding-right: 15px;

        transform: translateY(-50%);
    }

    .error-text.error-1 {
        bottom: 0;
    }

    .error-page .line3 {
        position: static;
    }

    .error-page .line4 {
        position: static;
    }

    .error-page .line2 {
        position: static;
    }

    .error-page .line1 {
        position: static;
    }

    .error-page-inner {
        display: flex;
        align-items: flex-end;
        justify-content: center;
        margin-bottom: 60px;
        background-color: #fff;
    }

    .error-actions {
        position: static;
        transform: none;
        margin-bottom: -40px;
    }

}

@media screen and (max-width: 520px) {
    .job-offer .job-offer-item {
        width: 100%;
    }

    .job-offer .item-inner {
        max-width: 340px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 480px) {

    .btn-header .icon{
        max-width: 74px;
    }
    .logo .bip {
        padding-right: 5px;
        margin-right: 4px;
    }

    .header-bottom-inner {
        flex-direction: row-reverse;
        justify-content: flex-end;
    }

    .btn-header {
        margin-left: 10px;
    }

    .logo-title.h2 {
        width: fit-content;
        font-size: 16px;
    }

    .logo-title.h2 a {
        font-size: 16px;
        line-height: 18px;
    }

    .news-date-left {
        font-size: 0.875rem;
    }

    .category-list .btn-xl {
        word-break: break-word;
        white-space: normal;
        height: unset;
        min-height: 48px;
        line-height: 1.2;
        padding-top: 3px;
    }

    #content {
        padding-top: 142px;
    }

    .bip img {
        max-height: 42px;
    }

}

@media screen and (max-width: 420px) {

    h1 {
    }

    h2 {
    }

    h3 {
    }

    h4 {
    }

    .public-order-item .item-top .item-name {
        font-size: 16px;
    }

    .dwn-text {
        font-size: 0.9rem;
    }


    .contact-section .item-content-inner > * {
        width: 100%;
    }

    .search-box .filters-form .form-group > .form-element-container {
        display: block;
    }

    .search-box .filters-form {
        min-width: 100%;
    }

    .search-box .filters-form .form-group .form-element-name {
        margin-bottom: 10px;
    }

    .btn-filter-search {
        min-width: 150px;
    }

    .search-box .btn-wrapper {
        gap: 10px;
    }

    .row-flex-space-between .btn-lg {
        min-width: 134px;
        padding: 0 16px;
    }

    .contact-accordion .accordion-item .item-content-inner > * {
        width: 100%;
    }

    .header-bottom-inner {
        flex-direction: column-reverse;
        gap: 10px;

    }

    #content {
        padding-top: 160px;
    }

}

@media screen and (max-width: 319px) {
    body {
        width: 320px;
    }
}

/* --------------- GLOBAL VARIABLES --------------- */

@media screen and (max-width: 1700px) {
    .bip {
        margin-right: -33px;
    }

}

@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;

    }
}

@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;

    }
}

@media screen and (max-width: 1139px) {
    :root {
        --space-60: 35px;
        --space-50: 30px;
        --space-40: 25px;
        --space-25: 15px;

        --container-padding: 30px;
    }
}

@media screen and (max-width: 960px) {
    :root {
        --space-60: 30px;
        --space-50: 25px;
        --space-40: 20px;
    }
}

@media screen and (max-width: 900px) {
    :root {
    }
}

@media screen and (max-width: 639px) {
    :root {
        --font-48: 30px;
        --font-36: 24px;
        --font-30: 22px;
        --font-24: 18px;

        --container-padding: 20px;
    }
}

@media screen and (max-width: 420px) {
    :root {
        --font-48: 24px;
        --font-36: 20px;
        --font-30: 20px;
        --font-24: 16px;

    }
}

@media screen and (max-width: 380px) {
    :root {
        --container-padding: 10px;
    }

}