/*	Mac-style styles
	================  */

/*	Mac-style box shadows
	---------------------  */

.shadow
{
	/* Layer underneath siblings so we don't eat their events. */
	z-index: -1;
	
	/* Shadow owner/ancestor must have absolute or relative position */
	position: absolute;
	
	/* But offset by 1px down and to the right */
	left: 1px;
	top:  1px;
	
	width:  100%;
	height: 100%;
	
	border-bottom: 1px solid black;
	border-right:  1px solid black;
	
	/* Default; perfect for menus */
	margin:  0px;
	padding: 0px;
}

.menu + .shadow
{
}

.window + .shadow
{
	/* Window shadows are one pixel longer up and to the left */
	
	border: 1px solid black;
}

.plain.window + .shadow
{
	display: none;
}

.document.window + .shadow
{
	top: 1px;
	height: auto;
	bottom: -3px;
}

.alt.window + .shadow
{
	left: 2px;
	top:  2px;
	
	border-bottom: 2px solid black;
	border-right:  2px solid black;
}

