﻿/*!
 * 主体登录
 * author:qianyuting
 * date:2021-07-22
 */

html,
body {
	min-width: auto;
	background-color: #fff;
}

.main {
	padding: 10px 24px 20px;
}

/* tab */

.tab-hd {
	height: 44px;
	line-height: 44px;
	border-bottom: 2px solid #dde5f1;
}

.hdl {
	height: 42px;
	line-height: 42px;
	margin-right: 40px;
	color: #708394;
	font-size: 20px;
	font-weight: bold;
	border-bottom: 4px solid transparent;
	cursor: pointer;
}

.hdl:last-child {
	margin-right: 0;
}

.hdl.active {
	color: #20528e;
	border-bottom-color: #20528e;
}

.tab-bd {
	margin-top: 30px;
}

/* 主体登录 */

.principal-list {
	margin: -15px;
}

.principal-item {
	width: 20%;
	padding: 15px;
	box-sizing: border-box;
}

.principal-card {
	display: block;
	height: 160px;
	padding-top: 30px;
	background-color: #f4f8fe;
	border: 1px solid #f4f8fe;
	border-radius: 4px;
	box-sizing: border-box;
}

.principal-card > img {
	display: block;
	margin: 0 auto;
}

.principal-name {
	margin-top: 14px;
	line-height: 30px;
	color: #000;
	font-size: 18px;
	text-align: center;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.principal-card:hover {
	border-color: #20528e;
	box-shadow: 3px 3px 6px 0 rgba(6, 38, 105, 0.2);
}

.principal-card:hover .principal-name {
	color: #2d528a;
	font-weight: bold;
}

/* 平台登录 */

.platform-element {
	margin-bottom: 50px;
}

.platform-element:last-child {
	margin-bottom: 0;
}

.platform-tit {
	height: 30px;
	line-height: 30px;
	margin-bottom: 16px;
	font-size: 20px;
	font-family: 'SourceHanSansCN-Medium';
}

.platform-tit > img {
	display: inline-block;
	margin: -3px 5px 0 0;
	vertical-align: middle;
}

.worker-login {
	margin-left: 10px;
	font-size: 16px;
	color: #ed8c52;
}

.platform-list {
	margin: -10px;
}

.platform-item {
	width: 20%;
	padding: 10px;
	box-sizing: border-box;
}

.platform-card {
	display: block;
	height: 42px;
	line-height: 42px;
	background-color: #f4f8fe;
	color: #333;
	font-size: 16px;
	border-radius: 4px;
	text-align: center;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.platform-card > img {
	display: block;
	margin: 0 auto;
}

.platform-card:hover {
	color: #fff;
	font-weight: bold;
	background-color: #1b74cf;
}

/*20230310修改*/
.principal-list {
	cursor: pointer;
}
.platform-item {
	cursor: pointer;
}
.layui-layer-setwin .layui-layer-close2 {
	top: -10px;
	background: url('../js/lib/layer/skin/loginpopup/login_popup_close.png') no-repeat;
	background-position: center center !important;
}
.layui-layer-setwin .layui-layer-close2:hover {
	background: url('../js/lib/layer/skin/loginpopup/login_popup_closeh.png') no-repeat;
	background-position: center center !important;
}
.layui-layer {
	border-radius: 6px !important;
}
