/*
Login CSS
*/

body.login {
	display: inline-block;
	width: 100%;
	height: auto;
	min-height: 100vh;
	position: relative;
	background: url( /img/login.jpg) no-repeat center center;
	background-size: cover!important;
	color: rgb(255,255,255);
	overflow-y: auto;
	vertical-align: bottom;
}

body.login::before {
    content: '';
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	background: rgba(50,50,50,0.5);
	z-index: 1;
}

.language-switcher {
	display: none!important;
}

html.ua-mobile body.login {
	width: 100%;
	height: 100%;
}

#login {
	display: inline-block;
	width: 300px;
	height: auto;
	margin: 5vh auto 0;
	padding: 5% 0!important;
	position: relative;
	left: 50%;
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
	box-sizing: border-box;
	background: none;
	font-size: 0.8rem;
	letter-spacing: 1px;
	text-align: center;
    z-index: 10;
}

.login label {
	color: rgb(255,255,255);
	font-size: 0.8rem;
}

.login #backtoblog a, .login #nav a {
	text-decoration: none;
	color: rgb(255,255,255);
}

#login h1 {
	display: block;
    width: auto;
    height: 70px;
    margin: 0 auto 30px;
    background: url(/svg/logo_meitokuanWHY.svg) no-repeat center center;
    background-size: contain;
    opacity: 0.7;
}

#login h1 a {
	display: none;
}

.login form {
	max-width: 300px;
	margin: 0 auto!important;
	padding: 0;
	font-weight: normal;
	border-style: none;
	box-shadow: none;
	background: none;
}

.login form .input, .login input[type=text], .login form input[type=checkbox] {
	padding: 10px;
	background: #f5f5f5;
	border: none;
	font-size: 16px;
	letter-spacing: 2px;
}

.login #backtoblog, .login #nav {
	font-size: 13px;
	padding: 0;
}

.login #nav a, .login #backtoblog a {
	-webkit-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}

.login a {
	color: rgb(255,255,255);
}

.login #nav a:hover, .login #backtoblog a:hover, .login a:active, .login a:hover {
    background: rgba(40,40,40,0.8);
	color: rgb(255,255,255);
	text-decoration: underline;
}

.wp-core-ui .button-group.button-large .button, .wp-core-ui .button.button-large {
	height: 45px;
	line-height: 28px;
	padding: 0 12px 2px;
}

.wp-core-ui .button-primary {
	width: 100%;
	margin-top: 10px;
	padding: 10px 0;
	border: none;
	border-radius: initial;
	background: rgb(150,150,150);
	-webkit-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
	align-items: flex-start;
	text-align: center;
	text-shadow: none;
	vertical-align: middle;
	color: white;
	font-size: 0.8rem;
	font-weight: normal;
	letter-spacing: 5px;
	clear: both;
	cursor: pointer;
}

.wp-core-ui .button-primary:hover {
	border: none;
	background: rgb(0,0,0);
}

div.updated, .login .message {
    margin: 15px 0;
    padding: 5% 10%;
    background: rgba(255,255,255,0.9);
    border: none;
    color: rgba(0,0,0,1);
    text-align: left;
}

form dl {
	margin-bottom: 20px;
}

form dt {
	margin-top: 15px;
}

input#login_username, input#login_password {
	background: #e8e8e8;
	border: none;
	box-shadow: none;
	padding: 10px;
	font-size: 16px;
	color: #000;
	letter-spacing: 2px;
}

form input {
    width: 100%;
    background: rgb(255,255,255);
    border: none;
    box-shadow: none;
    padding: 5px 10px;
    color: rgb(68,68,68);
    letter-spacing: 2px;
}

form input:active {
    background: rgb(255,255,255);
    color: rgb(0,0,0);
}

.login #login_error {
    margin-bottom: 20px;
    border: none!important;
    background: rgb(0,0,0)!important;
}

#wp-auth-check-wrap #wp-auth-check {
	background: rgb(0,0,0)!important;
}

#wp-auth-check-wrap #wp-auth-check {
    width: 380px;
    height: auto;
    position: fixed;
    overflow: hidden;
    left: 50%;
    top: 0;
    bottom: 0;
    margin: 0;
    padding: 30px 0 0;
    background-color: rgb(0,0,0);
    box-shadow: 0 3px 6px rgba(0,0,0,.3);
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    z-index: 1000011;
}