/* CSS BNI */


/* ---------- 1.0 MISC ---------- */
body {
   background: #0F5A6A url(./images/bg.png) repeat-x top;
   margin: none;
   padding: 0;
   color: #000000;
   font: 0.8em "Arial", Tahoma, Helvetica, Sans-Serif;
   text-align: center;
}

a {
   color: #674d34;	
}

a:hover {
	color: #650b15;
}

* {
	padding:0; 
	margin:0;
	/*border: 0;*/	/* drop-down menu(cssplay) doesn't work! */
	text-decoration: none;
}

h2, h3, h4, h5, h6 {
	font-weight: normal;
	font-family: "Trebuchet MS", "Times New Roman", Times, serif;
}

h2 {
	font-size: 1.3em;
	font-weight: bold;
}

h3 {
	font-weight: bold;
	font-size: 1.1em;
}

#panel {
	position: relative;
	margin: 0 auto;
	width: 100%;
	text-align: left;
}

#panel_middle {
	position: relative;
	margin: 0 auto;
	/*width: 882px;*/
	width: 982px;	/* If you want enlarge content part, increase this value and #middle.width as well */
	text-align: left;
	/*background-color:gray;*/
}

.endDiv {
	clear: both;
	/*visibility: hidden;*/
	background-color: red;
}

#top {
	background: url(/image/logo&1menu_bg.gif) top left;
	width: 100%;
	text-align: center;
}

#left, #right {
	width: 150px;
}

#left {
	float: left;
	text-align: left;
	/*background-color: red;*/
	/*border-left: 1px solid #f00;*/
}


#middle {
	float: left;
	width: 680px;	/* If you want enlarge content part, increase this value and #panel_middle.width as well */
	background-color: #0F5A6A;
}

#right {
	float: right;
}

#right h1, #left h1 {
	font-size: 1.6em;
	font-weight: bold;
	color:#FFFFFF;
}

#bottom {
	width: 100%;
	text-align: center;
}

#bottom P {
	font-size: 0.9em;
	font-weight: bold;
	color:#FFFFFF;
}

legend {
	padding-left: 2px;  
	padding-right: 2px; 
	border: none;       
	position: static ! important;
	float: none ! important;
	width: -moz-fit-content ! important;
	min-width: 0 ! important;
	max-width: none ! important;
	height: auto ! important;
	min-height: 0 ! important;
	max-height: none ! important;
	white-space: nowrap;
}

fieldset {
	display: block;
	margin-left: 2px;
	margin-right: 2px;
	padding: 0.35em 0.625em 0.75em;
	border: 2px groove ThreeDFace;
}

/* mainly for 'jobs' and 'accomodation' */
.table_list {
	text-align:center;
	width:99%;
}

.table_list_head {
	background-color:#7777FF;
}

.table_list_item_odd, table_list_item_even {
	font-size:13px;
}

.table_list_item_odd {
	background-color:#AAAAAA;
}

.table_list_item {
	border-bottom: 1px #cccccc solid;
}
/* ---------- 2.0 HEADER ---------- */

#header h1 {
	text-indent: -10000em;
	background: url(./images/babylon.jpg) top left no-repeat;
	width: 700px;
	height: 117px;
}

	/* ---------- 2.2 HEADER - menu ---------- */
	
	#menu {
		text-align: center;
		margin-top: 5px;
		height: 38px;
		width: 700px;
	}
	
	#menu ul li {
		height: 30px;
		width: 96px;
		display: block;
		float: left;
		margin: 0 8px;
		padding: 7px 0 0 0;
		background-color: #96d443;
	}
	
	#menu ul li a {
		color: #fff;
		font-family: "Trebuchet MS", "Times New Roman", Times, serif;
		font-size: 1.2em;
	}
	
	#menu ul li a:hover {
		color: white;
	}
	

/* ---------- 3.0 CONTENT ---------- */

#content {
	padding: 0 10px;
	background-color: #0F5A6A;	
}

#content, #right, #left {
	margin-top: 15px;
}

#content ul {
	padding-left: 10px;
}
	
	/* ---------- 3.1 CONTENT - home page ---------- */
	
	
	.blocks {
		overflow: hidden;
		height: auto;
		/*background-color: red;*/
	}
	
	.leftBlock, .rightBlock {
		display: block;
		/*margin-top: 15px;*/
		margin-bottom: 15px;
		width: 46%;
		background-color: #FFFFFF;
		padding: 10px;
	}
	
	.leftBlock {
		float: left;
	}
	
	.rightBlock {
		float: right;
	}
	
	.onlyBlock {
		width: 100%;
		background-color: #FFFFFF;
	}

	.leftBlockOutter {
		float: left;
		display: block;
		/*margin-top: 15px;*/
		width: 46%;
	}

	.blockInner {
		display: block;
		width: 100%;
		background-color: #FFFFFF;
		margin-bottom: 15px;
		padding: 10px;
	}
		
	#paraWrapper {
		background-color: #FFFFFF;
		padding: 1px 5px 0px 5px;	/* can't use padding. because of rounded-bottom */
		min-height: 720px;	/* look nicer (for Mozilla)*/
		/*height: 720px;*/	/* look nicer (for IE)*/
	}
	
	.onlyBlock P {
		/*margin: 30px 30px 30px 30px;
		margin-left:100px;
		background-color: green;*/
		line-height:17px;
		margin-top:10px;
		margin-bottom:10px;
	}
	
	.roundbottom {
		background: url(./images/corner_bot_right-content.gif) no-repeat top right; 
	}
	
	img.corner {
	   width: 10px;
	   height: 10px;
	   border: none;
	   display: block !important;
	}

	
/* ----------- 4.0 SIDES ------------- */

#right_menu, #memberBox, .ad {
	width: 125px;
}

#right_menu{
	height: 117px;
}

#language {
	margin-top:10px;
	margin-bottom:10px;
}

/* Control the size of the ADs added from the administration page*/
.advert2 {
	height: 345px;
	width: 125px;
	border: 0px;
}

.advert {
	/*height: 345px;*/
	margin-top:10px;
	margin-bottom:10px;
}

.advert_left {
	margin-top:0px;
	margin-bottom:10px;
	text-align:right;
}

.site_search_form {
	margin-top:10px;
	margin-bottom:10px;
	text-align:right;
}

#memberBox #login_form_login, #login_form_password {
	height: 22px;
	width: 125px;
	display: inline;
}

#memberBox #login_form_login, #login_form_password, #login_form_submit {
	margin-top: 2px;
	margin-bottom: 2px;
}

#memberBox P, #right_menu P {
	color:#FFFFFF;
	font-size: 0.8em;
}

#memberBox a {
	color:#FFFFFF;
	text-decoration: underline;
}

#right_menu ul, #left ul {
	list-style:none;
	padding-top: 10px;
}

#right_menu ul li, #left ul li {
	line-height: 1.2em;
	font-weight: bold;
}

#left ui {
	margin-right:10px;
}

#left li {
	text-align: right;
	/*margin-right:10px;*/
}

#right_menu a, #left a {
	color:#FFFFFF;
}