
body, html {
	height: 100%;
}
body {
	overflow: hidden;
	background-color: #f7f7f7;
}

.centered {

	margin-top: 100px;
	margin-left: auto;
	margin-right: auto;
  text-align: left;
  display: block;
  
  background-color: #F2F2F2;
  background-image: url(../img/header_background.png);
  width: 300px;
  padding: 30px;

  box-shadow: inset 0px 3px 10px rgba(0,0,0,0.1);
  -moz-box-shadow: inset 0px 3px 10px rgba(0,0,0,0.1);
  -webkit-box-shadow: inset 0px 3px 10px rgba(0,0,0,0.1);

  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

.logo_login {
	width: 300px;
	height: 80px;
	background-position: center center;
	background-repeat: no-repeat;
	background-image: url(../img/logo_login.png);
	margin-bottom: 30px;
}

#footer {
	position: fixed;
	bottom: 0px;
	right: 0px;
	padding: 10px;
	font-size: 9px;
	text-transform: uppercase;
	color:#666;
}

/* iPads (landscape) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
/* Styles */
	html, body{
		min-height: 572px;
		min-width: 1024px;	
	}
}

/* iPads (portrait) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
/* Styles */
	html, body{
		min-width: 786px;	
	}
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {

	body {
		background-color: rgb(242, 242, 242);
	}
	.centered {
	margin-top: 0px;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
	display: block;
	background-color: none;
	background-image: none;
	width: auto;
	padding: 20px;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	border-radius: 0px;
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	}
	.centered input[type="text"], .centered input[type="password"]{
		width: 93%;
	}

}

/* Smartphones (landscape) ----------- */
@media only screen 
and (min-width : 321px) {
/* Styles */
}

/* Smartphones (portrait) ----------- */
@media only screen 
and (max-width : 320px) {
/* Styles */
}

/* iPhone 4 ----------- */
@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {
/* Styles */
}