/* 
  乐建土木-在线工具CSS
  www.letm.top
  tool.letm.top
*/

/* 
角钢等型钢计算工具CSS
 */

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

.button-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-top: 20px;
	width: 100%
}

.form-row button {
	padding: 3px 10px;
	font-size: 16px;
	border-radius: 8px;
	border: none;
	cursor: pointer;
	width: calc(48% - 10px);
	height: 50px;
	font-weight: bold;
	margin-bottom: 10px;
	background-color: #d7ebf0;
	color: #000
}

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

.input-container {
	display: flex;
	align-items: center;
	width: 100%;
	flex-wrap: wrap
}

.form-row input[type=number],
.form-row input[type=text],
.form-row select {
	flex: 1;
	padding: 0 0 0 12px;
	border: 2px solid #e5f0f7;
	border-radius: 8px;
	box-sizing: border-box;
	transition: border-color 0.3s;
	height: 50px;
	margin: 0 10px 10px 0;
	font-size: 24px;
	min-width: 0
}

.form-row input:focus,
.form-row select:focus {
	border-color: #00c8ff
}

.unit {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: bold;
	color: #00b9eb;
	width: 60px;
	height: 50px;
	border: 2px solid #f1f6f9;
	border-radius: 8px;
	background-color: #fff;
	margin: 0 0 10px 0
}

.label-result {
	width: 100%;
	font-weight: bold;
	margin-bottom: 15px;
	margin-left: 3px;
	display: flex;
	align-items: center
}

.result-icon {
	margin-right: 8px;
	width: 24px;
	height: 24px;
	flex-shrink: 0
}

.result-input {
	background-color: #f4f9fc !important;
	border-color: #e5f0f7 !important;
	color: #333;
	pointer-events: none
}

.dimension-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start
}

.dimension-item {
	display: flex;
	align-items: center;
	margin-right: 10px;
	margin-bottom: 10px;
	flex: 1 0 calc(33.333% - 10px);
	min-width: 100px
}

.dimension-label {
	font-weight: bold;
	margin-right: 5px;
	width: 20px;
	text-align: center
}

.form-row input[type=text].dimension-input {
	flex: 1;
	min-width: 0
}

.image-container {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	margin-bottom: 20px
}

#steelImage {
	width: 90%;
	height: auto;
	max-width: 200px
}
.dropdown {
	position: relative;
	display: inline-block;
	cursor: pointer;
	margin: 0 0 10px 0
}


.dropdown-content ul {
	list-style: none;
	margin: 0;
	padding: 0
}

.dropdown-content li {
	all: unset;
	color: black;
	margin: 5px !important;
	padding: 5px 5px;
	display: block;
	cursor: pointer;
	border-radius: 8px
}

.dropdown-content li:hover,
.dropdown-content li.selected {
	background-color: #f1f6f9
}


.selected-unit {
	height: 50px;
	padding: 12px;
	border: 2px solid #e5f0f7;
	border-radius: 8px;
	background-color: #fff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-width: 120px;
	text-align: center;
	transition: background-color .3s, border-color .3s
}

.selected-unit span {
	margin: 0;
	color: #00b9eb;
	font-weight: bold
}

.selected-unit:hover {
	background-color: #f1f6f9;
	box-shadow: inset 0 0 0 3px #fff
}

.selected-unit.active {
	border-color: #00c8ff
}

.svg-icon {
	width: 16px;
	height: 16px;
	margin-left: 5px
}

.dimension-label.unit {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: bold;
	color: #00b9eb;
	width: 30px;
	height: 30px;
	border: 2px solid #f1f6f9;
	border-radius: 8px;
	background-color: #fff;
	margin-right: 5px
}

.dimension-item {
	display: flex;
	align-items: center;
	margin-right: 10px;
	margin-bottom: 10px;
	flex: 1 0 calc(33.333% - 10px);
	min-width: 100px
}

.form-row input[type=text].dimension-input {
	flex: 1;
	min-width: 0;
	margin-right: 0
}

#resetButton {
	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;
	color: white;
	width: 48%;
	padding: 3px 10px;
	font-size: 16px;
	border-radius: 8px;
	border: none;
	cursor: pointer;
	height: 50px;
	font-weight: bold;
    margin: 0 auto;
}

#resetButton:hover {
	opacity: 0.9;
}

.zhu-icon {
	position: relative;
	padding-left: 28px;
	display: inline-block;
	vertical-align: middle
}

.zhu-icon::before {
	content: '';
	background-image: url('/images/zhu.svg');
	background-size: 24px 24px;
	width: 24px;
	height: 24px;
	position: absolute;
	left: 0;
	top: 4px;
	transform: translateY(0)
}
.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: 14px;
}
.article-copyright{display:none !important}
.miaoshu {
    margin-left: 8px;
    font-size: 14px;
    font-weight: 400;
    color: #FF0000;
}

@media screen and (max-width:480px) {
	.container-jisuan {
		width: 100%;
		padding: 15px
	}

	.form-row {
		margin-bottom: 15px
	}

	.label,
	.label-result {
		font-size: 14px;
		margin-bottom: 5px
	}

	.form-row button {
		width: 48%;
		margin-bottom: 10px
	}

	.input-container {
		flex-direction: row;
		align-items: center;
		flex-wrap: nowrap
	}

	.form-row input[type=number],
	.form-row input[type=text],
	.form-row select {
		width: 100%;
		margin-right: 0;
		font-size: 16px;
		height: 50px;
		margin-bottom: 0
	}

	.form-row input[type="text"].result-input {
		flex: 1;
		margin-bottom: 0
	}

	.unit {
		width: auto;
		min-width: 60px;
		margin-top: 0;
		margin-bottom: 0;
		justify-content: center
	}

	.dimension-container {
		flex-direction: column
	}

	.dimension-item {
       width: 100%;
		margin-right: 0;
		margin-bottom: 5px
	}

	#steelImage {
		width: 60%;
		max-width: 300px
	}

	.result-icon {
		width: 20px;
		height: 20px
	}

	#steelSpec,
	#steelSize {
		margin-bottom: 10px
	}

	.unit {
		width: auto;
		min-width: 60px;
		margin-left: 10px
	}

	.selected-unit {
		height: 50px;
		min-width: 80px;
		padding: 0 12px
	}
  .dimension-container {
		flex-direction: column
	}

	.dimension-item {
		width: 100%;
		margin-right: 0;
		margin-bottom: 5px
	}

	.dimension-label.unit {
		width: 30px;
		min-width: 30px
	}
}



