body {
    font-family: Trebuchet MS,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Tahoma,sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

h6.dropdown-header {
    font-weight: normal;
}

h1 {
    font-size: 2em;
}

.btn {
    border-radius: 1.5rem;
}

.alert {
    border-radius: 1em;
}

    .alert p:last-child {
        margin-bottom: 0;
    }

.breadcrumb {
    border-radius: 1em;
}

.rounded-lg {
    border-radius: 1em !important;
}

.rounded {
    border-radius: 0.5em !important;
}

#top {
    margin-bottom: 2em;
}

#top-title {
    padding-top: 1.75em;
    padding-bottom: 1.5em;
    background-image: linear-gradient(270deg, white, Honeydew);
}

#top-title .navbar-nav {
    flex-direction: row;
}

#top .navbar {
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, .05);
    border-bottom: 1px solid #e5e5e5;
}

#top .navbar .material-icons.mi-fw {
    font-size: 27px;
}

#top .navbar .nav-link {
    padding-left: 0.75em;
    padding-right: 0.75em;
}

#top .subheader {
    background: rgba(0,0,0,.05);
}

    #top .subheader .filter {
        background: transparent;
        border: none;
        border-radius: 0;
    }

#foot {
    padding-top: 3em;
    margin-bottom: 3em;
    text-align: center;
    color: #999;
    /font-size: 85%;
}

    #foot a {
        color: #666;
    }

#focused {
    max-width: 350px;
    margin: 0 auto 2em;
}

.jumbotron {
    background: transparent;
    max-width: 40rem;
    margin: 0 auto;
}

.page-header {
    display: flex;
    justify-content: space-between;
    /flex-wrap: wrap;
    margin-bottom: 2em;
}

@media (max-width: 768px) {

    .page-header {
        display: block;
    }

}

.page-header-title {
    font-size: 1rem;
    font-weight: normal;
    color: #6c757d;
    width: 100%;
}

.page-header small {
    margin-left: 1em;
    font-size: 1rem;
}

.page-header-more {
    white-space: nowrap;
    margin-top: 0.5rem;
}

.page-header + .page-header-details {
    margin-top: -2em;
}

.page-header-details {
    margin-bottom: 2em;
}

.page-header + .card {
    margin-top: -1em;
}

.filter {
    display: flex;
    flex-flow: wrap;
    margin-bottom: 2em;
    background: rgba(0,0,0,.05);
    border-radius: 1em;
    padding-top: 1em;
    border-top: 1px solid #ccc;
}

    .filter .form-group {
        margin-left: 1em;
    }

    .filter .form-group-sm {
        width: 90px;
    }

    .filter .btn-group > .btn-light {
        border: 1px solid rgb(206, 212, 218);
    }

    .filter .btn {
        border-radius: 0.25rem;
    }

.separator {
    margin-left: 0.5em;
    margin-right: 0.5em;
    color: #999;
}

.space {
    visibility: hidden;
}

.container.container-max {
    max-width: 100%;
}

#flashMessage {
    padding: 2em 1em;
    background: rgb(17, 17, 17);
    background: rgba(17, 17, 17, 0.9);
    -moz-border-radius: 1em;
    -webkit-border-radius: 1em;
    border-radius: 1em;
    color: white;
    text-align: center;
    position: fixed;
    left: 50%;
    top: 25%;
    width: 400px;
    margin-left: -200px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 0 0.5em black;
    z-index: 9999999;
    border: none;
    border-image: initial;
}

.empty {
    background: rgba(0,0,0,.05);
    border-radius: 1em;
    color: #666;
    text-align: center;
    padding: 1.5em 0;
}

.fs-3 {
    font-size: 3em !important;
}

.material-icons {
    font-size: 1.33em;
    vertical-align: -29%;
}

.material-icons.mi-fw {
    margin-right: 0.33em;
}

.material-icons.mi-big {
    font-size: 96px;
    background: var(--secondary);
    color: white;
    border-radius: 2em;
    padding: 4px;
    margin-right: 0.25em;
}

.material-icons.mi-med {
    font-size: 48px;
}

.material-icons.mi-bullet {
    font-size: 16px;
    vertical-align: sub;
    color: #999;
    margin-left: 0.33em;
}

.modal-footer {
    justify-content: center;
}

.form-control ~ .invalid-feedback,
.input-group ~ .invalid-feedback {
    display: block;
}

.form-control.is-invalid + .chosen-container.chosen-container-single .chosen-single {
    border-color: red;
}

.form-control.is-invalid + .chosen-container ~ .invalid-feedback {
    display: block;
}

.form-group label,
.form-check label,
.form-check-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: bold;
}

.page-header + .details {
    margin-top: -1em;
    margin-bottom: 2em;
}

.details {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

    .details>li {
        margin-bottom: 1.25rem;
        margin-right: 1.25rem;
        background: rgba(0, 0, 0, .05);
        border-radius: 0.5em;
        width: 230px;
        font-size: 1.5rem;
        text-align: center;
        padding: 1rem 0.5rem;
        text-overflow: ellipsis;
        box-shadow: 0 1px 1px rgba(0,0,0,0.2);
    }

        .details>li.text-danger {
            background: rgba(255, 0, 0, .05);
        }

        .details>li.text-success {
            background: rgba(0, 255, 0, .05);
        }

        .details li label {
            display: block;
            font-size: 0.85rem;
            color: #6c757d;
            overflow: hidden;
            white-space: nowrap;
            margin-bottom: 0;
            text-overflow: ellipsis;
        }

        .details li .text-small {
            font-size: 0.85rem;
        }

.table thead a {
    color: #212529;
}

.table td.icon {
    padding-right: 0;
    width: 2rem;
    color: rgb(108, 117, 125) !important;
}

.main {
    font-size: 1.1em;
    font-weight: bold;
}

a.main {
    color: #212529;
}

.main-secondary {
    font-weight: normal;
    color: #6c757d !important;
}

.sorted-desc::after, .sorted-asc::after {
    float: right;
    color: #999;
}

.sorted-desc::after{
    content:"\25BC";
}

.sorted-asc::after{
    content: "\25B2";
}

td>.badge {
    display: block;
}

.parsedTrade-item,
.parsedTrade-item + .chosen-container,
.parsedTrade-tradeType,
.parsedTrade-tradeType + .chosen-container {
    width: 350px !important;
}

.ui-autocomplete {
    z-index: 99999;
}

.tradingPeriodItem-group {
    /font-style: italic;
}

form .row {
    align-items: flex-start;
}

form:focus {
    outline: none;
}

tr[href]:hover {
    background-color: rgba(0,0,0,.075);
    cursor: pointer;
}

.text-small {
    font-size: 85%;
}

.text-wide {
    margin-left: 1em;
}

.unitsPerPack {
    display: none;
}

.bg-light {
    background-color: rgba(0,0,0,.05) !important;
}

.form-group-upward .chosen-container .chosen-drop {
    top: auto !important;
    bottom: 100%;
    margin-top: 0;
    margin-bottom: 4px; /* optional spacing */
}
