html, body {
	margin: 0;
	padding: 0;
	height: 100%;
}
body {
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	min-height: 100%;
	height: auto !important;
	height: 100%;
	position: relative;
	margin-bottom:1px;
	
}

#w {
	min-width:940px;
	width:expression(document.body.clientWidth < 940? "940px" :"auto");
	margin-bottom: -20px;
}

ul {
	list-style: none none;

}

h1 {margin-top:0; color: #555353; font-size: 22px;}
h2 { color:  #555353; }
.wait { cursor: wait; }
form {padding: 0; margin: 0; }
a, td, p, span, input, textarea, select {
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
}
a:active, a:focus, img {
	outline: 0;
}

a, a:active, a:visited {
	color: #3185C3;
}

.newwindow {
	background:url(/inc/images/neww-ico.gif) no-repeat left 5px;
	padding-left:12px;
	margin-left: 2px;
}

img {
	border:0px;
}
table { empty-cells: show; }

#loginFormPanel {
	text-align:left;
}

#content #loginFormPanel {
	width: 95%;
}

#loginFormMain {
	position:absolute;
	top:32px;
	right:40px;
	border: 2px solid #3185C3;
	z-index: 200;
	background-color: #fff;
	padding: 26px;
	display:none;
	text-align:left;
}


#loginFormMain #closeBtn {
	width:14px;
	height:14px;
	background: url(/inc/images/close_btn.gif) no-repeat;
	position:absolute;
	right: 6px;
	top: 6px;
	display: block;
}


#left_menu {
	margin: 0 17px;
	width: 210px;
	float:left;
}
.left_menu_header {
	height:34px;
	background:url(/inc/images/left_menu_top.png) no-repeat;
	color: white;
	margin-top:0px;
}
.left_menu_header p {
	margin: 0px 20px 0px 20px;
	padding: 7px 0 0 0;
	font: bold 14px Verdana, Geneva, sans-serif;
}
#top {
	height: 157px;
	width: 100%;
	padding: 0;
	margin: 0;
}
#top_menu {
	width: 100%;
	margin-bottom:6px;
}
#top_menu table {
	background:url(/inc/images/top_bg.gif) repeat-x;
	height:37px;
	padding-right:10px;
	*position:relative;
}
#top_menu a {
	padding-left: 12px;
	display:block;
	color:#3f6cb6;
}
#top_menu .icon {
	display:block;
	float:left;
	left:0px;
	margin-top:4px;
	*margin-top:15px;
	*position:absolute;
}

#top_menu td {
	position:relative;
	white-space:nowrap;  }

#middle {
	width:100%;
}
#middle_menu_holder {
	height:37px;
	background:url(/inc/images/middle_bg.gif) repeat-x;
}
#middle_menu {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	margin:0;
	padding:0;
	width:100%;
}
#middle_menu ul, #subnav ul {
	list-style:none;
	margin:0;
	padding:0;
	overflow:auto;
}
#middle_menu ul li {
	float:left;
	display:inline-table;
}
#middle_menu ul li a {
	display:block;
	line-height:30px;
	padding:0 1em;
	text-decoration:none;
	font-size:12px;
	color:#fff;
	float:left;
	border-right:1px solid #3386c4;
	margin:2px 0;
}
#middle_menu ul li a.first {
	border-left:1px solid #3386c4;
}

#middle_menu ul li input {
	margin:8px 0 0 2px;
	padding:0;
	vertical-align:middle;
	font-size:95%;
	color:#666;
}
#middle_menu form {
	margin:0;
	padding:0;
}
/* Commented Backslash Hack hides rule from IE5-Mac \*/
#middle_menu ul li a {
	float:none;
}
/* End IE5-Mac hack */

#middle_menu ul li a:hover {
	background:#3386c4 url(/inc/images/middle_item_bg_hover.gif) repeat-x 0 0;
}

#middle_menu ul li a.bin:hover {
	background:none;
}
#middle_menu ul li a.bin {
	border: none;
}

#middle_menu .nav_selected a, #middle_menu .nav_selected a:hover {
	line-height:34px !important;
	margin:0 !important;
	background: #FBBD2E !important;
	color: #000;
}

#middle_menu li.bin {
	float:right;
	color: #fff;
	line-height:34px !important;
	margin:0 !important;
	padding-right:10px;
	padding-left:25px;
	background:url(/inc/images/bin.gif) no-repeat;;
}


#content {
	padding-top: 10px;
	
}

#content .data { width: 95%; text-align:left;}


#search_box {
	width: 244px;
	height:22px;
	margin-top:6px;
	float:left;
	text-align:center;
}

#search_box .in { width: 147px; margin-right:0px; height: 20px; }



#logo {
	text-align:center;
	width: 244px;
	float:left;
	padding-top: 0px;
}
.phone {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 28px;
	color: #2d82c1;
	font-weight: bold;
	padding-top: 0px;
}
.bottom {
	height: 50px;
}

.bottom a {
	margin-right:20px;	
}

.copyr { color:#3f6cb6; font-weight: bold;}

.block {
	background-color:#f7f7f7;
	border:1px #e0e0e0 solid;
}

.block .w {
	height: 160px;
}

.block .r, .block .b, .block .c, .block .u, .block .l, .block .t {
	position: relative;
	z-index: 10;
	display: block;
	background-repeat: no-repeat;
	background-position: left top;
}
.block .r {
	background-position: right top;
	right: -1px;
	top:-1px;
}
.block .b {
	background-position: right bottom;
	bottom: -2px;
	left:0px;
}
.block .t {
	background-position: left top;
	top: -2px;
	left: -2px;
}
.block .l {
	background-position: left bottom;
	bottom: -2px;
	left:0px;
}
.block .c {
	left: 0px;
	top: 0px;
	padding: 6px;
}
.block .r {
	background-image: url('images/cornr_tr.gif');
}
.block .t {
	background-image: url('images/cornr_tl.gif');
}
.block .b {
	background-image: url('images/cornr_br.gif');
}
.block .l {
	background-image: url('images/cornr_bl.gif');
}
#blocks td.pic {
	background-image:url(/inc/images/thumb_bg.png);
	background-repeat:no-repeat;
	height:140px;
	padding-left:7px;
	padding-top:7px;
	text-align:left;
	vertical-align:top;
	width:140px;
}
#blocks td.title a {
	color: #3185C3;
	font-weight:bold;
}
#blocks td.when {
	font-weight: bold;
}
#blocks td.buylink a {
	color: #4e4e4e;
	font-weight: bold;
}
#blocks td {
	vertical-align:top;
}

#blocks
{
	/* Выравнивание по центру */
	text-align: center;
}

#blocks .block
{
	/* Убираем подчеркивание у элемента ins,
	который был использован для совместимости со старыми версиями Internet Explorer */
	text-decoration: none;

	/* Следующее правило для Firefox 2 */
	display: -moz-inline-box;

	/* а это для остальных */
	display: inline-block;

	vertical-align: top;

	/* Убираем выравнивание по центру */
	text-align: left;

	/* Отступы между блоками */
	margin: 8px 4px 12px 4px;

	width: 308px;
	min-width: 260px;
	
}

#events { text-align:left !important; width:95%;}

#events .block {
	margin-bottom: 20px;
}
/*
#events .block .t {
	background-position: left top;
	top: -1px;
	left: -1px;
}
#events .block .l {
	background-position: left bottom;
	bottom: -2px;
	left:0px;
}
					 */
#events td.pic {
	background-image:url(/inc/images/thumb_bg.png);
	background-repeat:no-repeat;
	height:140px;
	padding-left:7px;
	padding-top:7px;
	text-align:left;
	vertical-align:top;
	width:140px;
}
#events td.date { padding-bottom:5px; }

#events td.title a, #bin td.title a  {
	color: #3185C3;
	font-weight:bold;
	font-size:18px;
}

td.title h1, td.title h2 { color: #3185C3; margin-bottom:2px; }

#events td.when {
	font-weight: bold;
}
#events td.buylink a {
	color: #4e4e4e;
	font-weight: bold;
}

a.where {
	color: #4e4e4e;
	font-weight: bold;
}
#events td.title, #events td.where, #events td.type, #events td.address {
	line-height: 22px;
}

#events .theader td {
	background-color: #e8f1fa;
	height: 32px;
	color: #2d82c1;
	font-weight: bold;
}

#event td.dates { line-height:34px; font-size:16px; }


.buttons td, .buttons a {
	font-size: 18px;
	font-family:Verdana, Geneva, sans-serif;	

}
.buttons .cost, .buttons .age, .buttons .buy{
	padding: 0 15px;
}

.button_wr { margin: 10px 0; }

.buttons .cost {
	background:url(/inc/images/age-bg.gif) repeat-x;
	color:#fff;
}
.buttons .age {
	background:url(/inc/images/age-bg.gif) repeat-x;
	color:#3487c3;
}
.buttons .buy {
	background:url(/inc/images/buy-bg.gif) repeat-x;
	color:#fff;
}
.buttons .buy a {
	color: #fff;
	text-decoration:none;
	font-size: 14px;
	font-weight:bold;
}

.icon {
	display: block;
	text-indent: -99999px;
	overflow: hidden;
	background-repeat: no-repeat;
	width: 8px;
	height: 8px;
	background-image: url(/inc/images/markers.png);
}
.icon-tr-b {
	background-position: 0 -8px;
}
.icon-tr-r {
	background-position: 0px 0px;
}
.icon-tr-b-bl {
	background-position: -8px -8px;
}
.icon-tr-r-bl {
	background-position: -8px 0px;
}
.ui-datepicker {
	width: 204px;
	padding: 2px 2px 0;
	*width:100%;
}

.dashed td {
	border-top: 1px #80beeb dashed;
 }
 
.places td {
	border: none;
}
 
.t_cost {
	font-size: 18px;
	color:  #555353;
	text-align: right;
}
#bin { clear:both;}

#bin .date {
	font-size: 14px;
}
#bin .theader {
	color: #2d82c1;
	font-weight: bold;	
}
#bin .itog {
	font-size: 18px;
	color:  #555353;
	text-align: right;
}

#order .rdata {
	background-color:#F4F8FD;
	padding:10px;
	margin:10px;
	margin-left:25px;
	float:left;
}

#order .w {
	clear:both;
}
#order .h {
	display:none;
}


.lf { width:200px; }

.clickable {
	cursor:pointer;
}

.pseudo_link, .pseudo_link:visited, .pseudo_link:active {
	border-bottom:1px dashed;
	color:#000000;
	text-decoration:none;
}

a.pl, a.pl:visited {
	border-bottom:1px dashed;
	color:#000000;
	text-decoration:none;	
}
span.r { color: red }
.hint { font-size: 10px; color:#666666;}

.summ td { font-weight: bold; font-size:14px;}

#errors, .errors {
	color: red;
	list-style:none;
	padding: 0;
	margin: 0;
}

.otherdates {
	border: 1px solid #555353;
	background-color: #fff;
	position: absolute;
	display: block;
	line-height:20px;
	padding: 0px 10px 10px 10px;
	margin-left:145px;
	margin-top:5px;
	width: auto;
	white-space: nowrap;
}

.otherdates.hidden {
	display:block;
	border-color:#F7F7F7;
	background: transparent none repeat scroll 0 0;
}
.otherdates li {
	margin: 0;
	padding: 0;
}
.otherdates ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.otherdates.hidden li {
	display:none;
}
.otherdates.hidden li.title {
	display: block;
}

