.spinner {
    display: inline-block;
    margin-top: 1rem;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: .25em solid #C8141E;
    border-right-color: transparent;
    border-radius: 50%;
    color: #C8141E;
    -webkit-animation: spinner 1.25s linear infinite;
    animation: spinner 1.25s linear infinite;
    margin-right: 20px;
}

.errorbox {
    padding: 2rem;
    border-radius: 2rem;
    background-color: #c8141e33;
    border: 1px solid #c8141e;
}

.hide {
    display: none !important;
}

.spinner-big {
    width: 3rem;
    height: 3rem;
}

.spinner-small {
    width: 1rem;
    height: 1rem;
    border: .15em solid #C8141E;
    border-right-color: transparent;
    margin-right: 1rem;
}


@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

.num_stat {
    width: 100%;
}

.num_stat td {
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    position: relative;
    list-style: none;
    border: 1px solid #cccccc;
    padding: 10px;
    min-height: 118px;
    background: #f5f6ff;
}

.w50p {
    width:50%;
}

.text-left {
    text-align: left;
}

.login,
.login > a {
    text-align: right;
    text-decoration: none;
    color: #B3B3B1;
    font-size: 1.2rem;
}

.num_stat td:nth-child(odd) {
    background: #fbdfe1;
}

.num_stat td:hover {
    background: #dbe0ff;
}

.num_stat td:nth-child(odd):hover {
    background: #f9c9ca;
}

.num_stat td i.big {
    text-align: center;
    font-weight: 400;
    font-size: 120%;
    display: block;
    font-style: normal;
}

.num_stat td .value {
    font-weight: 400;
    font-size: 250%;
}

ul.num_stat {
    list-style-type: none;
    margin-left: 0px;
}

.statcounter {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    background: #f5f6ff !important;
}

.systempanel > .state {
    float: right;
    display: inline;
    clear: both;
}

.systempanel {
    padding: 10px 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    margin-bottom: 15px;
}

h4 {
    margin-bottom: 10px;
    margin-top: 20px;
    font-weight: bold;
}

h5 {
    font-weight: bold;
}

.top-space-small{
    margin-top: 1rem;
}

.default-button{
    display: inline-block;
}

.datelabel {
    border-style: solid;
    border-bottom-width: 1px;
    border-color: #E0E0E0;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.incidentOk,
.incident-entry-timestring {
    color: #B3B3B1;
}

.status-day,
.status-month {
    margin-top: 20px;
}

.incident-history {
    border-style: solid;
    border-top-width: 1px;
    border-color: #E0E0E0;
    margin-top: 60px;
}

.incident-history a,
.incident-history a:visited {
    text-decoration: none;
    color: #B3B3B1;
}


.incident-current a,
.incident-current a:visited {
    text-decoration: none;
    float: right;
    display: inline;
    clear: both;
    color: black;
    padding: 15px 0px;
}

.headline {
    text-align: left;
    margin-bottom: 60px;
}

.pager li > a, .pager li > span {
    border-radius: 5px!important;
}

.incident-history-pager {
    float: right;
    display: inline;
    clear: both;
}

.incident-history-pager a {
    border-radius: 4px;
    height: 34px;
    width: 34px;
    text-align: center;
    line-height: 36px;
    border-width: 1px;
    border-style: solid;
    display: inline-block;
    border-color: #E0E0E0;
    color: #B3B3B1;
}

.incident-history-pager span {
    padding: 10px;
}


.incident-entry-container {
    margin-bottom: 20px;
}

.incident-entry-title {
    font-weight: bold;
}

.incident-entry-description {
    font-size: 90%;
}

.incident-entry-timestring {
    font-size: 80%;
}


.state > .glyphicon {
    margin-left: 20px;
}

.mt-20 {
    margin-top: 20px;
}

.ml-20 {
    margin-left: 20px !important;
}

.col-left {
    float: left;
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.col-right {
    float: right;
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.checkbox {
    display: inline-block;
    height: 1em;
    width: 1em;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-right: 1.2em;
    margin-top: 1.2em;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


.spin {
    animation-name: spin;
    animation-duration: 4000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.float-right {
    float:right;
}

.clear {
    clear:both;
}

.ml-10 {
    margin-left: 10px;
}

select {
    background-color: #fff;
    color: #656e7b;
    padding: 0.5rem;
    border-radius: 5px;
    border: 1px solid #dadde2;
    line-height: 1.44;
    font-size: 18px;
    margin: 0.5rem;
}


.inputbox {
    position: relative;
}

    .inputbox .input {
        border: 1px solid #dadde2;
        border-radius: 5px;
        padding: 0.75rem 0.5rem 0.5rem 0.5rem;
        line-height: 1.5rem;
        margin: 0.5rem 0;
        font-size: 18px;
        outline: none;
        transition: border-color 200ms ease-in-out;
        width: 50%;
    }

        .inputbox .input:focus {
            border-color: #1478C8;
        }

.inputbox__infotext {
    margin-top: -0.4rem;
    margin-left: 0.5rem;
    font-size: 15px;
    line-height: 22px;
}

.radiobox__infotext {
    margin-left: 0.5rem;
    font-size: 15px;
    line-height: 22px;
}

.inputbox label {
    position: absolute;
    left: 0.5rem;
    top: 1.4rem;
    transition: font-size 200ms ease-in-out, top 200ms ease-in-out;
    line-height: 1;
    padding: 0 0.5rem;
    cursor: text;
    background: #fff;
}

.inputbox .input:focus ~ label,
.inputbox .input:not(:placeholder-shown).input:not(:focus) ~ label {
    top: 0.25rem;
    font-size: 12px;
}

.inputbox .input:disabled {
    background-color: #f5f5f5;
}

    .inputbox .input:disabled:placeholder-shown ~ label {
        color: #dadde2;
        background-color: #f5f5f5;
    }

input[type=submit]{
    margin-top: 1rem;
}

.radiobox{
    margin-top: 0.5rem;
    margin-left: 0.5rem;
}

.radiobox label {
    padding-left: 0.5rem;
}

.section{
    border: 1px solid #dadde2;
    padding: 2rem;
    border-radius: 2rem;
}

    .section ul {
        margin-left: 2rem;
        margin-top: 1rem;
    }

.passwordbox{
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: fit-content;
}

.passwordbox p.text-large{
    padding: 1rem;
    border-radius: 1rem;
    background: #dadde2;
}

.qr-box{
    margin: 5rem 0;
    display: flex;
    justify-content: center;
}

.qr-box .qr-code{
    border-radius: 5px;
}

.qr-box div{
    display: flex;
    padding: 2rem;
    align-items: center;
    gap: 2rem;
    width: 30rem;
}

.continue-box{
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}


@media all and (max-width: 800px) {
    .inputbox .input {
        width: 90%;
    }

}

@media all and (max-width: 600px) {
    .qr-box div {
        justify-content: center;
        flex-wrap: wrap;
    }
}