body, html {
	margin: 0px;
	font-family: "verdana";
	background:url("../immagini/login/bg.png") #434a52 50% 50%;
	height: 100%;
	color: #ccc;
}
a {text-decoration: none;}

/* tutti i colori usati */
.messaggio, .link_recupero_password { color: #44bdf9 }
#contatore span { color: #fff; }
.input_wrapper.focus, .checkbox.focus { background: #eee; }
.input_wrapper.focus .input_testo {color: #555}
#barra_contatore {background: #44bdf9 }

#marginatore {
	float: left;
	width: 100%;
	height: 50%;
	margin-bottom: -180px;
}
#sfondo{
	clear: both;
	width: 660px;
	/*height: 280px;*/
	margin: 0px auto;
	position: relative;
}
#logo {
	background-repeat: no-repeat;
	width: 300px;
	height: 300px;
	position: absolute;
	left: 0px;
}
.recommerce_trendevice #logo {
	background-position: 50% 50%;
	height: 100%;
}
.accedi_sempli_e_commerce #logo {
	background-position: 50% 50%;
	height: 100%;
}
#main {
	margin-left: 340px;
	padding: 0px;
	text-align: left;
	position: relative;
}
#titolo{
	font-size: 1.2em;
	text-shadow: #000 1px 2px 1px;
	margin: 0px 0px;
	color: #eee;
	padding: 0px 0px 10px 0px;
	border-bottom: 2px solid #ccc;
}

.messaggio {
	font-size: 0.8em;
	padding-top: 5px;
}

#main p {
	position: relative;
}

.input_wrapper {
	margin: 20px 0px;
	position: relative;
	background: #777;
	border: 1px solid #000;
	padding: 5px 10px;
	border-radius: 15px;
	box-shadow: 2px 1px 5px rgba(0,0,0, 0.7) inset;
	height: 24px;
	overflow: hidden;
}

.input_wrapper label {
	font-family: Verdana;
	font-size: 16px;
	position: absolute;
	right: 10px;
	top: 8px;
	z-index: 1;
	color: #bbb;
	font-style: italic;
}
.area_input_password.input_wrapper label {
	right: 40px;
}
.input_wrapper .input_testo {
	font-family: Verdana;
	font-size: 16px;
	position: absolute;
	top: 0px;
	left: 0px;
	height: 100%;
	width: 280px;
	padding: 1px 20px;
	margin: -1px;
	background: transparent;
	border: none;
	color: #ddd;
	-webkit-appearance: none;
	z-index: 2;
}
.input_wrapper .input_testo:hover, .input_wrapper .input_testo:focus {
	outline-offset: 0px;
	outline: none;
}


#ricordami {
	padding-bottom: 5px;
	line-height: 22px;
}

.checkbox {
	width: 20px;
	height: 20px;
	background: #777;
	border: 1px solid #000;
	float: left;
	margin: 0px 5px 0px 0px;
	border-radius: 5px;
	overflow: visible;
	box-shadow: 1px 1px 5px rgba(0,0,0, 0.7) inset;
	position: relative;
}

.checkbox.checked:after {
	content: "";
	display: block;
	background: url("../immagini/login/checkmark.png") no-repeat;
	width: 24px;
	height: 24px;
	position: absolute;
	bottom: 3px;
	left: 3px;
}

.bottone {
	box-sizing: border-box;
	text-align: center;
	cursor: pointer;
	font-size: 14px;
	border-radius: 13px;
	color: #fff;
	padding: 4px 30px;
	border-top: 2px solid #E0E0E0;
	border-bottom: 2px solid #000000;
	border-left: none;
	border-right: none;
	background: #222; /* Old browsers */
	background: linear-gradient(to bottom,  #444 0%, #333 34%, #000 100%); /* W3C */
}
.bottone:hover, .bottone:focus {
	border-top: 2px solid #F0F0F0;
	border-bottom: 2px solid #111;
	background: #333; /* Old browsers */
	background: linear-gradient(to bottom,  #666 0%,#555 34%,#222 100%); /* W3C */
	outline: 0;
}
.bottone:active {
	border-top: 2px solid #969696;
	border-bottom: 2px solid #050505;
	background: #333; /* Old browsers */
	background: linear-gradient(to bottom,  #333 0%,#222 34%,#111 100%); /* W3C */
	color: #aaa;
}

.link_recupero_password {
	font-size: 0.8em;
	position: absolute;
	left: 0px;
	top: 9px;
}


#form_recupero_password {
	display: none;
}

#logo_footer {
	background: url("../immagini/login/logo_footer.png") no-repeat;
	position: absolute;
	bottom: -70px;
	left: 50%;
	width: 100px;
	height: 50px;
	margin-left: -50px;
}
#logo_footer:hover {
	background-position: -99px 0px;
}
.recommerce_trendevice #logo_footer {
	display: none;
}

#contatore {
	text-align: center;
	margin-bottom: 10px;
	font-size: 1.5em;
}
#contatore span {
	font-size: 1.5em;
	vertical-align: sub;
}

#barra_contatore_wrapper {
	background: #111;
	border-radius: 3px;
	height: 5px;
	border: 1px solid #aaa;
	margin-bottom: 20px;
	overflow: hidden;
}
#barra_contatore {
	width: 0px;
	height: 100%;
}

#torna_al_login {
	text-align: right;
	margin-top: 50px;
}

.requisiti_password {
	list-style-type: none;
	padding: 0;
	margin: 0;
}
.requisiti_password li {
	font-size: 0.8em;
}
.requisiti_password li:before {
	display: inline-block;
	width: 16px;
	height: 10px;
	line-height: 10px;
	font-size: 18px;
	text-align: center;
	content: "\2717";
	color: #dc2c2c;
	vertical-align: middle;
	margin-bottom: 0.25em;
}
.requisiti_password li.soddisfatto:before {
	content: "\2713";
	color: #55de44;
}

.mostra_nascondi_password {
	position: absolute;
	z-index: 4;
	width: 24px;
	height: 24px;
	background-position:  center center;
	background-repeat: no-repeat;
	background-size: contain;
	right: 10px;
}

.mostra_nascondi_password.nascosto {
	display: none;
}

.mostra_nascondi_password.nascondi_password {
	background-image: url(../immagini/login/nascondi_icona_appgest.svg);
}

.mostra_nascondi_password.mostra_password {
	background-image: url(../immagini/login/mostra_icona_appgest.svg);
}

/* mobile */
@media screen and (max-width: 660px) {
	html, body{
		width: 320px;
		margin: auto;
	}
	
	#marginatore {
		margin-bottom: -260px;
	}
	
	#sfondo {
		width: 300px;
		margin: 0px auto;
		padding: 0px;
	}
	#logo {
		position: static;
		margin: auto;
		background-size: auto 150px;
		background-position: top center;
		height: 80px;
	}
	.recommerce_trendevice #logo {
		background-position: top center;
		background-size: 260px auto;
		height: 90px;
	}
	.accedi_sempli_e_commerce #logo {
		background-position: top center;
		background-size: 260px auto;
		height: 90px;
	}
	#main {
		margin: 0px;
	}
	#titolo {
		text-align: center;
		font-size: 1em;
		padding: 0px 0px 2px 0px;
	}
	
	.input_wrapper {
		height: 30px;
	}
	.input_wrapper .input_testo {
		width: 258px;
		font-size: 20px;
	}
	
	.input_wrapper label {
		font-size: 20px;
		right: 15px;
	}
	
	#ricordami {
		font-size: 14px;
		padding: 5px 0px 10px 0px;
		line-height: 30px;
	}
	
	.checkbox {
		width: 30px;
		height:  30px;
		margin-top: -1px;
		border-radius: 9px;
	}
	.checkbox.checked:after {
		width: 35px;
		height: 35px;
		background-size: 35px 35px;
		left: 5px;
		bottom: 5px;
	}
	
	.bottone {
		width: 100%;
		padding: 10px 30px;
		margin-bottom: 25px;
	}
	
	.link_recupero_password {
		top: 70px;
	}
	
	#logo_footer {
		display: none;
	}

	.mostra_nascondi_password {
		margin-top: 3px;
	}
}
@media screen and (max-width: 300px) {
	#sfondo {
		width: 220px;
	}
}
