*{box-sizing: border-box; margin: 0; padding: 0;}

html, body {min-height: 100%}

body {
	background: url('../img/bg.png');
	background-size: 100% 100%;
	color: #344047;
	font-family: Arial, Helvetica, sans-serif;
}

.btn {
	background: #9db034;
	border: none;
	border-radius: 4px;
	box-shadow: 0 12px 24px rgba(157, 176, 52, 0.22);
	color: #fff;
	cursor: pointer;
	display: block;
	font-size: 18px;
	font-weight: bold;
	letter-spacing: .2px;
	margin: 30px auto 18px auto;
	padding: 18px;
	text-transform: lowercase;
	transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
	width: 100%;
}

.btn:hover,
.btn:focus {
	background: #8fa22c;
	box-shadow: 0 16px 30px rgba(157, 176, 52, 0.28);
	outline: none;
	transform: translateY(-1px);
}

.container {
	align-items: center;
	background: rgba(255, 255, 255, .94);
	backdrop-filter: blur(4px);
	display: flex;
	justify-content: center;
	min-height: 100vh;
	margin-left: 50%;
	width: 50%;
	box-shadow: -10px 0 35px rgba(0, 0, 0, .18);
	padding: 32px;
}

.content {
	background: rgba(255, 255, 255, .72);
	border: 1px solid rgba(157, 176, 52, .16);
	border-radius: 10px;
	box-shadow: 0 22px 50px rgba(52, 64, 71, .12);
	max-width: 540px;
	padding: 42px 48px 36px;
	width: 100%;
}

.continuar-logado {
	color: #868d90;
	display: block;
	font-size: 17px;
	text-align: center;
	width: 100%;
}

.choice {
	-webkit-user-select: none;  /* Chrome all / Safari all */
	-moz-user-select: none;     /* Firefox all */
	-ms-user-select: none;      /* IE 10+ */
	user-select: none; 
	cursor: pointer;
	position: relative;
}

.choice::before {
	border: 2px solid #9db034;
	bottom: 3px;
	content: "";
	display: inline-block;
	height: 10px;
	left: -22px;
	position: absolute;
	width: 10px;
}

.choice::after {
	bottom: 1px;
	content: "✓";
	color: #9db034;
	font-size: 20px;
	left: -21px;
	position: absolute;
	opacity: 0;
}

[type='checkbox'] {display: none}

[type='checkbox']:checked + .choice::after {opacity: 1 !important}

[type='text'], [type='password'] {
	background-color: rgba(255, 255, 255, .62);
	border: 1px solid transparent;
	border-bottom: 2px solid #9aa2a6;
	border-radius: 4px 4px 0 0;
	color: #344047;
	display: block;
	font-size: 21px;
	height: 56px;
	margin: 22px auto;
	padding: 0 16px;
	text-align: center;
	transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease;
	width: 100%;
}

[type='text']:focus, [type='password']:focus {
	background-color: rgba(255, 255, 255, .95);
	border-color: #9db034;
	color: #9db034;
	box-shadow: 0 8px 18px rgba(157, 176, 52, .12);
	outline: none;
}

[type='text']:focus::-webkit-input-placeholder { color: #9db034; }
[type='text']:focus:-moz-placeholder { color: #9db034; }
[type='text']:focus::-moz-placeholder { color: #9db034;  }
[type='text']:focus:-ms-input-placeholder {  color: #9db034; }

[type='password']:focus::-webkit-input-placeholder { color: #9db034; }
[type='password']:focus:-moz-placeholder { color: #9db034; }
[type='password']:focus::-moz-placeholder { color: #9db034;  }
[type='password']:focus:-ms-input-placeholder {  color: #9db034; }

img { max-width: 100% }

.logo {	
	display: block;
	margin: 0 auto 22px; 
	width: 88%; 
}

[disabled] {opacity: 0.5}

.form-horizontal {position: relative;}

.login-alert,
.help-block {
	background: rgba(255, 246, 232, .92);
	border: 1px solid rgba(229, 120, 43, .42);
	border-left: 5px solid #e5782b;
	border-radius: 8px;
	box-shadow: 0 12px 30px rgba(151, 72, 20, .14);
	color: #7a3214;
	display: block;
	font-size: 14px;
	line-height: 1.35;
	margin: 0 auto 22px;
	padding: 14px 18px;
	position: relative;
	text-align: center;
	width: 100%;
}

.login-alert::after,
.help-block::after {
	border-left: 9px solid transparent;
	border-right: 9px solid transparent;
	border-top: 9px solid rgba(255, 246, 232, .92);
	bottom: -9px;
	content: "";
	left: 50%;
	margin-left: -9px;
	position: absolute;
}

.login-alert strong,
.help-block strong {
	font-weight: 700;
}

@media(max-width: 600px) {
	body {
		background: url('../img/bg-mobile.png');
	}
	.container {
		background-color: rgba(255,255,255,.88);
		min-height: auto;
		margin-top: 10%;
		margin-left: 5%;
		padding: 18px;
		width: 90%;
		border-radius: 10px;
	}

	.content {
		padding: 30px 22px 26px;
	}

	[type='text'], [type='password'] {
		width: 100%;
	}

	.logo {
		width: 95%;
	}
	.btn {
		width: 100%;
		padding: 14px;
	}
	
	.login-alert,
	.help-block {
		width: 100%;
	}
}

/* Cor de fundo do autocomplete */
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset;
}

/* Cor do texto do autocomplete */
input:-webkit-autofill {
    -webkit-text-fill-color: #868d90;
}
