/*multi select*/

.gform_wrapper.gravity-theme .gfield--type-multiselect.gfield--input-type-multiselect {
    margin-top: 16px;
}

.gform_wrapper.gravity-theme .ginput_container_multiselect .chosen-container.chosen-container-multi {
    display: none !important;
}

.gform_multi_select2 ~ .select2-container--default .select2-selection--multiple {
    border-radius: 4px !important;
    border: 1px solid var(--Dark-Grey, #D9D9D9);
    background: var(--Grey-Background, #F3F3F3);
    cursor: pointer ;
    max-height: 49px;
    min-height: 49px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
}

.gform_multi_select2 ~ .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.gform_multi_select2 ~ .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.gform_multi_select2 ~ .select2-container--default .select2-selection__rendered {
    color: var(--Blue-Grey, #849AA6);
    /* 18 Regular */
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px; /* 144.444% */
    margin: 0;
    width: 100%;
    text-align: left;
}

@media (max-width: 768px) {
    .gform_multi_select2 ~ .select2-container--default .select2-selection__rendered {
        font-size: 16px;
    }
}

.gform_multi_select2 ~ .select2-container--default .select2-selection--multiple:before {
    content: "";
    display: block;
    position: absolute;
    width: 12px;
    height: 7px;
    background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='5' viewBox='0 0 10 5'%3E%3Cpath data-name='Path 588' d='m7 10 5 5 5-5z' transform='translate(-7 -10)' style='fill:%2300b5d3'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center;
    right: 14px;
}

.gform_multi_select2 ~ .select2-container--default .select2-selection__rendered:after {
    display: none;
}

.gform_multi_select2 ~ .select2-container--default .select2-selection__choice {
    display: none !important;
}

.gform-multiselect-open {
    z-index: 9999999;

    .select2-dropdown.select2-dropdown--below {
        position: unset;
        border: 1px solid var(--Dark-Grey, #D9D9D9);
        background: #FFF;
        border-top: none;
    }

    .select2-dropdown.select2-dropdown--above {
        position: unset;
    }

    .select2-selection__choice{
        display: none !important;
    }

    li.select2-results__option {
        padding: 7px 6px;
        -webkit-tap-highlight-color: transparent;
    }

    @media (min-width: 768px) {
        li.select2-results__option:hover {
            background-color: #eaeaeb !important;
        }
    }

    li.select2-results__option:before {
        display: none;
    }

    .select2-results__options {
        display: flex;
        width: 100%;
        flex-direction: column;
    }

    li.select2-results__option span {
        display: flex;
        align-items: center;
        column-gap: 6px;
        font-family: Inter;
        color: var(--Dark-Blue, #002b46);
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 20px;
        -webkit-tap-highlight-color: transparent;
    }

    .gf-select2-label.gf-select2-has-count {
        color: var(--Dark-Blue, #002846);
    }

    .select2-results__option--selected,
    .select2-results__option[aria-selected="true"],
    .select2-results__option--highlighted[aria-selected] {
        background-color: #fff !important;
        color: #002b46 !important;
    }

    input[type=checkbox] {
        margin: 0;
        appearance: none;
        height: 24px;
        min-width: 24px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cg clip-path='url(%23clip0_5312_6641)'%3E%3Cpath d='M19.5 3.75H4.5C4.08579 3.75 3.75 4.08579 3.75 4.5V19.5C3.75 19.9142 4.08579 20.25 4.5 20.25H19.5C19.9142 20.25 20.25 19.9142 20.25 19.5V4.5C20.25 4.08579 19.9142 3.75 19.5 3.75Z' stroke='%2300B5D3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_5312_6641'%3E%3Crect width='24' height='24' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
    }

    .select2-results__option--selected input[type=checkbox] {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cg clip-path='url(%23clip0_5312_6670)'%3E%3Cpath d='M8.25 12.75L10.5 15L15.75 9.75' stroke='%2300B5D3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M19.5 3.75H4.5C4.08579 3.75 3.75 4.08579 3.75 4.5V19.5C3.75 19.9142 4.08579 20.25 4.5 20.25H19.5C19.9142 20.25 20.25 19.9142 20.25 19.5V4.5C20.25 4.08579 19.9142 3.75 19.5 3.75Z' stroke='%2300B5D3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_5312_6670'%3E%3Crect width='24' height='24' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
    }

    .select2-results *::-webkit-scrollbar,
    .modal *::-webkit-scrollbar {
        all: initial !important;
        width: 8px !important;
        background: #ebebeb !important;
    }

    .select2-results *::-webkit-scrollbar-thumb,
    .modal *::-webkit-scrollbar-thumb {
        all: initial !important;
        background: #c9c9c9 !important;
    }
}