:root {
	/* COLORS */
	--white    : #e9e9e9;
	--gray     : #333;
	--blue     : #aadaf8;
	--lightblue: #9ab8bb;

	/* RADII */
	--button-radius: 0.7rem;

	/* SIZES */
	--max-width : 758px;
	--max-height: 420px;

	font-size: 16px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
		Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

body {
	align-items          : center;
	background-color     : var(--white);
	background           : url("../img/th.jpg");
	background-attachment: fixed;
	background-position  : center;
	background-repeat    : no-repeat;
	background-size      : cover;
	display              : grid;	
	place-items          : center;
	
}
#logodiv{position: relative;}

div.right,div.onlyright
{  border-radius   : 0 20px 20px 0;
	box-shadow      : 0 0.9rem 1.7rem rgba(0, 0, 0, 0.25),
		0 0.7rem 0.7rem rgba(0, 0, 0, 0.22);
	text-align: center;
	background-color: #e9e9e9;
	padding: 10px;
	background: rgba(255, 253, 253, 0.9);
}
div.onlyright
{
	border-radius   : 20px;
}
div.right dd,div.right dl,
div.onlyright dd,div.onlyright dl
{border:none;}
div.left{
	border-radius   : 20px 0px 0px 20px;
	box-shadow      : 0 0.9rem 1.7rem rgba(0, 0, 0, 0.25),
		0 0.7rem 0.7rem rgba(0, 0, 0, 0.22);
	text-align: center;
	vertical-align: middle;
	align-items: center;	
	display: flex;
	align-items: center; /*定义父元素的元素垂直居中*/
	justify-content: center; /*定义子元素的里的元素水平居中*/
	background: rgba(0, 0, 0, 0.7);
}

.button
{
	background-color: var(--blue);
	background-image: linear-gradient(90deg, var(--blue) 0%, var(--lightblue) 74%);
	border-radius: 30px;
	border: 1px solid var(--blue);
	color: var(--white);
	
}
.icon-btn {
	background-color: var(--blue);
	background-image: linear-gradient(90deg, var(--blue) 0%, var(--lightblue) 74%);
	border-radius: 20px;
	border: 1px solid var(--blue);
	width: 8rem;
	
}


div.logo{
	display: inline-block;
    vertical-align: middle;
    height: 100%;
    width: 0;
	
}
div.logo span
{
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
footer{
	border-top: 0px;	
	background: rgba(0, 0, 0, 0.7);
}

.validation-summary-errors {
	color: red;
}

.dingtalk-login-entry {
	position: absolute;
	top: 12px;
	right: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	text-decoration: none;
	transition: transform .2s;
	z-index: 2;
}

	.dingtalk-login-entry:hover,
	.dingtalk-login-entry:focus {
		text-decoration: none;
		transform: translateY(-2px);
	}

.dingtalk-login-entry-icon {
	width: 48px;
	height: 48px;
	display: block;
}

.demo-system-tip {
	color: red;
	font-size: 20px;
}

@media (max-width: 768px) {
	body {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 100vh;
	}

	#logodiv {
		width: 100%;
		min-height: 100vh;
		display: flex;
		align-items: center;
		margin-left: 0;
		margin-right: 0;
		padding: 18px 12px 72px;
	}

	div.right {
		border-radius: 20px !important;
		width: 100%;
		max-width: 420px;
		margin: 0 auto;
		overflow: hidden;
	}

	.dingtalk-login-entry {
		top: 8px;
		right: 8px;
		width: 54px;
		height: 54px;
	}

	.dingtalk-login-entry-icon {
		width: 42px;
		height: 42px;
	}

	.footer {
		padding-bottom: 10px;
	}

	.demo-system-tip {
		font-size: 14px;
	}
}