/* 
  知筑侠-在线工具CSS V2.0
  www.zhzux.com
  tool.zhzux.com
*/

/* 
配合比计算工具CSS
 */

.container-jisuan {
  padding:20px;
  font-size: 16px;
  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;
        }
.form-row {
	margin-bottom: 20px;
	width: 100%;
	position: relative
}
.form-row p
{font-size:0.9em;
    line-height: 20px;
}
.label,
.label-result {
	width: 100%;
	font-weight: bold;
	margin-bottom: 10px;
	margin-left: 3px;
	font-size: 1.1em;
}

.label-result {
	display: flex;
   justify-content: flex-start;
	align-items: center
}

.result-icon {
    margin-right: 15px;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    flex-shrink: 0;
}
.label-result span{
    flex: 1;
    margin-left: 12px;
    
}
.result-row {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px
}

.result-item {
	flex: 1;
	min-width: calc(25% - 10px)
}

.result-label {
	font-size: 1em;
	color: #555;
	margin-bottom: 5px;
	margin-left: 15px
}

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

.form-row input[type="number"],
.form-row input[type="text"],
.form-row select {
	flex: 1;
	padding: 15px;
	border: 2px solid #e5f0f7;
	border-radius: 8px;
	box-sizing: border-box;
	transition: border-color 0.3s;
	height: 50px;
	margin: 0 0px 0px 0;
	font-size: 1.4em;
	width: 100%;
	    margin-right: 5px;
}

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

.unit {
    flex: 0 0 60px;
	font-size: 1.0em;
	font-weight: bold;
	color: #00b9eb;
	height: 50px;
	border: 2px solid #f1f6f9;
	border-radius: 8px;
	background-color: #fff;
	margin: 0 0 0px 5px;
	text-align: center;
	line-height: 46px;
}

.button-row {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: space-between;
}

.form-row button {
    flex: 1;
	padding: 3px 10px;
	font-size: 1.1em;
	border-radius: 8px;
	border: none;
	cursor: pointer;
	height: 50px;
	font-weight: bold;
	background-color: #d7ebf0;
	color: #000
}

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

.form-row button:hover {
	opacity: .9
}

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

#resetButton ,#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;
	color: white;
	width: 48%
}

@media screen and (max-width:480px) {
    .article-content {
    padding: 0 10px;
}
    .section-title {
    padding: 5px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 1.2em;
}
.container-jisuan {
    padding: 10px;
    font-size: 14px;
}
.form-row button {
    font-size: 1.1em;
    border-radius: 8px;
    height: 40px;
}
}

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

.show {
	display: block
}

.dropdown {
	position: relative;
	display: inline-block;
	cursor: pointer;
}

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

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