:root {
    --primary-color: #f44336;
    --primary-color-rgb: 244, 67, 54;
    --form-title-color: #000;
    --text-color: #4b4b4b;
    --input-label-color: #424242;
    --bg-page: #EEF2F8;
    --bg-tab-navigation: rgba(200, 200, 200, 0.2);
    --bg-inactive-tab-navigation: rgba(200, 200, 200, 0.25);
    --color-tab-navigation-text: #555555;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}
.iti{
    width: 100%;
}

body {
    width: 100%;
    min-height: 100vh;
    background-color: var(--bg-page);
    font-family: "Montserrat", sans-serif;
}

a {
    text-decoration: none;
}

.form-header,
.form-body {
    background-color: #fff;
    border-radius: 6px;
    box-shadow: rgb(193, 213, 228) 0px 1px 3px 0px;
}

.form-body {
    width: 500px;
    min-height: 75vh;
    max-width: 90vw;
}

.form-header {
    width: 300px;
    font-size: 1rem;
}

.form-header img {
    width: 170px;
}

.form-header p {
    font-size: .95em;
    color: var(--text-color);
    margin: 0;
}

button, input, select, textarea {
    font-size: inherit;
    line-height: inherit;
    border: none;
    outline: none;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: unset;
}

.primary-color {
    color: var(--primary-color);
}

.input-label,
.form-control,
.form-select,
.custom-search {
    font-size: .9em;
}

.input-label {
    margin-bottom: .4em;
    color: var(--input-label-color);
    font-weight: 500;
}

.form-control,
.form-select,
.custom-search {
    min-height: 42px;
    background-color: transparent;
    color: #171717;
    border: 1px solid #d3d3d3;
    padding: 0.5rem 0.75rem;
    border-radius: .3rem;
    transition: border .2s ease;
}

.form-control:focus,
.form-select:focus,
.custom-search:focus {
    background-color: transparent;
    outline: unset;
    box-shadow: unset;
}

.form-select:not(.invalid-input):not(.border-1):not(.border-2):not(.border-3):focus {
    border-color: inherit !important;
}

input.invalid-input {
    border-color: var(--primary-color) !important;
}

.input-icon {
    top: 50%;
    transform: translateY(-50%);
}

.form-control:not(.invalid-input):not(.border-1):not(.border-2):not(.border-3):not(.error):focus {
    border-color: inherit !important;
}

.form:not(.active) {
    display: none !important;
}

.custom-search-list {
    width: 100%;
    top: calc(100% + 0.65rem);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    box-shadow: 0px 4px 4px rgba(170, 170, 170, 0.25);
    border-radius: 0.25rem;
    border: 1px solid #b9b9b9;
    z-index: 99;
}

.search-item {
    font-size: 1rem;
    display: flex;
    -moz-box-align: center;
    align-items: center;
    padding: .9rem 0.75rem;
    color: rgb(66, 70, 77);
    transition: background 0.15s ease 0s;
}

.search-item:not(:last-child) {
    border-bottom: 1px solid rgba(0,0,0,.13)
}

.search-item:hover {
    background-color: rgba(0,0,0,.1);
}

.search-button {
    min-width: 50px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0,.1);
    border-bottom-left-radius: .3rem;
    border-top-left-radius: .3rem;
    margin-right: calc(var(--bs-gutter-x) * .5);
}

.search-button svg {
    width: 22px;
    height: 22px;
}

.custom-search .badge {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    padding: .1rem .6rem;
    background-color: #efefef;
    border: 1px solid #d8d8d8;
    font-size: .85rem;
    color: #000;
    font-weight: 500;
    cursor: pointer;
    transition: background-color .25s ease;
}

.custom-search .badge p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-search .badge svg {
    min-width: 1.8em;
    min-height: 1.8em;
}

.custom-search-list span {
    cursor: pointer;
}

.custom-search-list span:not(.not-selectable):hover, .custom-search-list span:not(.not-selectable):active {
    background-color: rgba(0, 0, 0, 0.05);
}

.search-list {
    max-height: 280px;
    overflow-y: auto;
}

.cP {
    cursor: pointer;
}

.form-control.error,
.form-control.error:focus,
.file-input.error + .file-label,
.custom-search.error {
    border-color: var(--primary-color) !important;
}

.btn-next-form,
.btn-back-form,
.btn-finish {
    width: 160px;
    font-weight: 600;
    transition: background-color .2s ease, color .2s ease, fill .2s ease, stroke .2s ease !important;
    position: relative;
}

.btn-next-form:hover::before,
.btn-back-form:hover::before,
.btn-finish:hover::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: rgba(255,255,255,.1);
}

.btn-next-form:not(:disabled),
.btn-back-form:not(:disabled),
.btn-finish:not(:disabled) {
    color: #fff !important;
    border: 1px solid #d3d3d3 !important;
}

.btn-next-form:not(:disabled),
.btn-finish:not(:disabled) {
    background-color: var(--primary-color) !important;
}

.btn-next-form,
.btn-back-form,
.btn-finish {
    height: 45px;
}

.btn-back-form:not(:disabled) {
    background-color: #071700 !important;
}

.btn-next-form svg
.btn-next-form svg path,
.btn-back-form svg,
.btn-back-form svg path,
.btn-finish svg,
.btn-finish svg path {
    fill: #fff;
    stroke: #fff;
}

.btn-finish:disabled,
.btn-next-form:disabled {
    background-color: #e5e5e5;
    color: #676767;
    border-color: #c4c4c4;
}

.btn-next-form:disabled svg,
.btn-next-form:disabled svg path,
.btn-finish:disabled svg path {
    fill: #676767;
    stroke: #676767;
}

.file-upload {
    display: inline-block;
    position: relative;
}

.file-upload small {
    font-size: .8rem;
}

.file-input {
    position: absolute;
    left: calc(var(--bs-gutter-x) * .5);
    margin-top: 0.25rem;
    opacity: 0;
    width: 0 !important;
    height: 0 !important;
    border: 0;
    background-color: transparent !important;
    top: 100%;
    visibility: hidden;
}

.file-input:invalid + span {
    position: absolute;
    top: 100%;
    left: calc(0 + calc(var(--bs-gutter-x) * .5));
    margin-top: 0.5rem;
}

.file-label {
    display: inline-block;
    padding: 0.5rem 0.9rem;
    border: 1px solid #d3d3d3;
    border-radius: 6px;
    width: 100%;
    cursor: pointer;
    text-align: center;
}

.file-label i {
    margin-right: 5px;
}

.file-name {
    margin-right: auto;
    color: rgb(80, 80, 80);
}

.custom-option-item {
    width: 100%;
    height: 100%;
    flex: 1;
    cursor: pointer;
    border-radius: 0.42rem;
    background-color: rgba(0, 0, 0, 0.02);
    border: 1px solid #ebe9f1;
    font-size: .8rem;
    font-weight: 500;
    color: #8a8a8a;
    min-height: 50px;
    user-select: none;
    --moz-user-select: none;
    --webkit-user-select: none;
}

.custom-option-item-check {
    position: absolute;
    clip: rect(0, 0, 0, 0);
}

.custom-option-item-check:checked + .custom-option-item {
    color: var(--primary-color);
    background-color: rgba(244, 67, 54, 0.06);
    border-color: var(--primary-color);
}

.custom-option-item-check:checked + .custom-option-item .custom-option-item-title {
    color: var(--primary-color);;
}

.lds-container {
    position: absolute;
    top: 50%;
    right: 0%;
    transform: translate(calc(-50% - calc(var(--bs-gutter-x) * .25)), -50%);
}

.lds-ring {
    display: inline-block;
    position: relative;
    width: 1.5rem;
    height: 1.5rem;
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 1.5rem;
    height: 1.5rem;
    margin: 3px;
    border: 3px solid #7c7c7c;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #7c7c7c transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}



.btn-wave {
    position: relative;
    outline: none;
    overflow: hidden;
}

.btn-wave-effect {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 100%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: waveEffect 0.5s ease-out;
}

.btn-wave:disabled .btn-wave-effect {
    animation: unset !important;
}

.btn-error {
    animation: shake 1s cubic-bezier(.36, .07, .19, .97) both;
    backface-visibility: hidden;
}

.revision-data-list li {
    padding: .35rem 0;
    border-bottom: 1px solid rgba(0,0,0,.2);
}

input[type=hidden].error + .custom-search {
    border-color: var(--primary-color) !important;
}

#completeRegistration {
    flex: auto;
}

#completeRegistration h2 {
    font-size: 1.65rem;
    color: #FF725E;
    font-weight: 800;
    line-height: 1.5;
}

.inscription-code {
    background-color: #FF725E;
    color: #fff;
    padding: 3px 12px;
    border-radius: 3px;
}

@keyframes shake {
    0% {
        background-color: rgb(255, 0, 0);
        transform: translateX(0);
    }
    100%{
        transform: translateX(0);
        background-color: var(--primary-color);
    }
    10%{
        background-color: rgb(255, 0, 0);
        transform: translateX(-10px);
    }
    30%, 50%, 70%, 90% {transform: translateX(-10px);}
    20%, 40%, 60%, 80% {transform: translateX(0px);}
}

@keyframes waveEffect {
    0% {
        width: 0;
        height: 0;
        opacity: 0.8;
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 991px) {
    html {
        font-size: 15px;
    }

    h2.form-title {
        font-size: 1.4rem;
    }

    h3 {
        font-size: 1.15rem;
    }

    .file-label,
    .file-input {
        width: 100%;
    }

    .btn-next-form,
    .btn-back-form,
    .btn-finish {
        padding-top: .6rem;
        padding-bottom: .6rem;
    }

    .form-header {
        width: 500px;
        max-width: 90vw;
    }
}

@media (max-width: 767px) {
    .btn-next-form,
    .btn-back-form,
    .btn-finish {
        max-width: unset;
        width: 100%;
    }
}