body, img, iframe { max-width:100%; }

@media all and (max-width: 1024px) {
	html, body { min-width:100%; width:100%; max-width:100%; margin:0 !important; padding:0 !important; }
	.main-navigation { height:auto; overflow:visible; top:0; margin:0; position:static; padding:5px; }

	body { background: none; }
    #contentTop, #contentBottom {
		background:none;
		display:none !important;
	}
	#contentContainer {
		background:none;

		-moz-box-shadow: 0 0 0;
		-webkit-box-shadow: 0 0 0;
		box-shadow: 0 0 0 !important;
	}
	#content,#contentContainer{ width:98%; max-width:1024px; padding:0 10px !important;}

	div .papertemplate-submit {
		height:auto;
		max-width:700px;
		white-space:normal !important;
		font-size:32px !important;
		line-height:38px !important;
		display:inline-block;
		word-wrap: break-word;
	}

}
@media all and (max-device-width: 480px) {
	#order { max-width:95%; padding:5px; }	
	#papertemplate-login { text-align:right; margin:0 !important; }
	#papertemplate-navigation a { display:block; margin:10px;}
	#papertemplate-navigation .separator { display:none; }

	html, body { min-width:100%; width:100%; max-width:100%; margin:0 !important; padding:0 !important; }
	.main-navigation { height:auto; overflow:visible; top:0; margin:0; position:static; padding:5px; }
	.papertemplate-navigation-separator { display:none; }
	.stripe *, iframe, video { max-width:100%; }
	/*.stripe h1 { color:#eeeeee !important; }*/

	h1 { font-size:40px; line-height:40px; letter-spacing:-1px;}
	body{word-wrap: break-word;}
	body > div { margin:0 !important; }
	#content,#contentContainer {left:0; max-width:100% !important; width:95%; padding:0 10px !important; margin:0 !important; }
	blockquote, img, table { max-width:85%; height:auto; }

	th { max-width:200px !important; overflow:scroll; }

	.papertemplate-submit-table { overflow:visible; }

	div .papertemplate-submit {
		max-width:100%;
		width:100%;
		height:auto;
		min-height:50px;
		white-space:normal !important;
		font-size:13px !important;
		line-height:15px !important;
		display:inline-block;
	}

	div .bestoption, div .goodoption {
	   width:90% !important; max-width:90% !important;
	   display:block;
	}
	.goodoption .papertemplate-submit, .bestoption .papertemplate-submit, .papertemplate-submit {
	   max-width:90% !important;
	   width:100% !important;
	   min-width:100% !important;
	}

	.goodoption, .bestoption { max-width:85%; }
}

@media all and (max-width: 1024px), @media all and (max-device-width: 480px) {
	#content{padding:5px; }
	blockquote{max-width:85%;margin:30px auto;padding:7px;}
	table {max-width: 90% !important;}
	img { max-width: 100% !important; height: auto; }
	body { margin:0; }
}