﻿/*
	Author: Garovsky
	Author URI: http://garovsky.ru/
*/

/* Hard CSS, protect from dummies */

/* PNG images fix */
.png { 
	width: expression(width);
	filter: expression( (runtimeStyle.filter == '') ? runtimeStyle.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+src+"', sizingMethod='image')" : '', src = '/css/blank.gif'); 
}

h1 a.button, .title a.button { vertical-align: bottom; }


/* Forms */
input {
	scrollbar-face-color: expression(runtimeStyle.scrollbarFaceColor = '#fff', className = (className) ? (className) + ' type-'+type : (className) + 'type-'+type); 
}
	button, .type-text, .type-password, .type-file, select, textarea, a.button {
		font: 400 12px Verdana, Tahoma;
		color: #222;
		background: #f7f7f7;
		padding: 3px 5px;
		border: 1px solid #d1d1d1;
	}
	button  { padding: 2px 7px 1px; overflow: visible; }
	a.button { padding: 3px 7px; }
		a.button:hover { background: #FFF6D9; border-color: #bbb; outline: none; }		
	.type-checkbox, .type-radio { margin: -2px 2px -2px -3px; }	
/* select { width: auto; } - overflow fix */


/* Jumping fix */
ul.clear, .type-6 ul, .type-13 ul, .type-14 ul { width: 100%; padding-right: 2px; overflow-x: hidden; }


/* Main containers */
#layout {
	width: expression((document.compatMode && document.compatMode == 'CSS1Compat') ? (document.documentElement.clientWidth < 999 ? "999px" : (document.documentElement.clientWidth > 1240 ? "1240px" : "auto")) : (document.body.clientWidth < 999 ? "999px" : (document.body.clientWidth > 1240 ? "1240px" : "auto")));
}
	#wrapper { height: 100%; }


/* Header */
#header-tab button { padding: 1px 7px 0; }
#header-tab li { line-height: normal; padding-top: 11px; }

#member-tab li { padding-top: 10px; }

#header-search fieldset { line-height: 35px; }

#header-nav { margin-bottom: -1px; }
	#header-nav li { display: inline; }

#header-rating { height: 35px; padding: 0 0 0 10px; }


/* First-child */
#header-tab .register li, #header-nav li, .object-info p { scrollbar-face-color: expression(runtimeStyle.scrollbarFaceColor = '#fff', (this == parentNode.firstChild) ? className += ' first-child' : '' ) }
#header-tab .register li.first-child { padding-top: 11px; }

#header-nav li.first-child { margin-left: 33px; }
	#header-nav li.active { margin: 0 20px; }

.object-info p.first-child { padding: 0; }


/* Content */
.rating { background-image: url(rating.gif); }
.b-rating { background-image: url(b-rating.gif); }

.float-1 { margin-right: 7px; }
.float-4 { position: relative; }

.type-2 strong, .type-2 em, .type-2 p, .type-2 h3, .type-2 h4, .type-6 h3, .type-6 h4 { width: 100%; overflow: hidden; }
.type-2 dt { position: relative; }
	.type-2 dt .bl, .float-1 .bl { position: relative; margin-top: -2px; }
	.type-2 dt .br, .float-1 .br  { bottom: expression(this.parentNode.clientHeight % 2 == 0 ? 0 : -1); }
	.type-2 dt i { padding-left: 3px; }
.type-2 .price strong { width: auto; }
.type-6 li { height: 105px; overflow: visible; }
.type-6 .item-inner { width: 100%; overflow-x: hidden; }
.type-13 ul, .type-14 ul { padding-right: 5px; }
.type-13 p { padding-top: 0; }

.box-2-inner { padding-bottom: 6px; }
.box-2-overflow { padding-bottom: 5px; overflow-y: hidden; }
.box-2 .bt { position: relative; top: -7px; margin-bottom: -14px; }
.box-3-inner { height: 120px; overflow: visible; }
.box-5 .tp, .box-5 .bt { padding-right: 2px; }
	.box-5 .bt { position: relative; top: -5px; margin-bottom: -10px; }

.items .i-21 { padding-top: 6px; }

.tags-list li { padding-right: 4px; }

.respond-title, .respond-title p { padding-bottom: 5px; }
	.respond-title .rating { margin: 3px 8px 0 0; }
.respond .box-2-inner { padding-bottom: 5px; }
.responds textarea { margin-left: -3px; }

.listing-1 li { padding: 1px 0 1px 2%; }
.listing-2 li { padding: 1px 4px 1px 0; }

.arrow-down { background-position: 0 6px; }
.arrow-up { background-position: 0 5px; }


/* Footer */
#footer span { position: relative; }


/* hasLayout */
.type-4, .type-4 li, .type-6, .responds ul { position: relative; zoom: 1; }
label, .extra-2 a, .extra-2 a span, #header-tab li, #header-tab li a, #header-rating li, #footer p, .listing-1 li, .listing-2 li, .title span, h1 span, h1 a.button, .title a.button, .title .s-12, .actions a, .green, .red, .type-2 dd, .type-14, .items .clear h2, .box-2, .box-5 {
	zoom: 1;
}


/* Clearing */
.clear, #header, .container, .type-2 dl, .type-6 ul, .type-13 ul, .type-14 ul, .text, .respond, .respond-title, .items .clear h2, .item-inner, .actions-2 {
	height: 1%; overflow: visible;
}