body {
	margin: 0;
	padding: 0;
	font-family: "HelveticaNeueLTStd-Lt";
	/*color: #4C1B1B;*/
}

p {
	margin: 0px 0px 1em 0px;
}

a {
	outline: none;
}

.container {
	width: 100%;
	margin: 1em auto;
	padding: 1em;
	/*background-color: #F6E497;
	border: 1px solid #FCFAE1;
	border-radius: 10px;
	box-shadow: 0px 0px 10px #BD8D46;*/
	position: relative;
}

.title {
	width: 70%;
	margin: 0px auto 0px;
}

.title h1 {
	text-align: center;
	font-size: 36px;
	text-transform: uppercase;
	padding: 33px 10px;
	/*border-radius: 5px;
	box-shadow: 0px 0px 5px 1px #FCFAE1;*/
}

.gallery {
	width: 87%;
	margin: auto;
}

.filter {
	/*background-color: #FCFAE1;*/
	margin-bottom: 1em;
	padding: 2em 0 2em 1em;
	/*border-radius: 10px;*/
	/*box-shadow: 0px 0px 5px #BD8D46;*/
}

	.filter span {
		padding: 0 :; 0 0;
		/*font-family: Georgia, cursive;
		font-style: italic;*/
	}

	.filter a {
		    color: #000;
		font-size: .99em;
		text-decoration: none;
		text-transform: uppercase;
		padding: 4px 4px;
		background-color: #fff;
		
		/*background: url('../img/unchecked.png') no-repeat 0px 3px;*/
		
	}

	.filter a:hover {
		color: #fff;
	}

	.filter a.selected {
		 color: #E2E2E2;
		 background-color: #333333;
		/*background: url('../img/checked.png') no-repeat 0px 3px;*/
	}

.thumbnail_wrap {
	position: relative;
}

a.thumbnail {
	position: absolute;
}

a.thumbnail img {
	width: 200px;
	height: 200px;
	background-color: #FCFAE1;
	padding: 2px;
	box-shadow: 0px 0px 4px #ccc;
}

	a.thumbnail img:hover {
		box-shadow: 0px 0px 4px #ccc;
	}

.clear_floats {
	clear: both;
	line-height: 1px;
}

/* Horizontal Media Queries */
@media screen and (min-height: 50px) and (max-height: 520px) {
	.title h1 {
		font-size: 18px;
	}
}

@media screen and (min-height: 521px) and (max-height: 700px) {
	.title h1 {
		font-size: 24px;
	}
}


/* Vertical Media Queries */
@media screen and (min-width: 50px) and (max-width: 500px) {
	.title h1 {
		font-size: 18px;
	}

	body {
		padding: 0px 5px;
	}

	.gallery {
		width: auto;
	}

	.filter span {
		display: block;
		margin-bottom: 10px;
	}

	.filter a {
		display: block;
	}
}

@media screen and (min-width: 501px) and (max-width: 960px) {
	.title h1 {
		font-size: 24px;
	}

	.filter span {
		display: block;
		margin-bottom: 10px;
	}

	.filter a {
		display: block;
		width: 35%;
		float: left;
	}
	
}

@media screen and (min-width: 961px) {
	.filter span {
		padding-left: 20px;
		float:left;
		padding-right:5px !important;
	}
}

@media screen and (max-width: 420px) {
.thumbnail_wrap {
	margin:auto;
}
}