html, body {
  height: 100%;
}

body.iframe {
  background: none !important;
  filter: none !important;
}

body.auth {
  background: #122249; /* Old browsers */
  background: -moz-linear-gradient(top, #122249 0%, #13244e 24%, #192f62 82%, #193065 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #122249), color-stop(24%, #13244e), color-stop(82%, #192f62), color-stop(100%, #193065)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #122249 0%, #13244e 24%, #192f62 82%, #193065 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #122249 0%, #13244e 24%, #192f62 82%, #193065 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #122249 0%, #13244e 24%, #192f62 82%, #193065 100%); /* IE10+ */
  background: linear-gradient(top, #122249 0%, #13244e 24%, #192f62 82%, #193065 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#122249', endColorstr='#193065', GradientType=0); /* IE6-9 */
}

h4 {
  text-align: center;
}

p {
  margin: 20px 30px;
}

.vertical-center-outer {
  height: 100%;
  display: table;
}

.vertical-center-inner {
  display: table-cell;
  vertical-align: middle;
  overflow: visible;
  *position: absolute; /* IE7 and below don't do CSS tables */
  *top: 50%;
}

.auth-container {
  width: 375px;
  margin-left: auto;
  margin-right: auto;
}

.auth-panel {
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  -moz-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.65);
  -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.65);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.65);
  background: #f2f2f2;
  padding: 10px 28px;
}

.auth-logo-panel {
  display: block;
  padding: 0 0 20px 0;
  background: url(../../../images/login_lbg.gif) no-repeat center bottom;
  margin: 20px auto 30px;
}

.auth-logo {
    display: block;
    max-width: 375px;
    margin: 0 auto;
}

ul.auth-links {
  padding: 0;
}

.auth-links li {
  float: left;
  padding: 10px 8px 0 8px;
  list-style: none;
  line-height: 18px;
}

.auth-links a {
  color: #ffffff;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
  text-shadow: -1px 0 rgba(51, 51, 51, 0.35), 0 1px rgba(51, 51, 51, 0.35), 1px 0 rgba(51, 51, 51, 0.35), 0 -1px rgba(51, 51, 51, 0.35);
  transition: color ease-in-out .15s, text-shadow ease-in-out .15s;
}

.flash-messages{
  padding:0 !important;
}

.message {
  display: table;
  width: 100%;
  margin: 15px 0;
  border-radius: 15px;
  color: #333;
  padding: 4px 15px;
}

.message .fa {
  display: table-cell;
  vertical-align: middle;
  padding-right: 10px;
}

.message .message-text {
  display: table-cell;
  vertical-align: middle;
  width: 100%;
}

.message .message-text {
  display: table-cell;
  vertical-align: middle;
  width: 100%;
}

.message.all-good {
  background-color: #daf697;
}

.message.all-good .fa {
  color: #6cb820;
}

.message.warning {
  background-color: #fff2b8;
}

.message.warning .fa {
  color: #f3bd00;
}

.message.information {
  background-color: #d2e3ff;
}

.message.information .fa {
  color: #2953b4;
}

img.qr-code {
  min-width: 200px;
  min-height: 200px;
  display: block;
  margin: 10px auto;
}

.pull-up {
  position: relative;
  top: -44px;
  margin-left: -15px;
  margin-right: -15px;
}

.pull-up a {
  margin-bottom: -24px;
}

.strength-fail, .strength-0 {
  background-color: #ffaaaa;
}

.strength-1 {
  background-color: #ffccaa;
}

.strength-2 {
  background-color: #ffffaa;
}

.strength-3 {
  background-color: #ccffaa;
}

.strength-pass, .strength-4 {
  background-color: #aaffaa;
}

.password-description {
  position: absolute;
  display: inline-block;
  background-color: #d9edf7;
  color: #31708f;
  border: 1px solid #31708f;
  border-radius: 4px;
  padding: 8px;
  width: 200px;
  /*margin-top: -1em;*/
  /*left: 100px;*/
}

.help-icon {
  cursor: pointer;

  display: inline-block;
  width: 16px;
  height: 16px;

  margin: 0;
  padding: 0;
  float: none;

  vertical-align: top;

  background: url(../../../images/icons/editor-stickers.png) no-repeat 0 0;
}

ul.errors {
  margin-left: 15px;
  list-style: none;
  padding-left: 0;
}

#confirmationcodeRow {
  margin-left: 29px;
  margin-right: 30px;
  margin-bottom: 10px;
}

#back_url-label, #back_url-element {
  display: none;
}

/* for screen tablet size or smaller, */
@media only screen and (max-width : 768px) {

    /* place the cancel button normally underneath authenticate button */
    .pull-up {
        top: 0px;
    }

    /* lower the auth text message after the the cancel button is being lowered */
    .pull-up + p {
        padding-top: 15px;
    }

    #confirmationcodeRow {
      margin-left: auto;
      margin-right: auto;
    }
}