.ad-box {
	height: 200px;
	background-color: #1b365d;
	background-image: url("/ftw2020/images/aops-logo-white.svg");
	background-repeat: no-repeat;
	background-position: -15px 45px;
	box-shadow: 3px 3px 6px #ccc;
	margin: 15px 7.5px 0px 7.5px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.ftw-ad-header {
	color: white;
}

.ftw-ad-head {
	padding: 10px 25px;
	color: white;
}

.ftw-ad-buttons {
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	align-items: flex-end;
	margin: 20px 0px;
}

.ftw-beta-banner {
	background-color: purple;
	height: 30px;
	width: 100%;
	color: white;
	line-height: 30px;
	text-align: center;
}

#main-footer {
	display: none !important;
}

#small-footer-wrapper {
	display: block !important;
}

#ftw-wrapper {
	width: 100%;
}

.ftw-thanks {
	margin: 15px 7.5px;
	box-shadow: 3px 3px 6px #ccc;
	background-color: #1b365d;
	color: white;
	padding: 30px 60px;
	text-align: center;
	font-weight: bold;
}

@media only screen and (max-width: 800px) {
	.ad-box {
		height: 210px;
		background-position: -25px 65px;
	}

	.ftw-ad-buttons {
		justify-content: center;
	}

	.ftw-ad-button {
		margin: 0 25px !important;
	}
}

@media only screen and (max-width: 720px) {
	.ad-box {
		height: 275px;
		background-position: -30px 110px;
		background-size: 500px;
	}
}

@media only screen and (max-width: 650px) {
	.ad-box {
		height: 300px;
		justify-content: flex-start;
		background-position: -30px 170px;
		background-size: 450px;
	}
}

@media only screen and (max-width: 430px) {
	.ad-box {
		height: 415px;
		background-position: -15px 250px;
		background-size: 400px;
	}

	.ftw-ad-buttons {
		flex-direction: column;
		justify-content: center;
	}

	.ftw-ad-button {
		margin: 12px auto !important;
	}
}

@media only screen and (max-width: 400px) {
	.ad-box {
		background-position: -15px 290px;
		background-size: 370px;
	}

	.ftw-ad-header {
		font-size: 24px;
	}
}

@media only screen and (max-width: 430px) {
	.ftw-thanks {
		padding: 30px 30px;
	}
}

label {
	display: inline !important;
}
