/*
Theme Name: James' Minilot Theme
Author: James Shedden Design
Version: 1.1
*/

/* =Reset
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
}
body {
	line-height: 1;
}
ol,
ul {
	list-style: none;
}
blockquote,
q {
	quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption,
th,
td {
	font-weight: normal;
	text-align: left;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}
html {
	overflow-y: scroll;
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}
a:focus {
	outline: thin dotted;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
	display: block;
}
audio,
canvas,
video {
	display: inline-block;
}
audio:not([controls]) {
	display: none;
}
del {
	color: #333;
}
ins {
	background: #fff9c0;
	text-decoration: none;
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin: 24px;
	margin-bottom: 1.714285714rem;
}
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	top: -0.5em;
}
sub {
	bottom: -0.25em;
}
small {
	font-size: smaller;
}
img {
	border: 0;
	-ms-interpolation-mode: bicubic;
}

/* Clearing floats */
.clear:after,
.wrapper:after,
.format-status .entry-header:after {
	clear: both;
}
.clear:before,
.clear:after,
.wrapper:before,
.wrapper:after,
.format-status .entry-header:before,
.format-status .entry-header:after {
	display: table;
	content: "";
}


/* =James' CSS
-------------------------------------------------------------- */

body, html {
	height: 100%;
	margin: 0;
}

#wrapper {
	/*display: table;
	width: 100%;
	height: 100%;*/
}

#wrapper .content {
	/*display: table-row;*/
}

#left, #right {
	/*display: table-cell;*/
}

#left {
	background: url(left.jpg);
	width: 283px;
	height: 100%;
	display: block;
	position: fixed;
	top: 0px;
	left: 0px;
	box-shadow: 2px 2px 10px -5px #000;
}

	#left .link-inner {
		font-family: "Medula One";
		letter-spacing: 4px;
		background: url(bg_black_70.png);
		width: 100%;
		height: 100%;
		display: block;
		color: #fff;
		text-align: center;
		opacity: 0;
		text-decoration: none;
		font-size: 60px;
		transition-property: opacity;  
		transition-duration: 250ms;  
		transition-timing-function: ease;  
		-webkit-transition-property: opacity;  
		-webkit-transition-duration: 250ms;  
		-o-transition-property: opacity;   
		-o-transition-duration: 250ms;
		-moz-transition-property: opacity; 
		-moz-transition-duration: 250ms;
	}
	
	#left .link-inner:hover {
		opacity: 1;
		transition-property: opacity;  
		transition-duration: 150ms;  
		transition-timing-function: ease;  
		-webkit-transition-property: opacity;  
		-webkit-transition-duration: 150ms;  
		-o-transition-property: opacity;   
		-o-transition-duration: 150ms;
		-moz-transition-property: opacity; 
		-moz-transition-duration: 150ms;
	}

#right {
	margin-left: 283px;
	line-height: 0;
	padding: 5px;
	background: url(loader.gif) no-repeat;
	background-position: 20px 20px;
}

	#right p {
		font-family: "Dosis";
		font-size: 16px;
		line-height: 22px;
		margin-top: 0;
		margin-bottom: 22px;
	}
	
	#right p a {
		color: #888;
	}
	
	#page {
		padding: 20px;
		background: #ffffff;
		line-height: normal;
	}

#image-container {
	background: none;
	width: 100%;
}

#image-container .item {
	overflow: hidden;
	padding: 5px;
}

#image-container a img {
	border: 0;
}

#right img {
	width: 100%;
	height: auto;
	opacity: 0;
	transition-property: opacity;  
	transition-duration: 250ms;  
	transition-timing-function: ease;  
	-webkit-transition-property: opacity;  
	-webkit-transition-duration: 250ms;  
	-o-transition-property: opacity;   
	-o-transition-duration: 250ms;
	-moz-transition-property: opacity; 
	-moz-transition-duration: 250ms;
}

#right #map-canvas img {
	opacity: 1;
}


#right img:hover {
	opacity: 1;
	transition-property: opacity;  
	transition-duration: 150ms;  
	transition-timing-function: ease;  
	-webkit-transition-property: opacity;  
	-webkit-transition-duration: 150ms;  
	-o-transition-property: opacity;   
	-o-transition-duration: 150ms;
	-moz-transition-property: opacity; 
	-moz-transition-duration: 150ms;
}

#mi {
	background: url(mi.png);
}

#co {
	background: url(co.png);
}

#mi, #co {
	height: 50%;
	width: 100%;
	color: transparent;
	background-repeat: no-repeat;
	background-position: 100% 50%;
}

#left a:hover {
	cursor: pointer;
}

#map {
	background: #ffffff;
	position: relative;
	padding: 20px;
	overflow: auto;
	line-height: normal;
}

#map-canvas { 
	width: 100%;
	height: 500px;
	margin-bottom: 20px;
}


#back {
	width: 100%;
	background: #eee;
	border-radius: 4px;
	font-family: "Dosis";
	margin-bottom: 20px;
	line-height: normal;
	display: block;
}

#back.mobile {
	display: none;
}

#back:hover {
	background: #ddd;
	cursor: pointer;
}

#back .back-link {
	display: block;
	padding: 10px;
	text-decoration: none;
	color: #888;
}

#back:hover .back-link {
	color: #555;
}

#next-prev a {
	color: #fff;
}

#infscr-loading {
	position: fixed;
	overflow: hidden;
	width: 100%;
	height: 50px;
	bottom: 0px;
	background: #fff url(loader.gif) no-repeat;
	background-position: 10px 50%;
	border: 0;
	color: #fff;
}


#right img.single-image, #right img.single-image:hover {
	opacity: 1;
}

/* RESPONSIVE STUFF FOR #mi & #co & #map-canvas */

@media only screen and (max-height: 740px) {
	#map-canvas { height: 400px;}
}

@media only screen and (max-height: 543px) {
	#mi, #co { 
		background-size: 150px 170px;
	}
	#left { width: 193px; }
	#left .link-inner { font-size: 40px; }
	#right { margin-left: 193px; }
}

@media only screen and (max-height: 334px) {
	#mi, #co { 
		background-size: 90px 102px;
	}
	#left { width: 133px; }
	#left .link-inner { font-size: 24px; }
	#right { margin-left: 133px; }
}

/* MOBILE */

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
	#left {
		background: url(bg_mobile.jpg);
		width: 100%;
		height: 70px;
		padding: 0;
		margin: 0;
		display: block;
		position: fixed;
		top: 0px;
		left: 0px;
		box-shadow: 2px 2px 10px -5px #000;
		background-size: auto;
		z-index: 99999;
	}
	
	#mi, #co {
		width: 50%;
		background: none;
		float: left;
	}
	
	#left .link-inner {
		background: none;
		font-family: "Medula One";
		letter-spacing: 1px;
		width: 100%;
		height: 70px;
		color: #000;
		text-align: center;
		line-height: 70px;
		opacity: 0.8;
		text-decoration: none;
		font-size: 50px;
		transition-property: none;
	}
	
	
	#right {
		margin-left: 0;
		margin-top: 70px;
	}
	
	#right p {
		font-size: 22px;
		line-height: 30px;
	}
	
	#back.desktop {
		display: none;
	}
	
	#back.mobile {
		display: block;
		margin-top: 20px;
	}
	
	#back {
		font-size: 22px;
	}
	
	#right img { opacity: 1; }
	
	#map-canvas { 
		height: 250px;
	}
	
	#infscr-loading {
		width: 100%;
		background-position: 50% 50%;
	}
}

/* FANCYBOX */

/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp
{
	padding: 0;
	margin: 0;
	border: 0;
	outline: none;
	vertical-align: top;
}

.fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 8020;
}

.fancybox-skin {
	position: relative;
	background: #f9f9f9;
	color: #444;
	text-shadow: none;
	-webkit-border-radius: 4px;
	   -moz-border-radius: 4px;
	        border-radius: 4px;
}

.fancybox-opened {
	z-index: 8030;
}

.fancybox-opened .fancybox-skin {
	-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	   -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.fancybox-outer, .fancybox-inner {
	position: relative;
}

.fancybox-inner {
	overflow: hidden;
}

.fancybox-type-iframe .fancybox-inner {
	-webkit-overflow-scrolling: touch;
}

.fancybox-error {
	color: #444;
	font: 16px/22px "Dosis", sans-serif;
	margin: 0;
	padding: 15px;
	white-space: nowrap;
}

.fancybox-image, .fancybox-iframe {
	display: block;
	width: 100%;
	height: 100%;
}

.fancybox-image {
	max-width: 100%;
	max-height: 100%;
}

.fancybox-close, .fancybox-prev span, .fancybox-next span {
	background-image: url('fancybox_sprite.png');
}

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -22px;
	margin-left: -22px;
	background-position: 0 -108px;
	opacity: 1;
	cursor: pointer;
	z-index: 8060;
}

#fancybox-loading div {
	width: 44px;
	height: 44px;
	background: url('loader.gif') center center no-repeat;
}

.fancybox-close {
	position: absolute;
	top: -18px;
	right: -18px;
	width: 36px;
	height: 36px;
	cursor: pointer;
	z-index: 8040;
}

.fancybox-nav {
	position: absolute;
	top: 0;
	width: 40%;
	height: 100%;
	cursor: pointer;
	text-decoration: none;
	background: transparent url('blank.gif'); /* helps IE */
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	z-index: 8040;
}

.fancybox-prev {
	left: 0;
}

.fancybox-next {
	right: 0;
}

.fancybox-nav span {
	position: absolute;
	top: 50%;
	width: 36px;
	height: 34px;
	margin-top: -18px;
	cursor: pointer;
	z-index: 8040;
	visibility: hidden;
}

.fancybox-prev span {
	left: 10px;
	background-position: 0 -36px;
}

.fancybox-next span {
	right: 10px;
	background-position: 0 -72px;
}

.fancybox-nav:hover span {
	visibility: visible;
}

.fancybox-tmp {
	position: absolute;
	top: -99999px;
	left: -99999px;
	visibility: hidden;
	max-width: 99999px;
	max-height: 99999px;
	overflow: visible !important;
}

/* Overlay helper */

.fancybox-lock {
    overflow: hidden !important;
    width: auto;
}

.fancybox-lock body {
    overflow: hidden !important;
}

.fancybox-lock-test {
    overflow-y: hidden !important;
}

.fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	display: none;
	z-index: 8010;
	background: url('fancybox_overlay.png');
}

.fancybox-overlay-fixed {
	position: fixed;
	bottom: 0;
	right: 0;
}

.fancybox-lock .fancybox-overlay {
	overflow: auto;
	overflow-y: scroll;
}

/*Retina graphics!*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	   only screen and (min--moz-device-pixel-ratio: 1.5),
	   only screen and (min-device-pixel-ratio: 1.5){

	#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
		background-image: url('fancybox_sprite@2x.png');
		background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
	}

	#fancybox-loading div {
		background-image: url('fancybox_loading@2x.gif');
		background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
	}
}