html, body {
	height: 100%;
}
body {
	overflow-y: auto;
	overflow-x: hidden;
	font-family: Arial;
	background-color: #050402;
	font-size: 12px;
}
/* CSS only for examples not required for centering */
.thankyou {
	padding-top: 5%;
}
.w-40 {
	width: 50%;
}
/* show border around full height container */
.h-100 {
	padding: 3%;
	margin-bottom: 5%;
}
.form_main {
	width: 99%;
	border: 1px solid #cccccc; 
	padding: 20px;
}
footer a {
	color: #ffffff;
	padding: 15px 10px;
	font-family: Gotham, "Arial" "Helvetica Neue", Helvetica, "sans-serif";
	font-size: 12px;
	font-weight: bold;
}
footer a:hover, a:active, a:visited {
	color: #ffffff;
}
footer img {
	display: block;
}
.btn-agree {
	padding-top: 20px;
}
.btn-agree img {
	display: block;
}
footer {
	position: relative;
	bottom: 0;
}

@media only screen and (max-width: 823px) and (orientation:landscape) {
.thankyou {
	padding-top: 5%;
}
footer {
	position: relative !important;
}
}

@media only screen and (max-width: 600px) and (orientation:landscape) {
.w-40 {
	width: 90%;
	margin-top: 0;
}
}

@media only screen and (max-width: 768px) and (orientation:portrait) {
.thankyou {
	padding-top: 25%;
}
}
@media only screen and (max-width: 600px) and (orientation:portrait) {
.w-40 {
width: 90%;
margin-top: 30%;
}
.thankyou {
padding-top: 5%;
}
}
@media screen and (min-width:768px) and (max-width:1024px) and (orientation:landscape) {
.main_header {
	width: 55%;
}
	.thankyou {
		width: 60%;
	}
	footer.fixed-bottom {
		position: relative;
	}
}	
/* Landscape */
/* Declare the same value for min- and max-width to avoid colliding with desktops */
/* Source: https://medium.com/connect-the-dots/css-media-queries-for-ipad-pro-8cad10e17106*/
@media only screen
and (min-device-width: 1366px)
and (max-device-width: 1366px)
and (orientation: landscape)
and (-webkit-min-device-pixel-ratio: 2) {
	
	.thankyou {
padding-top: 1%;
}
}
@media screen and (min-width: 800px) and (max-width: 1280px) {    .main_header {
        width: 50%;
    }
	.thankyou {
		padding-top: 2%;
	}
}