/*CONSTANT*/

body {
	font-family: Arial, Helvetica, sans-serif;
	text-align: justify;
	background-image: url(images/background.jpg);
	background-repeat: repeat-x;
	margin-top: 0px;
	padding-top: 0px;
}

td {
	vertical-align: top;
}

p, h1, h2, h3, h4, h5, h6, h7 {
	margin-top: 0px;
}

h1, h2, h3, h4,  h5, h6, h7 {
	color: #122272;
}

a {
	color: #122272;
	font-weight: bold;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

/*PAGE*/

div#main {
	position: relative;
	width: 790px;
	margin-left: auto;
	margin-right: auto;
	background-image: url(images/header_nav_bg.jpg);
	background-position: center top;
	background-repeat: no-repeat;
}

div#header {
	width: 790px;
	height: 226px;
}

div#footer {
	text-align: center;
	vertical-align: middle;
	font-size: .8em;
	margin: 15px;
}

div#counter {
	position: absolute;
	bottom: 0px;
	right: 210px;
	width: 300px;
	padding-bottom: 12px;
}

div#counter table {
	width: 300px;
	text-align: center;
	border: #afafaf 1px solid;
	background-color: #ffffff;
}

div#invite {
	position: absolute;
	bottom: 5px;
	right: 551px;
	width: 116px;
	height: 73px;
}

div#questions {
	position: absolute;
	bottom: 5px;
	right: 519px;
	width: 164px;
	height: 116px;
}

/*NAV*/

div#nav {
	position: absolute;
	top: 165px;
	left: 22px;
	width: 746px;
	height: 26px;
}

/*CONTENT*/

#content {
	position: relative;
	width: 790px;
	min-height: 200px;
	background-image: url(images/content_bg2.jpg);
	background-position: center bottom;
	background-repeat: no-repeat;
	padding-bottom: 125px;
}

#content_text {
	width: 579px; /*Max 746*/
	padding-left: 22px;
	padding-right: 22px;
}

#content_text p {
	line-height: 1.3em;
}

/*FORMS*/

div.form_error {
	border: #e10052 2px solid; background-color: #f6b3ad; padding: 2px; width: 50%; margin-top: 2px;
}

div.form_success {
	border: #122272 2px solid; background-color: #baedff; padding: 2px; width: 60%; margin-top: 2px;
}

/*GALLERY*/

div#gallery {
	width: 746px;
	height: 100px;
	overflow: auto;
}

div#gallery table {
	text-align: center; vertical-align: middle;
}

div#gallery table tr td {
	vertical-align: middle;
	padding: 3px;
}

div#gallery table tr td a:hover {
	cursor: pointer;
}

div#gallery table tr td a img {
	border: #000000 1px solid;
}

div#image {
	width: 746px;
	margin-top: 20px;
	margin-bottom: 20px;
	text-align: center;
}

div#image img {
	border: #000000 1px solid;
	background-image: url(images/gallery/ajax-loader.gif);
	background-position: center center;
	background-repeat: no-repeat;
}