/* 
  乐建土木-在线工具CSS
  www.zhzux.com
  tool.zhzux.com
  后更新时间：2026年1月30日
*/


/* 
长度换算计算工具CSS
 */
.main {
	width: 100%;
}

.container-jisuan {
	padding: 20px;
	background-color: #f1f6f9;
	border-radius: 15px;
	box-shadow: 0 0 10px rgba(0,0,0,0.05)
}

.section-title {
	background-color: #00c8ff;
	color: white;
	padding: 10px 15px;
	border-radius: 4px;
	margin-bottom: 15px;
	font-size: 18px;
}

.input-section {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
	margin-top: 20px;
	width: 100%;
}

.input-section>input {
	flex: 2;
	margin: 0 10px 10px 0;
	padding: 8px 8px 8px 20px;
	font-size: 24px;
	border: 2px solid #e5f0f7;
	border-radius: 8px;
	box-sizing: border-box;
	height: 50px;
}

.input-section>select {
	flex: 1;
	margin: 0 10px 10px 0;
	padding: 8px;
	font-size: 24px;
	border: 2px solid #e5f0f7;
	border-radius: 8px;
	box-sizing: border-box;
	height: 50px
}

.input-section>select {
	font-size: 16px;
	height: 50px;
	margin: 0 0 10px 0
}

.button-section {
	display: flex;
	justify-content: space-between;
	margin-bottom: 20px
}

.button-section>button {
	flex: 1;
	margin: 0 10px 10px 0;
	padding: 10px;
	font-size: 16px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	background-color: #00c8ff;
	color: white;
	height: 50px;
	font-weight: bold
}

.button-section>button:hover {
	opacity: 0.9
}

#clearButton {
	background-color: #ffa41b;
	background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.1) 75%, transparent 75%, transparent);
	background-size: 9px 9px;
	margin: 0 0 10px 0
}

table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 20px;
	background: #f9f9f9;
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	overflow: hidden
}

th,td {
	padding: 15px 15px !important;
	border: 1px solid #ddd !important;
	text-align: center !important;
	font-size: 1.2em !important;
	width: 50%!important;
}

th {
	background-color: #00c8ff !important;
	color: white !important;
	font-weight: bold !important
}

tr:nth-child(even) {
	background-color: #f2f2f2 !important
}

tr:hover {
	background-color: #e2e2e2 !important
}

input[type=number] {
	-moz-appearance: textfield
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0
}

input:focus {
	border-color: #00c8ff
}

.input-section>select:focus {
	border-color: #00c8ff
}

.input-section>select option:selected {
	font-weight: bold
}

.button-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 10px 10px;
	overflow: hidden;
	justify-content: space-between;
	margin-top: 20px;
	margin-bottom: 30px;
	width: 100%;
}

button {
	font-size: 16px;
	border-radius: 8px;
	border: none;
	cursor: pointer;
	background-color: #00c8ff;
	color: #FFF;
	width: 100%;
	height: 50px;
	font-weight: bold;
}

button:hover {
	opacity: 0.9;
}

.button-row button {
	background-color: #d7ebf0;
	color: #333;
}

.button-row button.selected {
	background-color: #00c8ff;
	color: #FFF;
}

.container-jisuan .active {
	display: block;
}

.content-jihe {
	display: none;
}

.sue-icon-text {
	margin-bottom: 0 !important;
	margin-top: 30px;
	border: 1px solid #98d3f9;
	padding: 15px;
}

.sue-icon-text p {
	margin: 6px 0;
	line-height: 20px;
	font-size: 1.0em;
}

.article-copyright {
	display: none !important
}

.miaoshu {
	margin-left: 8px;
	font-size: 14px;
	font-weight: 400;
	color: #FF0000;
}

@media screen and (max-width:480px) {
    
    th {
    padding: 12px 15px !important;
    font-size: 1.2em !important;
}
    
    td {
    padding: 15px 15px !important;
    font-size: 1.1em !important;
}
    
	.article-header {
		font-size: 14px;
	}

	.container-jisuan {
		padding: 10px;
	}

	.container-jisuan {
		width: 100%
	}

	.input-section>input {
		width: 100%;
		flex: 1;
	}

	.button-row {
		grid-template-columns: repeat(2, 1fr);
		margin-bottom: 20px;
	}

	.section-title {
		padding: 12px 10px;
		border-radius: 8px;
		margin-bottom: 10px;
		font-size: 1.2em;
	}

	button {
		font-size: 15px;
		height: 45px;
	}

	.input-section>input {
		font-size: 1.4em;
		height: 40px;
	}

	.input-section>select {
		font-size: 1.2em;
		height: 40px;
		flex: 0 0 140px;
		width: 100%;
	}

	.button-section>button {
		font-size: 1.1em;
		height: 40px;
	}

	.sue-icon-text p {
		margin: 5px 0;
		line-height: 18px;
		font-size: 0.9em;
	}

	.sue-icon-text {
		padding: 10px;
		margin-top: 0px;
	}
}