/*
AJR PLUGIN : Custom Login
*/

* {
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
			box-sizing: border-box;
}

html {
	background:#F5F5F5;
}

body.login {
	overflow-y: hidden;
	
	background-image:url('../media/login-bgd.jpg');
	background-position: center center;
	background-repeat: no-repeat;
	
	-webkit-background-size: cover;
	   -moz-background-size: cover;
		-ms-background-size: cover;
		 -o-background-size: cover;
			background-size: cover;

	background: -webkit-radial-gradient(50% 35%, cover, rgba(255,255,255,1), rgba(0,0,0,0.2));
	background:    -moz-radial-gradient(50% 35%, cover, rgba(255,255,255,1), rgba(0,0,0,0.2));
	background:     -ms-radial-gradient(50% 35%, cover, rgba(255,255,255,1), rgba(0,0,0,0.2));
	background:    		radial-gradient(50% 35%, cover, rgba(255,255,255,1), rgba(0,0,0,0.2));
}

body.interim-login {
	height:inherit;
}

#login {
	width:300px;
	padding-top:0;
	position:relative;
	top:45%;
	-webkit-transform: translateY(-50%);
	   -moz-transform: translateY(-50%);
			transform: translateY(-50%);
}

#login h1 a {
	margin:0 14px 20px 0;
	width:286px;
	height:100px;
	background-image: url('../media/login-logo.png');
	background-position: center top;
	background-repeat: no-repeat;
	
	-webkit-background-size: auto 100%;
	   -moz-background-size: auto 100%;
		-ms-background-size: auto 100%;
		 -o-background-size: auto 100%;
			background-size: auto 100%;
}

.login .message,
.login #login_error {
	margin:20px 0;
	line-height:140%;
	font-family:inherit;
	font-size:100%;
	font-weight:300;
}

.login p {
	margin-bottom:10px !important;
	line-height:100%;
}
.login p:last-of-type {
	/*margin-bottom:0 !important;*/
}

.login form {
	margin-top:10px;
	padding:0;
	
	font-size:14px;
	
	background: none;
	border: none;
	
	-webkit-border-radius: 0;
	   -moz-border-radius: 0;
		-ms-border-radius: 0;
		 -o-border-radius: 0;
			border-radius: 0;
	
	-webkit-box-shadow: none;
	   -moz-box-shadow: none;
		-ms-box-shadow: none;
		 -o-box-shadow: none;
			box-shadow: none;
}

.login label {
	font-size:85%;
	text-align:center;
	color:rgba(0,0,0,0.5);
}

::-webkit-input-placeholder {
   font-family:inherit;
   font-weight:300;
   color: rgba(0,0,0,0.4);
}

:-moz-placeholder { /* Firefox 18- */
   font-family:inherit;
   font-weight:300;
   color: rgba(0,0,0,0.4);
}

::-moz-placeholder {  /* Firefox 19+ */
   font-family:inherit;
   font-weight:300;
   color: rgba(0,0,0,0.4);
}

:-ms-input-placeholder {  
   font-family:inherit;
   font-weight:300;
   color: rgba(0,0,0,0.4);
}

.login label[for="user_login"],
.login label[for="user_pass"] {
	color:rgba(0,0,0,0);
}

.login form .input,
.login input[type=text] {
	float:none;height:40px;
	margin:-15px 0 0;
	font-size:110%;
	text-align:center;
	border-color:#DDD;
}
.login input:hover {
	border-color:#C5C5C5;
	box-shadow:none !important;
}
.login a:focus,
.login input:focus {
	border-color:rgba(0,164,228,1);
	box-shadow:none !important;
}

.login #reg_passmail {
	margin-bottom:0 !important;
	padding:7px 25px 0;
	line-height:140%;
	font-size:95%;
	text-transform:uppercase;
	color:rgba(0,0,0,0.4);
}

.login form .forgetmenot {
	float:none;
	display:table;
	margin:10px auto !important;
	font-size:85%;
	text-transform:uppercase;
}

.login input[type=checkbox] {
	margin-right:5px;
}

.login .button-primary {
	float:none;
	width:100%;
	text-transform:uppercase;
}
.wp-core-ui .button.button-large {
	height:40px;
}
.wp-core-ui .button-primary,
.wp-core-ui .button-primary:focus {
	color:rgba(0,0,0,0.5);
	border-color: #CCC;
	text-shadow:none;
	background:-webkit-linear-gradient(#EEE 50%,#DDD 100%);
	background:   -moz-linear-gradient(#EEE 50%,#DDD 100%);
	background: 	-o-linear-gradient(#EEE 50%,#DDD 100%);
	background:		   linear-gradient(#EEE 50%,#DDD 100%);
	-webkit-box-shadow: inset 0 1px 0 rgba(120, 200, 230, 0), 0 1px 0 rgba(0, 0, 0, 0.0);
			box-shadow: inset 0 1px 0 rgba(120, 200, 230, 0.0), 0 1px 0 rgba(0, 0, 0, 0.0);
}
.wp-core-ui .button-primary:hover {
	color:rgba(0,0,0,0.8);
	border-color: #BBB;
	background:-webkit-linear-gradient(#EEE 50%,#D5D5D5 100%);
	background:	  -moz-linear-gradient(#EEE 50%,#D5D5D5 100%);
	background:		-o-linear-gradient(#EEE 50%,#D5D5D5 100%);
	background:		   linear-gradient(#EEE 50%,#D5D5D5 100%);
	-webkit-box-shadow: inset 0 1px 0 rgba(120, 200, 230, 0),0 1px 0 rgba(0, 0, 0, 0.0);
			box-shadow: inset 0 1px 0 rgba(120, 200, 230, 0.0),0 1px 0 rgba(0, 0, 0, 0.0);
}
.wp-core-ui .button-primary:active {
	color:rgba(0,0,0,0.5);
	border-color: #CCC;
	background:-webkit-linear-gradient(#EEE 50%,#DDD 100%);
	background:   -moz-linear-gradient(#EEE 50%,#DDD 100%);
	background: 	-o-linear-gradient(#EEE 50%,#DDD 100%);
	background:		   linear-gradient(#EEE 50%,#DDD 100%);
	-webkit-box-shadow: inset 0 1px 0 rgba(120, 200, 230, 0), 0 1px 0 rgba(0, 0, 0, 0.0);
			box-shadow: inset 0 1px 0 rgba(120, 200, 230, 0.0), 0 1px 0 rgba(0, 0, 0, 0.0);
}

.login #nav {
	margin:30px 0 0 !important;
	padding:0;
	color:transparent;
}

.login #backtoblog {
	margin:12px 0 0 !important;
	padding:0;
}

.login a {
	clear:both;
	display:block;
	margin-top:-10px;
	line-height:30px;
	text-align:left;
	text-transform:uppercase;
	color: rgba(0,0,0,0.4) !important;
}

.login a i {
	position:relative;
	width:25px;
	margin-left:10px;
	font-size:120%;
	text-align:left;
	color: rgba(0,0,0,0.2) !important;
}
.login i.login {
	top:1px;
	padding-left:1px;
}
.login i.register {
	top:1px;
}
.login i.recover {
	top:1px;
	padding-left:1px;
}
.login i.back {
	top:2px;
	padding-left:1px;
}

.login a,
.login a i {
	-webkit-transition: all 0.6s;
	   -moz-transition: all 0.6s;
	     -o-transition: all 0.6s;
		    transition: all 0.6s;
}

.login a:hover,
.login a:hover i {
	color: rgba(0,164,228,1) !important;
	-webkit-transition: all 0.3s;
	   -moz-transition: all 0.3s;
	     -o-transition: all 0.3s;
		    transition: all 0.3s;
}


@media (max-width: 400px) {
	html {
		background:rgba(0,0,0,0.05);
	}
	body.login {
		background: -webkit-radial-gradient(50% 35%, cover, rgba(255,255,255,1), rgba(0,0,0,0.01));
		background:    -moz-radial-gradient(50% 35%, cover, rgba(255,255,255,1), rgba(0,0,0,0.01));
		background:     -ms-radial-gradient(50% 35%, cover, rgba(255,255,255,1), rgba(0,0,0,0.01));
		background:    		radial-gradient(50% 35%, cover, rgba(255,255,255,1), rgba(0,0,0,0.01));
	}
	#login {
		width:280px;
		top:50%;
	}
	#login h1 a {
		margin-right:14px;
		width:266px;
	}
	.login form .forgetmenot {
		margin:20px auto !important;
	}
}
