.block-hero {
	justify-content: inherit;
	padding-right: 2%;
	min-height: 480px;
}

h1.pay-header {
	align-items: center;
	display: flex;
	margin-left: 2%;
	padding-bottom: 8px;
	font-size: 40px;
	font-weight: bold;
	line-height: 2.5rem;
}

.notie-background-info {
    background-color: #cc6633;
}

.notie-background-error {
	background-color: #88287B
}

.notie-textbox {
	padding: 40px 20px;
	font-weight: bold;
	font-style: italic;
}

.notie-textbox a {
	text-decoration: underline;
	color: #ffffff;
}

.notie-textbox a:hover {
	text-decoration: none;
	color: #cccccc;
}

#pay-box {
	z-index: 1;
	width: 400px;
	min-height: 250px;
    margin: 0px 1rem;
	padding: 20px;
	background-color: rgba(255, 255, 255, 0.9);
    line-height: 1.35rem;
	color: #666666;
	font-size: 20px;
	font-weight: bold;
	text-align: center;
}

#pay-box form {
	width: 100%;
	margin: 0px;
	padding: 0px;
}

#pay-box input::placeholder {
	color: transparent;
}

#pay-box .invoice-wrapper, .donate-input-wrapper {
	background-color: #cccccc;
	margin: 20px 0px 10px 0px;
	padding: 8px;
	color: #555555;
}

#pay-box .invoice-wrapper label {
	color: #333333;
	margin: 0px;
}

#pay-box .invoice-wrapper input {
	font-weight: bold;
	color: #000000;
	padding: 5px 10px;
	border: 1px solid #000000;
	border-radius: 5px;
	height: auto;
	font-size: 23px;
	width: 100px !important;
	margin: 3px;
}

#pay-box .invoice-wrapper .invoice-item {
	margin-top: 15px;
}

#invoiceNumberDesktopLabel {
	display: inline;
}

#invoiceNumberMobileLabel {
	display: none;
}

#pay-box .donate-input-wrapper {
	padding: 10px;
	font-size: 30px;
}

#pay-box .donate-input-wrapper label {
	color: #999999;
	font-weight: bold;
}

#pay-box .donate-input-wrapper input {
	width: 65%;
	background-color: transparent;
	border: none;
	font-size: 35px;
	font-weight: bold;
	color: #666666;
	margin: 0px 5px;
	padding: 0px;
}

#pay-box .donate-input-wrapper input::placeholder {
	color: #999999;
	text-align: left;
}

#pay-box .donate-input-wrapper input:focus {
	outline: 0;
}

#pay-box button {
	-webkit-transition: color 0.3s linear, background-color 0.3s linear;
    -moz-transition: color 0.3s linear, background-color 0.3s linear;
    transition: color 0.3s linear, background-color 0.3s linear;
	background-color: #88287B;
	border: none;
	color: #ffffff;
	font-size: 25px;
	font-weight: normal;
	width: 100%;
	margin-top: 10px;
	padding: 20px;
}

#pay-box button:hover {
	background-color: #55184D;
}

.payment-success, .payment-warn, .payment-error {
	width: auto !important;
	min-height: auto !important;
	text-align: left !important;
	font-size: 25px !important;
	font-weight: normal !important;
}

.payment-success {
	color: #226e8a !important;
	line-height: 1 !important;
}

.payment-warn {
	color: #cc6600 !important;
	line-height: 1 !important;
}

.payment-error {
	color: #ff0000 !important;
	line-height: 1 !important;
}

.payment-error a {
	color: #cc0000 !important;
	text-decoration: underline !important;
}

.payment-error a:hover {
	color: #990000 !important;
	text-decoration: none !important;
}

@media (max-width: 585px) {
	h1.pay-header {
		margin-right: 2%;
		text-align: center;
	}
}

@media (max-width: 445px) {
	#invoiceNumberDesktopLabel {
		display: none;
	}

	#invoiceNumberMobileLabel {
		display: inline;
	}
}

@media (max-width: 405px) {
	#pay-box {
		margin: 0px 0.95rem;
	}
}

@media (max-width: 400px) {
	h1.pay-header {
		font-size: 32px;
		line-height: 2rem;
	}
	
	.block-page-title-block {
		background-image: url(https://www.freegeek.org/sites/default/files/styles/header_s/public/2017/11/AHP_FG_CC_S4-003.JPG?h=722a498e&itok=8qhwfplK);
	}
	
	.block-hero {
		padding: 0px 0px 550px 0px;
		background-size: auto;
		background-position: right bottom;
		align-items: baseline;
	}
	
	.block-hero h1 {
		padding: 0px
	}
	
	#pay-box {
		width: 100%;
		min-height: 310px;
		padding-top: 5px;
		margin: 0px;
		background-color: #ffffff;
	}
	
	.payment-success, .payment-warn, .payment-error {
		min-height: 310px !important;
	}
}