/* "table-items" should not be be in the 2 row tables used in the fixed 2 Row Galleries*/
* {
	margin:0;
	padding:0;
 	border:0
}

#contents .box-150 img { /*resets from master css sheet. Note, if using square images can define height & width here*/
	width:auto;
	border: 0px;
	padding: 0px;
}


.table-item {	
	display:block;
	float:left;
	margin: 10px 20px;
}

#contents {
	width: 570px;
}

#contents p{
	width:530px;
	margin:auto;
	padding: 0 0 40px 0;
	}

.box-150, .gallery-label {
	width:150px;
	}
	
.box-150 {
	height: 150px;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	border:1px solid #97957E;
}
.gallery-label {
	height: 45px;
	font-size: .7em;
	text-align: center;
	padding-top: 0.5em;
	vertical-align: top;
	display:block;
	overflow: hidden;
}

.gallery-label a{
	color:black;
	font-weight:normal;
}

.gallery-label a:hover{
	color:blue;
	font-weight:normal;
}

.box-150:hover {
	border: 1px solid blue;
}	



#more {
	font-size: 0.7em;
	font-weight: bold;
	color: black;
}

#more:hover {
	color:blue;
	}

.footer {
	background: white;
	padding: 30px 0 0 0;
	}

@media screen and (max-width:600px){ /* reduce to 2columns */
	.table-item {	
		margin: 10px 25px;
	}

	#contents {
		width: 400px;
	}
	
	#contents p{
		width:350px;
	}
}

@media screen and (max-width:420px){ /*narrow box and spacing*/
	.box-150, .gallery-label {
		width:140px;
	}
	
	.box-150 {
		height: 140px;
		background:whitesmoke;

	}
	
	.table-item {	
		margin: 10px 10px;
	}
	
	#contents {
		width: 320px;
	}
	#contents p{
		width:300px;
	}
}
