/*
	yDSF (ydnar Drop-Shadow-Fu)
	ydnar@sixapart.com - http://www.sixapart.com
*/

.ydsf
{
	display: block;
	position: relative;
	margin: 4px 2px 2px 4px;
	background-image: url(../grafix/ysdf/shadow-grid.gif);
	background-repeat: repeat;
}

/* ie6 ignores this selector */
html>body .ydsf
{
	margin: 10px -2px -2px 10px;
	background-image: url(../grafix/ysdf/shadow.png);
	background-repeat: no-repeat;
	background-position: right bottom;
}

/* shadow corners */
.ydsf:before,
.ydsf:after
{
	content: " ";
	display: block;
	width: 10px;
	height: 10px;
}

.ydsf:before
{
	position: absolute;
	top: 0;
	right: 0;
	margin: -10px 0 0 auto;
	background-position: right top;
}

.ydsf:after
{
	margin: -10px 0 0 -10px;
	background-position: left bottom;
}

.ydsf .inner
{
	display: block;
	position: relative;
	overflow: hidden;
	padding: 5px 0px 0px 5px;
	/* prevents margin leakage from child elements */
	left: -4px;
	top: -4px;
}

/* ie6 ignores this selector */
html>body .ydsf .inner
{
	left: -10px;
	top: -10px;
	margin: 0;
}

/***********  drop shadow helper styles ***********/
.left
{
	float: left;
	display: inline;
	/* fixes ie double margin-left bug */
}

.right { float: right; }

/*********** end drop shadow styles ***********/
