/* EpicView.org */
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box; 
	box-sizing: border-box; 
}
body {
	padding: 0px;
	margin: 0px;
	font-family: Roboto;
	color: #fffffe;
}
h1 {
	font-size: 14px;
	font-weight: bold;
	display: inline;
}
h2 {
	font-size: 14px;
	display: inline;
	font-weight: normal;
}
a {
	color: #FFDE17;
	text-decoration: none;
}
a:hover {
	color: #FFDE17;
	text-decoration: underline;
}
.wrapper {
	width: 100%;
	height: 100%;
	overflow-x: hidden;
	overflow-y: scroll;
	background: url('../img/background.jpg') no-repeat center top fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	margin: 0;
	padding: 0;
}
.logo {
	margin: 50px 0 0 50px;
	display: inline-block;
	width: 207px;
	height: 77px;
}
.head {
	margin: 0;
	padding: 0;
	display: inline-block;
	vertical-align: top;
	padding: 20px 0 0 20px;
}
.mail {
	display: inline;
}
.nav {
	display: block;
}
.nav .btn {
	margin-right: 5px;
}
.btn {
	font-size: 14px;
	padding: 5px;
	width: 75px;
	text-align: center;
	background-color: #ffde14;
	border-bottom: #ffca14 solid 5px;
	margin-top: 24px;
	display: inline-block;
	-moz-user-select: none; 
	-webkit-user-select: none; 
	-ms-user-select:none; 
	user-select:none;-o-user-select:none;
}
.btn:hover {
	background-color: #ffd615;
}
.container {
	width: 100%;
	max-width: 700px;
	margin-left: 281px;
}
.preview {
	width: 640px;
	height: 520px;
	overflow: hidden;
	top: 0; bottom: 0;
	left: 0; right: 0;
	margin: auto;
	position: absolute;
	/* background-color: #ff0000; */
}
.screen {
	width: 640px;
	height: 480px;
	overflow-y: scroll;
	overflow-x: hidden;
	margin: 30px auto 0;
}
.screen::-webkit-scrollbar {
    width: 5px;
}
.screen::-webkit-scrollbar-track {
    background-color: #ffde14;
}
.screen::-webkit-scrollbar-thumb {
    background-color: #ffa914;
}
.modal {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	overflow: hidden;
}
.btn-close {
	position: absolute;
	top: 0;
	right: 0;
	margin: 0;
	width: 20px;
	height: 15px;
}
.grid {
	width: 320px;
	height: 180px;
	display: inline-block;
	margin: 0 10px 10px 0;
	position: relative;
}
.grid:hover .grid-title {
	visibility: visible;
}
.grid-title {
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.75);
	position: absolute;
	line-height: 180px;
	text-align: center;
	visibility: hidden;
	text-transform: uppercase;
}
.container-work, .container-client {
	display: none;
}
.client {
	width: 180px;
	height: 180px;
	padding: 10px;
	line-height: 150px;
	text-align: center;
	position: relative;
	border: #fff solid 2px;
	display: inline-block; 
	margin: 0 10px 10px 0;
}
.client:hover .client-title {
	visibility: visible;
}
.client a {
	color: #fff;
}
.client a:hover {
	color: #FFDE17;
	text-decoration: none;
}
.client-title {
	visibility: hidden;
	background-color: rgba(0, 0, 0, 0.75);
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0; left: 0;
	z-index: 1;
	line-height: 180px;
	font-size: 12px;
}
.client img {
	max-width: 130px;
	position: absolute;
	top: 0; bottom: 0;
	left: 0; right: 0;
	margin: auto auto;
}

@media only screen and (max-width: 840px) {
	.logo {
		margin: 50 auto;
	    width: 100%;
	    text-align: center;
	}
	.head {
		margin: 0;
		padding: 0 20px;
	}
	.container {
		margin: 0;
		padding: 20px;
	}
	.grid, .grid img {
		width: 100%;
		height: auto;
	}
	.client {
		width: 46%;
	}
	.client img {
		/* width: 100%; */
	}
}

@media only screen and (max-width: 360px) {
	.client {
		width: 100%;
	}
}