﻿body {
  background-color: darkgray;
  font-family: 'Segoe UI', Arial, Helvetica, Verdana, Sans-Serif;
  margin: 0;
}

#wrapper {
  width: 100%;
  height: 100%;
  padding-top: 5%;
}

#loginbox {
  width: 400px;
  background-color: white;
  border: 1px solid gray;
  margin: auto;
  margin-top: 10px;
  border-radius: 0;
}

.topbox {
  width: 100%;
  height: 60px;
  background-image: url(../Content/images/logo/logo.png);
  background-repeat: no-repeat;
  background-position: 70px 10px;
  background-size: 260px;
}

.title {
  text-align: center;
  margin: 30px auto;
}

.leftbox {
  width: 140px;
  height: 120px;
  float: left;
  margin-right: 30px;
}

.form-group {
  min-height: 26px;
}

.label {
  text-align: right;
}

.bottombox {
  width: 100%;
  height: 70px;
}

.footerbox {
   width: 100%;
   height: auto;
   color: white;
   margin: unset;
   padding: 5px;
   background-color: rgb(0, 114, 171);
   background-repeat: no-repeat;
   background-position: 70px 10px;
   background-size: 260px;
}

#login {
  background-image: url(../Content/images/Login_Standard.png);
  background-size: 48px;
  background-repeat: no-repeat;
  border: 1px solid gray;
}

[class*='icon-inv-16-'] {
  margin-right: 5px;
}

.icon-inv-16-key {
  background-position: -320px -128px;
}

.button {
  float: right;
  margin: 2px;
  margin-right: 0;
  padding: 10px 12px;
  color: #fff;
}

.btn {
  border-radius: 3px;
  color: #fff;
  background: rgb(0, 114, 171);
  padding: 10px 12px;
  text-decoration: none;
  margin: 2px;
  box-shadow: rgb(7, 72, 122) 0px 2px 1px;
  float: right;
  margin-right: 72px;
}

.btn:hover {
  background: rgb(62, 163, 220);
  text-decoration: none;
}

.row {
  height: 36px;
  width: 100%;
  margin: 0 auto;
}

.vrow {
  height: 15px;
}

.col1 {
  width: 25%;
  text-align: right;
  float: left;
  margin-top: 6px;
}

.col2 {
  width: 75%;
  float: left;
}

.col2 input {
  width: 100%;
}

.control-label {
  margin-right: 10px;
}

.loginMessage p {
  margin: 30px 15px 15px;
}

.rbtn a {
  color: #fff;
}

[aria-describedby='timeoutPopup'] .ui-widget-header {
  color: #fff;
  border: 1px solid black;
  background: rgb(0, 114, 171);
}

.formbox {
  padding: 0 30px;
}

#loginbox .login-label {
  position: relative;
  top: -2px;
}

#loginbox .field-validation-error {
  width: 100%;
  display: inline-block;
  margin: 10px 0 15px;
}

@media only screen and (max-width: 480px) {
  #loginbox .col1,
  #loginbox .col2 {
    width: 100%;
    margin-left: 0;
  }
  #loginbox .col2 #Name,
  #loginbox .col2 #Password {
    width: 100%;
    margin-top: 5px;
  }
  #loginbox .bottombox {
    width: 100%;
  }
  #loginbox #loginButton {
    display: inline-block;
    width: 100%;
    text-align: center;
  }
  #loginbox .title {
    text-align: left;
    margin-left: 30px;
    margin-bottom: 20px;
  }
  #loginbox .footerbox {
    display: inline-block;
    margin-top: 10px;
  }
}

@media only screen and (max-width: 820px) {
  #wrapper {
    padding-top: 0;
  }
}

.native-app .topbox {
  display: none;
}
