/* ©2008 Metadesign (http://www.metadesign.ru/). Coded by Mordraug */
/* REDOM FORM'S ELEMENTS STYLE SHIT_ */
/* rev 06.05.2008 */

/* NEDVIGA SEARCHBOX_ */

#searchbox_nedviga * {
	margin:0 !important;
	padding:0 !important;
	}

#searchbox_nedviga, #searchbox_nedviga2  {
	width:100%;
	min-width:650px;
	background:#108bdf url(http://i.redom.ru/estate/img/ne_sbg.gif) 0 0 repeat-x;
	margin:.4em 0 0 0 !important;
	border-collapse:collapse;
	clear:both;
	}

#searchbox_nedviga2 {
	background:#108bdf url(http://i.redom.ru/estate/img/ne_sbg2.gif) 0 0 repeat-x;
	}

#searchbox_nedviga tr.topline td table, #searchbox_nedviga tr.fields td table,
#searchbox_nedviga tr.misc td table, #searchbox_nedviga tr.switcher td table {
	width:100% !important;
}


#searchbox_nedviga2 tr.topline td table, #searchbox_nedviga2 tr.fields td table,
#searchbox_nedviga2 tr.bottomline td table {
	width:100% !important;
}

#searchbox_nedviga2 tr.topline td, #searchbox_nedviga2 tr.bottomline td {
	height:5px !important;
	padding:0 !important;
	margin:0 !important;
	font-size:1px !important;
	line-height:1px !important;
	}

#searchbox_nedviga2 * {
	padding:0 !important;
	margin:0 !important;
	}

/* corners_ */
.cc_out_5px_tl, .cc_out_5px_tr,
.cc_out_8px_bl, .cc_out_8px_br,
.cc_ins_5px_bl, .cc_ins_5px_br,
.cc_out_5px_mtl, .cc_out_5px_mtr {
	width:5px;
	font-size:1px !important;
	line-height:1px !important;
	}

.cc_out_5px_tl, .cc_out_5px_tr {background:transparent url(http://i.redom.ru/estate/img/tocc_5px.gif) 0 -1000em no-repeat;}
.cc_out_5px_mtl, .cc_out_5px_mtr {background:transparent url(http://i.redom.ru/estate/img/tocc_5px_middle.gif) 0 -1000em no-repeat;}
.cc_ins_5px_bl, .cc_ins_5px_br {background:#fff url(http://i.redom.ru/estate/img/bicc_5px.gif) 0 -1000em no-repeat;}
.cc_out_8px_bl, .cc_out_8px_br {background:transparent url(http://i.redom.ru/estate/img/bocc_8px.gif) 0 -1000em no-repeat;}
.cc_out_5px_tl, .cc_out_5px_mtl {background-position:0 0;}
.cc_out_5px_tr, .cc_out_5px_mtr {background-position:-5px 0;}
.cc_ins_5px_bl, .cc_out_8px_bl {background-position:0 bottom;}
.cc_ins_5px_br, .cc_out_8px_br {background-position:-5px bottom;}

.nobg {
	background:none;
	}

#searchbox_nedviga2 .ccc_8px_tl, #searchbox_nedviga2 .ccc_8px_tr,
#searchbox_nedviga2 .ccc_8px_bl, #searchbox_nedviga2 .ccc_8px_br {
	width:5px !important;
	height:5px !important;
	font-size:1px !important;
	line-height:1px !important;
	background:transparent url(http://i.redom.ru/estate/img/ccc8px.gif) 0 0 no-repeat;
	}


#searchbox_nedviga2 .ccc_8px_tl {background-position:0 top;}
#searchbox_nedviga2 .ccc_8px_tr {background-position:-5px top;}
#searchbox_nedviga2 .ccc_8px_bl {background-position:-10px bottom;}
#searchbox_nedviga2 .ccc_8px_br {background-position:-15px bottom;}

/*
#searchbox_nedviga2 tr.fields td {
	height:40px !important;
	vertical-align:middle;
	}

#searchbox_nedviga2 tr.fields td select, #searchbox_nedviga2 tr.fields td input {
	width:100%;
	font-size:12px;
	line-height:17px;
	border:1px solid #1e6da0;
	}

 #searchbox_nedviga2 tr.fields td input {
	text-align:center;
	}
*/
/* _corners */



/* topline_ */
/*
#searchbox_nedviga tr.topline td table td {
	height:28px;
	}
*/

/* tab_ */

.tab_current h3 {
	font:normal 16px/28px arial,helvetica,sans-serif !important;
	color:#fff;
	padding:0 0 0 5px !important;
	}

.tab_current h3 span {
	font-size:13px !important;
	}

/* ne_type_ */

#searchbox_nedviga  div.ne_type {
	width:190px;
	display:block;
	float:right;
	margin:4px 0 0 0 !important;
	}

#searchbox_nedviga  div.ne_type table td {
	vertical-align:middle;
	height:21px !important;
	background-color:#a4e4f9;
	}

#searchbox_nedviga  div.ne_type table td label {
	display:block;
	font-size:10px !important;;
	line-height:19px !important;;
	color:#000;
	cursor:pointer;
	~cursor:hand;
	margin:0 0 2px 0 !important;
	}

#searchbox_nedviga  div.ne_type table td.ne_type_left, #searchbox_nedviga  div.ne_type table td.ne_type_right {
	width:4px !important;;
	font-size:4px !important;
	line-height:4px !important;
	background:transparent url(http://i.redom.ru/estate/img/ne_type_bg.gif) 0 0 no-repeat;
	}

#searchbox_nedviga  div.ne_type table td.ne_type_left {background-position:-4px 0;}
#searchbox_nedviga  div.ne_type table td.ne_type_right {background-position:0 0;}

#searchbox_nedviga  div.ne_type table td input {
	line-height:1px;
	margin:0 !important;
	padding:0 !important;
	}

/* _ne_type */

.tab {
	width:auto;
	background-color:#fff;
	}

.tab h3 {
	display:block;
	float:left;
	margin:0 10px 0 10px;
	height:26px;
	font:normal 13px/26px arial,helvetica,sans-serif !important;
	color:#d38171;
	border-right:8px solid #fff;
	border-left:5px solid #fff;
	}

.tab h3 a {
	color:#555;
	text-decoration:underline;
	padding:5px 0 0 0;
	margin-top:10px !important;
	}

.tab h3 a:hover {
	text-decoration:none;
	}
/* _tab */
/* _topline */


/* fields_ */
#searchbox_nedviga tr.fields td table td {
	height:43px;
/*	font:normal 11px/11px tahoma,geneva,verdana,helvetica,sans-serif;*/
	color:#fff;
	vertical-align:middle;
	}

#searchbox_nedviga tr.fields td table td a, #sbox_miscline a {
	color:#fff;
	text-decoration:underline;
	/*border-bottom:1px dashed #fff;*/
	font-size:11px;/* 12.08.2008 Mordraug important removed */
	line-height:11px;/* 12.08.2008 Mordraug important removed */
	padding:0;/* 12.08.2008 Mordraug, 0 10px 0 0 !important removed */
	/*background:transparent url(http://i.redom.ru/estate/img/darr.gif) right center no-repeat;*/
	}

#searchbox_nedviga tr.fields td table td a:hover, #sbox_miscline a:hover {
	text-decoration:none;
	}

#searchbox_nedviga .caption, #searchbox_nedviga2 .caption {
	padding:0 3px 0 5px !important;
	font-size:11px !important;
	font-weight:bold;
	color:#fff;
	}

#searchbox_nedviga .caption label {
	margin: 0em 1em 0em 0.5em !important;
	vertical-align: top;
}

#searchbox_nedviga tr.fields td table td span.caption sup {
	font-size:10px !important;
	}


input.in_text {
	height:21px;
	border:1px solid #1e6da0;
	text-align:center;
	line-height:18px !important;
	margin:0 0 0 5px !important;
	font-size:14px;
	line-height:14px;
	}


.ta_left {
	text-align:left;
	}

.ta_right {
	text-align:right;
	}

.ta_center {
	text-align:center;
	}

#searchbox_nedviga tr.fields td table td button,  #searchbox_nedviga2 tr.fields td table td button{
	background-color:transparent;
	border:none;
	}
/* _fields */



/* misc_ */
#sbox_miscline td table {
	width:90% !important;
	}

#sbox_miscline td table td table {
	width:100% !important;
	}

#sbox_miscline td table td {
	height:26px;
	vertical-align:top !important;
	}

#sbox_miscline td table td .caption {
	display:block;
	padding:4px 10px 0 10px !important;
	margin:0 0 0 0;
	}


#sbox_miscline div.flours {
	width:200px;
	display:block;
	float:right;
	margin:3px 0 0 0 !important;
	~margin:0;
	}

#sbox_miscline div.flours table td {
	vertical-align:top;
	}

#sbox_miscline div.flours table td label, #sbox_miscline div.flours label {
	font-size:11px !important;
	line-height:16px;
	~line-height:18px;
	color:#fff;
	cursor:pointer;
	~cursor:hand;
	}

.disabled {
	display:none;
	}

.enabled {
	display:show;
	}
/* _misc */





/* switcher_ */
#searchbox_nedviga tr.switcher td {
	text-align:center;
	}

#switcher {
	display:block;
	width:185px;
	height:16px;
	text-align:center;
	line-height:16px;
	color:#fff;
	text-decoration:none;
	text-transform:lowercase;
	font-family:arial,helvetica,sans-serif;
	font-size:10px;
	margin:0 auto !important;
	}

.expanded {
	background:#0964a0 url(http://i.redom.ru/estate/img/switcher.gif) 0 -16px no-repeat;
	}

.collapsed {
	background:#0964a0 url(http://i.redom.ru/estate/img/switcher.gif) 0 0 no-repeat;
	}
/* _switcher */

/* _NEDVIGA SEARCHBOX */

/* _REDOM FORM'S ELEMENTS STYLE SHIT */

/* NEW FANCY POPUPS */
#selector_rooms, #selector_place,
#selector_plans, #selector_walls,
#selector_floor, #selector_place, #selector_levels, #selector_b_type, #selector_room_type_id {
   cursor:default;
   width:auto;
   height:19px; ~height: 21px;
   border:1px solid #1e6da0;
   margin:0 5px 0 0;
   padding:0 19px 0 4px !important;
   font-size:11px;
   line-height:19px;
   background:#fff url(http://i.redom.ru/estate/filter/fdarr.png) right top no-repeat;
   overflow:hidden;
   color:#000;
   font-weight:normal;
}

#searchbox_nedviga select {font-size:11px;}


#rooms, #plans, #walls, #floor, #place, #levels, #b_type, #room_type_id {
	position:absolute;
	font-size:12px;
	background:#fff url(http://i.redom.ru/estate/filter/dlgbg.png) 0 20px repeat-x;
	border:2px solid #8bad57;
	display: none;
	color:#000;
	width: auto;
}

#rooms .uarr, #plans .uarr, #walls .uarr,
#floor .uarr, #place .uarr, #levels .uarr, #b_type .uarr, #room_type_id .uarr {
    display:block;
    width:9px;
    height:5px;
    line-height:1px;
    font-size:1px;
    position:absolute;
    z-index:77;
    margin:-3px 0 0 10px !important;
    background:transparent url(http://i.redom.ru/estate/filter/uarr.png) 0 0 no-repeat;
}


#rooms .top, #plans .top, #walls .top,
#floor .top, #place .top, #levels .top, #b_type .top, #room_type_id .top {
	font-size:12px;
	line-height:20px;
	font-weight:bold;
	color:#354b18;
	border-bottom:1px solid #9cc261;
	padding:0 0 0 10px !important;;
	background-color:#9cc261;
	cursor:default;
}

#rooms div.top a, #plans div.top a , #walls div.top a,
#floor div.top a, #place div.top a, #levels div.top a, #b_type div.top a, #room_type_id div.top a {
	float:right;
    margin:0 4px 0 10px !important;
}


#searchbox_nedviga tr.fields table.check,
#sbox_miscline table.check {
    margin:10px 0 10px 0 !important;
	width: auto !important;
}

#searchbox_nedviga tr.fields table.check td,
#sbox_miscline table.check td {
    /*line-height:21px;*/
    font-size:12px;
    color:#163e62;
    height:18px;
    white-space:nowrap;
    padding:0 10px 0 10px !important;
}

#searchbox_nedviga table.check label {
    line-height:15px;
    vertical-align: middle !important;
    ~padding-top: 2px !important;
}

#searchbox_nedviga tr.fields table.check td input {
    vertical-align:middle;
}


#searchbox_nedviga tr.fields table.step {
    background:transparent url(http://i.redom.ru/estate/filter/fdarr1.png) 0 0 no-repeat;
}

#searchbox_nedviga tr.fields table.step td {
    padding:10px 10px 0 10px !important;
    /*line-height:12px;*/
    white-space:normal;
    /*vertical-align:top;*/
}

#searchbox_nedviga table.columns td {vertical-align:top !important}

#searchbox_nedviga table.columns td div {
    margin:8px 0 8px 0 !important;
    padding-left:18px !important;
    vertical-align: middle;
}

#searchbox_nedviga table.columns td div input {
    margin-left:-18px !important;
    ~margin-left:-21px !important;
    position:absolute;
}

#city_id {
    width:99%;
    height:21px;
    /*line-height:21px;*/
    font-size:13px !important;
}
/* _NEW FANCY POPUPS */



