
@charset "utf-8";
a,
a:hover {color: unset;}

ul {list-style: none; padding: 0; margin: 0;}

input.error,
input.error:focus {
    border-color: var(--red) !important;
}

label.error {
    color: var(--red);
    font-weight: 700;
    display: block;
    position: absolute;
    right: 3em;
    top: 10px;
    z-index: 9999;
}

.clear {
    clear: both;
}

.clear:after {
    content: "";
    display: block;
    clear: both;
}

.hide {
    display: none !important
}

/* Global Loading Layer */
#nx-global-loading {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: none;
}

#nx-global-loading.is-active {
    display: block;
}

#nx-global-loading .nx-loading-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(1000px 500px at 12% -10%, rgba(40, 77, 134, 0.40) 0%, rgba(0, 0, 0, 0) 60%),
        radial-gradient(850px 480px at 100% 10%, rgba(18, 109, 131, 0.35) 0%, rgba(0, 0, 0, 0) 60%),
        rgba(8, 14, 29, 0.64);
    backdrop-filter: blur(6px);
    animation: nxFadeIn .24s ease-out;
}

#nx-global-loading .nx-loading-panel {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(440px, calc(100% - 36px));
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 20px;
    padding: 28px 26px 24px;
    background: rgba(15, 24, 44, 0.82);
    box-shadow: 0 24px 70px rgba(3, 8, 20, 0.45);
    animation: nxPanelIn .26s cubic-bezier(.2, .8, .2, 1);
    text-align: center;
}

#nx-global-loading .nx-loading-title {
    color: #f7fbff;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

#nx-global-loading .nx-loading-desc {
    margin-top: 8px;
    color: #b7c2d6;
    font-size: 0.95rem;
}

#nx-global-loading .nx-loading-orbit {
    width: 66px;
    height: 66px;
    margin: 0 auto 14px;
    position: relative;
}

#nx-global-loading .nx-loading-orbit span {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7de8ff, #9cffd0);
    box-shadow: 0 0 0 2px rgba(100, 227, 255, 0.2);
    left: 50%;
    top: 50%;
    margin: -8px 0 0 -8px;
    animation: nxOrbit 1s linear infinite;
}

#nx-global-loading .nx-loading-orbit span:nth-child(2) { animation-delay: -0.33s; }
#nx-global-loading .nx-loading-orbit span:nth-child(3) { animation-delay: -0.66s; }

#nx-global-loading .nx-loading-progress {
    margin-top: 16px;
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
}

#nx-global-loading .nx-loading-progress > span {
    display: block;
    height: 100%;
    width: 40%;
    border-radius: 999px;
    background: linear-gradient(90deg, #7de8ff, #9cffd0);
    animation: nxProgress 1.25s ease-in-out infinite;
}

/* 상단바로가기 */
.top {
    position: fixed;
    text-align: center;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    background-color: rgb(255,255,255, 0.5);
    right: 10px;
    bottom: 45px;
    border: 1px #ccc solid;
    color: #666;
    line-height: 45px;
    display: none;
}
.top:hover {
    color: #000;
}

/* 00 개씩 보기 */
.view-count-select {
    position: absolute;
    width: 150px;
    right: 20px;
    top: 20px
}


/* 모달 bootbox */
.modal-dialog .modal-content .modal-header {
    padding: 0;
    margin: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 2px var(--gray-dark) solid;
}

.modal-dialog .modal-content .modal-header .modal-title {
    font-size: 2em;
    font-weight: 900;
}

.modal-dialog .modal-content .modal-body {
    font-size: 1.2em;
}

.modal-dialog .modal-content .modal-footer {
    justify-content: center;
}

/* TABLE ROW */
.table-col,
.table-row {
    width: 100%;
    border-top: 1px solid #222;
}
.table-row th {
    background-color: var(--dark);
    color: var(--white);
    padding: .5em;
    border-right: 1px solid #ccc;
    text-align: center;
    height: 30px;
}

.table-row td {
    padding: .5em;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    
}

.table-row th:last-child,
.table-row td:last-child {
    border-right: 0;
}

.table-row tfoot td {
    padding-top: 1em;
    border-bottom: 0;
}

.table-over {width: 100%; overflow: auto;}
.table-over table {white-space: nowrap;}

.table-col {
    table-layout: fixed;
}

.table-col th {
    background-color: #eaeaea;
    text-align: left;
    padding: .5em 1em;
    border-right: 1px solid var();
    border-bottom: 1px solid #ccc;
    font-size: 13px;
}

.table-col td {
    padding: .5em;
    border-bottom: 1px solid #ccc;
    font-size: 12px;
    height: 43px;
}

/* radio, checkbox */
input[type="checkbox"] {
    position: absolute;
    left: -5000%
}

input[type="checkbox"]+label {
    font-weight: normal;
    margin-right: 1.5em;
    margin-bottom: 0;
}

input[type="checkbox"]+label:last-child {
    margin-right: 0;
}

input[type="checkbox"]+label:before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 1px #a6a6a6 solid;
    position: relative;
    top: 3px;
    margin-right: .5em;
    border-radius: 0;
    box-sizing: border-box;
    background-color: #FFF;
}

input[type="checkbox"]+label.no-margin:before {
    margin-right: 0;
}


input[type="checkbox"]+label.mg-0:before {
    margin: 0;
}

input[type="checkbox"]:checked+label:before {
    background: url("/image/checkbox-checked.jpg") no-repeat;
}

input[type="radio"] {
    position: absolute;
    left: -5000%
}

input[type="radio"]+label {
    font-weight: normal;
    margin-right: 1.5em;
    margin-bottom: 0;
}

input[type="radio"]+label:last-child {
    margin-right: 0;
}

input[type="radio"]+label:before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 1px #a6a6a6 solid;
    position: relative;
    margin-right: .5em;
    top: 3px;
    border-radius: 16px;
    box-sizing: border-box;
    background-color: #FFF;
}

input[type="radio"]+label.no-margin:before {
    margin-right: 0;
}

input[type="radio"]:checked+label:before {
    background: url("/image/radio-checked.jpg") no-repeat;
}

input[type=checkbox][disabled]+label:before,
input[type=radio][disabled]+label:before {
    background: #eaeaea;
    border-color: #726969;
    color: #666;
    font-size: 1em;
    cursor: not-allowed;
}


.form-control {
    border-radius: 0;
}

.btn {
    border-radius: 0;
}

.btn-edit,
.btn-edit:focus{
    font-size: .9em;
    padding: .3em .5em;
    background: #fff;
    color: #222;
    border: 1px #ccc solid
}

.btn-edit:hover{
    background: #fff;
    color: #1a1a1a;
    border: 1px #1a1a1a solid
}
.button-label {
    display: inline-block;
}
.button-label input[type="radio"],
.button-label input[type="checkbox"] {
    display: none;
}
.button-label input[type="radio"] + span,
.button-label input[type="checkbox"] + span {
    display: inline-block;
    padding: 20px 15px;
    border: 1px solid #ccc;
    background-color: #ffffff;
    text-align: center;
    cursor: pointer;
}

.button-label input[type="radio"]:checked + span,
.button-label input[type="checkbox"]:checked + span {
    background-color: var(--dark);
    color: #ffffff;
}

.button-label input[type="radio"]:disabled + span,
.button-label input[type="checkbox"]:disabled + span {
    background-color: #eee;
    color: #aaa;
}

.button-label-ul {
    display: flex;
    gap: 1em;
    flex-wrap:wrap;
}

.page-item.active .page-link {
    background-color: var(--teal);
    border-color: var(--teal);
}

.media-list li {
    border-bottom: 1px #ccc dotted;
    padding: 10px 0;
}

.media-list li a {
    display: flex;
    gap: 10px;
}

.media-list > li > a > .title {flex: 1; max-width: 228px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap}
.media-list > li > a > .date {flex: none; width: 70px; text-align: center;}
.search-start-date::after {
    content: '~';
    position: absolute;
    right: -5px;
    top: 5px;
}

.favorite-ul {display: flex; flex-wrap: wrap; gap: 20px;}
.favorite-ul > li {font-weight: 700;}
.favorite-ul > li > ul {margin-left: 10px;}
.favorite-ul > li > ul > li {margin-top: 10px;}
.favorite-ul > li > ul > li > ul {margin-left: 20px;}

.inspection-ul {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}
.inspection-ul > li > a {
    display: block;
    width: 91px;
    height: 91px;
    text-align: center;
}
.inspection-ul > li > a > p {
    margin: 25px 0 0 0;
}
.inspection-ul > li > a.active {
    background-color: var(--teal);
    font-weight: 700;
    color: #FFF;
    border: 1px var(--teal) solid;
}
.inspection-ul > li > a.non-active {
    background-color: #ccc;
    font-weight: 700;
    color: #eee;
    border: 1px #ccc solid;
    pointer-events: none;
}
.inspection-ul > li > a.stop {
    background-color: var(--orange);
    font-weight: 700;
    color: #FFF;
    border: 1px var(--orange) solid;
}

.cke_maximized {padding-top: 103px !important;}

.js-sign {height: 36px;}

button[disabled] {
    cursor: not-allowed !important;
}

/* Bootbox Modal Modern */
.bootbox.modal .modal-dialog {
    transform: translateY(18px) scale(0.97);
    opacity: 0;
    transition: transform .24s cubic-bezier(.2,.8,.2,1), opacity .24s ease;
}

.bootbox.modal.show .modal-dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.bootbox.modal .modal-content {
    border: 1px solid rgba(19, 37, 66, 0.14);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(7, 16, 35, 0.28);
}

.bootbox.modal .modal-header {
    margin: 0;
    padding: 1.2rem 1.4rem 1rem;
    border-bottom: 1px solid rgba(26, 53, 90, 0.12);
    background: linear-gradient(120deg, #f7fbff 0%, #eef5ff 100%);
}

.bootbox.modal .modal-header .modal-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0c203f;
}

.bootbox.modal .modal-body {
    font-size: 1.03rem;
    color: #2c3850;
    line-height: 1.7;
    padding: 1.2rem 1.4rem;
}

.bootbox.modal .modal-footer {
    justify-content: flex-end;
    border-top: 1px solid rgba(26, 53, 90, 0.10);
    background: #f8fbff;
    padding: 0.9rem 1.25rem 1.15rem;
    gap: 8px;
}

.bootbox.modal .modal-footer .btn {
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: 0.01em;
    min-width: 90px;
}

.modal-backdrop.show { opacity: 0.5; }

@keyframes nxFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes nxPanelIn {
    from { transform: translate(-50%, -45%) scale(0.96); opacity: 0; }
    to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

@keyframes nxOrbit {
    0% { transform: rotate(0deg) translateX(24px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(24px) rotate(-360deg); }
}

@keyframes nxProgress {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(330%); }
}

@media (max-width: 768px) {
    #nx-global-loading .nx-loading-panel {
        padding: 24px 18px 20px;
        border-radius: 16px;
    }
    #nx-global-loading .nx-loading-title { font-size: 1.2rem; }
    .bootbox.modal .modal-header .modal-title { font-size: 1.12rem; }
}

@media (prefers-reduced-motion: reduce) {
    #nx-global-loading .nx-loading-backdrop,
    #nx-global-loading .nx-loading-panel,
    #nx-global-loading .nx-loading-orbit span,
    #nx-global-loading .nx-loading-progress > span,
    .bootbox.modal .modal-dialog {
        animation: none !important;
        transition: none !important;
    }
}
