﻿.container-main {
    display: flex;
    gap: 12px;
}
/*.labreceipt-wrap {
    width: 35%;
}

.labresult-wrap {
    width: 65%;
}*/

.container-main {
    /*display: flex;
    flex-direction: row;*/
}

.container-option {
    
}

.searchbar {
    position: fixed;
    top: 65px;
    left: 0px;
    right: 0;
    height: 70px;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    background-clip: border-box;
    z-index: 10;
}

@media(max-width:1200px) {
    .container-main {
        display: flex;
        flex-direction: column;
        gap: 5px;
        /*grid-template-columns: 1fr;
        height: auto;*/
    }

    .labreceipt-wrap {
/*        margin-top: 40px;*/
/*        margin-left: -180px;*/
    }

    .labreceipt-area {    
        width: 280%;
/*        width: 1100px;*/
    }
    .labresult-area {
        /*        margin-left: 5px;*/
        width: 150.7%;
/*        width: 1100px;*/
    }

    .labresult-wrap {
        /*        display: inline;*/
    }
    /*.labreceipt-wrap,
    .labresult-wrap {
        width: 100%;
    }*/

    .search-action {
/*        display: inline-block;*/
    /*.btn-search {*/
/*        margin-top: 28px;*/
/*        margin-bottom: 3px;*/
/*        margin-left: px;*/
/*        background-color: lightskyblue;*/
/*        display: inline-block;*/
    }

    .btn-search {
/*        margin-top: -10px;*/
    }

    #labresult-lists {
/*        background-color: yellow;*/
        height: 250px;
    }

    #labresult-list {
        /*        background-color: greenyellow;*/
        /*        height: 200px;*/
        /*display: flex;
        overflow-x: hidden;
        box-sizing: border-box;
        table-layout: fixed;
        width: 100%;*/
    }

    /*#labresult-list .row {
        margin-left: 0;
        margin-right: 0;
    }*/

    #labresult-info {
/*        height: 75px;*/
    }

    #labresult-items {
        /*        background-color: yellow;*/
        height: 50vh;
/*        height: 400px;*/
    }



    .labresult-area, table {
/*        height: 500px;*/
    }

    .labreceipt-area {
/*        margin-top: 50px;*/
    }

    .labreceipt-area, .labresult-area {
/*        height: 500px;*/
/*        width: 250%;*/
    }
    .scroll-container, .detail {
        height: 300px;
    }
}

th {
    cursor: pointer;
    user-select: none;
}

/* 헤더 클릭 정렬 */
th.sorted {
    background-color: #e3f2fd;
    color: #0d47a1;
}

th.sorted.asc {
    color: dodgerblue; /*#2ecc71;*/ /* 오름차순 */
}

th.sorted.desc {
    color: indianred; /*#e74c3c;*/ /* 내림차순 */
}

/*.sort-icon {*/
    /*margin-left: 4px;
    font-size: 11px;*/
/*}

.sortable-table th {
    position: relative;*/ /* ⭐ 필수 */
    /*cursor: pointer;
}

.sortable-table th::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 6px;
    background: #333;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 9999;
}

.sortable-table th:hover::after {
    opacity: 1;
}*/
/**/

/* 결과조회 헤더 바*/
.navbar-labresult {
    background-color: white !important;
}

#labresult-top-logo:hover {
    cursor: pointer;
}

.search-labkind {
    flex-direction: column;
    align-content: flex-start !important;
    flex-wrap: wrap;
    justify-content: center;
}

/* 로딩 메세지 */
/*#labresult-item .loading-row td {*/
.loading-row td {
    text-align: center;
/*    height: 50px !important;*/
    color: midnightblue; /*#888;*/
    padding: 20px;
/*    font-style: italic;*/
}

.loading-text {
    font-weight: 500;
}

.loading-text .dot {
    opacity: 0;
    animation: blink 1.4s infinite;
}

.loading-text .dot:nth-child(1) {
    animation-delay: 0s;
}

.loading-text .dot:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-text .dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes blink {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}
/*.loading-text::after {
    content: '';
    animation: dots 1.5s steps(3, end) infinite;
}

@keyframes dots {
    0% {
        content: '';
    }

    33% {
        content: '.';
    }

    66% {
        content: '..';
    }

    100% {
        content: '...';
    }
}*/
/**/

/* 오버레이 방식 */
.loading-overlay {
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.8);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	z-index: 10;
}

.loading-overlay.hidden {
	display: none;
}
/**/

/* 다운로드 */
#download-help {
    font-size: 12px;
}

/*#labresult-excel {
    background-color: lawngreen !important;
    color: white;
}*/

/*#labresult-jpg {
    background-color: midnightblue;
    color: white;
}*/

/*#labresult-pdf {
    background-color: orangered;
    color: white;
}*/

#labresult-excel {
    height: 22px;
    width: 30px !important;
    color: white;
    background-color: mediumseagreen !important;
    border-radius: 5px 0 0 5px; /* 상우하좌 순서로 적용 */
    border: none;
    border-width: thin;
}

#labresult-jpg {
    height: 22px;
    width: 30px !important;
    color: white;
    background-color: cornflowerblue !important;
    border-radius: 0 0 0 0; /* 상우하좌 순서로 적용 */
    border: none;
    border-width: thin;
}

#labresult-pdf {
    height: 22px;
    width: 30px !important;
    color: white;
    background-color: palevioletred !important;
    border-radius: 0 5px 5px 0; /* 상우하좌 순서로 적용 */
    border: none;
    border-width: thin;
}

#labresult-excel, #labresult-jpg, #labresult-pdf {
    /*    margin-top: 2px;
    padding-left: 0px;
    padding-right: 0px;*/
}

#labresult-excel:hover, #labresult-jpg:hover, #labresult-pdf:hover {
    background-color: dimgray !important; /* 호버 시 배경색 */
    color: white;
}

/*input[name="labresult-labkind"] {
    color: red !important;
    
}*/

.labresult-labkind {
    border: none;
    background-color: dodgerblue;
}

.form-check-input {
/*    height: 20px;*/
}

.switcher-btn {
    height: 150px;
    width: 40px;
    background-color: dodgerblue;
}

/*.btnSearch {
    border: none;
    background-color: dodgerblue;
}*/

.form-check-input {
    width: 10px;
    height: 10px;
}

/* 접수 목록 */
.labresult-lab-status {
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    width: 70px;
    height: 20px;
    font-size: 12px;
    border-radius: 4px;
}

.labresult-lab-inspect {
    background-color: deepskyblue !important;
    color: white;
}

.labresult-lab-partial {
    background-color: lightskyblue !important;
    color: white;
}

.labresult-lab-finished {
    background-color: palevioletred !important;
    color: white;
}

.labresult-lab-middle {
    background-color: lightpink !important;
    color: white;
}

/* 검사 결과 */


