@import url(https://fonts.googleapis.com/css?family=Roboto:400,500);

html, body {
    overflow: auto;
}

body{
  background-color: #333;
	font-family: "Segoe UI", "Arial";
}

/* BOX LOGIN */
.box{
	position: relative;
	margin: auto;
	height: 405px;
	top: 40px;
	left: 0;
	z-index: 200;
	right: 0;
	width:400px;
	color:#337ab7;
	padding:10px 0px;
	font-family: "Segoe UI" !important;
	background:#fff;
	border: 1px solid transparent;
	margin-bottom: 100px;
}

.box h1{
	text-align:center;
	margin: 19px;
	font-size:40px;
}

.box button, .box button:active{
	background:#eb6456;
	border:0 !important;
	color:#fff;
	padding:10px;
	font-size:20px;
	width:330px;
	margin: 10px auto;
	display:block;
	cursor:pointer;
	font-family: "Segoe UI" !important;
}

.box button:hover{
	background:#d55d4f;
}

.box2{
	position: relative;
	margin: auto;
	height: 335px;
	top: 40px;
	left: 0;
	z-index: 200;
	right: 0;
	width:400px;
	color:#337ab7;
	padding:10px 0px;
	font-family: "Segoe UI" !important;
	background:#fff;
	border: 1px solid transparent;
	margin-bottom: 100px;
}

.box2 h1{
	text-align:center;
	margin: 19px;
	font-size:40px;
}

.box2 button, .box2 button:active{
	background:#eb6456;
	border:0 !important;
	color:#fff;
	padding:10px;
	font-size:20px;
	width:330px;
	margin: 10px auto;
	display:block;
	cursor:pointer;
	font-family: "Segoe UI" !important;
}

.box2 button:hover{
	background:#d55d4f;
}

.group{ 
  position:relative; 
  margin-bottom: 35px; 
  margin-left: 40px;
  font-family: "Segoe UI" !important;
}

.ultimo{
  position:relative; 
  margin-bottom: 23.5px !important; 
  margin-left: 40px;
  font-family: "Segoe UI" !important;	
}

.inputMaterial {
  font-size:18px;
  padding:10px 10px 10px 5px;
  display:block;
  width:300px;
  border:none;
  border-bottom:1px solid #757575;
  font-family: "Segoe UI" !important;
}

.inputMaterial:focus{ outline:none;}

/* LABEL ======================================= */

label {
  color:#999; 
  font-size:18px;
  font-weight:normal;
  position:absolute;
  pointer-events:none;
  left:5px;
  top:10px;
  transition:0.2s ease all; 
  -moz-transition:0.2s ease all; 
  -webkit-transition:0.2s ease all;
}

/* active state */
.inputMaterial:focus ~ label, .inputMaterial:valid ~ label{
  top:-20px;
  font-size:14px;
  color:#337ab7;
  font-family: "Segoe UI" !important;
}

/* BOTTOM BARS ================================= */
.bar 	{ position:relative; display:block; width:315px; }
.bar:before, .bar:after 	{
  content:'';
  height:2px; 
  width:0;
  bottom:1px; 
  position:absolute;
  background:#337ab7; 
  transition:0.2s ease all; 
  -moz-transition:0.2s ease all; 
  -webkit-transition:0.2s ease all;
  font-family: "Segoe UI" !important;
}

.bar:before {
  left:50%;
}
.bar:after {
  right:50%; 
}

/* active state */
.inputMaterial:focus ~ .bar:before, .inputMaterial:focus ~ .bar:after {
  width:50%;
}

/* Style Select Field */
/* active state */
.bases{
  top:-20px;
  font-size:14px;
  color:#337ab7;
  font-family: "Segoe UI" !important;
}


select, select:active {
  font-size:18px;
  padding:10px 10px 10px 5px;
  display:block;
  width:317px;
  border:none;
  border-bottom:1px solid #757575;
  font-family: "Segoe UI" !important;	
}

/* Remove focus */
select:focus {
  outline: none;
  border-bottom:2px solid #337ab7;
}

/* Hide label */
.mdl-selectfield label {
  display: none;
}

/* Use custom arrow */
.mdl-selectfield select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.mdl-selectfield {
  position: relative;
}
.mdl-selectfield:after {
  position: absolute;
  top: 20px;
  right: 50px;
  /* Styling the down arrow */
  content: '';
  border-left: .25em solid transparent;
  border-right: .25em solid transparent;
  border-top: 0.375em solid #757575;
  pointer-events: none;
}


/* active state */
.inputMaterial:focus ~ .highlight {
  -webkit-animation:inputHighlighter 0.3s ease;
  -moz-animation:inputHighlighter 0.3s ease;
  animation:inputHighlighter 0.3s ease;
}

/* ANIMATIONS ================ */
@-webkit-keyframes inputHighlighter {
	from { background:#5264AE; }
  to 	{ width:0; background:transparent; }
}
@-moz-keyframes inputHighlighter {
	from { background:#5264AE; }
  to 	{ width:0; background:transparent; }
}
@keyframes inputHighlighter {
	from { background:#5264AE; }
  to 	{ width:0; background:transparent; }
}
