﻿.b-contain *, .b-contain *::before, .b-contain *::after {
    box-sizing: content-box !important;
}

.b-contain input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.b-contain span {
    line-height: 1.46;
    font-size: 1rem;
    font-family: inherit;
}

.b-contain {
    display: table;
    position: relative;
    padding-left: 1.8rem;
    cursor: pointer;
    margin-bottom: .5rem;
}

    .b-contain input[type="checkbox"] ~ .b-input {
        position: absolute;
        top: 0;
        left: 0;
        height: 1.25rem;
        width: 1.25rem;
        background: rgba(255, 255, 255, 0);
        transition: background 250ms;
        border: 1px solid rgba(255, 255, 255, 1);
        border-radius: 0rem;
    }

    .b-contain input[type="radio"] ~ .b-input {
        position: absolute;
        top: 0;
        left: 0;
        height: 1.25rem;
        width: 1.25rem;
        background: rgba(255, 255, 255, 0);
        transition: background 250ms;
        border: 1px solid rgba(255, 255, 255, 1);
        border-radius: 2.0rem;
    }

    .b-contain input[type="checkbox"] ~ .b-input::after {
        content: '';
        position: absolute;
        display: none;
        left: 0.5rem;
        top: .18rem;
        width: .25rem;
        height: .6rem;
        border: solid rgba(255, 255, 255, 1);
        border-width: 0 2px 2px 0;
        transition: background 250ms;
        transform: rotate(45deg);
    }

    .b-contain input[type="radio"] ~ .b-input::after {
        content: '';
        position: absolute;
        display: none;
        left: .25rem;
        top: .25rem;
        width: .75rem;
        height: .75rem;
        border-radius: 2.0rem;
        background: rgba(255, 255, 255, 1);
        transition: background 250ms;
    }

    .b-contain input:disabled ~ .b-input::after {
        border-color: rgba(135, 149, 161, 1);
    }

    .b-contain input:checked ~ .b-input::after {
        display: block;
    }

    .b-contain:hover input ~ .b-input,
    .b-contain input:focus ~ .b-input {
        background: rgb(231, 238, 243, 0.5);
    }

    .b-contain input:focus ~ .b-input {
        box-shadow: 0 0 0 2px rgba(52,144,220,0.5);
    }

    .b-contain input:checked ~ .b-input {
        background: rgba(0, 130, 243, 1);
        border-color: rgba(0, 130, 243, 1);
    }

    .b-contain input[type="checkbox"]:disabled ~ .b-input {
        background: rgba(241, 245, 248, 1);
        border-color: rgba(184, 194, 204, 1);
        opacity: 0.6;
        cursor: not-allowed;
    }

    .b-contain input[type="radio"]:disabled ~ .b-input {
        background: rgba(241, 245, 248, 1);
        border-color: rgba(184, 194, 204, 1);
        opacity: 0.6;
        cursor: not-allowed;
    }

        .b-contain input[type="radio"]:disabled ~ .b-input::after {
            background: rgba(135, 149, 161, 1);
        }

    .b-contain input:checked:focus ~ .b-input, .b-contain:hover input:not([disabled]):checked ~ .b-input {
        background: rgba(13, 143, 255, 1);
        border-color: rgba(13, 143, 255, 1);
    }

    .b-contain .b-input::before {
        content: '';
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        width: 3rem;
        height: 3rem;
        margin-left: -0.85rem;
        margin-top: -0.85rem;
        background: rgba(0, 130, 243, 1);
        border-radius: 2rem;
        opacity: .6;
        z-index: 99999;
        transform: scale(0);
    }

@keyframes b-ripple {
    0% {
        transform: scale(0);
    }

    20% {
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1);
    }
}

@keyframes b-ripple-duplicate {
    0% {
        transform: scale(0);
    }

    30% {
        transform: scale(1);
    }

    60% {
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1);
    }
}

.b-contain input + .b-input::before {
    animation: b-ripple 250ms ease-out;
}

.b-contain input:checked + .b-input::before {
    animation-name: b-ripple-duplicate;
}

.b-contain .b-input::before {
    visibility: hidden;
}

.b-contain input:focus + .b-input::before {
    visibility: visible;
}

.b-contain:first-child .b-input::before {
    visibility: hidden;
}

/*-------------------------------------------------- */

.card-offset {
    margin-top: 9vh;
    margin-left: 9vw;
}

.container {
    max-width: 100vw;
}

.login-card-container {
    width: 600px;
    max-width: 100%;
    height: 100%;
    transition: transform 500ms ease;
    overflow: hidden;
    transform: translateY(15px);
    opacity: 0;
    animation-name: card;
    animation-timing-function: ease;
    animation-duration: 500ms;
    animation-fill-mode: forwards;
    pointer-events: auto;
}

    .login-card-container > div {
        position: relative;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .login-card-container.left {
        margin-left: 100px;
        margin-right: auto;
    }

    .login-card-container.right {
        margin-left: auto;
        margin-right: 100px;
    }

.login-card {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    max-height: 100vh !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    border: none !important;
    padding: 16px !important;
    padding-top: 50px !important;
    background-color: transparent !important;
    overflow-y: auto;
}

.login-card-padding {
    position: relative;
    width: 100%;
    background-color: #6666 !important;
    border-radius: 5px;
    box-shadow: 8px 8px 8px #0008 !important;
}

.login-card-pivot-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: transform 500ms ease;
}

.login-card-pivot {
    position: relative;
    border-radius: 5px !important;
    transition: transform 500ms ease;
}

.register-event-title-container {
    width: 100%;
    height: 100%;
}

.register-event-title-fixed {
    position: fixed;
    left: 8%;
    top: 8%;
    font-size: 5rem;
    color: white;
    transform: translateY(15px);
    opacity: 0;
    animation-name: card;
    animation-timing-function: ease;
    animation-duration: 500ms;
    animation-fill-mode: forwards;
}

.register-event-title {
    display: none;
    padding: 10px;
    font-size: 3rem;
    text-align: center;
    color: white;
}

.privacy-policy {
    width: 100%;
    padding: 12px 12px 8px 12px;
    margin-top: 5px;
    background: white;
    border-radius: 5px;
    font-size: 0.8rem;
    line-height: 1rem;
}

    .privacy-policy hr {
        margin-top: 0.6rem;
        margin-bottom: 0.6rem;
        border-top: none;
        background-color: #ccc;
        opacity: 1;
    }

    .privacy-policy-header {
        display: flex;
    }

.privacy-policy-header-title {
    font-weight: bold;
}

.privacy-policy-title,
.privacy-policy-description {
    width: 100%;
    padding: 4px 7px;
    margin-top: 5px;
    color: black;
    border: 1px solid #ccc;
    border-radius: 10px;
}

.privacy-policy-description {
    max-height: 130px;
    overflow-y: auto;
}

.privacy-policy-header * {
    color: black !important;
}

    .privacy-policy .form-check-input {
        position: initial !important;
        margin-top: 0.125rem;
        margin-left: 15px;
        margin-right: 5px;
    }

.privacy-policy-bottom {
    margin-top: 5px;
}

.privacy-policy-bottom * {
    color: black !important;
}

.privacy-policy-bottom .form-check-input {
    position: initial !important;
    margin-top: 0.125rem;
    margin-left: 0;
    margin-right: 5px;
}

    .privacy-policy-header .form-check-label,
    .privacy-policy-bottom .form-check-label {
        margin-bottom: 0 !important;
    }

    .privacy-policy-btn-cancel {
        background: #eee;
        border: 1px solid #ccc;
        padding: 6px 10px;
        margin: 5px;
        border-radius: 5px;
    }

.privacy-policy-btn-accept {
    background: Crimson;
    border: 1px solid #ccc;
    padding: 6px 35px;
    margin: 5px;
    border-radius: 5px;
    color: white;
}

    .privacy-policy-btn-cancel:hover,
    .privacy-policy-btn-accept:hover {
        opacity: 0.6;
    }

.privacy-policy-warning {
    color: crimson;
    margin-left: 20px;
    margin-bottom: 30px;
}

.privacy-policy-btn-container {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
}

.btn-login {
    margin-left: auto;
    margin-right: auto;
    font-size: 1em !important;
    border: 0 !important;
    border-radius: 5px !important;
    padding: 0.8rem 4rem !important;
    margin-top: 3rem;
    background-color: crimson !important;
    box-shadow: 4px 4px 4px #0008 !important;
    color: white !important;
}

    .btn-login:hover {
        background: lightcoral !important;
    }

.login-code .login-card-padding {
    width: 430px;
}

@keyframes card {
    to {
        transform: translateY(0px);
        opacity: 1;
    }
}

@media only screen and (max-width: 1200px) {
    .login-card-container {
        max-width: 65% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .login-card {
        padding-top: 16px !important;
    }

    .register-event-title-fixed {
        visibility: hidden;
    }

    .register-event-title {
        display: block;
    }

    .login-code .login-card {
        align-items: center !important;
    }
}

@media only screen and (max-width: 768px) {
    .login-code .login-card-padding {
        width: 100%;
    }

    .pincode-input-container {
        display: flex;
    }

    .pincode-input-text {
        width: 100% !important;
    }
}

@media only screen and (max-width: 700px) {
    .login-card-container {
        max-width: 100% !important;
    }

    .register-event-title {
        font-size: 2rem;
    }

    .btn-login {
        padding: 0.8rem 1.6rem !important;
    }
}

@media only screen and (max-width: 480px) {
    .login-box {
        padding: 10px !important;
    }
}

.card-divider {
    width: 100%;
    margin-top: 5px;
}

    .card-divider > div {
        width: 95%;
        height: 3px;
        margin-left: auto;
        margin-right: auto;
        background-color: #ffff;
    }

.card-header {
    height: 2em;
    text-align: center;
    font-size: 1.5em;
    color: white;
    border: none !important;
    background: transparent !important;
}

.login-card-body {
    max-height: initial !important;
    padding-top: 0.5rem !important;
}

.login-box {
    width: 100%;
    position: relative;
    padding: 0 30px 15px 30px;
    color: #dddf;
}

    .login-box .form-group {
        margin-bottom: 7px !important;
    }

        .login-box label,
        .login-box .form-group > div {
            color: white;
            margin-bottom: 0.3rem;
        }

    .login-box .form-control {
        height: calc(1.25em + 0.75rem + 2px);
        font-size: 0.9rem;
    }

    .form-group:last-child > div {
        margin-bottom: 0;
    }

    .checkbox {
        text-align: right;
    }

.login-clickable-link {
    color: white !important;
    font-size: 1.2em;
}

.login-clickable-link-small {
    color: white !important;
    font-size: .8em;
}

    .login-description {
        color: white;
        font-size: 1em;
    }

.checkbox > label {
    color: #dddf;
    font-size: .8em;
}