body {
	margin: 0;
	padding: 0;
	font-family: Arial, Helvetica, sans-serif;
	color: #4C1B1B;
}



a {
	outline: none;
}

.container1 {
	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 40px;
}

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

.gallery {
	width: 100%;
	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: #BD8D46;
		font-size: .85em;
		text-decoration: none;
		text-transform: uppercase;
		padding: 3px 20px;
		background: url('../img/unchecked.png') no-repeat 0px 3px;
	}

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

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

.thumbnail_wrap {
	position: relative;
}

a.thumbnail {
	position: absolute;
}

a.thumbnail img {
	width: 75px;
	height: 75px;
	background-color: #000;
	padding: 2px;
	box-shadow: 0px 0px 4px #blue;
}
	span.text-content {
	  background: rgba(0,0,0,1);
	  color: white;
	  cursor: pointer;
	  display: table;
	  height: 25px;
	  left: 0;
	  position: absolute;
	  bottom: 0;
	  width: 100%;
	  opacity: 0;
	}
	a.thumbnail img:hover span.text-content {
		box-shadow: 0px 0px 4px #4C1B1B;
	}
@media screen and (min-width: 480px){
	a.thumbnail img {
	width: 344px;
	height: 250px;
	background-color: #000;
	padding: 2px;
	box-shadow: 0px 0px 4px #blue;
	}
	
	span.text-content {
	  background: rgba(0,0,0,1);
	  color: white;
	  cursor: pointer;
	  display: table;
	  height: 25px;
	  left: 0;
	  position: absolute;
	  bottom: 0;
	  width: 100%;
	  opacity: .9;
	}
	
	span.text-content span {
	  display: table-cell;
	  text-align: center;
	  vertical-align: middle;
	}
		
}




.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-right: 20px;
	}
}