
.xxStripeElement {
	background-color: white;
	height: 40px;
	padding: 10px 12px;
	border-radius: 4px;
	border: 1px solid transparent;
	box-shadow: 0 1px 3px 0 #e6ebf1;
	-webkit-transition: box-shadow 150ms ease;
	transition: box-shadow 150ms ease;
}

.xxStripeElement--focus {
	box-shadow: 0 1px 3px 0 #cfd7df;
}

.xxStripeElement--invalid {
	border-color: #fa755a;
}

.xxStripeElement--webkit-autofill {
	background-color: #fefde5 !important;
}

.paymentmgr {
	position: relative;

	max-width: 1040px;
	height: 350px;
	
	margin-top: 30px;
	margin-left: 0px;
	margin-bottom: 0px;
	margin-right: 0px;

	padding-top: 0px;
	padding-left: 0px;
	padding-bottom: 0px;
	padding-right: 0px;

	transition:all 600ms ease;
}

.processing {
	opacity: 0.2;
	transform: scale(0.3);
}

.paymentmgr .page {
    height: 100%;

	padding-top: 30px;
	padding-bottom: 40px;
	padding-left: 30px;
	padding-right: 30px;

	align-items: center;
	border-radius: 10px;
}

.paymentmgr .paymentinfo {
	background-color: #fff;
	box-shadow: 0 0 1em blue;
}

.paymentmgr .progress {
    background-color: rgba(0, 0, 255, 0.1);
	box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.paymentmgr .modifyplan {
    background-color: rgba(0, 0, 255, 0.1);
	box-shadow: 0 0 1em blue;
}

.paymentmgr .paymentinfo .error {
  xx-display: -ms-flexbox;
  xx-display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  position: absolute;
  width: 100%;
  top: 0px;
  margin-top: 12px;
  padding: 0 15px;
  font-size: 13px !important;
  opacity: 0;
  transform: translateY(10px);
  transition-property: opacity, transform;
  transition-duration: 0.35s;
  transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}

.paymentmgr .paymentinfo .error.visible {
  opacity: 1;
  transform: none;
}

.paymentmgr .paymentinfo .error .message {
  font-size: inherit;
}


.paymentinfo * {
  font-family: Source Code Pro, Consolas, Menlo, monospace;
  font-size: 16px;
  font-weight: 500;
}

.paymentinfo .row {
  display: -ms-flexbox;
  display: flex;
  margin: 0 5px 10px;
}

.paymentinfo .field {
  position: relative;
  width: 100%;
  height: 50px;
  margin: 0 10px;
}

.paymentinfo .field.half-width {
  width: 50%;
}

.paymentinfo .field.quarter-width {
  width: calc(25% - 10px);
}

.paymentinfo .baseline {
  position: absolute;
  width: 100%;
  height: 1px;
  left: 0;
  bottom: 0;
  background-color: #cfd7df;
  transition: background-color 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.paymentinfo label {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 8px;
  color: #cfd7df;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform-origin: 0 50%;
  cursor: text;
  transition-property: color, transform;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
}

.paymentinfo .input {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  padding-bottom: 7px;
  color: #32325d;
  background-color: transparent;
}

.paymentinfo .input::-webkit-input-placeholder {
  color: transparent;
  transition: color 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.paymentinfo .input::-moz-placeholder {
  color: transparent;
  transition: color 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.paymentinfo .input:-ms-input-placeholder {
  color: transparent;
  transition: color 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.paymentinfo .input.StripeElement {
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  will-change: opacity;
}

.paymentinfo .input.focused,
.paymentinfo .input:not(.empty) {
  opacity: 1;
}

.paymentinfo .input.focused::-webkit-input-placeholder,
.paymentinfo .input:not(.empty)::-webkit-input-placeholder {
  color: #cfd7df;
}

.paymentinfo .input.focused::-moz-placeholder,
.paymentinfo .input:not(.empty)::-moz-placeholder {
  color: #cfd7df;
}

.paymentinfo .input.focused:-ms-input-placeholder,
.paymentinfo .input:not(.empty):-ms-input-placeholder {
  color: #cfd7df;
}

.paymentinfo .input.focused + label,
.paymentinfo .input:not(.empty) + label {
  color: #aab7c4;
  transform: scale(0.85) translateY(-25px);
  cursor: default;
}

.paymentinfo .input.focused + label {
  color: #8080ff;
}

.paymentinfo .input.invalid + label {
  color: #ffa27b;
}

.paymentinfo .input.focused + label + .baseline {
  background-color: #8080ff;
}

.paymentinfo .input.focused.invalid + label + .baseline {
  background-color: #e25950;
}

.paymentinfo input, .paymentinfo button {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	outline: none;
	border-style: none;
}

.paymentinfo input:-webkit-autofill {
  -webkit-text-fill-color: #e39f48;
  transition: background-color 100000000s;
  -webkit-animation: 1ms void-animation-out;
}

.paymentinfo .StripeElement--webkit-autofill {
	background: transparent !important;
}

.paymentinfo input, .paymentinfo button {
	-webkit-animation: 1ms void-animation-out;
}

.paymentinfo button {
	display: block;
	width: calc(100% - 30px);
	height: 40px;
	margin: 20px 15px 0px 15px;
	background-color: #8080ff;
	border-radius: 4px;
	color: #fff;
	text-transform: uppercase;
	font-weight: 600;
	cursor: pointer;
}

.paymentinfo button:hover {
	background-color: #4040cc;
}


.paymentinfo input:active {
	background-color: #8080ff;
}


.paymentinfo .error .message {
	color: #e25950;
}

.subscription-info-box {
	margin: 20px 0px 0px 17px;
}

.subscription-info {
	color: #8080ff;
	font-size: 16px;
}

.dimmed {
	opacity: 0.2;
}


.payment-message {
    display: block;
    margin: 30px;
    padding: 30px;
    font-size: 20px;
}

.progress-animation {
	width: 120px;
	height: 120px;
	margin: auto;
	border: 16px solid rgba(0, 0,255, 0.2);
    border-top: 16px solid rgba(0, 0,255, 0.5);
    border-radius: 50%;
	-webkit-animation: KF_AuthSpin 2s linear infinite; /* Safari */
	animation: KF_AuthSpin 2s linear infinite;
}


.paymentmgr-buttonrow {
	width: 100%;
	height: 40px;
    position: absolute;
    left: 0px;
    bottom: 0px;
}

.paymentmgr-button {
	width: calc(100% - 100px);
	height: 40px;
	margin: 0px 50px;
	background-color: #8080ff;
	border-radius: 4px;
	color: #fff;
	font-weight: 600;
	cursor: pointer;
    font-size: 16px;
	transition: all 250ms ease;
}

.half-width-button {
	width: calc(40% - 50px);
} 

.paymentmgr-button:hover {
	background-color: #4040cc;
}

.hide-element {
	display: none;
}


