.hopdong-main {
	padding: 0 15px;
	background: var(--bg-light);
	position: relative;
}

.hopdong-inner {
	background: var(--bs-white);
	padding: 30px;
	font-size: 14px;
}

.hopdong-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}

.hopdong-header .hopdong-left {
	text-align: center;
	display: flex;
	flex-direction: column;
}

.hopdong-header .hopdong-left .hopdong-left_title {
	font-weight: 700;
	color: var(--gray-800);
	margin-bottom: 5px;
}

.hopdong-header .hopdong-left .hopdong-left_image {
	margin-bottom: 8px;
}

.hopdong-header .hopdong-left .hopdong-left_image img {
	height: 60px;
}

.hopdong-header .hopdong-left .hopdong-left_code {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.hopdong-header .hopdong-left .hopdong-left_code > span {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	margin-left: 4px;
	border-radius: 4px;
	width: 20px;
	height: 20px;
	border: 2px solid var(--gray-800);
	margin-top: -1px;
	padding-top: 1px;
}

.hopdong-header .hopdong-left .hopdong-left_code > span:last-child {
	margin-right: 4px;
}

.hopdong-header .hopdong-right {
	text-align: center;
	display: flex;
	flex-direction: column;
}

.hopdong-header .hopdong-right .hopdong-right_title,
.hopdong-header .hopdong-right .hopdong-right_description {
	font-weight: 700;
	color: var(--gray-800);
}

.hopdong-header .hopdong-right .hopdong-right_divider {
	display: inline-block;
	margin: 4px auto 8px;
	height: 2px;
	background-color: var(--gray-800);
	width: 100px;
}

.hopdong-body {
	padding-top: 15px;
}

.hopdong-body .hopdong-title {
	margin-bottom: 10px;
	font-size: 22px;
	font-weight: 700;
	color: var(--gray-800);
	text-align: center;
	text-transform: uppercase;
}

.hopdong-body .hopdong-law ul {
	padding-left: 16px;
	color: var(--gray-800);
	font-style: italic;
	display: flex;
	flex-direction: column;
	margin-bottom: 0
}

.hopdong-body .hopdong-divider {
	display: block;
	height: 1px;
	background-color: var(--gray-800);
	width: 100%;
	margin: 4px 0;
}

.hopdong-information {
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin-bottom: 7px
}

.hopdong-information ul {
	display: flex;
	flex-direction: column;
}

.hopdong-information .hopdong-information_grid {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

.hopdong-information .hopdong-information_grid > span:first-child {
	min-width: 32%;
}

.hopdong-spacing {
	margin-bottom: 3px;
}

.hopdong-domain {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 8px;
}

.hopdong-domain > span {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 28px;
	height: 28px;
	border: 2px solid var(--gray-800);
	padding-top: 2px;
	font-size: 15px;
	text-transform: uppercase;
	font-weight: 700;
}

.hopdong-domain_long > span {
	width: 26px;
	height: 26px;
	font-size: 14px;
}

.hopdong-domain_long_2 > span {
	width: 24px;
	height: 24px;
}

.hopdong-domain > span + span {
	border-left: 0;
}

.hopdong-text p {
	margin-bottom: 3px;
}

.hopdong-text p:last-child,
.hopdong-text ul:last-child {
	margin-bottom: 0
}

.hopdong-text ul li + li {
	margin-top: 3px;
}

.hopdong-wrapper + .hopdong-wrapper {
	margin-top: 6px;
}

.hopdong-table {
	--bs-table-border-color: #242424;
	font-size: 14px;
	margin-bottom: 10px;
}

.hopdong-table > :not(caption) > * > * {
	padding: 0.35rem .5rem;
	vertical-align: middle;
	color: #000000;
}

.hopdong-table tbody tr td:first-child {
	text-align: center;
	width: 4%;
}

.hopdong-table tbody tr td:nth-child(2) {
	font-weight: 700;
	width: 30%;
}

.hopdong-table thead tr th {
	background: var(--primary-color);
	text-align: center;
	color: #fff;
	white-space: nowrap;
}

.hopdong-table.hopdong-table_price tr td:nth-child(2) {
	width: 50%;
	font-weight: 400;
}

.hopdong-table.hopdong-table_price tr td:nth-child(3) {
	width: 10%;
	font-weight: 400;
}

.hopdong-table.hopdong-table_price tr td:nth-child(4) {
	width: 15%;
	font-weight: 700;
}

.hopdong-table.hopdong-table_price tr td:nth-child(5) {
	width: 25%;
	font-weight: 700;
}

.hopdong-table.hopdong-table_time tr td:nth-child(2) {
	width: 80%;
	font-weight: 400;
}

.hopdong-table.hopdong-table_time tr td:nth-child(3) {
	font-weight: 700;
}

.hopdong-table p:last-child,
.hopdong-table ul:last-child,
.hopdong-table ol:last-child {
	margin-bottom: 0;
}

.hopdong-grid {
	display: flex;
}

.hopdong-grid .hopdong-grid_item {
	height: 150px;
	font-weight: 700;
	width: 50%;
	text-align: center;
}

.btn-print {
	position: fixed;
	top: 5px;
	right: 5px;
	z-index: 10;
	border-radius: 4px;
	padding: 8px 12px;
	font-size: 14px;
	background-color: var(--primary-color);
	color: var(--bs-white);
	border: 0;
}

.text-floating {
	position: fixed;
	top: 45px;
	right: 5px;
	z-index: 10;
	font-size: 14px;
	color: var(--bs-gray-700);
}

@media print {
	.hopdong-inner {
		padding-top: 0;
		padding-left: 0;
		padding-right: 0;
	}

	.hopdong-main {
		background: #ffffff;
		padding: 0;
	}

	.hopdong-main .container {
		padding: 0;
		display: table;
		border-bottom: 0;
	}

	.hopdong-table {
		height: 100%;
	}

	.hopdong-header .hopdong-left .hopdong-left_code > span {
		margin-top: 0;
		padding-top: 0;
	}

	.hopdong-information .hopdong-information_grid > span:first-child {
		min-width: 300px;
	}

	.hopdong-domain > span {
		border: 1px solid var(--gray-800);
	}

	.hopdong-wrapper,
	.contract-main {
		page-break-inside: avoid;
	}

	.btn-print,
	.text-floating {
		display: none;
	}
}