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

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color:whitesmoke;
    color: #566944;
    padding: 0px;
}

a, .btn-link {
    color: #0366d6;
}

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

.content {
    padding-top: 1.1rem;
}

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

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.error-message {
    color: red;
    font-weight: bold;
    font-variant: small-caps;
    margin: 3px;
}

.firstRow {
    font-size: 18px;
    font-family: 'georgia';
}

.lastRow {
    margin-bottom: 10px;
}

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

.Blackbutton {
    background: #ffff;
    color: #566944;
    border-radius: 4px;
    border-color: #ffffff;
    height: 35px;
    text-align: center;
}

    .Blackbutton:hover {
        background-color: #566944;
        color: #ffff;
    }

.loader {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: block;
    margin: 15px auto;
    position: relative;
    background: #566944;
    color: #729556;
    box-shadow: -24px 0, 24px 0;
    box-sizing: border-box;
    animation: rotation 2s ease-in-out infinite;
}

.padding {
    padding: 30px;
}
.checkbox-rect input[type="checkbox"] {
    display: none;
}

    .checkbox-rect input[type="checkbox"] + label {
        display: block;
        position: relative;
        padding-left: 35px;
        margin-bottom: 20px;
        font: 14px/20px "Open Sans", Arial, sans-serif;
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }

    .checkbox-rect input[type="checkbox"]:hover + label:hover {
        color: black;
    }

    .checkbox-rect input[type="checkbox"]:hover + label:before {
        background: #50565a;
        box-shadow: inset 0px 0px 0px 2px #f7f2f2;
    }

    .checkbox-rect input[type="checkbox"] + label:last-child {
        margin-bottom: 0;
    }

    .checkbox-rect input[type="checkbox"] + label:before {
        content: "";
        display: block;
        width: 1.4em;
        height: 1.4em;
        border: 1px solid #343a3f;
        border-radius: 0.2em;
        position: absolute;
        left: 0;
        top: 0;
        -webkit-transition: all 0.2s, background 0.2s ease-in-out;
        transition: all 0.2s, background 0.2s ease-in-out;
        background: #f3f3f3;
    }

    .checkbox-rect input[type="checkbox"]:checked + label:before {
        width: 1.3em;
        height: 1.3em;
        border-radius: 0.2em;
        border: 2px solid #fff;
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
        background: #50565a;
        box-shadow: 0 0 0 1px #000;
    }

.toggler-wrapper {
    display: block;
    width: 45px;
    height: 25px;
    cursor: pointer;
    position: relative;
}

    .toggler-wrapper input[type="checkbox"] {
        display: none;
    }

        .toggler-wrapper .k-checkbox-wrap:has(input[type="checkbox"]:checked) + .toggler-slider {
            background-color: #566944;
        }

    .toggler-wrapper .toggler-slider {
        background-color: #ccc;
        position: absolute;
        border-radius: 100px;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        -webkit-transition: all 300ms ease;
        transition: all 300ms ease;
    }

    .toggler-wrapper .toggler-knob {
        position: absolute;
        -webkit-transition: all 300ms ease;
        transition: all 300ms ease;
    }

    .toggler-wrapper.style-21 .k-checkbox-wrap:has(input[type="checkbox"]:checked) + .toggler-slider .toggler-knob {
        left: calc(100% - 19px - 3px);
        background-image: url(../img/shut-down-line-on.svg);
    }

    .toggler-wrapper.style-21 .toggler-slider {
        background-color: lightgray;
    }

    .toggler-wrapper.style-21 .toggler-knob {
        width: calc(25px - 6px);
        height: calc(25px - 6px);
        border-radius: 50%;
        left: 3px;
        top: 3px;
        background-color: #fff;
        background-image: url(../img/shut-down-line-off.svg);
        background-repeat: no-repeat;
        background-position: center;
    }
@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media only screen and (max-width: 800px) {
    .padding {
        padding: 10px;
    }
}
