div.caption {
	margin: 0;
	padding:0;
	position: relative;
}

div.caption p {
	position: absolute;
	margin: 0;
	min-width: 100%;
	padding: 2px;
	font-size: .9em;
	bottom: 0;
	left: 0;
	background: #EFEFEF;
	color: #607273;
	opacity: .7;
	border: 1px solid #BFC8CF;
	z-index: 10;
}

div.caption img.show {
	margin: 0; padding: 0;
}

#text div.caption {
	margin: 0 10px 10px 10px;
	border: 1px solid #ccc;
	padding: 5px;
}

#text div.right {margin-right: 0;}
div.left  { margin-left: 0;}

#text div.caption img {
	margin: 0;
	padding:0;
}

#text div.caption p {
	margin: 5px 0 0 0;
	padding: 5px;
	border-top: 1px #ddd dotted;
	font-size: .9em;
}
#curtain{
	background-color: Black;	
	display: none;
	height:100%;
	width: 100%;
	position: fixed;	
	top: 0px;
	left: 0px;
	z-index: 1000;
}
body > #preloader{
	position: fixed;
	background-color: #FFFFFF;
	border: #999999 2px solid;
	text-align: center;
	width: 300px; /* Ширина слоя в пикселах */
	height: 60px; /* Высота слоя в пикселах */
	left: 50%; /* Положение слоя от левого края */
	top: 50%; /* Положение слоя от верхнего края */
	margin-left: -150px; /* Отступ слева */
	margin-top: -30px; /* Отступ сверху */
	padding: 40px 0 10px 0;
	z-index: 1900;
	display: none;
}
#gallery_content{
   position: fixed;
	display:none;
	left: 50%; /* Положение слоя от левого края */
	top: 50%; /* Положение слоя от верхнего края */
	margin-top: -290px; /* Отступ сверху */
   z-index: 2000;	
}
.imghover{
	display: none;
	background: Black;
	padding: 3px 3px 3px 3px !important;
	margin: 0;
	position:absolute;
	z-index: 1000 !important;
	}
.imghover img{		
		margin: 0;
		padding: 0;
		}
	
.showgallery{
   background: Black;
   padding: 0;
	}

#sb{	
  	height: 20px;
	background: Black;	
	width:100%;
}
#sb div{	
cursor:pointer;
display:block;
float: right;
height:16px;
margin-left:3px;
width:16px;
}
#sb .close{
background-image:url(resources/close.png);
background-repeat:no-repeat;
}
#sb .next{
background-image:url(resources/next.png);
background-repeat:no-repeat;
}
#sb .previous{
background-image:url(resources/previous.png);
background-repeat:no-repeat;
}
#sb .play{
background-image:url(resources/play.png);
background-repeat:no-repeat;
}
#sb .pause{
background-image:url(resources/pause.png);
background-repeat:no-repeat;
}
----------------------------------*/
 .ui-widget {}
 .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {}
 .ui-widget-content {}
 .ui-widget-content a {}
 .ui-widget-header {	
}
 .ui-widget-header a {}
----------------------------------*/
.ui-tabs {}
.ui-tabs .ui-tabs-nav {
	list-style: none;
	position: relative;
	background-position: bottom;
	margin: 0;
	padding: 0px 0px 6px 30px;
	background-repeat: no-repeat;
}
.ui-state-default{	
	padding-bottom: 10px;
}
.ui-tabs .ui-tabs-nav li {
	position: relative;
	float: left;
	border-bottom-width: 0 !important;
	padding-bottom: 0px;
	background: url(../i/btn_payment.png) no-repeat left;
	height: 26px;
	width: 99px;
	text-align: center;
	
}
.ui-tabs .ui-tabs-nav li a {
	text-decoration: none;
	margin: 0;
	padding: 2px 0 2px 0px;
	text-transform: uppercase;
	font-size: 14px;
	color: Black;
	font-weight: bold;
}
.ui-tabs .ui-tabs-nav li.ui-tabs-selected {
	background: url(../i/btn_payment_o.png) no-repeat left;
}
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
.ui-tabs .ui-tabs-panel {  display: block; border-width: 0; }
.ui-tabs .ui-tabs-hide { display: none !important; }
#topmess{
	float: right;
	width: 200px;
	margin-right: 7px;
	height: 40px;	
	text-align: right;
}
.tb1{
	display: block;
}
.tb2,.tb3,.tb4{
	display: none;
}
.tb2,.tb3,.tb4,tb1{
  text-transform: uppercase;
  font-weight: bold;
}
.error_arrow{
	float: left;
	background-image: url(../i/error_arrow.gif);
	background-repeat: no-repeat;
	background-position: center;
	margin-right: 6px;
	width: 7px;
	height: 24px;
}
