﻿.CBFloatLeft {
	float: left;
}

.CornerBox {
	position: relative;
}

.CornerBox .TopWrapper {
	position: relative;
	overflow: hidden;	
}

* html .CornerBox .TopWrapper,
* html .CornerBox .BottomWrapper {
	zoom: 1; /*correct rendering in old ie versions (hasLayout property set)*/
}

.CornerBox .Content {
	position: relative;
	padding: 8px 10px 0px;
	overflow: hidden;	
}

.CornerBox .TopLeft,
.CornerBox .BottomLeft {
	overflow: hidden;		
	right: 60px;
}

* html .CornerBox .TopLeft,
* html .CornerBox .BottomLeft {
	width: expression( this.parentNode.clientWidth - 60 + "px" );	
}


.CornerBox .TopLeft,
.CornerBox .BottomLeft,
.CornerBox .TopRight,
.CornerBox .BottomRight {
	line-height: 0px;
	position: absolute;
}

* html .CornerBox .TopLeft,
* html .CornerBox .BottomLeft,
* html .CornerBox .TopRight,
* html .CornerBox .BottomRight {
	z-index: -9999;
}

.CornerBox .TopLeft {
	top: 0px;
	left: 0px;
}

.CornerBox .TopRight {
	top: 0px;
	right: 0px;
	width: 60px;	
}

.CornerBox .BottomWrapper {
	position: relative;
	overflow: hidden;
	height: 15px;			
}

.CornerBox .BottomLeft {
	bottom: 0px;
	left: 0px;
}

.CornerBox .BottomRight {
	bottom: 0px;
	right: 0px;
	width: 60px;
}

/* fix hacks */

/* ie 6 when using float left cornerbox without fixed width */
* html .CBFloatLeft .TopWrapper {
	float: left;
}
* html .CBFloatLeft .BottomWrapper {
	clear: both;
	float: left;
	width: expression( this.parentNode.firstChild.clientWidth + "px" );	
}

/* ie 7 when using float left cornerbox */
* + html .CBFloatLeft .BottomWrapper {
	width: expression( this.parentNode.firstChild.clientWidth + "px" );	
}
