@import "./color.css";
@import './bootstrap/bootstrap.min.css';
@import './fontawesome/all.min.css';
@import '../library/ckeditor5/ckeditor5.css';
@import '../library/realgrid/realgrid-style.css';
@import '../library/realgrid/realgrid-white.css';
@import '../library/realgrid/grid.css';

@font-face {
    font-family: 'Seoul';
    src: url('/fonts/SeoulNamsanJangB.ttf') format('truetype');
}

@font-face {
    font-family: 'SeoulBold';
    src: url('/fonts/SeoulNamsanJangEB.ttf') format('truetype');
}

html, body {
    font-family: 'Seoul';
    background-color: #f2f2f2;
}

pre {
    font-family: 'Seoul';
}

dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    border: 1px solid #aaa;
    padding: 0;
    margin: 0;
}

    dialog::backdrop {
        background-color: rgba(0, 0, 0, 0.3);
    }

.nob {
    border-radius: 0px !important;
}

#pcEditor .ck-powered-by, .ck-powered-by-balloon {
    visibility: hidden !important;
}

#pcEditor .ck.ck-editor {
    min-width: 1026px;
    max-width: 1026px;
}

#pcEditor .ck-editor__editable:not(.ck-editor__nested-editable) {
    min-width: 1026px;
    min-height: 714px;
    max-width: 1026px;
    max-height: 714px;
    font-size: 13px;
}

#pcEditor .ck-source-editing-area {
    min-width: 1026px;
    min-height: 714px;
    max-width: 1029px;
    max-height: 714px;
}

    #pcEditor .ck-source-editing-area textarea {
        overflow: auto;
    }

#pcEditor .ck-content p {
    margin-block-start: 0.6em;
    margin-block-end: 0.6em;
}

#mobileEditor .ck-powered-by, .ck-powered-by-balloon {
    visibility: hidden !important;
}

#mobileEditor .ck.ck-editor {
    min-width: 96vw;
    max-width: 96vw;
}

#mobileEditor .ck-editor__editable:not(.ck-editor__nested-editable) {
    min-width: 96vw;
    min-height: 70vh;
    max-width: 96vw;
    max-height: 70vh;
    font-size: 3.7vw;
}

#mobileEditor .ck-source-editing-area {
    min-width: 96vw;
    min-height: 70vh;
    max-width: 96vw;
    max-height: 70vh;
}

    #mobileEditor .ck-source-editing-area textarea {
        overflow: auto;
    }

#mobileEditor .ck-content p {
    margin-block-start: 0.4em;
    margin-block-end: 0.4em;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.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;
    }

#components-reconnect-modal {
    display: flex !important;
    opacity: 1 !important;
    background-color: rgb(255 255 255 /80%) !important;
}

    #components-reconnect-modal::before {
        content: "";
        width: 350px;
        height: 65px;
        background: #ac92ec;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border-radius: 20px 20px 0px 0px;
    }

    #components-reconnect-modal h5 {
        width: 350px;
        position: fixed;
        top: 50%;
        left: 50%;
        z-index: 1050;
        background-color: #ac92ec;
        padding: .75rem 1.25rem;
        transform: translate(-50%, -50%);
        border-radius: 0px 0px 20px 20px;
        color: #444;
        margin-top: 60px !important;
        box-shadow: 4px 10px 10px 0px hsl(0deg 0% 0% / 20%);
    }

    #components-reconnect-modal div {
        margin: auto;
        z-index: 1050;
        border-color: #00dd9b #ff00ed #0c5578 #ffb600 !important;
    }

    #components-reconnect-modal button {
        z-index: 1500;
        border: 0px;
        font-size: 14px;
        padding: 5px 25px;
        border-radius: 4px;
        box-shadow: 5px 5px 5px 0px hsl(0deg 0% 40%);
        margin: auto !important;
        transition: .5s;
    }

        #components-reconnect-modal button:hover {
            background-color: #3d4c53;
            color: #fff;
        }

