@font-face {
	font-family: "GT Walsheim Pro Regular";
	src: url("../fonts/GT-Walsheim-Pro-Trial-Regular.otf");
}

* {
	box-sizing:border-box;
}

html {
	overflow-y:scroll;
}

body {
	margin:0;
	padding:0;
	font-family: "GT Walsheim Pro Regular";
	font-size:15px
}

a {
	text-decoration:none;
	color:#333;
	transition: color 0.3s ease;
	cursor:pointer;
}

h2 {
	margin:0;
	padding:0;
	color:#ccc;
	font-size:15px;
	font-weight:normal;
}

p {
	margin:0 0 20px;
}

ul {
	list-style:none;
	margin:0;
	padding:0;
}

a:hover {
	color:#ccc;
}

main {
	padding-bottom:68px;
	z-index:10;
	box-sizing:border-box;
}

.content {
	max-width:1600px;
	margin:0 auto;
	padding:0 20px;
	height:100%;
}

header {
	padding:20px 0;
	/*margin-bottom:20px;*/
}

header > .content {
	padding:0 20px;
}

.logo {
	font-family:'BauerBodniBTWXX-Roman';
	font-size:28px;
	color:#333;
	line-height:1;
	letter-spacing: 0.7px;
}

.logo:hover {
	color:#333;
}

.logo.desk {
	display:block;
}

.logo.mob {
	display:none;
}

header > .content {
	display:flex;
	justify-content:space-between;
}

.home,
.project {
	height:calc(100vh - 105px);
}

.gallery {
	height: 100%;
	width:100%;
	display:none;
}

.row {
	display:flex;
	margin: 0 -10px;
}

.row .col {
	padding:0 10px;
}

.rslides_nav {
	top:0;
	left:0;
	width:50%;
	height:0%;
	background:0;
	margin:0;
	z-index:99;
	outline:0;
}

.next {
	cursor: url(../img/arrow-right.svg), auto;
}

.prev {
	cursor: url(../img/arrow-left.svg), auto;
}

.download-img {
	position:absolute;
	z-index:99;
	top:0;
	bottom:0;
	left:0;
	right:0;
	opacity:0;
}

/* Grid */

.grid {
	display:flex;
	flex-wrap:wrap;
	margin:0 -20px;
	overflow:hidden;
}

.grid.loaded {
	opacity:1;
}

.grid__item {
	float:left;
	width:33.33%;
	margin:0;
	padding:0 20px 30px;
}

.profile .grid__item {
	padding:0 20px;
	-webkit-filter:grayscale(0%);
	        filter:grayscale(0%);
}

.profile .grid__item img {
	-webkit-filter:grayscale(0%);
	filter:grayscale(0%);
}

.grid__item img:hover {
	-webkit-filter:grayscale(0%);
	        filter:grayscale(0%);
}

.grid__item img {
	-webkit-filter:grayscale(100%);
	        filter:grayscale(100%);
	-webkit-transition:-webkit-filter 0.4s ease;
	transition:-webkit-filter 0.4s ease;
	transition:filter 0.4s ease;
	transition:filter 0.4s ease, -webkit-filter 0.4s ease;
	-webkit-transition:filter 0.4s ease;
	-moz-transition:filter 0.4s ease;
	-o-transition:filter 0.4s ease;
}

.grid__item-title {
	padding-top:5px;
	display:block;
}

.grid__item img {
	display:block;
	max-width:100%;
	height:auto;
}

.title {
	color:#ccc;
}

a.title:hover {
	color:#000;
}

@media screen and (max-width:768px) {
	main {
		padding-bottom:20px;
	}
	
	.grid__item {
		width:50%;
	}
	
	.grid__item img {
		-webkit-transition:-webkit-filter 0.5s ease;
		transition:-webkit-filter 0.5s ease;
		transition:filter 0.5s ease;
		transition:filter 0.5s ease, -webkit-filter 0.5s ease;
		-webkit-transition:filter 0.5s ease;
		-moz-transition:filter 0.5s ease;
		-o-transition:filter 0.5s ease;
	}
	
	.logo.desk {
		display:none;
	}

	.logo.mob {
		display:block;
	}
}

@media screen and (max-width:550px) {
	.grid__item {
		width:100%;
	}
}

@media screen and (max-width:450px) {
	.row {
		flex-flow: row wrap;
	}
}
