.modal * {
  box-sizing: border-box;
}

.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  visibility: hidden;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  background: rgba(0,0,0,0.9);
  opacity: 0;
  cursor: url("data:image/svg+xml,%3Csvg width='19' height='19' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.514.535l-6.42 6.42L2.677.536a1.517 1.517 0 00-2.14 0 1.517 1.517 0 000 2.14l6.42 6.419-6.42 6.419a1.517 1.517 0 000 2.14 1.517 1.517 0 002.14 0l6.419-6.42 6.419 6.42a1.517 1.517 0 002.14 0 1.517 1.517 0 000-2.14l-6.42-6.42 6.42-6.418a1.517 1.517 0 000-2.14 1.516 1.516 0 00-2.14 0z' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E"),auto;
}

.exit-ramp-title {
  text-align: center;
  font-family: "Nunito Sans", sans-serif;
  color: #8B1C53;
  font-size: 25px;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.exit-ramp-body {
  font-size: 18px;
  line-height: 24px;
  color: #5B6670;
  font-family: "Nunito Sans", sans-serif;
  margin-bottom: 2.5rem;
}

.exit-ramp-actions {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
}

.exit-ramp-continue, .exit-ramp-cancel {
  background-color: #8B1C53;
  padding: 10px 30px;
  color: #fff;
  border-radius: 50px;
  font-family: "Nunito Sans", sans-serif;
  font-size: 18px;
  line-height: 24px;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  text-decoration: none;
}

.exit-ramp-continue:hover, .exit-ramp-continue:focus {
  text-decoration: none;
}

.exit-ramp-cancel {
  background-color: #373A36;
}

.exit-ramp-modal {
  cursor: default!important;
}

.exit-ramp-modal .modal-box {
  margin-top: 0;
  width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.exit-ramp-modal .modal__close {
  position: relative;
  right: 0;
  left: 370px;
  margin-top: auto;
  margin-bottom: 0;
  top: 0;
  margin-bottom: -40px;
}

.exit-ramp-modal .modal__close svg {
  color: #404040;
}

@supports ((-webkit-backdrop-filter: blur(12px)) or (backdrop-filter: blur(12px))) {
  .modal {
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(1px);
  }
}

.modal--confirm .modal-box {
  text-align: center;
}

.modal--noOverlayClose {
  cursor: default;
}

.modal--noClose .modal__close {
  display: none;
}

.modal__close {
  position: fixed;
  top: 2.5rem;
  right: 2.5rem;
  z-index: 1000;
  padding: 0;
  width: 1rem;
  /*height: 1rem;*/
  height: auto;
  border: none;
  background-color: transparent;
  color: #fff;
  cursor: pointer;
}

.modal__close svg * {
  fill: currentColor;
}

.modal__closeLabel {
  display: none;
}

.modal__close:hover {
  color: #fff;
}

.modal-box {
  position: relative;
  flex-shrink: 0;
  margin-top: auto;
  margin-bottom: auto;
  width: 60%;
  border-radius: 4px;
  background: #fff;
  opacity: 1;
  cursor: auto;
  will-change: transform, opacity;
}

.modal-box__content {
  padding: 3rem 3rem;
}

.modal-box__footer {
  padding: 1.5rem 2rem;
  width: auto;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  background-color: #f5f5f5;
  cursor: auto;
}

.modal-box__footer::after {
  display: table;
  clear: both;
  content: "";
}

.modal-box__footer--sticky {
  position: fixed;
  bottom: -200px;
  z-index: 10001;
  opacity: 1;
  transition: bottom .3s ease-in-out .3s;
}

.modal-enabled {
  position: fixed;
  right: 0;
  left: 0;
  overflow: hidden;
}

.modal--visible .modal-box__footer {
  bottom: 0;
}

.modal--visible {
  visibility: visible;
  opacity: 1;
  flex-direction: column;
  overflow-y: scroll;
}

.modal--visible .modal-box {
  -webkit-animation: scale 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
  animation: scale 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.modal--overflow {
  overflow-y: scroll;
  padding-top: 8vh;
}

.modal-btn {
  display: inline-block;
  margin: 0 .5rem;
  padding: 1rem 2rem;
  border: none;
  background-color: grey;
  box-shadow: none;
  color: #fff;
  vertical-align: middle;
  text-decoration: none;
  font-size: inherit;
  font-family: inherit;
  line-height: normal;
  cursor: pointer;
  transition: background-color .4s ease;
}

.modal-btn--primary {
  background-color: #3498db;
}

.modal-btn--danger {
  background-color: #e74c3c;
}

.modal-btn--default {
  background-color: #34495e;
}

.modal-btn--pull-left {
  float: left;
}

.modal-btn--pull-right {
  float: right;
}

@media (max-width: 540px) {
  .modal {
    top: 0px;
    display: block;
    padding-top: 60px;
    width: 100%;
  }

  .modal-box {
    width: auto;
    border-radius: 0;
  }

  .modal-box__content {
    overflow-y: scroll;
  }

  .modal--noClose {
    top: 0;
  }

  .modal--noOverlayClose {
    padding-top: 0;
  }

  .modal-box__footer .modal-btn {
    display: block;
    float: none;
    margin-bottom: 1rem;
    width: 100%;
  }

  .modal__close {
    top: 0;
    right: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 60px;
    border: none;
    background-color: #2c3e50;
    box-shadow: none;
    color: #fff;
  }

  .modal__closeLabel {
    display: inline-block;
    vertical-align: middle;
    font-size: 1.6rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  }

  .modal__closeIcon {
    display: inline-block;
    margin-right: .8rem;
    width: 1.6rem;
    vertical-align: middle;
    font-size: 0;
  }
}

@-webkit-keyframes scale {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes scale {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.cmp-text-sm {
  font-size: 16px;
}

.cmp-button-reset {
  overflow: visible;
  width: auto;
  padding: 0;
  border: none;
  margin: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  color: inherit;
  font: inherit;
  -webkit-font-smoothing: inherit;
  -moz-osx-font-smoothing: inherit;
  line-height: normal;
}

.cmp-button-reset::-moz-focus-inner {
  padding: 0;
  border: 0;
}

.cmp-sr-only {
  visibility: hidden;
  width: 0;
  height: 0;
  position: absolute;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.cmp-selfcertification {
  background: dimgray;
  z-index: 32010;
}

.cmp-selfcertification.cmp-selfcertification--inpage {
  background: none;
  padding: 15px 50px 50px 50px;
}

@media only screen and (min-width: 1920px) {
  .modal__close {
    height: 2rem;
  }

  .exit-ramp-modal .modal__close {
    margin-bottom: -50px;
  }
}

@media only screen and (max-width: 540px) {
  .cmp-selfcertification.cmp-selfcertification--inpage {
    padding: 10px 10px;
  }
}

.cmp-selfcertification.cmp-selfcertification--inpage .modal-box {
  width: auto;
  padding: 0;
  border-radius: 0;
}

@media only screen and (max-width: 991px) {
  .cmp-selfcertification.cmp-selfcertification--inpage .cmp-selfcertification__content {
    padding: 0;
  }
}

.cmp-selfcertification.cmp-selfcertification--inpage .form-control {
  width: 30%;
  height: 25px;
}

@media only screen and (max-width: 991px) {
  .cmp-selfcertification.cmp-selfcertification--inpage .form-control {
    width: 90%;
    margin: 0;
  }
}

.cmp-selfcertification.cmp-selfcertification--inpage .cmp-selfcertification__actions {
  display: unset;
}

.cmp-selfcertification.cmp-selfcertification--inpage .cmp-selfcertification__continue {
  width: 220px;
  height: 40px;
}

.cmp-selfcertification .modal-box {
  width: 565px;
  border-radius: 4px;
  padding: 35px;
}

@media only screen and (max-width: 1024px) {
  .cmp-selfcertification .modal-box {
    max-width: 991px;
    width: 90%;
    margin: 20px auto;
  }
}

@media only screen and (max-width: 768px) {
  .cmp-selfcertification .modal-box {
    width: 90%;
  }

  .exit-ramp-modal .modal-box {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .exit-ramp-modal .modal-box {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .exit-ramp-modal .modal__close {
    background: transparent;
    left: 40%;
    margin-bottom: -34px;
    bottom: -20px;
    height: 19px;
  }

  .exit-ramp-modal .modal-box__content {
    padding: 1.5rem;
  }

  .exit-ramp-modal .modal__closeIcon {
    width: 100%;
  }

  .exit-ramp-modal .modal__closeLabel {
    display: none;
  }

  .exit-ramp-modal .modal__closeIcon {
    width: 16px;
  }
}

@media only screen and (max-width: 540px) {
  .cmp-selfcertification .modal-box {
    width: auto;
    margin: auto 10px;
  }
}

.cmp-selfcertification.modal {
  cursor: default !important;
}

.cmp-selfcertification__title {
  font-size: 35px;
  line-height: 42px;
  letter-spacing: 0.4px;
  font-style: italic;
}

.cmp-selfcertification__title h4 {
  margin: 0;
}

.cmp-selfcertification__title h1 {
  font-size: 35px;
  margin: 0;
}

@media only screen and (max-width: 768px) {
  .cmp-selfcertification__title {
    padding: 0 0 15px;
  }

  .cmp-selfcertification__title h4 {
    margin: 0;
  }

  .cmp-selfcertification__title h1 {
    margin: 0;
  }
}

.cmp-selfcertification__content {
  line-height: 30px;
}

@media only screen and (max-width: 768px) {
  .cmp-selfcertification__content {
    padding: 53px 20px 20px 20px;
  }
}

@media only screen and (max-width: 540px) {
  .cmp-selfcertification__content {
    padding: 0;
  }
}

.cmp-selfcertification__actions {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media only screen and (max-width: 768px) {
  .cmp-selfcertification__actions div {
    width: 100%;
  }
}

.cmp-selfcertification__actions.button {
  background-color: transparent;
  border: 0;
  color: #fff;
}

@media only screen and (max-width: 540px) {
  .cmp-selfcertification__actions {
    padding: 0;
  }
}

.cmp-selfcertification__continue {
  border: 1px solid transparent;
  color: #fff;
  background-color: dimgray;
  width: 500px;
  height: 45px;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  cursor: pointer;
}

.cmp-selfcertification__continue[disabled] {
  cursor: not-allowed;
  background-color: #e5ecec;
}

@media only screen and (max-width: 768px) {
  .cmp-selfcertification__continue {
    width: 100%;
    padding: 0 20px;
  }
}

.cmp-selfcertification__continue.self-certify-no {
  background-color: transparent;
  border: 1px solid dimgray;
  color: inherit;
}

.cmp-selfcertification .disabled-link {
  cursor: not-allowed;
}

.cmp-selfcertification .form-control {
  display: block;
  width: 100%;
  height: 40px;
  padding: 6px 12px;
  font-size: 14px;
}

@media only screen and (max-width: 991px) {
  .cmp-selfcertification .form-control {
    width: 100%;
  }
}

.cmp-selfcertification #textField-error,.cmp-selfcertification #textField-error-invalid {
  display: none;
}

.cmp-selfcertification .text-danger {
  color: #a94442;
  margin-top: 0;
}

.cmp-selfcertification .has-error .form-control {
  border-color: #a94442;
}

.cmp-selfcertification .hidden {
  display: none;
}

.fa-spinner {
  margin-left: 5px;
}

@media (max-width: 540px) {
  .cmp-selfcertification__continue {
    min-width: 135px;
    padding: 0;
  }
}
