/* Overall Body Styles */
body {
    background-color: whitesmoke;
}

/* Custom Navbar Styles */
/* #mainNavbar {
    background-color: #38b29e;
}

.navbar-nav .nav-item .nav-link {
    color: #626266;
} */

/* .navbar-nav .nav-item .nav-link:hover {
    color: whitesmoke;
}

li.nav-item a.nav-link.active {
    color: whitesmoke;
}

.dropdown-menu {
    background-color: #38b29e;
} */

/* .dropdown-menu .dropdown-item {
    color: #626266;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #38b29e;
    color: whitesmoke;
}

li.nav-item.dropdown.active a.nav-link.dropdown-toggle
{
    color: whitesmoke;
}

li.nav-item.dropdown ul.dropdown-menu li a.dropdown-item.active {
    background-color: #38b29e;
    color: whitesmoke;
} */

/* Button Styles */
/* .btn-custom {
    background-color: #38b29e;
    color: whitesmoke;
}

.btn-custom:hover {
    background-color: #626266;
    color: whitesmoke;
} */

/* Pagination Styles */
/* .page-item .page-link {
    background-color: #626266;
    color: whitesmoke;
    border-color: #626266;
}

.page-item .page-link:hover {
    background-color: #38b29e;
    color: whitesmoke;
}

li.page-item.active span.page-link {
    background-color: #38b29e !important;
    color: whitesmoke !important;
} */

.started-on-target {
    font-weight: 500;
    color: #0dcaf0;
}

.started-overdue {
    font-weight: 500;
    color: #ffc107;
}

.some-tasks-overdue {
    font-weight: 500;
    color: #DA70D6;
}

.overdue {
    font-weight: 500;
    color: #dc3545;
}

.not-started {
    font-weight: 500;
    color: #FFAA33;
}

.completed {
    font-weight: 500;
    color: #198754;
}

tr:hover td.started-on-target {
    color: #0dcaf0;
}

tr:hover td.started-overdue {
    color: #ffc107;
}

tr:hover td.some-tasks-overdue {
    color: #DA70D6;
}

tr:hover td.overdue {
    color: #dc3545;
}

tr:hover td.not-started {
    color: #FFAA33;
}

tr:hover td.completed {
    color: #198754;
}

#growthArea1SkillsList, #growthArea2SkillsList, #growthArea3SkillsList {
    position: fixed;
    width: 98%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    z-index: 2;
    overflow-y: scroll;
}

#closeSubSkillsList {
    cursor: pointer;
}

textarea {
    resize: none;
}

.rounded-circle {
    object-fit: cover;
}

/* Custom Dashboard Styles */
#dashboard {
    color: #000;
}

.dashboard-container {
    display: flex;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
    height: 250px;
    width: 250px;
    background-color: rgba(255, 250, 250, 0.3);
    border-radius: 2.5%;
    margin: auto;
    box-shadow: 2px 2px 2px 2px lightgray;
}

.dashboard-container-div {
    display: flex;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
    height: 200px;
    width: 200px;
    background-color: snow;
    border-radius: 50%;
    margin: auto;
    box-shadow: inset 0 0 10px lightgray;
}

.dashboard-number-div {
    display: flex;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
    height: 150px;
    width: 150px;
    /* background-color: #2aa9d7; */
    border-radius: 50%;
    margin: auto;
}

.dashboard-number {
    font-size: 8em;
    /* color: whitesmoke; */
    position: relative;
}

/* Cursor Style */
#addMetric {
    cursor: pointer;
}

#strategyOverview span.roadmap-overview-level-desc :first-child {
    display: inline;
}

/* Rich text (strategy item details, comments, replies and notes) is drawn only inside its own box */
.rich-text {
    overflow-x: auto;
    overflow-y: hidden;
    contain: paint;
    max-width: 100%;
}

.rich-text img {
    max-width: 100%;
    height: auto;
}

#strategyOverview span.roadmap-overview-level-desc > .rich-text {
    display: inline-block;
    vertical-align: top;
}

/* Compatibility with Bootstrap 5.3. The pages were written for Bootstrap 5.2; each rule below keeps something as it
   was drawn there. */

/* A table has no background of its own, and its cells have the text colour of the table, which is the text colour of
   the pages unless the table sets its own: 5.3 gives every cell the page's background colour and black text */
.table {
    --bs-table-bg: transparent;
    color: var(--bs-body-color);
}

.table > :not(caption) > * > * {
    color: inherit;
}

/* A status cell of a strategy list keeps its status colour: 5.3 sets the text colour of every table cell */
td.started-on-target {
    color: #0dcaf0;
}

td.started-overdue {
    color: #ffc107;
}

td.some-tasks-overdue {
    color: #DA70D6;
}

td.overdue {
    color: #dc3545;
}

td.not-started {
    color: #FFAA33;
}

td.completed {
    color: #198754;
}

/* A field that cannot be changed is grey: 5.3 greys only disabled fields, not read-only ones */
.form-control[readonly] {
    background-color: #e9ecef;
}

/* Fields and checkboxes have borders that show on the page's background, and the hint inside an empty field is
   lighter than typed text: 5.3 draws the borders lighter and the hints darker */
.form-control, .form-select, .input-group-text {
    border-color: #ced4da;
}

/* The label joined to a field is grey: 5.3 draws it almost white */
.input-group-text {
    background-color: #e9ecef;
}

.form-control::placeholder {
    color: #6c757d;
}

.form-check-input {
    border: 1px solid rgba(0, 0, 0, .25);
}

/* The label inside an empty field of the login form has the text colour of the page: 5.3 draws it lighter */
.form-floating > label {
    color: var(--bs-body-color);
}

/* The label raised above a focused or filled field of the login form is dimmed: 5.3 dims the label by its colour, which
   the rule above replaces */
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    opacity: .65;
}

.form-floating > .form-control:-webkit-autofill ~ label {
    opacity: .65;
}
