/* only *.woff is required for our list of supported browsers (http://caniuse.com/#search=woff) */
/*@font-face {
  font-family: 'HelveticaNeue';
  src: url('HelveticaNeue.woff') format('woff');
}*/

html {
  height: 100%;
  width: 100%;
}

body {
  background-color: rgb(75, 69, 218); /* #4b45da */
  box-sizing: border-box;
  font-family: 'HelveticaNeue', Helvetica, Arial;
  height: 100%;
  margin: 0;
  width: 100%;
}

.container {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.container .header {
  align-items: center;
  color: rgb(255, 255, 255);
  display: flex;
  flex: 0 0 100px;
  justify-content: center;
}

.container .header .lsLogo {
  height: 51px;
}

.container .content {
  color: rgb(255, 255, 255);
  flex: 1 1 auto;
  overflow-y: auto;
  text-align: center;
}

.container .footer {
  align-items: center;
  color: rgb(255, 255, 255);
  display: flex;
  flex: 0 0 30px;
  font-size: 12px;
  justify-content: center;
  text-align: center;
}

.container .footer * {
  padding: 0 6px;
}

.container .footer span {
  opacity: 0.5;
}

.container .footer a {
  color: rgb(255, 255, 255);
}

button,
input {
  font-family: 'HelveticaNeue', Helvetica, Arial;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  margin: 0;
  padding: 0 5px;
}

h1 {
  font-size: 40px;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 24px;
}

h4 {
  font-size: 20px;
}

header {
  text-align: center;
}

header img {
  height: 60px;
  margin: 32px 0;
}

a.link {
  color: rgb(21, 161, 154);
  /* temporary */
  font-weight: bold;
  text-decoration: none;
}

form,
.form {
  background-color: rgb(255, 255, 255);
  border-radius: 4px;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  color: rgb(75, 79, 84);
  display: inline-block;
  /* outer margin for mobile min-width */
  margin: 0 5px;
  /* mobile responsive */
  max-width: 440px;
  /* mobile requirement (320 min width, including margin) */
  min-width: 310px;
  padding: 30px 5px;
  text-align: center;
  /* mobile responsive */
  width: calc(100% - 10px);
}

.form {
  max-width: 480px;
}

form header,
.form header {
  padding: 0;
}

form header h4,
.form header h4 {
  margin-top: 27px;
}

.form header h4 {
  padding: 0 50px;
}

/* fieldsets with adaptive placeholders */
form fieldset {
  border: none;
  margin: 24px auto 0;
  padding: 0;
  position: relative;
  text-align: left;
  width: 300px;
}

form fieldset.hidden {
  /* to avoid weird transition */
  opacity: 0;
  /* so that it is not editiable */
  visibility: hidden;
}

form fieldset label {
  color: rgb(75, 79, 84); /* #4b4f54; 'graphite' */
  display: block;
  font-size: 16px;
  margin-bottom: 5px;
  padding: 0;
}

/* remove red border in firefox */
form fieldset input:invalid {
  box-shadow: none;
}

form fieldset input {
  background: transparent;
  border: 1px solid #a5a7aa;
  border-radius: 4px;
  box-sizing: border-box;
  color: rgb(75, 79, 84); /* #4b4f54; 'graphite' */
  font-size: 14px;
  height: 30px;
  outline: none;
  padding: 0 0.5em;
  width: 100%;
}

form fieldset input::-webkit-input-placeholder,
form fieldset input:-ms-input-placeholder,
form fieldset input::placeholder  { /* Edge, IE 11, all other */
  color: #a5a7aa;
  opacity: 1;
}

form fieldset input:focus {
  outline: none;
  border-color: rgb(75, 69, 218); /* #4b45da */
}

form .messages {
  font-size: 12px;
  line-height: 22px;
  margin: 27px 5px 0;
  min-height: 32px; /* retain a minimum height even when empty */
}

form .messages > .error {
  color: rgba(179, 21, 0, 0.8);
  font-size: 14px;
  font-style: italic;
  line-height: 24px;
}

form .messages > .message {
  color: rgb(75, 79, 84); /* #4b4f54 */
}

form .messages > .message a {
  color: rgb(21, 161, 154);
  text-decoration: none;
}

.button-bar {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 22px auto 2px;
}

.button-bar button,
.button-bar .button {
  align-items: center;
  background-color: rgb(75, 69, 218);
  border: 1px solid transparent;
  border-radius: 4px;
  box-sizing: border-box;
  color: rgb(255, 255, 255);
  cursor: pointer;
  display: flex;
  font-size: 17px;
  /* temporary */
  font-weight: bold;
  height: 50px;
  justify-content: center;
  margin: 8px 0 0;
  min-width: 240px;
  outline: none;
  padding: 2px 12px;
  /* for links */
  text-decoration: none;
  transition: all 0.25s ease;
}

.button-bar button.secondary,
.button-bar .button.secondary {
  background-color: rgb(255, 255, 255);
  border: 1px solid rgb(75, 79, 84);
  color: rgb(75, 79, 84);
}

.button-bar *:first-child {
  margin: 0;
}

.button-bar button:disabled {
  background-color: rgba(75, 69, 218, 0.4);
  cursor: not-allowed;
}

.error {
  opacity: 0.8;
  font-size: 14px;
  font-style: italic;
  text-align: center;
  color: #b31500;
}

.forgot-password {
  width: 100%;
  height: 14px;
  font-size: 12px;
  text-align: center;
  color: #15a19a;
  padding-top: 16px;
}

.forgot-password a {
  color: rgb(21, 161, 154);
}
