/*
Theme Name: Natural Stone Design Gallery
Author: Monster Design Co.
Author URI: http://monsterdesignco.com
Description: Custom Theme for Natural Stone Design Gallery

/* ------------------- FONTS -------------------

	font-family: 'Open Sans', sans-serif;
	font-family:'EngraversGothicBTW01-Re';
	font-family:'EngraversGothicW01-Bold';
	font-family: 'Montserrat', sans-serif;
	font-family: "Archer A", "Archer B";
	font-weight: 800;

*/

/* YUI 3.5.0 reset.css (http://developer.yahoo.com/yui/3/cssreset/) - http://cssreset.com */

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit}input,textarea,select{font-size:100%}legend{color:#000}#yui3-css-stamp.cssreset{display:none}

/* ------------------- HEADER ------------------- */


.logo {
	display: block;
	width: 194px;
	height: 86px;
	background: url(/wp-content/themes/nsdg/images/logo.png) no-repeat;
	margin: 5px 0 3px;
	float: left;
}

header {
	padding: 0 5%;
	width: 90%;
	background: #fff;
}

nav ul {
	text-align: right;
}

nav ul li {
	display: inline-block;
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	font-size: .9375em;
	text-transform: uppercase;
	letter-spacing: .05em;
	margin: 0 25px;
}

nav ul li a {
	display: block;
	padding: 40px 0 32px;
	transition: all 200ms linear 0s;
	-webkit-transition: all 200ms linear 0s;
	-moz-transition: all 200ms linear 0s;
	-ms-transition: all 200ms linear 0s;
	-o-transition: all 200ms linear 0s;
	border-bottom: 5px solid #fff;
}

nav ul li a:hover, nav ul li.current-menu-item a, nav ul li.current-page-ancestor a {
	color: #9BBDAA;
	border-bottom: 5px solid #9BBDAA;
}

.home nav ul li a {
	color: #333e48;
	border-bottom: 5px solid #fff;
}

.home nav ul li a:hover {
	color: #9BBDAA;
	border-bottom: 5px solid #9BBDAA;
}

a.menu-btn {
	display: none;
	width: 21px;
	height: 16px;
	float: right;
	background: url(/wp-content/themes/nsdg/images/menu-btn.png) no-repeat 0 40px;
	background-size: 21px 16px;
	padding: 40px 0 32px;
}

#pagewrapper {
	position: relative;
	transform: translate3d(0,0,0);
	-webkit-transform: translate3d(0,0,0);
	-webkit-transition: all 500ms cubic-bezier(0.63, 0.64, 0.3, 1) 0s;
	-moz-transition: all 500ms cubic-bezier(0.63, 0.64, 0.3, 1) 0s;
	-ms-transition: all 500ms cubic-bezier(0.63, 0.64, 0.3, 1) 0s;
	-o-transition: all 500ms cubic-bezier(0.63, 0.64, 0.3, 1) 0s;
	transition: all 500ms cubic-bezier(0.63, 0.64, 0.3, 1) 0s;
	right: 0;
	width: 100%;
	overflow-x: hidden;
}

.open-menu #pagewrapper {
	position: fixed;
	right: 40%;
	width: 100%;
}

.menu-screen {
	right: -40%;
	transform: translate3d(0,0,0);
	-webkit-transform: translate3d(0,0,0);
	-webkit-transition: all 500ms cubic-bezier(0.63, 0.64, 0.3, 1) 0s;
	-moz-transition: all 500ms cubic-bezier(0.63, 0.64, 0.3, 1) 0s;
	-ms-transition: all 500ms cubic-bezier(0.63, 0.64, 0.3, 1) 0s;
	-o-transition: all 500ms cubic-bezier(0.63, 0.64, 0.3, 1) 0s;
	transition: all 500ms cubic-bezier(0.63, 0.64, 0.3, 1) 0s;
	width: 34%;
	padding: 0 3%;
	z-index: 999;
	height: 100%;
	position: fixed;
	background: #1A232B;
}

.menu-screen ul {
	padding: 0;
	margin: 10px 0;
}

.menu-screen ul li {
	list-style-type: none;
	border-bottom: 1px solid #9BBDAA;
	padding: 0;
	margin: 0;
}

.menu-screen ul li:last-of-type {
	border: none;	
}

.menu-screen a {
	color: #fff;
	display: block;
	padding: 10px 0;
	margin: 0 0 5px;
}

.close-link {
	position: fixed;
	width: 100%;
	left: 0;
	z-index: 99999999;
	display: none;
	height: 100%;
	top: 0;
}

.open-menu .close-link {
	display: block;
}

.open-menu .menu-screen {
	right: 0;
}

.menu-screen-scroll {
	overflow: scroll;
	height: 100%;
}

.menu-screen-wrap {
	padding: 40px 20px;
	
}

#page-title {
	padding: 60px 5% 65px;
	width: 90%;
	position: relative;
}

#page-title .background-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-position: center center;
	-webkit-filter: grayscale(1);
	filter: grayscale(1);
	z-index: -3;
}


#page-title .overlay {
	background: #333E48;
	opacity: .9;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -2;
}



#page-title .p-title h1 { 
	text-align: center;
	color: #fff;
	font-size: 2.5em;
	text-shadow: 0px 3px 10px rgba(0, 0, 0, 0.5);
	margin-top: 5px;
	padding: 0 10%;
	width: 80%;
}

#page-title .p-title p.breadcrumbs { 
	text-align: center;
	color: #fff;
	font-size: 1.25em;
	text-shadow: 0px 3px 10px rgba(0, 0, 0, 0.5);
	text-transform: uppercase;
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	letter-spacing: .05em;
	margin: 0;
	margin-bottom: -5px;
}

p.breadcrumbs a {
	font-weight: 400;
	font-style: normal;
}

#page-title .p-title p.breadcrumbs span {
	font-size: .75em;
	display: inline-block;
	padding: 0 5px;	
} 

p.breadcrumbs a {
	color: #fff;
}

.grid ul {
	padding: 0;
}

.grid li {
	list-style-type: none;
	margin: 0 0 5px;
	padding: 0;
	position: relative;
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	color: #333E48;
	font-size: .875em;
	width: 19%;
	float: left;
	padding: 5px .5%;
	transition: all 200ms linear 0s;
	-webkit-transition: all 200ms linear 0s;
	-moz-transition: all 200ms linear 0s;
	-ms-transition: all 200ms linear 0s;
	-o-transition: all 200ms linear 0s;
	text-transform: uppercase
}

.grid li:nth-child(5n+1), .swatch.quarter:nth-child(4n+1) {
	clear: both;
}

.grid li:hover, .swatch:hover, .prof-grid li:hover {
	background: #9BBDAA;
	color: #fff;
}

.grid li img, .swatch img {
	width: 100%;
	height: auto;
	display: block;
	margin-bottom: 2px;
}

.grid li a, .swatch a, .prof-grid li a {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.swatch.quarter {
	margin: 0;
	padding: 0;
	position: relative;
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	color: #333E48;
	font-size: .875em;
	padding: 5px 1%;
	width: 23%;
	margin-right: 0;
	transition: all 200ms linear 0s;
	-webkit-transition: all 200ms linear 0s;
	-moz-transition: all 200ms linear 0s;
	-ms-transition: all 200ms linear 0s;
	-o-transition: all 200ms linear 0s;
	text-transform: uppercase;
}

.prof-grid li {
	width: 32%;
	float: left;
	list-style-type: none;
	padding: 5px .5%;
	transition: all 200ms linear 0s;
	-webkit-transition: all 200ms linear 0s;
	-moz-transition: all 200ms linear 0s;
	-ms-transition: all 200ms linear 0s;
	-o-transition: all 200ms linear 0s;
	position: relative;
	font-size: 1em;
	margin: 0 0 5px;
}

.prof-grid li:nth-of-type(2n) {
	width: 33%;
}

.prof-grid li:nth-of-type(3n+1) {
	clear: both;
}

.prof-grid li img {
	width: 30%;
	float: left;
}

.prof-grid li .info {
	width: 65%;
	float: right;
	font-size: .75em;
	font-weight: 700;
	line-height: 140%;
}

.prof-grid li .name {
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	color: #333E48;
	text-transform: uppercase;
	font-size: 1.5em;
	display: block;
	margin: 10px 0 15px;
	font-weight: 400;
}


/* ------------------- BASIC LAYOUT ------------------- */

body {
	font-size: 16px;
	line-height: 100%;
	color: #3C3F33;
	font-weight: 400;
	font-family: 'Open Sans', sans-serif;
}

.content-block {
	position: relative;
}

.page-content {
	padding: 65px 10%;
	width: 80%;
}

.full-half {
	width: 50%;
}

.full-half.pad {
	padding: 150px 10%;
	width: 30%;
}

.img-only {
	height: 100%;
	position: absolute;
	left: 0;
	background-position: right center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.img-only.right {
	left: auto;
	right: 0;
	background-position: left center;
}

.half {
	width: 48%;
}

.two-thirds {
	width: 65%;
}

.one-third {
	width: 31%;
}

.quarter {
	width: 22%;
	margin-right: 4%;
}

.quarter:nth-child(4n) {
	margin-right: 0;
}

.bg-img, .lt-bg-img  {
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-position: center center;
}


.bg-img * {
	color: #fff;
}

.bg-img .full-half {
	background: url(/wp-content/themes/nsdg/images/gradient.png) repeat-y top left;
	background-size: 100% auto;
}


.bg-img h1 {
	text-shadow: 0px 3px 10px rgba(0, 0, 0, 0.5);
}


/* ------------------- FOOTER------------------- */

.appointment {
	padding: 25px 5% 28px;
	width: 90%;
	text-align: center;
	background: #9BBDAA;
	color: #fff;
	font-size: 1.25em;
	font-family: "Archer A", "Archer B";
	font-weight: 800;
	text-transform: uppercase;
	line-height: 120%;
	position: relative;
}

.sub .appointment {
	background: #333E48;
}

.appointment a {
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 999;
	top: 0;
	left: 0;
}

.cal-icon {
	background: url(/wp-content/themes/nsdg/images/cal-icon.png);
	width: 28px;
	height: 30px;
	background-size: 100% 100%;
	display: inline-block;
	margin-bottom: -7px;
	margin-right: 10px;
}

footer {
	background: #1A232B;
	padding: 50px 5%;
}

.footer-nav {
	width: 16%;
	margin-right: 4%;
}

.recent {
	width: 21%;
	margin-right: 4%;
}	

.footer-contact {
	width: 30%;
}

footer ul {
	padding: 0;
	margin-top: 25px;
}

footer ul li {
	list-style-type: none;
	border-bottom: 1px solid #9BBDAA;
	padding: 0 0 11px;
	margin: 8px 0 0;
	font-size: .925em;
	line-height: 140%;
}

footer ul li:last-of-type {
	border-bottom: none;	
}

footer .recent li:nth-child(3) {
	border: none;
}

footer .recent li.last {
	display: none;
}

footer li a {
	color: #fff;
}


footer .center {
	text-align: left;
}


footer table {
	width: 100%;
}

footer table td {
	line-height: 140%;
	color: #fff;
	padding: 6px 0;
}

footer li:first-of-type table td {
	padding-top: 0;
}

footer table td span.footer-header {
	padding-bottom: 8px;
	color: #9BBDAA;
	text-transform: uppercase;
	letter-spacing: .08em;
	font-family: "Archer A", "Archer B";
	font-weight: 800;   
	font-size: 1em;
}

.social {
	padding: 12px 0;
}

.social img {
	width: 19px;
	height: 19px;
}

.social a {
	display: inline-block;
	padding: 10px;
	background: #9BBDAA;
	line-height: 100%;
	margin-right: 2px;
}

.footer-contact table.left {
	margin-right: 5px;
}

.copyright {
	background: #000;
	color: #9F958B;
	font-size: .75em;
	font-weight: 400;
	text-align: center;
	padding: 15px 10%;
}

/* ------------------- SLIDER ------------------- */

#slider {
	background: #ccc;
}

.slide {
	width: 100%;
	height: 100%;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-position: center center;
}

.prev, .next {
	width: 12px;
	height: 22px;
	position: absolute;
	transform: translateY(-50%);
	-ms-transform: translateY(-50%); /* IE 9 */
	-webkit-transform: translateY(-50%); /* Chrome, Safari, Opera */
	-moz-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	background-size: 100% 100%;
	z-index: 99999;
	top: 50%;
}

.prev {
	background-image: url(/wp-content/themes/nsdg/images/prev.png);
	left: 5%;
}

.next {
	background-image: url(/wp-content/themes/nsdg/images/next.png);
	right: 5%;
}

.slide-project {
	position: absolute;
	bottom: 0;
	right: 0;
	font-size: .9375em;
	font-family: "Archer A", "Archer B";
	font-weight: 800;
	text-shadow: 0px 3px 10px rgba(0, 0, 0, 0.5);
	line-height: 100%;
	width: 100%;
	text-align: right;
}

.slide-project a {
	width: 90%;
	padding: 30px 5%;
	display: block;
	text-align: right;
}

.file {
	background: url(/wp-content/themes/nsdg/images/file.png);
	width: 17px;
	height: 18px;
	background-size: 100% 100%;
	display: inline-block;
	margin-bottom: -4px;
	margin-left: 7px;
}

.slider-text {
	padding: 0 15%;
	width: 70%;
}

.slider-text span {
	display: block;
	padding-top: 10px;
	font-weight: 600;
	font-family: "Archer A", "Archer B";
	text-shadow: 0px 3px 10px rgba(0, 0, 0, 0.5);
}

/* ------------------- BLOG ------------------- */

#blog-banner {
	background: #9BBDAA;
	position: relative;
}

#blog-banner a {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

#blog-banner .post-info {
	padding: 40px 0;
}

.post-info .one-third {
	padding: 12px 0;
}

.date {
	color: #333E48;
	font-family: "Archer A", "Archer B";
	font-weight: 800;
	text-transform: uppercase;
	margin: 0;
	line-height: 145%;
	font-size: .8125em;
}

.full-half .date  {
	margin: 0 0 25px;
	color: #9BBDAA;
}

.post-content .date {
	margin: 0 0 15px;
	color: #9BBDAA;	
}

.title {
	font-size: 1.75em;
	margin: 0;
	font-weight: 300;
	color: #fff;
	line-height: 110%;
	
}

.post-img {
	position: absolute;
	width: 31%;
	height: 100%;
	top: 0;
	right: 0;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-position: center center;
	
}

.sharify-container {
	display: none !important;
}

.post .sharify-container {
	display: block !important;
}

/* ------------------- RESOURCES ------------------- */


.full-half .background {
	height: 100%;
	position: absolute;
	width: 50%;
	z-index: -2;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.full-half.left .background {
	top: 0;
	left: 0;
}

.full-half.right .background {
	top: 0;
	right: 0;
}

.bw {
	-webkit-filter: grayscale(1);
	filter: grayscale(1);
}

.full-half .overlay {
	background: #9BBDAA;
	opacity: .9;
	position: absolute;
	top: 0;
	left: 0;
	width: 50%;
	height: 100%;
	z-index: -1;
}

.full-half.right .overlay {
	right: 0;
	left: auto;
}

.full-half .overlay.white {
	background: #fff;
}

.center span {
	display:block;
	text-align: center;
}

/* ------------------- PROJECTS ------------------- */

#gallery .display-img {
	margin-bottom: 5px;
	position: relative;
}

.display-img .img {
	width: 100%;
	height: 400px;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-position: center center;
}

#gallery .thumbs a {
	height: 100px;
	width: auto;
	float: left;
	display: block;
	margin-right: 5px;
	position: relative;
}

#gallery .thumbs a img {
	height: 100px;
	width: auto;
}

.scrollable {
	position: relative;
}

.scrollWrapper {
	cursor: default !important;
}

.materials {
	border-top: 1px solid #9F958B;
	border-bottom: 1px solid #9F958B;
}

.materials p {
	margin-top: -5px;
}

.page-nav {
	padding: 20px 10% 65px;
}

.post .page-nav {
	border-top: 1px solid #9F958B;
}

.fadein {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 9999;
	width: 100%;
	height: auto;
}

/* ------------------- FORM STYLES ------------------- */

form input[type=text], form textarea {
	width: 89% !important;
	padding: 8px 5% !important;
	border: 1px solid #ccc;
}

form .gform_button {
	display: inline-block;
	padding: 13px 40px;
	font-size: .875em;
	text-transform: uppercase;
	font-family: "Archer A", "Archer B";
	font-weight: 800;
	color: #fff;
	line-height: 100%;
	letter-spacing: .08em;
	margin: 0;
	text-align: center;
	border: none;
	background: #9BBDAA;
	cursor: pointer;
}

#field_2_5, #field_2_4 {
	clear: none !important;
}

/* ------------------- TEXT STYLES ------------------- */

h1 {
	text-transform: uppercase;
	font-size: 3.75em;
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	letter-spacing: .05em;
	line-height: 80%;
}

h2 {
	font-size: 2.4em;
	text-transform: uppercase;
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	line-height: 100%;
}

h3 {
	font-size: 1.75em;
	text-transform: uppercase;
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	line-height: 120%;
}

h4 {
	font-size: 1.25em;
	text-transform: uppercase;
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	line-height: 120%;
}

h5 {
	font-size: 1em;
	text-transform: uppercase;
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	line-height: 140%;
}

h6 {
	color: #9BBDAA;
	text-transform: uppercase;
	font-size: .925em;
	letter-spacing: .08em;
	font-family: "Archer A", "Archer B";
	font-weight: 800;
	line-height: 120%;
}

p {
	font-size: .875em;
	line-height: 170%;
	margin: 20px 0;
}

a {
	outline: none;
	text-decoration: none;
	color: #333E48;
}

p a {
	color: #9BBDAA;
	font-weight: 700;
	font-style: italic;
}

strong {
	font-weight: 700;
}

em {
	font-style: italic;
}

strong em, em strong {
}

ul, ol {
	padding-left: 20px;
}

ul li, ol li {
	font-size: .8125em;
	line-height: 140%;
	margin: 15px 0;
}

ul li {
	list-style-type: disc;
}

ol li {
	list-style-type: decimal;	
}

/* ------------------- MISC STYLES ------------------- */

hr.hidden {
	clear: both; 
	visibility: hidden;
	margin: 0;
	height: 0;
	border: none;
}

.alignleft {
	float: left;
	margin: 0 15px 5px 0;
}

.alignright {
	float: left;
	margin: 0 0 5px 15px;
}

.alignnone {
	margin: 15px 0;
}

.left {
	float: left;
}

.right {
	float: right;
}

.v-align-middle {
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	-ms-transform: translateY(-50%); /* IE 9 */
	-webkit-transform: translateY(-50%); /* Chrome, Safari, Opera */
	-moz-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	z-index: 9999;
}

.text-left * {
	text-align: left;
}

.text-right * {
	text-align: right;
}

.center {
	text-align: center;
}

.center * {
	text-align: center;
}

.text-wh * {
	color: #fff;
}

.button {
	display: inline-block;
	padding: 13px 40px;
	font-size: .875em;
	text-transform: uppercase;
	font-family: "Archer A", "Archer B";
	font-weight: 800;
	color: #fff;
	line-height: 100%;
	letter-spacing: .08em;
	margin: 10px 0 0;
	text-align: center;
}

.button.full {
	display: block;
}

.gold {
	background: #D7CA9E;
}

.green {
	background: #9BBDAA;
}

.beige {
	background: #9F958B;
}

.inverse-beige {
	border: 2px solid #9F958B;
	color: #9F958B;
	background: #fff;
	padding: 11px 40px;
}

.blue {
	background: #333E48;
}

.no-margin {
	margin: 0;
}

img {
	max-width: 100%;
	height: auto;
}

/* ------------------- MEDIA QUERIES ------------------- */


@media (-webkit-min-device-pixel-ratio: 2),
  (min-resolution: 192dpi) {
	
	.logo {
		background: url(/wp-content/themes/nsdg/images/logo-r.png) no-repeat;
		background-size: 100% 100%;
	}
	
	.file {
		background-image: url(/wp-content/themes/nsdg/images/file-r.png);
		background-size: 100% 100%;
	}
	
	.prev {
		background-image: url(/wp-content/themes/nsdg/images/prev-r.png);
	}
	
	.next {
		background-image: url(/wp-content/themes/nsdg/images/next-r.png);
	}
	
	.cal-icon {
		background: url(/wp-content/themes/nsdg/images/cal-icon-r.png);
		width: 28px;
		height: 30px;
		background-size: 100% 100%;
	}
	
}

@media all and (max-width: 1150px) {
	
	footer .recent {
		width: 38%;
	}
	
	footer .recent:nth-child(3) {
		margin-right: 0;	
	}
	
	footer .recent li.last {
		display: block;
	}
	
	footer .recent li:nth-child(3) {
		border-bottom: 1px solid #9BBDAA;
	}
	
	footer .recent li:last-of-type {
		border-bottom: none;
	}
	
	.footer-contact {
		width: 100%;
		float: none;
		padding-top: 30px;
		clear: both;
	}
	
	.footer-contact li:first-of-type table td:nth-of-type(2n) {
		text-align: center;
	}
	
	.footer-contact li:first-of-type table td:nth-of-type(3n) {
		text-align: right;
	}
	
	.footer-contact li:nth-of-type(2n) table td:nth-of-type(2n) {
		text-align: right;
	}
	.social {
		text-align: center;
	}
	
	footer .center {
		text-align: center;
	}

	
}

@media all and (max-width: 1100px) {
	
	
	
	.two-thirds, .home #blog-banner .two-thirds {
		width: 55%;
	}
	
	#blog-banner .left {
		float: left;
	}
	
	#blog-banner .right {
		float: right;
	}
	
	.one-third, .home #blog-banner .one-third {
		width: 41%;
	}
	
	.post .one-third, .post .two-thirds {
		width: 100%;
		float: none;
	}
	
	.post-content .date {
		margin-top: 40px;
	}
	
	.projects .two-thirds {
		width: 100%;
		float: none;
	}
	
	#gallery {
		margin-bottom: 30px;
	}
	
	.projects .one-third {
		width: 100%;
		float: none;
	}
}

@media all and (max-width: 1070px) {
	
	nav ul li {
		margin: 0 15px;
	}
	
	.grid li {
		width: 18%;
		padding: 5px 1%;
		
	}
	
	.prof-grid li {
		width: 49%;
	}
	
	.prof-grid li:nth-of-type(2n) {
		width: 49%;
	}
	
}

@media all and (max-width: 980px) {
	
	.swatch.quarter {
		padding: 5px 1%;
		width: 48%;
		margin-right: 0;
	}
	
	.swatch.quarter:nth-child(4n+1) {
		clear: none;
	}
	
	.swatch.quarter:nth-child(2n+1) {
		clear: both;
	}
	
}


@media all and (max-width: 940px) {
	
	nav ul {
		display: none;
	}
	
	a.menu-btn {
		display: block;
	}
	
	.logo {
		margin: 5px 0 7px;
	}
	
}

@media all and (max-width: 880px) {
	.back {
		clear: both;
		padding-top: 5px;
	}
	
	.back .button {
		display: block;
	}
}
	
	
@media all and (max-width: 830px) {
	.full-half.pad {
		width: 40%;
	}
	
	.full-half.img-only {
		width: 40%;
	}
	
	.resources .full-half {
		width: 80%;
		float: none;
		position: relative;
	}
	
	.resources .full-half .background, .resources .full-half .overlay {
		width: 100%;
	}
	
}

@media all and (max-width: 780px) {
	
	.grid li {
		width: 23%;
		padding: 5px 1%;
		
	}
	
	.prof-grid li {
		width: 48%;
		padding: 5px 1%;
	}
	
	.prof-grid li:nth-of-type(2n) {
		width: 48%;
	}
	
	.half {
		width: 100%;
		float: none;
		clear: both;
		margin-bottom: 30px;
	}
	
	.half:last-of-type {
		margin-bottom: 0;
	}
	
	.grid li:nth-child(5n+1) {
		clear: none;
	}
	
	.grid li:nth-child(4n+1) {
		clear: both;
	}
	
}

@media all and (max-width: 690px) {

	footer {
		padding: 50px 10%;
	}

	.footer-nav {
		width: 32%;
		margin-right: 10%;
	}
	
	footer .recent {
		width: 58%;
		margin-right: 0;
	}
	
	footer .recent:nth-child(3) {
		padding-top: 30px;	
	}
	
	footer .recent li:nth-child(3), footer .recent li:nth-child(4) {
		display: none;
	}
	
	footer .recent li:nth-child(2) {
		border-bottom: none;
	}
	
	.prof-grid li {
		width: 98%;
		padding: 5px 1%;
		float: none;
	}
	
	.prof-grid li:nth-of-type(2n) {
		width: 98%;
	}
	
	.prof-grid li img {
		width: 20%;
	}
	
	.prof-grid li .info {
		width: 75%;
	}
	
}

@media all and (max-width: 650px) {
	.full-half.pad {
		width: 50%;
	}
	
	.full-half.img-only {
		width: 30%;
	}
	
	.resources .full-half {
		width: 80%;
	}
	
	.materials .half {
		width: 100%;
		float: none;
	}
	
	.materials .half:first-of-type {
		margin-bottom: 30px;
	}
	
	.swatch.quarter {
		padding: 5px 1%;
		width: 22%;
		margin-right: 0;
	}
	
	.one-third, .two-thirds {
		float: none;
		width: 100%;
	}
	
	
}

@media all and (max-width: 600px) {
	
	.grid li {
		width: 48%;
		padding: 5px 1%;
		
	}
}


@media all and (max-width: 560px) {
	
	.open-menu #pagewrapper {
		right: 50%;
	}
	
	.menu-screen {
		width: 44%;
		right: -50%;
	}
	
	#gallery .thumbs a {
		height: 50px;
	}
	
	#gallery .thumbs a img {
		height: 50px;
	}
	
	.swatch.quarter {
		padding: 5px 1%;
		width: 48%;
		margin-right: 0;
	}
	
	.prof-grid li img {
		width: 30%;
	}
	
	.prof-grid li .info {
		width: 65%;
	}
	
	#blog-banner {
		display: none;
	}
	
	.grid li:nth-child(4n+1) {
		clear: none;
	}
	
	.grid li:nth-child(2n+1) {
		clear: both;
	}
	
}

@media all and (max-width: 500px) {
	
	.footer-nav, footer .recent, .footer-contact {
		width: 100%;
		float: none;
		margin-right: 0;
		margin-bottom: 30px;
		padding: 0 !important;
	}
	
	.prev-btn, .next-btn {
		display: block;
		float: none;
		width: 90%;
		padding: 13px 5%;
	}
	
	.back {
		clear: none;
		padding: 0;
	}
}

@media all and (max-width: 480px) {
	.full-half.pad {
		width: 80%;
		float: none;
		padding: 75px 10% 80px;
	}
		
	.full-half.img-only {
		width: 100%;
		float: none;
		height: 200px;
		position: relative;
	}
	
	.home .full-half.img-only {
		display: none;	
	}
	
	.appointment {
		font-size: .925em;	
		line-height: 120%;
		padding: 18px 5% 20px;	
	}
	
	.cal-icon {
		margin-bottom: -4px;    
		width: 19px;
		height: 20px;
	}
	
	.grid li {
		width: 46%;
		padding: 5px 2%;
		
	}
	
}

@media all and (max-width: 430px) {
	
	.open-menu #pagewrapper {
		right: 70%;
	} 
	
	.menu-screen {
		width: 64%;
		right: -70%;
	}

	.social a {
		display: block;
		padding: 5px 2%;
		background: #9BBDAA;
		line-height: 100%;
		margin-right: 2.5%;
		margin-bottom: 8px;
		width: 8%;
		height: auto;
		float: left;
	}
	
	.social a:last-of-type {
		margin-right: 0;
	}
	
	.social img {
		width: 100%;
		height: auto;
	}
	
	.swatch.quarter {
		padding: 5px 2%;
		width: 46%;
		margin-right: 0;
	}

}

@media all and (max-width: 400px) {
	
	.logo {
		width: 142px;
		height: 63px;
		background-size: 100% 100%;
	}
	
	a.menu-btn {
		padding: 30px 0 22px;
		background-position: 0 29px;
	}
	
	h1 {
		font-size: 3em;
	}
	
	.button {
		font-size: .7em;
	}
	

}