﻿.did-floating-label-content {
    position: relative;
    margin-bottom: 20px;
}

.did-floating-label {
    color: #1e4c82;
    font-size: 15px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 15px;
    top: 14px;
    padding: 0 5px;
    line-height: 1;
    background: #fff;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

.did-floating-input, .did-floating-select {
    font-size: 16px;
    display: block;
    width: 100%;
    height: 44px;
    padding: 0 20px;
    background: #fff;
    color: #3D85D8;
    border: 1px solid #3D85D8;
    border-radius: 4px;
    box-sizing: border-box;
}

    .did-floating-input:focus, .did-floating-select:focus {
        outline: none;
    }

        .did-floating-input:focus ~ .did-floating-label, .did-floating-select:focus ~ .did-floating-label {
            top: -10px;
            font-size: 17px;
        }

select.did-floating-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

    select.did-floating-select::-ms-expand {
        display: none;
    }

.did-floating-input:not(:placeholder-shown) ~ .did-floating-label {
    top: -10px;
    font-size: 17px;
}

.did-floating-select:not([value=""]):valid ~ .did-floating-label {
    top: -8px;
    font-size: 13px;
}

.did-floating-select[value=""]:focus ~ .did-floating-label {
    top: 11px;
    font-size: 13px;
}

.did-floating-select:not([multiple]):not([size]) {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6' viewBox='0 0 8 6'%3E%3Cpath id='Path_1' data-name='Path 1' d='M371,294l4,6,4-6Z' transform='translate(-371 -294)' fill='%23003d71'/%3E%3C/svg%3E%0A");
    background-position: right 15px top 50%;
    background-repeat: no-repeat;
}

.did-error-input .did-floating-input, .did-error-input .did-floating-select {
    border: 2px solid #3D85D8;
    color: #3D85D8;
}

.did-error-input .did-floating-label {
    font-weight: 600;
    color: #3D85D8;
}

.did-error-input .did-floating-select:not([multiple]):not([size]) {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6' viewBox='0 0 8 6'%3E%3Cpath id='Path_1' data-name='Path 1' d='M371,294l4,6,4-6Z' transform='translate(-371 -294)' fill='%239d3b3b'/%3E%3C/svg%3E%0A");
}

.input-group {
    display: flex;
}

    .input-group .did-floating-input {
        border-radius: 0 4px 4px 0;
        border-left: 0;
        padding-left: 0;
    }

.input-group-append {
    display: flex;
    align-items: center;
    /*   margin-left:-1px; */
}

.input-group-text {
    display: flex;
    align-items: center;
    font-weight: 400;
    height: 34px;
    color: #323840;
    padding: 0 5px 0 20px;
    font-size: 12px;
    text-align: center;
    white-space: nowrap;
    border: 1px solid #3D85D8;
    border-radius: 4px 0 0 4px;
    border-right: none;
}

/*.did-error-input:focus {
            color: #323840;
            background-color: var(--bs-body-bg);
            border-color: #9d3b3b;
            outline: 0;
            box-shadow: 0 0 0 0.25rem #9d3b3b24 !important;
        }*/
.form-control:focus {
    color: #323840;
    background-color: var(--bs-body-bg);
    border-color: #3D85D8;
    outline: 0;
    box-shadow: 0 0 0 0.25rem #3d85d821 !important;
}

.did-error-input:-internal-autofill-selected {
    appearance: menulist-button;
    background-image: none !important;
    background-color: #9d3b3b24 !important;
    color: fieldtext !important;
}

.btn-primary {
    --bs-btn-bg: #3b71ca;
    --bs-btn-color: #fff;
    --bs-btn-box-shadow: 0 4px 9px -4px rgb(56.05, 107.35, 191.9);
    --bs-btn-hover-bg: rgb(56.05, 107.35, 191.9);
    --bs-btn-hover-color: #fff;
    --bs-btn-focus-bg: rgb(56.05, 107.35, 191.9);
    --bs-btn-focus-color: #fff;
    --bs-btn-active-bg: rgb(53.1, 101.7, 181.8);
    --bs-btn-active-color: #fff;
    --bs-btn-box-shadow-state: 0 8px 9px -4px rgba(56.05, 107.35, 191.9, 0.3), 0 4px 18px 0 rgba(56.05, 107.35, 191.9, 0.2);
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #3b71ca;
    --bs-btn-border-color: #3b71ca;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: rgb(56.05, 107.35, 191.9);
    --bs-btn-hover-border-color: rgb(47.2, 90.4, 161.6);
    --bs-btn-focus-shadow-rgb: 88, 134, 210;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: rgb(53.1, 101.7, 181.8);
    --bs-btn-active-border-color: rgb(44.25, 84.75, 151.5);
    --bs-btn-active-shadow: 0 8px 9px -4px rgba(var(--bs-box-shadow-color-rgb), 0.15), 0 4px 18px 0 rgba(var(--bs-box-shadow-color-rgb), 0.1);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #3b71ca;
    --bs-btn-disabled-border-color: #3b71ca;
}

.btn-outline-primary {
    --bs-btn-bg: transparent;
    --bs-btn-color: #3b71ca;
    --bs-btn-hover-bg: rgb(245.2, 247.9, 252.35);
    --bs-btn-hover-color: rgb(56.05, 107.35, 191.9);
    --bs-btn-focus-bg: rgb(245.2, 247.9, 252.35);
    --bs-btn-focus-color: rgb(56.05, 107.35, 191.9);
    --bs-btn-active-bg: rgb(245.2, 247.9, 252.35);
    --bs-btn-active-color: rgb(53.1, 101.7, 181.8);
    --bs-btn-outline-border-color: #3b71ca;
    --bs-btn-outline-focus-border-color: rgb(47.2, 90.4, 161.6);
    --bs-btn-outline-hover-border-color: rgb(47.2, 90.4, 161.6);
    border-color: var(--bs-btn-outline-border-color);
}

    .btn-outline-primary:hover {
        box-shadow: 0 4px 9px -4px rgb(56.05, 107.35, 191.9);
    }

.btn {
    box-shadow: var(--bs-btn-box-shadow);
}

.seperator {
    position: relative;
    height: 24px;
}

    .seperator > span {
        display: block;
        background-color: #fff;
        position: absolute;
        left: 0;
        right: 0;
        margin-inline: auto;
        width: fit-content;
        padding: 0 10px;
    }

    .seperator::before {
        content: ' ';
        display: block;
        height: 1px;
        background-color: #afafaf;
        position: absolute;
        top: 12px;
        width: 100%;
    }

.back-arrow-link {
    position: absolute;
    left: -20px;
    top: 20px;
    text-decoration: none;
    color: #3f3f3f;    
    text-transform: uppercase;
}

    .back-arrow-link svg {
        width: 20px;
    }
