a {
    color: #1d93c9;
}

.expand_container {
    max-width: calc(100% - 70px);
    margin-left: 70px;
}

.expand_container-sidemenu {
    max-width: calc(100% - 470px);
    margin-left: 470px;
}

body {
    padding-top: 5rem;
    overflow-x: hidden !important;
}

.table-clickable,
.clickable {
    cursor: pointer;
}

.form-group {
    margin-bottom: 0px;
}

.card-header {
    border: 0;
    background-color: rgba(230, 230, 233, 0.25);
}

.card {
    border: 0;
    box-shadow: 0 2px 6px 0 hsla(0, 0%, 0%, 0.2);
}

.cursor-pointer {
    cursor: pointer;
}

.card-title {
    margin-bottom: 0;
}

.table_card {
    font-size: 14px;
    height: 100%;
}

.table_card tr td {
    white-space: nowrap;
}

.table_card .table thead th {
    border-bottom-width: 0;
}

.table-full-width {
    width: 100%;
}

.btn-primary {
    background-color: #1d93c9;
}

.btn-otd {
    border-radius: 40px;
}

.btn-otd-active {
    background-color: #1d93c9 !important;
    color: #ffffff !important;
}

.btn-otd:hover {
    background-color: #1d93c9;
    color: #ffffff;
}

.btn-otd:focus {
    background-color: #1d93c9;
    color: #ffffff;
}

.btn-add {
    color: #ffffff;
    background-color: #2ab02a;
    border-color: #289e26;
}

.btn-add:hover,
.btn-add:active {
    color: #ffffff;
    background-color: #289e26;
}

.btn-add:focus {
    box-shadow: 0 0 0 0.2rem rgba(42, 176, 42, 0.25);
}

.btn-delete {
    color: #ffffff;
    background-color: #e30513;
    border-color: #e43a3a;
}

.btn-delete:hover {
    color: #ffffff;
    background-color: #e43a3a;
}

.btn-delete:focus {
    box-shadow: 0 0 0 0.2rem rgba(201, 44, 44, 0.25);
}

.download-btn {
    width: 60px;
}

.control-label {
    font-weight: 500;
}

.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.errorlist {
    color: #e30513;
}

.dataTables_length label {
    margin-bottom: 0 !important;
}

.dataTables_info {
    padding-bottom: .25em !important;
}

.dataTables_paginate {
    border: 1px solid #979797;
    border-radius: 5px;
    padding-top: 0 !important;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: none !important;
}

.dataTables_paginate .paginate_button {
    border-left: 0.5px solid #979797 !important;
    border-right: 0.5px solid #979797 !important;
    margin-left: 0 !important;
    color: #1d93c9 !important;
}

.dataTables_paginate .ellipsis {
    color: #1d93c9 !important;
}

.dataTables_paginate .ellipsis:hover {
    background: none !important;
/*    background-color: #008bd2 !important;*/
    background-color: transparent !important;
    border-color: #1d93c9 !important;
    color: #1d93c9 !important;
}

.dataTables_paginate .paginate_button.previous {
    border-left: none !important;
    color: #1d93c9 !important;
}

.dataTables_paginate .paginate_button.next {
    border-right: none !important;
    color: #1d93c9 !important;
}

.dataTables_paginate .paginate_button.next:hover {
    border-right: none !important;
    color: #ffffff !important;
}

.dataTables_paginate .paginate_button.previous:hover {
    border-left: none !important;
    color: #ffffff !important;
}

.dataTables_paginate .paginate_button.previous.disabled:hover {
    background-color: transparent !important;
    border-left: none !important;
    border-top: none !important;
    border-bottom: none !important;
    color: #1d93c9 !important;
}

.dataTables_paginate .paginate_button.next.disabled:hover {
    background-color: transparent !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom: none !important;
    color: #1d93c9 !important;
}

.dataTables_paginate .paging_button a {
    border: 0 solid #1d93c9 !important;
}

.paginate-button {
    border: 1px solid #979797 !important;
    color: #1d93c9 !important;
}

.paginate_button.current {
    background: none !important;
    background-color: #008bd2 !important;
    border-color: #1d93c9 !important;
    color: #ffffff !important;
}

.paginate_button:hover {
    background: none !important;
    background-color: #008bd2 !important;
    border-color: #1d93c9 !important;
    color: #ffffff !important;
}

.dropdown-item:active {
    background-color: #1d93c9;
}

.table thead th {
    border-bottom: 0;
}

.page-link {
    color: #008bd2 !important;
}

.bg-navbar {
    background-color: #166e97 !important;
    z-index: 1 !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: #e6e6e9;
}

.comment_form {
    width: 100%;
}

.comment-table__buttons {
    visibility: hidden;
    float: right;
}

.comment-table__edit + .comment-table__delete {
    margin-left: 10px;
}

.comment-table__row:hover .comment-table__buttons {
    visibility: visible;
}

.comment-table__input {
    width: 100%;
}

.breadcrumb {
    background-color: inherit;
    margin-bottom: 0;
    padding: 0;
}

.changed-value {
    background-color: #ffdb7a;
}

.cover-user {
    background-color: #ff7c7c;
}

td.first-col-padding {
    padding: 0.75rem 0.75rem 0.75rem 1rem !important;
}
.changed-row {
    /* yellow  #ffba00 */
    display: block;
    clear: both;
    box-shadow: inset 5px 0px #ffba00;
}

.new-row {
    /* blue  #008bd2 */
    display: block;
    clear: both;
    box-shadow: inset 5px 0px #008bd2;
}

.linked-row {
    /* red  #ff0000 */
    display: block;
    clear: both;
    box-shadow: inset 5px 0px #ff0000;
}

.new-row.changed-row {
    display: block;
    clear: both;
    box-shadow: inset 5px 0px #008bd2, inset 10px 0px #ffba00;
}

.linked-row.changed-row {
    display: block;
    clear: both;
    box-shadow: inset 5px 0px #ffba00, inset 10px 0px #ff0000;
}

.linked-row.new-row {
    display: block;
    clear: both;
    box-shadow: inset 5px 0px #008bd2, inset 10px 0px #ff0000;
}

.linked-row.changed-row.new-row {
    display: block;
    clear: both;
    box-shadow: inset 5px 0px #008bd2, inset 10px 0px #ffba00,
        inset 15px 0px #ff0000;
}

.edit-mode {
    background-color: #cbeaf8 !important;
}

.issue-dropdown {
    width: 100% !important;
    padding: 4px;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.2rem;
}

.issue-dropdown option {
    padding-right: 5px;
}

.programme-card-header {
    width: 100%;
    padding: 0 15px;
    margin-top: 10px;
}

.programme-card__button-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.programme-card__button {
    padding: 0.25rem 0.5rem;
    max-width: 280px;
    font-size: 18px;
    text-align: left;
    line-height: 1.3;
    border-radius: 0.2rem;
}

.programme-card__button + .programme-card__button {
    margin-top: 15px;
}

#project_table td input.date-picker {
    padding: 5px;
    width: 85px;
    height: 30px;
}

.td-date-picker,
.td-dropdown,
.td-action-comment {
    padding: 7px !important;
    vertical-align: top !important;
}

.td-select2-category {
    padding: 5px !important;
    vertical-align: top !important;
}

.datetimepicker {
    width: auto;
    height: auto;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.2rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

input.datetimepicker[type="text"] {
    height: calc(1.5em + 0.75rem + 2px);
}

.radio {
    display: inline-block;
    padding-right: 25px;
}

.badge-new {
    background-color: #008bd2;
}

.badge-changed {
    background-color: #ffba00;
}

.helpicon {
    padding-left: 15px;
}

.icon-button {
    background-color: white;
}

.icon-button:hover {
    background-color: #c5cdcd45;
}

.plus,
.plus:hover {
    color: #2ab02a;
}

.save,
.save:hover {
    color: #1d93c9;
}

.filter-ug,
.filter-ug:hover {
    color: #1d93c9;
    cursor: default !important;
    background-color: #fff;
    padding-right: 10px;
}

.delete,
.delete:hover {
    color: #e30513;
}

.apply,
.apply:hover {
    color: #484848;
}

.wrapper {
    display: flex;
    width: 100%;
}

/* Own stacking context: keeps the card's stretched-link overlay (z-index 1) below
   the navbar (.bg-navbar is z-index 1 too), so it can't catch clicks on its menus */
.hover-zoom {
    position: relative;
    z-index: 0;
}

.hover-zoom:hover {
    transform: scale(1.03);
}

#sidebar {
    position: fixed;
    min-width: 70px;
    max-width: 70px;
    padding: 63px 0 0;
    text-align: center;
    background-color: #f0f0f2;
    z-index: 0;
    overflow-y: auto;
    top: 0;
    bottom: 0;
}

#sidebar::-webkit-scrollbar {
    width: 0px;
}

#sidebar li:hover {
    background-color: #c0c0c8;
}

#sidebar li.active {
    background-color: #166e97;
}

#sidebar div.sidebar-submenu li.active {
    background-color: #1d93c9;
}

#sidebar li.active .sidebar-option {
    color: white;
}

.sidebar-option {
    display: block;
}

.sidebar-icon {
    font-size: 25px;
    padding: 25px 10px;
}

.project-card-row {
    min-height: 180px;
}

.add-project-card {
    min-height: 180px;
}

.add-project-card__icon {
    color: gainsboro;
    font-size: 4em;
}

.add-project-card__text {
    color: silver;
}

.sidebar-submenu {
    visibility: visible;
    opacity: 1;
    max-height: 100vh;
    transition: max-height 0.5s, visibility 0.2s;
    background-color: #dcdce0;
}

.sidebar-submenu.collapsed {
    opacity: 0;
    visibility: hidden;
    max-height: 0px;
}

.sidemenu {
    display: none;
    position: fixed;
    height: 100vh;
    width: 400px;
    background-color: white;
    left: 70px;
    padding: 64px 0 0;
    top: 0;
    bottom: 0;
    z-index: 1000;
    border-right: solid #e6e6e9 1px;
}

.menu-title {
    background-color: #e6e6e9;
    display: inline-block;
    width: 100%;
    font-size: 1.25rem;
    z-index: 1000;
    padding: 10px 20px !important;
}

.compress > i,
.indicator {
    padding: inherit !important;
    color: #043962;
}

.compress > i:hover {
    cursor: pointer;
}

.sidemenu-accordion {
    width: 400px;
    padding: 10px 5px;
    margin: 0;
}

.input-sm input {
    width: 60px;
    margin: auto;
}

.collapse-scroll {
    max-height: 76vh;
    overflow-y: auto;
}

#accordion .card-header {
    cursor: pointer;
}

.active-view {
    font-weight: 500;
    color: #008bd2;
}

.export-div {
    display: flex;
    justify-content: space-between;
}

.export-type-label {
    font-weight: 500;
    padding-right: 20px;
    position: relative;
    top: 50%;
    transform: translateY(20%);
}

#graph_card,
#impact_graph_card,
#missing_parts_graph_card,
#missing_parts_global_graph_card {
    display: none;
    height: 100%;
}

.DTFC_LeftBodyLiner {
    overflow-x: hidden;
}

#graph_form .select2 {
    width: 360px !important;
}

#otd_form .select2 {
    width: 350px !important;
}

#graph_form label {
    float: left;
}

#otd_form label {
    float: left;
}

.select2-container--default .select2-selection--multiple,
.select2-container--default .select2-selection--single {
    border: 1px solid #ced4da !important;
}

.move-up {
    position: relative;
    bottom: 15px;
}

.graph-scroll {
    max-height: 87vh;
    overflow-y: auto;
}

input[type="checkbox"] {
    transform: scale(1.55);
    margin-left: 3.5px;
}

.checkbox_icons {
    font-size: 1.4em;
}

.alert {
    border-color: #e4e4e4;
    display: flex;
}

.radio-inline {
    padding-right: 60px;
}

input[type="radio"] {
    margin-right: 10px;
}

.hide {
    display: none;
}

.box {
    border: 1px solid rgba(0, 0, 0, 0.125);
    box-shadow: none;
}

[id^="filters"] {
    overflow: auto;
    max-height: 82vh; /* TODO: this in a better way */
}

.filter-option-heading {
    background-color: #f9f9f9;
    padding-left: 5px;
    padding-right: 5px;
    text-align: left;
}

.filter-option-heading:hover {
    background-color: #f0f0f0;
    cursor: pointer;
}

.filter-option-special {
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 10px;
    text-align: left;
}

.filter-option-special > a {
    font-size: small;
}

.filter-option hr {
    margin: 0;
}

.filter-option-title {
    font-weight: 600;
}

.filter-option-form .select2-container--default .select2-selection--single {
    border: 0;
}

.filter-option-form
    .select2-container
    .select2-selection--single
    .select2-selection__rendered {
    padding: 0;
}

.filter-option-form .form-group {
    padding: 2px;
}

.filter-option-form .select2-selection__arrow {
    height: 36px !important;
}

.filter-option-heading {
    border-top: #e6e6e9 1px solid;
    border-bottom: #e6e6e9 1px solid;
}

.filter-option-form {
    display: none;
    margin: 2px;
    text-align: left;
}

.form-row {
    margin: 0;
}

.active-filter {
    background-color: #e6e6e9;
    margin-top: 2px;
}

[id^="active-filter-template"],
[id^="saved-filter-template"] {
    display: none;
}

.filter-section-heading {
    text-align: left;
    font-size: large;
    font-weight: 500;
    overflow: auto;
}

[id^="saved-filters-div"],
[id^="active-filters-div"],
[id^="new-filter-div"] {
    margin-top: 20px;
}

.active-filter > .filter-string {
    /*font-size: small;*/
    display: inline-block;
    width: 90%;
    padding: 5px;
    overflow: hidden;
    /*white-space: nowrap;*/
    text-overflow: ellipsis;
}

.filter-option-form .apply-btn {
    font-size: small;
    margin-top: 10px;
    margin-bottom: 10px;
}

#saved-filters,
#saved-filters-impact,
#active-filters,
#active-filters-impact,
#new-filter-impact,
#new-filter {
    border-bottom: #e6e6e9 solid 1px;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.clear-all-btn-active-filters {
    float: right;
    font-size: small;
    margin: 0;
}

.clear-btn-active-filters {
    font-size: small;
    display: inline-block;
    padding-right: 7px;
    padding-top: 10px;
    color: #e30513;
}

.clear-btn-active-filters:hover {
    color: #a30513;
}

.filter-option-form .select2-container {
    width: 100% !important;
}

.filter-option-form .datetimepicker {
    width: 100%;
    height: calc(2.25rem + 2px); /* copied from .form-control */
    padding: 0.375rem 0.75rem; /* copied from .form-control */
}

.saved-filter {
    padding-left: 5px;
    padding-right: 5px;
    text-align: left;
}

.saved-filter-apply-btn {
    padding: 5px;
}

.saved-filter-delete-btn {
    padding-top: 1px;
}

.saved-filter-apply-btn:hover {
    background-color: #f0f0f0;
    cursor: pointer;
}

.saved-filter.active {
    background-color: #008bd2;
}

.saved-filter {
    border-bottom: #e6e6e9 solid 1px;
    padding-left: 10px;
    padding-top: 1px;
    padding-bottom: 1px;
}

.saved-filter > .row > .col-lg-2 {
    padding-right: 5px;
    padding-left: 5px;
}

.saved-filter > .row > .col-lg-10 {
    padding-right: 0;
    padding-left: 5px;
}

.saved-filter-title {
    font-weight: 600;
}

.saved-filter .delete-btn {
    display: inline-block;
}

[id^="new-filter-msg"] {
    display: none;
    font-size: small;
    margin: 0;
    padding-left: 5px;
    padding-top: 2px;
    text-align: left;
    color: #e30513;
}

[id^="filter-asterisk"] {
    font-size: xx-small;
    position: absolute;
}

.filter-option-form .radio input {
    margin-right: 5px;
    vertical-align: -2px;
}

.vertical-center {
    margin: 0;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
}

.vert-cent {
    margin-top: 30vh;
}

.filter-option-form .radio label {
    font-size: small;
}

.add-form {
    display: inline-block;
    max-width: 740px !important;
}

.add-form-lg {
    display: inline-block;
    max-width: 1045px !important;
}

.filter-option-form .checkbox input {
    margin-right: 5px;
}

th > .filtered {
    display: none;
    font-size: small;
    color: #008bd2;
}

.date_added-icon {
    width: fit-content;
    margin: 0 auto;
    float: left;
}

#date_added_div {
    margin-left: 60px;
}

.modal-dialog {
    overflow-y: initial !important;
}

.modal-body {
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.wide-class {
    min-width: 250px !important;
}

.ui-state-default {
    background: 0 !important;
    border: 0 !important;
    height: 30px;
    margin: 5px;
    border-bottom: 1px solid #c5c5c5 !important;
}

.ui-state-default:hover {
    cursor: grab;
    background-color: #ceced6 !important;
}

#id_row {
    cursor: no-drop;
}

#userguide_icon:hover {
    cursor: pointer;
}

#userguide_icon.disabled {
    pointer-events: none;
    opacity: 0.4;
}

.otd_table > * th,
.otd_table > * td {
    padding: 0px 0.3rem !important;
    vertical-align: middle !important;
    horizontal-align: middle !important;
    height: 30px !important;
    text-align: center;
}

.otd_table {
    width: 90% !important;
}

.pink {
    color: rgb(210, 0, 70) !important;
}

main {
    position: absolute;
    left: 0;
    right: 0;
    height: 90% !important;
}

.no-scroll {
    overflow: hidden !important;
}

.scrollyscroll {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}

.headcol {
    position: absolute;
    width: 150px;
    top: auto;
    border-right: 0px none black;
    border-top-width: 3px; /*only relevant for first row*/
    left: 20px;
}

.lefttitle {
    margin-left: -150px;
    margin-bottom: 15px;
}

.lastcol {
    position: absolute;
    width: 85px;
    right: 30px;
    top: auto;
    border-top-width: 1px;
}

.body-scroll {
    overflow-y: scroll;
    position: relative;
    height: 100%;
}

.grey-bold {
    background-color: #f0f0f2;
    font-weight: 700;
    height: 46px;
}

.grey-bold-small {
    background-color: #f0f0f2;
    font-weight: 700;
}

.small-height {
    font-size: 12px !important;
}

.bold {
    font-weight: 700;
}

.white {
    color: white !important;
}

.sechel-blue {
    color: #008bd2 !important;
}

.make-green {
    background-color: #98f498 !important;
}

.make-red {
    background-color: #fb6666 !important;
}

.title-icon {
    padding: 0px 10px;
    color: #166e97;
}

li:hover div.no-dropdown {
    display: none !important;
}

.middle {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 150px;
}

.rft-card {
    margin-left: 150px;
    margin-right: 95px;
}

.otd-card {
    margin-left: 20px;
}

.otd-table-insert {
    margin-top: 20px;
}

.otd_table_card {
    margin-bottom: 20px;
}

.bottom-space {
    margin-bottom: 5px;
}

.apply-rft {
    vertical-align: bottom;
    margin-top: 30px;
    margin-left: 30px;
    height: 35px;
}

.otd-card td {
    min-width: 50px !important;
}

.darker-top {
    border-top: 1px solid #a9a9a9 !important;
}

.grey-cell {
    border-top: 0px !important;
    background-color: #f0f0f2 !important;
}

.otd-card-header {
    width: 90% !important;
    margin-bottom: 20px;
}

#async-downloads-icon i {
    font-size: 2em;
    padding: 0.5rem 0.5rem;
}

#async-downloads-icon {
    color: #e6e6e9;
}

#async-downloads-icon,
#async-downloads {
    font-size: medium !important;
}

#async-downloads.in-progress #async-downloads-icon {
    animation: pulse 2s infinite !important;
}

@keyframes pulse {
    0% {
        color: #e6e6e9;
    }

    50% {
        color: #aaaaaa !important;
    }

    100% {
        color: #e6e6e9 !important;
    }
}

#navbarDropdownAsyncDownloads {
    padding: 0 !important;
}

input[type="checkbox"] {
    margin-right: 5px !important;
}

.fa-check-circle {
    color: green;
}

.fa-times-circle {
    color: red;
}

.upload-in-progress {
    color: white;
    font-size: 1.375em;
}

.clear-filter-button {
    margin-left: 5%;
    border-radius: 5px;
    font-size: 18px;
    padding: 0 20px;
    background-color: #ffc107;
    color: #ffffff !important;
    border: none;
}

.clear-filter-button i {
    color: #ffffff;
}


.mass-update-button {
    margin-left: 5%;
    border-radius: 5px;
    font-size: 18px;
    padding: 0 20px;
    color: #ffffff;
    background-color: #008bd2;
    border: none;
}

.mass-update-button[disabled] {
    background-color: #adadb3;
}

.mass_update_header {
    background-color: #008bd2;
}

.mass-update-info-banner {
    background-color: #F9E076;
    height: 30px;
    font-size: 16px;
    font-style: italic;
}

.mass-update-info-banner span {
    margin: 0 20px;
}

.mass-updates-label {
    display: block;
    font-weight: 600;
    margin-top: 30px;
}

.mass-update-row {
    display: flex;
    align-content: center;
    justify-content: space-between;
}


.mass-updates-span {
    display: inline-block;
    width: 85%;
    height: 33px;
    font-style: italic;
    border: 1px solid #adadb3;
    border-radius: 5px;
    background-color: #adadb3;
    padding: 5px 150px 5px 5px;
}

.mass-updates-input {
    width: 85%;
    height: 33px;
    border-radius: 5px;
}

.mass-updates-input[type='checkbox'] {
    width: 20px;
    margin-left: 40%;
}

.mass-update-dropdown {
    width: 85%;
    padding: 4px;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.2rem;
}

.mass-update-padding {
    margin: 0 20px;
}

.mass-updates-input-switch .mass-updates-select-switch .mass-updates-select2-switch {
    font-size: 16px;
}

.mass-updates-input-switch i {
    font-size: 26px;
}

.mass-updates-select-switch i {
    font-size: 26px;
}


.mass-updates-select2-switch i {
    font-size: 26px;
}

.mass-updates-select2-container {
    width: 85%;
}

.mass-updates-select2-switch .select2 {
    width: 100% !important;
}
.mass-updates-checkbox-switch {
    font-size: 16px;
}

.mass-updates-dropdown-switch {
    font-size: 16px;
}
