html {
    height: 100%;
}
body {
	

background-color:#ddd;
background-image: radial-gradient(closest-side, transparent 98%, rgba(0,0,0,.02) 99%),
radial-gradient(closest-side, transparent 98%, rgba(0,0,0,.02) 99%);
background-size:40px 40px;
background-position:0 0, 20px 20px;


	font-size: 16px;
	font-family: 'Actor', sans-serif;
	margin: 15px auto 20px auto;
	padding: 0;
	color: #666;
}
a {
	color: #666;
	font-family: 'Actor', sans-serif;
}
#wrapper {
	margin: 0 6% 0 13%;
	border: 0px solid #000;
}
.cell {
	width: 29%;
	padding: 1% 1% 1% 1%; 
	margin: 1% 1%; 
	float: left;
	background-color: #f0f0f0;
	border-radius: 0;
	overflow: hidden;

	}

.cell img {
	width: 100%;
	cursor: pointer;
	border: 0px solid #ddd;
    border-radius: 0;
	}

.cell:hover {
	background-color: #cdf;
}

.text {
	padding-top: 3%;
	width: 100%;
	white-space: nowrap;
	overflow: hidden;
	font-size: 100%;
	
}

.imgwrap {
	margin: 2px 0 0 0;
	padding: 0px 0px;
	overflow: hidden;
	border: 0px solid #f0f0f0;	
}











.cell {
position: relative;
z-index: 1; /* prevent shadows falling behind containers with backgrounds */
overflow: hidden;
list-style: none;
}

.cell {
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 0, 0, 0.06) inset; 
}


.cell:before,
.cell:after {
content: '';
z-index: -1;
position: absolute;
left: 7%;
bottom: 21%;
width: 65%;
max-width: 300px; /* avoid rotation causing ugly appearance at large container widths */
max-height: 100px;
height: 50%;
-webkit-box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
-moz-box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
-webkit-transform: skew(-15deg) rotate(-6deg);
-moz-transform: skew(-15deg) rotate(-6deg);
-ms-transform: skew(-15deg) rotate(-6deg);
-o-transform: skew(-15deg) rotate(-6deg);
transform: skew(-15deg) rotate(-6deg); 
border-radius: 0px;
}


.cell:after {
left: auto;
right: 7%;
-webkit-transform: skew(15deg) rotate(6deg);
-moz-transform: skew(15deg) rotate(6deg);
-ms-transform: skew(15deg) rotate(6deg);
-o-transform: skew(15deg) rotate(6deg);
transform: skew(15deg) rotate(6deg); }





#galleryPagination li{
	list-style: none;
	float: left;
	margin: 10px 10px 60px 0px;
	padding: 20px;
	background: #eeeeee;
	box-shadow: 1px 1px 7px #aaa;
}


.active a{
	display: block;
	text-decoration: none;
	font-weight: bold;
}

#galleryPagination a:hover{
	display: block;
	text-decoration: underline;
	font-weight: normal;
}





#sortable { 
	list-style-type: none; 
	margin: 0; 
	padding: 0; 
	width: 60%; 
}
#sortable li { 
	margin: 0 3px 3px 3px; 
	padding: 0.4em; 
	padding-left: 1.5em; 
	font-size: 1.4em; 
	height: 18px; 
}
#sortable li span { 
	position: absolute; 
	margin-left: -1.3em; 
}
.edit {
	font-family: 'Actor', sans-serif;
	width: 7.1%;
	padding: 0.7% 0.7% 0.7% 0.7%; 
	margin: 0.2% 8.2% 1% 13.4%;  
	background-color: #f0f0f0;
	border-top-left-radius: 5px 5px;
	border-top-right-radius: 5px 5px;
	border-bottom-left-radius: 5px 5px;
	border-bottom-right-radius: 5px 5px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 0, 0, 0.06) inset; 
	text-decoration: none;
	display: block;
}
.edit:hover {
	background-color: #cdf;
}