.loader {
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 2s linear infinite;
  overflow: hidden;
}

.loader-container {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#mastercard-container {
  max-height: 500px;
  overflow: hidden;
  display: none;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

#mastercard-container.active-scroll {
  overflow-y: scroll;
}

#iframeTemplate {
  border: none !important;
  overflow: hidden !important;
}

.payment-panel #btn-select-card {
  background-color: #71767b;
  border-radius: 4px;
  height: 38px;
  color: white;
  padding: 0 15px;
  border: 1px solid #ced4da;
  margin: 0 5px;
  cursor: pointer;
}

.panel.payment-panel.panel-clicktopay .total-hr {
  display: none !important;
}

#disclaimers {
  display: flex;
  align-items: flex-start;
  margin-top: 50px;
  font-family: "Helvetica Neue", "Helvetica", Arial, sans-serif;
  color: #676767;
  font-size: 12px;
  self: 1;
}

#disclaimer-container {
  display: inline-block;
}

#clicktopay_logo {
  width: 100%;
  max-width: 120px;
}

#disclaimer {
  margin: 0;
  text-align: left;
  margin-left: 10px;
}

#more-info {
  display: inline;
  margin-left: 5px;
  cursor: pointer;
  color: #007bff;
}

#more-info:hover {
  text-decoration: underline;
}

.mc-pmz-popover {
  position: absolute;
  top: 0;
  left: 0%;
  max-width: 100%;
  padding: 0;
  border-radius: 0.5em;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
}

.mc-pmz-popover {
  background: white;
  transform: scale(.8);
}

.payment-panel {
  position: relative;
}

@media (max-width: 540px) {
  .panel-clicktopay.loaded #mastercard-container {
    height: calc(80vh);
    position: relative;
    left: -21px;
    width: calc(100% + 42px);
    border: none;
  }
}
