/*
 * Site layout related css - DEMO 0.3
 */

/* necessary to remove the extra space before and after p tags in IE*/
p {
	margin: 0px;
}

a {
	color: #507191;
}

body {
	font-family: Verdana;
	font-size: small;
	margin: 0px;
	background-color: #fff;
	color: #333;
	line-height: 1.5em;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0px;	
	padding: 0px;
}

h1 {
	/*font-family: Verdana;*/
	font-size: medium;
	font-weight: normal;
	color: #507191;
	border-bottom: 1px solid #9db0c2;
	background-color: #edf1f4;
	padding: 2px;
	padding-left: 5px;
	margin-bottom: 5px;
}

h2 {
	font-family: Verdana;
	font-size: small;
	color: #9db0c2;
}

h3 {
	font-size: medium;
}

h4 {
	font-size: small;
}

h5 {
	font-size: smaller;
}

h6 {
	font-size: x-small;
}

ul {
	margin: 0px;
	padding: 15px;
	color: #333;
}

.main {
	width: 960px;
	margin-top: 20px;
	border: 0px;
	margin-left: auto;
	margin-right: auto;
}

.menu {
	font-family: Verdana;
	margin: 0px !important;
	margin-bottom: 10px !important;
}

.menu a,
.menu-link {
	position: relative;
	display: inline; /* fix the double margin bug for the first block in IE*/	
	padding-left: 10px;
	padding-right: 10px;
	border: 0px;
	text-align: center;
	font-weight: bold;
	font-size: medium;
	color: #507191;
	text-decoration: none;
}

.menu a:hover {
	color: #507191;
	text-decoration: underline;
}
 
.footer {
	height: 60px;
	text-align: center;	
	width: 100%;
	margin-top: 25px;
	border: 0px;
	color: #507191;
}

.twoColumns {
	position: relative;
	float: left;
	width: 49%;
}

.threeColumns {
	position: relative;
	float: left;
	width: 33%;
}

.block {
	position: relative; /* needed in IE to make the block clickable event outside of the content (no click through)*/
	display: block;
	*display: inline-block; /* needed in IE to get the proper offsetParent.offsetLeft when an inside image is float right */	
	overflow: hidden; /* needed in FF to clear the float content and stretch to proper dimensions */
	border: 1px solid #d0d0d0;
	cursor: default;
	margin: 5px;
	padding: 5px;
	background-color: #fff;
}

.img {
	position: relative;
	margin: 5px;
	border: 1px solid #666;	
}

.img-link {
	position: relative;
	margin: 5px;
	border: 1px solid #666;
	
	display: inline-block;
	overflow: hidden;
	line-height: 0px; /* remove extra bottom gap when img is in <a> in FF */
}

/* 
	Positioning and styling class
	Mandatory for the PageLayer application

 */
.pl-float-right {
	float: right;
}

.pl-float-left {
	float: left;
	display: inline; /* fixes the "double margin" bug in IE6 */
}

.pl-clear-left {
	clear: left;
}

.pl-clear-right {
	clear: right;
}

.pl-clear-both {
	clear: both;
}

.pl-margin-auto {
	margin-left: auto;
	margin-right: auto;
}