table.gallery td, table.gallery input {
	font-family:  Tahoma, Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
}

table.gallery input {
	color: #404040
}

table.gallery td {
	padding: 4px;
}

.gallery table {
	border-collapse: collapse;
	border: 0;	
}

.gallery table td {
	padding: 0;
	
}

.gallery table.head {
	background: #00ADEF url(../i/gallery/head-bg.gif) repeat-y right;
	height: 32px;
	border-bottom: 4px solid #FFFFFF;
}


.gallery table.head td {
	padding-left: 6px;
	text-transform: uppercase;
	color: #FFFFFF;
	font-family:  Tahoma, Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
}


.gallery .dir table.head {
	background: #94918C url();
	height: auto ! important;
}

.gallery .dir table.head td {
	padding: 2px;
}


.gallery table.explorer td {
	margin: 0;
	padding: 0;
	height: 100%;
}

.gallery table.explorer .dir {
	width: 126px;
}

.gallery .explorer .dir table {
	height: 100%;
	border-collapse: collapse;

}


               
.gallery table.explorer td.thumbnails {
	width: auto;
}


.gallery table.bot {
	height: 51px;
	margin-top: 6px;
}

.gallery table.bot td.l {
	width: 124px;
	border: 1px solid #94918C;
}

.gallery table.bot td.m {
	width: 6px;
}

.gallery table.bot td.r {
	width: auto;
	border: 1px solid #94918C;
	text-align: center;
}

.gallery table.bot td.r, .gallery table.bot td.r a {
	color: #000000;
}


.gallery .thumbnails table.item {
 float: left;
 margin: 0 3px 6px 3px ! important;
 padding: 0;
 border: 1px solid #A9A7A3;
 border-collapse: collapse;
 width: 166px;
 height: 180px;
}

/*
.gallery .thumbnails table.item {
	float: left;
	margin: 0 3px 6px 3px ! important;
	padding: 0;
	border: 1px solid #A9A7A3;
	border-collapse: collapse;
	width: 118px;
	height: 116px;
}
*/

.thumbnails table.item img {
	display: block;
	background-color: #FFFFFF;
	border: 1px solid #FFFFFF;
}

.thumbnails table.item table {
	width: auto;
	border: none;
	margin-left:auto; margin-right:auto;
}


.thumbnails table.item td {
	padding:0;
	margin: 0;
	color: #333333;
	text-align: center;
	text-align: center;
	margin-left:auto; margin-right:auto;
	padding-bottom: 2px;
}



.gallery div.wrap1 {
	border: 1px solid #A9A7A3;
}

.gallery div.wrap2 {
	padding: 0 3px 3px 0;	
	background: url(../i/gallery/bl.gif) left bottom no-repeat;
}

.gallery div.wrap3 {
	background: url(../i/gallery/tr.gif) right top no-repeat;
}

.gallery div.wrap4 {
	background: url(../i/gallery/shadow.gif) right bottom;
}        


.gallery .menuleft a{
	display: block;
	color: #000000;
	text-decoration: none;
	padding: 2px 0 2px 15px;
	background: url(../i/gallery/m1.gif) no-repeat 0px 3px;
}

.gallery .menuleft a:hover{
	text-decoration: underline;
}


.gallery div.submenuleft {
	background: #F5F5F5;
}

.gallery .submenuleft a{
	color: 	#626262;
	background: url(../i/gallery/m2.gif) no-repeat 9px 0.8em;
}

div.submenuleft {
	display: none;
}
