html {
    font-family: Lato;
    line-height: 1.6;
    height: 100%;
}
body {
    background-repeat: no-repeat;
    background-size: cover;
}

.hex {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 500px; 
  height: 200px;
  min-height: 200px;
  max-width: 98vw;
  max-height: 70vh;
}
.hex.transparent{
  background-color: #fff;
  opacity: 0.68;
}
.hex .top {
  height: 35vw;
  max-height: 100%;
  position: absolute;
  width: 100%;
  bottom: 99%;
}
.hex.transparent .top{
  background-image: url(/styles/img/login/hex.png);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: bottom;
}
.hex .top.rotate {
  bottom: unset;
  top:99%;
  transform: rotate(180deg);
}
.hex .bottom {
  font-size: 12px;
  width: 100%;
  text-align: center;
}
.hex .bottom .field {
  margin-bottom: 15px;
  font-size: 14px;
}
.hex .top .logo {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 15px;
  margin: auto;
  width: 45%;
  height:40%;
  background: url(/styles/img/login/logo.svg) no-repeat;
  background-size: contain;
  background-position: bottom;
}

.oauthCont{
 align-items: center;
 display: flex;
 height: 35px;
 width: 35px;
 justify-content: center;
 border-radius: 3px;
 background-color: #F2F2F2;
}
.usernameField{
 margin-top: 0px !important;
}

.icon-show-pass{
  background-image: url(/img/visible.png);
  width: 30px !important;
  opacity: 0.5;
}
.icon-hide-pass{
  background-image: url(/img/eye.png);
  width: 30px !important;
  opacity: 0.5;
}
form { 
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}
form .field.errorMessage {
	font-weight: bold;
	color: #e94a5a;
	font-size:15px;
	min-height:52px !important;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	text-align: center;
}
form .field {
  width: 80%;
  display: flex;
  justify-content: center;
  align-self: center;
}
form .field:not(:first-child)
{
  margin-top:15px;
}
::placeholder { /* Firefox, Chrome, Opera */ 
  color: #aeb2c1; 
  font-size: 15px;
} 

:-ms-input-placeholder { /* Internet Explorer 10-11 */ 
  color: #aeb2c1; 
  font-size: 15px;
} 

::-ms-input-placeholder { /* Microsoft Edge */ 
  color: #aeb2c1; 
  font-size: 15px;
} 
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
    border-color: #87bfff;
}
select, input, textarea{
  width: 100%;
  border-radius: 2px;
  border: solid 1px #e3e5ec;
  font-size: 18px;
  padding: 10px;
  resize: none;
}

.field input {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}
.field label {
  background-color: #fff;
  border: solid 1px #e3e5ec;
  border-radius: 2px;
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.field:nth-child(2) label
{
  background-image: url(/styles/img/login/user.svg);
  background-repeat: no-repeat;
  background-position: center
}
.field:nth-child(3) label
{
  background-image: url(/styles/img/login/private-on.svg);
  background-repeat: no-repeat;
  background-position: center
}

.field .btn {
  width: 50%;
  background-color: #0e7eff;
  border-color: #0e7eff;
  color:#fff;
  text-transform: uppercase;
  font-size: 16px;
}
.field .btn:hover {
  cursor: pointer;
  background-color: #0874f1;
}
.field a {
  color: #0e7eff;
  text-decoration: none;
}
.field a:hover {
  text-decoration: underline;
  color: #0874f1;
}
.unsupported {
  position: absolute;
  max-height: 100px;
  min-width: 30vw;
  max-width: 500px;
  background-color: rgba(255, 0, 0, 0.664);
  color:white;
  top:80%;
  right:0;
  left:0;
  bottom:0;
  margin: auto;
  border-radius: 1rem;
  padding: 5px;
  text-align: center;
  font-size: 0.7rem;
  display: none;
  justify-content: center;
  align-content: center;
  flex-direction: column;
}
.unsupported .title {
  text-transform: uppercase;
  display: block;
  font-weight: bold;
  font-size: 0.8rem;
}
.unsupported .links a {
  text-decoration: none;
  padding-left: 5px;
  padding-right: 5px;
}

.forgotPass {
  margin-top: 4px;
  margin-bottom: 0px;
  font-size: 13px;
  width: 80%;
  height: 20px;
  text-align: center;
  white-space: nowrap;
}

.forgotPass a {
  color: #0874f1;
  text-decoration: none;
  white-space: nowrap;
}
.forgotPass a:hover {
  text-decoration: underline;
  white-space: nowrap;
  color: #0874f1;
}

.oauthIcons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding-top: 22px !important;
}
.oauthIcons a {
  margin: 10px;
}