@import url(https://fonts.googleapis.com/css?family=Roboto+Slab:100,300,500,700);
* {
	margin: 0;
	padding: 0;
}
body {
	background: #E0E0E0;
	font-family: 'Roboto Slab', sans-serif;
	overflow-x: hidden;
}

header, footer {
	width: 100%;
	position: absolute;
}
header {
	top: 0;
}
footer {
	position: fixed;
	background: #C2C2C2;
	bottom: 0;
	margin-top: 22px;
	height: 60px;
	line-height: 60px;
	font-size: smaller;
}
footer .left, footer .right {
	display: inline-block;
	position: absolute;
}
footer .left {
	left: 0;
	padding-left: 30px;
	z-index: 9;
}
footer .right {
	right: 0;
	padding-right: 30px;
	z-index: 8;
}

/* */
ul.social-network {
	list-style: none outside;
	overflow: hidden;
}
ul.social-network li {
	display: inline-block;
	width: auto;
	font-weight: 200;
	padding: 0 !important;
	text-align: center;
	background: #94896D;
}
ul.social-network li:hover {
	background: #C7B996
}
ul.social-network li a, ul.social-network li span {
	cursor: pointer;
	display: block;
	padding: 0 18px;
	color: #FFF;
	font-size: 13px;
	line-height: 40px;
	text-decoration: none;
}
ul.social-network li.email {
	background: #529896
}
ul.social-network li.email:hover {
	background: #a9cccb
}
ul.social-network li.linkedin {
	background: #3085d6
}
ul.social-network li.linkedin:hover {
	background: #5b9ede
}
ul.social-network li.google {
	background: #CA3838
}
ul.social-network li.google:hover {
	background: #D56060
}
ul.social-network li.twitter {
	background: #00aced
}
ul.social-network li.twitter:hover {
	background: #21c2ff
}
ul.social-network li.github {
	background: #94896D
}
ul.social-network li.github:hover {
	background: #C7B996
}

.content {
	display: flex;
	-ms-flex-align: center;
	-webkit-align-items: center;
	-webkit-box-align: center;
	align-items: center;
	height: 90%;
}
.image-grid {
	list-style: none;
	text-align: center;
	max-width: calc(100% - 272px);
	margin: 0 auto;
}
.image-grid li {
	display: inline-block;
	max-width: 360px;
	padding: 10px;
	margin: .4em;
	text-align: left;
	background: #FFF;
}
.image-grid li:hover {
	background: #D2D2D2;
}
.image-grid li:active {
	background: #B2B2B2;
}
.image-grid img {
	width: 100%;
}

.ads {
	width: 120px;
	height: 240px;
	background: white;
	margin: 0 auto;
}

.header-placeholder {
	display: none;
	height: 22px;
	content: " ";
}
.footer-placeholder {
	display: none;
	height: 82px;
	content: " ";
}

@media only screen and (max-width : 1080px) {
	footer .left, footer .right {
		display: block;
		position: relative;
	}
	footer .left {
		padding-left: 1em;
	}
	footer .right {
		padding-right: 0;
	}
	header, footer {
		position: relative
	}
	footer {
		height: initial;
	}
	ul.social-network li {
		display: block;
	}
	.content {
		display: block;
		height: initial;
		padding: 2em 0;
	}
	.image-grid {
		max-width: 100%;
	}
	.image-grid li {
		width: 88%;
	}
	.ads {
		position: relative;
		top: initial;
	}
	.ads.left {
		display: none;
	}
	.ads.right {
		margin-top: 45px;
	}
	.header-placeholder {
		display: none;
	}
	.footer-placeholder {
		display: none;
	}
}

@media only screen and (max-width : 1460px) {
	.header-placeholder {
		display: none;
	}
	.footer-placeholder {
		display: block;
	}
}

@media only screen and (max-height: 720px) and (max-width: 1460px) {
	.content {
		height: initial;
	}
	.header-placeholder {
		display: block;
	}
}
