/**
 * GLOBAL VARIABLES
 */
:root {
    /** UNIVERSAL **/
    --space-60: 60px;
    --space-50: 50px;
    --space-40: 40px;
    --space-25: 25px;
    --space-10: 10px;

    --font-96: 96px;
    --font-64: 64px;
    --font-48: 48px;
    --font-40: 40px;
    --font-36: 36px;
    --font-30: 30px;
    --font-24: 24px;
    --font-20: 20px;
    --font-14: 14px;

    --container-padding: 40px;

    --row-gap: 5px;

    /** SPECIFIC **/
    --color-primary: #59AEF2;
    --color-secondary: #ffffff;
    --color-default: #000000;
    --color-link-hover: #0060AB;
}

* {
    font-family: "Poppins", sans-serif;
}

body {
    color: #000;
}

/**
 * BASIC
 */

a, input, select, textarea, option, button {
    outline: none!important;
}

em {
    padding-right: 2px;
}
h1 {
}
h2 {
}
h3 {
}
h4 {
}
h5 {
}

a {
    color: var(--color-default);
}
a:hover, a:focus {
    color: var(--color-default);
}

/**
 * EXTRA
 */
/* Animations lib */
.animationDuration {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
}

/* Mourning class added to body */
.mourning {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.grayscale {
    filter: grayscale(1);
}

.grayscale-fade {
    transition: filter 0.2s;
}

.grayscale-fade:hover,
.grayscale-fade:focus {
    filter: grayscale(0);
}

/**
 * PAGE
 */

#page,
#content {
    overflow: hidden;
}

.container {
    clear: both;
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    max-width: 1720px;
    width: 100%;
}

.container-small {
    max-width: 1446px;
}

.container--noClear {
    clear: none;
}

.container--noClear::before,
.container--noClear::after {
    display: none;
}

/**
 * ICONS
 */

.icon-mask.icon-mask {
    -webkit-mask-size: cover;
    -mask-size: cover;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-color: currentColor;
}

.icon-user {
    -webkit-mask-image: url('../images/icons/user.svg');
    mask-image: url('../images/icons/user.svg');
}

.icon-register {
    -webkit-mask-image: url('../images/icons/register.svg');
    mask-image: url('../images/icons/register.svg');
}

.icon-logout {
    -webkit-mask-image: url('../images/icons/logout.svg');
    mask-image: url('../images/icons/logout.svg');
}


/**
 * THEMES
 */

.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary.active:focus,
.btn-primary:hover:focus,
.btn-primary:hover:active,
.btn-primary:focus:active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.btn-primary.active {
    background-color: #fff;
    color: var(--color-primary);
}

.btn-primary[disabled],
.btn-primary[disabled]:hover {
    opacity: 0.2;
    cursor: not-allowed;
}

.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary.active,
.btn-secondary.active:focus,
.btn-secondary:hover:focus,
.btn-secondary:hover:active,
.btn-secondary:focus:active {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: #fff;
}

.btn-secondary.active {
    background-color: #fff;
    color: var(--color-secondary);
}

.btn-secondary[disabled],
.btn-secondary[disabled]:hover {
    opacity: 0.2;
    cursor: not-allowed;
}

.btn-default,
.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active,
.btn-default.active:focus,
.btn-default:hover:focus,
.btn-default:hover:active,
.btn-default:focus:active {
    background-color: var(--color-default);
    border-color: var(--color-default);
    color: #fff;
}

.btn-default.active {
    background-color: #fff;
    color: var(--color-default);
}

.btn-default[disabled],
.btn-default[disabled]:hover {
    opacity: 0.2;
    cursor: not-allowed;
}

@media screen and (min-width: 1140px) {
    .btn-primary:not([disabled]):hover,
    .btn-primary:not([disabled]).active:hover {
        background-color: #fff;
        color: var(--color-primary);
    }

    .btn-secondary:not([disabled]):hover,
    .btn-secondary:not([disabled]).active:hover {
        background-color: #fff;
        color: var(--color-secondary);
    }

    .btn-default:not([disabled]):hover,
    .btn-default:not([disabled]).active:hover {
        background-color: #fff;
        color: var(--color-default);
    }
}

/**
 * BUTTONS
 */

/*.btn {*/
/*    border-radius: 6px;*/
/*    transition: all 0.2s;*/
/*}*/

/**
 * BOOTSTRAP
 */
.panel,
.panel-heading,
.modal-content,
.alert,
.popover {
    border-radius: 0;
}

.panel {
    box-shadow: none;
}
.panel-default {
    border-color: #e5e5e5;
}

.row {
    margin-left: calc(-1 * var(--row-gap));
    margin-right: calc(-1 * var(--row-gap));
}

.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7,
.col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5,
.col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3,
.col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12,
.col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
    padding-left: var(--row-gap);
    padding-right: var(--row-gap);
}

.modal-footer[style="display: block;"]{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.modal-footer:after, .modal-footer:before{
    content: none;
}

/**
 * TEXT
 */

.text {
    overflow: visible;
    font-size: 14px;
    line-height: 30px;
}

/** Text list custom dots **/
.text ul,
.text ol ul,
.text ul ul {
    list-style: none;
}
.text ul > li,
.text ol > li {
    left: 40px;
    position: relative;
    padding-right: 40px;
}
.text ul > li::before {
    content: "•";
    position: relative;
    display: inline-block;
    width: 10px;
    left: -10px;
    margin-left: -10px;
    line-height: 1em;
    font-family: sans-serif;
    font-weight: 900;
    font-size: 18px;
}
.text ol > li::marker {
    word-spacing: 3px;
}

/** Text table **/
.text table {
    margin: calc(var(--space-25) + 5px) 0;
}

.icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/**
 * HEADER
 */

header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--color-secondary);
    border-bottom: 1px solid rgba(0, 0 ,0, .1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.header-left {
    display: flex;
}

header .logo {
    transition: all .2s linear;
    width: 106px;
    margin-right: 20px;
}

.mainpage header:not(.sticky) .logo {
    width: 0;
    margin-right: 0;
}

.logo img {
    display: block;
    max-width: 100%;
}

#main-menu {
    display: flex;
}

#main-menu ul {
    display: flex;
    align-items: center;
    gap: 10px calc(var(--space-40));
    flex-wrap: wrap;
}

.mainpage header:not(.sticky) #main-menu ul {
    gap: 10px calc(var(--space-40) + 10px);
}

#main-menu ul li a {
    font-size: 14px;
    text-transform: uppercase;
    transition: .3s all linear;
}

#main-menu ul li a:hover {
    color: var(--color-link-hover);
}

.right-nav {
    display: flex;
    gap: var(--space-50);
    transition: all .2s linear;
    flex-shrink: 0;
}

.mainpage header:not(.sticky) .right-nav {
    gap: var(--space-50);
}

.right-nav-left, .right-nav-right {
    display: flex;
    align-items: center;
    gap: var(--space-10);
    transition: .3s all linear;
}

.right-nav-left .link {
    display: flex;
    align-items: center;
    gap: 17px;
    transition: .3s all linear;
}

.right-nav-left a .icon, .right-nav-right a .icon {
    background-color: var(--color-primary);
    padding: 16px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    transition: .2s all linear;
}

.right-nav-left a:hover .icon {
    background-color: #0060AB;
}

.right-nav-left .icon svg {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

/* Moje style Header */

#content {
    padding-top: 70px;
}

.subpage #content {
    padding-top: 125px;
}





.main-menu-button {
    float: right;
    width: 40px;
    margin: 18px 0 18px 0;
    border: none;
    background: transparent;
}
.main-menu-button.animIcon--hamburger.active span {
    background-color: var(--color-default);
}

.mainsearch.rwdPanel {
    display: block;
}
.mainsearch {
    float: left;
    position: relative;
    width: 350px;
    max-width: 100%;
}
.mainsearch-search {
    display: flex;
    align-items: stretch;
}
.mainsearch .form-element-container {
    flex-grow: 1;
}
.mainsearch input.form-control {
    display: block;
    height: 46px;
    padding: 5px 15px;
    border-right: none;
    box-shadow: none;
}
.mainsearch-submit {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 46px;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.mainsearch .alert-block{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
.mainsearch .form-control-feedback {
    display: none;
}


/*
* USER NAV
*/

/*.header-top .user-nav {*/
/*    display: flex;*/
/*    align-items: stretch;*/
/*}*/

/*.header-top .user-nav-item {*/
/*    display: flex;*/
/*    align-items: stretch;*/
/*    position: relative;*/
/*}*/

/*.header-top .user-nav-item-inner {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    color: #fff;*/
/*}*/

/*.header-top .user-nav-item + .user-nav-item {*/
/*    padding-left: 20px;*/
/*    margin-left: 20px;*/
/*}*/

/*.header-top .user-nav-item + .user-nav-item::before {*/
/*    content: '';*/
/*    display: block;*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    left: 0;*/
/*    -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);*/
/*    width: 1px;*/
/*    height: 12px;*/
/*    background-color: rgba(255, 255, 255, 0.6);*/
/*}*/

/*.header-top .user-nav-item .icon {*/
/*    width: 26px;*/
/*    height: 26px;*/
/*}*/

/**
 * FOOTER
 */

.footer-banner {
    background-color: #003C6A;
}

.footer-banner-inner {
    display: grid;
    grid-template-columns: 1fr 3fr 3fr;
    gap: calc(3 * var(--space-60));
    padding: 57px 0;
    align-items: center;
}

.footer-banner-tax {
    width: 221px;
    height: 221px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-secondary);
    border-radius: 50%;
}

.footer-banner-tax h2 {
    font-family: "Cinzel", sans-serif;
    font-size: 64px;
    color: var(--color-secondary);
}

.footer-banner-item h3 {
    font-size: 36px;
    font-family: "Cinzel", sans-serif;
    font-weight: bold;
    color: var(--color-secondary);
    margin-bottom: 30px;
}

.footer-banner-item p {
    font-size: var(--font-24);
    color: var(--color-secondary);
    font-weight: 300;
}

.footer-banner-krs p {
    text-transform: uppercase;
}

.footer-banner-krs h3 {
    margin-bottom: 10px;
}

.footer-banner-item {
    position: relative;
}

.footer-banner-krs {
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.footer-banner-krs:after {
    position: absolute;
    content: "";
    right: 0;
    background-color: #fff;
    width: 1px;
    height: 145px;
}

.footer-banner-description {
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.footer-banner-description:after {
    position: absolute;
    content: "";
    right: -90px;
    background-color: #fff;
    width: 1px;
    height: 145px;
}

.footer-banner-tax{
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.footer-banner-tax:after {
    position: absolute;
    content: "";
    right: -90px;
    background-color: #fff;
    width: 1px;
    height: 145px;
}

/* FOOTER BAR */
.footer-bar {
    background-color: #0060AB;
}

.footer-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 19px 0;
}

.footer-bar-content {
    display: flex;
    gap: calc(2 * var(--space-50));
    color: var(--color-secondary);
    align-items: center;
    font-size: var(--font-14);
}

.footer-bar-content a {
    color: var(--color-secondary);
    transition: .3s all linear;
}

.footer-bar-content a:hover {
    text-decoration: underline;
}

.copyright-undicom {
    float: right;
    font-family: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    color: var(--color-secondary);
    font-size: var(--font-14);
    display: flex;
    justify-content: center;
    align-items: center;
}

.copyright-undicom a {
    font-size: var(--font-14);
    transition: .3s all linear;
}

.copyright-undicom svg {
    max-width: 10px;
}

.footer-main {
    position: relative;
}

.footer-main-bg {
    display: block;
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: #003C6A;
}

.footer-main-bg:after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #0060AB;
    opacity: 0.7;
}

.footer-main-bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-main-top {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: calc(var(--space-60) + 10px);
}

.footer-main-top-content {
    display: flex;
    justify-content: space-between;
    padding-top: calc(var(--space-60) + var(--space-25));
}

.footer-logo img {
    display: flex;
    width: 100%;
    height: 100%;
}

.footer-main-top-left {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: calc(var(--space-10) + 5px);
}

.footer-contact .text {
    color: #fff;
}

.footer-element, .footer-contact {
    width: 260px;
    display: flex;
    flex-direction: column;
    gap: var(--space-40);
    color: var(--color-secondary);
}

.footer-title {
    font-size: var(--font-24);
    line-height: 30px;
    color: var(--color-secondary);
    font-weight: 200;
}

.footer-content li a {
    font-size: 14px;
    font-weight: normal;
    color: var(--color-secondary);
    transition: .3s all linear;
    line-height: 30px;
}

.footer-content li a:before {
    content: attr(data-content);
    display: block;
    width: fit-content;
    font-weight: 500;
    height: 0;
    overflow: hidden;
}

.footer-content li a:hover {
    color: var(--color-secondary);
    font-weight: 500;
}

.footer-content .text {
    font-size: 14px;
}

.footer-main-socials {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 26px 0 24px 0;
}

.footer-main-socials:before {
    position: absolute;
    content: "";
    top: 0;
    background-color: rgba(255, 255, 255, 0.2);
    height: 1px;
    width: 200%;
    left: -140px;
}

.footer-main-socials-left, .footer-main-socials-right {
    display: flex;
}

.footer-main-socials-left a, .footer-main-socials-right a {
    color: var(--color-secondary);
}

.footer-main-socials-left {
    gap: 70px;
}

.footer-main-socials-right {
    gap: 10px;
}

.footer-main-socials-left .link {
    display: flex;
    align-items: center;
    gap: 17px;
}

.footer-main-socials-left .link:hover {
    text-decoration: underline;
}

.footer-main-socials-left a .icon, .footer-main-socials-right a .icon {
    background-color: var(--color-primary);
    padding: 16px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    transition: .2s all linear;
}

.footer-main-socials-left a:hover .icon {
    background-color: #0060AB;
}

.footer-title .icon {
    max-width: 20px;
    display: none;
}

.footer-title .icon svg {
    fill: var(--color-secondary);
}

/**
 * FORM
 */
form.form {
    /*padding: 15px 0;*/
}
/* INPUTY */
.form-control,
.form .form-control {
    box-shadow: none;
    height: 46px;
}

/* TEXTAREA */
.form textarea.form-control:not([rows]) {
    /* height: 130px; */
}

/* KLAUZULE I ZGODY */
.form .before-consent-row,
.form .after-consent-row,
.form .consent-row label,
.form .consent-all {
    /* font-size: 12px; */
}

.form .consent-row .error {
    /* font-size: 12px; */
    /* letter-spacing: 0; */
}

/* CAPTCHA */
.form .captcha-image-wrapper,
.form .form-group-sm .captcha-image-wrapper,
.form .form-group-lg .captcha-image-wrapper {
    border-radius: 6px;
    box-shadow: none;
}

/* KOLOR GWIAZDKI WYMAGANEGO POLA */
.form .form-required-mark {
    /* color: #a94442; */
}

.form-element-select .form-control-feedback,
.form-element-country .glyphicon {
    display: none;
}

.form button.captcha-refresh {
    right: var(--row-gap);
    color: #0060AB;
    border-radius: 0 6px 6px 0;
    background-color: transparent;
    border-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
}

.form button.captcha-refresh .fa.fa-spin {
    -webkit-animation-play-state: paused;
    -moz-animation-play-state: paused;
    -o-animation-play-state: paused;
    animation-play-state: paused
}

@media screen and (min-width: 1140px) {
    .form button.captcha-refresh:hover {
        border-color: #0060AB;
        color: #0060AB;
    }

    .form button.captcha-refresh:hover .fa.fa-spin {
        -webkit-animation-play-state: running;
        -moz-animation-play-state: running;
        -o-animation-play-state: running;
        animation-play-state: running
    }
}

.form-control-feedback {
    top: 50%;
    right: 0;
    -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);
}

/*---- SELECT 2 -----*/

.select2-dropdown {
    z-index: 100;
    border-radius: 0;
}

.select2-container--default .select2-selection--multiple,
.select2-container .select2-selection--single {
    height: 46px;
    border-color: #ccc;
    border-radius: 6px;
    text-align: left;
    padding: 0;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered,
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 44px;
    padding-left: 12px;
    font-size: 14px;
    padding-right: 44px;
    color: #555;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered .select2-search {
    line-height: 44px;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    white-space: nowrap;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
    line-height: 24px;
    display: inline-block;
    float: none;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin-top: 8px;
}

.has-feedback .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-right: 68px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    height: auto;
    transition: all 0.4s;
    right: 16px;
    color: #000;
    text-align: center;
    font-size: 0;
}

.select2-container--default .select2-selection--single .select2-selection__arrow:before {
    content: '\f107';
    font-family: 'FontAwesome';
    font-size: 16px;
    vertical-align: middle;
}

.select2-container--default.select2-container--open .select2-selection__arrow {
    -webkit-transform: translateY(-50%) scaleY(-1);
    -moz-transform: translateY(-50%) scaleY(-1);
    -ms-transform: translateY(-50%) scaleY(-1);
    -o-transform: translateY(-50%) scaleY(-1);
    transform: translateY(-50%) scaleY(-1);
}

.select2-container--default .select2-selection--single .select2-selection__arrow > b {
    display: none;
}

.select2-results__option[aria-selected] {
    font-size: 14px;
    line-height: 24px;
    color: #000;
    font-weight: 300;
    padding: 6px 22px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--color-primary);
}

@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
    .form-element-multiselectCheckbox .select2-results__option:not([role="group"]):not(.select2-results__message)::before {
        -webkit-background-size: 200px 20px!important;
        background-size: 200px 20px!important;
    }
}

/**
 * MAP POINTS
 */

.map-point .custom-map-wrapper {
    position: relative;
}

.map-point .custom-map-wrapper .point {
    position: absolute;
    width: 28px;
    height: 40px;
    background: transparent url('../images/marker.png') no-repeat scroll center center;
    cursor: pointer;
    -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);
}

.map-point #marker-cloud-wrapper {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 10%;
    height: 10%;
    background: red;
}

.map-point #marker-cloud-wrapper .popover {
    top: 0 !important;
    left: 0 !important;
    display: block;
    margin: 0;
    width: 300px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    text-shadow: none;
}

.map-point #marker-cloud-wrapper .popover .arrow {
    display: none !important;
}


/**
 * ANIMATABLE ICON
 */
.animIcon {
    position: relative;
    display: inline-block;
    width: 32px;
    padding: 0!important;
    margin-left: var(--space-10);
}
.animIcon::before {
    content: "";
    display: block;
    padding-bottom: 100%;
}
.animIcon span {
    position: absolute;
    left: 0;
    right: 0;
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--color-primary);
    transition: all .4s ease;
}

/* Close */
.animIcon.animIcon--close span {
    top: 50%;
    margin-top: -1px;
    transform-origin: center;
}
.animIcon.animIcon--close span:nth-child(1) {
    transform: rotateZ(45deg);
    -webkit-transform: rotateZ(45deg);
    -ms-transform: rotateZ(45deg);
}
.animIcon.animIcon--close span:nth-child(2) {
    transform: rotateZ(-45deg);
    -webkit-transform: rotateZ(-45deg);
    -ms-transform: rotateZ(-45deg);
}

/* Hamburger -> Close */
.animIcon.animIcon--hamburger span {
    top: 0;
    left: 0;
    transform-origin: left center;
}
.animIcon.animIcon--hamburger span:nth-child(1) {
    margin-top: 20%;
}
.animIcon.animIcon--hamburger span:nth-child(2) {
    margin-top: 50%;
}
.animIcon.animIcon--hamburger span:nth-child(3) {
    margin-top: 80%;
}
.animIcon.animIcon--hamburger.active span:nth-child(1) {
    margin-top: 15%;
    margin-left: 15%;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg)
}
.animIcon.animIcon--hamburger.active span:nth-child(2) {
    opacity: 0;
    margin-top: 70%;
}
.animIcon.animIcon--hamburger.active span:nth-child(3) {
    margin-top: 85%;
    margin-left: 15%;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg)
}

/**
 * LOGOTYPES SLIDER
 */


/**
 * SOCIALS
 */
.social-list > ul {
    margin: -5px;
    font-size: 0;
}

.social-list > ul > li {
    display: inline-block;
    vertical-align: middle;
    padding: 5px;
    text-align: center;
    font-size: 1rem;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    border-radius: 50%;
    transition: .2s all linear;
}

.social-icon:hover {
    background-color: #1672c4;
}

.social-icon svg {
    fill: var(--color-secondary);
    display: block;
}

.social-icon img {
    display: block;
}

.social-icon .fa {
    font-size: 20px;
}


/**
 * ARTICLE
 */
/*.article {*/
/*    overflow: hidden;*/
/*}*/

/*.article-content::after {*/
/*    content: "";*/
/*    display: table;*/
/*    clear: both;*/
/*}*/

/*.article-image {*/
/*    position: relative;*/
/*    z-index: 10;*/
/*    display: inline-block;*/
/*    vertical-align: top;*/
/*    float: left;*/
/*    max-width: 50%;*/
/*    margin-right: 50px;*/
/*    margin-bottom: 20px;*/
/*}*/

/*.article-image img {*/
/*    max-width: 100%;*/
/*}*/

/*.article-subtitle {*/
/*    padding-bottom: 30px;*/
/*}*/

/*.article-date {*/
/*    font-weight: bold;*/
/*}*/

/*.article-text {*/
/*    margin-bottom: 30px;*/
/*}*/

/**
 * GALLERY
 */

.gallery {
    clear: both;
}

.gallery-list {
    margin: -5px;
    font-size: 0;
}

.gallery-list-item {
    display: inline-block;
    vertical-align: top;
    width: 20%;
    padding: var(--space-10);
}

.gallery-picture {
    position: relative;
    display: block;
    width: 100%;
    font-size: 0;
}

.gallery-picture > img {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-picture-hover {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    background-color: rgba(0, 96, 171, 0.65);
    transition: opacity 0.3s;
}

@media screen and (min-width: 1140px) {
    .gallery-picture:hover .gallery-picture-hover {
        opacity: 1;
    }
}











/* ---------------------------------------- */
/* || Slider - początek || */
#slider {
    position: relative;
}

.slider-buttons {
    position: absolute;
    z-index: 1;
    bottom: calc(2 * var(--space-50));
    right: calc(2 * var(--space-60) + 20px);
}

.slider-buttons ul {
    display: flex;
    gap: 10px;
}

.slider-buttons ul li button {
    width: 50px;
    height: 50px;
    border: 1px solid var(--color-secondary);
    border-radius: 50%;
    background-color: transparent;
    color: var(--color-secondary);
    font-family: "Cinzel", sans-serif;
    transition: .3s all linear;
    font-weight: bold;
}

.slider-buttons ul li button:hover {
    border: 1px solid transparent;
    background-color: var(--color-primary);
}

#slider .slick-dots > li:not(:nth-of-type(n + 10)) button:before{
    content: '0';
}

.main-slider-item {
    position: relative;
}

.main-slider-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, .6);
}

.main-slider-item-img img {
    display: block;
    width: 100%;
    object-fit: cover;
    height: 880px;
}

.main-slider-item-inner {
    position: absolute;
    z-index: 1;
    inset: 0;
    padding: calc(2 * var(--space-60)) 0 calc(2 * var(--space-50)) 0;
}

.main-slider-item-text-content.text {
    font-size: 14px;
}

.main-slider-item-inner .container {
    height: 100%;
}

.main-slider-item-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    height: 100%;
}

.main-slider-item-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-secondary);
}

.main-slider-item-text h1 {
    font-family: "Cinzel", sans-serif;
    font-size: var(--font-96);
}

.main-slider-item-text h2 {
    font-family: "Cinzel", sans-serif;
    font-size: 64px;
}

.main-slider-item-text-content {
    letter-spacing: 1px;
    max-width: 850px;
}

.read-more {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: calc(var(--space-25) + 5px);
    color: var(--color-default);
    text-transform: uppercase;
    transition: .3s all linear;
    font-size: 14px;
}

.read-more:hover {
    color: var(--color-primary);
}

.read-more:hover .icon {
    border: 1px solid transparent;
    background-color: var(--color-primary);
}

.read-more:hover .icon svg {
    transition: .5s all linear;
}

.read-more:hover .icon svg path {
    fill: var(--color-secondary);
}

.read-more .icon {
    width: 50px;
    height: 50px;
    border: 1px solid var(--color-default);
    border-radius: 50%;
    transition: .5s all;
}

.main-slider-item-content .read-more {
    font-size: 14px;
    color: var(--color-secondary);
}

.main-slider-item-content .read-more:hover {
    color: var(--color-primary);
}

.main-slider-item-content .read-more:hover .icon {
    border: 1px solid transparent;
    background-color: var(--color-primary);
}

.main-slider-item-content .read-more .icon {
    border-color: var(--color-secondary);
}

.main-slider-item-content .read-more .icon path {
    fill: var(--color-secondary);
}
/* || Slider - Koniec || */
/* ---------------------------------------- */










.gallery-buttons {
    align-self: center;
}

.gallery-buttons ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.gallery-buttons ul li button {
    width: 50px;
    height: 50px;
    border: 1px solid var(--color-default);
    border-radius: 50%;
    background-color: transparent;
    color: var(--color-default);
    font-family: "Cinzel", sans-serif;
    transition: .5s all;
    font-weight: bold;
}

.gallery-buttons ul li button:hover {
    border: 1px solid transparent;
    background-color: var(--color-primary);
    color: var(--color-secondary);
}

.btn {
    color: var(--color-default);
    border: 1px solid var(--color-default);
    transition: .5s all;
}

.btn:hover {
    color: var(--color-secondary);
    background-color: var(--color-primary);
    border: 1px solid var(--color-secondary);
}

.slide-btn:hover {
    background-color: var(--color-primary);
    border: 1px solid transparent;
}

.buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.gallery-inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-50);
}

#contact {
    padding-top: calc(2 * var(--space-40));
}

.right-nav-left .icon svg {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

#gallery .slick-dots > li:not(:nth-of-type(n + 10)) button:before{
    content: '0';
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-item {
    padding: 10px;
}

.gallery-items {
    margin: -10px;
}

span.tel, span.mail {
    font-size: var(--font-14);
    transition: .5s all linear;
    font-weight: 700;
}

.news-inner .read-more {
    margin-top: 60px;
}

.contact-inner h2 {
    font-family: "Cinzel", sans-serif;
    color: var(--color-primary);
    font-size: 60px;
    text-align: center;
}

.contact-info-elements {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 50px;
}

.contact-info-element {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-info-element .text {
    font-size: 14px;
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: calc(3 * var(--space-50));
}

.contact-info-element .icon {
    padding: 15px;
    background-color: var(--color-primary);
    border-radius: 50%;
    min-width: 50px;
    min-height: 50px;
}

.contact-info-text {
    font-size: 14px;
}

.contact-form-left {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-form-left h3, .contact-form-right h3 {
    font-family: "Cinzel", sans-serif;
    font-size: 24px;
}

.contact-form-right h3 {
    margin-bottom: 35px;
}

/* Historia - podstrona / strona główna */
/* początek - strona główna */
.history {
    position: relative;
}

.history-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.history-bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.history-inner {
    position: relative;
    padding: calc(2 * var(--space-50)) 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(2 * var(--space-60) + 30px);
    align-items: center;
}

.history-inner:before {
    content: "";
    position: absolute;
    width: 538px;
    height: 1px;
    left: -140px;
    top: 100px;
    pointer-events: none;
    background-color: rgba(0, 0, 0, .1);
}

.history-item-row-image {
    position: relative;
}

.history-item-row {
    position: relative;
}

.history-item-row:before {
    position: absolute;
    content: "";
    top: 0;
    left: -140px;
    height: 1px;
    width: 538px;
    background-color: rgba(0, 0, 0, .1);
}

.history-item-row:after {
    position: absolute;
    content: "";
    bottom: 0;
    right: -140px;
    height: 1px;
    width: 1642px;
    background-color: rgba(0, 0, 0, .1);
}

.history-item:nth-child(odd) .history-item-row-image div:before {
    position: absolute;
    content: "";
    width: 1px;
    height: 836px;
    top: -50px;
    background-color: rgba(0, 0, 0, .1);
    pointer-events: none;
}

.history-item:nth-child(even) .history-item-row-image div:before {
    position: absolute;
    content: "";
    width: 1px;
    height: 836px;
    top: -50px;
    right: 0;
    background-color: rgba(0, 0, 0, .1);
    pointer-events: none;
}

.history-item-row-image div:after {
    position: absolute;
    content: "";
    top: 0;
    right: -140px;
    height: 1px;
    width: 1077px;
    background-color: rgba(0, 0, 0, .1);
}

.history-img {
    position: relative;
}

.history-img:before {
    position: absolute;
    content: "";
    width: 200%;
    height: 1px;
    background-color: rgba(0, 0, 0, .1);
    top: -1px;
    left: -200px;
    pointer-events: none;
}

.history-img:after {
    position: absolute;
    content: "";
    width: 100000%;
    height: 1px;
    background-color: rgba(0, 0, 0, .1);
    bottom: -1px;
    left: -750px;
    pointer-events: none;
}

.history-img div:before {
    position: absolute;
    content: "";
    width: 1px;
    height: 836px;
    top: -50px;
    background-color: rgba(0, 0, 0, .1);
    pointer-events: none;
}

.history-img img {
    display: block;
    width: 100%;
    height: 100%;
}

.history-text h3 {
    font-size: var(--font-20);
}

.history-text a {
    margin-top: var(--space-25);
}

/* koniec - strona głowna */

/* początek - podstrona */

.history-header {
    position: relative;
    padding: calc(2 * var(--space-50)) 0 calc(2 * var(--space-40)) 0;
}

.history-header-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.history-header-bg img {
    display: block;
    width: 100%;
    height: 100%;
}

.history-item {
    position: relative;
    padding: calc(2 * var(--space-50)) 0;
}

.history-item:nth-child(1) {
    padding-top: 0;
}

.history-list .history-item:nth-child(even) .history-item-bg {
    display: none;
}

.history-item-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.history-item-bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.subpage .history-item:nth-child(1) .history-item-bg img {
    object-fit: unset;
}

.history-item-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: calc(3 * var(--space-50));
}

.history-item-row .item-years {
    font-size: 48px;
    font-family: "Cinzel", sans-serif;
    color: var(--color-primary);
    margin-bottom: var(--space-25);
    font-weight: 500;
}

.history-text .item-name {
    font-size: 20px;
    margin-bottom: calc(var(--space-25) + 10px);
}

.history-item-row-text .item-name {
    font-size: 20px;
    margin-bottom: calc(var(--space-25) + 10px);
    transition: .3s all;
}

.history-item-row-text .item-name:hover {
    color: var(--color-primary);
}

.history-item:nth-child(even) .history-item-row-text {
    order: 2;
}

.history-item:nth-child(even) .history-item-row-image {
    order: 1;
}

.history-item-row-image img {
    display: block;
    width: 100%;
    height: 100%;
}

/* Historia - podstrona / strona główna - Koniec */

/* --------------------------------------------------------*/

/* Aktualności - podstrona / strona główna */
/* początek - strona główna */
#news {
    padding: calc(2 * var(--space-40)) 0 calc(2 * var(--space-50)) 0;
    position: relative;
}

.news-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.news-bg img {
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.news-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.news-list {
    width: 100%;
    margin: -35px;
}

.news {
    padding: 35px;
    transition: .3s all linear;
}

.news:hover {

}

.news-text .text {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}

.news:hover .read-more-btn-2 {
    color: #0060AB;
}

.news-img img {
    display: block;
    width: 100%;
    height: 100%;
}

.news-text h4 {
    font-size: 16px;
    font-weight: 700;
    line-height: 30px;
    max-width: 306px;
    min-height: 60px;
    padding: 30px 0 20px 0;
}

.read-more-btn-2 {
    font-weight: 700;
    transition: .2s all linear;
    border: none;
    background-color: transparent;
    padding: unset;
    font-size: 14px;
}

.news-buttons {
    position: absolute;
    bottom: calc(2 * var(--space-50));
    right: 140px;
}

.news-buttons ul {
    display: flex;
    gap: 10px;
}

.news-buttons ul li button {
    width: 50px;
    height: 50px;
    border: 1px solid var(--color-default);
    border-radius: 50%;
    background-color: transparent;
    color: var(--color-default);
    font-family: "Cinzel", sans-serif;
    transition: .5s all;
    font-weight: bold;
}

.news-buttons ul li button:hover {
    border: 1px solid transparent;
    background-color: var(--color-primary);
    color: var(--color-secondary);
}

#news .slick-dots > li:not(:nth-of-type(n + 10)) button:before{
    content: '0';
}

/* koniec - strona główna */

/* początek - postrona */
.subpage #news .news-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: calc(var(--space-60) + 10px);
    row-gap: var(--space-60);
    justify-content: center;
    margin: unset;
}

.subpage #news .news-list .news {
    padding: unset;
    width: 100%;
    overflow: hidden;
}

.news .news-img {
    display: block;
    overflow: hidden;
    width: 100%;
}

.news-img img {
    transition: .2s all linear;
}

.news:hover .news-img img {
    transform: scale(1.05);
}

/* Aktualności - podstrona / strona główna - Koniec */

/* --------------------------------------------------------*/

/* News (news-item) - podstrona */
#news-item {
    padding: calc(2 * var(--space-40)) 0;
}

.news-item-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.news-item-inner .text {
    margin-top: var(--space-40);
}

.news-item-inner h1 {
    font-family: "Cinzel", sans-serif;
    color: var(--color-primary);
    font-size: 48px;
    text-align: center;
    margin-bottom: 30px;
}

.news-date {
    font-family: "Poppins", sans-serif;
    font-size: var(--font-20);
    color: var(--color-default);
    letter-spacing: 10px;
    margin-bottom: 20px;
}

.news-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(2 * var(--space-50) + 14px);
    align-items: center;
    padding-bottom: 40px;
}

.news-image img {
    display: block;
    width: 100%;
    height: 100%;
}

.text-b {
    font-size: 20px;
    line-height: 30px;
}

ul.list {
    list-style-type: disc;
    margin-left: 20px;
    font-size: var(--font-14);
    line-height: 30px;
}

.image img {
    display: block;
    width: 100%;
    height: 100%;
}

.return {
    margin: calc(var(--space-60) + 10px) 0;
}

.return-btn {
    display: flex;
    align-items: center;
    gap: calc(var(--space-25) + 5px);
    color: var(--color-default);
    text-transform: uppercase;
    transition: .3s all linear;
    font-size: var(--font-14);
    justify-content: center;
}

.return-btn .icon {
    width: 50px;
    height: 50px;
    border: 1px solid var(--color-default);
    border-radius: 50%;
    transition: .3s all linear;
}

.return-btn .icon svg {
    display: block;
    transition: .3s all linear;
}

.return-btn:hover {
    color: var(--color-primary);
}

.return-btn:hover .icon {
    border: 1px solid transparent;
    background-color: var(--color-primary);
}

.return-btn:hover .icon svg {
    display: block;
    transition: .5s all linear;
}

.return-btn:hover .icon svg path {
    fill: var(--color-secondary);
}

/* News (news-item) - Koniec */

/* --------------------------------------------------------*/

/* Projekty - podstrona / strona główna */
/* strona główna - początek */
#projects {
    padding: calc(2 * var(--space-40)) 0 var(--space-60) 0;
}

.projects-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.projects-list {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    border-left: 1px solid #D9D7D7;
    border-top: 1px solid #D9D7D7;
}

.projects-list-item {
    position: relative;
    display: block;
    padding: 48px 74px;
    border-right: 1px solid #D9D7D7;
    border-bottom: 1px solid #D9D7D7;
    transition: .3s all linear;
}

.projects-list-item:before {
    content: "";
    position: absolute;
    border: 1px solid #F5F5F5;
    opacity: 0;
    inset: -1px;
    transition: .3s all linear;
}

.projects-list-item:hover:before {
    opacity: 1;
}

.projects-list-item:hover {
    background-color: #F5F5F5;
}

.projects-list-item:hover .read-more-btn-2 {
    color: #0060AB;
}

.project-dates {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: calc(var(--space-25) + 5px);
    align-items: center;
    font-size: 14px;
}

.start-date {
    display: flex;
    gap: 13px;
    align-items: center;
}

.start-date .icon {
    display: block;
    max-width: 14px;
}

.start-date .icon img {
    display: block;
    width: 100%;
    height: 100%;
}

.start-date-text {
    color: #0060AB;
    font-weight: bold;
    font-size: 14px;
}

.end-date-text {
    text-transform: uppercase;
}

.project-title {
    padding-bottom: var(--space-25);
}

.project-title h4 {
    font-size: 20px;
    line-height: 30px;
}

#projects .read-more {
    margin-top: 40px;
}

.start-date .icon svg {
    display: block;
}

/* strona główna - koniec */

/* podstrona - początek */


/* Projekty - podstrona / strona główna - Koniec */

/* --------------------------------------------------------*/

/* Projekt - podstrona */
#project {
    padding-top: calc(2 * var(--space-40));
}

.project-inner h1 {
    font-family: "Cinzel", sans-serif;
    color: var(--color-primary);
    font-size: var(--font-48);
    text-align: center;
    margin-bottom: calc(var(--space-25) + 5px);
}

.project-inner .project-dates {
    border-top: 1px solid rgba(0, 0, 0, .1);
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    padding: 20px;
    margin-bottom: var(--space-60);
}

.project-desc.text {
    font-size: var(--font-20);
    line-height: 36px;
    text-align: justify;
}

.project-img {
    margin: var(--space-60) 0;
}

.project-img img {
    display: block;
    width: 100%;
    height: 100%;
}

.project-inner table {
    width: 100% !important;
    text-align: center;
    border-top: 1px solid #D9D7D7;
    border-left: 1px solid #D9D7D7;
}

.project-inner table td {
    text-align: center;
    border-bottom: 1px solid #D9D7D7;
    border-right: 1px solid #D9D7D7;
}

.project-inner table tr:first-child {
    font-weight: bold;
    align-items: center;
    vertical-align: middle;
    text-transform: uppercase;
}

.project-inner table tr:first-child td {
    padding: 30px 0;
}

.project-inner td {
    padding: 10px 0;
}

.project-inner table td {
    width: 20%;
}

.project-inner .materials {
    margin: var(--space-50) 0;
}

.project-inner .materials ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: calc(var(--space-25) + 5px);
}

.project-inner .material {
    display: flex;
    gap: 50px;
    padding: 30px 52px;
    border: 1px solid rgba(0, 0, 0, .1);
    align-items: center;
    transition: .3s all linear;
}

.project-inner .material:hover {
    border: 1px solid var(--color-primary);
}

.material-download-icon {
    margin-left: auto;
    min-width: 21px;
}

.material-icon {
    min-width: 32px;
}

.material-download-icon svg, .material-icon img {
    display: block;
    width: 100%;
    height: 100%;
}

.material-text {
    max-width: 320px;
    font-size: 14px;
}

.projects-list-item .text {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Projekt - podstrona - Koniec */

/* --------------------------------------------------------*/

/* Wydawinictwa - podstrona */
#publishers {
    padding: calc(2 * var(--space-40)) 0 calc(2 * var(--space-50)) 0;
}

.publishers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: calc(var(--space-60) + 10px);
    row-gap: var(--space-60);
    justify-content: center;
}

.publishers-item {
    width: 100%;
}

.publishers-item-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    max-width: 260px;
    margin: 0 auto;
}

.publishers-item-image {
    display: block;
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid rgba(0, 0 ,0, .1);
}

.publishers-item-image img {
    display: block;
    width: 100%;
}

/* Wydawinictwa - podstrona - Koniec */

/* --------------------------------------------------------*/

/* O Nas - podstrona / strona główna */
/* strona główna - początek */
#about-us {
    padding: calc(2 * var(--space-50)) 0;
}

.mainpage #about-us {
    padding: calc(2 * var(--space-50)) 0 0 0;
}

#about-us .page-heading {
    margin-bottom: 30px;
}

.about-us {
    position: relative;
}

.about-us:before {
    content: "";
    position: absolute;
    width: 850px;
    height: 1px;
    right: 0;
    pointer-events: none;
    background-color: rgba(0, 0, 0, .1);
}

.about-us:after {
    content: "";
    position: absolute;
    width: 397px;
    height: 1px;
    right: 0;
    bottom: 60px;
    pointer-events: none;
    background-color: rgba(0, 0, 0, .1);
}

.about-us-img {
    position: relative;
    display: inline-block;
    float: left;
    margin-right: calc(2 * var(--space-50) + 10px);
    margin-bottom: var(--space-60);
    width: 50%;
}

.mainpage .about-us-img:before {
    content: "";
    position: absolute;
    width: 1000px;
    height: 1px;
    left: -140px;
    pointer-events: none;
    background-color: rgba(0, 0, 0, .1);
}

.mainpage .about-us-img:after {
    content: "";
    position: absolute;
    width: 1000px;
    height: 1px;
    left: -140px;
    bottom: 0;
    pointer-events: none;
    background-color: rgba(0, 0, 0, .1);
}

.mainpage .about-us-img div:before {
    content: "";
    position: absolute;
    width: 1px;
    height: 920px;
    top: -50px;
    right: 0;
    pointer-events: none;
    background-color: rgba(0, 0, 0, .1);
}

.about-us-img img {
    display: block;
    width: 100%;
}

/*.about-us-text {*/
/*    padding-top: var(--space-60);*/
/*}*/

.about-us-text a {
    margin-top: 35px;
}

/*.main*/

/* strona główna - koniec */

/* podstrona - początek */
.about-us-text h3 {
    font-size: 20px;
}

.video {
    margin: 70px 0;
}

/* O nas - podstrona / strona główna - koniec */

/* --------------------------------------------------------*/
.page-heading {
    margin-bottom: var(--space-60);
}

.section-title {
    font-family: "Cinzel", sans-serif;
    color: var(--color-primary);
    font-size: 64px;
    line-height: 1;
    margin-bottom: calc(var(--space-25) + 5px);
}

.article-title {
    font-family: "Cinzel", sans-serif;
    color: var(--color-primary);
    font-size: 64px;
    text-align: center;
    font-weight: 500;
}

.article-subtitle {
    text-align: center;
    font-size: 14px;
    margin-top: 30px;
    line-height: 30px;
}

.section-heading {
    margin-bottom: var(--space-60);
    text-align: center;
}

.section-subtitle {
    font-size: var(--font-14);
    line-height: 30px;
    text-align: center;
}

.text-bold {
    font-weight: 700;
}

#gallery {
    margin: var(--space-50) 0 var(--space-50) 0;
}

.map {
    margin-top: calc(var(--space-60) + 30px);
}

.map iframe {
    width: 100%;
    height: 635px;
    display: block;
}

.partners-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    border-left: 1px solid rgba(0, 0, 0, .1);
    border-top: 1px solid rgba(0, 0, 0, .1);
}

.partners-nav-element {
    padding: 10px 25px;
    font-size: var(--font-14);
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    border-right: 1px solid rgba(0, 0, 0, .1);
    transition: .3s all linear;
}

.partners-nav-element:hover {
    background-color: var(--color-primary);
    color: var(--color-secondary);
}

.partners {
    margin-top: calc(2 * var(--space-40));
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    justify-content: space-between;
    row-gap: calc(2 * var(--space-60) + 10px);
    column-gap: calc(2 * var(--space-40) + 5px);
    width: 100%;
}

.partners-item {
    display: flex;
    flex-direction: column;
    transition: .3s all linear;
    gap: var(--space-40);
}

.partners-item-image {
    display: flex;
    transition: .3s all linear;
    border: 1px solid rgba(0, 0, 0, .1);
    filter: grayscale(1);
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/1;
    padding: 0 20px;
}

.partners-item-image img {
    display: block;
    max-width: 100%;
}

.partners-item:hover .partners-item-image  {
    filter: grayscale(0);
}

.partners-item-text-name {
    font-size: 16px;
    font-weight: 700;
}

.partners-item-text-address {
    font-size: 14px;
}

.video {
    aspect-ratio: 1920 / 1079;
}

.video video {
    display: block;
    width: 100%;
    height: 100%;
}

.submit-button {
    border: 1px solid transparent;
    border-radius: 50px;
    color: #fff;
    font-size: 14px;
    padding: 12px 37px;
}

.submit-button:hover {
    border: 1px solid var(--color-primary);
}

.form .form-element-name {
    font-size: 14px;
    font-family: "Cinzel", sans-serif;
    font-weight: normal;
    font-weight: 500;
}

.form-control {
    background-color: rgba(217, 217, 217, .3);
    border: none;
}

.news-item-img {
    display: inline-block;
    width: 45%;
    margin-right: calc(2 * var(--space-50) + 10px);
    margin-bottom: calc(var(--space-60) + 10px);
    float: left;
}

.pagination-wrapper {
    padding: calc(var(--space-60) + 20px) 0 0 0;
}

.pagination-wrapper ul li.prev, .pagination-wrapper ul li.next {
    float: unset;
}

.pagination-wrapper ul li.prev a, .pagination-wrapper ul li.next a {
    background-color: transparent;
    border-radius: 50%;
}

.pagination-wrapper ul li.prev a:hover, .pagination-wrapper ul li.next a:hover {
    background-color: var(--color-primary);
}

.pagination-wrapper ul li {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin: 10px;
    transition: .3s all linear;
}

.pagination-wrapper ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-family: "Cinzel", sans-serif;
    font-weight: bold;
    font-size: 14px;
}

#history {
    margin-bottom: var(--space-60);
}

.pagination-wrapper ul li:not(.next):not(.prev):not(:nth-of-type(n + 10)) a:before {
    content: '0';
}

#slider .slick-dots > li:not(:nth-of-type(n + 10)) button:before{
    content: '0';
}

.pagination-wrapper ul li.active {
    background-color: var(--color-primary);
}

.pagination-wrapper ul li.active a {
    color: var(--color-secondary);
}

.pagination-wrapper ul li:hover {
    background-color: var(--color-primary);
}

.pagination-wrapper ul li:hover a {
    color: var(--color-secondary);
}

.pagination-wrapper ul li.active {
    background-color: var(--color-primary);
}

.pagination-wrapper ul li.disabled {
    pointer-events: none;
    opacity: 0;
}

.pagination-wrapper ul li:hover span {
    color: var(--color-secondary);
}

.contact-link {
    transition: .2s all linear;
}

.contact-link:hover {
    color: var(--color-link-hover);
}

.rwdMenu {
    margin-top: 20px;
}

.page-description {
    margin-top: var(--space-60);
}

.opacityZero{
    pointer-events: none;
    opacity: 0;
}

.form-element-option-text:hover {
    text-decoration: underline;
}
.main-slider-item.no-img .main-slider-item-logo img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 100%;
}
.main-slider-item.no-img .main-slider-item-logo{
    width: 100%;
    max-width: 380px;
}
.main-slider-item.no-img .main-slider-item-content .read-more .icon svg *{
    fill: #000
}
.main-slider-item.no-img .main-slider-item-content .read-more .icon{
    border-color: #000;
}
.main-slider-item.no-img .main-slider-item-content .read-more,
.main-slider-item.no-img .main-slider-item-text{
    color: #000;
}

.history-item-row.no-image {
    grid-template-columns: 1fr;
}

.history-item-row.no-image .history-item-row-text .text p.only-img {
    display: flex;
    flex-wrap: wrap;
}

.history-item-row.no-image .history-item-row-text .text p.only-img img {
    width: 50% !important;
}

.main-slider-item-img {
    min-height: calc(100vw * 0.4583);
    height: 620px;
}
