@charset "utf-8";
/* CSS Document */

html:not(:nth-child(1)) { overflow: visible; }

html, body {
	margin: 0;
	padding: 0;
	border: 0;
	width: 100%;
	height: 100%;
}

body {
	position: relative;
	min-width: 640px;
	width: 1000px;											/*ширина сайта*/
	margin: 0 auto;
}

#header {
	height: 200px;											/*высота хейдера*/
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 1000;
	left: 0;
}

.column {
	padding-top: 200px !important; 							/*высота хейдера*/
}

#container {
	padding-left: 220px;									/*ширина левой колнки*/
	padding-right: 200px;									/*ширина правой колнки*/
	overflow: hidden;
	float: left; /* IE 5.01 */
	float/**/: none;
	height: auto !important;
	height: 100%;
	min-height: 100%;
	position: relative;
}

* html #container { overflow: visible; }

#left, #right, #content {
	float: left;
	position: relative;
	/*padding-bottom: 3em !important;*/                    /* закоментил из-за бага в ие */
}

/*\*/
#left, #right, #content {
	padding-bottom: 997em !important;
	margin-bottom: -997em !important;
}
/**/

@media all and (min-width: 0px) {
	#left, #right, #content {
		margin-bottom: 0 !important; 
		padding-bottom: 0 !important;
	}

	#left:before, #right:before, #content:before {
		content: 'EasyClearing';
		display: block;
		background: inherit;
		padding-top: 1000em !important;
		margin-bottom: -1000em !important;
		height: 0;
	}
}

#container:after {
	content: 'EasyClear'; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
}

#container { display: inline-block; }
/*\*/
#container { display: block; }
/**/

#left {
	width: 220px;											/*ширина левой колнки*/
	margin-left: -100%;
	right: 220px;											/*ширина левой колнки*/
}	

* html #left {
	left: 300px;
	margin-left: expression("-" + this.offsetParent.clientWidth);
}

#right {
	width: 200px;											/*ширина правой колнки*/
	margin-right: -100%;
}

#content {
	width: 100%;
}

#footer {
	height: 100px;											/*высота футера*/
	position: relative;
	z-index: 1000;
	/*margin-top: -3em;*/									/*неуверен что это нужно*/
	width: 100%;
}
