/* Nebular theme overrides */
/** headers **/
.nb-theme-default h1, .nb-theme-default .h1 {
    font-size: 1.85em;
}

.nb-theme-default h2, .nb-theme-default .h2 {
    font-size: 20px;
}

.nb-theme-default h3, .nb-theme-default .h3 {
    font-size: 18px;
}

.nb-theme-default h5, .nb-theme-default .h5 {
    font-size: 14px;
}

.nb-theme-default h6, .nb-theme-default .h6 {
    font-size: 12px;
}

.nb-theme-default nb-context-menu {
    max-width: 20rem;
}

.nb-theme-default nb-calendar-header .sub-title {
    display: none;
}

.nb-theme-default nb-menu .menu-item>.menu-items {
    padding-left: 1.25rem;
    padding-right: 0;
}

.nb-theme-default nb-sidebar .scrollable {
    padding-bottom: 0;
}

/** Card **/
.nb-theme-default nb-card-header,
.nb-theme-default nb-card-body.flat-body,
.nb-theme-default nb-card-footer {
    font-size: 12px;
    padding: 8px;
    overflow-x: hidden;
    margin: 0;
    overflow: unset;

    button {
        font-size: 14px;
    }
}

/** Menu **/
.nb-theme-default nb-menu .menu-item a:hover {
    nb-icon {
        color: #FFFFFF !important;
    }

    background-color: var(--color-primary-default) !important;
    color: #FFFFFF;
    cursor: pointer;
}

/** Stepper **/
nb-stepper.horizontal {
    div.header {
        padding-left: 45px;
        padding-right: 15px;
    }
}

/** Toast **/
.nb-theme-default nb-toast {
    z-index: 10000 !important;
}

/** Windows **/
.window-md-form {
    width: 95%;
    max-width: 620px;
}


/** Buttons **/
.nb-theme-default nb-menu .menu-item .menu-icon {
    color: #222B45;
    width: 18px;
    height: 18px;
}

.menu-item a .menu-title {
    text-align: left;
    padding-left: 12px;
}

/** Select **/
.nb-theme-default .appearance-outline.size-medium nb-option-group .option-group-title,
.nb-theme-default .appearance-outline.size-medium nb-option {
    border-bottom: 1px solid #EBEBEB;
}

.nb-theme-default .appearance-outline.size-medium nb-option-group:hover .option-group-title,
.nb-theme-default .appearance-outline.size-medium nb-option:hover {
    background-color: var(--color-primary-default);
    color: #FFF;
}

.nb-theme-default nb-option.selected,
.nb-theme-default nb-calendar-day-picker nb-option.range-cell.start,
.nb-theme-default nb-calendar-day-picker nb-option.range-cell.end {
    background-color: var(--color-primary-default);
    color: #FFF;
    cursor: pointer;
}

.nb-theme-default nb-card-body.no-overflow {
    overflow: inherit;
    overflow-y: clip !important;
}

.nb-theme-default .options-list-container>.options-list::-webkit-scrollbar,
.nb-theme-default nb-sidebar nb-menu::-webkit-scrollbar {
    width: 0.65em;
}

.nb-theme-default .options-list-container>.options-list::-webkit-scrollbar-track,
.nb-theme-default nb-sidebar nb-menu::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.nb-theme-default .options-list-container>.options-list::-webkit-scrollbar-thumb,
.nb-theme-default nb-sidebar nb-menu::-webkit-scrollbar-thumb {
    background-color: var(--color-primary-500);
    outline: 1px solid var(--color-primary-500);
    border-radius: calc(.65em / 2);
}


/** Tabs **/
.nb-theme-default nb-tabset nb-tab {
    padding: 1rem;
}
