.horizontal-slide-from-right-to-left {
    animation: horizontal-slide-from-right-to-left linear 10s infinite;
}

.horizontal-slide-from-left-to-right {
    animation: horizontal-slide-from-left-to-right linear 10s infinite;
}

@keyframes horizontal-slide-from-right-to-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes horizontal-slide-from-left-to-right {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

.sticky-menu.nav-hidden {
    animation: fadeInDown 0.9s 1;
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translate3d(0, -100%, 0);
    }

    100% {
        opacity: 1;
        transform: translateZ(0);
    }
}

@keyframes rotate-360 {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

.rotate-360 {
    animation: rotate-360 20s linear infinite;
}


input:checked~.toggle_dot {
    transform: translateX(100%);
}



.marquee {
    position: relative;
    overflow: hidden;
}

.marquee-wrapper {
    width: 100%;
    animation: marquee-wrapper 4s ease-in-out infinite alternate;
}

.marquee span {
    display: inline-block;
    min-width: 100%;
    /* this is to prevent shorter text animate to right */
    white-space: nowrap;
    animation: marquee 4s ease-in-out infinite alternate;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    10% {
        transform: translateX(0);
    }

    90% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes marquee-wrapper {
    0% {
        transform: translateX(0);
    }

    10% {
        transform: translateX(0);
    }

    90% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.ribbon::before {
    content: "";
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 0px solid transparent;
    border-top: 10px solid rgba(0, 0, 0, 0.284);
    position: absolute;
    left: 0;
    top: 20px;
}

.triangle {
    background-color: initial;
    border: 10px solid #0000;
    border-right: 10px;
    display: block;
    position: absolute;
    right: -10px;
    top: 0;
    z-index: 10;
}


[x-cloak] {
    display: none;
}

[type="checkbox"] {
    box-sizing: border-box;
    padding: 0;
}

.form-checkbox,
.form-radio {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    display: inline-block;
    vertical-align: middle;
    background-origin: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    flex-shrink: 0;
    color: currentColor;
    background-color: #fff;
    border-color: #e2e8f0;
    border-width: 1px;
    height: 1.4em;
    width: 1.4em;
}

.form-checkbox {
    border-radius: 0.25rem;
}

.form-radio {
    border-radius: 50%;
}

.form-checkbox:checked {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M5.707 7.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L7 8.586 5.707 7.293z'/%3e%3c/svg%3e");
    border-color: transparent;
    background-color: currentColor;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.form-radio:checked {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
    border-color: transparent;
    background-color: currentColor;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}


.required::after {
    content: '*';
    color: rgb(174, 0, 0);
}
.mapboxgl-ctrl-geocoder.mapboxgl-ctrl{
    margin: 10px;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}
#location-delivery canvas{
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.file-icon p{
    font-size: 12px;
}


#unit_id + .select2-container .select2-selection__rendered img,.img-flag{
    width:14px;
    height:14px;
    margin-right: 5px;
    vertical-align: middle;
}

#unit_id + .select2-container .select2-dropdown {
    display: none;
}

.select2-container--default .select2-selection--single {
    background-color: #ECF2FF;
    border: 1px solid #aaa;
}
