html {
  height: 100%;
  background: #fff;
}
body {
  /*  background:url(../img/logo.png) no-repeat center center;*/
  height: 100%;
}
.rmslogo {
  background: url(/logo_rms.png) no-repeat top right;
}
form .fform label {
  box-sizing: border-box;
  display: block;
  position: absolute;
  pointer-events: none;
  margin: calc(-3.5em + 1px) 1em 0;
}
form .fform label:before {
  content: attr(placeholder);
  display: inline-block;
  color: #999;
  white-space: nowrap;
  transition-property: transform, color, font-size;
  transition-duration: 0.2s;
  transition-timing-function: ease-out;
  transform-origin: left center;
  border: 1px solid rgba(0, 0, 0, 0);
  border-bottom: 0;
  padding: 3px;
  border-radius: 5px 5px 0 0;
  background: #FFF;
}
form .fform input {
  font-size: 100%;
  margin: 1em 0;
  padding: 0 1em;
  height: 3em;
  box-sizing: border-box;
  border-radius: 1em;
  border: 1px solid #ccc;
  width: 100%;
}
form .fform input.ro {
  cursor: default;
}
form .fform input.ro + label:before,
form .fform input:focus + label:before,
form .fform input.active + label:before,
form .fform input:valid + label:before {
  transform: translateY(-2.5em) translateX(0.5em);
  color: #e87e22;
  border-color: #ccc;
  font-size: 70%;
}
form .fform input.ro + label:before,
form .fform input:valid + label:before {
  color: #23a045;
}
form .fform input.invalid + label:before {
  color: #e87e22;
}
form .fform.small label {
  margin: calc(-3.0em + 1px) 0.5em 0;
}
form .fform.small input {
  margin: 1em 0;
  padding: 0 0.5em;
  height: 2em;
}
form .fform.small input.ro + label:before,
form .fform.small input:focus + label:before,
form .fform.small input.active + label:before,
form .fform.small input:valid + label:before {
  transform: translateY(-2em) translateX(0.5em);
}
form .fform.tiny label,
form .fform .tiny label {
  margin: calc(-2.5em + 1px) 0.5em 0;
}
form .fform.tiny input,
form .fform .tiny input {
  margin: 0.75em 0;
  padding: 0 0.25em;
  height: 1.5em;
}
form .fform.tiny input.ro + label:before,
form .fform .tiny input.ro + label:before,
form .fform.tiny input:focus + label:before,
form .fform .tiny input:focus + label:before,
form .fform.tiny input.active + label:before,
form .fform .tiny input.active + label:before,
form .fform.tiny input:valid + label:before,
form .fform .tiny input:valid + label:before {
  transform: translateY(-1.5em) translateX(0.5em);
}
.window {
  position: absolute;
  border: 1px solid #fff;
  border-radius: 5px;
  box-shadow: 0px 0px 8px #666;
  background: rgba(255, 255, 255, 0.8);
}
.window.modal {
  z-index: 1;
}
.window .title {
  text-align: center;
  border-radius: 5px 5px 0 0px;
  background: linear-gradient(#e0dddc, #e0dddc), radial-gradient(ellipse at top, #fdfdfd 0%, transparent 70%);
  background-blend-mode: overlay;
  color: #090909;
  text-shadow: 1px 1px #fff;
  cursor: pointer;
}
.window .content {
  padding: 10px;
  position: relative;
}
.window label {
  display: inline-block;
}
.window.moving .title {
  cursor: move;
}
#messagebox .icon {
  display: inline-block;
  float: left;
  width: 32px;
  height: 32px;
}
#messagebox .icon.error {
  background: url(../img/dialog-error.png) no-repeat left top;
}
#messagebox .icon.warning {
  background: url(../img/dialog-warning.png) no-repeat left top;
}
#messagebox p {
  margin-left: 40px;
}
body {
  margin: 0;
  padding: 0;
  overflow-y: hidden;
  font-family: Arial, sans-serif;
}
.center {
  text-align: center;
}
#main {
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
#content {
  height: 100%;
  display: flex;
}
#modalbg {
  background: rgba(0, 0, 0, 0.8);
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1;
  display: none;
}
.template {
  display: none;
}
a,
input {
  outline: 0;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition: background-color 5000s ease-in-out 0s;
}
div {
  box-sizing: border-box;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.loading input[type=submit] {
  color: #DDD;
  background-color: transparent;
  border-color: #DDD;
}
.hidden {
  display: none;
}
.hidden:before {
  display: none;
}
.tabbedcontent .content .help h3 {
  margin: 20px 0;
}
.tabbedcontent .content .help h4 {
  margin: 0 0 0 20px;
}
.tabbedcontent .content .help h3 + h4 {
  margin-top: -20px;
}
.tabbedcontent .content .help li {
  margin: 10px 0;
}
