body.appian-body {
  font-family: OpenSans, Sans-Serif;
  font-size: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

body.appian-body #copyright {
  background-color: #222;
  color: #ddd;
}

@media only screen and (max-width: 480px) {
  body .login_background {
    position: absolute;
    top: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: 230px;
  }
  body img.logo{
    max-height: 40px;
    max-width: auto;
  }
  body .login_box_inner.login_box_inner {
    width: 94%;
    margin-top: 140px;
    margin-left: auto;
    margin-right: auto;
    padding: 12px 18px;
    top: auto;
    left: 3%;
  }
  body .login_box input[type=text], body .login_box input[type=password]{
    margin-left: auto;
    margin-right: auto;
    top: auto;
    left: 3%;
  }

  body .notification_form .login_box_inner{
    width: 94%;
    max-width: 100%;
  }
}

.login_background{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: calc(50% + 130px);
  background-color: #416b88;
}

img.logo {
  max-height: 50px;
  max-width: 240px;
  margin-bottom: 18px;
}

.login_box{
}

.login_box form{
  font-family: OpenSans, Sans-serif;
  line-height: normal;
  margin-bottom: 14px;
}

.login_box form input::-webkit-input-placeholder {
  color: #999;
  -webkit-text-fill-color: #999; /* needed so disabled placeholder text color is correct in Safari */
  font-style: italic;
}

.login_box form input::-moz-placeholder {
  color: #999;
  font-style: italic;
  opacity: 1;
}

.login_box form input:-ms-input-placeholder {
  color: #999;
  font-style: italic;
}

.login_box.change_pw{
  margin: -250px 0 0 -215px;
  position: absolute;
}

.login_box_inner.login_box_inner{
  background-color: #fff;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  border: 1px solid #ccc;
  box-shadow: none;
  margin: -200px 0 0 -200px;
  width: 400px;
  padding: 18px 24px;
  position: absolute;
  top: 50%;
  left: 50%;
}

.login_logo{
}

.login_logo img{
  max-width: 200px;
  max-height: 50px;
  margin-bottom: 18px;
}

.message{
  font-weight: bold;
  font-size: 12px;
  color: #de0037; /* destructive color */
  text-align: left;
  margin-bottom: 14px;
  background-color: #ffefef; /* destructive background color */
  border: 1px solid #ff92ad; /* destructive border color */
}

.login_box form .message{
  font-weight: normal;
  font-size: 14px;
  text-align: left;
  color: #de0037; /* destructive color */
  padding-bottom: 1rem;
  padding: 0.7143rem 0.8571rem;
}

.passwordInstructions{
  color: #555;
  font-size: 12px;
  margin: 3px 0 14px 6px;
}

.passwordInstructions h3{
  color: #333;
  font-size: 18px;
  margin: 2px 0;
}

.field_layout{
  display: table;
  table-layout: fixed;
  position: relative;
  width: 100%;
  margin-bottom: 8px;
}

.login_box form .field_layout{
  margin-bottom: 10px;
}

.label_above{
  margin-bottom: 6px;
}

label{
  font-size: 13px;
  font-weight: bold;
  color: #555;
}

.input_column{
  display: table-cell;
  vertical-align: top;
}

.input_column, .input_below{
  overflow: hidden;
  overflow-x: auto;
}

.login_box input[type=text], .login_box input[type=password]{
  padding: 6px 8px;
  font-size: 14px;
  font-weight: normal;
  border-radius: 0px;
  width: 100%;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  border: 1px solid #d4d4d4;
  color: #222;
  line-height: 1.4286;
}

.login_box input[type=text]:focus, .login_box input[type=password]:focus{
  border: 1px solid #1d659c;
  outline: none;
}

.button_box {
  margin-top: 10px;
  padding: 14px 0 0 0;
  text-align: right;
}

.button_box_content{
  display: table;
  width: 100%;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

.button_box_links, .button_box_buttons{
  display: table-cell;
  vertical-align: top;
}

.button_box_links{
  text-align: left;
  padding-top: 7px;
  padding-right: 14px;
}

.button_box_links label {
  display: block
}

.button_box_links label:not(:last-child) {
  margin-bottom: 6px;
}

.button_box_links div{
  display: block;
  line-height: 1.4286;
}

.button_box_links a{
  font-weight: normal;
  font-size: 14px;
  border-bottom: 1px dotted #777;
  color: #1d659c;
  line-height: 1.4286;
}

.button_box_links a:hover, .button_box_links a:focus {
  outline: none;
  color: #1d659c;
  border-bottom: 1px solid #1d659c;
}

.button_box_links a:active {
  border-color: #1d659c;
}

.button_box_buttons{
  text-align: right;
}

.btn:hover, input.iBlueButton:hover{
  text-decoration: none;
}

button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
  padding: 0;
  border: 0;
}

.inline{
  display: inline;
}

input[type="submit"], input[type="button"] {
  cursor: pointer;
  -webkit-appearance: button !important;
  height: 34px !important;
  border-radius: 0px;
}

input[type=button], input[type=reset], input[type=submit] {
  width: auto;
  height: auto;
}

input[type="button"] {
  width: none !important;
  height: 34px !important;
}

.btn, input.iBlueButton{
  cursor: pointer;
  text-transform: uppercase;
  text-align: center;
  font-family: OpenSans, Sans-serif;
  color: #1d659c;
  font-size: 13px;
  font-weight: 600;
  height: 34px;
  vertical-align: middle;
  padding: 0 10px;
  margin: 1px 0; /* 0 margin left/right needed for correct spacing on Safari */
  max-width: 252px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  background-color: #fff;
  border: 1px solid #1d659c;
  -moz-osx-font-smoothing: grayscale;
  -webkit-transition-duration: 0.2s;
  transition-duration: 0.2s;
   -webkit-font-smoothing: antialiased; /* Safari-only: smooth transform */
}

.btn.primary, input.iBlueButton{
  color: #ffffff;
  background-color: #1d659c;
}

.btn:hover, input.iBlueButton:hover {
  box-shadow: 0 0px 5px #1d659c;
}

.btn:focus, input.iBlueButton:focus{
  outline: none;
  box-shadow: 0 0px 5px #1d659c;
}

.btn:active, input.iBlueButton:active{
  -webkit-transform: scaleX(0.98) scaleY(0.93);
  transform: scaleX(0.98) scaleY(0.93);
  box-shadow: 0 0px 5px #1d659c;
}

.btn:pressed, input.iBlueButton:pressed{
  -webkit-transform: scaleX(0.98) scaleY(0.93);
  transform: scaleX(0.98) scaleY(0.93);
  box-shadow: 0 0px 5px #1d659c;
}

#copyright{
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  padding: 6px 8px 5px;
  height: 31px;
  line-height: 20px;
  text-align: right;
  color: #ddd;
  background-color: #395A81;
  font-size: 11px;
  font-family: OpenSans, sans-serif;
}

#copyright a{
  color: #ddd;
}

#copyright .left{
  float: left;
}

div.appian_logo{
  position: absolute;
  bottom: 36px;
  right: 10px;
}

/* Overrides for ASI components on change password page */

.asiForm div.iButtons{
  text-align: right;
}

.asiForm div.legend{
  float: none;
  width: auto;
  text-align: left;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: bold;
  color: #555;
}

.asiForm .fields {
  padding-left: 0;
}

.asiForm .fields{
  float: none;
  width: auto;
}

.asiForm label span span, .asiForm .errorMessage, .errorMessage {
  color: #de0037;
  font-weight: normal;
  font-size: 14px;
  line-height: 15px;
  margin-top: 10px;
}

.requiredStar{
  display: none;
}

.asiForm .requiredMessage{
  display: none;
}

.asiForm .fields label span, .asiForm .fields label input{
  padding-bottom: 6px;
}

textarea.iText, input.iText, input.iFile{
  border: 1px solid #c7c7c7 !important; /* ASI styles using !important to set blue border color */
}

input.iText:focus{
  border: 1px solid #1d659c;
  outline: none !important;
}

.not_visible {
  display: none;
}

.notification_form .login_box_inner{
  width: 600px;
  max-width: 70%;
}

#notificationText{
  white-space: pre-wrap;
  word-wrap: break-word;
  font-size: 14px;
  max-height: 210px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid #ccc;
}
.notification_form{
}

.logoutForm #samlLogoutMessage{
  color: #555;
}

.logoutForm #samlLogoutMessage .underline{
  font-weight: bold;
}

.logoutForm #returnLink{
  font-weight: normal;
  font-size: 14px;
  border-bottom: 1px dotted #777;
  color: #1d659c;
  line-height: 1.4286;
}

.logoutForm #returnLink:hover{
  border-bottom: 1px solid #1d659c;
}

.checkbox_item:first-child {
  margin-top: 3px;
}

.checkbox_item input {
  margin: 2px 2px 2px 1px;
  vertical-align: -1px;
  padding: 0;
}

.checkbox_item label {
  font-weight: normal;
  color: black;
  word-wrap: break-word;
}

.choice_pair {
  min-height: 18px; /* avoid collapse when no label text */
  word-wrap: break-word; /* needed on parent container for proper wrapping on IE */
}

.choice_pair label {
  font-size: 14px;
  font-weight: normal;
  line-height: 18px;
  color: contrast(#fff,#222,#eee);
}

.choice_pair input[type=checkbox]{
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

.choice_pair input[type=checkbox] + label{
  padding-left: 21px;
  position: relative;
  box-sizing: border-box;
  word-wrap: break-word;
  white-space: normal;
  display: inline-block;
  max-width: 100%;
  left: -1px; /* offset size of hidden input */
  top: -1px;
  box-sizing: border-box;
}

.choice_pair input[type=checkbox]:checked + label:before {
    background-color: #1d659c;
    border-color: #1d659c;
}

.choice_pair input[type=checkbox] + label:before {
    content: "";
    position: absolute;
    height: 16px;
    width: 16px;
    display: inline-block;
    top: 1px;
    left: 1px;
    background-color: #fff;
    border: 1px solid #bbb;
    -webkit-transition: all 150ms ease-in;
    -moz-transition: all 150ms ease-in;
    -ms-transition: all 150ms ease-in;
    transition: all 150ms ease-in;
    box-sizing: border-box;
  }

.choice_pair input[type=checkbox]:checked + label:after {
    width: 12px;
}

.choice_pair input[type=checkbox] + label:after {
    content: "";
    display: inline-block;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTc5MicgaGVpZ2h0PScxNzkyJyB2aWV3Qm94PScwIDAgMTc5MiAxNzkyJyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIGZpbGw9JyNmZmYnPjxwYXRoIGQ9J00xNjcxIDU2NnEwIDQwLTI4IDY4bC03MjQgNzI0LTEzNiAxMzZxLTI4IDI4LTY4IDI4dC02OC0yOGwtMTM2LTEzNi0zNjItMzYycS0yOC0yOC0yOC02OHQyOC02OGwxMzYtMTM2cTI4LTI4IDY4LTI4dDY4IDI4bDI5NCAyOTUgNjU2LTY1N3EyOC0yOCA2OC0yOHQ2OCAyOGwxMzYgMTM2cTI4IDI4IDI4IDY4eicvPjwvc3ZnPg==");
    background-repeat: no-repeat;
    background-size: 12px 12px;
    width: 0px;
    height: 16px;
    overflow: hidden;
    position: absolute;
    left: 3px;
    top: 3px;
}

.selfSelectionPrompt{
  color: #6C6C6C;
  font-weight: bold;
  font-size: 1.25em;
  padding-bottom: 6px;
  word-wrap: break-word
}

.selfSelectionBlock{
  margin-bottom: 15px;
  word-wrap: break-word;
}

.wrap{
  display:block;
}
