#imagedetail.loading {
	background:transparent url(loading.gif) no-repeat scroll 50% 50%;
	height:510px;
}
.gallery-list {
	padding:0px;
	margin:0px;
}

.gallery-list li{
	list-style:none;
	float:left;
	text-align:center;
	width:199px;
	height:200px;
    display:table;
}

.gallerytitle {
	font-size:18px;
	margin-right:20px;
}

.galleryitem {
	display:inline;
	float:left;
	height:125px;
	text-align:center;
	width:125px;
}

.galleryitem img {
	border:2px solid;
}

.galleryitem img:hover {
	cursor: pointer;
	cursor: hand;
}

.gal-link:hover {
	text-decoration:underline;
}
.gal-link {
	text-decoration:none;
}
.hover-img td div a {
	text-decoration:underline;
}

#imagedetail {
	/*float:right;*/
	min-height:510px;
	text-align:center;
	width:600px;
	height:100%;
}

#imagedetail img {
	border:4px solid;
}

#imagedetail img:hover {
	cursor: pointer;
	cursor: hand;
}

.navimage a{
	color:#cccccc;
}

.navimage a:hover {
	color:#6c3800;
}

.navimage{
	margin-bottom:20px;
}

.photo-list li{
	list-style:none;
	float:left;
	text-align:center;
	width:186px;
	height:200px;
}

a.buy-button{
    display: block;
    background: url("img/button2.png") no-repeat -3px -2px;
    float:right;
    cursor: pointer;
    cursor: hand;
    height:32px;
	width:120px;
	text-indent:-9999em;
	text-decoration:none;
}
a.buy-button:hover{/*Hover - это состояние ссылки, когда на неё наведён курсор*/
    background: url("img/button2.png") no-repeat -3px -42px;
}
a.buy-button:active{/*Состояния, когда кнопка нажата*/
    background: url("img/button2.png") no-repeat -3px -82px;
}

#wmform {
	display:none;
}

#buyphoto {
	width:200px;
	float:right;
	border:2px solid;
}
#buyphoto:hover {
	cursor:pointer;
/*	border-color:#CCCCCC; */
}

#wmform input, #wmform textarea {
	width:200px;
}

.admin td {
border:1px solid #656262;
padding:1px;
}
.admin th {
border:1px solid #656262;
color:#000000;
font-weight:bold;
font-size:12px;
padding:1px;
}
.admin {
border:1px solid #656262;
border-spacing:0;
margin:10px 0;
padding:1px;
text-align:center;
}
table.admin {
border-collapse:collapse;
padding:0;
}

.error {
	font-size:11px;
	color:#BC1C1C;
}

a.feedback-button{
    display: block;
    background: url("img/button-feedback.png") no-repeat -3px -2px;
    float:right;
    cursor: pointer;
    cursor: hand;
    height:32px;
	width:120px;
	text-indent:-9999em;
	text-decoration:none;
	clear:both;
}
a.feedback-button:hover{/*Hover - это состояние ссылки, когда на неё наведён курсор*/
    background: url("img/button-feedback.png") no-repeat -3px -42px;
}
a.feedback-button:active{/*Состояния, когда кнопка нажата*/
    background: url("img/button-feedback.png") no-repeat -3px -82px;
}
#content2 .gallery-list .galleryitem span {
	display:table-cell;
	vertical-align:middle;
}
html body div table tbody tr td p a img {
	border-color:#000000;
}
.menu-bottom a {
	color:#666666;
}
.menu-bottom font {
	color:#666666;
}
