﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Segoe UI',sans-serif;
    color: darkslategray;
}

label {
    margin-bottom: 0;
}

a, .btn-link {
    color: white;
}

    a:hover, .btn-link:hover {
        color: white;
    }

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

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

.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;
}

.checkbox label {
    background: none;
    display: inline-block;
    cursor: pointer;
    line-height: 20px;
    margin: 0;
    position: relative;
    vertical-align: middle;
}

.checkbox .checkbox-status {
    background-color: #fff;
    border: solid 1px rgba(0,0,0,0.2);
    box-sizing: border-box;
    display: inline-block;
    content: "";
    height: 19px;
    margin: 0 0.5em 0 0;
    transition-duration: 0.3s;
    width: 19px;
    vertical-align: top;
}

.checkbox .checkbox-status:after {
    content: "";
    height: 11px;
    left: 4px;
    position: absolute;
    transition-duration: 0.3s;
    top: 4px;
    width: 11px;
}

.checkbox input {
    cursor: pointer;
    height: 20px;
    left: 0;
    margin: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    width: 20px;
}

.checkbox input:checked + .checkbox-status {
    border-color: firebrick;
}

.checkbox input:checked + .checkbox-status:after {
    background: firebrick;
}

.checkbox input:checked:disabled + .checkbox-status:after {
    background: rgba(0,0,0,0.2);
}

.checkbox input:disabled + .checkbox-status {
    background-color: #f0f0f0;
    border-color: rgba(0,0,0,0.2);
}
