﻿.blazor-dialog-container {
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.blazor-dialog-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

.blazor-dialog-header {
    display: flex;
    /*align-items: flex-start;*/
    /*justify-content: space-between;*/
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    border-top-left-radius: .3rem;
    border-top-right-radius: .3rem;
}

.blazor-dialog-title {
    margin-bottom: 0;
    line-height: 1.5;
}

.blazor-dialog-close {
    padding: 1rem;
    margin: -1rem -1rem -1rem auto;
    background-color: transparent;
    border: 0;
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
    cursor: pointer;
}

    .blazor-dialog-close:hover {
        color: #000;
        text-decoration: none;
        opacity: .75;
    }


.blazor-dialog-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #e9ecef;
}

    .blazor-dialog-footer > :not(:last-child) {
        margin-right: .25rem;
    }

    .blazor-dialog-footer > :not(:first-child) {
        margin-left: .25rem;
    }

@media (min-width: 576px) {
    .blazor-dialog-centered {
        min-height: calc(100% - (1.75rem * 2));
    }
}

.blazor-dialog-centered {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - (.5rem * 2));
}

.blazor-dialog-content-wrapper {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

.blazor-dialog-content {
    margin: 5px;
}

@media (min-width: 576px) {
    .blazor-dialog-content-wrapper {
        max-width: 500px;
        margin: 2.75rem auto;
    }
}

@media (min-width: 992px) {
    .blazor-dialog-content-wrapper-large {
        max-width: 800px;
    }
}

@media (min-width: 1416px) {
    .blazor-dialog-content-wrapper-xlarge {
        max-width: 1200px;
    }
}

@media (min-width: 576px) {
    .blazor-dialog-content-wrapper-small {
        max-width: 300px;
    }
}

/* modal form css*/
.bm-container {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.bm-overlay {
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 3;
    background-color: rgba(0,0,0,0.5);
}

.bm-active {
    display: flex;
}

.blazor-modal {
    display: flex;
    flex-direction: column;
    width: 50rem;
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #fff;
    padding: 1.5rem;
    z-index: 4;
}

.bm-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0 0 2rem 0;
}

.bm-title {
    margin-bottom: 0;
}

.bm-close {
    padding: 1rem;
    margin: -1rem -1rem -1rem auto;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
    cursor: pointer;
}

/*printing*/
.forPrint {
    display: none;
}
@media print {

    .forPrint {
        display: block;
    }
    .noPrint {
        display: none;
    }
    .col-form-label-sm {
        
        border-bottom: hidden !important;
        
    }
    .form-control-sm {
        border: hidden !important;
    }
        /**/

    .container-fluid {
    display:block!important;
    }

    .printgrid{
        height:inherit !important;
    }
    /**/
    .e-grid .e-pager, .e-grid .e-filterbar, .e-grid .e-icons:not(.e-frame) {
        display: none;
    }

        .e-grid .e-indentcell.e-detailindentcelltop {
            display: table-cell;
        }

    .e-grid .e-content {
        overflow-y: hidden;
    }

    .e-grid .e-grouptext {
        width: auto;
    }

    .e-grid .e-detailcell {
        padding: .8em .6em;
    }
    .e-grid.e-default .e-rowcell {
       
        text-overflow: clip;
    }
    .e-grid.sf-grid .e-gridcontent .e-content.e-yscroll, .e-grid.sf-grid .e-gridcontent .e-content .e-movablecontent.e-yscroll {
        overflow-y: hidden !important;
    }
    .e-grid.e-responsive .e-rowcell,
    .e-grid.e-responsive .e-headercelldiv {
        text-overflow: clip !important;
        white-space: normal !important;
        overflow: visible
    }
    .e-grid .e-indentcell {
        border-style: solid;
        border-width: 0 0 0 0 !important;
    }
    .e-grid .e-groupcaption {
        text-overflow: clip !important;
        white-space: nowrap !important;
        overflow: visible !important;
    }
}
.e-grid .e-groupcaption {
    text-overflow: clip !important;
    white-space: nowrap !important;
    overflow: visible !important;
}
 

.nav-item:first-of-type {
    padding-top: 0rem !important;
}

