*,* {margin: 0; padding: 0;}
.clearfix {clear: both;}
body {
background: #fff url(img/bodybg.jpg) repeat-x;
font: 13px 'Trebuchet MS', Arial, sans-serif;
color: #36362E;
text-align: center;
}

h2 {
font: normal 20px Georgia, Times, serif;
color: #276981;
margin: 0 0 13px 0;
}

h3 {
font: bold 16px Georgia, Times, serif;
color: #333;
margin: 15px 0 5px 0;
}

h4 {
font: normal 15px Georgia, Times, serif;
color: #444;
margin: 5px 0 3px 0;
}

h5 {
font: normal 14px Georgia, Times, serif;
color: #222;
margin: 0;
}

p {
margin: 0 0 20px 0;
}

p, ul, ol {
margin:0px 0px 20px;
}

ul, ol {
margin-left:20px;
}

ol.nb, ul.nb {
list-style:none;
margin-left:0px;
}

a {
color: #20667F;
}

a:hover {
color: #a61e80;
}

a img {
border: 0;
}

#main {
width: 745px;
margin: 0 auto;
text-align: left;
}

#head {
background: #FBFBF4 url(img/headerbg.jpg) repeat-x;
height: 216px;
position: relative;
}

h1 {
position: absolute;
width: 500px;
height: 47px;
text-indent: -9999px;
overflow: hidden;
background: #FBFBF4 url(img/logobg.jpg) no-repeat;
top: 8px;
}

h1 a {
display: block;
width: 471px;
height: 47px;
}

#searchform {
position: absolute;
top: 25px;
right: 0;
}

#searchform input{
border: 1px solid #ABAC9A;
background: #F3F6FD;
padding: 2px;
font: 11px 'Trebuchet MS', Arial, sans-serif;
}

#searchform .submit {
margin-left: 5px;
background: #A61E80;
color: #fff;
padding: 0 3px;
border: 1px solid #D981BB;
border-color: #D981BB #A61E80 #A61E80 #A61E80;
}

#head img {
position: absolute;
bottom: 41px;
}

#nav {
position: absolute;
bottom: 0;
margin: 0;
width: 745px;
overflow: hidden;
height: 29px;
background: transparent url(img/navlines.jpg) repeat-x;
}

#nav li {
list-style: none;
float: left;
}

#nav li a {
display: block;
float: left;
border: 1px solid #A2A590;
border-width: 1px 0 1px 0;
height: 21px;
text-decoration: none;
font: 12px Georgia, Times, serif;
padding: 6px 10px 0 11px;
color: #4A4A3D;
}

#nav li a:hover, 
#b_index #n_index a,
#b_oms #n_oms a,
#b_arb #n_arb a,
#b_lan #n_lan a,
#b_mot #n_mot a,
#b_bil #n_bil a,
#b_bla #n_bla a,
#b_fou #n_fou a,
#b_spo #n_spo a,
#b_kon #n_kon  a{
border-color: #216C89;
background: transparent url(img/navbgh.jpg) repeat-x;
color: #236C8B;
}

#container {
width: 745px;
background: transparent url(img/containerbg.jpg) repeat-x;
}

#content {
float: left;
padding: 15px;
width: 430px;
}

#content.forum {
float: none;
width: 720px;
padding: 15px;
}

#sidebar {
float: right;
width: 235px;
padding: 15px;
}

#sidebar div {
background: #FBF8F0;
border: 1px solid #A6A693;
font: 13px Georgia, Times, serif;
padding: 6px;
margin: 0 0 10px 0;
}

#topics {
width: 100%;
border-collapse: collapse;
border-top: 1px solid #216c89;
}

#topics caption {
font: normal 17px Georgia, Times, serif;
color: #276981;
text-align: left;
margin: 0 auto;
padding: 0 0 10px 0;
width: 600px;
}

#topics tr {
background: #ffd;
border-bottom: 1px solid #dfd8c1;
}

#topics tr:hover {
background: #fff;
}

#topics tr.last {
background: none;
border: 0;
text-align: right;
}

#topics td, #topics th {
padding: 3px;
}

#topics .thead,#topics .thead:hover {
background: #f4ffff;
border-bottom: 1px solid #216c89;
}

.post {
width: 710px;
background: #fff;
border-top: 1px dashed #216c89;
border-bottom: 1px dashed #216c89;
margin: 0 0 15px 0;
}

.threadmaker {
border-top: 1px solid #222;
border-bottom: 1px solid #222;
}

.post .meta {
background: #f4ffff;
padding: 2px;
}

.forum input, .forum textarea, .details input, .details textarea {
display: block;
width: 450px;
border: 1px solid #abac9a;
font: 13px 'Trebuchet MS', Arial, sans-serif;
color: #36362E;
padding: 3px;
margin: 0 0 10px 0;
}

.forum textarea {
height: 200px;
}

input[type=hidden] {
	display: none;
}

fieldset {
	padding: 15px;
	margin: 10px 0;
}

.forum .submit, .details .submit {
width: auto;
background: #A61E80;
color: #fff;
padding: 0 3px;
border: 1px solid #D981BB;
border-color: #D981BB #A61E80 #A61E80 #A61E80;
}

#footer {
clear: both;
border-top: 1px solid #a3a590;
text-align: right;
position: relative;
}

#footer a#eng {
	position: absolute;
	left: 1px;
	top: 1px;

}

a.pdf {
background: transparent url(img/pdf.png) no-repeat top left;
padding: 0 0 0 23px;
}

a.xls {
background: transparent url(img/xls.png) no-repeat top left;
padding: 0 0 0 23px;
}

#sponsors {
border: 1px dashed #ADC4C7;
padding: 10px;
margin: 0 0 10px 0;
text-align: justify;
}

#sponsors img {
margin: 5px;
}

#content.clinics {
	width: 445px;
}

div.clinic {
border: 1px dashed #c1c1c1;
padding: 0 0 0 15px;
margin: 0 0 10px 0;
}

/*
	Gallery
*/

#gallery {
	width: 710px;
	height: 570px;
	margin: 0;
	padding: 0;
	list-style: none;
	position: relative;
}

#gallery li  {
	float: left;
	margin: 0 5px 10px 0;
}

#gallery li img {
	padding: 5px;
	background: #fff;
	border: 1px solid #216C89;
}

#gallery li img:hover {
	border-color: #BC0486;
}

#galleryBox {
	position: absolute;
	top: 40px;
	left: 40px;
	
	padding: 10px;
	background: #fff url('./img/load.gif') no-repeat center center;
	border: 2px solid #555;
	display: none;
	cursor: pointer;
}

#galleryImage {
	display: none;
}

#galleryBox.visible, #galleryImage.visible {
	display: block;
}
