
body {
	font-size:12px;
}
.div-head{
	height:69px;
	border:0px solid red;
	background:url('/static/img/iiitc_logo.png');
	background-repeat:no-repeat;
	background-position: 150px center;
	background-size:130px 30px;
	min-width:1300px;
	position: relative;
}
.div-head span{
	width: fit-content;
    text-align: center;
    /* 核心定位样式 */
    position: absolute; /* 绝对定位 */
    left: 50%; /* 先让 span 左边缘对齐容器水平中线 */
    transform: translateX(calc(-50% + 300px)); /* 先左移自身 50% 实现居中，再右移 300px */
    top: 50%; /* 垂直居中（可选，如需垂直居中则加） */
    transform: translate(calc(-50% + 300px), -50%); /* 合并水平+垂直居中偏移 */
    font-size:18px;
    font-family:Cursive;
    /* 格式：linear-gradient(渐变方向, 起始色, 中间色, 结束色) */
    background: linear-gradient(90deg, #ff0000, #ff9900, #33cc33, #0099ff);
	/* 2. 背景裁剪为文字区域（兼容+标准） */
	-webkit-background-clip: text;
	background-clip: text;
	/* 3. 文字颜色透明，露出渐变背景（兼容+标准） */
	-webkit-text-fill-color: transparent;
	color: transparent;
	font-weight: bold;
}
.div-navbar{
	height:48px;
	line-height:46px;
	border:0px solid red;
	background-color:#3E6E93;
	text-align:center;
	min-width:1300px;
}
.div-navbar a{
	font-size:16px;
	color:#ffffff;
	margin: 0 80px;
	font-family:sans-serif;
}
.div-navbar a:hover{
	color:#ffff00;
	text-decoration:none;
	transition: all 0.3s ease;
	font-weight:100;
}
/*---------------------------------------------------------------------------------------*/
.content{
	height:600px;
	border:0px solid #888;
	white-space: nowrap; 
	width:1200px;
	margin-left:auto;
	margin-right:auto;
}
.div-console{
	height:560px;
	margin:10px 10px;
	border:1px solid #337fb2;
	border-radius: 5px;
	padding:5px;
}
.div-yasuo{
	border-top:1px dashed #4CAF50;
	height:50px;
	padding-left:10px;
	margin-top:10px;
	display: flex;
    align-items: center;
    padding: 0 10px;
}
/* 自定义拖放区域样式 */
.dropzone {
	border: 1px dashed #4CAF50;
	border-radius: 10px;
	background-color: #f9f9f9;
	padding: 5px;
	white-space: normal;
	overflow-y: auto; /* 始终显示垂直滚动条 */
	overflow-x: hidden; /* 隐藏水平滚动条 */
	height:480px;
}

/* 自定义预览项样式 */
.dz-preview {
	background: white;
	border: 1px solid #ddd;
	border-radius: 5px;
	padding: 5px;
	margin: 5px;
	display: inline-block;
}

/* 自定义删除按钮样式 */
.dz-remove {
	background-color: #d32f2f;
	color: white;
	border: none;
	padding: 5px 10px;
	border-radius: 3px;
	cursor: pointer;
	opacity: 0.2;
}

.dz-remove:hover {
	background-color: #d32f2f;
}


/* 遮蔽罩样式 */
.mask {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7); /* 半透明黑色遮蔽罩 */
	display: flex;
	justify-content: center;
	align-items: center;
	color: white;
	font-size: 18px;
	opacity: 0; /* 默认隐藏 */
	transition: opacity 0.3s ease; /* 平滑过渡 */
}

/* 鼠标滑过卡片时显示遮蔽罩 */
.dz-preview:hover .mask {
	opacity: 1;
	border-radius: 5px;
}

/* 可选：卡片轻微缩放效果 */
.dz-preview:hover {
	transform: scale(1.02);
}

.input-group{
	margin-left:5px;
	margin-right:5px;
	width:100px;
}
.form-control{
	text-align:center;
}
.input-group-addon{
	cursor: pointer;
}
.div-down{
	display:none;
	height:550px;
	border:1px dashed #4CAF50;
	white-space: normal;
	overflow-y: auto; /* 始终显示垂直滚动条 */
	overflow-x: hidden; /* 隐藏水平滚动条 */
	padding:10px 10px;
}
.div-down div{
	border:1px dashed #CCCCCC;
	width:150px;
	height:160px;
	padding:5px;
	text-align:center;
	border-radius: 5px;
	display: inline-block;
	margin:5px;
	
}
.div-down img{
	width:100%;
	height:108px;
	border:1px solid #337fb2;
	border-radius: 5px;
}
.div-down button{
	margin-top:12px;
	width:55px;
}


/* 预览触发图片样式 */
.preview-img {
    width: 200px;
    cursor: pointer;
    margin: 20px;
    border: 1px solid #eee;
}

/* 遮蔽层样式 - 默认隐藏 */
.mask-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: pointer;
}

/* 预览图片样式 */
.mask-img {
    max-width: 50%;
    max-height: 50%;
    object-fit: contain;
}
.span-message{
	position: absolute;
	left:50%;
	top:40%;
	transform: translate(-50%, -50%);
	display:none;
}
.xiangsu{
	margin-left:5px;
	margin-right:5px;
	width:40px;
	border:0px solid #ccc;
	border-bottom:1px solid #ccc;
	text-align:center
}
.xiangsu:focus {
	outline: none; /* 清除浏览器默认的焦点外轮廓（关键） */
	border-color: #ddd; /* 保持和正常状态一致的边框颜色 */
	box-shadow: none; /* 清除部分浏览器（如Chrome）的焦点阴影 */
}
.btn_ul{
	border:0px solid #ccc;
	padding:0px;
	list-style-type: none;
	margin:0px;
}
.btn_ul li{
	border:1px solid #ccc;
	display:inline;
	padding-left:10px;
	padding-right:10px;
	padding-top:1px;
	padding-bottom:1px;
	margin-left:6px;
	cursor:pointer;
	color:#777;
	border-radius: 3px;
}
.btn_ul li.active{
	background-color: #2196f3;
  	color: white;
  	border-color: #2196f3;
}
.img-parent-div {
    display: flex; /* 核心属性，开启 Flex 布局 */
    width: 100%; /* 父容器宽度占满 */
    height: 400px; /* 自定义高度，可根据需求调整 */
    border: 1px solid #ccc; /* 边框，方便查看布局 */
}
.img-left-div {
    flex: 1; /* 占父容器剩余空间的1份，可调整比例，比如 flex: 2 占2份 */
    background-color: #f0f8ff; /* 背景色，区分左右 */
    padding: 0px; /* 内边距，优化内容显示 */
    display: flex;          /* 开启 Flex 布局 */
    justify-content: center;/* 水平居中 */
    align-items: center;    /* 垂直居中 */
}

/* 右侧子容器 */
.img-right-div {
    flex: 1; /* 与左侧等分，若要不等分可改为 flex: 3 等 */
    background-color: #fdf2f8;
    padding: 0px; /* 内边距，优化内容显示 */
    display: flex;          /* 开启 Flex 布局 */
    justify-content: center;/* 水平居中 */
    align-items: center;    /* 垂直居中 */
}

.img-left-div img{
	max-width: 100%;    /* 图片最大宽度不超过容器 */
	max-height: 100%;   /* 图片最大高度不超过容器 */
	min-width:150px;
	min-height:150px;
	border:1px solid #ccc;
	object-fit: cover;
	border-radius: 5px;
}
.img-right-div img{
	max-width: 100%;    /* 图片最大宽度不超过容器 */
	max-height: 100%;   /* 图片最大高度不超过容器 */
	min-width:150px;
	min-height:150px;
	border:1px solid #ccc;
	object-fit: cover;
	border-radius: 5px;
}
.btn_ul_color{
	border:0px solid #ccc;
	padding:0px;
	list-style-type: none;
	margin:0px;
}
.btn_ul_color li{
	border:1px solid #888;
	display:inline;
	padding-left:10px;
	padding-right:10px;
	padding-top:1px;
	padding-bottom:1px;
	margin-left:6px;
	cursor:pointer;
	color:#777;
	border-radius: 3px;
	background-color: #ccc;
}
.btn_ul_color li.active{
	background-color: #2196f3;
  	color: white;
  	border-color: #2196f3;
}
.btn_ul_color li.activeLan{
	background-color: #337fb2;
  	color: white;
  	border-color: #2196f3;
}
.btn_ul_color li.activeHong{
	background-color: #ff0000;
  	color: white;
  	border-color: #cc0000;
}
.btn_ul_color li.activeBai{
	background-color: #ffffff;
  	color: #000000;
  	border-color: #888888;
}
.btn_ul_color li.activeJianBian{
  	color: #000000;
  	border-color: #2196f3;
	background:url('/static/img/jbs.jpg');
}
.btn_ul_color li.activeZiDingYi{
	background-color: #f29221;
  	color: #000000;
  	border-color: #f29221;
}
.beian{
	text-align:center;
	color:#888;
}
.beian a{
	text-align:center;
	color:#888;
	text-decoration: none;
}
.beian a:hover{
	color:#888;
	text-decoration:none;
}
/* 前景图片：绝对定位，支持缩放和位置调整 */
.foreground-img {
	position: absolute; /* 基于父容器进行位置调整 */
	transform-origin: center center; /* 缩放原点为图片中心，调整更自然 */
	transition: transform 0.1s ease; /* 缩放/移动过渡效果，更平滑 */
	cursor: grab;
}

.foreground-img:active {
	cursor: grabbing;
}

/* 背景容器：固定尺寸，展示背景图片 */
.bg-container {
	border: 2px solid #333;
	border-radius: 8px;
	background-size: cover; /* 背景图片自适应容器 */
	position: relative; /* 作为前景img的定位父级 */
	overflow: hidden; /* 隐藏超出容器的前景图片部分 */
	cursor: move; /* 移动光标提示 */
}