@font-face {
    font-family: "Onest";
    src: url("fonts/Onest/OnestThin1602-hint.woff") format("woff"), url("fonts/Onest/OnestThin1602-hint.ttf") format("truetype");
    font-weight: 200;
}

@font-face {
    font-family: "Onest";
    src: url("fonts/Onest/OnestLight1602-hint.woff") format("woff"), url("fonts/Onest/OnestLight1602-hint.ttf") format("truetype");
    font-weight: 300;
}

@font-face {
    font-family: "Onest";
    src: url("fonts/Onest/OnestRegular1602-hint.woff") format("woff"), url("fonts/Onest/OnestRegular1602-hint.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "Onest";
    src: url("fonts/Onest/OnestMedium1602-hint.woff") format("woff"), url("fonts/Onest/OnestMedium1602-hint.ttf") format("truetype");
    font-weight: 600;
}

@font-face {
    font-family: "Onest";
    src: url("fonts/Onest/OnestBold1602-hint.woff") format("woff"), url("fonts/Onest/OnestBold1602-hint.ttf") format("truetype");
    font-weight: 700;
}

@font-face {
    font-family: "Onest";
    src: url("fonts/Onest/OnestExtraBold1602-hint.woff") format("woff"), url("fonts/Onest/OnestExtraBold1602-hint.ttf") format("truetype");
    font-weight: 800;
}

@font-face {
    font-family: "Onest";
    src: url("fonts/Onest/OnestBlack1602-hint.woff") format("woff"), url("fonts/Onest/OnestBlack1602-hint.ttf") format("truetype");
    font-weight: 900;
}


html {
    font-size: 18px;
    height: 100%;
}

body {
    color: #333;
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 300;
    font-family: "Onest", sans-serif;
    display: flex;
    min-height: 100%;
}

.h4 {
    font-size: 24px;
    line-height: 30px;
    font-weight: 500;
}

a,
.btn-link {
    color: #006bb7;
}

b,
strong {
    font-weight: 700;
}

h1 {
    font-weight: 800;
    font-size: 70px;
    line-height: 61.95px;
    letter-spacing: -3%;
}

.btn {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    padding: 15px 24px;
    border-radius: 12px;
}

.btn-primary {
    color: #fff;
    background-color: #0058D2;
    border-color: #0058D2;
}

.btn:disabled {
    background-color: #f1f1f1;
    border-color: #f1f1f1;
    color: #b2b2b2;
    opacity: 1;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #D92D20;
    box-shadow: 0px 0px 5px #D92D20;
}

.validation {
    color: #27AE20;
}

.fail {
    color: #D92D20;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred.";
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* PAGE CONTENT */

.page {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    min-height: 100vh;
    width: 100%;
}

.img-container {
    position: absolute;
    height: 100%;
    width: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
    opacity: 0.35;
}

    .img-container img {
        display: block;
        height: 100%;
        margin-left: auto;
    }

@media screen and (max-width: 1440px) {
    .img-container img {
        margin-right: -7rem;
    }
}

/*TOP MENU*/

.navbar:has(.top-info) .container-fluid {
    margin-top: 55px;
}

.top-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid #EAEAEA;
    padding-inline: 20px;
    padding-block: 2px;
}

    .top-info .nav-link {
        font-size: 14px;
        font-weight: 600;
        line-height: 1;
        gap: 5px;
        align-items: center;
        text-transform: capitalize;
    }

        .top-info .nav-link:hover {
            color: #0058D2
        }

    .top-info .btn-sm {
        border-radius: 8px;
        padding: 2px 10px;
        font-size: 12px;
        background-color: white;
        display: flex;
        align-items: center;
        gap: 5px;
    }

        .top-info .btn-sm span {
            width: 11px;
            display: flex;
        }

            .top-info .btn-sm span svg {
                fill: #0d6efd
            }

        .top-info .btn-sm:hover {
            background-color: #0d6efd
        }

            .top-info .btn-sm:hover svg {
                fill: white
            }

    .top-info .nav-link span {
        display: flex;
        height: 14px;
        width: 14px;
        padding: 0;
    }

    .top-info .nav-icon {
        width: 12px;
        height: 13px;
        display: flex;
    }

    .top-info .nav-link:hover {
        text-decoration: underline;
    }

@media screen and (max-width: 1200px) {
    .top-info {
        padding-inline: 33px;
    }

        .top-info .btn-close {
            position: absolute;
            right: 5px;
            top: 5px;
            font-size: 14px;
            z-index: 2;
        }

        .top-info .mobile {
            font-size: 20px !important;
        }

            .top-info .mobile .nav-icon {
                width: 16px;
                height: 22px;
            }

    .info-user-mobile {
        padding-top: 4rem;
    }
}

.user-details .navbar-text {
    font-size: 14px;
    padding-block: 5px;
}

.user-details button.navbar-text:hover span {
    color: #0058D2
}
/*mobile*/
.user-details-mobile {
}

.btn-user-info {
    border-radius: 5px;
    font-size: 12px;
    height: 26px;
    margin-block: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-weight: 600;
    border-color: gray;
    box-shadow: none;
    outline: none;
    border: 1px solid #575757;
    background: darkgray;
    color: white;
    gap: 5px;
}
/*MODAL*/
.top-info .modal-content .modal-title {
    font-size: 18px;
    font-weight: 600;
}

.top-info .modal-content .btn {
    width: 100%;
    max-width: 160px;
}

.top-info .fw-semibold {
    font-weight: 500;
}

main {
    margin-left: 7rem;
    padding-inline: 3rem;
}

    main .content {
        width: 100%;
    }

/*menu mobile*/
.mobile-version {
    position: absolute;
    left: -5.5rem;
    top: 5rem;
    background: white;
    margin-left: 0 !important;
    width: calc(100% + 4rem);
}

.menu-mobile {
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 0 !important;
    border-bottom: 1px solid #d5d1d1;
}

    .menu-mobile a.nav-link {
        font-size: 18px !important;
        font-weight: 600 !important;
    }
/* LEFT SIDE */
.left-side {
    position: absolute;
    height: 100%;
    min-width: 5rem;
    border-right: 1px solid #EAEAEA;
    display: flex;
    justify-content: center;
    padding: 1.5rem 2rem;
    z-index: 1;
}

    .left-side a {
        height: max-content;
    }

/* LISTS */
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.qr-code {
    height: 280px;
    width: 280px;
}

/* ABOUT PAGE */
.about-content {
    border-radius: 16px;
    box-shadow: 0px 10px 30px 0px #0000000D;
}

/* VERIFICATION */
.info-verification {
    border-radius: 16px;
    box-shadow: 0px 10px 30px 0px #0000000D;
}

.list-items {
    justify-content: space-between;
}

    .list-items .item {
        flex: 0 0 320px;
    }

.choices {
    min-height: 56px;
    border-radius: 12px;
}

    .choices[data-type*=select-one]::after {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
        border: none;
        height: 16px;
        width: 12px;
        margin-top: 0;
        transform: translateY(-50%);
        right: 16px;
    }

    .choices[data-type*=select-one].is-open::after {
        transform: translateY(-50%) rotate(180deg);
    }

    .choices.is-focused {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        box-shadow: none !important;
        outline: none !important;
    }

.choices__inner {
    border-radius: 12px;
    background-color: #f1f1f1;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    color: #b2b2b2;
    height: 56px;
    display: flex;
    align-items: center;
    text-wrap: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.choices__item--selectable {
    color: #383838;
    font-size: 18px;
    font-weight: 400;
    text-overflow: ellipsis;
    overflow: hidden;
}

.choices:has(select.invalid) {
    box-shadow: 0px 0px 5px #D92D20;
    outline: 1px solid #D92D20;
}

.choices:has(.modified):not(:has(select.invalid)) {
    box-shadow: 0px 0px 5px rgb(38, 176, 80);
    outline: 1px solid rgb(38, 176, 80);
    background-color: light-dark(rgb(232, 240, 254), rgba(70, 90, 126, 0.4)) !important;
}

.is-open .choices__inner {
    border-radius: 12px 12px 0 0;
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 96% center;
    background-size: 14px;
    height: 50px;
    border-radius: 12px;
    background-color: #fff;
    font-size: 16px !important;
    font-weight: 400;
    line-height: 20px;
    color: #333 !important;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-right: 35px !important;
}

.form-control {
    height: 50px;
    border-radius: 12px;
    border-color: #333;
    background-color: #fff;
}

    .form-control:disabled {
        background-color: #fff;
        cursor: no-drop;
    }

.form-label {
    color: #383838;
    font-size: 0.7777rem;
    font-weight: 400;
    line-height: 20px;
    margin-bottom: 0.25rem;
}

    .form-label sup {
        color: red;
        font-size: 20px;
        top: 0;
    }

.form-check-label a {
    color: #0d6efd;
    text-decoration: none;
}

    .form-check-label a:hover {
        text-decoration: underline;
    }

.info-verification input {
    background-color: #fff;
    border-color: #333;
    font-size: 14px;
    line-height: 20px;
    color: #383838;
    height: 50px;
    position: relative;
    z-index: 1;
}

    .info-verification input.seriesAndNumber {
        text-transform: uppercase;
    }

    .info-verification input:focus {
    }

        .info-verification input:focus + span,
        .info-verification input:not(:placeholder-shown) + span {
            /*transform: translateY(.5rem);*/
            bottom: -1.5rem;
        }

    .info-verification input + span {
        /*transform: translateY(-1.65rem);*/
        transition: all 1.5s ease;
        display: block;
        font-size: 0.75rem;
        margin-inline: 0.3rem;
        position: absolute;
        bottom: 0.5rem;
    }

.valid.modified:not([type=checkbox]) + span {
    /*transform: translateY(-1.7rem)*/
    bottom: 0.5rem;
}

.info-verification .form-control:focus-visible {
    background-color: #fff !important;
    color: #383838;
}

.form-check-input[type=checkbox] {
    background-color: white;
    border-color: #333;
    height: 0.85rem;
}

.form-check-input:checked[type=checkbox] {
    background-color: #0d6efd;
}

.info-verification .form-select {
    background-color: #fff;
    font-size: 14px;
    line-height: 20px;
    color: #b2b2b2;
    height: 56px;
}

    .info-verification .form-select:focus-visible {
        background-color: #fff !important;
        color: #383838;
    }

.valid.modified:not([type=checkbox]) {
    background-color: light-dark(rgb(232, 240, 254), rgba(70, 90, 126, 0.4)) !important;
    box-shadow: 0 0px 5px #26b050;
    color: #383838 !important;
}

input.form-control::-webkit-input-placeholder {
    color: #b2b2b2;
}

input.form-control::-moz-placeholder {
    color: #b2b2b2;
}

input.form-control:-ms-input-placeholder {
    color: #b2b2b2;
}

input.form-control:-moz-placeholder {
    color: #b2b2b2;
}

.validation-message {
    color: #D92D20;
    font-size: 13px;
    margin-bottom: 0.3rem;
    font-weight: bold;
}

.terms-message {
    font-weight: 500;
    transition: all 0.5s ease;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

/* RESULT DETAILS */
.result-details-content {
    border-radius: 16px;
    box-shadow: 0px 10px 30px 0px #0000000D;
}

.top-info .h6 {
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.top-info span {
    font-size: 14px;
    display: block;
}

.info-details .h6 {
    color: #383838;
    font-size: 20px;
    font-weight: 600;
    line-height: 25px;
}

.info-details span {
    color: #383838;
    display: block;
    font-size: 16px;
    font-weight: 300;
    line-height: 20px;
}

.result-details-content .list-item {
    gap: 30px;
}

    .result-details-content .list-item .item {
        flex: 1;
    }

.cell-title {
    color: #383838;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    margin-bottom: 0.35rem;
}

    .cell-title .ro {
        color: #383838;
        font-size: 16px;
        font-weight: 600;
        line-height: 20px;
    }

    .cell-title .en {
        color: #383838;
        font-size: 14px;
        font-weight: 400;
        line-height: 17px;
    }

.cell-details {
    color: #121212;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .cell-details img {
        width: 15px;
    }

.list-info .item-title {
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
}

.bottom-info {
}

    .bottom-info .btn {
        font-size: 15px;
    }

/* FOOTER */
footer {
    margin-top: auto;
    padding-left: 12rem;
}

    footer .cell {
        border-right: 1px solid #ccc;
        padding-right: 4rem;
    }

.cell a {
    color: inherit;
    text-decoration: none;
}

    .cell a:hover {
        text-decoration: underline;
    }

footer .cell:last-child {
    border-right: none;
    flex: auto;
    max-width: max-content;
    padding-right: 0;
}

footer .footer-details {
    gap: 4rem;
}

footer .copyright {
    font-size: 0.8888888888888889rem;
    text-align: right;
    margin-left: auto;
    border-top: 1px solid #EAEAEA;
    max-width: 50%;
    padding-top: 1rem;
    padding-inline: 0.5rem;
    margin-right: 4rem;
}

@media screen and (max-width: 1300px) {
    .form-label {
        font-size: 0.65rem;
        line-height: 1.2;
    }
}

/* SMALL PC */
@media screen and (max-width: 1200px) {
    .page {
        height: 100%;
    }

    .left-side {
        padding: 1rem;
    }

    main {
        padding-left: 0;
        padding-right: 1.5rem;
        margin-left: 5.5rem;
    }

    .title h1 {
        font-size: 2.777777777777778rem;
        line-height: 1.1;
    }

    footer {
        padding-left: 7.5rem;
    }

        footer .footer-details {
            gap: 2rem;
        }

        footer .cell {
            padding-right: 3rem;
        }

        footer .copyright {
            max-width: 75%;
        }
}

/* LANGUAGE */
.language {
    display: flex;
    gap: 15px;
}

    .language a {
        color: inherit;
        font-size: 0.75rem;
        font-weight: 500;
        text-decoration: none;
    }

        .language a:hover {
            text-decoration: underline;
        }

    .language .active a {
        text-decoration: underline;
        font-weight: 600;
    }

.info {
    font-size: 0.85rem;
    line-height: 1.5;
}

@media screen and (max-width: 991px) {
    main {
        padding-top: 5rem;
    }

        main:has(form) {
            padding-top: 2rem;
        }

        main:has(.result-details-content) {
            padding-top: 2rem;
        }

    .title h1 {
        font-size: 2rem;
    }

    .qr-code {
        height: 150px;
        width: 150px;
    }

    footer {
        padding-left: 5rem;
    }

        footer .footer-details {
            gap: 2rem;
            flex-wrap: wrap;
            justify-content: center;
            border-top: 1px solid #EAEAEA;
            padding-top: 2.5rem;
            padding-inline: 2rem;
        }

        footer .copyright {
            max-width: 100%;
            text-align: center;
            font-size: 0.75rem;
        }
}

@media screen and (max-width: 768px) {
    .left-side {
        padding: 1rem 0.75rem;
        min-width: auto;
        height: max-content;
        border: none;
    }

    main {
        margin-left: 0;
        padding-right: 0;
        padding-top: 2rem;
    }

    .left-side a {
        width: 40px;
    }

        .left-side a img {
            display: block;
            width: 100%;
        }

    .about-content .info {
        font-size: 0.75rem;
    }

    footer {
        padding-left: 0;
    }

        footer .footer-details {
            justify-content: start;
            padding-inline: 1.5rem;
        }

        footer .cell {
            border: none;
        }

        footer .copyright {
            margin-right: 0;
        }
}
