/*
	yDSF (ydnar Drop-Shadow-Fu)
	ydnar@sixapart.com - http://www.sixapart.com
*/

.ydsf {
	display: block;
	position: relative;
	margin: 14px -14px -14px 14px;
	background: url(../_images/shadow-grid.gif) repeat;
}

/* ie6 ignores this selector */
html>body .ydsf {
	margin: 15px -15px -15px 15px;
	background: url(../_images/shadow.png) no-repeat right bottom;
}

/* shadow corners */
.ydsf:before,
.ydsf:after {
	content: " ";
	display: block;
	width: 13px;
	height: 13px;
	background: inherit;	
}

.ydsf:before {
	position: absolute;
	top: 0;
	right: 0;
	margin: -13px 0 0 auto;
	background-position: right top;
}

.ydsf:after {
	margin: -13px 0 0 -13px;
	background-position: left bottom;
}

.ydsf .inner {
	display: block;
	position: relative;
	overflow: hidden; /* prevents margin leakage from child elements */
	left: -13px;
	top: -13px;
}

/* ie6 ignores this selector */
html>body .ydsf .inner {
	left: -13px;
	top: -13px;
	margin: 0;
}


/* helper classes (not YDSF related) */


.clear {
	clear: both;
	overflow: hidden;
	width: 1px;
	height: 1px;
	margin: 0 -1px -1px 0;
	border: 0;
	padding: 0;
	font-size: 0;
	line-height: 0;
}

.left {
	float: left;
	display: inline; /* fixes ie double margin-left bug */
}

.right { float: right; }



