/*
	Panels.css
	Copyright 2009 Avalanche Creative

	Scalable content panels with custom borders.
*/


img.toothpick{
	visibility: hidden;
	width: 1px;
	height: 1px;
}

.panel{
	padding: 0px;
	border-collapse: collapse;
	border-spacing: 0px;
	border-style: none;
}

.panel td,
.panel tr{
	padding: 0px;
	margin: 0px;
	border-width: 0px;
	vertical-align: top;
}

.p_top td,
.p_bottom_left,
.p_bottom_right,
.p_mid_left,
.p_mid_right{
	line-height: 0px;
	font-size: 0px;
}

.p_nail{
	position: relative;
	width: 0px;
	height: 0px;
}

	/* IMAGES */
	.p_top_left		{background-image: url("../images/p_top_left.png");		background-repeat: no-repeat;}
	.p_top_span		{background-image: url("../images/p_top_span.png");		background-repeat: repeat-x;}
	.p_top_right	{background-image: url("../images/p_top_right.png");	background-repeat: no-repeat;}
	
	.p_mid_left		{background-image: url("../images/p_mid_left.png");		background-repeat: repeat-y;}
	.p_mid_span		{background-color: white;								background-repeat: repeat;}
	.p_mid_right	{background-image: url("../images/p_mid_right.png");	background-repeat: repeat-y;}
	
	.p_bottom_left	{background-image: url("../images/p_bottom_left.png");	background-repeat: no-repeat;}
	.p_bottom_span	{background-image: url("../images/p_bottom_span.png");	background-repeat: repeat-x;}
	.p_bottom_right	{background-image: url("../images/p_bottom_right.png");	background-repeat: no-repeat;}
	
	/* TOP BORDER HEIGHT */
	.p_top td,
	.p_top .toothpick{
		height: 17px;
	}
	
	/* BOTTOM BORDER HEIGHT */
	.p_bottom td,
	.p_bottom .toothpick{
		height: 21px;
	}


	/* LEFT BORDER WIDTH */
	.p_top_left,
	.p_mid_left,
	.p_bottom_left,
	.p_top_left 	.toothpick,
	.p_mid_left 	.toothpick,
	.p_bottom_left	.toothpick{
		width: 25px;
	}
	
	/* RIGHT BORDER WIDTH */
	.p_top_right,
	.p_mid_right,
	.p_bottom_right,
	.p_top_right 		.toothpick,
	.p_mid_right 		.toothpick,
	.p_bottom_right		.toothpick{
		width: 22px;
	}
	
	/* MINIMUM WIDTH */
	.p_top .toothpick{
		width: 994px;
	}
	
	/* MINIMUM HEIGHT */
	.p_mid .toothpick{
		height: 643px;
	}
