/* RESETS */

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, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

html {
	font-size: 100%;
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	background: #efefec;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
nav,
section {
	display: block;
}

ol, ul {
	list-style: none;
}

table {
	border-collapse: separate;
	border-spacing: 0;
}

caption, th, td {
	font-weight: normal;
	text-align: left;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}

blockquote, q {
	quotes: "“ ”";
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

a img {
	border: 0;
}

/* General Use Classes */

.hide-text {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.hide {
  display: none;
  z-index: -100;
}

/* FIXES */

.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.clearfix {
	zoom: 1;
}



/* BASELINE */

body {
	color: #444444;
	font-family: 'Whitney A', 'Whitney B', sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.25;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}


/* HEADINGS */

h1,h2,h3,h4,h5,h6 {
	clear: both;
	color: #596563;	
	font-style: normal;
	font-weight: 400;
	line-height: 1.2em;
	font-family: 'Whitney Cond A', 'Whitney Cond B';
	text-align: center;
}

h1 {
  font-size: 2em;
}

h2 {
  font-size: 1.75em;
}

h3 {
  font-size: 1.5em;
}

h4 {
  font-size: 1.2em;
}

h5 {
  font-size: 1em;
}

h6 {
  font-size: 0.8em;
}


hr {
	background-color: #c8cac0;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

em, i {
	font-style: italic;
}



/* LINKS */

a {
	color: #2a574f;
	font-weight: 700;
	text-decoration: none;
}

a:hover,
a:focus,
a:active {
	color: #208673;
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {
	text-decoration: none;
	color: #596563;
}


/* TEXT */

p {
	color: #444444;
	font-family: 'Whitney A', 'Whitney B';
	font-weight: 400;
	font-style: normal;
	font-size: 16px;
	margin-bottom: 1.25em;
}

p strong {
	font-weight: 700;
}

blockquote {
	color: #777777;
	font-family: 'Whitney Cond A', 'Whitney Cond B';
	font-weight: 400;
	font-style: normal;
	font-size: 18px;
	margin: 0 auto 1.25em auto;
	width: 65%;
}

img {
	height: auto;
	max-width: 100%;
}


/* LAYOUT */

.text {
	background: #c8cac0;
}

.image {
	background: #ffffff;
}

.wrap {
	max-width: 1024px;
	margin: 0 auto;
}

.notes {
	color: #82847e;
	font-size: 14px;
	padding-bottom: 0.5em;
}

.sticky {
	width: 150px;
	text-align: center;
	font-weight: 600;
	font-family: 'Whitney A', 'Whitney B';
	font-size: 1.25em;
}

.sticky a {
	padding: 4px;
	background: #e6f9fb;
	border-radius: 18px;
	display: block;
}

.left {
	float: left;
}

.right {
	float: right;
}

#main {
	width: 1024px;
	margin: 20px auto 60px auto;
	text-align: center;
}

#main p {
	max-width: 600px;
}

#main h1 {
	max-width: 600px;
	display: inline-block;
}

#main .notes {
	max-width: 600px;
}

.intro {
	max-width: 600px;
	margin: 0 auto;
}

.intro p {
	text-align: left;
	font-size: 1.45em;
	font-weight: 400;
	font-family: 'Whitney Cond A', 'Whitney Cond B';
}

.intro h1 {
	text-align: center;
	width: 300px;
	padding-bottom: 0.5em;
	border-bottom: 1px solid #c8cac0;
	margin-bottom: 1.5em;
}

.outro {
	width: 600px;
	text-align: left;
	margin: 60px auto 10px auto;
}

.passage {
	width: 600px;
	text-align: left;
	margin: 10px auto;
	line-height: 1.25;
}

.gallery-listing {
	width: 940px;
	text-align: left;
	margin: 0 auto 2em auto;
	font-size: 0;
}

.gallery {
	width: 940px;
	margin: 0 auto;
	font-size: 0;
	line-height: 0;
}

.gallery img {
	display: inline-block;
	margin: 5px;
}

.gallery .double,
.gallery .triple,
.gallery .map {
	margin: 5px 0;
}

.gallery img {
	width: 100%;
	max-width: 760px;
}

.gallery .double img {
	width: 45%;
}

.gallery .triple img {
	width: 30%;
}

.gallery .map img {
	width: 500px;
}

.gallery-thumb,
.gallery-thumb-blank {
	position: relative;
	display: inline-block;
	margin: 15px;
	width: 280px;
	height: 280px;
	background-color: #fbfbfb;
	text-align: center;
	overflow: hidden;
}

.gallery-thumb {
	font-style: normal;
	font-weight: 400;
	line-height: 0.5em;
	font-style: normal;
	font-family: 'Whitney Cond A', 'Whitney Cond B';
	font-size: 18px !important;
}

.gallery-thumb-blank {
	font-style: normal;
	font-weight: 400;
	line-height: 1.25em;
	font-style: normal;
	font-family: 'Whitney A', 'Whitney B';
	font-size: 1em;
}

.gallery-thumb a {
	margin: 0;
	padding: 0;
	display: block;
	min-height: 100%;
    min-width: 100%;
	overflow: hidden;
	color: rgba(255,255,255,0.5);
	text-shadow: none;
	font-size: 1.85em !important;
	font-style: normal;
	font-weight: 400;
	line-height: 1em;
}

.gallery-thumb a:hover,
.gallery-thumb a:focus  {
	color: rgba(255,255,255,1.0);
	text-shadow: 1px 1px 3px rgba(0,0,0,0.25);
}

.gallery-thumb a img {
    min-height: 100%;
    min-width: 100%;
}

.gallery-thumb span {
	position: absolute;
	display: block;
	width: 280px;
	height: 280px;
	z-index: 100;
	line-height: 280px;
}

.gallery-thumb-blank span {
	position: absolute;
	display: block;
	width: 280px;
	height: 280px;
	z-index: 100;
	line-height: 280px;
}

.gallery-thumb a:hover span {
	background-color: rgba(0,0,0,0.5);
}

.footer {
	width: 600px;
	margin: 40px auto;
	color: #82847e;
	text-align: center;
}

.footer p {
	font-weight: 400;
	font-size: 12px;
}

.footer a {
	font-weight: 400;
}




/* SET SPECIFIC STYLES */

#pattaya-floating .intro h1 {
	color: rgba(243,68,100,1.0);
}
#pattaya-floating.gallery-thumb a:hover span {
	background-color: rgba(243,68,100,0.75);
}

#leslie-spit .intro h1 {
	color: rgba(93,126,47,1.0);
}
#leslie-spit.gallery-thumb a:hover span {
	background-color: rgba(93,126,47,0.75);
}

#looking-down .intro h1 {
	color: rgba(222,55,49,1.0);
}
#looking-down.gallery-thumb a:hover span {
	background-color: rgba(222,55,49,0.75);
}

#windows .intro h1 {
	color: rgba(79,125,140,1.0);
}
#windows.gallery-thumb a:hover span {
	background-color: rgba(79,125,140,0.75);
}

#cuba-libertad .intro h1 {
	color: rgba(204,39,39,1.0);
}
#cuba-libertad.gallery-thumb a:hover span {
	background-color: rgba(204,39,39,0.75);
}

#interiors .intro h1 {
	color: rgba(199,59,199,1.0);
}
#interiors.gallery-thumb a:hover span {
	background-color: rgba(199,59,199,0.75);
}

#exteriors .intro h1 {
	color: rgba(13,152,156,1.0);
}
#exteriors.gallery-thumb a:hover span {
	background-color: rgba(13,152,156,0.75);
}

#words .intro h1 {
	color: rgba(74,204,111,1.0);
}
#words.gallery-thumb a:hover span {
	background-color: rgba(74,204,111,0.75);
}

#boiling-lake .intro h1 {
	color: rgba(156,199,54,1.0);
}
#boiling-lake.gallery-thumb a:hover span {
	background-color: rgba(156,199,54,0.75);
}

#cuba-pastoral .intro h1 {
	color: rgba(223, 150, 89, 1.0);
}
#cuba-pastoral.gallery-thumb a:hover span {
	background-color: rgba(223,150,89,0.75);
}

#mount-evans .intro h1 {
	color: rgba(106,148,204,1.0);
}
#mount-evans.gallery-thumb a:hover span {
	background-color: rgba(106,148,204,0.75);
}

#algodones .intro h1 {
	color: rgba(219, 178, 34, 1.0);
}
#algodones.gallery-thumb a:hover span {
	background-color: rgba(219, 178, 34, 0.5);
}

#roads .intro h1 {
	color: rgba(214, 104, 90, 1.0);
}
#roads.gallery-thumb a:hover span {
	background-color: rgba(214, 104, 90, 0.5);
}

/* MEDIA QUERIES */

@media only screen and (max-width: 768px) {

	dl {
		margin-bottom: 30px;
	}
	
	dt {
		font-size: 24px;
	}
	
	#header {
		padding: 10px;
	}
	
	.wrap {
		width: 100%;
	}

	#main {
		width: 100%;
	}
	
	
	.intro,
	.outro,
	.passage,
	.footer {
		width: 90%;
		text-align: center;
	}
	
	.gallery,
	.gallery-listing {
		width: 100%;
		text-align: center;
		margin: 0;
		padding: 0;
	}
	
	.intro h1 {
		width: 90%;
	}
	
	.gallery .double,
	.gallery .triple,
	.gallery .map {
		margin: 0;
	}
	
	.gallery img,
	.gallery .map img   {
		width: 100%;
		margin: 2px 0;
		padding: 0;
	}
	
	.gallery .double img   {
		width: 50%;
		margin: 2px 0 !important;
		padding: 0;
	}
	
	.gallery .triple img   {
		width: 33.3%;
		margin: 2px 0 !important;
		padding: 0;
	}
	
	.gallery-thumb,
	.gallery-thumb-blank,
	.gallery-thumb span,
	.gallery-thumb-blank span {
		width: 280px;
		height: 280px;
	}
	
	.sticky {
		width: 100%;
		display: block;
		margin-bottom: 20px;
	}
	
	.right,
	.left {
		float: none;
	}
	
	#nav {
		display: none;
	}
}

@media only screen and (max-width: 480px) {

	.gallery .double img,
	.gallery .triple img,
	.gallery .map img   {
		width: 100%;
		margin: 1px 0;
		padding: 0;
	}
	
	blockquote {
		width: 100%;
	}

}