/* fix for rup-styles */

.rup-btn {
  letter-spacing: 0.005em;
}

/* end fix for rup-styles */
html,
body {
  height: 100%;
}

body {
  font-family: system-ui, BlinkMacSystemFont, -apple-system, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans,
    Droid Sans, Helvetica Neue, sans-serif;
  line-height: 1.5rem;
  background: #F4F8FB;
  padding: 2rem;
  height: calc(100% - 4rem);
}

img {
  max-width: 100%;
}

h3,
p,
h4 {
  margin: 0;
}

.hidden {
  display: none !important;
}

.container {
  box-sizing: border-box;
  display: grid;
  align-content: center;
  display: -ms-flexbox;
  min-height: 100%;
  margin: auto;
}

.container > * {
  margin-left: auto;
  margin-right: auto;
}

.button-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
}

.oauth-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
}

.oauth-row > .rup-icon-btn {
  margin: 1rem 0.75rem 0;
}

.btn-wide.btn-wide {
  min-width: 164px;
}
a {
  color: #3b76ba;
  font: inherit;
  text-decoration: none;
}

.panel {
  width: 100%;
  background: white;
  border-radius: 0.5rem;
  padding: 24px;
  box-sizing: border-box;
}

.rup-notification + .panel {
  margin-top: 2rem;
}

.panel__controls .rup-btn--block {
  display: block;
  width: 100%;
}

button.rup-btn--idp {
    background-color: transparent;
    color: #4c5961;
    border-bottom-color: #CFDBE3;
    font-size: 1rem;
    border-radius: 0;
    text-align: left;
    height: 3rem;
}

button.previous-idp {
    background-color: #7abaeb;
}

button.rup-btn--idp img {
    width: 16px;
    height: 16px;
    float: right;
    position: relative;
    top: 10px;
    margin-right: 0rem;
}

.idp-buttons-block {
    margin-top: 2rem;
}

.rup-heading-3 .rup-icon {
  vertical-align: sub;
  margin-right: 14px;
}

.p {
  padding: 1rem;
}
.p--sm {
  padding: 0.75rem;
}
.p--md {
  padding: 1.5rem;
}
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.m--sm {
  margin: 0.75rem;
}

.m-b {
  margin-bottom: 1rem;
}
.m-b--xs {
  margin-bottom: 0.5rem;
}
.m-b--sm {
  margin-bottom: 0.75rem;
}
.m-b--md {
  margin-bottom: 1.5rem;
}
.m-b--lg {
  max-width: 344px;
  margin: 0 auto 2rem;
}

.m-t {
  margin-top: 1rem;
}
.m-t--xs {
  margin-top: 0.5rem;
}
.m-t--sm {
  margin-top: 0.75rem;
}
.m-t--md {
  margin-top: 1.5rem;
}
.m-t--lg {
  margin-top: 2rem;
}

.full-width {
  width: 100%;
}

.panel p {
  color: #4c5961;
}
.text-success {
  color: #37843B;
}
.text-danger.text-danger {
  color: #BB2525;
}

@media only screen and (min-width: 768px) {
  .container {
    min-width: 608px;
  }
  .panel {
    width: 424px;
    padding: 40px;
  }
}

/* ie hack */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  /* IE10+ CSS styles go here */

  .container {
    display: -ms-flexbox;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .rup-notification {
    max-width: calc(100% - 2rem);
  }

  .rup-notification .rup-icon {
    display: inline;
  }
}
