html {
	height: 100%;
}

body {
  background-image: url("../img/login_background.jpg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  min-height: 100%;
  position: relative;
  width: 100%;
  margin: 0;
  overflow: auto;
}

.form-group span.help-block.error-text {
  display: none;
}

.form-group.has-error span.help-block.error-text {
  display: block;
}

.form-group.has-error span.help-inline {
  color: #b94a48;
}

.error-box {
  min-height: 50px;
}

.container {
  padding-bottom: 120px;
}

/* login form */
@media (min-width: 768px) {
  .login-center {
    width: 340px;
  }

  .domain-list, .select-domain {
    max-width: 180px;
  }

  .domain-name {
    max-width: 145px;
  }

  .domain-list.single-org .domain-name {
    max-width: 180px;
  }

  .login-form .password input {
    width: 250px;
  }
}

@media (max-width: 768px) {
  .login-form .password input {
    width: calc(100% - 90px);
  }

  .domain-list, .select-domain {
    max-width: 50%;
  }

  .domain-name {
    max-width: calc(100% - 20px);
  }

  .domain-list.single-org .domain-name {
    max-width: 100%;
  }
}

.domain-list.single-org {
  cursor: default;
}

.login-center {
  margin-left: auto;
  margin-right: auto;
}

.top-logo img{
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.login-form {
	margin-top: 30px;
}

.username {
	position: relative;
}

.domain-list {
  position: absolute;
  cursor: pointer;
  right: 1px;
  top: 5px;
  font-size: 1.2em;
  color: #c7c7c7;
  padding: 0;
  padding-right: 1em;
  background-color: transparent;
}

.select-domain {
	position: absolute;
	cursor: pointer;
	opacity: 0;
	right: 1.2em;
	top: 5px;
	z-index: 100;
}

#domain {
	cursor: pointer;
}

.domain-name {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  white-space: nowrap;
}

.bottom-arrow-container {
  display: inline-block;
	position: relative;
  top: -1px;
}

.bottom-arrow {
  display: inline-block;
  border: 6px solid transparent;
  border-top-color: #ccc;
  line-height: 0;
  height: 0;
  width: 0;
}

#submit {
  width: 85px;
}

div.forget-password-container {
  margin-top: 10px;
}

a.forget-password {
  color: #999;
  padding-left: 2px;
}

/* end login form */

div.rdr {
  width: 100%;
  left: 0;
  top: 0;
  position: fixed;
}

div.rdr .close {
  margin: -3px;
}

div.rdr .alert {
  z-index: 20000;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  padding: 7px 17px 5px 17px;
  text-align: center;
  color: #c09853;
}

div.rdr .alert a {
  color: #C09853;
}

div.rdr .rdr-icon {
  opacity: 0.5;
  filter: alpha(opacity=50);
}

.appstore-container {
  position: absolute;
  bottom: 60px;
  text-align: center;
  width: 100%;
}

.login-footer{
  width: 100%;
  height: 40px;
  position: absolute;
  border: 0;
  bottom: 0;
  color: #707070;
  text-align: center;
}
