﻿html {
  height: 100%;
}

body {
  background: #dadada;
  background-size: cover;
  /*background-blend-mode: overlay;*/
  color: #0a0b30;
  font-family: Verdana, Arial;
  font-size: 18pt;
  text-align: center;
  height: 100%;
  margin: 0;
}

.dark {
  background: #4d4d4d;
  color: #fff;
}

.dark #xytech-logo {
  filter: invert(100%) sepia(100%) saturate(2%) hue-rotate(127deg) brightness(100%) contrast(101%);
}

/* screen-reader only */
.sr-only:not(:focus):not(:active) {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* elements from top to bottom */
#loginbox {
  text-align: left;
  padding: 30px 30px 0;
  margin: 60px auto 0;
  display: inline-block;
  white-space: nowrap;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

#logo-container {
  position: relative;
  width: 100%;
  max-height: 85px;
  text-align: center;
}

.dropdown {
  width: 304px;
  vertical-align: middle;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 5px;
  border-right: 8px solid transparent;
}

#username, #password, .dropdown {
  text-indent: 6px;
}

#wrapper {
  overflow: hidden;
}

#username, #password {
  width: 288px;
  height: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 7px 6px 4px 8px;
}

#rememberme-container {
  text-align: left;
  border: none;
  padding-bottom: 10px;
  background-color: transparent;
}

#remembermelabel, #autologinlabel {
  font-size: 10pt;
}

#remembermelabel input, #autologinlabel input {
  vertical-align: middle;
}

#signin {
  background: #2E77C2;
  color: #fff;
  width: 300px;
  border-radius: 6px;
  height: 38px;
  text-align: center;
  border: none;
}

#signin:hover {
  cursor: pointer;
}

#signin-container {
  background-color: transparent;
  opacity: 1;
  border: none;
}

#loginerror {
  font-size: 16px;
  white-space: normal;
  color: #fff;
  margin: 40px 0 0;
  text-align: left;
  background: #9c2b2e;
  border-radius: 6px;
}

#loginerror ul {
  list-style: none;
  word-wrap: break-word;
  padding: 0;
}

#loginerror li {
  padding: 6px 10px 6px 10px;
}

#msg {
  font-size: 1.2em;
  white-space: normal;
  margin-bottom: 0.5em;
  text-align: center;
}

#branding-container {
  font-size: 9pt;
  color: #0b0c29;
}

#branding-container a {
  color: #0b0c29;
}

.dark #branding-container a {
  color: #fff;
}

#branding, #tutorial-link {
  display: inline-block;
  position: absolute;
}

#branding {
  left: 10px;
  bottom: 10px;
}

#tutorial-link {
  right: 10px;
  bottom: 10px;
}

/*
.copyright {
    font-size: 9pt;
    text-align: right;
    color: white;
    width: 100%;
    height: 18px;
    position: relative;
}

.text-box {
    width: 100%;
}
*/
/* below - general properties applied to multiple elements*/
input, select {
  padding-left: 0px;
  background-color: #fff;
  border-color: #E2E8F0;
  font-size: 19px;
  color: #0a0b30;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition: background-color 5000s ease-in-out 0s;
  -webkit-box-shadow: none;
  -webkit-text-fill-color: #0a0b30;
}

input[disabled], .label.disabled {
  opacity: 0.01;
}

select:focus, textarea:focus, input:focus {
  outline: none;
}

.title {
  position: relative;
  margin-bottom: 8px;
  padding-top: 6px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.title > div {
  display: inline-block;
  position: relative;
  height: 100%;
  padding-bottom: 18px;
}

.title h1 {
  font-weight: normal;
  margin: 0;
}

@media only screen and (max-width: 360px) {
  .title h1 {
    font-size: 20px;
  }
}
@media only screen and (min-width: 361px) and (max-width: 500px) {
  .title h1 {
    font-size: 20px;
  }
}
@media only screen and (min-width: 501px) {
  .title h1 {
    font-size: 23px;
  }
}
.entry {
  display: inline-block;
}

.entry-margin {
  height: 10px;
}

.centered {
  text-align: center;
}
