/*!
Theme Name: Materia Architects
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: materia-architects
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Materia Architects is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/


@font-face {
	font-family: Whyte-Regular;  
	src: url(http://www.materiaarchitects.co.uk/wp-content/uploads/fonts/Whyte-Regular.ttf);
}

@font-face {
	font-family: Whyte-Italic;  
	src: url(http://www.materiaarchitects.co.uk/wp-content/uploads/fonts/Whyte-Italic.ttf);
}

@font-face {
	font-family: Whyte-Medium;  
	src: url(http://www.materiaarchitects.co.uk/wp-content/uploads/fonts/Whyte-Medium.ttf);
}

@font-face {
	font-family: Whyte-Medium-Italic;  
	src: url(http://www.materiaarchitects.co.uk/wp-content/uploads/fonts/Whyte-MediumItalic.ttf);
}

@font-face {
	font-family: Whyte-Bold;  
	src: url(http://www.materiaarchitects.co.uk/wp-content/uploads/fonts/Whyte-Bold.ttf);
}

@font-face {
	font-family: Whyte-Bold-Italic;  
	src: url(http://www.materiaarchitects.co.uk/wp-content/uploads/fonts/Whyte-BoldItalic.ttf);
}

body::-webkit-scrollbar {
	display: none;
}

html {
	scrollbar-width: none;
}

html, body {
	padding: 0px;
	margin: 0px;
	font-family: sans-serif;
	background-color: #e5e5e5;
	font-family: Whyte-Regular;
	line-height: 1.2;
}

#primary {
	margin: auto;
	padding-left: 30px;
	padding-right: 10px;
	width: 1220px;
	padding-top: 110px;
	color: rgb(225,75,5);
	font-size: 19px;
}

/*Header*/

#masthead {
	padding-top: 30px;
	padding-bottom: 30px;
	height: 60px;
	width: 1200px;
	margin: auto;
	position: absolute;
	top: 0px;
	right:50%;
	margin-right:-600px;
	z-index: 6;
}

#masthead input[type=text], input[type=submit], textarea {
	background-color: transparent !important;
}

a {
	text-decoration: none !important;
	color: rgb(225,75,5) !important;
}

.home-loader {
	display: none;
	position: fixed;
	top: 0px;
	left: 0px;
	padding-top: 60px;
	padding-left: 60px;
	width: calc(100vw - 60px);
	height: calc(100vh - 60px);
	background-color: #e5e5e5;
	background-image: url(http://www.materiaarchitects.co.uk/wp-content/uploads/pattern-1.png);
	background-size: 800px;
	z-index: 30;
}

.home-loader-visible {
	display: block !important;
}

.home-loader img {
	width: 400px;
}

.home-amble {
	font-size: 45px;
	padding-top: 30px;
	padding-bottom: 30px;
	color: rgb(250,145,45);
}

.home-title {
	font-size: 45px;
}

.home-enter {
	position: absolute;
	bottom: 0px;
	text-align: right;
	width: calc(100% - 120px);
	color: rgb(250,145,45);
	margin-bottom: 60px;
	font-size: 40px;
	cursor: pointer;
}


.site-branding {
	float: left;
}

.site-branding img {
	width: 200px;
}

.site-branding input[type=image] {
	width: 200px;
}

#site-navigation {
	float: right;
	width: 700px;
	border-top: 2px rgb(225,75,5) solid !important;
	padding-top: 5px;
}


#site-navigation ul {
	margin-top: 24px;
	margin-bottom: 0px;
	padding: 0px;
	float: left;
}

#site-navigation li {
	display: inline-block;
	padding-right: 20px;
}

#site-navigation li:last-child {
	padding-right: 0px;
}

#site-navigation a {
	text-decoration: none !important;
	color: rgb(225,75,5) !important;
	font-size: 22px;
}

#site-navigation a:hover {
	color: rgb(250,145,45) !important;
	transition: color 0.5s ease;
	-webkit-transition: color 0.5s ease;
}

#site-navigation .current-menu-item a  {
	color: rgb(250,145,45) !important;
}

.projects-submit input[type=submit] {
	font-weight: normal;
	font-size: 22px;
	height: 30px;
	font-family: Whyte-Regular !important;
	text-decoration: none !important;
}


.projects-submit input[type=submit]:hover {
	color: rgb(250,145,45) !important;
	transition: color 0.5s ease;
	-webkit-transition: color 0.5s ease;
}

#site-navigation .current-menu-item input[type=submit]  {
	color: rgb(250,145,45) !important;
}

.socials {
	float: right !important;
}

.socials li {
	float: right !important;
	padding-right: 0px !important;
	padding-left: 15px;
	padding-top: 2px;
}

/*Project Page*/

.page-template-page-projects {
	background-image: url(http://www.materiaarchitects.co.uk/wp-content/uploads/pattern-2.png);
	background-size: 600px;
}

.projects_list {
	padding-left: 0px !important;
	margin: 0px;
	width: 100%;
	overflow: hidden;
	min-height: 100vh;
}

.project_item {
	width: 386px;
	height: 272px;
	float: left;
	overflow: hidden;
	margin-right: 20px;
	margin-bottom: 20px;
	position: relative;
	cursor: pointer;

}

.project_item img {
	max-width: 100%;
	height: 100%;
	object-fit: cover;
}

.bw-overlay, .color-overlay {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
}

.color-overlay {
	z-index: 1;
}

.bw-overlay {
	z-index: 2;
	opacity: 1;
	transition: opacity 0.3s ease;
	-webkit-transition: opacity 0.3s ease;
}

.bw-overlay:hover {
	opacity: 0;
	transition: opacity 0.3s ease;
	-webkit-transition: opacity 0.3s ease;
}

.bw-overlay img {
	filter: grayscale(100%);
}

.grey-overlay {
	position: fixed;
	width: 100vw;
	height: 300vh;
	top: 0px;
	left: 0px;
	background-color: rgba(229, 229, 229, 0.8);
	z-index: 0;
	opacity: 0;
	transition: opacity 0.6s ease;
	-webkit-transition: opacity 0.6s ease;
	backdrop-filter: blur(3px) !important;
	-webkit-backdrop-filter: blur(3px) !important;
}

.visible-overlay {
	opacity: 100 !important;
	transition: opacity 0.5s ease;
	-webkit-transition: opacity 0.5s ease;
}

.visible-overlay-z-index {
	z-index: 9;
}

.custom-content {
	display: none;
	margin: auto;
	width: 1220px;
	position: absolute;
	right:50%;
	margin-right:-610px;
	top: 0px;
	z-index: 0;
	opacity: 0;
	transition: opacity 0.5s ease;
	-webkit-transition: opacity 0.5s ease;
	padding-top: 110px;
	font-size: 19px;
}

.visible-project {
	opacity: 100 !important;
	transition: opacity 0.5s ease;
	-webkit-transition: opacity 0.5s ease;
}

.complete {
	color: rgb(45, 95, 5) !important;
}

.progress {
	color: rgb(5, 90, 105) !important;
}

.visible-project-z-index {
	z-index: 10 !important;
}

.project-escape {
	float: right;
	margin-top: 10px;
}

.project-escape img {
	width: 30px;
	cursor: pointer;
}

.project-images {
	width: 792px;
	float: left;
	margin-left: 10px;
}

.project-description {
	width: 386px;
	float: left;
	margin-left: 20px;
}

.project-description p:first-of-type {
	margin-top: 0px !important;
}

.custom-content .gallery {
	display: none !important;
}

.cycle-slideshow {
	width: 792px;
	height: 565px;	
	margin: 0px !important;
}

.slide {
	width: 100%;
}

.slide img {
	max-width: 792px;
	height: 565px;
	width: auto;
	object-fit: cover;
}

.image-caption {
	width: 100%;
}

.slide-number {
	float: right;
}

.slide-number div {
	display: inline-block;
}

.slide-controls {
	margin-top: 10px;
}

.complete .slide-controls {
	color: #6aa005;
}

.progress .slide-controls {
	color: #2da0c3;
}

.prev {
	cursor: pointer;
}

.next {
	float: right;
	cursor: pointer;
}

.expand {
	position: absolute;
	top: 0px;
	right: 20px;
	z-index: 1000 !important;
	cursor: pointer;
}

.expand img {
	width: 30px;
	display: block;
}

.hide-logo {
	display: none !important;
}

.expanded {
	width: 1198px !important;
	height: 856px !important;
}

.expanded-image {
	max-width: 1198px !important;
	height: 856px !important;
}

.hide-description {
	display: none;
}

.gallery-item {
	width: 792px;
	height: 580px;
	margin: 0px !important;
	padding-left: 10px;
}

.gallery-item img {
	width: 100%;
	height: auto;
}

.gallery-item .portrait img {
	height: 580px !important;
	width: auto !important;
}


/*About Page*/

.page-id-9, .blog {
	background-image: url(http://www.materiaarchitects.co.uk/wp-content/uploads/pattern-1.png);
	background-size: 600px;
	min-height: 100vh;
}

.page-id-13 {
	background-image: url(http://www.materiaarchitects.co.uk/wp-content/uploads/pattern-3.png);
	background-size: 600px;
	min-height: 100vh;
}

.page-template-page-about article {;
	float: right;
	margin-right: 190px;
	width: 530px;
}

td {
	vertical-align: top !important;
}

input[type=text], input[type=email], textarea {
	width: 80%;
	background-color: #e5e5e5 !important;
	font-size: 19px;
	border: rgb(225,75,5) solid 1px;
}

textarea {
	height: 80px;
}

input[type=submit] {
	background-color: #e5e5e5;
	font-size: 19px;
	border: none;
	color: rgb(225,75,5);
	padding: 0px;
	margin: 0px;
	font-weight: bold;
	font-family: Whyte-Bold;  
	height: 30px;
	cursor: pointer;
	text-decoration: underline;
}

.wpcf7-response-output {
	padding: 0px !important;
	margin: 0px !important;
	border: none !important;
}

/*News Page*/

.blog article {
	float: right;
	margin-right: 190px;
	width: 530px;
    pointer-events: none !important;
	border-bottom: 2px rgb(225,75,5) solid;
	font-size: 19px !important;
}

.blog article h2 {
	font-size: 22px;
}

.blog img {
	width: 100%;
	height: auto;
}

.blog .entry-footer {
	display: none;
}

.blog .byline {
	display: none;
}


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

	#masthead {
		position: relative !important;
		width: calc(100% - 60px) !important;
		right: 0px !important;
		padding: 30px !important;
		padding-bottom: 20px !important;
		margin-right:0px;
	}

	#primary {
		width: calc(100% - 60px) !important;
		padding: 30px !important;
		padding-top: 0px !important;
	}

	.project_item {
		width: calc(33% - 10px);
		height: calc(22vw - 9px);

	}

	.project_item:nth-child(3n) {
		margin-right: 0px !important;
	}

	.custom-content {
		width: 100% !important;
		right: 0px !important;
		margin-right: 0px !important;
		padding-top: 0px !important;
	}

	.project-images {
		margin-left: 30px;
		width: calc(66% - 40px) !important;
	}

	.cycle-slideshow {
		width: 100%;
		height: calc(44vw + 1px);	
	}

	.slide img {
		max-width: 100%;
		height: calc(44vw + 1px);	
	}

	.gallery-item {
		width: 100%;
		height: 580px;
	}

	.project-description {
		width: calc(33% - 30px);
	}

	.expanded {
		width: calc(99% - 20px) !important;
		height: calc(66vw + 11px) !important;
	}

	.expanded-image {
		max-width: 100% !important;
		height: calc(66vw + 11px) !important;
	}

	.page-template-page-about article {;
		margin-right: 171px;
	}

	.blog article {;
		margin-right: 171px;
	}
}


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

	.project_item {
		width: calc(33% - 11px);
		height: calc(22vw - 9px);

	}
}

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

	#site-navigation {
		width: calc(100% - 230px);
	}

}

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

	.home-loader {
		padding-top: 15px;
		padding-left: 15px;
		width: calc(100vw - 30px);
		height: calc(100vh - 15px);
	}

	.home-loader img {
		width: 50%;
	}

	.home-amble {
		font-size: 20px;
		padding-top: 30px;
		padding-bottom: 30px;
		color: rgb(250,145,45);
	}

	.home-title {
		font-size: 25px;
	}

	.home-enter {
		width: calc(100% - 30px);
		margin-bottom: 120px;
		font-size: 25px;
	}



	#masthead {
		width: calc(100% - 30px) !important;
		padding-left: 15px !important;
		padding-right: 15px !important;
		padding-top: 15px !important;
	}

	.site-branding {
		float: none;
		margin: auto;
		text-align: center;
		padding-bottom: 2px;
	}

	.site-branding img {
		width: 150px;
	}

	.site-branding input[type=image] {
		width: 150px;
	}

	#site-navigation {
		float: none;
		width: 100%;
		padding-top: 0px;
	}


	#site-navigation ul {
		margin-top: 9px;
		margin-bottom: 0px;
		padding: 0px;
		float: none;
		text-align: center;
	}

	#site-navigation li {
		padding-right: 15px;
	}

	#site-navigation a {
		font-size: 15px;
	}

	.projects-submit input[type=submit] {
		font-size: 15px;
		height: 17px;
	}

	.socials {
		margin-top: -21px !important;
		display: none;
	}

	#primary {
		width: calc(100% - 30px) !important;
		padding: 15px !important;
		padding-top: 8px !important;
	}

	.project_item {
		width: calc(50% - 5px);
		margin-right: 10px;
		margin-bottom: 10px;
		height: calc(34vw - 15px);

	}

	.project_item:nth-child(3n) {
		margin-right: 10px !important;
	}

	.project_item:nth-child(2n) {
		margin-right: 0px !important;
	}

	.project-escape {
		margin-top: -37px;
	}

	.project-escape img {
		width: 20px;
	}

	.custom-content #masthead {
		height: 50px !important;
		padding-bottom: 0px !important;
	}

	.project-images {
		margin-left: 15px;
		width: calc(100% - 30px) !important;
	}

	.cycle-slideshow {
		width: 100%;
		height: calc(71vw - 19px);	
	}

	.slide img {
		max-width: 100%;
		height: calc(71vw - 19px);	
	}

	.image-caption {
		font-size: 15px;
	}

	.expand img {
		display: none;
	}

	.project-description {
		width: calc(100% - 30px);
		margin-left: 15px;
		margin-top: 70px;
		font-size: 15px;
	}

	.page-template-page-about article {;
		width: 100%;
		margin-right: 0px;
		font-size: 15px;
	}

	.blog article {;
		width: 100%;
		margin-right: 0px;
		font-size: 15px !important;
	}

	.blog article h2 {
		font-size: 19px;
	}

	input[type=text], input[type=email], textarea {
		width: 90%;
	}

}