/* 公用 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

li { list-style: none; }

/* 下拉 */
.dropdown-item {
    position: relative;
}

/* 显示选中内容 */
.dropdown-item .text {
	height: 100%;
	display: flex;
	cursor: pointer;
	overflow: hidden;
	position: relative;
	align-items: center;
	background: rgba(255, 255, 255, 1);
	border: 1px solid rgba(230, 230, 230, 1);
}

.dropdown-item .text .selected-content {
	width: 90%;
	outline: none;
	cursor: pointer;
	overflow: hidden;
	border-style: none;
	white-space: nowrap;
	padding-left: 2.260%;
	text-overflow: ellipsis;
	background-color: transparent;
	height: clamp(1.875rem, 1.625rem + 1.25vw, 3.125rem);
	font-size: clamp(0.75rem, 0.725rem + 0.13vw, 0.875rem);
	line-height: clamp(1.875rem, 1.625rem + 1.25vw, 3.125rem);
}
	
.dropdown-item .text .icon{
	width: 10%;
	text-align: center;
}

.dropdown-item .text .icon .icon-arrow{
	transition: all .2s;
	display: inline-block;
	font-size: clamp(0.375rem, 0.25rem + 0.63vw, 1rem);
}

.dropdown-item .text .icon .icon-arrow-show{
	transform: rotate(-180deg);
	-webkit-transform: rotate(-180deg);
}

/* 下拉框处理 */
.dropdown-item .dropdown {
	display: none;
}

.dropdown-item .dropdown-menu{
	width: 100%;
	display: none;
	background-color: rgba(255, 255, 255, 1);
	border: 1px solid rgba(230, 230, 230, 1);
	position: relative;
	position: absolute;
	top: 130%;
	left: 0%;
	z-index: 9998;
}

.dropdown-item .dropdown-menu .triangle{
	width: 10px;
	height: 10px;
	background-color:rgba(255, 255, 255, 1);
	border-top: 1px solid rgba(230, 230, 230, 1);
	border-left: 1px solid rgba(230, 230, 230, 1);
	transform: translate(-50%, 50%) rotate(45deg);
	border-right: 1px solid rgba(230, 230, 230, 0);
	border-bottom: 1px solid rgba(230, 230, 230, 0);
	position: absolute;
	top: -10px;
	left: 15px;
	z-index: -1;
}

.dropdown-item .dropdown-menu .list {
	width: 100%;
	overflow: auto;
	max-height: 300px;
}

.dropdown-item .dropdown-menu .list li a {
	display: block;
	cursor: pointer;
	overflow: hidden;
	padding: 0 2.260%;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-size: clamp(0.75rem, 0.7rem + 0.25vw, 1rem);
	line-height: clamp(1.625rem, 1.45rem + 0.88vw, 2.5rem);
}

/* 当前悬停项 */
.dropdown-item .dropdown-menu .list li.current-hover-item {
	background-color: rgba(242, 242, 242, 1);
}

/* 选中 */
.dropdown-item .dropdown-menu .list li.dropdown-selected {
	background-color: rgba(95, 184, 120, 1);
}

.dropdown-item .dropdown-menu .list li.dropdown-selected a{
	color: #fff;
	display: block;
}

/* 禁用 */
.dropdown-item .dropdown-menu .list li.dropdown-disabled {
	-ms-user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
	background-color: rgba(255, 255, 255, 1);
}

.dropdown-item .dropdown-menu .list li.dropdown-disabled a{
	display: block;
	color: rgba(210, 210, 210, 1) ;
}

.dropdown-item .dropdown-menu .list li.dropdown-disabled.current-hover-item a {
	cursor: not-allowed !important;
	background-color: rgba(255, 255, 255, 1);
}

/* 滚动条 */
.dropdown-item .dropdown-menu .list::-webkit-scrollbar {
	width: 4px;
	height: 4px;
}

.dropdown-item .dropdown-menu .list::-webkit-scrollbar-track {
	background-color: rgba(255, 255, 255, 1);
}

.dropdown-item .dropdown-menu .list::-webkit-scrollbar-thumb {
	background-color: rgba(203, 203, 203, 1);
}

/* 响应 1000 */
@media screen and (max-width: 1000px) {
	.dropdown-item .text .selected-content {
		width: 85%;
	}
		
	.dropdown-item .text .icon{
		width: 15%;
	}
	
	.dropdown-item .dropdown-menu .triangle{
		width: 8px;
		height: 8px;
		top: -8px;
		left: 10px;
		z-index: -1;
	}
}

