/*:::::::::::::::::::::: general ::::::::::::::::::::::*/
/* div {
    border: red solid 1px;
} */

body {
    padding-top: 70px;
    padding-bottom: 20px;
    scroll-padding-top: 70px;

    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    font-family: 'Raleway', sans-serif;
}

*, ::after, ::before {
    box-sizing: border-box
}

.sticky-header {
    position: sticky !important;
    top: 65px;
}

.container-width {
    width: 100%;
    height: auto;
}

.container-width-50 {
    width: 50%;
    height: auto;
}

.image-container-height {
    height: 100% !important;
    width: auto !important;
}

.height-container {
    max-height: 30vh;
    overflow: auto;
}

.max-height-20 {
    max-height: 20vh;
    overflow: auto;
}

.max-height-30 {
    max-height: 30vh;
    overflow: auto;
}

table thead,
table tfoot {
    position: sticky;
}

table thead {
    inset-block-start: 0;
    /* "top" */
    background-color: #ffffff;
    /* outline: 1px solid #000000; */
}

td.center {
    align-items: center;
    text-align: center;
}

td.right {
    align-items: end;
    text-align: end;
}

td.middle {
    vertical-align: middle;
}

td.nowrap {
    white-space: nowrap;
}

tbody>tr {
    cursor: pointer;
}

tr.overdue {
    background-color: rgba(255, 0, 0, 0.1);
}

.status-good {
    color: green;
}

.status-bad {
    color: red;
}

.status-pending {
    color: orange;
}

.status-invalid {
    color: #dddddd;
}

.progress-bar {
    background-color: #000000 !important;
}

/*:::::::::::::::::::::: menu ::::::::::::::::::::::*/
nav {
    background-color: #000000;
}

/*:::::::::::::::::::::: table ::::::::::::::::::::::*/
thead {
    font-weight: bold;
}

tbody>tr:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/*:::::::::::::::::::::: tiles ::::::::::::::::::::::*/
.tile-container {
    background-color: rgba(0, 0, 0, 0.075);
    /* height: 100%;
    width: 100%; */
}

/* 
.tile-value {
    font-size: 4em;
} */

.tile-header {
    font-size: 1.5em;
}

/*:::::::::::::::::::::: login ::::::::::::::::::::::*/
.login-background {
    background-image: url("/media/matrix.jpg");
    background-size: cover;
    padding-top: 0;
}

/*:::::::::::::::::::::: theme ::::::::::::::::::::::*/
.document-note {
    padding: 5px;
    background-color: lightgrey;
    border-radius: 5px;
}

.toast {
    background-color: #000000 !important;
    color: #ffffff !important;
}

.border-light {
    border: 2px grey solid !important;
    border-radius: 20px;
}

.select-filter {
    width: 100% !important;
}

.chosen-styling {
    border: 1px solid #aaa;
    line-height: 13px !important;
}

input, select {
    background-color: transparent !important;
    border: solid black 2px !important;
    border-radius: 20px !important;
}

input:read-only, select:disabled {
    border-color: lightgrey !important;
}

button:disabled {
    background-color: grey !important;
}

.clear-input {
    border: none !important;
}

input:-webkit-autofill,
input:-webkit-autofill:focus {
    transition: background-color 600000s 0s, color 600000s 0s;
}

input[data-autocompleted] {
    background-color: transparent !important;
}

.input-black {
    color: black !important;
}

input:checked[type=checkbox] {
    accent-color: #000000;
}

::-webkit-file-upload-button {
    background: #ffffff !important;
    border: none;
}

a[disabled], a[disabled]:hover {
    pointer-events: none;
    opacity: 50%;
}

/* ::placeholder {
    color: inherit !important;
} */

.button-black {
    border-radius: 10rem !important;
    border: #000000 solid 2px;
    padding: 15px 25px !important;
    background-color: #000000;
    color: #ffffff !important;
    text-decoration: none;
}

.button-black:hover {
    background-color: #ffffff;
    color: #000000 !important;
    cursor: pointer;
}

.button-grey {
    border-radius: 10rem !important;
    border: #aaaaaa solid 2px;
    padding: 15px 25px !important;
    background-color: #aaaaaa;
    color: #000000 !important;
    text-decoration: none;
}

.button-grey:hover {
    background-color: #2a2a2a;
    color: #ffffff !important;
    cursor: pointer;
}

.button-small-black {
    border-radius: 10rem !important;
    padding: 5px 10px !important;
    background-color: #000000 !important;
    text-decoration: none !important;
    border: #000000 solid 1px;
    margin: 5px 5px !important;
    color: #ffffff !important;
}

.button-small-black:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
}

.button-small-white {
    border-radius: 10rem !important;
    padding: 5px 10px !important;
    color: #000000 !important;
    text-decoration: none !important;
    border: none;
    margin: 5px 5px !important;
    background-color: #ffffff !important;
}

.button-small-white:hover {
    color: #ffffff !important;
    background-color: #000000 !important;
}

/*:::::::::::::::::::::: scroll ::::::::::::::::::::::*/
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: inherit;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #000000;
}

::-webkit-scrollbar-thumb:hover {
    background: #999;
}

::-webkit-scrollbar-corner {
    background-color: transparent;
}