@font-face {
  font-family: "Calibre";
  src: url(../fonts/calibre/thin/calibre_thin.woff) format("woff"), url(../fonts/calibre/thin/calibre_thin.woff2) format("woff2"), url(../fonts/calibre/thin/calibre_thin.eot) format("eot");
  font-style: normal;
  font-weight: 200;
}

@font-face {
  font-family: "Calibre";
  src: url(../fonts/calibre/thin_italic/calibre_thin_italic.woff) format("woff"), url(../fonts/calibre/thin_italic/calibre_thin_italic.woff2) format("woff2"), url(../fonts/calibre/thin_italic/calibre_thin_italic.eot) format("eot");
  font-style: italic;
  font-weight: 200;
}

@font-face {
  font-family: "Calibre";
  src: url(../fonts/calibre/light/calibre_light.woff) format("woff"), url(../fonts/calibre/light/calibre_light.woff2) format("woff2"), url(../fonts/calibre/light/calibre_light.eot) format("eot");
  font-style: normal;
  font-weight: 300;
}

@font-face {
  font-family: "Calibre";
  src: url(../fonts/calibre/light_italic/calibre_light_italic.woff) format("woff"), url(../fonts/calibre/light_italic/calibre_light_italic.woff2) format("woff2"), url(../fonts/calibre/light_italic/calibre_light_italic.eot) format("eot");
  font-style: italic;
  font-weight: 300;
}

@font-face {
  font-family: "Calibre";
  src: url(../fonts/calibre/regular/calibre_regular.woff) format("woff"), url(../fonts/calibre/regular/calibre_regular.woff2) format("woff2"), url(../fonts/calibre/regular/calibre_regular.eot) format("eot");
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Calibre";
  src: url(../fonts/calibre/regular_italic/calibre_regular_italic.woff) format("woff"), url(../fonts/calibre/regular_italic/calibre_regular_italic.woff2) format("woff2"), url(../fonts/calibre/regular_italic/calibre_regular_italic.eot) format("eot");
  font-style: italic;
  font-weight: 400;
}

@font-face {
  font-family: "Calibre";
  src: url(../fonts/calibre/medium/calibre_medium.woff) format("woff"), url(../fonts/calibre/medium/calibre_medium.woff2) format("woff2"), url(../fonts/calibre/medium/calibre_medium.eot) format("eot");
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Calibre";
  src: url(../fonts/calibre/medium_italic/calibre_medium_italic.woff) format("woff"), url(../fonts/calibre/medium_italic/calibre_medium_italic.woff2) format("woff2"), url(../fonts/calibre/medium_italic/calibre_medium_italic.eot) format("eot");
  font-style: italic;
  font-weight: 500;
}

@font-face {
  font-family: "Calibre";
  src: url(../fonts/calibre/semibold/calibre_semibold.woff) format("woff"), url(../fonts/calibre/semibold/calibre_semibold.woff2) format("woff2"), url(../fonts/calibre/semibold/calibre_semibold.eot) format("eot");
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Calibre";
  src: url(../fonts/calibre/semibold_italic/calibre_semibold_italic.woff) format("woff"), url(../fonts/calibre/semibold_italic/calibre_semibold_italic.woff2) format("woff2"), url(../fonts/calibre/semibold_italic/calibre_semibold_italic.eot) format("eot");
  font-style: italic;
  font-weight: 600;
}

@font-face {
  font-family: "Calibre";
  src: url(../fonts/calibre/bold/calibre_bold.woff) format("woff"), url(../fonts/calibre/bold/calibre_bold.woff2) format("woff2"), url(../fonts/calibre/bold/calibre_bold.eot) format("eot");
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Calibre";
  src: url(../fonts/calibre/bold_italic/calibre_bold_italic.woff) format("woff"), url(../fonts/calibre/bold_italic/calibre_bold_italic.woff2) format("woff2"), url(../fonts/calibre/bold_italic/calibre_bold_italic.eot) format("eot");
  font-style: italic;
  font-weight: 700;
}

@font-face {
  font-family: "Calibre";
  src: url(../fonts/calibre/black/calibre_black.woff) format("woff"), url(../fonts/calibre/black/calibre_black.woff2) format("woff2"), url(../fonts/calibre/black/calibre_black.eot) format("eot");
  font-style: normal;
  font-weight: 900;
}

@font-face {
  font-family: "Calibre";
  src: url(../fonts/calibre/black_italic/calibre_black_italic.woff) format("woff"), url(../fonts/calibre/black_italic/calibre_black_italic.woff2) format("woff2"), url(../fonts/calibre/black_italic/calibre_black_italic.eot) format("eot");
  font-style: italic;
  font-weight: 900;
}
body {
  margin: 0;
  padding: 0;
  font-family: "Calibre", Helvetica, Arial, sans-serif;
  font-size: 16px;
}

input, textarea {
  font-family: "Calibre", Helvetica, Arial, sans-serif;
}

.page {
  height: 100vh;
}

fieldset {
  padding: 0;
  margin: 0;
  border: 0;
  outline: none;
  height: inherit;
}

textarea {
  resize: none;
}


.header {
  font-size: 24px;
  line-height: 30px;
  font-weight: 400;
}

.text-grey {
  font-size: 19px;
  color: #747386;
}

.label {
  color: #413f57;
  display: inline-block;
}

.success-icon {
  height: 100px;
  width: 100px;
  margin: 0 auto;
  position: relative;
  right: -25px;
  background: url(../../assets/images/success.svg) 0 0 no-repeat;
}

.card {
  padding: 20px;
  height: 100%;
}

.success-wrapper {
  margin: 0 auto;
  text-align: center;
}

.card-row {
  margin-bottom: 24px;
}

.spacer-row {
  margin-bottom: 24px;
}

.view-card-details-row {
  font-size: 18px;
  min-height: 18px;
  letter-spacing: .06rem;
}

.btn {
  box-sizing: border-box;
  background: #4840BB;
  display: block;
  width: 100%;
  font-size: 18px;
  line-height: 36px;
  color: #fff;
  padding: 12px 16px;
  font-weight: 500;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  border-radius: 10px;
  border: 0px;
}

.btn:hover,
.btn:active,
.btn:focus {
  background: #342d8d;
  outline: none;
}

.btn[disabled] {
	display: block;
	width: 100%;
  cursor: not-allowed;
  background-color: #e7e7ea;
  border-color: #e7e7ea;
  color: #747386;
  user-select: none;
  pointer-events: none;
}

.form-control {
	display: block;
	width: 100%;
	box-sizing: border-box;
  justify-content: space-between;
  padding: 9px 12px;
  border: 1px solid #b7b7c0;
  background-color: #fcfcfc;
  font-size: 18px;
  line-height: 2.00;
  min-height: 40px;
  color: #161338;
  border-radius: 10px;
  margin: 10px 0;
}

.col-70 {
  width: 70%;
}

.col-50 {
  width: 50%;
}

.col-30 {
  width: 30%;
}

.hidden { 
  display: none; 
}
.relative-position { position: relative }

@keyframes rotate {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

.spinner-component {
  display: block;
  margin: 12px auto;
  height: 72px;
  width: 72px;
  border-radius: 50%;
  border: 2px #b7b7c0 solid;
  border-top-color: #4840bb;
  -webkit-animation: rotate 1s infinite linear;
  animation: rotate 1s infinite linear;
}

.mask-overlay {
  position: absolute;
  margin-top: 10px;
  padding-top: 15%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
}

.api-error,
.error {
  color: #F24D4D;
  margin-bottom: 12px;
}

.input-error {
  border: 1px solid #F24D4D;
  outline: none;
}

.input-error-message {
  color: #F24D4D;
  margin-top: 12px;
}

.label-view-card-details {
  color: #6D6D79;
  display: inline-block;
  font-weight: 300;
}

@media only screen and (max-width: 600px) {
  input:focus,
  textarea:focus {
    outline: none;
    border-color: #1e83ef
  }

  .header {
    font-size: 30px;
    line-height: 34px;
    font-weight: 500;
    margin-bottom: 5px;
  }

  .label {
    color: #413f57;
    display: inline-block;
    font-weight: 500;
  }

  .success-wrapper {
    margin: 0;
    text-align: left;
  }

  .success-icon {
    height: 100px;
    width: 100px;
    margin: 0px;
    position: relative;
    top: 25px;
    right: 0px;
    background: url(../../assets/images/success.svg) 0 0 no-repeat;
  }

  .col-70, .col-50, .col-30   {
    width: 100%;
  }

  .card {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
  }

  .header-wrapper {
    height: auto;
    margin-bottom: 10px;
  }

  .content-wrapper {
    flex-grow: 1
  }

  .form-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .input-wrapper {
    flex-grow: 1;
  }

  .card-details-form {
    height: 100%;
  }
}
