﻿
/*dialog*/
.modal-body {
    margin: auto;
    width: 100%;
    overflow:auto;
}
.modal, .modal-overlay{
    background-color: rgba(0,0,0,0.5);
}
.modal-focus-trap {
    width: 100%;
    height: 100%
}
.modal-icon{
    font-size:32px;
}
.modal-footer{
    gap:5px;
}
.modal-icon-error {
    color: red;
}
.modal-icon-info {
    color: #43abcd;
}
    .modal.print-modal {
        z-index: 1054;
    }

    @media (min-width: 576px) {
        .print-modal .modal-dialog {
            margin: 5px;
        }
    }

    .modal-dynamic label {
        text-align: left;
    }
   
    /*dialog*/
    /*Fix toast view start*/
    ._toast._toast-top .blazored-toast-container {
        position: absolute;
        z-index: 1057;
    }

.blazored-toast-body .blazored-toast-header h5 {
    line-height: normal;
    padding-bottom: 2px;
    font-size: 17px;
}

    .blazored-toast-container {
        display: flex;
        flex-direction: column;
        z-index: 10;
        margin-top:32px
    }

    ._toast .blazored-toast-container {
        position: relative;
    }

    .blazored-toast-body p {
        font-size: 15px;
        white-space: pre-line;
        text-align:left;
    }

    #sidebar-wrapper .blazored-toast-container {
        position: unset;
    }

    .blazored-toast {
        width: 100%;
    }

    .position-topleft, .position-topright, .position-topcenter {
        top: auto;
    }

    @media (max-width: 600px) {
        .position-topleft, .position-topright, .position-topcenter {
            width: 98%;
            right: 0;
            margin-left: 5px;
            margin-right: 5px;
        }
    }

@media(min-width:600px) {
    ._toast .blazored-toast-container {
        width: 330px;
    }
    ._toast:not(._toast-top) .blazored-toast-container {
        right: -2px;
        margin: auto;
    }
}
 

    /*Fix toast view end*/
    #msg_ert {
        width: 50px;
        height: 30px;
        font-size: 20px;
        outline: none;
        border: none;
        z-index: 2;
        border-bottom-left-radius: 6px;
    }

        #msg_ert:focus {
            border: none;
            outline: none;
        }
    .message_header {
        text-align: unset;
        font-size: 20px;
        padding: 8px 0;
        height: 32px;
        color: white;
        position: sticky;
        top: 0px;
        float:left;
        margin-bottom: 10px;
        user-select: none;
        z-index: 99;
    }


    /* FOR left side */
    .navbar-fixed-top {
        left: auto;
    }

    .nav.nav-tabs.Dock {
        position: fixed;
        width: auto;
        background: transparent;
        right: 0;
        top: 0;
        z-index: 102;
        gap: 0.5rem;
        border: none;
    }

    .DockContent .show {
        background-color: rgba(0,0,0,0.5);
    }

    .DockContent .tab-pane.active.show::-webkit-scrollbar {
        width: 10px; /* width of the entire scrollbar */
    }

    .DockContent .tab-pane.active.show::-webkit-scrollbar-track {
        background: transparent; /* color of the tracking area */
    }

    .DockContent .tab-pane.active.show::-webkit-scrollbar-thumb {
        background-color: silver; /* color of the scroll thumb */
        border-radius: 2px; /* roundness of the scroll thumb */
    }

    .DockHide {
        height: 100%;
        width: 100%;
        position: fixed;
        cursor: pointer;
        background: #38474e;
        opacity: 0.5;
        left: 0;
        top: 0;
    }

    .DockContent {
        background: transparent;
       /* height: 100%;
        width: 100%; */
        position: fixed;
       /* z-index: 101; */
    }

        .DockContent .tab-pane.active.show {
            position: fixed;
            right: 0;
            height: 100%;
            display:block;
            z-index: 1;
            overflow: auto;
            scrollbar-width: thin;
            top: 0;
        }

        .DockContent .tab-pane {
            display: none;
        }

    ul.nav.nav-tabs.Dock i {
        font-size: 19px;
        padding: 6px;
        cursor: pointer;
        background-color: var(--home-bg-color);
        border-radius: 7px;
        border: 2px solid var(--border-color);
    }

    .nav.nav-tabs.Dock > li {
        width: auto;
    }

    .nav.nav-tabs.Dock a.nav-link {
        padding: 0;
    }

    .Dock .nav-tabs {
        position: fixed;
        right: 0;
    }

    .Dock .tab-content {
        /* top: 20px; */
        margin-top: 25px;
    }

    button.close {
        font-size: 24px;
        height: 32px;
        width: 38px;
        line-height: 0;
    }

    @media (max-width:600px) {
        .DockContent .tab-pane.active.show {
            min-width: 100%;
            width:100%;
            max-width:100%;
        }
    }
