html {
	-webkit-font-smoothing: antialiased;
}

html, body {
    -webkit-user-select: none; /* webkit (safari, chrome) browsers */
    -moz-user-select: none; /* mozilla browsers */
    -khtml-user-select: none; /* webkit (konqueror) browsers */
    -ms-user-select: none; /* IE10+ */
}

body {
	/*font-family: Georgia, Times, serif;*/
	font-family: "soleil",sans-serif;
	font-weight:400;
	font-size: 14px;
	line-height:20px;
	color:#111;
	background-color: rgb(255,250,245);
	background-color: rgb(255,255,255);
	background-color: rgb(245,242,240);
	margin: 15px 18px;
}

a, a:link, a:visited {
	color: inherit;
	text-decoration:none;
}

a:hover {
	font-weight:bold;
}

#navigation {
	position:fixed;
	z-index:10000000;
}
#navigation .current {
	font-weight:bold;
}

#controls {
	position:fixed;
	top:15px;
	right:18px;
	right:200px;
	left:200px;
	text-align:center;
}

#controls #prev,
#controls #next {
	display:inline-block;
	width:30px;
	text-align:center;
}
#controls #prev:hover,
#controls #next:hover {
	color:#000;
}

#controls .dot {
	display:inline-block;
	width:16px;
	text-align:center;
}
#controls span:hover {
	cursor:pointer;
	cursor:hand;
}

.image_holder {
	position:fixed;
	left:0px;
	right:0px;
	top:0px;
	bottom:0px;
	display:none;
}
.image_holder.current {
	display:block;
}

.image_positioner {
	position:relative;
	height:100%;
	width:100%;
	text-align:center;
}

.image_positioner .helper {
	display:inline-block;
	width:0;
	height:95%;
	vertical-align: middle;
}

.image_positioner img {
	display:inline-block;
	vertical-align: middle;
	max-width: 850px;
	max-height: 700px;
}

.image_holder .title {
	position:fixed;
	bottom:15px;
	text-align:center;
	left:0;
	right:0;
}

#index_link {
	margin:0.75em 0 0;
}

#image_index {
	position:absolute;
	text-align:center;
	padding: 30px 30px 50px;
}

#image_index #spacer {
	width:200px;
	height:100%;
	display:inline-block;
}

.index_link {
	margin:0 20px 20px 0;
	display:inline-block;
}
.index_link:hover {
	opacity:0.75;
}

.index_link img {
	width: auto;
	height: 250px;
}

#right {
	position:fixed;
	top:15px;
	right:18px;
	text-align:right;
	width: 200px;
}
#jd,
#contact_link {
	display: inline-block;
	width: 70px;
}
#jd {
	width: 80px;
}

#contact_link:hover {
	font-weight:bold;
	cursor: pointer;
}
#contact_link.selected {
	font-weight: bold;
}

#contact_details {
	width: 500px;
	margin: 15px auto 30px;
}

@media (max-height:860px) {
	.image_positioner img {
		max-width: 638px;
		max-height: 525px;
	}
}

@media (max-width:980px){
	.dot {
		display:none !important;
	}
	#contact_details {
		width: auto;
		padding: 200px 0 30px;
	}
	#image_index {
		padding: 40px 40px 50px;
	}
	.index_link {
		margin:0 10px 10px 0;
	}
	.index_link img {
		height: 200px;
		width: auto;
	}
	.image_positioner img {
		max-width: 638px;
		max-height: 525px;
	}
}

@media (max-height:680px){
	.image_positioner img {
		max-width: 425px;
		max-height: 350px;
	}
}
@media (max-width:700px){
	.image_positioner img {
		max-width: 425px;
		max-height: 350px;
	}
}

@media (max-width:500px){
	body {
		margin: 0;
	}
	#navigation {
		display:none;
	}
	#right {
		position: absolute;
		right: auto;
		left: 18px;
		text-align: left;
	}
	#jd {

	}
	#contact_details {
		padding: 30px 20px;
	}
	#image_index {
		padding: 60px 20px 50px;
	}
	.index_link {
		margin:0 0 16px 0;
		display: block;
	}
	.index_link:hover {
		opacity:1;
		cursor: default;
	}
	.index_link img {
		width: 100%;
		height: auto;
	}
}
