﻿#layers-modal-cover a.total-link
{
	display:block;
	height: 100%;
}

.gallery-box2-modal, .modal
{
	width: 428px;
	padding: 0;
	overflow: hidden;
}

.gallery-box2-photoTop
{
	background:url(/Images/bg_popphoto_tl.png) no-repeat;
	-background:url(/Images/bg_popphoto_tl.gif) no-repeat;
	height: 14px;
	padding-left: 14px;
	-font-size: 0;
}

.gallery-box2-photoBd
{
	background: #fff;
	padding:0 10px;
	border-left: 4px solid #e4e4e4;
	border-right: 4px solid #e4e4e4;
	overflow: hidden;
}

.gallery-box2-photoBd a.btn-close
{
	display: block;
	float: right;
	padding-right: 22px;
	background:url(/Images/bg_cross_g2.gif) no-repeat 100% 2px;
	font-size: 11px;
	font-weight: bold;
	color: #5b5b5b;
}

.gallery-box2-photoBd .gallery-box2-image-view
{
	clear: both;
	padding: 14px 0 0;
	background: url(/Images/indicator.gif) no-repeat center center;
	height: 317px;
	text-align: center;
	overflow: hidden;
}
.gallery-box2-photoBd .gallery-box2-image-view div
{
	width: 400px;
	height: 317px;
	background-position: center center;
	background-repeat: no-repeat;
}

.gallery-box2-items
{
	zoom: 1;
	padding: 18px 0 2px;
}
.gallery-box2-photoBd .title
{
	font-size: 12px;
	font-weight: bold;
	float: left;
	width: 340px;
}

.gallery-box2-photoBd .controls
{
	float: right;
	text-align: right;
	width: 60px;
}
.gallery-box2-photoBd .controls a img
{
	vertical-align: middle;
}
.gallery-box2-photoBd .controls span
{
	padding: 0 12px;
	color: #518ea6;
}

.gallery-box2-photoBot
{
	background:url(/Images/bg_popphoto_bl.png) no-repeat;
	-background:url(/Images/bg_popphoto_bl.gif) no-repeat;
	height: 14px;
	padding-left: 14px;
	-font-size: 0;
}

.gallery-box2-photoBot div,
.gallery-box2-photoTop div
{
	background: #fff;
	height: 14px;
	margin-right: 14px;
	-margin-right: 0;
}

.gallery-box2-photoBot div.first,
.gallery-box2-photoTop div.first
{
	float: right;
	height: 14px;
	width: 14px;
	border: none;
	margin: 0;
	-margin-left: -3px;
}
.gallery-box2-photoTop div.first
{
	background:url(/Images/bg_popphoto_tr.png) no-repeat;
	-background:url(/Images/bg_popphoto_tr.gif) no-repeat;
}
.gallery-box2-photoBot div.first
{
	background:url(/Images/bg_popphoto_br.png) no-repeat;
	-background:url(/Images/bg_popphoto_br.gif) no-repeat;
}
.gallery-box2-photoTop div
{
	height: 10px;
	border-top: 4px solid #e4e4e4;
}
.gallery-box2-photoBot div
{
	height: 10px;
	border-bottom: 4px solid #e4e4e4;
}

/*modal ie hacks*/
.modal .clearfix
{
 -font-size: 0;
 -height: 0;
 -overflow: hidden;
}
