.form .invalid-msg:empty {
    display: none;
}
.form .invalid-msg {
    font-size: 14px;
    color: red;
    margin-top: 3px;

    display: none;
}

form.form .form-group .is-invalid {
    border-color: red!important;
}
form.form .form-group.is-invalid-group .selectize-input {
    border: 1px solid red;
}

.form .form-rating .rating__star {
    background-image: url('/img/star_empty.svg');
    background-size: cover;
    background-position: center;
    height: 25px;
    width: 25px;
    display: inline-block;
    vertical-align: middle;
    transition: background .4s;
}

.form .form-rating .rating__star.is-rated {
    background-image: url('/img/star.svg');
}

/* form rating alt for diskret */

.form .form-rating--alt .rating__star {
    height: 20px;
    width: 20px;
}

/*  show-pass   */

.form .show-pass {
    position: absolute;
    bottom: 7px;
    right: 9px;
    cursor: pointer;
    z-index: 2;
}

.form .form-group:has(.show-pass) input[name="password"] {
    padding-right: 70px;
}

.form .pass-container {
    position: relative;
}

/* Modal */
.form-modals-container .modal-content{
    border-radius: 20px;
}

.form-modals-container .modal-header {
    text-align: center;
    display: flex;
    border: 0!important;
}

/* Modal images */

.form-modals-container .selectable-image {
    cursor: pointer;
    transition: 0.2s;
}

.form-modals-container .selectable-image.selected {
    outline: 3px solid var(--color-3);
}

.form-modals-container .image-checkbox {
    appearance: none; 
    border: 2px solid gray;
    background: white;
    border-radius: 3px;
    position: absolute;
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.form-modals-container .image-checkbox:checked {
    background-color: var(--color-3);
    border-color: var(--color-3);
}

.form-modals-container .image-checkbox:checked::after {
    content: "✔";
    display: block;
    text-align: center;
    font-size: 14px;
    color: white;
    font-weight: bold;
    line-height: 18px;
}

/* mandatory star */
.form .form-group.mandatory::after {
    content: "*";
    color: #e74c3c;
    position: absolute;
    top: 0px;
    right: 4px;
    font-size: 15px;
}
.form .form-group {
    position: relative;
}

/* mandatory--alt */
.form .form-group.mandatory--alt-left::after,
.form .form-group.mandatory--alt-right::after {
    content: "*";
    color: #e74c3c;
    position: absolute;
    top: 2px;
    font-size: 15px;
}

.form .form-group.mandatory--alt-left::after,
.form .form-group.mandatory--alt-right::after {
    right: 6px;
}

@media (min-width: 991.98px) {
    
    .form .form-group.mandatory--alt-left::after {
        right: 20px;
    }

    .form .form-group.mandatory--alt-right::after {
        right: 4px;
    }
}

/* Arrow effect My trip*/

.form-btn-submit-disappearing-arrow button[type="submit"].btn-full {
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-right: 10px!important;
    transition: padding-right 0.4s ease, background 0.4s ease, font-weight 0.4s ease!important;
    border-radius: 30px!important;
}

.form-btn-submit-disappearing-arrow button[type="submit"].btn-full::after {
    content: "\f061";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 8px;
    color: var(--color-3);
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease!important;
}

@media( min-width: 991.92px ) {

    .form-btn-submit-disappearing-arrow button[type="submit"].btn-full:hover::after {
        opacity: 1;
        transform: translateX(0);
    }
    
    .form-btn-submit-disappearing-arrow button[type="submit"].btn-full:hover {
        padding-right: 25px!important;
        background: transparent;
        font-weight: 600;
    }
}

/* form-custom-select  */

.form-custom-select .selectize-control.single .selectize-input {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: none;
    border-radius: 5px;
    padding: 0 15px;
    color: #fff;
    box-shadow: none;
    transition: all 0.3s ease;
    height: 32px;
    opacity: 1;
    font-size: 12px;
    line-height: 34px;
}

@media (min-width: 767px) {
    
    .form-custom-select .selectize-control.single .selectize-input {
        height: 40px;
        line-height: 40px;
        font-size: 14px;
        border-radius: 10px;
    }
}

@media (min-width: 991.92px) {
    
    .form-custom-select .selectize-control.single .selectize-input {
        height: 48px;
        line-height: 48px;
        font-size: 16px;
    }
}

.form-custom-select .selectize-control.single .selectize-input.focus {
    box-shadow: none !important;
}

.form-custom-select.selectize-control.single .selectize-input.input-active,
.form-custom-select .selectize-input {
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: #fff;
}

.form-custom-select .selectize-control.single .selectize-input input {
    color: #fff;
    opacity: 1 !important;
    width: 100% !important;
}

.form-custom-select .selectize-control.single .selectize-input input::placeholder {
    color: #fff;
    text-align: left !important;
}

.form-custom-select .selectize-control.single .selectize-input:after {
    color: rgba(255, 255, 255, 0.5);
    border: none !important;
    border-bottom: 2px solid #fff !important;
    border-right: 2px solid #fff !important;
    height: 10px;
    width: 10px;
    transform: rotate(45deg);
    margin-top: -5px !important;
    transition: transform .4s;
    pointer-events: none;
}

.form-custom-select .selectize-control.single .selectize-input.dropdown-active:after {
    transform: rotate(-135deg) translateY(-5px);
}

.form-custom-select .selectize-control.single .selectize-input.focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.form-custom-select .selectize-control.single .selectize-input.focus.dropdown-active {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.form-custom-select .selectize-control.single .selectize-input::after {
    color: rgba(255, 255, 255, 0.5);
}

.form-custom-select .selectize-dropdown {
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    z-index: 1000;
    font-size: 12px;
    margin-top: 0 !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-top: 0 !important;
    box-shadow: none !important;
}

@media (min-width: 767px) {
    
    .form-custom-select .selectize-dropdown {
        font-size: 14px;
    }
}

@media (min-width: 991.92px) {
    
    .form-custom-select .selectize-dropdown {
        font-size: 15px;
    }
}

.form-custom-select .selectize-dropdown .option {
    background: transparent;
    cursor: pointer;
    color: #fff;
    transition: color 0.3s ease;
    margin: 0 5px 0 10px;
    position: relative;
    padding: 5px 8px 5px 20px;
}

@media (min-width: 991.92px) {
    
    .form-custom-select .selectize-dropdown .option {
        padding: 10px 16px 10px 25px;
        
    }
}

.form-custom-select .selectize-dropdown .option + .option {
    border-top: 1px solid #fff;
}

@media (min-width: 991.92px) {
    
    .form-custom-select .selectize-dropdown .option:hover {
        color: #6D3A93;
    }
}

.form-custom-select .selectize-dropdown .option:before {
    content: '';
    position: absolute;
    border-radius: 3px;
    background: #fff;
    height: 14px;
    width: 14px;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    z-index: 1;
}

.form-custom-select .selectize-dropdown .option.selected:after {
    content: '';
    position: absolute;
    top: 50%;
    transform: rotate(45deg) translate(-38%, -72%);
    left: 2px;
    display: inline-block;
    width: 5px;
    height: 9px;
    border: solid #6D3A93;
    border-width: 0 1px 1px 0;
    z-index: 2;
}

.form-custom-select .selectize-dropdown {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

.form-custom-select .selectize-dropdown .selectize-dropdown-content {
    scrollbar-width: thin;
    scrollbar-color: #ffffff #D9D9D9;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.form-custom-select .selectize-dropdown .selectize-dropdown-content::-webkit-scrollbar {
   width: 6px;
}

.form-custom-select .selectize-dropdown.single.form-control:before,
.form-custom-select .selectize-dropdown.single.form-control:after {
    content: '';
    position: absolute;
    right: 0px;
    width: 10px;
    height: 15px;
    background: #D9D9D9;
    border-radius: 26px;
    z-index: 50;
    display: none;
    
}

.form-custom-select .selectize-dropdown.single.form-control:before {
    top: 2px;
}

.form-custom-select .selectize-dropdown.single.form-control:after {
    bottom: 2px;
}

.form-custom-select .selectize-dropdown-content {
    max-height: 130px;
    -webkit-overflow-scrolling: touch; 
    overflow-y: auto;
}

.form-custom-select.form-custom-select-short .selectize-dropdown-content {
    max-height: 95px;
}

@media (min-width: 991.92px) {

    .form-custom-select .selectize-dropdown:has(.option:nth-child(5)):before,
    .form-custom-select .selectize-dropdown:has(.option:nth-child(5)):after{
        display: block;
    }
    
    .form-custom-select .selectize-dropdown-content {
        max-height: 163px;
    }

    .form-custom-select.form-custom-select-short .selectize-dropdown-content {
        max-height: 120px;
    }
}

/* form-custom-select--alt */

.form-custom-select.form-custom-select--alt .selectize-control.single .selectize-input input::placeholder,
.form-custom-select.form-custom-select--alt .selectize-dropdown .option,
.form-custom-select.form-custom-select--alt .selectize-control.single .selectize-input {
    color: var(--color-1) !important;
}

.form-custom-select.form-custom-select--alt .selectize-control.single .selectize-input:after {
    border-color: var(--color-1) !important;
}

.form-custom-select.form-custom-select--alt .selectize-control.single .selectize-input.input-active,
.form-custom-select.form-custom-select--alt .selectize-input,
.form-custom-select.form-custom-select--alt .selectize-dropdown {
    background: #EDEDED !important;
}

.form-custom-select.form-custom-select--alt .selectize-dropdown,
.form-custom-select.form-custom-select--alt .selectize-dropdown.form-control {
    border-color: #9E9E9E !important;
}

.form-custom-select.form-custom-select--alt .selectize-dropdown .option:hover,
.form-custom-select.form-custom-select--alt .selectize-dropdown .option.selected {
    color: var(--color-3) !important;
}

.form-custom-select.form-custom-select--alt .selectize-control.single .selectize-input {
    border: 1px solid #9E9E9E;
    background: #EDEDED !important;
}

.form-custom-select.form-custom-select--alt .selectize-control.single .selectize-input.dropdown-active {
    border-bottom: none;
}

@media (min-width: 991.92px) {
    
    .form-custom-select.form-custom-select--alt .selectize-dropdown,
    .form-custom-select.form-custom-select--alt .selectize-dropdown.form-control {
        border-color: #F7F7F7 !important;
    }
    
    .form-custom-select.form-custom-select--alt .selectize-control.single .selectize-input.input-active,
    .form-custom-select.form-custom-select--alt .selectize-input,
    .form-custom-select.form-custom-select--alt .selectize-dropdown {
        background: #F7F7F7 !important;
    }
    
    .form-custom-select.form-custom-select--alt .selectize-control.single .selectize-input {
        border: none;
        background: #F7F7F7 !important;
    }
}

/*.form-mobile-scale-75*/

@media (max-width: 991.92px) {
    
    .form-mobile-scale-75 input[type="text"]::placeholder, 
    .form-mobile-scale-75 textarea::placeholder {
        font-size: 16px !important;
    } 
    
    .form-mobile-scale-75 input[type="text"], 
    .form-mobile-scale-75 textarea,
    .form-mobile-scale-75 input[type="select-one"], 
    .form-mobile-scale-75 .form-custom-select .selectize-control.single .selectize-input input[type="select-one"],
    .form-mobile-scale-75 select:focus {
        font-size: 16px !important;
        height: 52px !important;
        transform: scale(.75) !important;
        max-width: 133.33% !important;
        width: 133.33% !important;
        transform-origin: top left !important;
    }
    
    .form-mobile-scale-75.form-4.form-4--alt input[type="text"], 
    .form-mobile-scale-75.form-4.form-4--alt input[type="select-one"], 
    .form-mobile-scale-75.form-4.form-4--alt select:focus {
        height: 40px !important;
    }
    
    .form-mobile-scale-75 textarea {
        height: 133.33px !important;
    }
    
    .form-mobile-scale-75.subscribe-2.subscribe-2--alt button[type="submit"] {
        transform: translate(-4px, -17px) !important;
        height: 31px !important;
    }
}

@media (max-width: 766.92px) {
    
    .form-mobile-scale-75 input[type="text"]::placeholder, 
    .form-mobile-scale-75 textarea::placeholder {
        font-size: 16px !important;
    } 
    
    .form-mobile-scale-75 input[type="text"], 
    .form-mobile-scale-75 textarea,
    .form-mobile-scale-75 input[type="select-one"], 
    .form-mobile-scale-75 .form-custom-select .selectize-control.single .selectize-input input[type="select-one"], 
    .form-mobile-scale-75 select:focus {
        font-size: 16px !important;
        height: 44px !important;
        transform: scale(.75) !important;
        transform-origin: top left !important;
    }
    
    .form-mobile-scale-75.form-4.form-4--alt input[type="text"], 
    .form-mobile-scale-75.form-4.form-4--alt input[type="select-one"], 
    .form-mobile-scale-75.form-4.form-4--alt select:focus {
        height: 40px !important;
    }
    
    .form-mobile-scale-75 textarea {
        height: 133.33px !important;
    }
    
    .form-mobile-scale-75.subscribe-2.subscribe-2--alt button[type="submit"] {
        height: 27px !important;
        transform: translate(-3px, -14px) !important;
    }
}
