﻿.PopUpItem {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 99999;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    overflow: auto;
    color: #000;
    display: none;
}

    .PopUpItem.show {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    .PopUpItem > .PopUpDialog {
        width: 90vw;
        /*height: 90vh;*/
        background: white;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        max-width: 40rem;
        color: var(--bs-body-color);
        max-height: 100vh;
    }

        .PopUpItem > .PopUpDialog.fullscreen {
            height: 100% !important;
            width: 100% !important;
            max-width: 100% !important;
        }

        .PopUpItem > .PopUpDialog.fullscreen > .Content {
            padding:0 !important;
            overflow:hidden;
        }
            .PopUpItem > .PopUpDialog > .TopPanel {
            display: flex;
            width: 100%;
            border-bottom: 1px solid rgb(0 0 0 / 20%);
        }

            .PopUpItem > .PopUpDialog > .TopPanel > .Title {
                padding: 0.25rem 1rem;
                font-size: 1.2rem;
                -webkit-box-align: center;
                -ms-flex-align: center;
                align-items: center;
                -ms-flex-line-pack: center;
                align-content: center;
                -ms-flex-item-align: center;
                align-self: center;
            }

            .PopUpItem > .PopUpDialog > .TopPanel > .helpDoc {
                /*flex: 1;*/
                align-self: center;
                cursor: pointer;
            }
            /*
            .PopUpItem > .PopUpDialog > .TopPanel > .helpDoc svg{
               
            }*/

            .PopUpItem > .PopUpDialog > .TopPanel > .clearfix {
                flex: 1;
            }

            .PopUpItem > .PopUpDialog > .TopPanel > .CloseButton {
                background: red;
                padding: 0.2rem 1.5rem;
                cursor: pointer;
                display: -webkit-box;
                display: -ms-flexbox;
                display: flex;
                -webkit-box-pack: center;
                -ms-flex-pack: center;
                justify-content: center;
                -webkit-box-align: center;
                -ms-flex-align: center;
                align-items: center;
                border: 0;
                opacity: 0.7;
                -webkit-transition: opacity 100ms;
                -o-transition: opacity 100ms;
                transition: opacity 100ms;
                -ms-flex-item-align: baseline;
                align-self: baseline;
                color: #fff;
            }

                .PopUpItem > .PopUpDialog > .TopPanel > .CloseButton:hover {
                    opacity: 1;
                }

        .PopUpItem > .PopUpDialog > .Content {
            padding: 2rem;
            -webkit-box-flex: 1;
            -ms-flex: 1;
            flex: 1;
            gap: 1rem;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
            -ms-flex-direction: column;
            flex-direction: column;
            overflow-y: auto;
        }

            .PopUpItem > .PopUpDialog > .Content > .row {
                display: flex;
                flex-direction: column;
                position: relative;
            }

                .PopUpItem > .PopUpDialog > .Content > .row .hiddenInput {
                    position: absolute;
                    height: 100%;
                    z-index: -1;
                }


                .PopUpItem > .PopUpDialog > .Content > .row > .fileList {
                    display: flex;
                    flex-direction: column;
                    padding: 1rem;
                    gap: 0.5rem;
                    overflow-y: auto;
                    max-height: 50vh;
                }

                    .PopUpItem > .PopUpDialog > .Content > .row > .fileList > .fileItem {
                        /*gap: 1rem;*/
                        display: flex;
                        /*flex:1;*/
                    }

                        /*
.PopUpItem>.PopUpDialog>.Content>.row>.fileList>.fileItem>.fileName {
    font-weight: 700;
    text-align: right;
    flex:1;
}*/
                        .PopUpItem > .PopUpDialog > .Content > .row > .fileList > .fileItem > .fileName {
                            background-color: var(--bs-form-control-bg);
                            overflow-wrap: break-word;
                        }




                        .PopUpItem > .PopUpDialog > .Content > .row > .fileList > .fileItem > .removeBtn {
                            flex: 1;
                            cursor: pointer;
                        }


        .PopUpItem > .PopUpDialog > .ActionPanel {
            display: flex;
            width: 100%;
            border-top: 1px solid rgb(0 0 0 / 20%);
            padding: 0.5rem;
            justify-content: end;
            gap: 0.5rem;
        }

            .PopUpItem > .PopUpDialog > .ActionPanel > .ActionBtns {
                display: flex;
                gap: 0.5rem;
            }


    .PopUpItem.loading > .PopUpDialog > .Content .form-control, .PopUpItem.loading > .PopUpDialog > .TopPanel > .CloseButton {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        pointer-events: none;
    }



    .PopUpItem:not(.loading) > .PopUpDialog > .Content .preloader {
        display: none;
    }



    .PopUpItem.loading > .PopUpDialog > .ActionPanel > .loader {
        display: block;
    }

    .PopUpItem.loading > .PopUpDialog > .ActionPanel button {
        pointer-events: none;
        color: var(--bs-btn-disabled-color);
        pointer-events: none;
        background-color: var(--bs-btn-disabled-bg);
        border-color: var(--bs-btn-disabled-border-color);
        opacity: var(--bs-btn-disabled-opacity);
    }

    .PopUpItem > .PopUpDialog > .ActionPanel > .loader {
        -ms-flex-item-align: center;
        align-self: center;
        display: none;
    }


svg.addItem {
    width: 25px;
    height: 25px;
    fill: var(--bs-success);
}

.filedrop::after {
    position: absolute;
    height: 100%;
    width: 100%;
    content: "Zde přetáhněte přílohy";
    z-index: 999;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
    font-size: calc(1.3rem + .6vw);
    color: var(--bs-heading-color,inherit);
    background-color: rgb(var(--bs-body-bg-rgb),0.8);
    border: 0.2rem dashed #0d6efd;
}





/*# sourceMappingURL=.\wwwroot\css\Popup.css.map */
