@charset "utf-8";

/* BlockUI loading */
.lds-ripple {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ripple div {
    position: absolute;
    background-color: #002c5f;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.dark-mode .lds-ripple div {
    position: absolute;
    background-color: #3695ff;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.lds-ripple div:nth-child(2) {
    animation-delay: -0.7s;
}

@keyframes lds-ripple {
    0% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 0;
    }
    4.9% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 0;
    }
    5% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        top: 0px;
        left: 0px;
        width: 72px;
        height: 72px;
        opacity: 0;
    }
}

.blockOverlay {
    background-color: rgba(255, 255, 255, .5) !important;
}

.dark-mode .blockOverlay {
    background-color: rgba(0, 0, 0, .5) !important;
}

/* Sweetalert2 */
.swal2-container {
    z-index: 20000 !important;
}

.swal2-popup .swal2-html-container {
    overflow: hidden;
}

.swal2-popup {
    border: 1px solid #C0C0C0 !important;
    border-radius: 8px !important;
    font-size: 1.25em !important;
    width: 25em !important;
}

.dark-mode .swal2-popup {
    background-color: #363739;
    border: 1px solid #767676 !important;
}

.swal2-styled.swal2-confirm {
    min-width: 110px !important;
    border: 1px solid #C0C0C0 !important;
    height: 44px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 4px;
    padding: 0 10px;
    text-align: center;
    position: relative;
    -webkit-box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .4);
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .4);
}

.dark-mode .swal2-styled.swal2-confirm {
    border: 1px solid #767676 !important;
    -webkit-box-shadow: 0px 0px 0px 0px rgba(255, 255, 255, .4);
    box-shadow: 0px 0px 0px 0px rgba(255, 255, 255, .4);
}

.swal2-styled.swal2-deny {
    min-width: 110px !important;
    border: 1px solid #C0C0C0 !important;
    background-color: #C0C0C0 !important;
    height: 44px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 4px;
    padding: 0 10px;
    text-align: center;
    position: relative;
    -webkit-box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .4);
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .4);
}

.dark-mode .swal2-styled.swal2-deny {
    border: 1px solid #767676 !important;
    background-color: #767676 !important;;
    -webkit-box-shadow: 0px 0px 0px 0 rgba(255, 255, 255, .4);
    box-shadow: 0px 0px 0px 0 rgba(255, 255, 255, .4);
}

.swal2-styled.swal2-cancel {
    color: #000 !important;
    min-width: 110px !important;
    border: 1px solid #C0C0C0 !important;
    background-color: #ffffff !important;
    height: 44px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 4px;
    padding: 0 10px;
    border: 1px solid #000;
    text-align: center;
    position: relative;
    -webkit-box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.4);
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.4);
}

.dark-mode .swal2-styled.swal2-cancel {
    color: #d9d9d9 !important;
    border: 1px solid #767676 !important;
    background-color: rgba(0, 0, 0, 0) !important;
    -webkit-box-shadow: 0px 0px 0px 0px rgba(255, 255, 255, .4);
    box-shadow: 0px 0px 0px 0px rgba(255, 255, 255, .4);
}

.swal2-file,
.swal2-input,
.swal2-textarea {
    padding: 0 10px !important;
    font-size: 12px !important;
    color: #000 !important;
    letter-spacing: -.02em !important;
    border-radius: 0 !important;
    border-color: silver !important;
}

.dark-mode .swal2-file,
.dark-mode .swal2-input,
.dark-mode .swal2-textarea,
.dark-mode .swal2-html-container {
    color: #d9d9d9 !important;
    border-color: #767676 !important;
}

.swal2-styled.swal2-default-outline:focus {
    box-shadow: 0 0 0 1px rgba(100, 100, 100, .5);
}

.dark-mode .swal2-styled.swal2-default-outline:focus {
    box-shadow: 0 0 0 1px rgba(200, 200, 200, 0.5);
}

.vjs-big-play-button, .vjs-control-bar {
    z-index: 2;
}

.vjs-paused.vjs-has-started .vjs-big-play-button {
    display: block;
}

/* full layer popup */
#fullScreenLayerPop {
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 15000;
}

#btnFullScreenLayerPop {
    position: fixed;
    top: 5px;
    right: 10px;
    z-index: 1;
}

#fullScreenLayer {
    background-color: #fff;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
}

/* preview layer popup */
#previewLayerWrap {
    overflow: hidden;
}

#previewLayerWrap #previewLayerPop {
    display: none;
    position: fixed;
    top: 5px;
    left: 5px;
    width: calc(100% - 10px);
    background-color: #000;
    border: 8px solid #000;
    border-top: 32px solid #000;
    z-index: 10001;
}

#previewLayerWrap #previewLayerDimmed {
    display: none;
    overflow: hidden;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #0003;
    z-index: 10000;
}

#previewLayerWrap #previewLayerPop article {
    overflow: hidden;
    display: block;
    height: 100%;
    width: 100%;
}

#previewLayerWrap #btnPreviewLayerPop {
    width: 34px;
    height: 32px;
    display: none;
    position: absolute;
    right: 8px;
    top: 8px;
    z-index: 10002;
}

#previewLayerWrap #btnPreviewLayerPop span {
    color: #fff;
}

#previewLayerWrap #iframePreview {
    background-color: #fff;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
}

#previewLayerWrap #imgPreview {
    width: 100%;
}

.sch-box.search {
    display: none;
}

.sch-box.search .sch-select.category {
    display: none;
}

.sch-box.search .sch-box-in.form {
    display: none;
}

.quick-btn-wrap .btn-copy-link:hover {
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
    -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, .2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .2)
}

.quick-btn-wrap .btn-copy-link {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background: #3c3d40;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.quick-btn-wrap .btn-copy-link::before {
    content: "\e80d";
    font-size: 24px;
    height: 20px;
    line-height: 1.3;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
    color: #fff;
    font-size: 20px;
}

.quick-btn-wrap .btn-copy-link span {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

div.dropdowntree-select {
    display: inline-block;
    position: relative;
}

@media (max-width: 1023px) {
    div.dropdowntree-select {
        width: 100%;
    }
}

input.dropdowntree-value {
    color: #595959;
    background: #fff !important;
}

input.dropdowntree-value:disabled {
    background: #e2e2e2 !important;
}

.dark-mode input.dropdowntree-value {
    background: rgba(0, 0, 0, 0) !important;
}

.dark-mode input.dropdowntree-value:disabled {
    border: 0;
    background: #424242 !important;
}

button.dropdowntree-reset {
    position: absolute;
    top: 0px;
    right: 25px;
}

div.dropdowntree-search {
    display: flex;
    background-color: #fff;
    border-bottom: 1px solid #000;
}

.dark-mode div.dropdowntree-search {
    background-color: #363739;
    border-bottom: 1px solid #969696;
}

input.dropdowntree-filter {
    margin: 4px;
    height: 26px !important;
    width: 100% !important;
}

div.dropdowntree-search::before {
    content: "\e8b6";
    display: inline-block;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    font-family: "Material Symbols Rounded";
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    font-size: 22px;
    text-transform: none;
    text-decoration: none;
    vertical-align: top;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    color: #969696;
    line-height: normal;
    position: absolute;
    top: 4px;
    right: 8px;
    z-index: 1;
}

div.dropdowntree-option {
    display: inline-block;
    position: absolute;
    left: 0px;
    width: 100%;
    max-height: 260px;
    border: 1px solid #000;
    border-radius: 4px;
    margin-top: 5px;
    overflow: hidden;
    z-index: 10;
}

.dark-mode div.dropdowntree-option {
    border: 1px solid #969696;
}

div.dropdowntree-option:has(div.dropdowntree-empty) {
    height: 72px;
}

.jstree-default .jstree-search {
    color: #7d00fe !important;
}

.jstree-default .jstree-clicked {
    color: #ffffff !important;
}

div.dropdowntree-empty {
    text-align: center;
    height: 70px;
    padding: 25px 0px;
}

div.dropdowntree-view {
    overflow-y: scroll;
    overflow-x: hidden;
    background: #fff;
    width: 100%;
    max-height: 219px;
    z-index: 10;
}

.dark-mode div.dropdowntree-view {
    background-color: #363739;
}

.dropdowntree-hide {
    display: none !important;
}

div.dropdowntree-view::-webkit-scrollbar {
    width: 5px
}

div.dropdowntree-view::-webkit-scrollbar-thumb {
    background: #ccc;
    margin-bottom: 10px
}

div.dropdowntree-view::-webkit-scrollbar-track {
    background: #fff
}

.dark-mode div.dropdowntree-view::-webkit-scrollbar-thumb {
    background: #000;
}

.dark-mode div.dropdowntree-view::-webkit-scrollbar-track {
    background: #363739;
}

/* image upload */
.upload-form.thumbnail .upload-container {
    margin: 0px;
    flex-direction: column;
}

.upload-form.thumbnail .upload-dropzone-text label:hover {
    text-decoration: none;
}

.upload-form.thumbnail .k-upload {
    margin: 0px;
}

.upload-form.thumbnail .alert {
    border: none;
    background: rgba(0, 0, 0, 0);
    font-size: 12px;
    margin-top: 10px;
    margin-bottom: 0;
}

.upload-form.thumbnail .k-thumbnails {
    overflow: hidden;
    position: absolute;
    float: left;
    z-index: 1;
    display: flex;
    gap: 20px;
}

.upload-form.thumbnail .k-thumbnail {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    z-index: 1;
}

.upload-form.thumbnail .k-thumbnail img {
    width: 100%;
    height: 100%;
    min-height: 40px;
    object-fit: contain;
    display: block;
    background-color: #fff;
    background-image:
        linear-gradient(45deg, #f0f0f0 25%, transparent 25%),
        linear-gradient(-45deg, #f0f0f0 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #f0f0f0 75%),
        linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 64px 64px;
    background-position: 0 0, 0 32px, 32px -32px, -32px 0;
}

.upload-form.thumbnail .k-thumbnail .k-thumbnail-status {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); /* Safari */
    background: rgba(0, 0, 0, .3);
    color: #fff;

}

.upload-form.thumbnail .k-thumbnail:hover .k-thumbnail-status {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.upload-form.thumbnail .k-thumbnail .k-thumbnail-filename {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);

    max-width: calc(100% - 12px);
    padding: 2px 6px;

    font-size: 12px;
    line-height: 1.4;
    color: #ffffff;

    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    pointer-events: none;
    z-index: 2;
}

.upload-form.thumbnail .k-thumbnail .k-thumbnail-filesize {
    position: absolute;
    top: calc(20% + 25px);
    left: 50%;
    transform: translateX(-50%);

    max-width: calc(100% - 12px);
    padding: 2px 6px;

    font-size: 10px;
    line-height: 1.4;
    color: #ffffff;

    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    pointer-events: none;
    z-index: 2;
}

.upload-form.thumbnail .k-thumbnail .k-thumbnail-button-group {
    position: absolute;
    top: calc(20% + 75px);
    left: 50%;
    transform: translate(-50%, -50%);

    display: flex;
    gap: 12px;

    transition: opacity 0.2s ease;

    z-index: 3;
}

.upload-form.thumbnail .k-thumbnail .k-thumbnail-button-group button {
    width: 36px;
    height: 36px;

    color: #ffffff;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: background 0.15s ease, transform 0.15s ease;
}

.upload-form.thumbnail .k-thumbnail .k-thumbnail-button-group button:hover {
    border: none;
    border-radius: 50%;
    transform: scale(1.1);
}

@media (max-width: 899px) {
    .gnb-menu-all .gnb-all-wrap .all-depth1 > li > .all-depth2 {
        padding: 0;
    }

    .gnb-menu-all .gnb-all-wrap .all-depth1 > li > .all-depth2 > li {
        border-bottom: 0;
    }

    .gnb-menu-all .gnb-all-wrap .all-depth1 > li > .all-depth2 > li > a {
        padding: 0 14px;
        border-bottom: 1px solid #dadada;
    }

    .gnb-menu-all .gnb-all-wrap .all-depth1 > li > .all-depth2 > li > .all-depth3 {
        padding: 0;
        border-top: 0;
    }

    .gnb-menu-all .gnb-all-wrap .all-depth1 > li > .all-depth2 > li > .all-depth3 > li {
        padding: 14px 14px 14px 28px;
        margin-bottom: 0;
    }

    .gnb-menu-all .gnb-all-wrap .all-depth1 > li > .all-depth2 > li > .all-depth3 > li:last-child {
        border-bottom: 1px solid #dadada;
    }
}