@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
}

a, .btn-link {
    color: #333;
}

    a:hover {
        color: #222;
    }


.btn-primary {
    color: #fff;
    background-color: #0f58a8;
    border-color: #0c4a8e;
}

    .btn-primary:hover {
        background-color: #0e4077;
        border-color: #093565;
    }

    .btn-primary:focus,
    .btn-primary:disabled {
        background-color: #0f58a8;
        border-color: #0c4a8e;
    }

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

ul.validation-errors {
    margin-bottom: 0px;
    margin-block-start: 0px;
    margin-block-end: 0px;
    padding-inline-start: 0px;
    list-style-type: none;
}



.validation-message {
    color: inherit;
}

#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;
    }


.min {
    width: 1px;
    white-space: nowrap;
}

.no-wrap {
    white-space: nowrap;
}

.max {
    width: 100%;
}

tr.even {
    background-color: #F0F0F0;
}

tr.odd {
    background-color: #FFFFFF;
}

.text-smaller {
    font-size: 85%;
}

.donut-chart {
}

    .donut-chart div svg .ring,
    .donut-chart div svg .segment-1,
    .donut-chart div svg .segment-2,
    .donut-chart div svg .segment-3,
    .donut-chart div svg .segment-4 {
        stroke-width: 7px;
    }


.battery-warning, .battery-warning-lg {
    width: 40px;
    height: 40px;
    display: inline-block;
    position: absolute;
    float: left;
    margin-left: 20px;
    margin-top: 20px;
    z-index: 100;
}

.battery-warning-lg {
    width: 60px;
    height: 60px;
}

.battery-soc {
    position: relative;
    height: 0px;
    top: 95px;
    font-size: 30px;
    z-index: 10;
    /* border: solid 1px red; */
    vertical-align: bottom;
    float: left;
    width: 100%;
    text-align: center;
    padding-right: 8px;
}

/* Adds form-control-sm styling to all form-control elements within the form-sm */
.form-sm {
    font-size: .875rem;
    line-height: 1.5;
}

    .form-sm .form-control {
        height: calc(1.5em + .5rem + 2px);
        font-size: .875rem;
        line-height: 1.5;
        padding: .25rem .5rem;
        border-radius: .2rem;
    }

    .form-sm textarea.form-control {
        height: inherit;
    }

    .form-sm label {
        padding-top: calc(.25rem + 1px);
        padding-bottom: calc(.25rem + 1px);
        font-size: .875rem;
        line-height: 1.5;
        margin-bottom: 0;
        font-weight: bold;
    }

        .form-sm label input[type=checkbox],
        .form-sm label input[type=radio] {
            vertical-align: top;
            margin-top: 0.25rem;
        }

    .form-sm .form-check-label {
        font-weight: normal;
    }



    .form-sm .form-group {
        margin-bottom: 0.5em;
    }

    .form-sm .btn {
        padding: .25rem .5rem;
        font-size: .875rem;
        line-height: 1.5;
        border-radius: .2rem;
    }

.form-control[readonly] {
    background-color: inherit;
    border: 0;
    border-bottom: solid 1px silver;
    border-radius: 0;
}

.form-check-list {
    border: 1px solid #ced4da;
    border-radius: .25rem;
}

    .form-check-list .form-check-list-header {
        padding: 0 0.25rem;
    }

    .form-check-list .form-check-list-items {
        height: 200px;
        overflow-y: scroll;
        overflow-x: hidden;
        padding: 0.25rem;
        padding-top: 0;
        border-top: 1px solid #ced4da;
    }

        .form-check-list .form-check-list-items label {
            font-weight: normal;
        }

        .form-check-list .form-check-list-items.disabled label {
            opacity: 0.4;
        }

        .form-check-list .form-check-list-items .row {
            vertical-align: middle;
        }

            .form-check-list .form-check-list-items .row:nth-child(odd) {
                background-color: #f8f8f8;
            }

.modal-backdrop ~ .modal-backdrop {
    z-index: 1140;
}

.modal-footer .btn {
    min-width: 7em;
}

.modal-body pre {
    font-size: 8pt;
    color: dimgray;
}


.modal-header .modal-title h5 {
    margin-bottom: 0;
    vertical-align: middle;
    display: inline-block;
}

.modal-header .modal-title i {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background-size: 2rem;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-right: 10px;
}

    .modal-header .modal-title i.modal-icon-success {
        background-image: url('../img/success-white.png');
    }

    .modal-header .modal-title i.modal-icon-info {
        background-image: url('../img/info-white.png');
    }

    .modal-header .modal-title i.modal-icon-warning {
        background-image: url('../img/warning-black.png');
    }

    .modal-header .modal-title i.modal-icon-danger {
        background-image: url('../img/danger-white.png');
    }

    .modal-header .modal-title i.modal-icon-light {
        background-image: url('../img/app-black.png');
    }

    .modal-header .modal-title i.modal-icon-dark {
        background-image: url('../img/app-white.png');
    }

    .modal-header .modal-title i.modal-icon-primary {
        background-image: url('../img/app-white.png');
    }

    .modal-header .modal-title i.modal-icon-secondary {
        background-image: url('../img/app-white.png');
    }


.input-warning {
    border-left: solid 4px #ffc107 !important;
}
.input-success {
    border-left: solid 4px #28a745 !important;
}
.input-danger {
    border-left: solid 4px #dc3545 !important;
}
.input-primary {
    border-left: solid 4px #007bff !important;
}
.input-secondary {
    border-left: solid 4px #6c757d !important;
}
.input-info {
    border-left: solid 4px #17a2b8 !important;
}
.input-light {
    border-left: solid 4px #f8f9fa !important;
}
.input-dark {
    border-left: solid 4px #343a40 !important;
}

.w-40{
    width: 40%;
}

.d-lineheight{
    height: 1.2rem;
    line-height: 1.2rem;
    vertical-align: middle;
}

.cursor-pointer{
    cursor: pointer;
}