body {
    max-width: 100vw;
    overflow-x: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem;
}

.heading {
    font-size: 1.2rem;
    font-weight: 400;
    text-align: center;
}

*:focus {
    outline: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.btn-primary {
    color: white;
    background-color: #1f3e70;
    border-radius: 0.25rem;
    font-size: 16px;
    padding: 5px 20px;
    border-color: transparent;
}

.btn-dark {
    background-color: #000000;
}

.visitor-form-container {
    max-width: 1200px;
    margin: auto;
    padding: 50px;
}

.login-form-container {
    max-width: 600px;
    margin: auto;
    padding: 50px;
}

.visitor-form,
.login-form {
    border-radius: 2rem;
    border: 1px solid #cccccc;
    background: #ffffffc7;
    padding: 40px;
}

.visitor-form form {
    max-width: 600px;
    margin: auto;
}

.logo-container {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.input-container {
    display: block;
    position: relative;
    margin-bottom: 8px;
}

.input-icon {
    display: inline-block;
    position: absolute;
    top: -3px;
    left: 5px;
    color: #414141;
    padding: 10px 5px 10px 0;
}

.btn-container {
    text-align: center;
    margin-top: 25px;
}

.visitor-form a,
.login-form a {
    color: #1f3e70;
}

.form-footer {
    width: -webkit-fill-available;
    margin-top: 100px;
    text-align: center;
    font-size: 12px;
    color: #9a8650;
}

.flash-alert {
    position: fixed;
    top: 5px;
    right: 5px;
    font-size: 12px;
    padding: 5px 10px;
    max-width: 280px;
    border-radius: 10px;
    transition: all 1s linear;
    z-index: 9999;
}

.flash-alert svg {
    width: 16px;
    transform: translateY(7px);
}

.alert-danger {
    background: #f00;
    color: #fff;
}

.alert-success {
    background: #289841;
    color: #fff;
}

.alert-warning {
    background: #d19600;
    color: #fff;
}

@keyframes pulse {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: .25;
        transform: scale(.75);
    }
}

.processing {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #43371bed;
    color: #fff;
    justify-content: center;
    align-items: center;
    z-index: 99999999;
    display: none;
}

.processing.show {
    display: flex;
}

@keyframes spin {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(359deg);
    }
}

.three-quarter-spinner {
    width: 50px;
    height: 50px;
    margin: auto;
    border: 3px solid #ffffff;
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear 0s infinite;
}

.visitor-form .d-flex {
    display: flex;
}

.visitor-form .text-field {
    width: 414px;
}

.visitor-form .camera-field {
    width: 166px;
    background: #000;
    padding: 5px;
    border-radius: 9px;
    margin-left: 8px;
    margin-bottom: 8px;
}

.visitor-form .camera-container {
    position: relative;
    width: 160px;
    height: 120px;
    margin: 0 auto;
}

.visitor-form #video,
.visitor-form #canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 160px;
    height: 120px;
}

.visitor-form #capture-photo {
    cursor: pointer;
    display: block;
    width: 150px;
    text-align: center;
    margin: 10px auto 0;
    color: #fff;
    border-radius: 0.25rem;
    font-size: 14px;
    padding: 5px 5px;
    background: #9b7633;
}

.visitor-form #camera-reset {
    cursor: pointer;
    position: absolute;
    top: 0px;
    right: 0;
    display: block;
    width: 24px;
    text-align: center;
    color: #fff;
    border-radius: 0.25rem;
    font-size: 14px;
    padding: 5px 5px;
    background: #716041;
}

.visitor-form #capturing-photo {
    display: block;
    padding: 5px 5px;
    text-align: center;
    font-size: 12px;
    color: #ffffff;
}

.visitor-form #camera-reset {
    background: #F44336;
}

@-webkit-keyframes dot-keyframes {
    0% {
        opacity: 0.4;
        transform: scale(1, 1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2, 1.2);
    }

    100% {
        opacity: 0.4;
        transform: scale(1, 1);
    }
}

@keyframes dot-keyframes {
    0% {
        opacity: 0.4;
        transform: scale(1, 1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2, 1.2);
    }

    100% {
        opacity: 0.4;
        transform: scale(1, 1);
    }
}

.loading-dots {
    text-align: center;
    width: 100%;
}

.loading-dots--dot {
    -webkit-animation: dot-keyframes 1.5s infinite ease-in-out;
    animation: dot-keyframes 1.5s infinite ease-in-out;
    background-color: #ffffff;
    border-radius: 10px;
    display: inline-block;
    height: 8px;
    width: 8px;
    margin: 0 4px;
}

.loading-dots--dot:nth-child(2) {
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

.loading-dots--dot:nth-child(3) {
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
}

.required {
    border: 3px solid #f00;
}

.option-btn-container {
    justify-content: center;
    gap: 51px;
    text-align: center;
}

.visitor-form .option-btn {
    display: inline-block;
    color: #ffffff;
    background-color: #b49d66;
    border-radius: 0.25rem;
    font-size: 21px;
    padding: 10px 10px;
    margin: 10px 5px;
    width: 100px;
    border: 1px solid #8a764c;
}

@media(max-width:600px) {
    body {
        background: #eeeeee;
    }

    .visitor-form-container,
    .login-form-container {
        padding: 20px 10px;
    }

    .visitor-form,
    .login-form {
        padding: 25px 10px;
    }

    .logo-container>div {
        padding: 10px;
    }

    .heading {
        font-size: 1.4rem;
    }

    .visitor-form .d-flex {
        display: block;
    }

    .visitor-form .text-field {
        width: 100%;
    }

    .visitor-form .camera-field {
        margin: 8px auto;
        width: 162px;
    }
}