/** Load WebFonts **/
@font-face {
	font-family: 'Rajdhani';
	font-style: normal;
	font-weight: 300;
	src: local("Rajdhani"),
		 url('fonts/Rajdhani-Light.woff2') format('woff2');
}
@font-face {
	font-family: 'Rajdhani';
	font-style: normal;
	font-weight: normal;
	src: local("Rajdhani"),
		 url('fonts/Rajdhani-Regular.woff2') format('woff2');
}
@font-face {
	font-family: 'Rajdhani';
	font-style: normal;
	font-weight: 500;
	src: local("Rajdhani"),
		 url('fonts/Rajdhani-Medium.woff2') format('woff2');
}
@font-face {
	font-family: 'Rajdhani';
	font-style: normal;
	font-weight: bold;
	src: local("Rajdhani"),
		 url('fonts/Rajdhani-SemiBold.woff2') format('woff2');
}


html {
	height:100%;
}

* {	
	box-sizing: border-box;
}

body {	
	min-height: 100vh;
	padding:0;
	margin:0;
	color: #fdfdfd;
	text-align: center;
	opacity : 1;
	transition: 0.3s;
	min-height: 100%;
	background-color: #22313f;
	font-family: Rajdhani, Verdana, Arial, Helvetica, sans-serif;  	
  	font-size: 20px;
	align-items: center;
	height:100%;
	display: flex;
	justify-content: center;
	align-items: center;    
}

td, th, select, textarea, button {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
}

#container {
	width: 520px;
	margin: 50px auto;
}

#commonError {	
	margin: 5px 0 30px 0;
}

fieldset {
	width:500px;
	padding:10px;
}
	
.header {
	font-family:Verdana;
	font-size:11px;
	padding: 10px 0;
	color:#407597;
	font-weight:bold;
}
.label {
	font-weight: bold;
	white-space: nowrap;
}


button {
	font-family: inherit;
	font-size: inherit;
	background-color: #00548f;
	border: 0;
	color: white;
	box-shadow: 3px 3px 5px rgba(0, 0, 0, 30%);
	border-radius: 3px;
    cursor: pointer;
    padding: 0.1em 1.4em;
    text-decoration: none;
    line-height: 1.5;    
    font-size: 20px;
}

button:disabled {
  background: #999;
  color: #555;
  cursor: not-allowed;
}

.flex-container {            
	display: flex;
    justify-content: center;
    align-items: center;    
    flex-wrap: wrap;    
}

.wrap {
	background-color: #FFFFFFAA;
	border-radius: 15px;
	padding: 30px;
	width: 450px;
}

.login {
	background-color: #202C37;
    padding: 15px 40px;
    border-radius: 5px;
    margin: 10px 0 30px 0;    
}

.companylogo {
  max-width: 70%;
  max-height: 200px;
  margin: 10px;  
}

.password-input-box {
    position: relative;
    height: 50px;
    margin-top: 20px;
    padding-bottom: 10px;  
  }
  
input {
	font-family: inherit;
	font-size: 16px;
    width: 100%;
    height: 100%;
    background: #fff;
    border: none;
    padding: 5px 15px;
    outline: none;
    border-radius: 5px;
    color: #487b98;
    padding-right: 45px;
  }
  
  input::placeholder {
    color: #487b98;
  }
  
  input:focus {
    box-shadow: 0 0 0 3px #487b98, 0 0 0 6px #22b5e2;
  }
  
/*
input[required]:invalid {
  box-shadow: 0 0 0 3px #487b98, 0 0 0 6px #f33;
}  
form:invalid button {
  background: #999;
  color: #555;
  cursor: not-allowed;
}
*/
  
  .username-input-box {
    position: relative;
    height: 50px;
    padding-bottom: 10px;  
  }
  
  
  .error {
  	font-weight: bold;
    color: red;
    margin-top: 10px
  }
  

  @media (max-width: 450px) {
    .wrap {
	    background-color: #FFFFFFAA;
	    border-radius: 15px;
	    padding: 30px;    
	    margin: 10px;
	    width:90%;
	}
	
	.login { 
    	padding: 15px 20px;    
	}
	
	input {	
		font-size: 14px;
  }
}