﻿html { height: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 98vh;
}

#Content { text-align: center; }

#Content #ValidationSummary {
  color: #e42e2e;
  font-weight: bold;
  text-align: center;
}

#Content #ValidationSummary .validation-summary-errors ul li {
  list-style: none;
  padding-bottom: 5px;
  margin-left: -40px;
}

#Content div { margin-top: 5px; }

#LoginWrapper {
  min-height: 360px;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: white;
  width: 400px;
}

#LoginContainer {
  margin: 40px 25px 20px 25px;
  float: left;
  font-size: 14px;
  width: 350px;
}

.LoginBackground {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  -ms-background-size: cover;
  background-size: cover;
  background-repeat: no-repeat;
}

.LoginAds {
  width: 350px;
  margin-right: 30px;
  margin-bottom: 10px;
  overflow: hidden;
  margin-top: 10px;
}

#LoginContent .ValidationMessage {
  margin: 5px;
  width: 100%;
  color: #e42e2e;
  font-weight: bold;
  text-align: center;
}

.LoginAd {
  width: 350px;
  margin: 10px;
  vertical-align: middle;
  text-align: center;
  display: inline-block;
}

.LoginAd img { max-width: 350px; }

.LoginImage {
  width: 40px;
  height: 40px;
  display: inline-block;
  vertical-align: middle;
  -ms-opacity: 0.5;
  -opacity: 0.5;
  margin-left: 10px;
  margin-right: 10px;
  filter: alpha(opacity=50);
  background-color: black;
}

.LoginInput {
  border: 1px;
  border-color: lightgrey;
  border-style: solid;
  height: 40px;
}

.LoginInput input {
  width: 275px;
  border-style: none;
  font-size: 14px;
  outline: 0;
}

.LoginInput .PlaceholderText {
  font-size: 14px;
  margin-left: -5px;
}

.LoginButton {
  margin-top: 20px;
  border: 1px solid white;
  color: white;
  display: block;
  font-size: 18px;
  font-weight: 500;
  line-height: 45px;
  padding: 0 15px;
  text-align: center;
  display: inline-block;
  cursor: pointer;
  min-width: 100px;
}

.LoginButton:hover, .ChangePswdButton:hover, .ForgotPswdButton:hover, .RecoverButton:hover {
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.Button {
  width: 100%;
  max-height: 40px;
  margin-top: .5em;
  margin-bottom: 20px;
  color: white;
  text-decoration: none;
  font-size: 16px;
  cursor: pointer;
  border: 1px solid white;
}

.ButtonWrapper {
  text-align: center;
}

  .ButtonWrapper .ui-block-a, .ButtonWrapper .ui-block-b {
    display: inline-block;
  }

  .ChangePswdButton {
    width: 100px;
    height: 40px;
    margin-top: 20px;
    margin-bottom: 20px;
    color: white;
    border-style: none;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
  }

#Content div.ChangePswdButton {
  margin-left: 125px;
  margin-top: 10px;
}

.ChangePswdButton div {
  text-align: center;
  vertical-align: middle;
  line-height: 40px;
}

#RecoverInfo div {
  margin-bottom: 5px;
  text-align: center;
}

.RecoverHeader {
  font-weight: bold;
  margin-top: 5px;
  text-align: center;
}

.AccountPageTitle {
  margin: 10px 0;
  text-align: center;
}

.ForgotPswdButton {
  border: 1px solid white;
  width: 100px;
  height: 40px;
  margin-top: 20px;
  margin-bottom: 20px;
  color: white;
  text-decoration: none;
  font-size: 16px;
  float: left;
  cursor: pointer;
}

.ForgotPswdButton div {
  text-align: center;
  vertical-align: middle;
  line-height: 40px;
}

.RecoverButton {
  width: 100px;
  height: 40px;
  margin-left: 17.5%;
  margin-top: 20px;
  margin-bottom: 20px;
  color: white;
  border-style: none;
  text-decoration: none;
  font-size: 16px;
  margin-left: 125px;
  cursor: pointer;
}

.RecoverButton div {
  text-align: center;
  vertical-align: middle;
  line-height: 40px;
}

.ui-block-a .ForgotPswdButton { margin-left: 70px; }

.ui-block-b .ForgotPswdButton { margin-left: 10px; }

.LoginButton div {
  text-align: center;
  vertical-align: middle;
  line-height: 40px;
}

.LoginLinks {
  margin-left: 5px;
  float: left;
}

.LoginLink {
  margin-bottom: 10px;
  font-size: 14px;
}

.ResetInfo {
  margin: 10px 0;
  text-align: center;
}

.LoginLink a { text-decoration: none; }

.PlaceholderWrapper { top: -5px; }

.Cultures {float: right;}
.Cultures select {border:none;}

.sf-menu { font-size: 14px; }

.sf-menu li { border: none; }

.sf-menu li a {
  text-align: center;
  margin-right: 10px;
}

.sf-menu li span {
  text-align: center;
  margin-right: 10px;
}

.sfHover .CurrentCulture { color: white; }

.BackColor { }

.HighlightBack { }

#LogoHeader {
  background-color: #ffffff;
  margin-bottom: 25px;
  margin-left: -25px;
  margin-right: -25px;
  margin-top: -40px;
  padding-bottom: 20px;
  padding-top: 30px;
}

#LogoHeader img { max-width: 370px; }


input[type="checkbox"] + input + label span {
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-top: -2px;
  vertical-align: middle;
  background-color: white;
  cursor: pointer;
}

input[type="checkbox"] + input + label span { background: url("Images/CheckBoxSprite.png") left top no-repeat; }

input[type="checkbox"]:checked + input + label span { background: url("Images/CheckBoxSprite.png") -13px top no-repeat; }

input[type="text"].LoginInput {
  border: 1px;
  border-color: lightgrey;
  border-style: solid;
  font-size: 14px;
  max-height: 40px;
  margin-bottom: .5em;
  padding: 0 0 0 .5em;
  width: 97%;
}