﻿.form-check-input {
    position: absolute;
    opacity: 0;
}

.form-check-label {
    position: relative;
    padding-left: 2em;
    cursor: pointer;
    margin-bottom: 1px;
}

.form-check-label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 1.5em;
    height: 1.5em;
    border: 1px solid #999;
    background-color: #fff;
}

.form-check-input:checked + .form-check-label:before {
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.form-check-label:hover:before {
    border-color: #1861ac;
}

.form-check-input:focus + .form-check-label:before {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

body ul {
    list-style-type: circle;
}

p {
    vertical-align: middle;
}

a {
    color: #2c2f34;
}

a.toggle-vis {
    cursor: pointer;
    float: right;
}

li {
    font-family: 'Heebo', sans-serif;
    font-size: 16px;
}

.container {
    width: 100%;
}

.icon-with-text {
    cursor: pointer;
}

#filter-wrapper {
    background-color: #ffd618;
    padding: 12px 10px 0 10px;
    font-weight: bold;
}

#filter-wrapper label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.filter-select-element {
    margin-bottom: 15px;
}
table{
    font-size: 0.9rem;
}   

table.data-table {
    width: 100% !important;
    table-layout: fixed !important;
}

td {
    font-weight:bold;
}

td:not(:first-child) {
    width: 50px;
}

th:first-child {
    width: 200px !important;
}

th.narrow {
    width: 25px;
}

th.middle {
    width: 25px !important;
}

img.icon.rkh-icon {
    width: 2.4rem;
}

img.icon.sh-icon {
    width: 3.8rem;
    margin-top: -4px;
}

input,
select {
    padding: 0.4em 0.8em;
    margin: 0;
    border: 1px solid black;
}

input {
    position: relative;
    width: 100%;
}

textarea {
    width: 100%;
    height: 200px !important;
}

label {
    font-weight: normal;
}

.nav-item {
    font-size: 1.5em;
    font-weight: bold;
    border-left: 2px solid #aaa;
    padding-left: 10px;
    margin-left: 10px;
}

.nav-item.small {
    font-size: 1em;
    font-weight: normal;
    border-left: 0;
    margin-top: 0.5em;
}

.navbar-brand img {
    height: 75px;
}

a.navbar-brand {
    font-size: 0px;
}

.bi-circle,
.bi-circle-fill,
.bi-circle-half,
.bi-lock,
.bi-unlock {
    border: 2px solid black;
    border-radius: 50%;
    width: 2.15rem;
    height: 2.15rem;
    display: inline-block;
    font-size: 1.25rem;
    padding-left: 6px;
    vertical-align: middle;
}

.bi-circle::before {
    content: none !important;
}

.bi-circle-fill,
.bi-circle-half {
    background-color: #ffd618;
    border: 2px solid black;
}

.bi-circle-fill::before,
.bi-circle-half::before {
    content: none !important;
}

.bi-circle-half {
    overflow: hidden;
    position: relative;
}


.bi-circle-half:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: white;
}

.bi-unlock {
    background-color: #FF993A;
}

hr {
    margin-top: 0.5rem;
    margin-bottom: 0.7rem;
}

input[type=checkbox] {
    width: 1em;
    margin: 10px 0 0 10px;
    height: 1em;
}

.container.wide {
    margin: 5px;
    max-width: 100%;
}

main {
    margin-bottom: 150px;
}

.filter-select-element {
    display: inline-block;
}

.dataTables_filter {
    display: inline-block;
}

.dataTables_filter label {
    display: inline-flex;
}

table.data-table-public th {
    display: none;
}

table.dataTable tbody td:first-child {
    vertical-align: middle;
}

.week-panel {
    margin-bottom: 15px;
    text-align: center;
}

.row {
    padding: 0.3em 0;
}

.row.my:nth-child(odd) {
    background: #e6f2f5;
}

.footer {
    background-color: #333;
    position: fixed;
}

.footer img {
    margin: 10px 0;
    height: 65px;
}

.footer .container {
    display: none;
}

@media (max-width:961px) {

    table.dataTable tbody td {
        padding: 4px !important;
    }

    td:not(:first-child) {
        width: 32px;
    }

    .rkh-icon {
        width: 2.2rem;
    }

    .sh-icon {
        width: 3.4rem;
    }

    .bi-circle,
    .bi-circle-fill,
    .bi-circle-half,
    .bi-lock,
    .bi-unlock {
        border: 2px solid black;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        display: inline-block;
        font-size: 18px;
        padding-left: 4.5px;
        vertical-align: middle;
    }
}