html, body {
	font-family: Tahoma;
	font-size: 12px;
	margin:0 3px 0 3px;
	padding:0;
	background: #fefefe;
}


#header {
	background: white url('../media/logo.png') right top no-repeat;
	height: 100px;
	margin: 0px auto 0px auto;
	text-align: right;
	direction: rtl;
	width: 900px;
}

#header a {
	display: block;
	width: 900px;
	height: 100px;
}


#page {
	background: white url('../media/contentbg.png') left 130px no-repeat;
	width: 900px;
	height: auto;
	text-align: right;
	direction: rtl;
	margin: 0 auto 0 auto;
}

#demo {
	height: 208px;
	width: 886px;
	margin: 45px auto -12px auto;
	text-align: center;
}

img {
	border: 0;
}

#demo .panel {
	float: right;
	margin: 12px 44px 12px 0;
	display: block;
	width: 235px;
	height: 169px;
	background: #dadada;
	border: 1px #dadada solid;
}

#footer {
	height: 151px;
	margin: 8px auto 0 auto;
	text-align: right;
	width: 900px;
	background: #fafafa;
}

#footer div {
	float: left;
	padding-top: 52px;
	margin-left: 22px;
	text-align: right;
	direction: rtl;
	color: gray;
}

#menubar {
		background: black url('../media/menubar.png') left top no-repeat;
		width: 900px;
		height: 30px;
		z-index: 80;
}

.button {
	width: auto;
	height: 30px;
	white-space: nowrap;
	float: right;
	text-align: center;
	margin-right: 0px;
	padding-left: 6px;
}

.sep {
	color: gray;
	width: auto;
	height: 30px;
	line-height: 30px;
	white-space: nowrap;
	float: right;
	text-align: center;
	margin-right: 0px;
	padding-left: 6px;
}

.button span {
		display: none;
}

.button a,.button a:visited {
	font-size: 11px;
	font-weight: bold;
	direction: rtl;
	position: relative;
	line-height:30px;
	color: white;
	text-decoration: none;
	display: block;
	height: 30px;
	overflow: hidden;
}

.button a:hover {
	color: yellow;
	text-decoration: none;
	
}

#wrapper_bg2 {
	margin: 5px auto 0 auto;
	display: block;
	width: 886px;
	height: auto;
	overflow: hidden;
}

#wrapper_bg {
	margin: 0px auto 0 auto;
	display: block;
	width: 870px;
	margin-top: 8px;
	height: 40px;
	overflow: hidden;
}


#wrapper_bg div {
		color: gray;
		font-family: Times New Roman;
		font-size: 20px;
		font-weight: bold;
		text-align: right;
		direction: rtl;
		padding: 10px 12px 0 0;
}

#content {
	margin: 0px auto 0 auto;
	display: block;
	width: 846px;
	margin-top: 8px;
	margin-bottom: 8px;
	text-align: right;
	direction: rtl;
	padding: 12px 12px 12px 12px;
	height: 100%;
}

ul {
	margin: 8px 0 8px 0;
	padding:0;
	list-style:none;
}

ul li {
	background:url('../media/arrow1.gif') top right no-repeat;
	background-position:right 5px;
	margin: 0;
	padding-right: 20px;
	padding-left: 8px;
	padding-bottom: 9px;
	line-height: 18px;
}

p {
	margin: 8px 0 8px 0;
	padding: 0;
	text-align: right;
	direction: rtl;
	line-height: 20px;
}

h4 {
	margin:0 0 5px 0;
	padding: 0;
	font-size: 13px;
	font-weight:  bold;
	color: #B22319;
}

#content .col1 {
	float: right;
	width: 390px;
	height: auto;
	text-align: right;
	direction: rtl;
}

#content .col2 {
	float: right;
	margin-right: 16px;
	width: 390px;
	height: auto;
	text-align: right;
	direction: rtl;
}

input,textarea{
   	border:1px solid gray;
	padding:5px;
	margin-bottom:3px;
	margin-top: 5px;
	font-family: Tahoma, Arial; 
	color: black;
	background: #fafafa;
}
	
.tb1 {
	border: 1px solid gray;
	width: 720px;
	text-align: right;
	margin: 0 auto 0 auto;
}

.tb1 tr td {
	padding: 3px 8px 3px 0;
	border: 1px solid #bababa;
	white-space: nowrap;
}

.tb1 tr td a {
	color: blue;
	font-weight: bold;
	font-size: 12px;
	text-decoration: none;
}

a, a:visited {
	color: #153E5D;
}

a:hover {
	color: #B22319;
	text-decoration: none;
}
