 #openModalBtn {
        padding: 10px 20px;
        font-size: 16px;
    }

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Changed from 'auto' to 'hidden' to prevent closing on outside click */
    background-color: rgba(0, 0, 0, 0.4);
    padding-top: 80px;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    border-radius: 10px;
    width: 80%;
    max-width: 1200px;
    animation: fadeIn 0.5s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}


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

    .modal-header {
        background-color: #1f48d4;
        color: white;
        padding: 10px;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .modal-title {
        font-size: 18px;
    }

    .close {
        color: white;
        font-size: 18px;
        font-weight: bold;
        cursor: pointer;
    }

    .close:hover,
    .close:focus {
        color: #bbb;
        text-decoration: none;
    }

    .modal-body {
        padding: 15px;
    }
	
	.custom-card {
    background-color: #f9f9f9;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}


.tooltip-inner {
    background-color: black !important; /* 배경색 */
    color: white !important; /* 글자색 */
}
.tooltip-arrow {
    color: black !important; /* 화살표 색상 */
} 

/* 입력창에 대한 설계 */
.ui-autocomplete {
	max-height: 500px;
	overflow-y: auto;
	overflow-x: hidden;
}

.specialinputWrap {
	position: relative;
	display: inline-block;
	width:100%;
}

.specialbtnClear {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: none;
	color: black;
	cursor: pointer;
}

.specialbtnClear:before {
	content: 'X';
	font-size: 12px;
}

.specialbtnClear:hover {
	color: black;
}

.btnClear_lot {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: none;
	color: black;
	cursor: pointer;
}

.btnClear_lot:before {
	content: 'X';
	font-size: 12px;
}

.btnClear_lot:hover {
	color: black;
}


#showextract {
	display: inline-block;
	position: relative;
}
		
#showextractframe {
    display: none;
    position: absolute;
    width: 800px;
    z-index: 1000;
    left: 50%; /* 화면 가로축의 중앙에 위치 */
    top: 110px; /* Y축은 절대 좌표에 따라 설정 */
    transform: translateX(-50%); /* 자신의 너비의 반만큼 왼쪽으로 이동 */
}
#autocomplete-list {
	border: 1px solid #d4d4d4;
	border-bottom: none;
	border-top: none;
	position: absolute;
	top: 87%;
	left: 65%;
	right: 30%;
	width : 10%;
	z-index: 99;
}
.autocomplete-item {
	padding: 10px;
	cursor: pointer;
	background-color: #fff;
	border-bottom: 1px solid #d4d4d4;
}
.autocomplete-item:hover {
	background-color: #e9e9e9;
}

#listTable {
	vertical-align : middle ;	
}

	
@media print {
	body {
		width: 2970mm; /* A4 width */
		height: 210mm; /* A4 height */
		margin: 0; /* Remove default margin */
		font-size: 10pt; /* Font size for printing */
	}
	.table {
		width: 100%; /* Full width tables */
		table-layout: fixed; /* Uniform column sizing */
		border-collapse: collapse; /* Ensure borders collapse */
	}
	.table th, .table td {
		padding: 1px; /* Reduce padding */
		border: 1px solid black!important; /* Ensure borders are visible */
	}
	.text-center {
		text-align: center; /* Maintain center alignment */
	}

	/* Prevent table row splitting */
	.table tr {
		page-break-inside: avoid; /* Prevent breaking inside rows */
		page-break-after: avoid; /* Allow breaking after rows */
	}
	.table thead {
		display: table-header-group; /* Ensure table headers are repeated */
	}
	.table tbody {
		display: table-row-group; /* Ensure table rows are grouped */
	}
	.table tfoot {
		display: table-footer-group; /* Ensure table footers are repeated */
	}

	/* Add top and bottom margins to each page */
	.table tbody:before,
	.table tbody:after {
		content: "";
		display: table-row;
		height: 5mm; /* Adjust as needed for top and bottom margins */
	}

	/* Remove border from the before and after elements */
	.table tbody:before td,
	.table tbody:after td {
		border: none; /* Remove borders */
	}

	/* Adjust the border of the last row on the page */
	.table tbody tr:last-child td {
		border-bottom: none; /* Remove the bottom border */
		border-left: none; /* Remove the bottom border */
		border-right: none; /* Remove the bottom border */
		border-top: none; /* Remove the bottom border */
	}

	/* Prevent border at the connection of two pages */
	.table tbody tr:last-child td:first-child {
		border-bottom: none; /* Remove the bottom border */
		border-left: none; /* Remove the bottom border */
		border-right: none; /* Remove the bottom border */
		border-top: none; /* Remove the bottom border */
	}
	.table tbody tr:last-child td:last-child {
		border-bottom: none; /* Remove the bottom border */
		border-left: none; /* Remove the bottom border */
		border-right: none; /* Remove the bottom border */
		border-top: none; /* Remove the bottom border */
	}
	
    table, th, td {
        border-width: 1px !important; /* 인쇄 시 테두리를 더 얇게 설정 (0.1px) */
    }	
	/* 테두리 얇게 하는 테스트 */
    .table {
        transform: scale(0.70); /* 약간 축소 */
    }	
}