@media (max-width: 1391px) and (orientation: landscape), (max-width: 1000px) and (orientation: portrait) {
	
	.section {width:100%;}
	#site-name, #nav {width:auto;}
	#header {width:100%;}
		#header-inner {margin-left:2%;margin-right:2%;}
		#header #site-name {font-size:18px;}
		#header #nav li {margin-bottom:2%;}
	
	#main-photo {background-size:cover;-webkit-background-size: cover;-moz-background-size: cover;-o-background-size: cover;background-size: cover;background-position:center center;background-attachment:scroll;background-repeat:no-repeat;position:relative;}
	#phone-image {margin-left:0px;width:40%;position:absolute;bottom:0;}
		#phone-image img {width:100%;}
	#sign-in {width:60%;float:right;margin-left:0;font-size:25px;}
		#sign-in .text-field, #sign-in .submit-button {width:90%;}
		
	#slides, .cycle-slideshow {width:90%;}
		#slides {margin-left:auto;margin-right:auto;}
		.slide-image img {width:100%; height:auto;}
		.slide-image iframe {width:100%; height: auto; }
		#slides .slide-title {margin-top:0px;}
		
	/*#entitlements-inner {width:90%;margin-left:auto;margin-right:auto;position:relative;z-index:100;}*/
	
	#statistics-list span.number {font-size:50px;}
	
	#buy-inner .title {font-size:20px;}
	#buy-form {width:95%;margin-left:auto;margin-right:auto;}
		#buy-form form {margin-right:0px;}
		#buy-form .form {width:50%;}
		#buy-form .text-field {width:40%;}

	#footer {width:100%;}
		#footer-inner {margin-left:2%;margin-right:2%;}
		#footer #nav , #footer #site-name {width:auto;}
	
}

@media (max-width: 1100px) {
	#statistics-list span.number {font-size:30px;}
	#contact {background-size:cover;-webkit-background-size: cover;-moz-background-size: cover;-o-background-size: cover;background-size: cover;background-position:center center;background-attachment:scroll;background-repeat:no-repeat;}
	#contact-inner {text-align:center;}
		#contact-form {width:90%;margin-left:auto;margin-right:auto;float:none;}
		#contact-form textarea {width:100%;}
		#contact-form .text-field {width:49%;margin-right:2%;}
}

@media (max-width: 750px) and (orientation: portrait) {
	#nav li a {font-size:12px;}
	#statistics-list span.number {font-size:30px;}
	.button, #buy-form .submit-button {padding:16px 16px;}
	#buy-form .submit-button {width:100%;}
	#buy-form .text-field {width:100%;}
	#buy-form .form {clear:both;width:95%;}
}