html, body, h1, h2, h3, h4, ul, li{
	margin: 0;
	padding: 0;
}
h1 img {
	display: block;
}
img {
	border: 0;
}
a {
	color: #464544;
}
a:hover {
	color: #FFA405;
}
.left {
	float: right;
}
.right {
	float: right;
}
.more {
	text-align: left;
}
.clear {
	clear: both;
}

body {
	background: #fff url(images/page_bg.gif) repeat-x;
	text-align: center;
	font: 12px tahoma, sans-serif;
	color: #464544;
	direction:rtl;
}

#q_option
{
    margin: 0 30px 0 0px;
	padding: 2px;
}
/** layout **/
#wrapper {
  text-align: right;
  margin: auto;
  width: 920px;
  position: relative;
}

h1 {
  position: absolute;
  top: 46px;
  left: 0;
  height: 43px;
  padding-top: 8px;
  width: 508px;
  text-align: center;
  background: #163348;
  color: #ffffff;
  font: 24px "Times new roman", serif;
  font-weight: normal;
}
h1 strong {
  font-weight: normal;
  color: #7A808C;
}
#top-nav {
  position: absolute;
  top: 15px;
  left: 508px;
  width: 266px;
  height: 269px;
  background: #163348 bottom left url(images/header.jpg) no-repeat;
}
#top-nav ul {
  text-align: center;
  line-height: 32px;
}
#top-nav li {
  display: inline;
  font-size: 12px;
  color: #fff;
}
#top-nav a {
  text-decoration: none;
  font-weight: normal;
  color: #fff;

}
#top-nav a:hover {
  text-decoration: underline;
}

#mmagic {
  background: url(images/estebyans.gif) no-repeat;
  position: absolute;
  top: 46px;
  left: 774px;
  width: 190px;
  height: 238px;
}


#header {
  position: absolute;
  background: #EEEEEE; /**top right url(images/header_bg.jpg) no-repeat; **/
  top: 89px;
  left: 0px;
  width: 508px;
  height: 195px;
}

/** body **/
#spacer {
  height: 285px;
}

#body {
  background: url(images/body_bg.gif) repeat-y;
  width: 100%;
}

#right {
  float: right;
  width: 412px;
}
#left {
  float: right;
  width: 500px;
}
#main {
  background: #cccccc;
  padding: 15px 40px 14px 36px;
  width: 842px;
  border:1px solid black;
}

#nav ul {
}
#nav li {
  float: right;
  width: 102px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  background: url(images/tab_lit.gif) repeat-x;
  border-left: 1px solid white;
  list-style: none;
}
#nav a {
  font: 13px "Tahoma", serif;
  color: #ffffff;
  text-decoration: none;
}
#nav a:hover {
  text-decoration: underline;
}
#nav li.drk {
  background: url(images/tab_drk.gif) repeat-x;
  border-left: none;
  padding-left: 1px;
}

#visit {
  background: #EEEEEE;
  padding: 15px 40px 14px 36px;
}
#visit h2 {
  font: 24px "Times new roman", serif;
}
#visit a {
  text-decoration: none;
}
#visit a:hover {
  text-decoration: underline;
}

#subs-left {
  float: left;
  width: 160px;
  padding-left: 35px;
  padding-bottom: 10px;
  margin-top: 22px;
}
#subs-right {
  float: right;
  width: 145px;
  padding-right: 30px;
  padding-bottom: 10px;
  margin-top: 22px;
}
#subs-left a {
  color: #fff;
}
#subs-left {
  color: #fff;
}
#subs-left h3 {
  color: #000000;
  font: 16px "Times new roman", serif;
}
#subs-left p {
  text-align: justify;
}

#subs-right {
  color: #fff;
}
#subs-right h3 {
  color: #000000;
  padding-left: 20px;
  padding-bottom: 14px;
  font: 16px "Times new roman", serif;
}
#subs-right h4 {
  color: #000000;
  font: 14px "Times new roman", serif;
  margin: 0.6em 0;
}
#subs-right ul {
  margin-top: 1em;
}
#subs-right li {
  list-style: none;
  padding-left: 20px;
  background: 5px 3px url(images/bullet.gif) no-repeat;
}
#subs-right p {
  text-align: justify;
  margin: 0.6em 0;
}

#left-i {
  padding: 4px 25px 0 20px;
}
#left h2 {
  color: #323E51;
  font: 22px "Times new roman", serif;
  margin-bottom: 12px;
}
#left h3 {
  color: #000000;
  font: 14px "Times new roman", serif;
  margin-bottom: 5px;
}
#left p {
  margin-top: 0;
  color: #163348;
}
#left .right {
  margin-right: 4px;
}
#left a {
  color: #163348;
  font-weight: bold;
  text-decoration: none;
}
#left a:hover {
  text-decoration: underline;
}

/** footer **/
#copyright {
  background: #163348;
  color: #fff;
  text-align: center;
  font-size: 11px;
  float: right;
  width: 412px;
  padding: 10px 0;
  margin-bottom: 20px;
}
#copyright p {
  margin: 0;
  padding: 0;
}
#title
{
background: #163348;
color: #fff;
font: 1.3em new roman, sans-serif;
font-weight:bold;
border:2px solid yellow;
padding:5px;
}
#done
{
margin-right: 10%;
margin-bottom: 1%;
background: #336633 right url(images/stick.png) no-repeat;
border:2px solid #003333;
width:70%;
padding:5px;
padding-right:30px;
color: #fff;
float: right;
font: 1.3em new roman, sans-serif;
font-weight:bold;
}
#caution
{
margin-right: 10%;
margin-bottom: 1%;
background: #dd6633 right url(images/warning.png) no-repeat;
border:2px solid #666633;
width:70%;
padding:5px;
padding-right:30px;
color: #fff;
float: right;
font: 1.3em new roman, sans-serif;
font-weight:bold;
}

#cont_table {
font: 1.3em new roman, sans-serif;
font-weight:bold;
background:#999999;
color:white;
border-collapse:collapse;
margin-left: auto;
margin-right: auto;
border:3px solid white;
}
#cont_table a {
  color:#ECD672;
  text-decoration: none;
}
#cont_table td {
  border-bottom:1px solid #163348;
}
#cont_table a:hover {
  text-decoration: underline;
}

#cont_table_td
{
background: #163348;
color: #fff;
}
input[type="submit"],input[type="button"] {   
color:#050;   
font:bold  'trebuchet ms',helvetica,sans-serif;   
background-color:#fed;   
border: 2px solid;   
border-color: #696 #363 #363 #696;   
filter:progid:DXImageTransform.Microsoft.Gradient   
(GradientType=0,StartColorStr='#ffffffff',EndColorStr='#ffeeddaa');   
9 }  

td.discuss
{ border-bottom: 2px solid #ced1b2;
border-top: 0px;
text-align: right;
text-indent: 10px;
font: 12px tahoma, sans-serif;
font-size: 12px;
color: #404040;
background-color: #fafafa; 
}
#smartad {
  background: url(images/smartad.jpg) no-repeat;
  position: absolute;
  top: 0px;
  left: -1160px;
  width: 120px;
  height: 120px;
}
#percentage {
font: 0.8em tahoma, sans-serif;
color: #404040;
font-weight:bold;
}