@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('../lib/bootstrap/dist/css/bootstrap.min.css');
@import url('../lib/font-awesome/css/all.min.css');

@font-face {
    font-family: Poppins;
    src: url('../font/Poppins-Regular.ttf');
}


html, body {
    font-family: Poppins, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 13px;
    background-image: url('/image/background.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: none;
    border: 1px solid lightslategray;    
    border-radius: 5px;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

    .light-title {
        color: lightslategray;
    }   

input:focus + div .input-tip {
    color: darkgreen;
}

.tbox {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);    
    padding: 1rem;   
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 0.625rem;
}

.tbox h3 {
    margin: 0 0 1.875rem;
    padding: 0;
    color: #fff;
    text-align: center;
}

.tbox .tbox-input {
    position: relative;
}

    .tbox .tbox-input input {
        width: 100%;
        padding: 0.625rem ;
        color: #fff;
        background: transparent;
        border: none;
        border-bottom: 0.065rem solid #fff;
        outline: none;
        letter-spacing: 0.062rem;
    }


        .tbox .tbox-input label {
            position: absolute;
            top: 0;
            left: 0;
            padding: 0.625rem 0;
            font-size: 1rem;
            color: #fff;
            pointer-events: none;
            transition: 0.5s;
        }

    .tbox .tbox-input input:focus ~ label,
    .tbox .tbox-input input.modified ~ label {
        top: -1.8rem;
        left: 0;
        font-size: 0.85rem;
        color: lightslategray;
    }