/* 重置样式 */
* {
	transition: all 0.3s ease-in-out;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

body {
	padding: 0;
	margin: 0;
	font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1", Arial, sans-serif;
	background-color: #f4f7fb;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
	margin: 0;
}

ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

a {
	display: block;
	text-decoration: none;
}

/* 全局css变量 */
:root {
	--global-primary-color: #2383FA;
	--global-primary-btn-bgcolor: #F3F9FF;
	--global-title-color: #2A3957;
	--global-text-color: #164382;
	--global-text-gray-color: #8598B8;
	/* --global-btn-border:#2383FA; */
	--global-btn-bg: #F3F9FF;
}

/* 全局弹框 */
.modal {
	display: none;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 999;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.5);
	overflow: hidden;
}

.modal-container {
	position: fixed;
	z-index: 1000;
	width: 50%;
	left: 50%;
	top: 20%;
	background-color: #fff;
	border-radius: 8px;
	margin-left: -25%;
	padding: 35px 35px 40px 40px;

}

.modal-container .modal-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
}

.modal-container .modal-top .m-title {
	font-size: 26px;
	color: var(--global-title-color);
}

.modal-container .modal-top .close {
	cursor: pointer;
}

.modal-container .modal-body {
	display: flex;
}

.modal-container .modal-body p {
	width: 40%;
	background-color: var(--global-btn-bg);
	border-radius: 10px;
	border: 1px solid var(--global-primary-color);
	padding: 30px;
	margin: 5%;
}

/* 全局深色弹框 */
.modal.black{
	display: none;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 999;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.5);
	overflow: hidden;
}

.modal.black .modal-container {
	position: fixed;
	z-index: 1000;
	width: 50%;
	left: 50%;
	top: 20%;
	background-color: #081a34;
	border-radius: 8px;
	margin-left: -25%;
	padding: 35px 35px 40px 40px;
	border: 1px solid #243d73;
}

.modal.black .modal-container .modal-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
}

.modal.black .modal-container .modal-top .m-title {
	font-size: 26px;
	color: #d6e7ff;
}

.modal.black .modal-container .modal-top .close {
	cursor: pointer;
}

.modal.black .modal-container .modal-body {
	display: flex;
}

.modal.black .modal-container .modal-body p {
	width: 40%;
	background-color: #0c2344;
	border-radius: 10px;
	border: 1px solid #243d73;
	padding: 30px;
	margin: 5%;
	color: #fff;
}





/* 通用类名定义 */
.ellipsis1 {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	text-overflow: ellipsis;
	overflow: hidden;
}

.ellipsis2 {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	text-overflow: ellipsis;
	overflow: hidden;
}

.ellipsis3 {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	text-overflow: ellipsis;
	overflow: hidden;
}
