﻿/* multiselect */

.multiselect {
    grid-template-columns: auto minmax(1px, 1fr) auto;
    position: relative;
}

.multiselect__wrapper {
    grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
    grid-gap: 1rem;
}

.multiselect__option {
    --spacing: 1.2rem;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.multiselect__option [type="checkbox"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.multiselect__option .option__thumbnail img {
    transition: transform .3s ease;
}

.multiselect__option:hover .option__thumbnail img {
    transform: scale(1.1);
}

.multiselect__option .option__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: right;
    font-size: var(--font_size_content_heading);
    padding: 1.2rem;
    transition: opacity .3s ease;
    background-color: rgba(255, 255, 255, 0.8);
    font-family: 'Baron Neue Black';
    text-transform: lowercase !important;
    pointer-events: none;
}

.multiselect__option:not(:hover) .option__content {
    opacity: 0;
}
.multiselect__option .option__content:not(.option__selected) .option__selected-marker {
    display: none !important;
    visibility: hidden;
}
.multiselect__option .option__content.option__selected {
    opacity: 1;
}

.multiselect__option .option__content::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color_white);
    opacity: 0.8;
}

.multiselect__option .option__selected-marker {
    position: absolute;
    z-index: 1;
    bottom: calc(100% + var(--spacing));
    right: var(--spacing);
}

.multiselect__option .option__selected-marker::before {
    content: "";
    background-image: url('../../../../Themes/Santa/img/check.svg');
    background-size: contain;
    width: 40px;
    height: 40px;
    position: absolute;
    right: 0px;
    left: auto;
    top: -40px;
    bottom: auto;
}

.multiselect__option .option__title {
    z-index: 1;
    margin: 0;
    text-transform: lowercase !important;
    grid-template-columns: 100%;
}

.multiselect__option .option__title > * {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.multiselect__page {
    border: none;
    background: none;
    padding: 0;
    position: relative;
    width: 1.6rem;
    height: 3.2rem;
    background-image: url("../../../../Themes/Santa/img/arrow_left.svg");
    background-size: cover;
    align-self: center;
    overflow: hidden;
    cursor: pointer
}

.multiselect__prev {
    margin-right: 4rem;
}

.multiselect__next {
    transform: scaleX(-1);
    margin-left: 4rem;
}


.form__multiselect .multiselect__prev {
    margin-left: -6rem;
}
.form__multiselect .multiselect__next {
    margin-right: -6rem;
    z-index: 5;
}
.gallery-page .form__multiselect .multiselect__next,
.gallery-page .form__multiselect .multiselect__prev {
    background-image: url("../../../../Themes/Santa/img/arrow_left.svg");
}
@media (min-width: 1300px) {
    .multiselect__prev {
        margin-left: -5.6rem;
        margin-right: 4rem;
    }
    .multiselect__next {
        margin-right: -5.6rem;
        margin-left: 4rem;
    }
}

@media (max-width: 991px) {
}

@media (max-width: 479px) {

    .gallery-page .form__multiselect .multiselect__next,
    .gallery-page .form__multiselect .multiselect__prev {
        background-image: url("../../../../Themes/Santa/img/gallery_prev_button.svg");
    }
    .form__multiselect .multiselect__prev {
        margin-left: 0.5rem;
        position: absolute;
        left: -2rem;
        background-image: url("../../../../Themes/Santa/img/arrow_left_mobile.svg");
        background-size: contain;
        background-repeat: no-repeat;
        width: 24px;
        height: 24px;
        z-index: 10;

        display: none;
    }
    .form__multiselect .multiselect__prev:hover {
        opacity: 0.8;
    }
    .form__multiselect .multiselect__next {
        margin-right: 0.5rem;
        position: absolute;
        right: -1.7rem;
        background-image: url("../../../../Themes/Santa/img/arrow_left_mobile.svg");
        background-size: contain;
        background-repeat: no-repeat;
        transform:translateX(180deg);
        width: 24px;
        height: 24px;
        z-index: 10;

        display: none;
    }
    .form__multiselect .multiselect__next:hover {
        opacity: 0.8;
    }
    .multiselect {
        grid-template-columns: unset;
    }
}


/* agreements */

.agreements {
    grid-gap: 1.6rem;
    --checkbox-size: 3rem;
    padding-top: calc(var(--checkbox-size) * 0.6);
}

.agreements__single {
    min-height: var(--checkbox-size);
    display: flex;
}

.agreements__single,
.agreements__legend {
    position: relative;
    padding-left: calc(var(--checkbox-size) + 1rem);
}
.agreements__single > span {
    margin: auto 0;
}
.agreements__single > span::before,
.agreements__single > span::after {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    transition: opacity .3s ease;
}

.agreements__single>span::before {
    content: "";
    width: var(--checkbox-size);
    height: var(--checkbox-size);
    background: var(--color_bright);
}

.agreements__single>span::after {
    pointer-events: none;
    content: '';
    background-image: url('../../../../Themes/Santa/img/check.svg');
    background-size: contain;
    width: 30px;
    height: 30px;
    position: absolute;
    right: -50px;
    left: 5px;
    top: -5px;
    background-repeat: no-repeat;
}

.agreements__single>[type="checkbox"]:not(:checked)+span::after {
    opacity: 0;
}


/* form block */

.form {}

.form__fields {
    width: 100%;
    max-width: 100%;
}

.form input:not([type="checkbox"]),
.form textarea,
.form select {
    border: none;
    background: var(--color_bright);
    padding: .8rem .8rem .8rem 1.2rem;
}


/* .form .fieldset {
    grid-gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(36.5rem, 1fr));
} */

.big_graphical_button {
    background-image: url("../../../../Themes/Santa/img/button_graphics_left.svg"), url("../../../../Themes/Santa/img/button_graphics_right.svg");
    background-position: left bottom, right bottom;
    background-repeat: no-repeat;
    justify-content: center;
    align-items: center;
    max-height: 28.5rem;
    height: 24vw;
    background-size: contain;
    margin-top: 5rem;
    margin-bottom: 5rem;
    font-size: var(--font_size_section_heading);
    font-weight: 900;
    position: relative;
}

.big_graphical_button input {
    font: inherit;
    color: inherit;
    font-family: 'Baron Neue Black';
    text-transform: unset !important;
    background-color: transparent !important;
    color: var(--color_red);
    cursor: pointer;
    top: -1rem;
    left: 4rem;
    position: relative;
    transition: color 0.2s ease-in;
}
.big_graphical_button input:focus-visible,
.big_graphical_button input:focus {
    box-shadow: none;
    color: var(--color_black);
}

.big_graphical_button svg {
    position: absolute;
    margin: auto;
    z-index: -1;
    left: 0;
    right: -3%;
    top: 0;
    bottom: 0;
    width: 60%;
}
/* .big_graphical_button #morph_wsparcie_Path_1,
.big_graphical_button #morph_wsparcie_Path_2 {
    transition: all 0.3s ease-in-out;
}
.big_graphical_button input:hover + svg #morph_wsparcie_Path_1 {
    fill: rgba(117,201,239,0.4);
}
.big_graphical_button input:hover + svg #morph_wsparcie_Path_2 {
    fill: rgba(117,201,239,0.4);
} */

@media (max-width: 991px) {
    .big_graphical_button {
        min-height: 20vw;
        font-size: calc(var(--font_size_section_heading) * 0.7);
    }
    .big_graphical_button svg {
        left: 0;
        right: -7%;
        top: 0;
        bottom: 0;
        width: 43%;
    }
    .big_graphical_button input {
        left: 3rem;
    }
}
@media (max-width: 768px) {
    .big_graphical_button {
        background-image: url("../../../../Themes/Santa/img/button_graphics_left_mobile.svg"), url("../../../../Themes/Santa/img/button_graphics_right_mobile.svg");
        min-height: 26vw;
        font-size: calc(var(--font_size_section_heading) * 0.7);
    }
    .big_graphical_button svg {
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        width: 55%;
    }
    .big_graphical_button input {
        left: 1rem;
    }
}
    
@media (max-width: 479px) {
    
    .big_graphical_button {
        background-image: url("../../../../Themes/Santa/img/button_graphics_left_mobile.svg"), url("../../../../Themes/Santa/img/button_graphics_right_mobile.svg");
        min-height: 13rem;
        font-size: calc(var(--font_size_section_heading) * 0.7);
    }
    .big_graphical_button svg {
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        width: 58%;
    }
}

.small_anim_button {
    position: relative;
    top:0;
    right: 4rem;
    height: auto;
}
.confirm-letter .small_anim_button {
    top: 0;
    right: 0;
}
.small_anim_button_wrapper {
    position: relative;
    margin: auto;
}
.small_anim_button input {
    background: none !important;
    position: absolute;
    top: -2rem;
    right: 4.5rem;
    left: 0;
    margin: auto;
    font-size: var(--font_size_content_heading);
    color: var(--color_white) !important;
    z-index: 3;
    font-family: "Baron Neue Black";
    text-transform: unset !important;
    cursor: pointer;
    box-shadow: none;
    text-align: right;
    max-width: 140px;
    white-space: unset;
    padding: 5px !important;
    height: 70px;
    width: 140px;
    transition: color 0.2s ease-in;
}

.small_anim_button input:focus {
    color: var(--color_black) !important;
}
.small_anim_button svg {
    position: absolute;
    top: 1rem;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
}
