/* ------------------------------------------------------
	CSS for the Dihedrals.com site.
	Main file included in all pages on this site.
-------------------------------------------------------*/
html {
	overflow-y: scroll;
	height: 100%;
}
body {
	background: black url(../images/back-blend.jpg) repeat-x;	
	font-family: verdana, "sans serif";										/* @SITE-FONT@ Verdana */
	font-size: 0.8em;
	color: white;
	text-align: center;
	height: 100%;
}




* {
	padding: 0;
	margin: 0;
}
img {
	border: none;
	vertical-align: bottom;
}
.hiddenText {
	display: none;
}
.clear {
	clear: both;
}



h1, h2, h3, p, ol, ul
{
	margin: 0 0 10px 0;
	text-align: left;
	color: white;
}
h1 {
	font-size: 130%;
	padding-bottom: 4px;
	border-bottom: 1px rgb(70%,70%,70%) solid;
}
h2 {
	font-size: 120%;
}
h3 {
	font-size: 110%;
	font-style: italic;
	color: rgb(70%,70%,70%);			/* Site Color: Header Gray */	
}

p {
	text-align: justify;
}
a {
	text-decoration: none;
	color: rgb(80%,80%,80%);
	background: url(/images/underline-dotted-red.gif) left bottom repeat-x;
}
a:hover {
	color: rgb(255,0,0);							/* @SITE-COLOR@ Bright Red */
}


/* Site Header, Logo and Main Menus */
#centerBox {
	margin: 0 auto;
	background: url(../images/back-matterhorn.jpg) 0 361px no-repeat;	
	width: 980px;
	min-height: 800px;
}

	#centerBox #menuBox {
		float: left;
		display: inline;
		width: 335px;
		min-height: 300px;
	}
		#centerBox #menuBox #logo {
			margin: 0 auto 20px auto;
			width: 300px;
			height: 304px;
		}
		
		/*
		* Making the main menu relative and moving it upwards,
		* as the Logo overlaps behind it.
		*/
		#centerBox #menuBox #mainMenu {
			position: relative;
			top: -90px; left: 0;
			text-align: right;
			margin: 0;
			color: rgb(70%,70%,70%);			/* Site Color: Header Gray */	
			text-shadow: black 0 0 5px;
		}
			#centerBox #menuBox #mainMenu li {
				margin: 0 0 2px 0;
				list-style-type: none;
				cursor: default;
				font-weight: bold;
				font-size: 120%;
				padding-right: 30px;
			}
			#centerBox #menuBox #mainMenu li a {
				color: white;
				text-decoration: none;
				background: none;
			}
				#centerBox #menuBox #mainMenu li a:hover {
					color: rgb(255,0,0);							/* @SITE-COLOR@ Bright Red */
				}
	
	
	#centerBox #languagesMenu {
		float: left;
		display: inline;
		width: 644px;
		margin: 15px 0 4px 0;
		list-style-type: none;
		cursor: default;
		height: 20px;
		overflow: visible;
		font-size: 14px;
		font-weight: bold;
	}
		#centerBox #languagesMenu li {
			float: left;
			display: inline;
			color: rgb(50%,50%,50%);			/* Site Color: Header Gray */
		}
		#centerBox #languagesMenu li a {
			text-decoration: none;
			color: rgb(20%,20%,20%);
		}
			#centerBox #languagesMenu li a:hover {
				color: rgb(255,100,100);
			}


				
#subMenuBox {
	margin: 25px 0;
	height: 20px;
	text-align: left;
}
	#subMenuBox ul {
		font-size: 130%;
		font-weight: bold;
		margin-left: 0 !important;
	}
		#subMenuBox ul li {
			float: left;
			display: inline;
			margin: 0 20px 0 0;
			list-style-type: none;
			position: relative;
			cursor: default;
			color: rgb(70%,70%,70%);	
		}
			#subMenuBox ul li a{
				text-decoration: none;
				cursor: pointer;
				color: white;
				background: url(/images/underline-dotted-red.gif) left bottom repeat-x;
			}	
			#subMenuBox ul li a:hover {
				color: rgb(255,50,50);						
			}
			
			
.dwa-selectedMainMenu {
	position: relative;
	background: url(../images/selected-menu.gif) 310px center no-repeat;
}
	.dwa-selectedMainMenu a {
		color: rgb(50%,50%,50%);			/* Site Color: Header Gray */
	}
		.dwa-selectedMainMenu #selectedMainMenu {
			position: absolute;
			left: 0;
			top: 2px;
			width: 15px;
			height: 15px;
		}
	
	
/* Page Contents */
#leftPadBox {
	margin: 0 25px;			/* extra wrapping box for contents to make up for browser's broken padding */
}
#centerBox #contentsBox {
	margin: 0 0 0 0;	
	float: left;
	display: inline;
	position: relative;
	background: black url(../images/box-top.gif) no-repeat;
	width: 644px;
	min-height: 600px;
	border-bottom: 1px rgb(40%,40%,40%) solid;
}
	#centerBox #contentsBox h1,
	#centerBox #contentsBox h2,
	#centerBox #contentsBox h3,
	#centerBox #contentsBox p,
	#centerBox #contentsBox ol,
	#centerBox #contentsBox ul
	{
		
	}
	#centerBox #contentsBox h1 {
		color: rgb(255,0,0);							/* @SITE-COLOR@ Bright Red */
	}
	#centerBox #contentsBox ol,
	#centerBox #contentsBox ul
	{
		margin-left: 60px;
	}
	
	#centerBox #contentsBox h1 {
		margin-bottom: 20px;
	}
	#centerBox #contentsBox h2 {
		margin-bottom: 15px;
	}
	#centerBox #contentsBox h3 {
		margin-bottom: 10px;
	}
	
	
	#centerBox #contentsBox #contents {
		margin: 0;
		min-height: 600px;
	}



/* Footer */
#footerBox {
	margin: 0;
	padding: 35px 0 5px 0;
	text-align: left;
}
		/* SUB Menu */
		#footerBox ul {
			color: rgb(60%,60%,60%);			/* Site Color: Header Gray */	
			font-size: 100%;
			margin-left: 0 !important;
		}
		#footerBox li {
			float: left;
			display: inline;
			margin: 0 15px 2px 0;
			list-style-type: none;
			cursor: default;
			font-weight: bold;
			font-size: 120%;
		}
		#footerBox li a {
			color: white;
			text-decoration: none;
			background: none;
		}
			#footerBox li a:hover {
				color: rgb(255,0,0);							/* @SITE-COLOR@ Bright Red */
			}


#copyright {
	margin: 0 auto 10px auto;
	width: 980px;
	font-size: 70%;
	cursor: default;
}
	#copyright p {
		text-align: right;
		color: rgb(70%,70%,70%);			/* Site Color: Header Gray */	
	}
	/* Open Toolbox link */
	#copyright #dwa a {
		cursor: default;
		color: rgb(70%,70%,70%);			/* Site Color: Header Gray */	
		text-decoration: none;
		background: none;
	}
	
	#copyright a {
		text-decoration: none;
		color: white;
		background: none;
	}
	#copyright a:hover {
		text-decoration: none;
		color: rgb(255,0,0);							/* @SITE-COLOR@ Bright Red */
	}
	


#partnerLinks {
	margin: 0 auto 10px auto;
	width: 980px;
	font-size: 70%;
	min-height: 36px;
}
	

/* *********** DWA Component CSS ***********  */
/* Full Width Image */
.dwa-fullWidthImage {
	margin: 15px auto;
	clear: both;
	padding: 6px;
	border: 1px rgb(40%,40%,40%) solid;				/* Site Color: Dark Image Border Gray */	
	background-color: rgb(10%,10%,10%);
}
	.dwa-fullWidthImage p {
		margin: 5px 0 3px 0 !important;
		text-align: right !important;
		padding: 0 0 0 0 !important;
		color: rgb(70%,70%,70%) !important;			/* Site Color: Header Gray */	
		font-size: 75% !important;
		line-height: 1.2em !important;
	}



.dwa-floatLeftImg {
	float: left;
	display: inline;
	margin: 0 15px 5px 0;
	padding: 6px;
	border: 1px rgb(40%,40%,40%) solid;				/* Site Color: Dark Image Border Gray */
	background-color: rgb(10%,10%,10%);
}
.dwa-floatRightImg {
	float: right;
	display: inline;
	margin: 0 0 5px 15px;
	clear: left;
	padding: 6px;
	border: 1px rgb(40%,40%,40%) solid;				/* Site Color: Dark Image Border Gray */	
	background-color: rgb(10%,10%,10%);
}

	
/* Vertical Spacers */
.dwa-vSpacer10 {
	clear: both;
	height: 10px;
}	
.dwa-vSpacer25 {
	clear: both;
	height: 25px;
}	
.dwa-vSpacer50 {
	clear: both;
	height: 50px;
}


/* Image Float Left Linked */
.dwa-floatLeftLinkImg {
	float: left;
	display: inline;
	margin: 15px 0 15px 0;
	clear: right;
	border: 2px rgb(40%,40%,40%) solid;				/* Site Color: Dark Image Border Gray */	
	position: relative;
	width: 104px;
	height: 90px;
}
	.dwa-floatLeftLinkImg p {
		position: absolute !important;
		top: 0; left: 0;
		width: 104px;
		height: 90px;
	}
		.dwa-floatLeftLinkImg p a {
			display: block;
			width: 104px;
			height: 90px;
			text-decoration: none;
			background-image: url(/images/invis.gif);
		}
.dwa-hMenuSpacer {
	float: left;
	display: inline;
	height: 90px;
	width: 13px;
}

	
/* Gallery Components */
.dwa-galleryHeaderBox {
	margin: 25px 0 0 0;
	position: relative;
}
	.dwa-galleryHeaderBox h2 {
		margin: 0 0 3px 0 !important;
		font-size: 90%;
	}
	
	.dwa-galleryHeaderBox .dwa-galleryHeaderRightImg,
	.dwa-galleryHeaderBox .dwa-galleryHeaderLeftImg {
		float: left;
		display: inline;
		width: 289px;
		height: 104px;
	}
	.dwa-galleryHeaderBox .dwa-galleryHeaderHSpacer {
		float: left;
		display: inline;
		width: 14px;
		height: 20px;
	}
	.dwa-galleryHeaderBox p {
		line-height: 2em;
		margin: 3px 0 !important;
		font-size: 80%;
		text-align: center;
		width: 100%;
		color: rgb(40%,40%,40%);			/* Site Color: Header Gray */
	}
	.dwa-galleryHeaderBox .dwa-galleryHeaderInvisLink {
		position: absolute;
		top: 0; left: 0;
		width: 594px;
		height: 151px;
	}
	.dwa-galleryHeaderBox .dwa-galleryHeaderInvisLink a {
		display: block !important;
		position: relative;
		top: 0; left: 0;
		width: 594px;
		height: 100%;
	}
	




/* Double Square */
.dwa-galleryDoubleLandscape {
	position: relative;
}
	.dwa-galleryDoubleLandscape .dwa-galleryDoubleLandscapeRightImg,
	.dwa-galleryDoubleLandscape .dwa-galleryDoubleLandscapeLeftImg {
		float: left;
		display: inline;
		width: 289px;
		height: 250px;
	}
	.dwa-galleryDoubleLandscape .dwa-galleryDoubleLandscapeHSpacer {
		float: left;
		display: inline;
		width: 14px;
		height: 20px;
	}
	.dwa-galleryDoubleLandscape .dwa-galleryDoubleLandscapeBottomSpacer {
		clear: both;
		height: 20px;
	}

/* Double Portrait */
.dwa-galleryDoublePortrait {
	position: relative;
}
	.dwa-galleryDoublePortrait .dwa-galleryDoublePortraitRightImg,
	.dwa-galleryDoublePortrait .dwa-galleryDoublePortraitLeftImg {
		float: left;
		display: inline;
		width: 289px;
		height: 370px;
	}
	.dwa-galleryDoublePortrait .dwa-galleryDoublePortraitHSpacer {
		float: left;
		display: inline;
		width: 14px;
		height: 20px;
	}
	.dwa-galleryDoublePortrait .dwa-galleryDoublePortraitBottomSpacer {
		clear: both;
		height: 20px;
	}




















