html, body {
    background: white;
    min-height: 100%;
    height: 100%;
    min-width: 100%;
    color: black;
    font-family: 'OpenSans', Arial, sans-serif;
}

a {
    color: #2778c7;
    font-weight: 500;
}

a:hover, a:focus {
    color: #1870bf;
    text-decoration: none;
}

p {
    margin-bottom: 1rem;
    line-height: 1.5;
}

legend {
    color: #848484;
    border: 0;
    font-weight: 600;
    font-size: 25px;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  line-height: 1.1;
}

/* Layout code */
.ctx-login-wrapper {
  height: 100%;
  width: 100%;
  margin: 0 auto;
  display: flex;
}
.ctx-login-wrapper.is-whitelabel .ctx-login-whitelabel,
.ctx-login-wrapper.is-whitelabel .ctx-login-center {
  background-color: #f4f4f4;
}
.ctx-login-wrapper.is-whitelabel .ctx-login-form {
  background-color: #fff;
  border: 0.1rem solid #e2e2e2;
  border-radius: 0.5rem;
  padding: 2rem;
  width: 30rem;
}
.ctx-login-center {
  text-align: center;
  background-color: #fff;
  vertical-align: middle;
  text-align: left;
  padding: 2rem;
  min-width: 60rem;
  max-width: 100%;
  display: flex;
  align-items: center;
  place-content: center;
  flex-direction: column;
  height: 100%;
}
.ctx-login-marcom {
  width: 100%;
  background-color: #39276b;
  text-align: center;
  visibility: visible !important;
  display: flex;
  align-items: center;
  place-content: center;
}
.ctx-login-marcom img {
  width: 100%;
  vertical-align: middle;
  max-width: 100%;
}
.ctx-login-form {
  margin: 1rem auto;
  width: 30rem;
  text-align: left;
}
.ctx-login-error {
  padding: 2rem 0 2rem 0;
}
.ctx-login-logo {
  width: 100%;
  text-align: center;
}
.ctx-login-logo img {
  max-width: 35rem;
}
.ctx-wrapper {
  max-width: 5.3rem;
  margin: 0 auto;
  border-radius: 0.4rem;
  background-color: #ffffff;
}
.ctx-login-whitelabel {
  margin: auto;
  width: 22rem;
  height: 12rem;
  text-align: center;
}
.ctx-login-footer {
    padding: 5rem 0;
    text-align: center;
    color: #848484;
}
.ctx-login-prompt,
.ctx-login-action {
  padding: 1rem 0;
}
.ctx-login-prompt label {
  display: block;
}
.ctx-login-prompt input {
  width: 30rem;
}
.ctx-login-action,
.ctx-login-action:hover {
  text-align: center;
}
.ctx-login-action input,
.ctx-login-action:hover input,
.ctx-login-action input:focus,
.ctx-login-action:hover input:focus,
.ctx-login-action input:active,
.ctx-login-action:hover input:active {
  background-color: #78c7c9;
}
.ctx-forgot-password-icon {
  font-size: 2.8rem;
  margin: 0 1rem 0 0;
}
.ctx-forgot-password-icon {
  font-size: 2.8rem;
}
.ctx-forgetpassword-form {
  padding: 1.5rem;
}
.ctx-form-email-label {
  display: inline-block;
  width: 11rem;
  margin: 0 0 0 2rem;
}
.ctx-form-footer {
  margin: 0 0 0 13.3rem;
}
.ctx-form-email {
  width: 1.8rem;
}
input[type=submit].avp-button {
  -webkit-appearance: none;
  -moz-appearance: none;
}
.ctx-platform {
  width: 1.4rem;
  height: 7.5rem;
  display: inline-block;
  border: solid #488ede 0.1rem;
  padding: 0.5rem;
  margin: 0.5rem 0.5rem 0.5rem 0.5rem;
  vertical-align: bottom;
}
.ctx-h1 {
  font-weight: bold;
  text-align: center;
  font-size: 1.8rem;
  margin: 0 0 1rem;
  padding: 0;
  text-transform: uppercase;
  color: #444;
}
.ctx-h2 {
  text-align: center;
  margin: 0 0 1rem;
  padding: 0;
  text-transform: uppercase;
  font-size: 1.6rem;
  font-weight: 300;
  color: #444;
}

.ctx-token-error-page {
  align-items: center;
  display: flex;
  justify-content: center;
  height: 80vh;
}

.ctx-token-error-page .ctx-token-error-page-content {
  max-width: 560px;
  text-align: center;
  display: inline-block;
}

.ctx-token-error-page .ctx-error-message {
  line-height: 2em;
}

.ctx-token-error-page .ctx-error-message h1 {
  font-size: 26px;
  color: #222;
}

.ctx-token-error-page .ctx-margin-top-xlarge {
  margin-top: 40px;
}

.ctx-mobile-app {
  display: block;
  border: 1px solid #432975;
  border-radius: 2px;
  color: #432975;
  width: 300px;
  margin: 30px auto 0;
  padding: 15px;
  box-sizing: border-box;
}

.ctx-mobile-app:hover {
  color: #00987f;
  border-color: #00987f;
}

.ctx-mobile-app i {
  font-size: 41px;
  line-height: 100%;
  margin-right: 12px;
}

/* Internet Explorer compatibility fixes */
.ie .ctx-login-wrapper {
  display: table;
}
.ie .ctx-login-center {
  display: table-cell;
}
.ie .ctx-login-wrapper {
  width: 100%;
}
.ie .ctx-login-marcom {
  display: table-cell;
  vertical-align: middle;
}

/* Bootstrap overrides */
.btn {
    line-height: 1.7;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 2px;
    border-color: #777;
    background: white;
    color: #777;
    font-weight: 600;
}

.btn:hover, .btn:focus {
    color: #666;
    border-color: #666;
    background: white;
    opacity: 1;
}

.btn-primary {
    border-color: #00A78D;
    background: #00A78D;
    color: white;
}

.btn-primary:hover, .btn-primary:focus {
    color: white;
    border-color: #00987f;
    background: #00987f;
    opacity: 1;
}

.control-group::after {
    display: block;
    content: "";
    clear: both;
}

.form-horizontal .control-label {
    display: block;
    color: #848484;
    margin-bottom: 0.75rem;
    font-weight: 400;
    font-size: 1.4rem;
    text-align: left !important;
}

.form-control {
    height: 4rem;
    margin-bottom: 1rem;
    padding: 0.75rem 1.25rem;
    box-shadow: none;
    -webkit-box-shadow: none;
    border-radius: 2px;
}

.form-control:focus {
    border-color: rgba(70, 44, 114, 0.8);
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075), 0 0 8px rgba(70, 44, 114, 0.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075), 0 0 8px rgba(70, 44, 114, 0.6);
}

/* custom elements */

#modify-login {
    font-size: 1.3rem;
    display: inline-block;
    float: right;
    margin-top: -0.5rem;
    margin-bottom: -1.5rem;
}

.u-background-page {
  background-color: #fff;
}

.u-color-light-grey {
  color: #ccc;
}

/* font-awesome override */
.fa-2x {
  font-size: 5em;
}
