body, h1, h2, h3, h4, h5, h6, input, select, textarea, option, pre, dd, .form-control {
    font-weight: 300;
    font-family: 'Open Sans', 'Lato', sans-serif !important;
    font-style: normal;
}

.container {
    max-width: 95vw;
}

pre {
    margin-bottom: 5px;
}

.btn-link {
    font-weight: 300;
}

dt, .w-counter {
    font-weight: bolder;
}

/* fixed top navbar */
body {
    /*min-height: 75rem;*/
    padding-top: 4.5rem;
}

nav.bg-dark {
    background-color: #1d2734 !important;
}

.navbar-nav .nav-link.active {
    box-shadow: inset 0 3px #46b43c;
}

.dropdown-menu{
    background-color: #1d2734;
    border: none;
    outline: none;
    text-decoration: none;

}

.dropdown-divider{
    border-top: none;
}

.dropdown-menu .dropdown-item{
    color: white;
    border: none;
    outline: none;
}

.dropdown-menu .dropdown-item:active {
    background-color: transparent;
}

.dropdown-menu .dropdown-item:hover {
    box-shadow: inset 0 3px rgba(255, 255, 255, 0.3);;
    background-color: transparent;
}

.navbar-nav .nav-link:hover:not(.active) {
    box-shadow: inset 0 3px rgba(255, 255, 255, 0.3);;
}

select {
    overflow-y: auto;
}

.form-group {
    padding-top: 10px;
}

.form-control-label, .col-form-label {
    font-weight: bolder;
    color: #1d2734;
    margin-bottom: 3px;
}

dt.main-tag {
    width: 200px;
}

dd.main-def {
    width: calc(100% - 210px);
    margin-left: 10px;
}

dd.sec-tag {
    width: 200px;
}

.status-pending {
    font-weight: bolder;
    color: #f0ad4e;
}

.status-approved {
    font-weight: bolder;
    color: #5cb85c;
}

.status-rejected {
    font-weight: bolder;
    color: #d9534f;
}

.status-partly-distributed {
    font-weight: bolder;
    color: #660099;
}

.status-distributed {
    font-weight: bolder;
    color: #0033cc;
}

.remove-btn-parent {
    display: inline-block;
    align-self: flex-end;
    margin-bottom: 5px;
    cursor: pointer;
}

.remove-btn-parent {
    pointer-events: none;
}

.remove-worker-btn {
    pointer-events: auto;
}

.remove-btn-parent:hover {
    margin-bottom: 0;
    margin-left: -2px;
}

.remove-btn-parent:hover .remove-worker-btn {
    font-size: x-large;
    color: orangered;
}

.btn-container {
    display: flex;
    flex-direction: column;
}

.btn-container > form {
    width: 100%;
    margin-bottom: 5px;
}

.btn-container > button {
    width: 100%;
    margin-bottom: 5px;
}

.btn-container > a {
    width: 100%;
    margin-bottom: 5px;
}

.btn-distrib {
    width: 95%;
}

.btn-container > form > input[type="submit"] {
    width: 100%;
}

.bordered-div {
    border: 2px solid #c7cdcf;
    padding: 10px 10px 15px;
    margin: 5px;
    border-radius: 10px;
}

.table-scroll {
    position: relative;
    width: 100%;
    z-index: 1;
    margin: auto;
    overflow: auto;
    height: calc(100vh - 200px);
    /*height: 450px;*/
}

.table-scroll.home {
    height: calc(100vh - 320px);
}

.table-scroll table {
    width: 100%;
    min-width: 980px;
    margin: auto;
    border-collapse: separate;
    border-spacing: 0;
}

.table-scroll th,
.table-scroll td {
    vertical-align: top;
}

.table-scroll thead th {
    position: -webkit-sticky;
    position: sticky;
    background: #fff;
    top: 0;
    border-bottom: 1px solid currentcolor;
}

th:first-child {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    z-index: 2;
}

tbody th:first-child {
    font-weight: 300;
    background: white;
}

thead th:first-child {
    z-index: 5;
}

#user-management td {
    vertical-align: middle;
}

#formFilterContainer {
    display: none;
}

#toggleFilterButton {
    margin-bottom: 20px;
    float: right;
}

.person-boncoins-label {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0;
}

/* remove arrows/spinners from number input */

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}