@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

html {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: stretch;
    height: 100%;
}

html > body {
    flex-grow: 1;
}

html > body > app {
    height: 100%;
}

html, body {
    font-family: system-ui, Arial, Helvetica, sans-serif !important;
}

html, body, .container, .container-fluid, .row, .row > div {
    overscroll-behavior-x: none;
}

a, .btn-link, .text-hover-link {
    /*color: #0366d6;*/
    color: #479cc8;
    cursor: pointer;
}

.table-custom-padding th, .table-custom-padding td {
    padding-top: .2em;
    padding-bottom: .2em;
    padding-left: .4em;
    padding-right: .4em;
}

.custom-category > .custom-category-row:last-child:has(.custom-service-row) > div.border-bottom:last-child {
    border-bottom: none !important;
}

.semi-bold {
    font-weight: 500;
}

.underline-on-hover:hover
{
    text-decoration:underline;
}

.bold {
    font-weight: bolder;
}

.border-x-0 {
    border-left:0 !important;
    border-right : 0 !important;
}

.border-y-0 {
    border-top: 0 !important;
    border-bottom: 0 !important;
}

.border-right-0 
{
    border-right : 0 !important;
}

.border-left-0 {
    border-left: 0 !important;
}

.clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.custom-category > div:not(:first-child) > .customhoverhighlight {
    margin-top: 2px;
    border-top: 1px solid #dcedff !important;
}

/*.custom-category > .custom-category-row:last-child > div.border-bottom:last-child {
    display:none;
}*/

.custom-service-section > .custom-service-row:not(:first-child) 
{
    border-top: 1px solid #dcedff !important;
}

.w-0 {
    width: 0;
}

    a:hover, .btn-link:hover {
        color: #1a6890;
        text-decoration: underline;
    }

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.vertical-align > tr > td, .vertical-align, .vertical-align > tbody > tr > td, .vertical-align > td {
    vertical-align: middle;
}

ol.breadcrumb.mb-1 {
    background: none !important;
}

tr.bg-primary.table-row-selectable {
    background-color: #e4f1ff !important;
    outline: 1px solid #343a40;
}

/*app {
    position: relative;
    display: flex;
    flex-direction: column;
}*/

.managementContainer.expanded > .mangagementExpandedContents {
    max-height: 800px;
}

.mangagementExpandedContents {
    transition: .1s;
    max-height: 0;
    overflow: hidden;
}

.oi-menu-light:hover {
    color: black;
}

.oi-menu-light {
    color: rgb(0 0 0 / 0.20);
}

.oi-menu-dark:hover {
    color: rgb(0 0 0 / 0.20);
}

.oi-menu-dark {
    color: black;
}

.bc-dark {
    border-color: #343a40 !important;
}

.font-small {
    font-size: 10pt !important;
}

.font-tiny {
    font-size: 7pt !important;
}

.font-super-tiny {
    font-size: 5pt !important;
}

.text-purple {
    color: #df4edf !important;
}

.btn-purple {
    background-color: #f9eefa;
    border-color: #df4edf !important;
    color: #df4edf !important;
}

.btn-purple:hover, .btn-purple:focus {
    background-color: #f7d1f7;
}

.border-purple {
    border-color: #df4edf !important;
}

.text-greenish {
    color: #12b973 !important;
}

.text-greenish.hierarchy-button:hover,
.text-greenish.hierarchy-button:focus {
    color: #1d9463 !important;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.custom-top-bar {
    background-color: #f5f5f5;
    border-bottom: 2px solid #eaeaea;
}

.main {
    flex: 1;
}

/*.modal {
    overflow: auto !important;
}*/

.main .top-row {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    flex-wrap: nowrap;
}

.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;
}

table > tbody.first-border-0 > tr:first-child {
    border:none !important;
}

/*.sidebar {
    background-image: linear-gradient(180deg, rgb(35, 35, 35) 0%, #545b67 70%);
}*/

.sidebar .top-row {
    background-color: rgba(0,0,0,0.4);
}

.sidebar .navbar-brand {
    font-size: 1.1rem;
}

.navbar > .navbar-brand {
    white-space: nowrap;
}

tbody > tr.table-row-selectable > td {
    vertical-align: middle;
}

.navbar > #navbar-info > .nav-bar-name {
    color: #ccc;
    max-width: 50px !important;
    overflow: hidden;
    text-overflow: ellipsis;
}


.sidebar .oi, .sidebar .fas {
    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;
        }


label.font-small {
    letter-spacing: 0.01em;
    padding-bottom: .4em;
    font-weight: 500;
    font-size: 8pt !important;
}

.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}


.blazored-typeahead.valid.modified {
    border: 1px solid #bfbfbf;
}

.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;
    }


.bpnPipeStyle {
    padding-left: .4em;
    padding-right: .4em;
    font-size: 1.5em;
    line-height: normal;
    font-weight: 100;
}

.bpnNextStyle {
    font-weight: 500;
    color: #1ac38f;
}

.btn {
    border-style: solid;
}

.text-center {
    text-align: center;
}

.box-shadow {
    box-shadow: 0 0 1em -5px rgba(0, 0, 0, 0.5);
}


.hierarchy-button {
    cursor: pointer;
    border-radius: 25px;
    padding: 7px;
    margin-left: 2px;
    margin-right: 6px;
    border: 1px solid transparent;
}

.hierarchy-button-spacer {
    border-radius: 25px;
    padding: 7px;
    margin-left: 2px;
    margin-right: 6px;
    border: 1px solid transparent;
    color: transparent !important;
}

.hierarchy-button:hover, .hierarchy-button:focus {
    border-color: black;
    /*outline: 1px solid white;*/
}


.dotted-left {
    border-left: 1px dotted #eee;
}

.dotted-top {
    border-top: 1px dotted #eee;
}

.ml-36rem {
    margin-left: .36rem !important
}

.numeric-edit-width {
    width: 60px;
}

    .numeric-edit-width input[type=number] {
        -moz-appearance: textfield;
    }

    .numeric-edit-width input::-webkit-outer-spin-button,
    .numeric-edit-width input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }


.blazored-typeahead {
    border: 1px solid #ced4da !important;
}

.blazored-typeahead__clear {
    padding: 0 !important;
}



.val_good {
}

.val_bad {
    color: #dc3545 !important;
}

    .val_bad > a.nav-link {
        color: #dc3545 !important;
    }

.approvalIcon {
    width: 20px;
    height: 20px;
    margin: 3px;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border: 1px solid #ddd;
    background-color: #ddd;
}

.rz-tabview-panel {
    padding: .5rem;
}

th.rz-unselectable-text.p-0 > div > span.rz-column-title {
    padding: 0 !important;
}

td.overflow-visible > span.rz-cell-data {
    overflow: visible;
}

.bg_green_highlight > td {
    animation: bg_green_highlight 1s;
    background-color: white;
}

th.p-0 > div > span.rz-column-title {
    padding: 0;
}


@-webkit-keyframes bg_green_highlight {
    0% {
        background-color: #54cccc;
    }

    100% {
        background-color: #fff;
    }
}

tr.align-middle > td, tr.align-middle > th {
    vertical-align: middle;
}

.customFlexItem, .customHomeItem {
    width: 130px;
    height: 130px;
    color: white;
    font-size: 9pt;
    border: 1px solid white;
    box-shadow: 0px 0px 0px 0px #000000 !important;
}

    .customFlexItem:hover, .customFlexItem:focus, .customHomeItem {
        cursor: pointer;
        background: rgba(52, 58, 64, 0.90) !important;
        background: black !important;
        border: 1px solid black;
    }

.customHomeItem {
    cursor: default !important;
    border: 1px solid white !important;
}

.no-caret > button.dropdown-toggle::after {
    display: none !important;
}

.hierachy-description-overflow, .group-description-overflow {
    max-width: 40vw;
    overflow: clip;
    direction: rtl;
}

/*@media (max-width: 500px) {
    .hierachy-description-overflow {
        max-width: 40vw;
        overflow: hidden;
        direction: rtl;
    }
}*/

.custom-dropdown-item {
    cursor: pointer;
}

    .custom-dropdown-item:hover, .custom-dropdown:not(:hover) > .custom-dropdown-item:first-child {
        background-color: #0069d9;
        color: white !important;
    }

/*        .custom-dropdown-item:hover .oi.oi-star.text-primary, .custom-dropdown:not(:hover) > .custom-dropdown-item:first-child .oi.oi-star.text-primary {
            color: white !important;
        }*/

.customhoverhighlight {
    border: 1px solid #00000000;
}

    .customhoverhighlight:hover {
        background: #f6faff;
        border-radius: .3em;
        border-color: #dcedff;
    }

    .customhoverhighlight .configuration:hover {
        background: #f6faff;
        border-radius: .3em;
        border-color: #dcedff;
    }

    .customhoverhighlight.customhoverhighlight-invalid:hover, .customhoverhighlight.customhoverhighlight-invalid {
        background: #fff6f7;
        border-radius: .3em;
        border-right-color: #fedce0;
        border-left-color: #fedce0;
        border-top-color: white;
        border-bottom-color: white;
    }

    .customhoverhighlight:hover .clearDiscount {
        color: #1a6890 !important;
    }

.rotate {
    transform: rotate(-90deg);
    /* Legacy vendor prefixes that you probably don't need... */
    /* Safari */
    -webkit-transform: rotate(-90deg);
    /* Firefox */
    -moz-transform: rotate(-90deg);
    /* IE */
    -ms-transform: rotate(-90deg);
    /* Opera */
    -o-transform: rotate(-90deg);
    /* Internet Explorer */
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

/*Preview PDF container*/
.iframe_container {
    background-image: url('images/loading_transparent.gif');
    background-position: center;
    background-repeat: no-repeat;
}

    .iframe_container object {
        background: transparent;
        height: 90vh;
    }

@media screen and (max-width: 575px) {
    .iframe_container object {
        height: 540px;
    }

    .btnMobile {
        width: 150px;
    }
}


/*Preview PDF container END*/

.expand-row-carret {
    cursor: pointer;
}

.expand-row-hover:hover {
    background: #cdf0ff;
    cursor:pointer;
}

    .expand-row-carret:hover {
        background: #cdf0ff;
        color: #073b7a !important;
    }

.noclick {
    pointer-events: none;
}

/*.modal-backdrop {
    z-index: -1;
}*/

.blazored-typeahead {
    height: auto;
}

.blazored-typeahead__controls {
    height: auto;
}

/*.blazored-typeahead__input, .blazored-typeahead__input-icon {
    height: 36px;
}*/

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    display: none;
}

.table-borderless td, .table-borderless th {
    border-width: 0 !important;
}


.custom-btn-expanded {
    position: relative;
    bottom: -1px;
    border-bottom: none;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

    .custom-btn-expanded.btn-outline-success:not(:hover) {
        background-color: #fafffa;
    }

    .custom-btn-expanded.btn-outline-primary:not(:hover) {
        background-color: #fafcff;
    }

    .custom-btn-expanded.btn-outline-dark:not(:hover) {
        background-color: #eee;
    }

.bg-lightgreen, bg-lightgreen > td {
    background-color: #f1fff1;
}

.bg-yellowgreen, bg-yellowgreen > td {
    background-color: #faffe8;
}

.bg-lightorange, bg-lightorange > td {
    background-color: cornsilk;
}



.bg-lightred, bg-lightred > td {
    background-color: #fedce0;
}

.bubbleBadge {
    position: absolute;
    top: -1em;
    line-height: 3px;
    padding: 3px;
    text-align: center;
    min-width: 1em;
}

.form-control-mgdisc {
    height: auto;
    font-size: 10pt !important;
    color: black;
    padding-right: 0 !important;
}

.text-hover-red:hover {
    color: darkred !important;
}

.rz-tabview.hide-body > .rz-tabview-panels {
    display: none;
}

/*page*/
@media screen and (min-width: 575px) {
    .customWidth {
        left: 40%
    }
}

@media screen and (max-width: 768px) {
    .customWidth {
        left: 25%
    }
}

.blanket {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.bg-white-nohover:not(:hover):not(:focus) {
    background-color: white;
}

.bg-lighter {
    background-color: rgba(255, 255, 255, 0.3) !important;
}

.bg-darker {
    background-color: rgba(0, 0, 0, 0.3) !important;
}

.quote-input-form-control {
    height: 40px !important;
    box-shadow: none !important;
    border-color: #ccc !important;
}

.clickable {
    cursor: pointer;
}

.text-hover-link:hover {
    color: #1a6890 !important;
}


.ToggleOnFocus:focus-within > .HideOnFocus {
    position: absolute;
    top: -100px;
    left: -100px;
    opacity: 0;
}

.ShowOnFocus {
    display: none;
}

.ToggleOnFocus:focus-within > .ShowOnFocus {
    display: inline-block !important;
}

/***********************Nav bar(Tab) link css ********************************/
.nav-link.active {
    outline: none !important;
}

.d-flex-wrap-gap
{
    display: flex;
    flex-wrap:wrap;
    gap:.7em;
    align-items:center;
}

.d-flex-gap {
    display: flex;
    gap: .7em;
    align-items: center;
}

.tab-content {
    background-color: white;
    padding: 1.5em;
    border: 1px solid #dee2e6;
    border-top: 0;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
}


.nav-justified > .nav-item > .nav-link:not(.active) {
    color: #479cc8;
    background-color: rgba(255, 255, 255, 0.52);
    border-right-color: #d9d9d9;
    border-left-color: #d9d9d9;
    border-top-color: #e6e6e6;
}

    .nav-justified > .nav-item > .nav-link:not(.active):hover {
        color: #1a6890;
        text-decoration: underline;
    }

.nav-justified > .nav-item > .nav-link.active {
    font-weight: bold;
}



.max-width-60 {
    max-width: 60px;
}



.rounded-bottom-0 {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.rounded-top-0 {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.rounded-left-0 {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.rounded-right-0 {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.nav .nav-tabs .nav-justified {
    flex-wrap: nowrap;
}
/*Nav bar link css end*/

.add-promo-condition-btn {
    display: inline !important;
    line-height: .5em;
    font-size: .5em;
    padding: 3px;
}


    .add-promo-condition-btn:hover, .add-promo-condition-btn:focus {
        background-color: #2f9742 !important;
        border-color: #1c682a !important;
        color: white !important;
    }

.modal-header {
    background-color: #f8f9fa;
}

.modal-footer {
    background-color: #f8f9fa;
}

/*****************Numeric Picker without up-down buttom*************************/

.NumericEditHideSteps > .b-numeric{
    flex:50 1 auto !important;
    width:1%;
}
.NumericEditHideSteps > .b-numeric > .b-numeric-handler-wrap{
    display:none;
}

.btn-xsm {
    padding: .18rem .35rem;
    font-size: .6rem;
    line-height: 1.0;
    border-radius: .15rem;
}

.btn-2xsm {
    padding: .12rem .23rem;
    font-size: .4rem;
    line-height: 0.67;
    border-radius: .11rem;
}

td.no-padding-top {
    padding-top: 0;
}

td.no-padding-bottom {
    padding-bottom: 0;
}

.half-a-border-on-left {
    border-left: 2px solid;
    border-image: linear-gradient(to bottom, #17a2b8 46%, transparent 46%) 1 100%;
}

.custom-search {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='grey' viewBox='0 0 512 512'><path d='M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z'/></svg>");
    background-position-x: 98%;
    background-position-y: center;
    background-size: 16px 20px;
    background-repeat: no-repeat;
}

div.rz-notification, div.rz-notification-message {
    z-index: 33000!important;
}


.custom-switch:has(input:checked:disabled) > .custom-control-label::before {
    background-color: #7fbdff8c !important;
    border-color: #aeb6be !important;
}

.custom-switch:has(input:checked:disabled) > .custom-control-label::after {
    background-color: #8a99a9 !important;
}

/*table.table-custom remove bottom border of last tr in the tbody*/
table.table-custom > tbody > tr:last-child {
    border-bottom: none !important;
}