/* Variables */
* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  display: flex;
  justify-content: center;
  align-content: center;
  height: 100vh;
  width: 100vw;
}

body .wrapper { max-width: 1200px; }

form {
  /*width: 30vw; */
  width: 100%;
  min-width: 500px;
  align-self: center;
  box-shadow: 0px 0px 0px 0.5px rgba(50, 50, 93, 0.1),
    0px 2px 5px 0px rgba(50, 50, 93, 0.1), 0px 1px 1.5px 0px rgba(0, 0, 0, 0.07);
  border-radius: 7px;
  padding: 40px;
}

.form-row label{
	font-weight: bold;
	display: inline-block;
	margin-top: 0.5em; 
	margin-bottom: 0.5em;
}

input, select {
  border-radius: 6px;
  margin-bottom: 6px;
  padding: 12px;
  border: 1px solid rgba(50, 50, 93, 0.1);
  height: 44px;
  font-size: 16px;
  width: 100%;
  background: white;
}
input[type=radio] {
  width: auto;
  height: auto;
}
.form-check {
	line-height: 1em;
	margin-bottom: 20px;
}

h3 {
	padding: 20px 0;
}
.form-check-input {
	margin-left: -1.25em;
}
input.inline, select.inline { 
	max-width: 2%; 
	height: 1em;
	margin-right: 1em;
}

.result-message {
  line-height: 22px;
  font-size: 16px;
}
.result-message a {
  color: rgb(89, 111, 214);
  font-weight: 600;
  text-decoration: none;
}

.hidden {
  display: none;
}

#card-error {
  color: rgb(105, 115, 134);
  text-align: left;
  font-size: 13px;
  line-height: 17px;
  margin-top: 12px;
}

#card-element {
  border-radius: 4px 4px 0 0 ;
  padding: 12px;
  border: 1px solid rgba(50, 50, 93, 0.1);
  height: 44px;
  width: 100%;
  background: white;
}

#payment-request-button {
  margin-bottom: 32px;
}

/* Buttons and links */
button {
  background: #5469d4;
  color: #ffffff;
  font-family: Arial, sans-serif;
  border-radius: 0 0 4px 4px;
  border: 0;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: block;
  transition: all 0.2s ease;
  box-shadow: 0px 4px 5.5px 0px rgba(0, 0, 0, 0.07);
  width: 100%;
}
button:hover {
  filter: contrast(115%);
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}

/* spinner/processing state, errors */
.spinner,
.spinner:before,
.spinner:after {
  border-radius: 50%;
}
.spinner {
  color: #ffffff;
  font-size: 22px;
  text-indent: -99999px;
  margin: 0px auto;
  position: relative;
  width: 20px;
  height: 20px;
  box-shadow: inset 0 0 0 2px;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
.spinner:before,
.spinner:after {
  position: absolute;
  content: "";
}
.spinner:before {
  width: 10.4px;
  height: 20.4px;
  background: #5469d4;
  border-radius: 20.4px 0 0 20.4px;
  top: -0.2px;
  left: -0.2px;
  -webkit-transform-origin: 10.4px 10.2px;
  transform-origin: 10.4px 10.2px;
  -webkit-animation: loading 2s infinite ease 1.5s;
  animation: loading 2s infinite ease 1.5s;
}
.spinner:after {
  width: 10.4px;
  height: 10.2px;
  background: #5469d4;
  border-radius: 0 10.2px 10.2px 0;
  top: -0.1px;
  left: 10.2px;
  -webkit-transform-origin: 0px 10.2px;
  transform-origin: 0px 10.2px;
  -webkit-animation: loading 2s infinite ease;
  animation: loading 2s infinite ease;
}

span.detail { 
	font-size: 12px; 
	font-style: italic;
}
span.detail.break { display: block; clear: both; margin-bottom: 0.5em; }
span.detail.bold { font-weight: bold; }

.payment-amount { display: none; padding-bottom: 20px; }

@-webkit-keyframes loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@media only screen and (max-width: 900px) {
  .steps {
    display: none;
  }

}
@media only screen and (max-width: 600px) {
  form {
    width: 80vw;
  }
}

@media only screen and (max-width: 500px) {
  form {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }
}


/* footnote */
div.footnote { margin: 1% 0; padding: 1% 0; font-style: italic; font-size: 0.85em; }
div.footnote a { color: red; }




.section.step {
	display: none;
}
.section.step.active {
	display: block;
}
.steps-head a {
	width: 100%;
	display: block;
	padding: 10px;
	background: #0d4075;
	box-shadow: 0px -10px 3px -3px rgba(0,0,0,0.3);
	color: white;

}
.steps-head a.active {
	background: white;
	color: black;
	border-right: 1px solid black;
}
.actions {
	display: flex;
}
.actions  {
	display: block;
	padding-bottom: 20px;
}
.actions button {
	display: inline-block;
	width: auto;
	padding: 0 20px;
}
.actions .btn-back, .back-to-payment-type, .back-to-payment-method  {
	float: left;
	font-size: 20pt;

}
.actions .btn-next, .actions .btn-submit, .btn-go-to-confirm  {
	float: right;
	font-size: 20pt;
}
select.form-control {
	font-size: 16pt;
}

#amount-errors {
  color: red;
  padding: 10px 0;
}
.card-errors {
  color: red;
  padding: 10px 0;
}

.payment-amount-form {
	display: none;
}

.form-group.error {
	color: red;
}
.form-group.error input, .form-group.error select, .form-group.error textarea {
	border-color: red;
}

.form-group .error-message {
	display: none;
}

.form-group.error .error-message {
	display: block;
}

.creditcard-wrapper {
	max-width: 500px;
}





.payment-notes {
	font-size: 10pt;
	text-align: left;
	display: block;
	margin: 5px 0;
	padding: 20px;
}
.payment-types-wrapper {
	max-width: 800px;	
	margin: 0px auto 100px;
}
.payment-types-buttons {
	display: flex;
	margin: 0px 0;
	text-align: center;
	width: 100%;
	
}
.payment-types-buttons > div {
	flex: 1;

}
.payment-types-buttons .btn {
	font-size: 20pt;
	box-sizing: border-box;
	margin: 0 20px;
	padding: 10px 20px;
	width: auto !important;
	display: inline-block;
}
.payment-types-wrapper {
	text-align: center;
}

.btn-primary {
	background-color:  #0d4075;
	border-color:  #0d4075;
	border-radius: 6px;
}
.btn-primary:hover .btn-primary:active {
	background-color:  #0d4075;
	border-color:  #0d4075;

}
.form-group input:focus {
  box-shadow: 0 0 0 1px rgba(50,151,211,0.7),0 1px 1px 0 rgba(0,0,0,0.07),0 0 0 4px rgba(50,151,211,0.3);
  border-size: 1px;
}

.form-group-payment-amount label {
	font-weight: bold;
	width: 100%;
	text-align: left;
}


@media only screen and (max-width: 650px) {
  .header {
    height: 250px;
  } 
	.mobile-spacing {
		padding-top: 50px;
	}
	.payment-types-buttons {
		display: block
	}
	.payment-types-buttons > div {
		padding: 20px 0 0;
	}
	.payment-types-buttons .btn {
		width: 100% !important;
		margin: 0;
	}
.form-group-payment-type br {
display: none;
}
.form-group-payment-method br {
  display: none;
}
}



.header .header-inner {
  height: 200px;
}
.header .header-outer {
  height: 200px;
}
.header {
  height: 200px;
}

.termsModal .buttons {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
}
.termsModal .btn {
  font-size: 16pt;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  width: 100%;
}

.termsModal .terms-contents {
  padding: 0 30px 30px !important;
}

.modal-dialog {
  max-width: 100vw;
  width: 600px;
}
@media screen and (max-width: 800px) {
  nav ul {
    display: flex;
  }
  nav ul > * {
    flex: 1;
  }
  nav a {
    font-size: 20pt;
  }
}

.amount-info {
	padding: 20px;
	font-size: 15pt;
}




        .card-wrapper {
            background: white;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            padding: 40px;
            max-width: 400px;
            width: 100%;
        }

        .card-preview {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 15px;
            padding: 30px;
            color: white;
            margin-bottom: 30px;
            min-height: 220px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            position: relative;
            overflow: hidden;
        }

        .card-preview::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200px;
            height: 200px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
        }

        .card-logo {
            font-size: 24px;
            font-weight: bold;
            align-self: flex-end;
        }

        .card-number {
            font-size: 24px;
            letter-spacing: 2px;
            font-family: 'Courier New', monospace;
        }

        .card-details {
            display: flex;
            justify-content: flex-end;
        }

        .card-expiry {
            font-size: 14px;
            font-family: 'Courier New', monospace;
        }

        .field {
            margin-bottom: 20px;
        }

        label {
            display: block;
            margin-bottom: 8px;
            color: #555;
            font-weight: 500;
            font-size: 14px;
        }

        .input-field {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 16px;
            transition: border-color 0.3s;
            font-family: 'Courier New', monospace;
        }

        .input-field:focus {
            outline: none;
            border-color: #667eea;
        }

        .fields-row {
            display: flex;
            gap: 15px;
        }

        .fields-row .field {
            flex: 1;
        }

.terms-contents a {
  color: #007bff;
}

.cards-icons {
	background-image: url(/pmnt-type.png);
	background-repeat: no-repeat;
	background-size: auto 100%;
	height: 27px;
}
.cards-icons.visa {
	width: 36px;
	background-position: -1px 0px;
}
.cards-icons.mastercard {
	width: 36px;
	background-position: -36px 0px;
}

.cards-icons.amex {
	width: 36px;
	background-position: -69px 0px;
}
.cards-icons.discover {
	width: 36px;
	background-position: -103px 0px;
}




.credit-card-error {
	padding: 10px;
}
