/*  Theme Name: Mila Pentti Custom
	Version: 0.1
	Author: Jonatan Eriksson
	Author URI: jonataneriksson.com */
	
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,code,del,dfn,em,img,q,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td {
	list-style-type:none;
	color:inherit;
	text-decoration:none;
	margin:0;
	padding:0;
	border:0;
	font-weight:inherit;
	font-style:inherit;
	font-size:100%;
	vertical-align:baseline;
	outline:none;
	border-collapse:collapse;
	table-layout:fixed;
}

body {
	background-color: #f0f0eb;
	color: #212121;
	font-size: 10px;
	font-family: ProximaNovaA-Bold; 
}

strong {
	font-family: ProximaNovaA-Bold; 
}

.post {
	position: relative;
	text-align: center;
	float: left;
	margin-bottom: -1px;
	padding-top: 1px;
	border-bottom: #bebebe solid 1px;
	height: 435px;
	width: 313px;
}

#header {
	width: 940px;
	margin-right: auto;
	margin-left: auto;
	border-top-color: #bebebe;
	border-top-width: 1px;
	border-bottom-style: solid;
	border-top-style: solid;
	border-bottom-color: #bebebe;
	border-bottom-width: 1px; 
	margin-top: 40px;
	overflow: auto;
	z-index: 1;
	position: relative;
}

#content {
	margin-left: -470px;
	left: 50%;
	position: relative;
	width: 940px;
	float: left;
	margin-right: -20px;
	border-bottom-style: solid;
	border-bottom-color: #bebebe;
	border-bottom-width: 1px;
}

h2 {
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.heading {
	width: 100%;
	text-align: center;
	display: block;
	bottom: 45px;
	position: absolute;
}

#footer {
	line-height: 18px;
	float: left;
	padding-top: 25px;
	letter-spacing: 0.18em;
	width: 100%;
	text-align: center;
	text-transform: uppercase;
	padding-bottom: 50px;
}

#title {
	margin-left: 0px;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #bebebe;
	float: left;
	background-position: center 15px;
	height: 170px;
	display: block;
	width: 460px;
	background-repeat: no-repeat;
	background-image: url(images/mila-pentti.png);
	text-indent: -9999px;
}

#contact {
	margin-top: 48px;
	letter-spacing: 2px;
	line-height: 18px;
	text-transform: uppercase;
	float: right;
	text-align: center;
	width: 460px;
}

h1 {
	margin-left: 20px;
	margin-bottom: 30px;
	margin-top: 30px;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 19px;
	line-height: 38px;
	width: 200px;
	float: left;
	
}

.content {
		text-transform: uppercase;
		letter-spacing: 2px;
		line-height: 18px;
		font-size: 10px;
		font-family: ProximaNovaA-Bold;
		text-align: center;
		margin-bottom: 30px;
		margin-top: 30px;
		float: left;
		margin-left: 50px;
		width: 170px;
}
		
/* .content {	
		column-count:2;
	    column-gap:20px;
		-moz-column-count:2;
	    -moz-column-gap:20px;
		 -webkit-column-count:2;
	    -webkit-column-gap:20px; */
	    
} */

em.TimesNewRoman {
	letter-spacing: 0px;
	font-size: 12px;
	text-transform: none;
	font-style: italic;
	font-family: "Times New Roman", Times, serif;
}

em {
	color: #8c8c89;
}
 #large-gallery {
	height: 700px;
	width: 100%;
	overflow: hidden;
	position: relative;
	top: -20px;
}

#large-gallery ul {
	left: 0px;
}

#large-gallery .gallery {
	width: 99999px;
}

#large-gallery li {
	text-align: center;
	float: left;
	
}

#thumbnail-list {
	display: none;
	border-top-color: #bebebe;
	border-top-width: 1px;
	border-top-style: solid;
	margin-top: -40px;
	padding-top: 40px;
	margin-bottom: -1px;
}

#thumbnail-list li {
	cursor: pointer;
	height: 400px;
	width: 313px;
	float: left;
	border-bottom: #bebebe solid 1px;
}

#large-gallery li .wrapper {
	display: inline-block;
	width: 940px;
}

#large-gallery li .centered {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	height: 700px;
	width: 940px;
}


#thumbnail-list li .centered, .thumbnail .centered {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	height: 400px;
	width: 313px;
}


.gallery {
	overflow: auto;
	position: relative;
}

.next-button, .prev-button {
	font-family: ProximaNovaA-Regular;
	cursor: pointer;
	
	top: 300px;
	
	position: absolute;
	
	display: block;
		font-size: 80px;
	z-index: 3;
}
 .next-button {
	display: none;
	right: 140px;
}

 .prev-button {
	display: none;
	left: 140px;
}

#whole {
	background-color: rgba(240,240,235, 0.95);
	overflow: auto;
}

 #screen {
	position: absolute;
	top: 0;
	z-index: 2;
	width: 100%;
	overflow: hidden;
}
 .loader {
 	background-color: rgba(240,240,235, 0.95);
	background-image: url(images/ajax-loader.gif);
	background-repeat: no-repeat;
	background-position: center center;
	top: 0;
	height: 100%;
	width: 100%;
	text-indent: -9999px;
	display: block;
	position: fixed;
}
 .close {
	display: block;
	background-position: center center;
	background-image: url(images/close.png);
	background-repeat: no-repeat;
	height: 49px;
	width: 49px;
	position: absolute;
	top: 20;
	left: 890px;
	text-indent: -9999px;
	cursor: pointer;
}
 .illustration {
	height: 400px;
	width: 313px;
	left: 0px;
	top: 1px;
	position: absolute;
	background-repeat: no-repeat;
	opacity: 0.9;
}
 