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

    --font-48: 48px;
    --font-40: 40px;
    --font-36: 36px;
    --font-30: 30px;
    --font-24: 24px;

    --container-padding: 40px;

    --row-gap: 15px;

    /** SPECIFIC **/
    --color-primary: #1c2433;
    --color-secondary: #cb1400;
    --color-default: #333;
}

body {
    color: var(--color-primary);
    font-family: 'Playfair Display', serif;
}

/**
 * BASIC
 */

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

em {
    padding-right: 2px;
}

.text h1 {
    font-size: calc(var(--font-24) + 2px);

    margin: 20px 0;

}

.text h2 {
    font-size: 16px;
    font-weight: 900;
    margin: 15px 0;

}

.text h3 {
    font-weight: 800;

    margin: 10px 0;

}

.text h4 {
    font-weight: 700;

    margin: 10px 0;

}

.text h5 {
    font-weight: 600;

    margin: 5px 0;

}

.text h6 {
    margin: 5px 0;
}

a {
    color: #ff00ff;
}

a:hover, a:focus {
    color: #00ff00;
}

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

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


/**
 * PAGE
 */

#page{
    overflow: hidden;
}

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

.container-medium {
    max-width: 1444px;
}

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

.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-white,
.btn-white:hover,
.btn-white:focus,
.btn-white:active,
.btn-white.active,
.btn-white.active:focus,
.btn-white:hover:focus,
.btn-white:hover:active,
.btn-white:focus:active {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}

.btn-square {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 40px;
}

.btn .icon-wrapper {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.btn-md {
    min-height: 46px;
    font-size: 14px;
    padding: 5px 10px;
    min-width: 150px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-sm {
    min-height: 42px;
    padding: 5px 30px 5px 15px;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
}


.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-secondary);
    border-color: var(--color-secondary);
    color: #fff;
}

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

.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: #fff;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

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

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

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

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

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

    .mainSlider-nav .btn-square:hover {
        color: var(--color-secondary);
    }

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

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

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

/**
 * BUTTONS
 */

.btn {
    border-radius: 7px;
    transition: all 0.2s;
    font-family: 'lato', sans-serif;
}

/**
 * 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));
    display: flex;
    flex-wrap: wrap;
}

.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-family: "lato", sans-serif;
    font-size: 16px;
    line-height: 30px;
}

.text a {
    color: inherit;
    font-weight: 700;
}

.text a:hover, .text a:focus {
    text-decoration: underline;
}

/** 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 {
    -webkit-mask-size: cover;
    -mask-size: cover;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-image: url('../images/icons/arrow_right.svg');
    mask-image: url('../images/icons/arrow_right.svg');
    width: 33px;
    height: 9px;
    content: "";
    background-color: #000;
    position: relative;
    display: inline-block;
    left: -20px;
    margin-left: 0;
    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: 30px 0;
    width: 100%;
}

.text table tr:nth-child(odd) {
    background: #f0ede6;
}

.text table td:nth-child(2) {
    text-align: right;
}

.text table td {
    padding: 8px calc(var(--space-25) + 5px);
}

/**
 * HEADER
 */
.header-top-right .btn {
    border-color: rgba(255, 255, 255, 0.1);
}

header {
    transition: top, 500ms;
    font-family: 'lato', sans-serif;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    right: 0;
}

header.sticky #main-menu a:hover, header.sticky #main-menu a:focus {
    color: var(--color-secondary);
}

header.sticky {
    top: -64px;
}

header.sticky .header-logo-bg img {
    height: 0;
}

header.sticky .logo {
    margin-top: 0;
    margin-left: 0;
}

.header-top-left, .header-logo-bg {
    transition: width, 500ms;
}

.header-logo-bg img {
    height: 202px;
    transition-property: height, width;
    transition-duration: 500ms;
}

.header-tel {
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-tel .icon-wrapper {
    width: 17px;
    height: 17px;
}

.header-logo-bg {
    width: 100%;
    left: 0;
    display: block;
    top: 0px;
    position: absolute;
}

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

.header-bip img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.langs-menu {
    display: flex;
    align-items: center;
}

.header-bip .btn {
    padding: 5px;
}

.header-bip:after {
    content: "";
    display: block;
    width: 1px;
    margin-top: 2px;
    position: absolute;
    right: 0;
    margin-bottom: -2px;
    background: rgba(255, 255, 255, 0.1);
    height: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.header-bip {
    display: flex;
    align-items: center;
    padding-right: 19px;
    position: relative;
    margin-right: 18px;
}

.header-top-right .langs-menu {
    padding-left: 19px;
    margin-left: 18px;
    position: relative;
}

.header-social {

    display: flex;
    align-items: center;
    position: relative;
    justify-content: center;
}

.header-top-right .langs-menu:before {
    content: "";
    display: block;
    width: 1px;
    margin-top: 2px;
    position: absolute;
    left: 0;
    margin-bottom: -2px;
    background: rgba(255, 255, 255, 0.1);
    height: 12px;
    top: 50%;
    transform: translateY(-50%);
}

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

.header-top-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-top-left {
    width: 352px;
    position: relative;
    margin-right: var(--space-50);
}

.header-contact {
    flex-grow: 1;
    margin: 0 calc(var(--space-25) + 20px) 0 20px;
}

.header-tel .icon-wrapper {
    margin-right: 15px;
}

.header-tel .caption {
    font-weight: 900;
    font-size: 16px;
    color: #fff;
}


header.sticky .header-top, .subpage .header-top {
    background-color: var(--color-primary);
}

.header-top {
    transition: background-color, 500ms;
}

.header-top-inner {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    min-height: 54px;
}

.header-btns {
    display: flex;
    flex-grow: 1;
    align-items: center;
    gap: 20px;
}

.header-top-center {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.header-top-right {
    display: flex;
    align-items: stretch;
}

header.sticky .header-bottom {
    background-color: var(--color-primary);
}

#main-menu a {
    transition: color, 500ms;
}

header.sticky #main-menu a {
    color: #fff;
}
.header-top{
    height: 62px;
}
.header-bottom {
    height: 75px;
    display: flex;
    align-items: center;
    background-blend-mode: darken;
    padding: 5px 0;
    transition-property: padding, background-color;
    transition-duration: 500ms;
    background: url("../images/header-bg.jpg") center center /cover;
}


.header-inner {
    display: flex;
    align-items: center;
    width: 100%;
}

.header-bottom-center {
    flex-grow: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.logo {
    position: relative;
    z-index: 3;
    transition: margin, 500ms;
    margin: -9px calc(var(--space-60) * 2) 0 calc(var(--space-60) + 4px);
    float: left;
}

.logo a {
    display: block;
}

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

#main-menu ul {
    font-size: 0;
}

#main-menu li {
    position: relative;
    display: inline-block;
    font-size: 1rem;
}

#main-menu > ul > li > a {
    padding: 5px 10px;
    font-size: 17px;
    font-weight: 700;
    color: var(--color-primary);
}

#main-menu > ul {
    gap: 1px;
}

#main-menu > ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}

#main-menu > ul > li > ul {
    padding-top: 20px;
}
.header-contact{
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.header-contact a:hover > * {
    color: var(--color-secondary);
}

#main-menu li > ul {
    display: none;
    position: absolute;
    top: 100%;
    min-width: 100%;
    left: 0;
    flex-direction: column;
}

#main-menu a:hover, #main-menu a:focus, #main-menu li.active > a {
    color: var(--color-secondary);
}

#main-menu li > ul a:hover, #main-menu li > ul a:focus, #main-menu li > ul li.active > a {
    color: var(--color-secondary);
}

#main-menu li > ul a {
    color: var(--color-primary);
}

#main-menu li > ul > li > a {
    display: block;
    padding: 5px 10px;
    text-align: center;
    width: 100%;
}

#main-menu li > ul > li > a {
    white-space: nowrap;
}

#main-menu li > ul > li {
    width: 100%;
    background-blend-mode: darken;
    transition: background-color, 500ms;
    background: url('../images/paper-main.webp') center center /cover;
}

header.sticky #main-menu li > ul > li {
    background-color: var(--color-primary);
}

#main-menu li > ul > li > ul {
    top: 0;
    left: 100%;
}

#main-menu li:hover > ul {
    display: flex;
}

.main-menu-button {
    float: right;
    width: 40px;
    margin: 0 0 0 var(--container-padding);
    border: none;
    background: transparent;
}

.main-menu-button.animIcon--hamburger.active span {
    background-color: var(--color-secondary);
}

.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 .logo {
    width: 214px;
}


.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-inner {
    padding: 11px 0;
}

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

/**
 * FOOTER
 */
footer {
}

footer a:hover, footer a:focus {
    text-decoration: underline;
}

/* FOOTER BAR */
.footer-bar {
    padding: 10px 0;
    line-height: 30px;
    letter-spacing: 0.05em;
    font-weight: 300;
    font-size: 14px;
    color: #f4f4f4;
    background-color: var(--color-primary);
}

.footer-bar-content::after {
    content: "";
    display: table;
    clear: both;
}

.footer-bar-content > * {
    float: left;
}

.footer-bar-content > *:not(:last-child) {
    margin-right: 30px;
}

.footer-bar-links a {
    font-size: 14px;
    font-family: "lato", sans-serif;
    font-weight: 300;
}

.footer-bar-links li:last-child {
    margin-right: 0;
}

.footer-bar-links li:last-child:after {
    content: "";
    display: block;
    width: 1px;
    margin-top: 2px;
    position: absolute;
    right: 0;
    margin-bottom: -2px;
    background: rgba(255, 255, 255, 0.5);
    height: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.copyright {
    font-size: 14px;
    font-family: "lato", sans-serif;
    font-weight: 300;
}

.copyright-undicom {
    display: flex;
    align-items: center;
}

.copyright-undicom a {
    display: inline-flex;
    align-items: center;
}

.footer-bar-links {
    margin-left: -8px;
    position: relative;
    padding-right: 15px;
    margin-right: 15px !important;
    font-size: 0;
}

.footer-logo {
    width: 411px;
    margin: 0 auto;
}

.footer-logo img {
    margin: 0 auto;

    max-width: 100%;
    display: block;
}

.footer-caption {
    margin-bottom: 12px;

}

.footer-top-caption {
    margin-bottom: 0;
}

.footer-address {
    margin-bottom: var(--space-25);
}

.footer-bar-links > li {
    display: inline-block;
    vertical-align: middle;
    margin: 3px 8px;
    font-size: 14px;
    line-height: 24px;
}

.footer-bar-links a {
    color: inherit;
}

.footer-content {
    background: top right /cover;
    display: flex;
    align-items: center;
    min-height: 735px;
}

.copyright-undicom {
    float: right;
    letter-spacing: inherit;
    line-height: inherit;
    color: inherit;

    font-size: 14px;
    font-family: "lato", sans-serif;
    font-weight: 300;
}

.copyright-undicom svg {
    max-width: 15px;
    margin-right: 5px;
    fill: currentColor;
}

.footer-col {
    color: #fff;
    max-width: 590px;
    padding: calc(var(--space-50) * 2) 0 var(--space-60);
    text-align: center;
}

.footer-col a {
    color: #fff;
    font-weight: 900;
    font-size: 20px;
    font-family: "lato", sans-serif;
}

.footer-contact {
    margin-bottom: var(--space-25);
}

.footer-contact .footer-phones + .footer-phones {
    margin-top: 10px;
}

.footer-mail {
    display: block;
}

.footer-mail:nth-child(3n):before, .footer-phone:nth-child(4n):before {
    content: unset;
}

.footer-links li {
    display: flex;
    align-items: center;
    position: relative;
}

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

.footer-phones > a {
    position: relative;
    padding: 3px 14px;
}

.footer-phones {
    align-items: center;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-phones > a {
    position: relative;

}


.footer-phones > a + a:before {
    content: "";
    display: block;
    width: 1px;
    margin-top: 2px;
    position: absolute;
    left: 0;
    margin-bottom: -2px;
    background: rgba(255, 255, 255, 0.5);
    height: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.footer-links li + li:before {
    content: "";
    display: block;
    width: 1px;
    margin-top: 2px;
    position: absolute;
    left: 0;
    margin-bottom: -2px;
    background: rgba(255, 255, 255, 0.5);
    height: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.footer-links a {
    display: block;
    padding: 3px 12px;
    font-size: 16px;
    font-weight: normal;
}

.footer-content-inner {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: flex-end;
}

/**
 * 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: #e10121;
    border-radius: 0 6px 6px 0;
    background-color: transparent;
    border-color: var(--color-default);
    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: #e10121;
        color: #e10121;
    }

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

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

/**
 * BREADCRUMB
 */

.breadcrumb-container {
    margin: 20px 0;
}

.breadcrumb {
    padding: 0;
    margin: 0;
    text-align: left;
    border-radius: 0;
    background-color: transparent;
}

.breadcrumb > li {
    position: relative;
    display: inline;
    color: #6d6e71;
}

.breadcrumb > li > a {
    font-size: 12px;
}

.breadcrumb > li > a:not([href]),
.breadcrumb > li > a:not(:hover) {
    color: inherit;
}

.breadcrumb > li + li:before {
    content: '>';
    font-size: 12px;
    padding: 0 15px;
    color: inherit;
}

.breadcrumb > li > a.last {
    color: var(--color-secondary);
}

/**
 * ANIMATABLE ICON
 */
.animIcon {
    position: relative;
    display: inline-block;
    width: 32px;
    padding: 0 !important;
}

.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-secondary);
    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
 */
.logotypesSlider-nav .slick-arrow {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.logotypes-inner .section-header {
    row-gap: 10px;
    column-gap: 10px;
}

.logotypes-slider-container {
    margin-bottom: calc(var(--space-50) + var(--space-40));
}

.logotype-slider .slick-list, .logotype-slider .slick-track {
    display: flex;
    width: 100%;
    align-items: stretch;
}

.logotype-slider {
    display: flex;
    align-items: stretch;
}

.logotype-slider {
    margin: -10px;
}

.logotype {
    width: 25%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.logotype-slider:not(.slick-initialized) .logotype:nth-child(n + 5) {
    display: none !important;
}

.logotypesSlider-nav {
    display: flex;
    align-items: center;
}

.logotypesSlider-nav .slick-arrow {
    color: var(--color-primary);
}

.logotypesSlider-nav .slick-arrow svg * {
    fill: currentColor;
}

.logotype img {
    max-height: 100%;
    max-width: 100%;
    margin: 0 auto;
}


/**
 * 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: 40px;
    height: 40px;
}

.social-icon.btn {
    padding: 0px;
}

.social-icon svg {
    fill: currentColor;
}

.social-icon img {
    display: block;
}

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


/**
 * LANGUAGES MENU
 */
.langs-menu {
    position: relative;
    float: right;
    transition-duration: 0.4s;
    transition-property: background-color, opacity;
    z-index: 1001;
}

.lang-button {
    width: 44px;
}

.langs-menu:hover .lang-button, .langs-menu:focus .lang-button {
    border-bottom-left-radius: 0;
    background-color: #fff;
    color: var(--color-secondary);
    border-bottom-right-radius: 0;
}

.langs-menu ul {
    overflow: hidden;
    position: absolute;
    top: 100%;
    width: 44px;
    transition: all 0.3s;
    background-color: #fff;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
}

.langs-menu.active,
.langs-menu.active ul {
    opacity: 1;
}

.langs-menu a {
    color: var(--color-secondary);

    text-decoration: none;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-color: transparent;
}

.langs-menu-icon {
    display: inline-block;
    vertical-align: middle;
    line-height: 0;
    margin-right: 8px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.lang {
    display: flex;
    align-items: center;
    height: 40px;
    padding: 5px 12px;
    font-size: 0;
    transition-duration: 0.3s;
    transition-property: background-color, color, border-radius;
}

.lang span {
    display: inline-block;
    vertical-align: middle;
    font-size: 16px;
    text-transform: uppercase;
}

.lang .langs-menu-long, .lang .langs-menu-icon {
    display: none;
}

.lang-button {
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: transparent;
    color: #fff;
}


.lang-button .langs-menu-icon, .lang-button .langs-menu-long, .lang-button .arrow {
    display: none;
}

.langs-menu-icon img {
    max-width: 100%;
}

@media screen and (min-width: 1140px) {
    a.lang:hover, a.lang:focus {
        background: var(--color-secondary);
        color: #fff;
    }

    .langs-menu:not(.langs-menu--list):not(:hover):not(:focus):not(:focus-within) ul {
        pointer-events: none;
        opacity: 0;
        transform: translateY(-5px);
        -webkit-transform: translateY(-5px);
        -ms-transform: translateY(-5px);
    }

    .langs-menu:focus-within .lang-button .arrow,
    .langs-menu:hover .lang-button .arrow,
    .langs-menu:focus .lang-button .arrow {
        transform: rotateZ(180deg);
        -webkit-transform: rotateZ(180deg);
        -ms-transform: rotateZ(180deg);
    }
}

.flag-icon {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.langs-menu--list .lang-button,
.langs-menu--list .langs-menu-short {
    display: none;
}

.langs-menu.langs-menu--list ul {
    position: static;
    opacity: 1;
    display: flex;
    align-items: center;
    border: none;
    background: none;
}

.langs-menu.langs-menu--list li {
    margin: 4px 10px;
    border: none;
}

.langs-menu.langs-menu--list a {
    height: auto;
    padding: 5px;
    border: none;
}

.langs-menu--list .lang {
    background: none;
}

.langs-menu--list .langs-menu-icon {
    margin: 0;
}

/**
 * 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;
    line-height: 1;
}

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

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

/**
 * GALLERY
 */

.gallery {
    clear: both;
}

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

.gallery-list-item {
    display: inline-block;
    vertical-align: top;
    width: 25%;
    padding: 4px;
}

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

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

.gallery-picture-hover span:nth-child(2) {
    transform: rotate(90deg);
}

.gallery-picture-hover span {
    background-color: #fff;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    height: 1px;
    width: 70px;
}

.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(28, 36, 51, 0.7);
    transition: opacity 0.3s;
}

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

.icheckbox_minimal-custom,
.iradio_minimal-custom {
    background-image: url(../images/minimal.png);
}

/* HiDPI support */
@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) {
    .icheckbox_minimal-custom,
    .iradio_minimal-custom {
        background-image: url(../images/minimal@2x.png);
    }
}

.mainSlider-slide {
    position: relative;

}

.mainSlider-slide-img {
    position: relative;
}

.mainSlider-slide-img img {
    width: 100%;
    min-height: 800px;
    display: block;
    object-fit: cover;
}

.mainSlider-slide-img:before {
    content: "";
    width: 100%;
    position: absolute;
    bottom: 0;
    pointer-events: none;
    left: 0;
    height: 100%;
    background: linear-gradient(180deg, rgba(4, 10, 20, 0.65) 0%, rgba(4, 10, 20, 0) 50%, rgba(4, 10, 20, 0.65) 100%);
}

.mainSlider-slide-img:after {
    content: "";
    width: 100%;
    position: absolute;
    bottom: 0;
    pointer-events: none;
    left: 0;
    height: 100%;
    background: url("../images/slider-mask.webp");
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: bottom left;
}

.mainSlider-section {
    margin-top: -139px;
}

.mainSlider-slide-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    z-index: 2;
    bottom: 0;
    width: 100%;
    height: 100%;
    padding-top: 139px;

    align-items: center;
}

.mainSlider-slide-inner {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}


.mainSlide-title {
    line-height: 1.214;
    font-size: 70px;
    max-width: 750px;
}

.mainSlide-text {
    max-width: 600px;

    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mainSlide-title + .mainSlide-text {
    margin-top: var(--space-40);
}

.mainSlider-slide .btn {
    margin-top: var(--space-40);
}

.slick-next {
    margin-left: calc(var(--space-25) - 5px);
}

.mainSlider-nav .btn svg * {
    fill: currentColor;
}

.mainSlider-nav .btn {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.mainSlider-nav {
    position: absolute;
    left: 0;
    width: 100%;
    pointer-events: none;
    bottom: calc(var(--space-50) + var(--space-60));
}

.mainSlider-nav-inner {
    display: flex;
    align-items: center;
}

.slick-arrow {
    background: transparent;
    height: 72px;
    pointer-events: initial;
    width: 72px;
}

.mainSlider:not(.slick-initialized) .mainSlider-slide + .mainSlider-slide {
    display: none;
}

.mainSlider-section {
    position: relative;
    margin-bottom: calc(var(--space-60) + 10px);
}

.section-header-right {
    display: flex;
    align-items: center;
}

.news-main .section-header {
    margin-bottom: var(--space-40);
}

.section-header {
    row-gap: 10px;
    display: flex;
    width: 100%;
    margin-bottom: calc(var(--space-60) + 20px);
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}

.big-text-wrapper {
    position: relative;
}

.news-box-thumb img {
    max-width: 100%;
    display: block;
}

.news-main .section-header {
    padding-top: 35px;
}

.aboutCastle .section-header .big-text {
    z-index: initial;
}

.section-header .big-text {
    margin-top: -35px;
    margin-bottom: 35px;
    z-index: -1;
}

.big-text {

    color: #efefef;
    font-style: italic;
    line-height: 0.8;
    font-size: min(191px, 11vw);
}

.section-title {
    margin-right: 15px;
    font-size: 60px;
    font-weight: 700;
}

.news-page .news-list {
    margin-top: 0;
}

.news-list {
    display: flex;
    flex-wrap: wrap;
    margin: calc((var(--space-50) - 5px) * -1) calc((var(--space-50) - 5px) * -1) 0 calc((var(--space-50) - 5px) * -1);
}

.news-box {
    display: inline-block;
    width: 33.3333%;
    padding: calc(var(--space-50) - 5px);
}

.news-box-inner:hover, .news-box-inner:focus {
    color: var(--color-primary);
}

.news-box-inner {
    cursor: pointer;
    display: flex;
    color: var(--color-primary);
    flex-direction: column;
}


.news-box-inner:hover .btn {
    background-color: var(--color-primary);
    color: #fff;
}

.news-box:nth-child(even) .news-box-inner {
    flex-direction: column-reverse;
}


.news-title + .news-box-text {
    margin-top: calc(var(--space-40) - 5px);
}

.news-title {
    font-weight: 700;
    font-size: calc(var(--font-24) + 2px);
}

.news-box:nth-child(even) .news-box-bottom {
    margin-bottom: var(--space-60);
}

.news-box:nth-child(odd) .news-box-bottom {
    margin-top: var(--space-60);
}

.news-box .btn {
    margin-top: var(--space-25);
}

.news-box-thumb {
    position: relative;
}

.news-date {
    position: absolute;
    left: -3px;
    top: 20px;
    padding-right: 5px;
    display: flex;
    align-items: center;
    z-index: 11;
    font-family: "lato", sans-serif;
    font-size: 14px;
    font-weight: 700;
    justify-content: center;
    background: url("../images/date-bg.webp") center center  /contain no-repeat;
    color: #fff;
    height: 56px;
    width: 110px;
}

.news-image-wrapper {
    display: block;
    position: relative;
}

.news-main {
    margin-bottom: calc(var(--space-60) + var(--space-50));
}

.mainGallery-section {
    background: center center /cover;
    margin-bottom: calc(var(--space-50) + var(--space-40));
    background-size: 100% 100%;
}


.mainGallery-list {
    display: flex;
    margin: -15px;
    flex-wrap: wrap;
}

.mainGallery-box {
    padding: 15px;

    width: 33.333%;
}

.mainGallery-list-wrapper {
    width: 74%;
}

.mainGallery-box-inner img {
    width: 100%;
    max-height: 100%;
    margin: 0 auto;
    display: block;
}

.mainGallery-box-inner {
    position: relative;
    display: block;
    aspect-ratio: 1;
}

.mainGallery-overlay {
    position: absolute;
    padding: 30px;
    color: #fff;
    display: flex;
    align-items: flex-end;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    z-index: 2;
    height: 100%;
    background-image: linear-gradient(0deg, rgba(0, 17, 48, 0.97) 0%, rgba(84, 84, 84, 0) 100%);
}

.mainGallery-caption {
    font-size: 20px;
    min-height: 54px;
}

.mainGallery-right .text-rotated {
    padding-top: calc(var(--space-60) + var(--space-25) + 10px);
}

.text-rotated {
    writing-mode: tb;
    font-size: 191px;
    color: #1c2433;
    margin-right: -50px;
    line-height: 0.9;
    font-style: italic;
}

.text-rotated .line2 {
    padding-top: calc(var(--space-60) * 3 - 20px);
}

.mainGallery-section-inner {
    display: flex;
}

.mainGallery-right {
    margin-right: calc((1670px - 100vw) / 2);
    padding-left: 30px;
    display: flex;
    margin-top: calc((var(--space-60) * 3 + var(--space-50)) * -1 + 10px);
    flex-direction: column;
    align-items: center;
}

@media screen and (min-width: 1921px) {
    .mainGallery-right {
        margin-right: calc((1670px - 1920px) / 2);

    }
}

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

.mainGallery-section .btn-row {
    margin-top: var(--space-50);
}

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

.aboutCastle {
    margin-bottom: var(--space-25);
    position: relative;
    overflow: hidden;
}


.aboutCastle-wrapper {
    display: flex;
    align-items: stretch;
    width: 100%;
    flex-direction: column;
    left: 0;
    padding-top: var(--space-50);
}

.section-divider {
    margin-bottom: var(--space-60);
}

.section-divider img {
    width: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.aboutCastle-img {
    width: 100%;
    position: absolute;
}

.aboutCastle-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.aboutCastle .title-basic {
    font-size: calc(var(--font-36) - 4px);
    font-weight: 700;
    color: var(--color-primary);
}

.aboutCastle-content {
    padding: 0 15vw;
    position: relative;
    z-index: 3;
    text-align: center;
}

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

.aboutCastle-content .title-basic + .aboutCastle-text {
    margin-top: var(--space-40);
}

.aboutCastle-content .btn {
    margin-top: var(--space-50);
}


.aboutCastle-img + .aboutCastle-wrapper .section-header {
    padding-bottom: 39%;
}

.aboutCastle .section-header {
    position: relative;
    justify-content: flex-start;
    padding-bottom: calc(var(--space-60) * 2);
}

.big-text-absolute {
    top: -70px;
    line-height: 0.85;
    left: 0;
    margin-left: calc(var(--space-50) * -8);
    position: absolute;
}

.big-text-absolute .second-line {
    position: relative;
    z-index: -1;
}

.big-text-wrapper {
    position: relative;
    margin-left: calc(var(--space-25) + 3px);
}

.big-text-absolute .first-line {
    padding-left: calc(var(--space-50) * 8);
}

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

.floating-img {
    width: 30vw;
    bottom: 0;
    left: -9vw;
    position: absolute;
}

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

.news-page .news-box-inner {
    flex-direction: column !important;
}

.news-page .news-box .news-box-bottom {
    margin-bottom: 0;
    margin-top: var(--space-60);
}

.news-page .news-list {
    padding-bottom: 13px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pagination-wrapper ul {
    display: flex;
    align-items: center;
    justify-content: center;
}


.pagination-wrapper li a {
    transition: 500ms color, text-shadow;
    color: var(--color-primary);
}

.pagination-wrapper li.active a, .pagination-wrapper li a:hover, .pagination-wrapper li a:focus {
    color: var(--color-secondary);
    text-shadow: 0 0 1px;
}

.pagination-wrapper li {
    font-family: "lato", sans-serif;
}

.pagination-wrapper ul li.next .btn-square {
    margin-left: 10px;
}

.pagination-wrapper ul li.prev .btn-square {
    margin-right: 10px;
}

.pagination-wrapper ul li.next .btn-square, .pagination-wrapper ul li.prev .btn-square {
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-wrapper .btn-square .icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-wrapper .btn-square .icon svg * {
    fill: var(--color-primary);
}

#content {
    padding-top: 137px;
}

.page-header {
    margin-bottom: 0;
    margin-top: calc(var(--space-50) + var(--space-40));
    border: none;
}


.contact-text {
    font-size: 18px;
}

.contact-text h2 {
    font-size: 22px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-page .text a {
    font-weight: normal;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 650px;
}

.contact-content {
    display: flex;
}

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

.contact-left {
    width: 30%;
    flex-shrink: 0;
    padding-bottom: var(--space-25);
}

.contact-img {
    display: flex;
    align-items: flex-end;
    margin-right: calc((1670px - 100vw) / 2);
}

@media screen and (min-width: 1921px) {
    .contact-img {
        margin-right: calc((1670px - 1920px) / 2);
    }
}


.downloads-list {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    margin: -8px;
}

.download-right {
    flex-shrink: 0;
}

.downloads-list .download-item {
    padding: 8px;
}

.download-item {
    width: 50%;
}

.download-item-inner {
    height: 100%;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 15px;
    font-family: "lato", sans-serif;
    padding: calc(var(--space-25) - 5px) calc(var(--space-25) + 5px);
    color: var(--color-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.download-left .download-type {
    flex-shrink: 0;
    margin-right: calc(var(--space-25) + 5px);
}

.download-left {
    display: flex;
    padding-right: var(--space-25);
    align-items: center;
}

.page-teaser {
    text-align: center;
}

/*.downloads-section .page-teaser{*/
/*    margin-bottom: calc(var(--space-60) + var(--space-25));*/
/*}*/
.downloads-section {
    margin-bottom: var(--space-60);
}

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

.title-basic {
    text-align: center;
    font-size: calc(var(--font-36) - 4px);
    font-weight: 700;
}



.basicSection-text:after {
    clear: both;
    content: "";
    display: table;
}

.basicSection > .container {
    margin: 30px auto;
}

.downloads-section .downloads-list {
    margin-top: calc(var(--space-60) + var(--space-25));
}

.paper-background:before {
    display: block;
    content: "";
    width: 100%;
    height: 86px;
    z-index: -1;
    position: absolute;
    top: -86px;
    left: 0;
    background: url("../images/paper-top.webp") center center /cover;
}

.paper-background:after {
    display: block;
    content: "";
    width: 100%;
    height: 99px;
    position: absolute;
    z-index: -1;
    bottom: -99px;
    left: 0;
    background: url("../images/paper-bottom.webp") center center /cover;
    background-color: #fff;

}

.paper-background {
    margin: calc(var(--space-60) + 86px) 0 calc(var(--space-60) + 99px);
    position: relative;
    background: url("../images/paper-main.webp") top center;

}

.aboutCastle-rows .aboutCastle-text-wrapper + .aboutCastle-text-wrapper {
    padding-top: calc(var(--space-40) + var(--space-50) + 20px);
    position: relative;
    margin-top: calc(var(--space-40) + var(--space-50) + 5px);
}

.aboutCastle-rows .aboutCastle-text-wrapper .text {
    text-align: center;
}

.aboutCastle-rows .aboutCastle-text-wrapper + .aboutCastle-text-wrapper:before {
    -webkit-mask-size: cover;
    -mask-size: cover;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-image: url('../images/icons/arrow_right.svg');
    mask-image: url('../images/icons/arrow_right.svg');
    width: 46px;
    height: 12px;
    background-color: #000;
    transform: translateX(-50%) rotate(90deg);
    display: block;
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
}

.aboutCastle-page .aboutCastle-wrapper {
    position: relative;
}

.aboutCastle-page .aboutCastle-img + .aboutCastle-wrapper .section-header {
    padding-bottom: 50%;
}

.aboutCastle-page {
    margin-top: var(--space-50);
}

.aboutCastle-page .section-header {
    margin-top: 0;
}

.aboutCastle-page .floating-top {
    top: -11vw;
    left: unset;
    bottom: unset;
    right: -11.5vw;
}

.aboutCastle-page .floating-mid {
    top: 50%;
    width: 19.5vw;
    bottom: unset;
    left: 0;
    transform: translateY(-50%);
}

.aboutCastle-page .floating-bottom {
    top: unset;
    bottom: 0;
    left: unset;
    width: 38vw;
    right: -6vw;
}

.aboutCastle-page .aboutCastle-content {
    max-width: unset;
    width: 100%;
    position: relative;
}

.recommendedSlider .slick-track, .recommendedSlider .slick-list {
    display: flex;
    width: 100%;
    align-items: stretch;
}

.recommendedSlider-item-inner .recommended-overlay {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    padding: calc(var(--space-25) + 5px);
    display: flex;
    background-image: linear-gradient(0deg, rgba(0, 17, 48, 0.75) 0%, rgba(84, 84, 84, 0) 100%);
    align-items: flex-end;
    left: 0;
    right: 0;
    bottom: 0;
}

.recommended-title {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recommendedSlider:not(.slick-initialized) .recommendedSlider-item:nth-child(n + 5) {
    display: none;
}

.recommendedSlider-wrapper {
    margin: 30px 0;
}

.recommendedSlider {
    margin: -14px;
    display: flex;
}

.recommendedSlider-item {
    padding: 14px;
    width: 25%;
}

.recommendedSlider-item-inner {
    color: #fff;
    font-size: 20px;
    font-weight: 400;
}

.recommended-thumbnail {
    overflow: hidden;

}

.recommendedSlider-wrapper .section-header {
    position: relative;
    display: block;
}

.slick-arrow svg * {
    fill: currentColor;
}

.recommendedSlider-nav .btn-square {
    color: var(--color-primary);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.recommendedSlider-nav {
    right: 0;
    top: 50%;
    display: flex;
    align-items: center;
    transform: translateY(-50%);
    position: absolute;
}

.recommended-thumbnail img {
    transition: transform, 500ms;
}

.recommendedSlider-item-inner[href]:hover,
.recommendedSlider-item-inner[href]:focus {
    color: #fff;
}

.recommendedSlider-item-inner[href]:hover img,
.recommendedSlider-item-inner[href]:focus img {
    transform: scale(1.05);
}

.recommendedSlider-item-inner {
    height: 100%;
    display: block;
    position: relative;
}

.recommended-thumbnail {
    height: 100%;
}

.recommended-thumbnail img {
    width: 100%;
    max-height: 100%;
    display: block;
}

.btn svg * {
    fill: currentColor;
}

.mainGallery-box-inner .mainGallery-img img {
    transition: transform, 500ms;
}

.mainGallery-box-inner .mainGallery-img {
    overflow: hidden;
}

.download-item-inner {
    transition: 500ms;
    transition-property: background-color, color;
}

.download-item-inner svg * {
    transition: 500ms fill;
}

.pagination-wrapper .icon svg * {
    fill: currentColor;
}

@media screen and (min-width: 1140px) {
    .pagination-wrapper .btn:hover {
        background-color: var(--color-primary);
        color: #fff;
    }

    .pagination-wrapper .btn-square:hover .icon svg * {
        fill: #fff;
    }

    .download-item-inner:hover, .download-item-inner:focus {
        background-color: var(--color-primary);
        color: #fff;
    }
    .download-item-inner:hover svg *[fill="#fff"]{
        fill: var(--color-primary);
    }
    .download-item-inner:hover svg *, .download-item-inner:focus svg * {
        fill: #fff;
    }

    .mainGallery-box-inner[href]:hover img {
        transform: scale(1.05);
    }

    .logotypesSlider-nav .slick-arrow:hover {
        background-color: var(--color-primary);
        color: #fff;
    }
}

.basicSection-columns .column {
    width: 50%;
    padding: var(--space-60);
}

.basicSection-columns {
    display: flex;
    margin: calc(var(--space-60) * -1);
    flex-wrap: wrap;
}

.column {
    font-size: 16px;
    text-align: center;
}

.column-title {
    font-size: 16px;
    font-weight: 700;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.tile-item-inner{
    overflow: hidden;
}
.tile-item-inner img{
    transition: scale, 500ms;
}
.tile-item-inner[href]:hover img, .tile-item-inner[href]:focus img {
  transform: scale(1.05);
}

.tile-item-inner {
    transition: opacity 500ms;
    position: relative;
    display: block;
}

.tile-text {
    font-size: 15px;
    margin-top: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tile-title {
    font-size: 20px;
    font-weight: 700;
}

.tile-content {
    position: absolute;
    left: 0;
    color: #fff;
    padding: calc(var(--space-25) + 10px);
    background-image: linear-gradient(0deg, rgba(0, 17, 48, 0.75) 0%, rgba(84, 84, 84, 0) 100%);
    height: 100%;
    top: 0;
    right: 0;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    width: 100%;
    bottom: 0;
}
.tiles-list{
    margin: -10px;
}

.tile-item {
    padding: 10px;
    display: block;
} 

.tile-img {

    display: block;
}

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

.jumbotron-wrapper {
    background: #f0ede5;
    padding: calc(var(--space-25) - 5px) calc(var(--space-25) + 5px);
    color: var(--color-primary);
    font-family: "lato", sans-serif;
    align-items: center;
    display: flex;
}

.jumbotron-text {
    font-size: 16px;
    font-weight: 400;
}

.jumbotron-left {
    padding-right: 15px;
    width: 80%;
}

.jumbotron-right {
    font-size: 30px;
    font-weight: 900;
    width: 20%;
    text-align: right;
}

.basicSection .footer-phones .icon {
    width: 17px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    height: 17px;
    color: inherit;
}

.basicSection .footer-phones .icon svg {
    color: inherit;
    margin-bottom: -5px;
}

.basicSection .footer-phones .icon svg * {
    fill: currentColor;
}

.basicSection .footer-phones > a:hover {
    color: var(--color-secondary);
}

.basicSection .footer-phones > a {
    display: flex;
    align-items: center;
    color: var(--color-primary);
}

.title-small {
    font-size: calc(var(--font-24) + 2px);
}

.section-header.page-header {
    margin-bottom: var(--space-50);
}

.article-subtitle {
    font-size: 32px;
    font-weight: 700;
}

.view-columns-row {
    padding-bottom: var(--space-50);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    margin: -20px;
}

.view-columns-row + .view-columns-row {
    margin-top: var(--space-50);
}

.view-column {
    width: 33.333%;
    padding: 20px;
}

/*todo: dorobic to*/
.view-column-title-wrapper {
    font-size: calc(var(--font-36) - 4px);
    font-weight: 700;
    min-height: 43px;
}


.view-column-text {
    margin-top: var(--space-40);
}

.basicSection .title-basic {
    margin-bottom: 20px;
}

.text-image {
    float: left;
    margin: 0 50px 50px 0;
}

.sectionText-img img {
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

.gallery-header {
    margin-bottom: 20px;
}
.banner-section + .container .section-header.page-header{
    margin-top: var(--space-50);
}
.gallery-header .title-basic {
    text-align: center;
    margin: 0 auto;
}
.basicSection:after, .basicSection:before{
    display: table;
    content: "";
    clear: both;
}
.basicSection {
    position: relative;
    margin-top: 0;
}

.banner-section > *{
    max-width: 100%;
    display: block;
}
.basicSection > .container:first-child{
    margin-top: 0;
}
.contact-text  h2{
    margin-top: var(--space-40);
}
.contact-text  > h2:first-child{
    margin-top: 0;
}

.flag-icon-en {
    background-image: url(../lib/flag-icon/flags/4x3/en.svg);
}
.section-header-wrapper + .basicSection > .text-center > .sectionText-img{
    /*margin-top: -10vw;*/
    /*margin-bottom: -3vw;*/
    z-index: -1;
    position: relative;
}
.section-header-wrapper + .basicSection {
    margin-bottom: 0;
}
.section-header-wrapper + .basicSection  .text{
    margin-bottom: 30px;
}
.mainpage #content .paper-background:last-child{
    margin-bottom: -50px;
}
.subpage #content .paper-background:last-child{
    margin-bottom: -21px;
}

footer .section-divider{
    position: relative;
    z-index: -2;
}

#container iframe{
    min-height: 100vh;
    display: block;
    background-color: var(--color-primary);
}