
@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
}

/* 상단바로가기 */
.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;
}