/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Reset
*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
body,header, h1,h2,p,ul,li,a{
	margin:0;
	padding:0;
	border: 0;	
	font-family: helvetica,  sans-serif;
}
ul{
	list-style:none;
}
a{
	text-decoration:none;
}
img{
	display:block;
	max-width:100%;
}
p{
	padding: 10px;	
  	color:#333;
	font-size: 1.6em;	
	font-weight: 200;	
	line-height: 1.6em;	
}
*{
	box-sizing: border-box;
}
hr{
	width: 80%;
	border: 1px solid #fe9638;
	box-shadow: 2px 2px 2px 1px #ccc;
	margin-top:20px;
	margin-bottom: 20px;
}
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Padroes
*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
.row{	
  	display: flex;
	flex-wrap: wrap;  	
}
.col{	
	display: flex;
  	flex-direction: column; 		
}
.nowrap{
	flex-wrap: nowrap; 
}
.center{
	align-items: center;
}
.centerVertical{	
	justify-content: center;	
}
.alignRight{
	align-items: flex-end;
}
.space-between{
	justify-content: space-between
}
.btn {
	padding: 10px;
	border: 0;
	cursor: pointer;
	font-weight: 200;
}
.btn-padrao{
	background: #fe9638;
	transition: 0.3s;
	font-size: 0.8em;
}
.btn-padrao:hover{
	background: #D46501 ;
}
.btn-salvar{
	background: #286b98;
	transition: 0.3s;
	color: #fff !important;
}
.btn-salvar:hover{
	background: green;
}
.btn-cancelar{
	background: #5C0001;
	color: #fff;
}
.btn-cancelar:hover{
	background: #B80000;
}
.btn-editar{
	background: #006BC2;
	color: #fff;
}
.btn-editar:hover{
	background: #162A51;
}
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
main
*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
main{
	display: flex;
	width: 100%;
	min-height: calc(100vh - 70px);
	align-items: center;
	justify-content: center;
	overflow-x: hidden;
}
main .login{
	width: 100%;
	max-width: 350px;
	padding: 35px 15px;
	background: #E9E9E9;
	display: flex;
	align-items: center;
	flex-direction: column;
	position: relative;
	box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 3px 1px -2px rgba(0,0,0,0.12);
	

}
main .login::before{
	content:'';		
	position: absolute;
	top:-2px;
	left: -2px;
	right: -2px;
	bottom: -2px;	
	background: linear-gradient(20deg,#275893,#275893,#286b98,#275893,#275893);
	transform: skew(2deg,2deg);	
	z-index: -1;	
	
}
main .user{
	display: flex;
	align-items: center;
	justify-content: center;
}
main .bg-icouser{
	border-radius: 50%;
	background: linear-gradient(20deg,#275893,#275893,#286b98,#275893,#275893);
	width: 110px;
	height: 110px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
}
main .icouser{
	border-radius: 50%;
	background: #fff;
	width: 100px;
	height: 100px;
	padding: 10px;
	overflow: hidden;
	position: relative;	
}

main .icouser img{
	position: absolute;
	display: block;
	bottom: -8px;
	width: 80px;
	height: auto;
	transition: 0.5s;
}
main .icouser:hover img{
	
	bottom: -80%;
}

.centerlogin{
	margin-top: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.centerlogin label{
	display: flex;
	background: rgba(0,0,0,0.3);
	height: 50px;
	padding: 10px 10px 10px 2px;
	border-radius:2px;
	margin: 5px 0;
	justify-content: center;
	align-items: center;
	font-weight: 200;
}

.centerlogin label i{
	color:#fff;
	font-size: 1em;
	margin:10px;
}
.centerlogin label input{
	width: 100%;
	font-size: 16px;
	letter-spacing: 1px;
	color:#fff;
	border: none;
	border-bottom: 1px solid #fff;
	outline: none;
	background: transparent;
	font-weight: 200;
}
.centerlogin label input:focus{
	border-bottom: 1px solid #ea7d1a;
}
.botoes{	
	margin-top: 15px;
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	justify-content: flex-end;
}
.msg{
	text-align: center;
	min-width: 100%;
	margin-top: 20px;
	background: #7D0002;	
	box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 3px 1px -2px rgba(0,0,0,0.12);
	color: #fff;
}
.msg span{
	display: block;
	margin: 10px;
	font-weight: 200;
	font-size: 0.9em;
	position: relative;
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
footer
*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
footer{
	min-height: 70px;
	max-height: 70px;
	background: #1D1D1D;	
	padding: 0 20px;
	color: #fff;
	font-size: 0.8em;
	font-weight: 200;
	z-index: 9999;
	position: fixed;
	width: 100%;
	bottom: 0;
}
footer img{
	height: 70px;
	width: auto;
	padding: 10px;
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Animations
*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
.bgAnimado{
	background: linear-gradient(20deg,#fff,#fff,#fff,#286b98,#286b98)!important;
  	animation: bganimation 1s linear infinite;	
}
@keyframes bganimation {
   to {
        transform: rotate(360deg);
    }
}

.error {
  animation: treme 0.1s;
  animation-iteration-count: 3;
	border: red solid 1px;
}

@keyframes treme {
  0% {margin-left: 0;
	  margin-top: 0;
	}
  25% {margin-left: 8px;
	  margin-top: 4px;
	}
  50% {margin-left: 0;
	 margin-top: 0}
  75% {margin-left: -8px;
	   margin-top: -4px
	}
  100% {margin-left: 0;
	   margin-top: 0
	}
}

@media screen and (max-width:700px){
	.row{		
		flex-direction: column;	
	}
	main{
	
	min-height: calc(100vh - 90px);

}


footer{
	padding-top: 10px;
	min-height: none;
	max-height: none;
}
}
@media screen and (max-height: 500px) {
	footer{		
		transform: scale(0);
		transition: 0.5s;
	}
	main{		
	min-height: calc(100vh);
		overflow: hidden;

}
}