/*
	1 - ##GENERAL
	2 - ##FORM
	2.1 - ##MENSAGENS FORM
*/

/* 
 * ##GENERAL
 */
body {
	background: #3e3e3e;
}

/* 
 * ##LOGIN
 */
#login {
	width: 320px;
	padding: 5% 0 0;
	margin: auto;
}

#login h1 {
	text-align: center;
	margin: 0;
	background-color: darkgrey;
}

.login h1 a {
	background-image: url(../images/logo_bec_equipamentos.png);
	background-size: 250px;
	width: 100%;
	height: 85px;
	margin: 0 auto;
	background-position: center;
	background-repeat: no-repeat;
	color: #444;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.3em;
	padding: 0;
	text-decoration: none;
	text-indent: -9999px;
	outline: 0;
	overflow: hidden;
	display: block;
}

.login form {
	margin: 0;
	padding: 25px 25px 30px;
	font-weight: 400;
	overflow: hidden;
	background: darkgrey;
	box-shadow: 1px 2px 3px 0 rgba(0, 0, 0, .1);
}

.login .form-group label {
	color: #eee;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, .1);
}

.btn-custom {
	background-color: #c82333;
	transition: all .3s linear;
	border-color: #c82333;
	box-shadow: 0 1px 0 #c82333;
	color: #f9f9f9;
	text-shadow: none;
	padding: 6px 14px;
	height: auto;
	font-size: 15px;
	clear: both;
	margin-top: 1em;
}

.btn-custom:hover {
	color: #fff;
	background-color: #3e3e3e;
	border-color: #3e3e3e;
	box-shadow: 0 1px 0 #3e3e3e;
}

input.form-control {
	box-shadow: 2px 1px 5px rgba(0,0,0,.3);
	transition: all .2s ease-in-out,box-shadow .15s ease-in-out;
	background-color: lightgrey;
	font-weight: 500;
}

.login form input[type=text]:focus, .login form input[type=password]:focus {
	border: 1px solid #c82333;
	box-shadow: 0 0 1px 1px #c82333;
	background-color: lightgrey;
}

.nav-link {
	color: #888;
	transition: all .3s linear;
	border-bottom: none;
}

.nav-link:hover, .nav-link:focus {
	color: #888;
	border-bottom: 1px solid rgba(153, 153, 153, .4);
}

/* 
 * ##MENSAGENS FORM
 */
.mensagem {
	border-left: 4px solid #c82333;
	/*padding: 12px;*/
	padding: 0;
	margin-left: 0;
	/*margin-bottom: 20px;*/
	margin-bottom: 0;
	/*background-color: #fff;*/
	background-color: darkgrey;
	box-shadow: 1px 2px 3px rgba(0, 0, 0, .1);
	visibility: hidden;
	height: 0;
	transition: all .15s linear!important;
}

.show-msg {
	visibility: visible;
	height: auto;
	padding: 12px;
	/*transition: all .3s linear;*/
	animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
	transform: translate3d(0, 0, 0);
	backface-visibility: hidden;
	perspective: 1000px;
	margin: .5em 0;
}

@keyframes shake {
	10%, 90% {
		transform: translate3d(-1px, 0, 0);
	}

	20%, 80% {
		transform: translate3d(2px, 0, 0);
	}

	30%, 50%, 70% {
		transform: translate3d(-4px, 0, 0);
	}

	40%, 60% {
		transform: translate3d(4px, 0, 0);
	}
}