div.header-top a.paymentButton
	{
	display:block;
	border: 1px solid #fff;
	padding: 5px 10px;
	background: transparent;
	transition: background-color 0.5s ease;
	}
	
div.header-top a.paymentButton:hover
	{
	border: 1px solid #fff;
	color: #122ff1;
	background-color: #fff!important;
	}
	
header.template-header .header-top
	{
	z-index: 1000;
	}

header.template-header.multiple-phones .header-top li.website-phone-dropdown ul li {
    border-bottom: 1px dotted #fff;
        margin: 4px  0;
}

header.template-header.multiple-phones .header-top li.website-phone-dropdown ul {
    width: 300px;
    margin: -5px 0 0 -100px;
}

.warning-message {
    background: #2240ee;
    border-bottom: 1px solid #f4f4f4;
    color: #fff;
}
.warning-message p {
    color: #fff;
    text-align: center;
    font-weight: bold;
}

.warning-message a,
.warning-message a:active,
.warning-message a:hover,
.warning-message a:visited {
    color: #fff;
}

#review-button > div {
    max-width: 170px;
    margin: 0 auto;
}

.custom-code .text-center h5 {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #8a9094;
}

.custom-code .text-center h5:before,
.custom-code .text-center h5:after {
    content: '';
    border-top: 2px solid #8a9094;
    margin: 0 20px 0 0;
    flex: 1 0 20px;
}

.custom-code .text-center h5:after {
    margin: 0 0 0 20px;
}

/* Mobile popup button hidden by default */
.ipos-payment-popup-wrap {
  display: none;
  margin: 24px 0;
  text-align: center;
}

/* Desktop/tablet inline iframe */
.ipos-payment-embed {
  display: block;
  width: 100%;
  max-width: 1000px;
  margin: 30px auto;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
}

.ipos-payment-embed__frame {
  display: block;
  width: 100%;
  height: 900px;
  border: 0;
  background: #fff;
}

/* Magnific popup styling */
.ipos-mfp-payment .mfp-content {
  width: min(1000px, calc(100vw - 32px));
  max-width: 1000px;
}

.ipos-mfp-payment .ipos-iframe-scaler {
  position: relative;
  width: 100%;
  height: min(850px, calc(100vh - 64px));
  padding-top: 0;
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.ipos-mfp-payment .mfp-iframe,
.ipos-mfp-payment .ipos-payment-iframe {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.ipos-mfp-payment .mfp-close {
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  opacity: 1;
  font-size: 28px;
  text-align: center;
}

/* Switch at 768px:
   768px and wider = inline iframe
   767px and smaller = popup button
*/
@media (max-width: 767px) {
  .ipos-payment-popup-wrap {
    display: block;
  }

  .ipos-payment-embed {
    display: none;
  }

  .ipos-mfp-payment .mfp-container {
    padding: 0;
  }

  .ipos-mfp-payment .mfp-content {
    width: 100vw;
    max-width: none;
    height: 100dvh;
  }

  .ipos-mfp-payment .ipos-iframe-scaler {
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
    box-shadow: none;
  }

  .ipos-mfp-payment .mfp-close {
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.78);
  }
}