/* 
  乐建土木-在线工具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)
}

.form-row,
.form-row-gui {
	margin-bottom: 20px;
	width: 100%;
	position: relative
}

.label {
	width: 100%;
	font-weight: bold;
	margin-bottom: 10px;
	margin-left: 3px
}

.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(33.333% - 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,
.form-row-gui input[type=number],
.form-row-gui input[type=text],
.form-row-gui 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,
.form-row-gui input:focus,
.form-row-gui 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: 10px;
	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
}

.diagram-container {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 20px 0
}

#pipeDiagram {
	width: 35%;
	max-width: 300px;
	height: auto
}

.dropdown {
	position: relative;
	display: inline-block;
	cursor: pointer;
	margin: 0 0 10px 0
}

.dropdown-content {
	display: none;
	position: absolute;
	background-color: #fff;
	min-width: 120px;
	box-shadow: 0 8px 16px 0 rgba(0, 0, 0, .2);
	z-index: 1;
	border-radius: 8px;
	left: 50%;
	transform: translateX(-50%);
	margin-top: 5px;
	padding: 0;
	list-style: none;
	white-space: nowrap
}

.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
}

.dropdown-content.show {
	display: block
}

.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
}

#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;
}

.select-wrapper {
	display: flex;
	align-items: center;
	margin-right: 10px;
	flex: 1
}

.styled-label {
	background-color: #e5f0f7;
	padding: 0 10px;
	height: 50px;
	line-height: 50px;
	margin: 0 10px 10px 0;
	white-space: nowrap;
	font-weight: normal;
	border-radius: 8px;
	min-width: 60px;
	text-align: center
}

.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)
}

.custom-checkbox {
	display: inline-block;
	vertical-align: middle;
	position: relative;
	padding-left: 30px;
	cursor: pointer;
	font-size: 16px;
	user-select: none;
	margin-bottom: 15px;
	margin-left: 5px;
}

.custom-checkbox input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

.checkmark {
	position: absolute;
	top: 7px;
	left: 0;
	height: 20px;
	width: 20px;
	background-color: #fff;
	border: 2px solid #e5f0f7;
	border-radius: 4px;
	transition: all 0.3s ease;
}

.custom-checkbox:hover input~.checkmark {
	background-color: #f1f6f9;
}

.custom-checkbox input:checked~.checkmark {
	background-color: #00c8ff;
	border-color: #00c8ff;
}

.checkmark:after {
	content: "";
	position: absolute;
	display: none;
}

.custom-checkbox input:checked~.checkmark:after {
	display: block;
}

.custom-checkbox .checkmark:after {
	left: 6px;
	top: 2px;
	width: 5px;
	height: 10px;
	border: solid white;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.custom-size-container {
	margin-bottom: 20px;
	transition: all 0.3s ease;
}
.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:768) {
	.container-jisuan {
		width: 100%;
		padding: 10px
	}

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

	.label,
	.label-result {
		font-size: 14px;
		margin-bottom: 5px
	}
   .container-jisuan p{
    line-height: 22px;
    height: 44px;
    overflow: hidden;
    }
	.form-row button {
		width: 48%;
		margin-bottom: 10px
	}

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

	.select-wrapper {
		display: flex;
		align-items: center;
		margin-bottom: 10px
	}

	.styled-label {
		width: auto;
		min-width: 60px;
		text-align: center;
		margin: 0 10px 10px 0
	}

	.select-wrapper select {
		flex: 1
	}

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

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

	.result-input {
		flex: 1;
		margin-right: 10px
	}

	.unit {
		width: auto;
		min-width: 60px;
		justify-content: center
	}

	.label-result {
		margin-bottom: 5px
	}

	#pipeDiagram {
		width: 60%;
		max-width: 150px
	}

	.form-row-gui .input-container {
		flex-direction: column
	}

	.form-row-gui .input-container .select-wrapper {
		width: 100%;
		margin-bottom: 10px
	}

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