@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* ----------------------------------------- */
/* --- Start of Our Stuff --------------------- */
/* ----------------------------------------- */

button {
    outline: 0;
}

.login-card {
    width: 328px;
    padding: 0 20px;
    margin: 0 auto;
    text-align: center
}

.login-image {
    margin-top: 16px;
    width: 100%;
}

.login-button {
    margin: -12px 0 6px 0;
    width: 100%;
}

.login-title {
    font-size: 19px !important;
    padding: 20px 0 3px 0 !important;
}

.login-link {
    padding-bottom: 20px;
    font-size: small;
    cursor: pointer;
}

.mud-simple-table {
    margin-bottom: 40px;
    margin-right:  35px;
}

/*.mud-simple-table table * tr > td, 
.mud-simple-table table * tr th {
    border-bottom: none;
}
*/

/*.mud-grid-spacing-xs-3 > .mud-grid-item{
    padding: 0;
}*/

.invoice-table table * tr > td {
    border-bottom: none;
}

.mud-navmenu {
    color: black;
}

.mud-nav-item {
 
    line-height: 0;
    font-size: 16px;
    font-weight: 200;
}

.mud-nav-link{
    padding: 0;
}

.mud-nav-link .mud-svg-icon{
    margin: 12px;
}

.mud-nav-link .mud-nav-link-text {
    font-size: 16px;
    line-height: 20px;
    white-space: normal;
    margin: 0;
    padding: 14px 0;
}

.mud-nav-group * .mud-navmenu .mud-nav-item .mud-nav-link {
    padding-left: 48px;
    padding-inline-start: 48px;
}

.mud-nav-group {
    font-size: 18px;
}

.mud-icon-button {
    outline: none !important;
}


.list-th {
    font-weight: bolder !important;
}

.list-th-right {
    text-align: right !important;
    font-weight: bolder !important;
}

.list-td-right {
    text-align: right !important;
    padding-right: 25px !important;
}

.details-heading {
    font-weight: bold;
    display: table;
    clear: both;
    padding-top: 15px;
    padding-bottom: 5px;

}

.details-item {
    display: table;
    clear: both;
    margin-bottom: 10px;
}

.details-label {
    font-weight: bold;
    width: 80px;
    display: block;
    float: left
}

.details-company-label {
    font-weight: bold;
    width: 140px;
    display: block;
    float: left
}

.details-data {
    display: block;
    float: left
}

/*.our-message-modal {
    max-width: 700px;
}
*/

.floating-button {
    position: fixed;
    bottom: 20px;
    right: 3px;
    margin-right: 30px;
}

.pennant-palette-color {
    color: '#fff';
    background-color: #f00123;
    border: 1px solid;
    border-radius: 9px;
    padding: 4px;
    margin: 4px;
    height: 24px;
    width: 50px;
    float: left;
    display: flex;
}

.pennant-palette-color-selected {
    padding: 1px;
    background-color: #aaa;
    border-radius: 12px;
    display: inline-block;
}

.pennant-palette-color-notselected {
    padding: 1px;
    background-color: #fff;
    border-radius: 12px;
    display: inline-block;
}

.item-mover-column {
    width: 24px;
    padding: 0 10px !important;
    overflow: visible;
}

.item-mover-arrow {
    cursor: pointer;
}

.our-icon-image {
    
}

.banner-image {
    max-width: 100%;
    top: 50%;
    margin-bottom: 10px
}


/* --- BaseMarkdownEditor component --- */
.editor-statusbar {
    display: none !important;
}

.editor-preview-side.editor-preview.editor-preview-active-side ol {
    padding: revert;
    margin: revert;
}

.editor-preview-side.editor-preview.editor-preview-active-side ul {
    padding: revert;
    margin: revert;
    list-style: disc;
}

.editor-preview-full.editor-preview.editor-preview-active ol {
    padding: revert;
    margin: revert;
}

.editor-preview-full.editor-preview.editor-preview-active ul {
    padding: revert;
    margin: revert;
    list-style: disc;
}



/* --- BaseMarkdownText component --- */
.markdown-body {
    text-size-adjust: 100%;
    color: #333;
    font-family: Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    word-wrap: break-word;
}

.markdown-body h2 {
    padding-bottom: .3em;
    font-size: 1.5em;
    line-height: 1.334;
    border-bottom: 1px solid #eee;
}

.markdown-body p, .markdown-body pre, .markdown-body table, .markdown-body ul {
    margin-top: 0;
    margin-bottom: 16px;
}

.markdown-body ul {
    margin-left: 16px;
    list-style: disc
}

.apikey-range {
    width: 230px;
}

.apikey-range-strike {
    width: 230px;
    text-decoration: line-through;
}

/* --- Course Summary -------------------- */
.course-summary {
    display: inline-block;
    background-color: #eee;
    height: 350px;
    width: 305px;
    padding: 18px;
    font-size: 17px;
    overflow: hidden;
    margin: 6px 10px;
    box-sizing: border-box;
    border-radius: 0;
    font-family: Roboto, sans-serif;
}

.course-summary-heading-area {
    margin-bottom: 18px;
}

.course-summary-heading {
    float: left;
    width: 174px;
    height: 65px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bold;
    line-height: 22px;
}

.course-summary-description-area {
    display: inline-flex;
}

.course-summary-description {
    margin-top: 4px;
    height: 130px;
    overflow: hidden;
    line-height: 22px;
    text-overflow: ellipsis;
}

.course-summary-learn-area {
    margin: 6px 0 0 0;
    cursor: pointer;
}

.course-summary-learn-link {
    font-size: 12px;
    font-style: italic;
    margin: 9px 0 0 0;
    padding-bottom: 10px;
    color: #000;
    text-transform: uppercase;
    text-decoration: none;
}

.course-summary-quantity {
    width: 70px;
    margin-top: -18px;
}

.course-summary-quantity .mud-input-control > .mud-input-control-input-container > div.mud-input.mud-input-text {
    margin-top: 0;
}

.course-summary-rrp {
    float: left;
    font-weight: bold;
    line-height: 36px;
    margin-top: -18px;
    padding-right: 7px;
    text-decoration: line-through;
    color: #757575;
}

.course-summary-price {
    float: left;
    font-weight: bold;
    line-height: 36px;
    margin-top: -18px;
}


.course-summary-button {
    float: right;
    margin-top: -18px;
    height: 32px;
    box-shadow: none;
}

.course-summary-pennant {
    /*height: 14px;*/
    width: inherit;
    font-size: 12px;
    padding: 1px 0;
    margin-left: -18px;
    margin-top: 38px;
    text-align: center;
}


/* --- Points Badge -------------------- */
.points-badge-area {
    height: 56px;
    width: 56px;
    border-radius: 28px;
    font-size: 16px;
    line-height: 56px;
    text-align: center;
}

.points-badge-points {
    font-size: 30px;
    font-weight: bold;
}

.add-new-item {
    margin-top: 20px;
    margin-right: 30px;
    width: 80px;
    height: 40px;
}

.add-new-item-with-heading {
    margin-top: -10px;
    margin-right: 30px;
    width: 80px;
    height: 40px;
}

.edit-form-buttons {
    display: flex;
    padding: 8px 0 12px;
    justify-content: flex-end;
}

.list-buttons {
    padding-left: 24px;
    padding-right: 12px !important; 
    height: 48px; 
    text-align: right !important; 
    font-size: 13px; 
    overflow: hidden; 
    white-space: nowrap; 
    text-overflow: ellipsis; 
    width: 203px;
}

.breadcrumbs-with-form-buttons {
    position: relative;
    z-index: 1000;
    width: 75%;
    padding-left: 0px;
}

.form-buttons-with-breadcrumbs{
    margin-top: -65px;
}

.form-buttons-in-modal{
    margin-top: -50px;
}

.form-buttons-with-breadcrumbs-and-title{
    margin-top: -90px;
}

.add-edit-dialog .mud-dialog-title {
    padding: 0;
    visibility: hidden;
}



/* --- Mud Blazor Overrides -------------------- */

.mud-breadcrumb-item.mud-disabled > a {
    color: gray;
}

.mud-expand-panel .mud-expand-panel-content.mud-expand-panel-gutters {
    padding-bottom: 0;
}

.mud-expand-panel.mud-panel-expanded {
    box-shadow: none;
}

.override-mud-navmenu {
    margin-bottom: 40px;
}

.sidebar {
    top: 64px;
    bottom: 0;
    background-color: white;
}

/* ----------------------------------------- */
/* --- End of Our Stuff -------------------- */
/* ----------------------------------------- */

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

app {
    position: relative;
    display: flex;
    flex-direction: row;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

.main .top-row a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar {
    /*background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);*/
    background: white;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 10px, rgba(0, 0, 0, 0.23) 0px 3px 10px;
}

.mud-nav-group > .mud-nav-link > .mud-nav-link-text
{
    font-weight: 400;
}
.sidebar .top-row {
    background-color: rgba(0,0,0,0.4);
}

    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #d7d7d7;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
        }

            .sidebar .nav-item a.active {
                background-color: rgba(255,255,255,0.25);
                color: white;
            }

            .sidebar .nav-item a:hover {
                background-color: rgba(255,255,255,0.1);
                color: white;
            }

.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* --------------------------------------------------------- */
.xnavbar {
    background-color: white;
}

.activity-button {
    position: relative;
    opacity: 1;
    font-size: 14px;
    letter-spacing: 0px;
    text-transform: uppercase;
    font-weight: 500;
    margin-right: 10px;
    user-select: none;
    padding-left: 16px;
    padding-right: 16px;
    color: rgb(255, 255, 255)
}

.modal { z-index: 9999999; }
.modal-backdrop {z-index: 0;}
.modal-content {z-index: 1060;}

a.disabled {
    pointer-events: none;
    color: #888888 !important;
}

/* ----------------------------------------- */
/* --- Start of Media -  ------------------- */
/* ----------------------------------------- */

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }

    .course-summary {
        width: 100%;
        margin: 18px 0;
    }

    .course-summary-heading {
        width: 146px;
    }
}


@media (min-width: 768px) {
    app {
        flex-direction: column;
    }

    .app-header {
        z-index: 1100;
        top: 0px;
        position: fixed;
        background-color: #000000;
        color: white;
        width: 100%;
        padding: 5px 24px 5px 24px;
    }

    .app-header h1 {
        font-size: 24px;
        line-height: 44px;        
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }

    .app-header h5 {
       padding-left: 30px;
    }

    .app-body {
        position: relative;
        display: flex;
        flex-direction: row;
        top:62px
    }

    .sidebar {
        width: 275px;
        height: auto;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

}

