/* SMALLER THAN 500 */

@media only screen and (max-width: 1024px) {

	.quote-container {
		width: 50%;
	}
	
	.profile-image {
		float: none;
		margin: 0px auto 60px auto;
	}
	
	.profile-container {
		width: 100%;
		float: none;
		text-align: center;
	}
	
	.references-container .third {
		width: 100%;
	}
	
	.references-container .third:nth-child(3n+3) {
		width: 100%;
	}
	
	.reference hr {
		width: 100%;
	}

}

@media only screen and (max-width: 499px) {
	
	.desktop {
		display: none;
	}
	
	.mobile {
		display: block;
	}
	
	header {
		background-image: none !important;
		height: auto;
	}
	
	.header-logo {
		position: relative;
		right: auto;
		bottom: auto;
		margin: 20px auto 40px auto;
		display: block;
	}
	
	.footer-logo {
		display: none;
	}
	
	.header-image {
		width: 100%;
		height: 300px;
		background-position: center center;
		background-size: cover;
	}
	
	.quote-container {
		width: 100%;
		left: auto;
		position: relative;
		padding: 60px;
		box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		text-align: center;
	}

	.profile-image {
		width: 300px;
		height: 300px;
		border-radius: 300px;
		float: none;
		margin: 0px auto 30px auto;
	}

	.profile-container {
		width: 100%;
		float: none;
		text-align: center;
	}
	
	.wrapper {
		width: 100%;
	}
	
	.beige-container {
		padding: 60px;
	}
	
	.third {
		width: 100%;
	}
	
	.services {
		position: relative;
		height: 450px;
	}
	
	.services-container {
		position: absolute;
	}
	
	.services-container .third {
		height: 450px;
		float: left;
	}
	
	.preview {
		height: 300px;
	}
	
	div .third:nth-child(3n+3) {
		width: 100%;
	}
	
	.swipe-left, .swipe-right {
		position: absolute;
		bottom: 25px;
		left: 20px;
		z-index: 1000;
	}
	
	.swipe-left img, .swipe-right img {
		width: 40px;
	}
	
	.swipe-right {
		left: auto;
		right: 20px;
		-moz-transform: scaleX(-1);
		-webkit-transform: scaleX(-1);
		-o-transform: scaleX(-1);
		transform: scaleX(-1);
		-ms-filter: fliph;
		filter: fliph;
	}
	
	footer {
		background-image: url('../graphics/mobile.jpg') !important;
	}
	
	footer {
		width: 100%;
		background-position: top center;
		background-repeat: no-repeat;
		background-size: 100% auto;
		padding: 300px 0px 100px 0px;
		text-align: center;
	}

	footer hr {
		width: 70%;
		float: none;
		display: inline-block;
	}

	.footer-container {
		width: 100%;
		float: none;
	}

	.two-col-p p {
		width: 100%;
		float: none;
	}
	
	.quote-container h2, .quote-container p {
		color: #cfc5a9;
	}
	
}