﻿html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
}

.form-control {
    height: 38px;
}

.input-form * .btn {
    height: 38px;
}

.sidebar {
    flex-shrink: 0;
    width: 192px;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

    .sidebar .nav-link {
        font-weight: 500;
        color: #333;
    }

        .sidebar .nav-link.active {
            color: #007bff;
        }

.navbar-dark {
    background-color: #004452;
}

    .navbar-dark .navbar-nav .nav-link.active {
        color: white;
        text-shadow: 0px 0px 3px rgb(255 255 255 / 25%);
    }

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}

.validation-summary-errors ul {
    padding-left: 0;
    list-style: none;
    margin: 0;
}

.table-sm td {
    padding: 4px;
    padding-left: 8px;
    padding-right: 8px;
    border-right: solid 1px #dee2e6;
}

    .table-sm td:last-of-type {
        border-right: none;
    }

.table-sm th {
    padding: 0;
    padding-left: 8px;
    padding-right: 8px;
    border-right: solid 1px #dee2e6;
}

    .table-sm th:last-of-type {
        border-right: none;
    }

.table-sm td > div {
    min-height: 30px;
}

.table-sm th > div {
    min-height: 20px;
}

.stepper .btn-stepper {
    height: 80px;
}

    .stepper .btn-stepper.active {
        color: #007BFF;
    }

@media (max-width: 400px) {
    .stepper .btn-stepper {
        height: 120px;
    }
}

.stepper .btn-stepper.complete {
    color: inherit;
}

.stepper .btn-stepper.upcoming {
    color: inherit;
}

.icon-lg {
    font-size: 2rem;
}

.icon-md {
    font-size: 1.3rem;
}

/* Width Convenience Classes */
.w-20px { width: 20px; }
.w-50px { width: 50px; }
.w-80px { width: 80px; }
.w-100px { width: 100px; }
.w-200px { width: 200px; }
.w-300px { width: 300px; }
.w-400px { width: 400px; }
.w-500px { width: 500px; }
.w-600px { width: 600px; }

.w-100p { width: 100%; }
/* End Width Convenience Classes */

/* Height Convenience Classes */
.h-20 { height: 20px; }
.h-50 { height: 50px; }
.h-80 { height: 80px; }
.h-100 { height: 100px; }
.h-200 { height: 200px; }
.h-300 { height: 300px; }
.h-400 { height: 400px; }
.h-500 { height: 500px; }
.h-600 { height: 600px; }

.h-100p { height: 100%; }
/* End Height Convenience Classes */

.term-table-container {
    border: 1px solid #CCC;
    border-radius: 6px;
    margin-bottom: 32px;
}

.term-table-container .term-table {
    margin-bottom: 0;
}

.term-table {
    width: 100%;
    margin-bottom: 32px;
}

.term-table tr td:first-child:not(.total-line) {
    border-right: 1px solid #CCC;
}

.term-table input {
    border-radius: 0;
}

.term-table td {
    width: 50%;
}

.term-table .bg-gray {
    background-color: #EEE;
}

.term-table-header {
    background-color: #FFF;
}

.term-table-header.unstuck {
    width: 100%;
}

.term-table-header td {
    width: 50%;
}

.term-table-header .original-lane {
    border-right: 1px solid #CCC;
    height: 80px;
}

.term-table-header .lane {
    font-size: 1.2em;
}

.term-table-header .lane i {
    font-size: 1.4em;
}

.term-table tr.term-label td {
    height: 60px;
    padding-bottom: 4px;
    padding-left: 16px;
}

.term-table tr.term-sublabel td {
    height: 20px;
    font-size: 0.9em;
    text-align: center;
}

.term-table .total-line {
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 1.2rem;
    background-color: #eee;
}

.terms-table .total-line-top {
    border-top: 1px solid #000;
}

.read-only-number {
    margin: 20px;
    font-size: 1rem;
}

.term-table .tax-total {
    padding-top: 4px;
    padding-bottom: 8px;
    padding-left: 16px;
    font-size: 1.2rem;
}

.bd-callout {
    padding: 1.25rem;
    margin-top: -0.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid #e9ecef;
    border-left-width: 0.25rem;
    border-radius: 0.25rem;
}

.bd-callout-danger {
    border-left-color: #d9534f;
}

.bd-callout-warning {
    border-left-color: #f0ad4e;
}

.bd-callout-info {
    border-left-color: #5bc0de;
}

input.activity-search {
    width: 200px;
    display: inline;
}

button.activity-search {
    margin-top: -6px;
}

.change-selector-button {
    width: 400px;
    font-size: 1.1em;
    margin-top: 4px;
    padding: 16px;
}

.btn-wizard {
    font-size: 1.1em;
    padding: 16px;
    padding-left: 24px;
    padding-right: 24px;
    justify-content: center;
}

.btn-wizard i {
    font-size: 1.3em;
    padding-left: 8px;
    padding-right: 8px;
}

.btn-wizard-icon-left {
    padding-right: 36px
}

.btn-wizard-icon-right {
    padding-left: 36px;
}

.sticky {
    position: fixed;
    top: 0;
}

.sticky + .not-sticky {
    padding-top: 102px;
}

@media (max-width: 576px) {
    .wizard-buttons {
        flex-direction: column-reverse;
    }

    .wizard-buttons .btn-wizard {
        width: 100%;
        margin: 0px !important;
    }

        .wizard-buttons .btn-wizard:first-child {
            margin-top: 12px !important;
        }
}

@media (max-width: 768px) {
    button.activity-search {
        width: 100%;
    }
    input.activity-search {
        width: 100%;
    }
    button.activity-search {
        margin-top: 8px;
    }
    .change-selector-button {
        width: 100%;
    }
    .wizard-buttons {
        display: flex;
    }
    .wizard-buttons .btn-wizard:first-child {
        margin-left: 0px !important;
    }
    .btn-wizard {
        flex: 1 1 0px;
    }
    .sticky {
        left: 0;
        right: 0;
        width: 100%!important;
    }
}

/* Bootstrap Mid Breakpoint */
@media (min-width: 992px) {
    .w-md-auto {
        width: auto !important;
    }
}

.form-check.large-check input {
    width: 30px;
    height: 30px;
    min-height: 30px;
    min-width: 30px;
}

.form-check.large-check {
    display: flex;
    align-items: center;
}

.form-check.large-check label {
    margin-left: 16px;
}

.form-control {
    height: 58px;
}

.btn-big {
    height: 58px;
    padding: 12px;
    padding-left: 24px;
    padding-right: 24px;
}

.icon-big {
    font-size: 1.4em;
}

.gj-icon {
    font-size: 1.8em !important;
    padding-top: 7px;
}

.gj-datepicker .input-group-append button {
    min-width: 50px;
}

.metric-card {
    max-width: 200px;
    max-height: 200px;
    text-align: center;
}

.metric-card:hover {
    background-color: #EEE;
}

.metric-card:active {
    background-color: #CCC;
}

.metric-card .card-body {
    font-size: 3em;
}

.metric-card .card-body,
.metric-card .card-header,
.metric-card .card-foooter {
    width: 200px;
    height: 200px;
}

.metric-card .card-footer {
    height: 120px;
}