.block-donations {
	background-color: #c9c38a;
}

.DonationBlock {
	display: none;
}

.DonationBox {
	border: 5px solid #c9c38a;
	background-color: #98032E;
	display: inline;
	float: left;
	font-size: 14px;
	padding: 10px;
	max-width: fit-content;
	width: calc(100% - 18em);
}

.DonationText {
	color: white;
	max-width: 750px;
	margin-left: auto;
	margin-right: auto;
	padding: 0px;
	text-align: left;
}
.DonationText p {
	padding: 0px;
}
.DonationText a:link, .DonationText a:visited {
	color: #e9e6cd;
	text-decoration: underline;
}

.DonateLink {
	max-width: 750px;
	margin-left: auto;
	margin-right: auto;
}

.donation-btn {
	padding: 5px 10px;
	cursor: pointer;
	display: inline-block;
	textwrap: nowrap;
	background: #e9e6cd;
	box-sizing: border-box;
	margin-top: 10px;
	margin-right: 10px;
}

/* Placeholder for the .CloseButton to improve wrapping. Not currently used */
/*
.DonationBox:before {
	content: '';
	display: block;
	float: right;
	height: 25px;
	margin-left: 25px;
}
*/

.CloseButton {
	position: relative;
	vertical-align: top;
	margin: 0;
	float: right;
	margin-left: 1em;
}

.DonationBox .google-auto-placed {
	display: none;
}

.DonationKickstartBlock {
	display: inline;
	float: left;
}

/* See https://stackoverflow.com/a/44893688 */
.DonationKickstartContent {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	margin-left: 1em;
}

.DonationFieldPrefix {
	font-size: 1.5em;
	vertical-align: text-bottom;
	position: absolute;
	margin-top: 12px;
	margin-left: 6px;
}

.DonationField {
	font-size: 1.5em;
	height: 2.2em;
	width: 9em;
	padding-left: 1em;
}

.DonationButton {
	margin: .5em 0em;
	width: 5em;
	box-sizing: border-box;
	height: 28px;
	border-radius: 3px;
	background: #98032E;
	color: #FFF;
	border: 1px solid #ADA999;
	font-weight: bold;
	cursor: pointer;
}

#ModalDialog {
	position: fixed;
	height: auto;
	width: 480px;
	left: 50%;
	transform: translateX(-50%);
	background-color: transparent;
	top: 0px;
	bottom: 0px;
}

#ModalBackground {
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.2);
}

.DonationIframe {
	background: transparent;
	border-radius: 6px;
	border: 0;
	width: 100%;
	height: 100%;
}

@media (max-width: 600px) {
	#ModalDialog {
		width: 400px !important;
	}
}

@media (max-width: 500px) {
	#ModalDialog {
		width: 300px !important;
	}
}