/* 清除所有元素内外边距 转换为c3盒子模型 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
/* 清除input、button默认边框以及点击高亮 */
input,
button {
	outline: none;
	border: none;
}
/* 清除a标签默认下划线 颜色设置为#333 */
a {
	text-decoration: none;
	color: #333;
	margin: 1.25rem 0;
}
/* 页面整体样式 */
body {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	background: url('../../img/login/login_back.png') no-repeat fixed center;
	background-size: cover;
}
/* 盒子样式 */
.container {
	position: relative;
	/* width: 40vw;
	height: 50vh; */
	width: 1200px;
	height: 760px;
	background-color: #ffffff;
	box-shadow: 0 1rem 1.5rem #01127f88, 0 0.5rem 0.5rem #01127f88;
	border-radius: 12px;
	overflow: hidden;
}
/* 将两个form表单设置绝对定位 */
.container-form {
	position: absolute;
	top: 0;
	height: 100%;
	transition: all 0.5s ease-in-out;
}
/* 设置注册页样式 */
.container-signup {
	left: 0%;
	width: 50%;
	z-index: 1;
	opacity: 0;
}
/* 设置登录页样式 */
.container-signin {
	left: 0;
	width: 50%;
	z-index: 2;
	opacity: 1;
}
/* 默认显示signup注册页，通过操作switch类名 显示登录页 */
.container.switch .container-signup {
	/* left: 20%; */
	transform: translateX(100%);
	z-index: 5;
	opacity: 1;
}
.container.switch .container-signin {
	/* left: 20%; */
	transform: translateX(100%);
	opacity: 0;
}
/* 设置覆盖层 */
.container-overlay {
	position: absolute;
	left: 50%;
	top: 0;
	width: 50%;
	height: 100%;
	overflow: hidden;
	transform: translateX(0);
	transition: transform 0.5s ease-in-out;
	z-index: 999;
}
.container-overlay .logo {
	position: absolute;
	width: 300px;
	right: 30px;
	top: 30px;
	transition: all 0.5s ease-in-out;
	z-index: 9999;
}
.container-overlay .logo img {
	width: 100%;
	height: 100%;
}
/* 设置显示背景图 */
.overlay {
	position: absolute;
	top: 0;
	/* left: -100%; */
	width: 200%;
	height: 100%;
	/* background: url('../../img/login/login_cover.png') no-repeat fixed center; */
	background-color: #2878ff;
	background-size: cover;
	transition: transform 0.5s ease-in-out;
	/* 完工！ */
}
/* 默认左边显示 通过操作switch类名显示登录页 */
.container.switch .container-overlay {
	transform: translateX(-100%);
	/* transform: translateX(-100%); */
}
.container.switch .overlay {
	transform: translateX(0%);
}
.container.switch .container-overlay .logo {
	transform: translateX(-80%);
}
/* 设置切换按钮页样式 */
.overlay-slide {
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	width: 50%;
	transition: transform 0.5s ease-in-out;
}
/* 这一块在最后讲解 */
/* 这里的意思就是让按钮跟随页面一起进行移动 如果不加会有点难看 */
/* 是不是很难看！ */
.overlay-left {
	transform: translateX(-20%);
}
.overlay-right {
	transform: translateX(0);
	right: 0;
}
.container.switch .overlay-left {
	transform: translateX(0);
}
.container.switch .overlay-right {
	transform: translateX(20%);
}
/* 设置表单内元素样式 */
.form {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 100%;
	padding: 0 1rem;
}
/* 设置input标签样式 */
.input {
	width: 332px;
	height: 50px;
	margin: 0.5rem 0;
	padding: 1rem;
	border: 1px solid #d8d8d8;
	color: #333;
	padding: 0 0 0 40px;
	position: relative;
}
.input-content {
	position: relative;
}
.input-content .code {
	padding-left: 20px;
}

.input-content .getCode {
	position: absolute;
	width: 120px;
	height: 30px;
	top: 10px;
	margin-top: 10px;
	right: 0;
	border-left: 1px solid #d8d8d8;
	text-align: center;
	font-size: 14px;
	color: #2878ff;
	line-height: 30px;
	cursor: pointer;
}
.input-content .toggle-password {
	position: absolute;
	width: 24px;
	height: 24px;
	background: url('../../img/login/login_password_show.png') no-repeat;
	background-size: 100%;
	top: 10px;
	margin-top: 10px;
	right: 10px;
	cursor: pointer;
}
.sended {
	color: #999 !important;
	cursor: auto;
}

.signup-tips {
	width: 332px;
	color: #666;
	margin-top: 20px;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	font-size: 12px;
}
.signup-tips input {
	margin-right: 10px;
	display: none;
}

.signup-tips label {
	background: url('../../img/login/login_unchecked_circle.png') no-repeat 0 3px/12px;
	margin-right: 25px;
	padding-left: 25px;
	/*border: 2px solod #d8d8d8;*/
}
.signup-tips label.checked {
	background: url('../../img/login/login_checked_circle.png') no-repeat 0 3px/12px;
}
.signup-tips .agreement {
	color: #2878ff;
	cursor: pointer;
}

.signin-tips {
	width: 332px;
	color: #666;
	margin: 10px 0 20px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 12px;
}
.signin-tips input {
	margin-right: 10px;
	display: none;
}
.signin-tips label {
	background: url('../../img/login/login_unchecked_square.png') no-repeat 0 3px/12px;
	margin-right: 25px;
	padding-left: 25px;
	border: 2px solod #d8d8d8;
}
.signin-tips label.checked {
	background: url('../../img/login/login_checked_square.png') no-repeat 0 3px/12px;
}
.role-select{
	margin-bottom:0px;
}
.role-select .remember{
	width:300px;
}
.role-select label {
	background: none;
	margin-right: 0;
	color: #666;
	padding-left:14px;
}

.role-select input {
	display: inline;
	vertical-align: middle;
	margin-right: 5px!important;
}

.role-select span {
	color: #666!important;
}
.go-signin {
	margin-top: 10px;
	font-size: 12px;
}
.signin-tips span,
.go-signin span {
	color: #2878ff;
	cursor: pointer;
}

.input-type {
	position: relative;
}

.input-type i {
	position: absolute;
	width: 24px;
	height: 24px;
	left: 5px;
	top: 20px;
	z-index: 999;
}

.company {
	background: url('../../img/login/login_company.png') no-repeat;
	background-size: 24px 24px;
	background-position: 3px;
}

.main-uid-code {
	background: url('../../img/login/login_uid_code.png') no-repeat;
	background-size: 24px 24px;
	background-position: 3px;
}
.user-name{
	background: url('../../img/login/login_user_name.png') no-repeat;
	background-size: 24px 24px;
	background-position: 3px;
}

.name {
	background: url('../../img/login/login_username.png') no-repeat;
	background-size: 24px 24px;
	background-position: 3px;
}

.contact {
	background: url('../../img/login/lxrBlue.png') no-repeat;
	background-size: 24px 24px;
	background-position: 3px;
}

.phone {
	background: url('../../img/login/login_phone.png') no-repeat;
	background-size: 24px 24px;
	background-position: 3px;
}

.password {
	background: url('../../img/login/login_password.png') no-repeat;
	background-size: 24px 24px;
	background-position: 3px;
}

/* 设置表单标题样式 */
.form-title {
	font-weight: bold;
	margin-bottom: 2.5rem;
	color: #2878ff;
	font-size: 36px;
	letter-spacing: 5px;
}
.form-title-zc{
	margin-bottom: 8px;
}
/* 设置按钮样式 */
.submit {
	width: 332px;
	height: 50px;
	padding: 1rem 3rem;
	border-radius: 4px;
	color: #fff;
	cursor: pointer;
	text-transform: uppercase;
	transition: transform 0.1s ease-in-out;
	background-color: #2878ff;
	font-size: 20px;
	line-height: 20px;
	letter-spacing: 5px;
}
/* 偷偷添加个小手  对了！ */
/* 只设置表单按钮的外边距 */
.form > .submit {
	margin-top: 1.2rem;
}
/* 设置按钮按下样式 */
.submit:active {
	transform: scale(0.98);
}

.sign-type {
	color: #333333;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	width: 332px;
	margin: 12px 0 42px 0;
}

.sign-type .type-note,
.sign-type .type-password {
	height: 35px;
	margin-right: 20px;
	cursor: pointer;
}

.sign-type div.active {
	font-weight: bold;
	border-bottom: 4px solid #2878ff;
}

#inputCode {
	margin-bottom: 50px;
}
.hidden {
	display: none;
}

.mainName-tip {
	position: absolute;
	z-index: 9999999;
	width: 332px;
	/* min-height: 100px; */
	background-color: #fff;
	box-sizing: border-box;
	box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
	border-radius: 0 0 4px 4px;
	border: 1px solid #e4e7ed;
	/* top: 226px; */
	/* 因测试提出，mainName-tip出现的时候看不到输入框所以将输入框下移一段距离 */
	top: 261px;
}
.mainName-tip ul {
	margin-bottom: 0;
	list-style: none;
}
.mainName-tip ul li {
	height: 36px;
	line-height: 36px;
	cursor: pointer;
	padding: 0 5px;
	list-style: none;
}
.mainName-tip ul li:hover {
	background-color: #d9d9d9;
}
/*后加样式*/
.tab-box{
	padding:15px 0;
}
.tab-box span{
	margin:0 38px;
	cursor: pointer;
}
.tab-box span.tactive{
	color:#2878ff;
	font-weight: bold;
}