.admin-login #login-wrap { max-width: 500px; margin: 0 auto; }
body.admin-login { grid-template-rows:1fr; }
body.admin-login main { display: flex; justify-content: center; align-items: center; }
.admin-login #aCreate { display:none; }

.admin-login { --border-hover: rgba(75, 72, 129, .25); }


main { 
	background: url(/img/bgr/login.jpg) no-repeat center;
	background-size: cover;
	position: relative;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.desktop #login-wrap { width:700px; }

#login_logo {
	border-radius: 50%;
	position: absolute;
	top: -52px;
	background: white;
	width: 104px;
	padding: 10px;
	height: 104px;
	border: 5px solid #4d4984;
	left: calc(50% - 52px);
	box-shadow: 0px 0px 4px rgba(0,0,0,.5);
	background-size: contain;
	background-image: url(/img/ch-logo2.png);
}
#login_logo img { display: block; margin:5px auto; }

#login { 
	background-color:rgba(255,255,255,.2); 
	border-color:transparent; 
	padding: 30px;
	border-radius: 10px;
	margin-top: 10px !important;
}

#login_page footer { border-color:black; }

#login_page main label { 
	color: white;
	text-shadow: 1px 1px 1px black;
}

#login_page main h1 {
	color: var(--white);
	text-shadow: 2px 2px 2px rgba(0,0,0,.7);
	text-align: center;
	margin: 0;
}
#login_page main h1.none {
	display: block !important;
	margin: -40px 0 5px;
}

#login_page a.clr {
	padding: 5px 15px 4px;
	border-radius: 5px;
	transition: all .25s ease-in-out;
	color: white;
	text-shadow: 1px 1px 3px rgb(0, 0, 0);
	letter-spacing: .5px;
	background: rgba(0,0,0,.15);
}

#login_page a.clr:where(:focus, :hover) {
	background: rgba(0,0,0,.5);
	text-shadow: none;
	color:white !important;
}


#login_page input:focus::placeholder { color:gray; opacity: .8; }
#login_page input::placeholder { color:gray; opacity: .5; }

#login_page .btn-primary:focus, 
#login_page .btn-primary:active { box-shadow: 0 0 0 5px rgba(0,0,0,.2); }

/* ---~~~ Checkbox ~~~--- */

#login label.checkbox {
	--chk-background: #715b89;
  --chk-background-checked: #715b89;
  --chk-border: #715b89;
  --chk-border-hover: #d3c0a1;
  --chk-border-focus: #715b89;
  --chk-tick: white;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

#login-chk { margin: 20px 0 0 10px; }
#login .chklabel { 
	cursor: pointer;
	font-size: 15px;
	color: rgb(35, 28, 62);
	font-weight: normal;
	background-color: transparent !important;
	outline: none;
	text-shadow: none;
}

#login label.checkbox input:focus:checked + svg { box-shadow: 0px 0px 0px 5px rgba(0,0,0,.15) !important; }

form#login input:not([type=checkbox]) { transition: all .3s ease-in-out; filter: none !important; }

form#login input:not([type=checkbox]):focus {
 	border-color: none !important;
	box-shadow: 0px 0px 0px 3px rgba(57, 48, 113, .3) !important;
	filter: none !important;
 	border: 1px solid #dededf !important;
	background-color: white !important;
}

form#login input:autofil,
form#login input:-moz-autofil,
form#login input:-moz-autofill-preview,
form#login input:-webkit-autofil {
 	border: 1px solid #dededf !important;
	background-color: white !important;
	filter: none !important;
}

/* ---~~~ Login Button ~~~--- */

#loginBtn {
	border-radius: 20px;
	background: rgb(77, 73, 133);
	background: linear-gradient(0deg, rgb(77, 73, 133) 0%, rgb(57, 48, 113) 100%);
	font-size: 15px;
	font-weight: bold;
}

#loginBtn:hover { background: linear-gradient(0deg, rgb(57, 48, 113) 0%, rgb(77, 73, 133) 100%) }
#loginBtn:focus { box-shadow: 0px 0px 0px 5px rgba(0,0,0,.15); }




main { background: url(/img/admin/login.jpg) no-repeat center; }

.btn.clr {
	border-radius: 5px;
	transition: all .25s ease-in-out;
}
.btn.clr:is(:focus,:hover) {
	color: white;
	background-color: rgba(255,255,255,.2) !important;
	text-shadow: 1px 1px 1px black;
}

#login-wrap input:focus::placeholder { color:gray; opacity: .8; }
#login-wrap input::placeholder { color:gray; opacity: .5; }

#login-wrap .btn-primary:focus, 
#login-wrap .btn-primary:active { box-shadow: 0 0 0 5px rgba(0,0,0,.2); }

#login .chklabel {
	color: white;
	text-shadow: 1px 1px 1px black;
}