

.home_content .content{
	position: absolute;
	top: 200px;
	width: 100%;
	height: calc(100vh - 170px);
	box-sizing: border-box;
	padding: 50px 200px;
}
.dropbtn {
    color: #ffd43e;
    /* padding: 2px 20px; */
	width: 150px;
	height: 30px;
	white-space:nowrap;
	text-align: center;
    font-size: 14px;
    cursor: pointer;
	border-radius: 200px;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	border: 1px solid #f5c374;
	background: radial-gradient(ellipse farthest-corner at 50% 100%,#c18357 5%, #740404 80%, beige);
	margin: 0 2px;
	box-shadow: 5px 5px 5px 0px #666666;
	cursor: pointer;
}


/* 容器 <div> - 需要定位下拉内容 */
.dropdown {
    position: relative;
    display: inline-block;
	animation: Flop2 1 0.3s linear forwards;
}

/* 下拉内容 (默认隐藏) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	background: #660b18;
	border-radius: 20px;
	border: 1px solid #fecc7c;
	top: calc(100% + 5px);
	/* box-shadow: 0 -20px 0 0 rgba(0,0,0,1); */
	min-width: 100%;
	cursor: pointer;
	z-index: 1000;
	height: 200px;
	overflow-y: scroll;
}

.dropdown-content::-webkit-scrollbar{
	background-color: rgba(0,0,0,0);
}

.dropdown-content::after{
	content: "";
	position: absolute;
	display: block;
	width: 100%;
	height: 7px;
	top: -10px;
}

/* 下拉菜单的链接 */
.dropdown-content a {
    color: #f7cb3c;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
	font-size: 12px;
	text-align: center;
	cursor: pointer;
}

/* 鼠标移上去后修改下拉菜单链接颜色 */
.dropdown-content a:hover {color: #f1f1f1}

/* 在鼠标移上去后显示下拉菜单 */
.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content:hover{
	 display: block;
}

/* 当下拉内容显示后修改下拉按钮的背景颜色 */
.dropdown:hover .dropbtn {
    /* background-color: #3e8e41; */
}

.dropbtn img{
	width: 100%;
	object-fit: cover;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	z-index: 1;
	opacity: .5;
}

.dropbtn span{
	position: relative;
	z-index: 2;
}

.home_content{
	display: flex;
	flex-wrap: wrap;
	width: 80%;
	position: absolute;
	top: 20%;
	left: 50%;
	transform: translateX(-50%);
}

.home_content .box{
	width: calc(100% / 3);
	box-sizing: border-box;
	padding: 12px;
	position: relative;
	flex-wrap: wrap;
	
}

/* 显示职业的盒子 */
.home_content .box.occupation_box{ 
	display: flex;
	align-items: center;
	margin-bottom: -40px;
}

.occupation_box img{
	width: 100px;
	margin-right: -45px;
	position: relative;
	z-index: 2;
	top: -10px;
}

.occupation_box .dropbtn{
	padding: 0px 20px 0 40px;
	margin: 0 8px;
	background:#660b18 ;
}
/* 装备 */
.equipment,.arms,.warehouse{
	display: flex;
	align-items: center;
	flex-direction: column;
}
/* 放文字数据的盒子 */
.dropdown >a+.dropbtn{
	padding: 0px 20px ;

}

.dropdown .title{
	position: absolute;
	top: -18px;
	left: 10px;
	width: 40px;
	font-size: 10px;
	border: 1px solid #F5C374;
	color: #F5C374;
	display: flex;
	justify-content: center;
	line-height: 0px;
	border-radius: 20px;
	padding: 8px 0px 20px 0;
	background-color: #740707;
}

.plus .dropbtn{
	padding:4px 40px ;
}


.min .dropbtn{
	padding:4px 8px;
	width: unset;
	height: unset;
}

.red.min .dropbtn{
	background: #740707;
}

.home_content .box .r{
	margin: 0  0  24px 0;
}

.dropdown.green .dropbtn{
	background: radial-gradient(ellipse farthest-corner at 50% 100%,#3d4a02 5%, #65741b 80%, beige);
	
}

.dropdown.green .title{

}


.dropdown.min.green .dropbtn{
	background: #3d4a02 ;
	
}

.dropdown.orange .dropbtn{
	background: radial-gradient(ellipse farthest-corner at 50% 100%,#c16a23 5%, #3a240a 80%, beige);
}

.dropdown.orange .title{
	background: #3a240a;
}
/* 橙颜色小按钮 */
.dropdown.min.orange .dropbtn{
	background: #341f09 ;
}

/* 仓库 */
.box.warehouse{
	position: absolute;
	right: 5px;
	top: 90px;
	overflow: scroll;
	height: 70vh;
	display: flex;
	flex-wrap: nowrap;
	z-index: 10;
}

.box.warehouse::-webkit-scrollbar{
	background: rgba(0,0,0,0);
}

/* 用户数据框 */
.user_data_text{
	padding: 2px 80px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 14px;
	color: #F7CB3C;
	border: 1px solid #F5C374;
	background: #740707;
	border-radius: 100px;
	display: inline-block;
	margin: 5px 0;
	box-shadow: 5px 5px 5px 0px #666666;;
}
.user_data_lastname{
	font-size: 14px;
	color: #F7CB3C;
	border: 1px solid #F5C374;
	background: #740707;
	border-radius: 100px;
	margin: 5px 0;
	box-shadow: 5px 5px 5px 0px #666666;
}
.user_data_lastname span{
	margin-left: 40px;
	margin-right: 10px;
}
.box.user_data{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: nowrap;
	flex-direction: column;
}
/* 仓库头 */

.warehouse_text{
	background-color: #535802;
	color: #F5C374;
	border: 1px solid #F5C374;
	padding: 2px 8px;
	border-radius: 100px;
	display: inline-block;
}

.warehouse_title_content .warehouse_text:nth-child(2){
	position: absolute;
	top: 30px;
	padding-left: 40px;
}


.warehouse_title_content .warehouse_text:nth-child(3){
	position: absolute;
	top: 30px;
	left:140px;
	cursor: pointer;
	font-weight: 600;
	cursor: pointer;
}


.warehouse_title_content .warehouse_text:nth-child(4){
	position: absolute;
	top: 54px;
	padding: 2px 40px;
}

.warehouse_title_content img{
	margin-right: -40px;
	position: relative;
	z-index: 2;
	transform: scale(.8);
}

.money{
	position: absolute;
	left: 180px;
	top: 25px;
}

.money img{
	transform: scale(.9);
	position: relative;
	z-index: 2;
}

.money_text{
	padding: 4px 20px;
	background: #3d200e;
	color: #F7CB3C;
	border: 1px solid #F7CB3C;
	font-size: 12px;
	display: inline-block;
	position: absolute;
	border-radius: 100px;
	white-space:nowrap;
}

.money .money_text:nth-child(2){
	top: 10px;
	left: 50px;
}

.money .money_text:nth-child(3){
	padding: 4px 8px;
	left: 145px;
	top: 10px;
}

.money .money_text:nth-child(4){
	top: 35px;
	left: 50px;
	padding: 4px 60px;
	font-weight: 600;
	cursor: pointer;
}

.money-transfer {
	left: 130px;
	top: 10px;
	padding: 4px 20px;
	background: #3d200e;
	color: #F7CB3C;
	border: 1px solid #F7CB3C;
	font-size: 12px;
	display: inline-block;
	position: absolute;
	border-radius: 100px;
	white-space:nowrap;
}

/* 右侧展开菜单 */
.money-dropdown {
	display: block;
	position: absolute;
	top: -20px; /* 对齐按钮顶部 */
	left: 100%; /* 挨着按钮右边 */
	background: #3d200e;
	border: 1px solid #ddd;
	border-radius: 4px;
	width: 150px;
	margin-left: 4px; /* 和按钮之间的间距 */
	box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.money-dropdown-item {
	padding: 8px 12px;
	cursor: pointer;
}
.money-dropdown-item:hover {
	background: #ffffff;
}


/*转 账 记 录 卡 片 */


.bill-container {
	display: flex;
	flex-direction: column;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 9999;
	width: 800px;
	height: 700px;
	/*height: auto;*/
	/*max-height: 90vh;*/
	margin: auto;
	border-radius: 8px;
	overflow: hidden;
	border: 5px solid #808080;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
	font-family: "微软雅黑", sans-serif;
}
.bill-title {
	width: 800px;
	display: flex;
	background-color: rgba(0,0,0,.7);
	color: #b1794c;
}
.bill-navbar {
	display: flex;
	border-bottom: 1px solid #808080;
	background-color: rgba(0,0,0,.7);
}
.bill-nav-item {
	flex: 1;
	text-align: center;
	padding: 12px 0;
	cursor: pointer;
	font-weight: 500;
	color: #ffffff;
	font-size: 18px;
	transition: all 0.3s ease;
}
.bill-nav-item:hover {
	background: #716f6f;
}
.bill-nav-item .active {
	color: #ff6b6b;
	border-bottom: 2px solid #ff6b6b;
}
.bill-table {
	overflow-y: auto;
	flex:1;
	height: 500px;
	background-color: rgba(0,0,0,.7);

}
.bill-table::-webkit-scrollbar {
	display: none;
}

.bill-header {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	padding: 12px 16px;
	font-weight: bold;
	color: #ffffff;
}

.bill-row {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	padding: 12px 16px;
	border-bottom: 1px solid #808080;
	align-items: center;
	transition: background 0.2s;
}

.bill-row:hover {
	background: #716f6f;
}

.bill-close {
	display: flex;
	width: 100%;
	height: 25px;
	background-color: rgba(0,0,0,.7);
	justify-content: center;
}
.bill-closeButton {
	float: left;
	display: block;
	width: 62px;
	height: 27px;
	color: orange;
	text-align: center;
	transform: translateX(60px);
}

.income {
	color: #28a745; /* 绿色表示收入 */
	font-weight: bold;
}

.expense {
	color: #dc3545; /* 红色表示支出 */
	font-weight: bold;
}

.success {
	color: #28a745;
}

.pending {
	color: #ffc107;
}





/* 用户状态,血量和饱食度 */
.state{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	
}

.state > div{
	position: relative;
}

progress{
	height: 15px;
	border: 2px solid #383a3d;
	margin: 10px 0;
}

::-webkit-progress-bar{
	background: #383a3d;
}

.HP::-webkit-progress-value{
	background: #d20000;
}

.Satiety::-webkit-progress-value{
	background: #eaaa1d;
}
.horseHP::-webkit-progress-value{
	background:blue;
}
.state .title{
	background: #383a3d;
	font-size: 10px;
	position: absolute;
	padding: 0 5px;
	top: -4px;
	left: 0px;
	color: #F5C374;
}

.state button{
	background: #383A3D;
	width: 16px;
	height: 16px;
	color: #F5C374;
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	right: 0;
	top: -4px;
	border: none;
	cursor: pointer;
}

@keyframes Flop{
	0%{
		transform: rotateX(0deg);
	}
	50%{
		transform: rotateX(90deg);
	}
	100%{
		transform: rotateX(0deg);
	}
}

@keyframes Flop2{
	0%{
		transform: rotateX(0deg);
	}
	50%{
		transform: rotateX(90deg);
	}
	100%{
		transform: rotateX(0deg);
	}
}

.Flop{
	animation: Flop 1 0.3s linear forwards;
}

.warehouse.right{
	overflow-y: scroll;
}
.out{
	position: fixed;
	left: 0;
	bottom: 0;
	width: 80px;
	height: 30px;
	text-align: center;
	color: #F7CB3C;
	background-color:#740707;
	display: flex;
	justify-content: center;
	align-items: center;
	border: 1px solid #F5C374;
	cursor: pointer;
}
.left1{
	left: 90px;
}
.left2{
	left: 180px;
}
.skin{
	width: 280px;
	display: flex;
	justify-content: center;
	position: absolute;
	flex-wrap: wrap;
	left: 50%;
	top: 60%;
	transform: translateX(-50%);
}
.skinpack div{
width: 280px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 15px;
	color: #c9c8c6;
	font-weight: 700;
	cursor: pointer;
}
.skinpack .bodyskin {
	height: 70px;
	background: url("http://pic.56uxi.com/img/bodyskinbox.png");
	margin-bottom: 5px;
}
.skinpack{
	width: 260px;
	height: 300px;
	overflow: auto;
}
.skinpack .horseskin {
	height: 70px;
	background: url("http://pic.56uxi.com/img/horseskinbox.png")  no-repeat 0px -4px;;
}
.skinpack .weaponskin {
	background: url("http://pic.56uxi.com/img/weaponskbox.png")  no-repeat -25px -10px;
	height: 90px;
}
.skinpack::-webkit-scrollbar {/*滚动条整体样式*/
	width: 12px;     /*高宽分别对应横竖滚动条的尺寸*/
	height: 1px;
}
.skinpack::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
	background: #b7b7b7;
}
.skinpack::-webkit-scrollbar-track {/*滚动条里面轨道*/
	-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
	border-radius: 10px;
	opacity: 0.85;
}
.lastnamebox{
	width: 300px;
	position:fixed;
	top: 50%;
	left: 40%;
	transform:translateY(-50%);
	background-color: rgba(0,0,0,.7);
	border: 3px solid gray;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	color: white;

}
.lastnamebox div{
	width: 100%;
	display: flex;
	margin: 10px;
	cursor: pointer;
}
.lastnamebox_div:hover{
	border: 2px solid gray;
}
.lastnamebox div span{
	padding-left: 5px;
	padding-right: 5px;
	text-overflow:ellipsis;
	overflow:hidden;
}
.lastnamebox div span:first-child{
	text-align: right;
	flex:0 0 50px
}
.lastnamebox div span:last-child{
	text-align: center;
	flex:0 1 70%;
}

.newChoose {
	width: 320px;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: rgba(0,0,0,0.85);
	border: 2px solid #888;
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.6);
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	color: white;
	padding: 15px 10px;
	z-index: 10000;
	font-family: "Microsoft YaHei", sans-serif;
}
.newChoose h1 {
	font-size: 22px;
	margin: 8px 0 15px;
	text-align: center;
	font-weight: bold;
}
.newChoose_div {
	width: 90%;
	display: flex;
	justify-content: center;
	padding: 10px;
	margin: 8px 0;
	cursor: pointer;
	transition: all 0.25s ease;
	font-size: 15px;
}

.newChoose_div:hover {
	border-color: #ccc;
	transform: scale(1.04);
	background: rgba(255,255,255,0.15);
}

.newChoose_div span {
	padding: 0 5px;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}



.SelecTitletbox{
    color: white;
    width: 100%;
}
.alertSelectTitlebox{
    width: 100%;
    display: flex;
    justify-content: center;
    cursor: pointer;
}
.alertSelectTitlebox:hover{
    color: #ffe17e;
}
.herolog{
    cursor: pointer;
    position: relative;
    top: -30px;
}
@media (max-width:768px) {
/* 	.home_content .box{
        width: 100%;
    } */
}

/**
拖拽css
 */

.drag-container {
	margin-left: 30px;
	width: 100px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 20px;
}

.draggable-item {
	padding: 10px;
	background-color: #4caf50;
	color: white;
	cursor: grab;
	text-align: center;
}
/* 选中的拖拽项样式 */
.selected {
	border: 2px dashed #ff9800;
}
.skin_pack{
	position: relative;
	width: 100%;
	display: flex;
	justify-content: center;
}
.skin_pack svg{
	width:32px;
	height:32px;
	position: absolute;
	right: 17px;
	top: 54%;
	cursor: pointer;
	transform: translateY(-50%);
}
.skinSelectBox{
	position: fixed;
	width: 930px;
	height: 80%;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	background:rgba(0, 0, 0, 0.75);
	z-index: 9999;
	padding: 25px;
	border-radius: 5px;
	overflow-y: auto;
}
.unitEquipClose {
	float: right;
	width: 35px;
	height: 28px;
	background: #ffffff;
	color: black;
	line-height: 28px;
	border-radius: 5px;
	text-align: center;
	cursor: pointer;
	position: fixed;
	top: 10px;
	right: 10px;
	z-index: 9999;
}
.skinSelectBox_item{
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}
.skinSelectBox_item div:first-child{
	width: 180px;
}
.skinSelectBox_item div:nth-child(2){
	margin-left: 2px;
	width: 733px;
	display: flex;
	flex-wrap: wrap;

	/*justify-content: space-around;*/
}
.skinSelectBox_item div:nth-child(2) img{
	margin: 0px 1px;
	cursor: pointer;
	margin-bottom: 3px;
}
.SelectSkin{
	border: 1px solid #ffc547;
}
.skinSelectBox_item img{
	width:180px;
	height:120px;
}
.skinSelectBox::-webkit-scrollbar {/*滚动条整体样式*/
	width: 15px;     /*高宽分别对应横竖滚动条的尺寸*/
	height: 1px;
}
.skinSelectBox::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
	background: #b7b7b7;
}
.skinSelectBox::-webkit-scrollbar-track {/*滚动条里面轨道*/
	-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
	border-radius: 10px;
	background-color: black;
	opacity: 0.75;
}
.confrim{
	position: sticky;
	height: 30px;
	bottom: 0px;
}
.confrim div{
	position: absolute;
	/*margin: 10px auto;*/
	height: 30px;
	line-height: 30px;
	text-align: center;
	color: black;
	background: #ffffff;
	border-radius: 5px;
	padding: 0px 10px;
	bottom: 0px;
	left: 50%;
	transform: translateX(-50%);
	cursor: pointer;
}