DIV, P { zoom:1; }
.link { cursor:pointer; }
.anchor { clear:both; padding:0 !important; margin:0 !important; height:1px !important; width:1px !important; font-size:1px !important; background:none !important; }
.not_display { display:none; }
.zero_width { width:0 !important; padding:0 !important; overflow:hidden !important; }
TD.zero_width, TH.zero_width { border:0 !important; empty-cells:hide !important; }

.main_box.title_is_question
{
	padding-top: 0;
}

.ajax_status
{
	display: inline !important;
	float: none !important;
	border: 0 !important;
	width: auto !important;
	height: 0 !important;
	line-height: 0 !important;
	font-size: 12px !important;
	margin: 0 0 0 3px !important;
	padding: 1px 10px !important;
	background: transparent url(img/loading.gif) 0 0 no-repeat !important;
	visibility: hidden;
	*padding: 9px 10px !important;	/* IE7 */
	_padding: 1px 10px !important;	/* IE6 */
}
.ajax_status.active { visibility:visible; }

#designer
{
/*	padding: 0 18px 40px 21px;*/
	padding: 0 0 40px 0;
}

#designer .el
{
	padding: 8px 10px;
}

#designer .el.no_top_space
{
	padding-top: 2px;
}
/*
#designer .el DIV, #designer .el P
{
	zoom: 1;
}
*/
/*
#designer .el .title
{
	overflow: hidden;
}
*/
#designer .submit
{
	clear: both;
	text-align: center;
}


/* sideform */
#designer.sideform .el{	border-bottom: 1px dotted #bbb;	margin: 0 0 10px; padding: 4px 10px 15px; }
#designer.sideform .el.no_top_space { padding-top: 2px; margin-top: -10px; }

/* #designer.sideform .el .title{ padding: 0 10px 0 0; float: left; width: 250px; overflow: hidden; } */
#designer.sideform .el .title{ padding: 0 10px 0 0; float: left; width: 36%; overflow: hidden; }
#designer.sideform .el.subtitle .title{ padding: 0 10px 0 0; width:auto; overflow: hidden; }
#designer.sideform .el.table .title{ padding: 0 0 5px 0; float: none; width: auto; overflow: hidden; }
/* #designer.sideform .el .ctrl{ padding-left: 260px; margin-left: 0; *padding-left: 10px; } */
#designer.sideform .el .ctrl{ padding-left: 36%; margin-left: 10px; *padding-left: 10px; }
/* #designer.sideform .el.address .body{ padding-left: 260px; margin-left: 0; *padding-left: 10px; } */
#designer.sideform .el.address .body{ padding-left: 36%; margin-left: 10px; *padding-left: 10px; }

#designer.sideform .el SPAN{ font-size: 13px; }
/* #designer.sideform .el.text TEXTAREA{ width: 98%; }	/* IE6 fix */
/* #designer.sideform .el .ctrl INPUT{} */

/* centerform */
#designer.centerform .el{ border-bottom: 1px dotted #bbb; margin: 0 0 10px; padding: 4px 10px 15px; }
#designer.sideform .el.no_top_space { padding-top: 2px; margin-top: -10px; }

/* #designer.centerform .el .title{ float: left; width: 325px; text-align: right; overflow: hidden; } */
#designer.centerform .el .title{ float: left; width: 47%; text-align: right; overflow: hidden; }
#designer.centerform .el.subtitle .title{ padding: 0 10px 0 0; width:auto; overflow: hidden; }
#designer.centerform .el.table .title{ padding: 0 0 5px 0; float: none; width: auto; overflow: hidden; text-align: center; }
/* #designer.centerform .el .ctrl{	padding-left: 335px; margin-left: 0; *padding-left: 10px; } */
#designer.centerform .el .ctrl{	padding-left: 47%; margin-left: 10px; *padding-left: 10px; }
/* #designer.centerform .el.address .body{	padding-left: 335px; margin-left: 0; *padding-left: 10px; } */
#designer.centerform .el.address .body{	padding-left: 47%; margin-left: 10px; *padding-left: 10px; }

#designer.centerform .el SPAN{ font-size: 13px; }
/* #designer.centerform .el.text TEXTAREA{ width: 98%; }	/* IE6 fix */
/* #designer.centerform .el .ctrl INPUT{} */


/* small-screen */
.small-screen #designer.sideform .el .title	{ padding: 0; float: none; width: auto; overflow: hidden; }
.small-screen #designer.sideform .el .ctrl	{ padding-left: 0; margin-left: 0; }
.small-screen #designer.sideform .el.address .body	{ padding-left: 0; margin-left: 0; margin-top:0; }

.small-screen #designer.centerform .el .title		{ float: none; width: auto; text-align: left; }
.small-screen #designer.centerform .el .ctrl		{ padding-left: 0; margin-left: 0; }
.small-screen #designer.centerform .el.address .body{ padding-left: 0; margin-left: 0; margin-top:0; }
.small-screen #designer.centerform .el.table .title	{ text-align: left; }
/**************/




.public_info
{
	background: transparent url(img/public_info.png) 0 0 no-repeat;
	min-height: 24px;
/*	margin: 0 270px 0 20px;*/
	margin-left: 20px;
	padding: 5px 0 3px 28px;
	color: #575656;
}
.small-screen.tiny .public_info { clear:right; font-size: 11px; margin-left: 5px; margin-right: 5px; }
.public_info .mark{ color: #ff0000; }

/* element: all */
	.el
	{
		color: #000;
		background-color: #f6f6f6;
		border: 2px solid #ececec;
		clear: both;
	}
	.el.err
	{
		border-left: 2px solid #FF583D;
	}

	.el.active
	{
		border: 2px solid #FF9000;
		background: #faeddf;
	}

	.el DIV.title
	{
		color: #616060;
		/*padding-bottom: 5px;*/
		padding-left: 25px;
		/padding-left: 0;
	}

	.el DIV.title H4,
	.el DIV.title H2,
	.el DIV.title H3
	{
		color: #019664;
		min-height: 16px;
		margin-bottom: 8px;
	}

	.el DIV.title H4 SPAN,
	.el DIV.title H3 SPAN
	{
		color: #019664;
		font-size: 13px !important;
		font-weight: bold;
	}

	.el DIV.title .descr{ font-size: 12px !important; }
	.el DIV.title .descr IMG { max-width:100%; }
	.small-screen.tiny .el DIV.title .descr{ font-size: 11px !important; }

	.el DIV.ctrl { margin-top:3px; }

	.el LABEL { line-height: 1.4em; }
	.el INPUT { vertical-align:top; }

	.el DIV.title .req { display: none; }
	.el.require DIV.title .req
	{
		display: inline;
		color: red;
		line-height: 1em;
		vertical-align: top;
	}

	.not_display_req .el.require DIV.title .req
	{
		display: none;
	}

	.el .component_error
	{
		display: none;
		color: #ff0000;
		font-size: 11px;
		font-weight: normal;
		clear: both;
	}
	.el.err .component_error
	{
		display: block;
	}

	.el SPAN.editMode
	{
		background-color: white;
	}

/* element: pageheader */
	.el.pageheader DIV.title
	{
		float: none !important;
		text-align: left !important;
		padding-left: 0;
	}

	.el.pageheader DIV.title .descr
	{
		font-size: 12px !important;
		color: #797979;
	}

	.el.pageheader DIV.title H1 SPAN		/* use `DIV` for ie6 */
	{
		font-size: 28px !important;
		color: #464545;
		font-weight: normal;
		margin: 0 0 10px 0;
	}

	#designer.centerform .el.pageheader .title { text-align: center !important; }

/******/

/* element: pagefooter */
	.el.pagefooter DIV.title
	{
		padding-left: 0;
	}

	.el.pagefooter DIV.title .descr
	{
		font-size: 12px !important;
		color: #797979;
	}

/******/

/* element: subtitle */
	.el.subtitle
	{
		margin-top: 10px;
	}

	.el.subtitle DIV.title
	{
		font-size: 12px;
		color: #383838;
		float: none !important;
		text-align: left !important;
	}
	.small-screen.tiny .el.subtitle DIV.title{ font-size: 11px !important; }

	.el.subtitle DIV.title H4 SPAN,		/* use `DIV` for ie6 */
	.el.subtitle DIV.title H2 SPAN
	{
		font-size: 18px !important;
		color: #006fb5 !important;
		font-weight: normal;
	}

	#designer.centerform .el.subtitle .title { text-align: center !important; }

/******/

/* element: pagedelim */
	.el.pagedelim .delim
	{
		margin-right: 155px;
		background: transparent url(img/pagedelim_bg.gif) 0 0.6em repeat-x;
		text-align: center;
	}

	.el.pagedelim .delim P
	{
		display: inline-block;
		background-color: #f6f6f6;
		padding: 0 8px;
		color: #565656;
	}

	.el.pagedelim .delim DIV
	{
		margin-top: 5px;
		text-align: left;
		color: #565656;
	}
/******/

/* element: string */
	.el.string INPUT
	{
		width: 50%;
	}
	.small-screen.tiny .el.string INPUT { width: 98%; _width: 90%; }
/******/

/* element: text */
	.el.text TEXTAREA
	{
		width: 98%;
		height: 80px;
	}
	.small-screen.tiny .el.text TEXTAREA { _width:90%; }
/******/

/* element: select-one */
	.el.select-one .replace_box { float: none; padding: 0; margin: 0; border: 0; }

	.el.select-one SELECT
	{
		width: 250px;
		min-width: 250px;
		max-width: 100%;
	}
	.small-screen.tiny .el.select-one SELECT { width: 98%; min-width:98%; _width: 90%; }
/******/

/* element: radiobuttons */
	.el.radiobuttons .dynamic_list P.sidebyside25 { float:left; width: 25%; }
	.el.radiobuttons .dynamic_list P.sidebyside33 { float:left; width: 33%; }
	.el.radiobuttons .dynamic_list P.sidebyside50 { float:left; width: 50%; }
	.el.radiobuttons .dl_item { padding: 0 0 0 19px; /padding-top:3px; }
	.el.radiobuttons .dl_item INPUT { margin:1px 3px 0 -19px; padding: 0; position:relative; /margin:-4px 0 0 -23px; }
	.el.radiobuttons .dl_item LABEL { cursor: pointer; line-height:20px; margin-right:-5px; }
	.el.radiobuttons .dl_item LABEL .label { vertical-align:top; /margin-left: -3px; line-height:15px; }
	.el.radiobuttons .dl_item LABEL .label IMG { vertical-align:top; margin-bottom:2px; max-width:100%; }
	.el.radiobuttons INPUT.other { float:none; margin-left:0; width:250px; margin-top:-1px; }
	.el.radiobuttons TEXTAREA.other
	{
		/position: relative;	/* IE6 and IE7(may be) fix */
		width: 320px;
		height: 80px;
		margin-top: -2px;
		max-width: 100%;
	}
	.el.radiobuttons INPUT.other.has_long_label, .el.radiobuttons TEXTAREA.other.has_long_label
	{
		display: block;
		margin-top: 0;
	}
/******/

/* element: checkboxes */
	.el.checkboxes .dynamic_list P.sidebyside25 { float:left; width: 25%; }
	.el.checkboxes .dynamic_list P.sidebyside33 { float:left; width: 33%; }
	.el.checkboxes .dynamic_list P.sidebyside50 { float:left; width: 50%; }
	.el.checkboxes .dl_item { padding: 0 0 0 19px; /padding-top:3px; }
	.el.checkboxes .dl_item INPUT { margin:1px 3px 0 -19px; padding: 0; position:relative; /margin:-4px 0 0 -23px; }
	.el.checkboxes .dl_item LABEL { cursor: pointer; line-height:20px; margin-right:-5px; }
	.el.checkboxes .dl_item LABEL .label { vertical-align:top; /margin-left: -3px; line-height:15px; }
	.el.checkboxes .dl_item LABEL .label IMG { vertical-align:top; margin-bottom:2px; max-width:100%; }
	.el.checkboxes INPUT.other { float:none; margin-left:0; width:250px; margin-top:-1px; }
	.small-screen .el.checkboxes INPUT.other { width:70%; max-width: 250px; }
	.el.checkboxes TEXTAREA.other
	{
		/position: relative;	/* IE6 and IE7(may be) fix */
		width: 320px;
		height: 80px;
		margin-top: -2px;
		max-width: 100%;
	}
	.small-screen .el.checkboxes TEXTAREA.other { width:70%; max-width: 320px; }
	.el.checkboxes INPUT.other.has_long_label, .el.checkboxes TEXTAREA.other.has_long_label
	{
		display: block;
		margin-top: 0;
	}
/******/

/* element: number */
	.el.number INPUT
	{
		width: 150px;
		max-width: 100%;
	}
	.small-screen.tiny .el.number INPUT { width: 98%; _width: 90%; }
/******/

/* element: datetime */
	.el.datetime INPUT
	{
		width: 150px;
		max-width: 100%;
	}
	.small-screen.tiny .el.datetime INPUT { width: 80%; }

	.el.datetime I.date_icon IMG
	{
		margin-top: 2px;
	}
/******/

/* element: url */
	.el.url INPUT
	{
		width: 340px;
		max-width: 100%;
	}
	.small-screen.tiny .el.url INPUT { width: 98%; _width: 90%; }
/******/

/* element: email */
	.el.email INPUT
	{
		width: 250px;
		max-width: 100%;
	}
	.small-screen.tiny .el.email INPUT { width: 98%; _width: 90%; }
/******/

/* element: phone */
	.el.phone INPUT
	{
		width: 250px;
		max-width: 100%;
	}
	.small-screen.tiny .el.phone INPUT { width: 98%; _width:90%; }
/******/

/* element: price */
	.el.price INPUT
	{
		width: 150px;
		max-width: 100%;
	}
	.small-screen.tiny .el.price INPUT { width: 98%; _width:90%; }
/******/


/* element: stars */
	.stars_list P, .stars_list A
	{
		position: relative;
		display: block;
		float: left;
		background: url(img/star_notactive.png) 0 0 no-repeat;
	}
	.small-screen.tiny .stars_list P, .small-screen.tiny .stars_list A { background-image: url(img/star_notactive_small.png); }
	.stars_list A
	{
		cursor: pointer;
		border: 0;
/*		margin-bottom: 4px; */
		text-decoration: none;
	}
	.stars_list A INPUT
	{
		position: absolute;
		top: 0;
		left: 0;
		cursor: pointer;
	}

	.stars_list A B
	{
		visibility: hidden;
		display: block;
		padding-top: 2px;
		padding-right: 10px;
		line-height: 30px;
		text-align: center;
	}
	.stars_list A:hover B { visibility:visible; }


	.stars_list P, .stars_list A, .stars_list A INPUT
	{
		width: 43px;
		height: 36px; /* 32 */
		outline: none;
	}
	.small-screen.tiny .stars_list P, .small-screen.tiny .stars_list A, .small-screen.tiny .stars_list A INPUT
	{
		width: 25px;
		height: 23px;	/* 19 */
	}
	.small-screen.tiny .stars_list A B
	{
		padding-top: 1px;
		padding-right: 4px;
		line-height: 18px;
		font-size: 0.7em;
		font-weight: normal;
	}

	.stars_list P INPUT
	{
		margin: 0;
		visibility: hidden;
	}
	.stars_list A.active/*,
	.stars_list A:hover*/ { background: url(img/star_active.png) 0 0 no-repeat; }
	.small-screen.tiny .stars_list A.active,
	.small-screen.tiny .stars_list A:hover { background-image: url(img/star_active_small.png); }
	BODY.jsEnabled .stars_list A INPUT,
	BODY .pgColumn .stars_list A INPUT
	{
		margin:0;
		opacity: 0;
		-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
		filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);
/*		-webkit-transform: scale(2,2);	/* hack for portable safari */
	}
/******/

/* element: address */
	.el.address .body
	{
		margin-top: -7px;
	}

	.el.address .body DIV
	{
		float: left;
		width: 285px;
		height: 38px;
		margin: 15px 15px 0 0;
	}
	.el.address .body .replace_box { float: none; padding: 0; margin: 0; border: 0; }

	#designer.sideform .el.address .body DIV, #designer.centerform .el.address .body DIV
	{
		margin: 0 15px 15px 0;
	}
	.small-screen.tiny .el.address .body DIV { float:none; display:block; width: 100%; margin: 15px 0 0 0; }

	.el.address .body DIV.house, .el.address .body DIV.flat
	{
		margin-top: 0;
		width: 125px;
		_width: 116px;		/* IE6 */
	}
	.el.address .body DIV.flat
	{
		margin-right: 0;
	}
	.small-screen.tiny .el.address .body DIV.house,
	.small-screen.tiny .el.address .body DIV.flat
	{
		width: 100%;
		margin-right: 0;
	}
	.small-screen.tiny .el.address .body DIV.flat { margin-top: 15px; }

	.el.address .body .pobox, .el.address .body .street, .el.address .body .house_flat
	{
		width: 280px;
		margin-right: 20px;
	}
	.small-screen.tiny .el.address .body .pobox,
	.small-screen.tiny .el.address .body .street,
	.small-screen.tiny .el.address .body .house_flat
	{
		width: 100%;
	}

	.el.address .body INPUT, .el.address .body SELECT
	{
		width: 90%;
		min-height: 17px;
	}
	.small-screen.tiny .el.address .body INPUT, .small-screen.tiny .el.address .body SELECT { width:84%; }
/******/

/* element: table */
	.el.table TABLE
	{
		width: 100%;
		border-collapse: collapse;
		empty-cells: show;
	}

	.el.table THEAD TD, .el.table THEAD TH, .el.table TBODY TD, .el.table TBODY TH
	{
		border: 1px solid #ccc;
		background-color: #fff;
	}

	.el.table THEAD TD IMG, .el.table THEAD TH IMG, .el.table TBODY TD IMG, .el.table TBODY TH IMG
	{
		vertical-align: middle;
		max-width: 500px;
	}

	.el.table .lastCol
	{
		border: 0;
		width: 10px;
		background-color: #F6F6F6 !important;
	}
	.el.active.table .lastCol
	{
		background-color: #faeddf !important;
	}

	.el.table .lastCol IMG, .el.table .lastCol A
	{
		display: block;
		width: 7px;
		height: 4px;
		margin: 5px 2px;
		background-position: 0 0;
		background-repeat: no-repeat;
	}

	.el.table THEAD TH
	{
		font-size: 11px;
		color: #454545;
		height: 28px;
		border-bottom: 2px solid #ccc;
	}

	.el.table THEAD.inside TH
	{
		border-top: 2px solid #ccc;
	}

	.el.table TBODY TH
	{
		font-size: 12px;
/*		color: #616060; */
		font-weight: normal;
		text-align: left;
		padding: 0 8px;
/*		line-height: 27px;*/
		padding: 5px;
	}

	.el.table TBODY TH.opposite { font-style: italic; }
	.el.table TBODY TH.left.opposite { text-align: right; }

	.el.table TBODY TD
	{
		text-align: center;
	}

	.el.table TBODY TD TABLE
	{
		empty-cells: hide;
	}

	.el.table THEAD TH.hovered_cell,
	.el.table TBODY TR TH.hovered_cell
	{
	   box-shadow: inset 0 0 10px #ccc;
	   -moz-box-shadow: inset 0 0 10px #ccc;
	   -webkit-box-shadow: inset 0 0 10px #ccc;
	}

/*
	.el.table COLGROUP COL:hover TH,
	.el.table THEAD TH:hover,
	.el.table TBODY TR:hover TH
	{
	   box-shadow: inset 0 0 10px #ccc;
	   -moz-box-shadow: inset 0 0 10px #ccc;
	   -webkit-box-shadow: inset 0 0 10px #ccc;
	}
*/
	.el.table TBODY TD TABLE TD
	{
		border: 0;
		padding: 0;
/*		*width: 25px;	*/
		width: 25px;
	}

	.el.table TBODY TD TABLE TD + TD
	{
		width: 0;
		text-align: left;
	}

	.el.table TBODY TD TABLE TD.string, .el.table TBODY TD TABLE TD.text
	{
		width: auto;
	}

	.el.table TBODY TD TABLE TD.string INPUT, .el.table TBODY TD TABLE TD.text TEXTAREA
	{
		width: 94%;
		margin: 5px 0;
	}

	.el.table TBODY TD TABLE TD.text TEXTAREA
	{
		height: 48px;
	}


	.el.table TBODY TR TD.lastCol A:active { outline: none; }
	.el.table TBODY TR TD.lastCol A.toUp { background-image: url(img/icons/inact_small_up.gif); }
	.el.table TBODY TR TD.lastCol A.toUp:hover { background-image: url(img/icons/act_small_up.gif); }
	.el.table TBODY TR TD.lastCol A.toDown { background-image: url(img/icons/inact_small_down.gif); }
	.el.table TBODY TR TD.lastCol A.toDown:hover { background-image: url(img/icons/act_small_down.gif); }

	.el.table TBODY TR.firstActRow A.toUp, .el.table TBODY TR.lastActRow A.toDown,
	.el.table TBODY TR.aloneActRow A.toUp, .el.table TBODY TR.aloneActRow A.toDown
	{
		display: none;
	}

	.el.table TBODY TR.active TD, .el.table TBODY TR.active TH, .el.table TD.active, .el.table TH.active
	{
		background-color: #FFDBA9;
	}

	.el.table TFOOT TD
	{
		padding-top: 3px;
		border: 0;
		font-size: 0;
	}

	.el.table TFOOT TD IMG, .el.table TFOOT TD A
	{
		margin-right: 5px;

		display: inline-block;
		width: 4px;
		height: 7px;
		background-position: 0 0;
		background-repeat: no-repeat;
	}

	.el.table TFOOT TR TD A:active { outline: none; }
	.el.table TFOOT TR TD A.toLeft { background-image: url(img/icons/inact_small_left.gif); }
	.el.table TFOOT TR TD A.toLeft:hover { background-image: url(img/icons/act_small_left.gif); }
	.el.table TFOOT TR TD A.toRight { background-image: url(img/icons/inact_small_right.gif); }
	.el.table TFOOT TR TD A.toRight:hover { background-image: url(img/icons/act_small_right.gif); }

	.el.table TFOOT TD.firstActCol A.toLeft, .el.table TFOOT TD.lastActCol A.toRight,
	.el.table TFOOT TD.aloneActCol A.toLeft, .el.table TFOOT TD.aloneActCol A.toRight
	{
		display: none;
	}
/******/






.calbox
{
	float: left;
	font-size: 10px;
	padding: 2px 6px 7px 6px;
	border: 1px solid #cecece;
	background-color: white;
}
.calbox DIV, .calbox FORM
{
	font-size: 10px;
}


.calbox .toolbar
{
	_float: left; _clear: left;	/* ie6 hack */
	text-align: center;
	font-size: 11px;
	padding: 0px 0 2px 0;
}

.calbox .toolbar B
{
	padding: 0 2em;
}

.calbox .toolbar A
{
	font-size: 13px;
	font-weight: bold;
	text-decoration: none;
	color: #000;
}

.calbox .toolbar FORM
{
	padding: 0;
	margin: 0;
}

.calbox .toolbar SELECT
{
	font-size: 1em;
	margin: 5px 3px 3px 3px;
}


.calbox .days_box
{
	_float: left; _clear: left;	/* ie6 hack */
	border: 1px solid #e2e2e2;
}

.calbox TABLE.days
{
	border-spacing: 0;
	border-collapse: separate;
	border-top: 1px solid #878787;
	border-left: 1px solid #878787;
}

.calbox TH, .calbox TD, .calbox TH, .calbox TD SPAN, .calbox TH, .calbox TD A
{
	font-size: 10px;
	width: 2.1em;
	line-height: 1.7em;
	text-align: center;
	vertical-align: middle;
	padding: 0;
}

.calbox TH
{
	background-color: #747474;
	color: #fff;
	font-weight: normal;
	cursor: default;
}

.calbox TABLE.days TD SPAN
{
	display: block;
	color: #999999;
	cursor: default;
}

.calbox TABLE.days TD A
{
	display: block;
	text-decoration: none;
	color: black;
}

.calbox TABLE.days TD A:hover
{
	background-color: #ff9900;
	color: #fff;
}

.calbox TD.wd6, .calbox TD.wd0
{
	background-color: #fde0e0;
}

.calbox TD.today
{
	border: 1px solid red;
}

.calbox TD.curday
{
	background-color: #ff9900;
}

.calbox .footer
{
	_float: left; _clear: left;	/* ie6 hack */
	font-size: 10px;

	position: static;
/*	bottom: none;	*/
	width: auto;

	background: transparent none 0 0 repeat-x;
	height: auto;
}

.calbox .footer A
{
	padding: 0;
	color: #4b4b4b;
}

.calbox .footer .time INPUT
{
	font-size: 1em;
}
