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

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

.select2-container--default .select2-selection--multiple,
.select2-container .select2-selection--single {
    height: 46px;
    border: 0;
    background: #F5F5F5;
    border-radius: 0;
    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: var(--color-default);
}

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


.form-control {
    border: 0;
    border-radius: 0 !important;
    background: #F5F5F5;
    color: var(--color-default);
    font-family: 'Poppins', sans-serif;
}

.form-control::placeholder {
    color: var(--color-default);
}

.datetime .input-group-addon {
    border: 0;
    border-radius: 0 !important;
    background: #F5F5F5;
}

.form .form-element-name {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.filters-form {
    display: flex;
    align-items: flex-end;
    margin-bottom: calc(var(--space-40) + 20px);
    gap: calc(var(--space-60) + var(--space-50));
}

.filters {
    display: flex;
    align-items: flex-end;
    flex-grow: 1;
    gap: var(--space-40);
}

.filters .form-group {
    flex: 1;
    margin-bottom: 0;
}

.filters-form .btn-wrapper {
    position: relative;
}

.filters-form .btn.btn-link {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 400;
    color: var(--color-default) !important;
}

.filters-form .btn.btn-xl {
    height: 70px;
    min-width: 260px;
    justify-content: center;
    gap: 13px;
}

.bootstrap-datetimepicker-widget table td.active, .bootstrap-datetimepicker-widget table td.active:hover {
    background-color: var(--color-secondary);
}

.bootstrap-datetimepicker-widget table td.today:before {
    border-bottom-color: var(--color-secondary);
}

.offer-list {
    display: flex;
    flex-wrap: wrap;
    margin: calc(-1 * (var(--space-25) + 7px));
    padding-bottom: var(--space-60);
}

.offer-list .alert {
    width: 100%;
    margin: calc(var(--space-25) + 7px);
}

.offer-item {
    width: 33.3333%;
    padding: calc(var(--space-25) + 7px);
    content-visibility: auto;
}

.offer-item-inner {
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    color: var(--color-default);
    background-color: #fff;
}

.offer-item-inner::before {
    content: '';
    inset: -3px;
    position: absolute;
    z-index: 9;
    pointer-events: none;
    background: url('../images/offer-border.webp') no-repeat center / 100% 100%;
    transition: opacity 0.3s;
}

.offer-item-link {
    position: absolute;
    inset: 0;
    z-index: 9;
}

.offer-item-image {
    position: relative;
    aspect-ratio: 502/313;
}

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

.offer-item-labels {
    position: absolute;
    bottom: calc(var(--space-25) - 2px);
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.offer-item-label {
    font-family: 'Amatic Sc';
    font-size: calc(var(--font-36) + 4px);
    font-weight: 700;
    padding-left: 14px;
    padding-right: var(--space-40);
    clip-path: polygon(100% 0, calc(100% - 20px) 50%, 100% 100%, 0 100%, 0 0);
    line-height: 1.1;
}

.offer-item-label + .offer-item-label {
    margin-top: 10px;
}

.offer-item-content {
    padding: calc(var(--space-25) + 5px);
    padding-top: var(--space-25);
}

.offer-item-title {
    font-size: 20px;
    color: var(--color-default);
    font-weight: 700;
    margin-bottom: calc(var(--space-25) + 5px);
}

.offer-item-info-row {
    display: flex;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 14px 0;
    gap: var(--space-25);
    position: relative;
}

.offer-item-info-row:first-of-type {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.offer-item-info-row:first-of-type::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    height: 1px;
    width: 70%;
    background-color: var(--color-primary);
}

.offer-item-info-item {
    min-width: 40%;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.offer-item-info-item .icon {
    color: var(--color-primary);
}

.offer-item-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-top: calc(var(--space-40) - 7px);
}

.price-old {
    display: block;
    text-decoration: line-through;
    line-height: 1.4;
    font-size: 14px;
}

.price {
    display: block;
    line-height: 1.4;
    font-size: 20px;
    font-weight: 700;
}

@media screen and (min-width: 1140px) {
    .offer-item-inner:hover::before {
        opacity: 0;
    }

    .offer-item-inner:hover .btn:before {
        opacity: 0;
    }

    .offer-item-inner:hover .btn:after {
        opacity: 1;
    }
}

.offer-extra-label {
    position: absolute;
    right: calc(var(--space-25) + 5px);
    bottom: 14px;
    font-size: calc(var(--font-36) + 4px);
    font-weight: 700;
    color: #fff;
}


.offer-date {
    font-family: 'Amatic SC';
    font-size: calc(var(--font-36) + 4px);
    color: #fff;
    background-image: url('../images/date-mask.webp');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 3px 8px;
}

.offer-page .page-header {
    gap: 15px;
    margin-bottom: calc(var(--space-60) / 2);
}

.offer-page .page-title {
    font-size: calc(var(--font-60) + 20px);

}

.offer-top {
    display: flex;
    margin-bottom: var(--space-50);
}

.offer-top-image {
    width: 63%;
    position: relative;
    padding-right: var(--space-40);
}

.offer-top-image img {
    display: block;
    max-width: 100%;
    -webkit-mask-image: url('../images/offer-mask.webp');
    mask-image: url('../images/offer-mask.webp');
    -webkit-mask-size: contain;
    -mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.offer-top-image .offer-item-labels {
    bottom: initial;
    top: 50%;
    transform: translateY(-50%);
}

.offer-top-right {
    width: 37%;
    padding-top: var(--space-40);
}

.offer-top-right .offer-item-info-item {
    width: 100% !important;
    padding: 14px 23px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.offer-top-right-items {
    position: relative;
}

.offer-top-right-items::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: url('../images/offer-border-top.webp') no-repeat center / cover;
}

.offer-top-right-items::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: url('../images/offer-border-top.webp') no-repeat center / cover;
}

.offer-right-price-wrapper {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding: var(--space-25) calc(var(--space-25) - 5px) calc(var(--space-25) - 5px) calc(var(--space-25) + 5px);
}

.offer-right-price-label {
    font-size: 14px;
    color: var(--color-default);
    text-transform: uppercase;
}

.offer-right-price{
    text-align: right;
}

.offer-right-price .price{
    color: var(--color-default);
    font-size: calc(var(--font-30) + 2px);
}

.offer-right-bottom {
    margin-top: var(--space-40);
    display: flex;
    justify-content: center;
}

.offer-page{
    background: url('../images/world.webp') no-repeat 45% 280px / 84%;
}

.tab-header{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: var(--space-40) var(--container-padding);
    background: url('../images/tabs-bg.webp') no-repeat center / 100% 100%;
    margin-bottom: calc(var(--space-60) + 5px);
}

.tab-header .btn {
    min-width: 200px;
    justify-content: center;
}

.btn-white.active {
    color: #fff !important;
}

.tab-content{
    margin-bottom: calc(var(--space-60) + 10px);
}

.program-list-item{
    margin-bottom: var(--space-40);
    padding-bottom: var(--space-40);
    position: relative;
}

.program-list-item-title{
    font-size: 20px;
    font-weight: 700;
    color: var(--color-default);
    margin-bottom: 4px;
}

.program-list-item::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: url('../images/program-border.webp') no-repeat center / cover;
}

.tab-pane .files-list{
    justify-content: center;
    padding-top: calc(var(--space-40) - 5px);
}

.tab-pane .file-box{
    width: 30%;
}

.tab-pane .files-list-wrapper{
    margin-bottom: 0;
    background: url('../images/world.webp') no-repeat center / 50%;
}

.program-list-item-benefit .program-list-item-title {
    margin-bottom: calc(var(--space-25) - 2px);
}

.tab-pane-title{
    font-size: 20px;
    margin-bottom: var(--space-50);
}

.flyInfo-wrapper{
    display: flex;
    flex-wrap: wrap;
    margin: -18px;
    padding-bottom: calc(var(--space-40) - 5px);
}

.flyInfo-item{
    width: 29%;
    padding: 18px;
}

.flyInfo-item-inner{
    background: url('../images/fly-border.webp') no-repeat center / 100% 100%;
    height: 100%;
    padding: calc(var(--space-25) + 5px);
    font-size: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.flyInfo-item-departure .flyInfo-item-inner{
    background: url('../images/fly-border-orange.webp') no-repeat center / 100% 100%;
}

.flyInfo-big{
    width: 42%;
}

.flyInfo-big .flyInfo-item-inner {
    padding-left: var(--space-50);
    padding-right: var(--space-50);
}

.flyInfo-item-inner .icon{
    justify-content: flex-start;
    margin-bottom: 16px;
    color: var(--color-primary);
}


.input-group-addon .fa-calendar{
    font-size: 0;
    width: 22px;
    height: 22px;
    position: relative;
    bottom: 5px;
    -webkit-mask-size: contain;
    -mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-color: currentColor;
    -webkit-mask-image: url('../images/icons/calendar.svg');
    mask-image: url('../images/icons/calendar.svg');
}

.text h3 {
    font-size: 20px;
}

.offer-page .page-title {
    -webkit-mask-image: url('../images/title-mask-left2.webp'), url('../images/title-mask-center2.webp'), url('../images/title-mask-right2.webp');
    -webkit-mask-size: 40px calc(1.25em + 12px), calc(100% - 60px) calc(1.25em + 12px), 40px calc(1.25em + 12px);
    -webkit-mask-position: 0 top, 28px 0, right top;
    padding: 0 23px;
}

.offer-index-page {
    background: url('../images/world.webp') no-repeat 45% 330px / 84%;
}

.main-icons-section .icon-wrapper{
    opacity: 1 !important;
}

.main-icons-section .icon-wrapper svg,
.contact-list-column .icon-wrapper svg {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 1.3s ease-in-out;
}

.main-icons-section .icon-wrapper.drawSvg svg,
.contact-list-column .icon-wrapper.drawSvg svg{
    stroke-dashoffset: 500;
}

.modal-header{
    background: var(--color-secondary);
    color: #fff;
    display: flex;
    justify-content: center;
    padding-top: 12px;
    padding-bottom: 12px;
}

.modal-title{
    background: var(--color-default);
    -webkit-mask-image: url(../images/hitw-title-mask-left.webp), url(../images/hitw-title-mask-center.webp), url(../images/hitw-title-mask-right.webp);
    -webkit-mask-size: 22px calc(1.25em + 12px), calc(100% - 40px) calc(1.25em + 12px), 22px calc(1.25em + 12px);
    -webkit-mask-repeat: repeat-y, repeat-y;
    -webkit-mask-position: 0 top, 20px 0, right top;
    font-family: "Amatic SC", sans-serif;
    font-weight: 700;
    padding: 0 var(--space-25);
    font-size: 40px;
}

.modal-header button.close {
    border: 1px solid transparent;
    background: transparent;
    text-shadow: none;
    color: #fff;
    transition: 300ms;
    opacity: 1;
    right: 20px;
    margin-top: -20px;
    width: 40px;
    border-radius: 50%;
    height: 40px;
    font-size: 40px;
    font-weight: 400;
}

.modal-header button.close:hover {
    color: #fff;
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.news-list-page .section-teaser p,
.offer-index-page .section-teaser p {
    display: inline;
}

.section-teaser-more{
    display: none;
    width: 100%;
}

.teaser-toggle span{
    text-transform: lowercase;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.3s;
}

@media screen and (min-width: 1140px){
    .teaser-toggle span:hover {
        color: var(--color-primary);
    }
}