/* Change background color and font family */
html, body.login, #backstretch {
	background:transparent;
}

body.login {
	font-family: Arial,Verdana,sans-serif;	
	
	background-image: url(../images/background_image/background-01.png), url(../images/background_image/background-left-01.png), url(../images/background_image/background_back.png);
    background-position: right center, left center, center center;
	background-size: cover ;
    background-repeat: no-repeat;
	background-attachment:fixed;
    padding: 15px;
}
.login {padding-top: 2%}
.login h1 {
	border-radius: 30px 30px 0px 0px;
	background-color:#dcdcdc;
	border: 2px solid #FFFFFF;
	}
/* Change Width and Height of Logo Image + Add Custom Image File */
.login h1 a {
	width: 100%;
	height: 213px;
	background-size: 80% auto;
	background-image: url(../images/logo_main/header.png);
	background-position: center center;
}

#login form#loginform {
	border-radius: 0px 0px 30px 30px;
	background-color:#dcdcdc;
	border: 2px solid #FFFFFF;
	}
 
/* Add a few changes to the color and style of form itself */
.login label {
  color: #000;
  display: block;
  margin-bottom: 1em;
  font-weight: bold;
}
.login form .forgetmenot {
	text-align: center;
	float: none;
}
 
.login form .input {
  font-weight: normal;
}
 
.login #backtoblog a, .login #nav a {
  color: #FFFFFF;
  margin: 0 auto;
  text-align:center;
}
 .login #nav {
	background-color: #FF0000;
	border-radius: 10px;
	border: 2px solid #FFFFFF;
	padding-top: 5px;
	padding-right: 5px;
	padding-bottom: 5px;
	padding-left: 5px;
	margin-bottom: 50px;
	font-size: 14px;
	text-align: center;
	font-weight: bold;
	 }
	/*.login #backtoblog {display: none}*/
.wp-core-ui .button-primary:hover {
	background-color: #FF0000;
}
.wp-core-ui .button-primary {
	background-color: #B70000;
	border-left-color: #FFFFFF;
	border-radius: 15px;
	border-bottom-style: solid;
	border-bottom-width: 2px;
	width: 100%;
	height: 100px;
	float: none;
}



@media screen and (max-width:320px){
	.login {width: 300px; padding-top: 10px;}
	.login h1 a {
	width: 213px;
	height: 213px;
	background-size: 213px 213px;
	background-image: url(../images/logo_main/logo.png);
}

div#login { 
	right: 0; 
	bottom: auto;
	left: 0; 
	padding: 0; 
	margin: auto;
	}

}

@media all and (max-width: 360px), (max-height: 465px){

	.login h1 a { width: 260px; margin: 0 0 -15px 0; height: 260px !important;}
	
	/* align form top-center */  
	div#login { 
	right: 0; 
	bottom: auto;
	left: 0; 
	padding: 0; 
	width: 260px;
	height:365px;
	margin: auto;
	}

	div#login {height:265px;}
	.login #pass-strength-result { width: 200px; }
}

@media all and (max-width: 480px) and (min-width: 361px) {

	/* align form top-center for smaller screens */  
	div#login { 
	right: 0; 
	bottom: auto;
	left: 0; 
	padding: 0; 
	margin: auto;
	}

	.login #pass-strength-result { width: 200px; }
	
}

@media only all and (max-width: 640px) and (max-height: 426px) {
	body {		
		background-size:		640px 426px;
		-moz-background-size:		640px 426px;
		-webkit-background-size:	640px 426px;
	}
}

/*
	The next 2 definitions are for support in iOS devices.
 	Since they don't recoginze the 'cover' keyword for background-size
 	we need to simulate it with percentages and orientation
*/

@media only screen and (orientation: portrait) and (device-width: 320px), (device-width: 768px) {
	body.login {
	-webkit-background-size: auto 100%;
	background-position: left top;
	}
}

@media only screen and (orientation: landscape) and (device-width: 320px), (device-width: 768px) {
	body.login {
		-webkit-background-size: 100% auto;
		background-position: left top;
	}
}
/* All of the following styles only get used when background-size isn't supported */

img#expando { 
	display:	none;
	position:	absolute; 
	z-index:	1;
	 
	-ms-interpolation-mode: bicubic; 
} 

.wide img#expando, 
.tall img#expando { 
	display: 	block; 
} 

.wide img#expando { 
	height: 	auto;
	width: 		100%; 
} 

.tall img#expando { 
	height:		100%;
	width:		auto; 
}
