body {
    background: #afafaf url(bg.png) repeat-y top center;
    margin: 0;
    padding: 0;
    text-align: center;
    font-family: tahoma, georgia, arial, bitstream vera sans, sans-serif;
    font-size: small;
}

#header {
    width: 758px;
    min-height: 85px;
    height: 85px;
    display: block;
    background: #fff url(top.png) no-repeat;
    margin: 0 auto;
    padding: 0;
    text-align: right;
}

#header .headertitle {
    padding-top: 15px;
    padding-right: 30px;
    font-size: 30px;
    color: #fff;
    font-weight: bold;
}
#header .headertitle a {
    color: #fff;
    text-decoration: none;
}
#header .headerdesc {
    color: #fff;
    padding-right: 30px;
}


#container {
    direction: rtl;
    width: 758px;
    background: transparent;
    margin: 0 auto;
    padding: 0;
    display: block;
    text-align: right;
    width: 748px;
}

#footer {
    margin: 0 auto;
    color: #000;
    padding:10px;
    font-size:80%;
    text-align: center;
}

html>body #container {
    width: 748px;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.google_highlight {
    background-color: yellow;
    font-weight: bold;
}

#main { min-width:180px; width: 99%; padding:5px; padding-left: 15px;}
#bar1 { width:200px; min-width:200px; display:block; padding:5px; padding-right: 15px; display: block;}

#top_header {min-height: 27px; padding: 5px 5px 0px 5px;}

a {color: #258;}
a:hover {color: #b82;}
h1 {
    color: #000;
    border-bottom: 1px dotted #258;
    font-size: 160%;
}
h2 {color: #888a85; font-size: 140%;}
h3 a {text-decoration: none; color: #000;}
hr {display: none;}
p {font-size: 10pt;}
table {text-align: right; empty-cells: hide;}
img {border: 0;}
textarea {
  padding: 2px;
  font-size: 8pt;
  border: 1px solid #cccccc;
}
input, select {font-size: 11pt; border: 1px solid #cccccc;}
button{font-size:12px; border: 1px solid #333;}
button, input[type="button"], input[type="submit"]  {
  color: #888a85;
  font-size: 8pt;
  cursor: pointer;
  background-color: #efefef;
  border: 1px solid #babdb6;
  border-top: 1px solid #d3d7cf;
  border-right: 1px solid #d3d7cf;
}
* html button {
  color: #888a85;
  font-size: 8pt;
  cursor: pointer;
  background-color: #efefef;
  border: 1px solid #babdb6;
  border-top: 1px solid #d3d7cf;
  border-right: 1px solid #d3d7cf;
}
button:hover, input[type="button"]:hover, input[type="submit"]:hover  {
  color: #fff;
  background-color: #3465a4;
}
button:active, input[type="button"]:active, input[type="submit"]:active {
  color: #000;
  border: 1px solid #3465a4;
  background-color: #fff;
}
select {cursor: pointer;}
input[type="text"], input[type="password"], textarea {
  color: #555753;
  background-color: #fff;
  border: 1px solid #d3d7cf;
  border-top: 1px solid #babdb6;
  border-right: 1px solid #babdb6;
}
input[type="text"]:focus, input[type="password"]:focus, textarea:focus  {
  color: #000;
  background-color: #fff;
  border: 1px solid #3465a4;
}
textarea {width: inherit;}
input[type="radio"], input[type="checkbox"], select {
  padding: 2px;
  font-size: small;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  margin-bottom: 1em;
  font-size: small;
}
legend {
  background-color: white;
  font-weight: bold;
  font-size: 110%;
  padding: 4px;
  padding-right: .5em;
  padding-left: .5em;
}
label {color: #777; font-size: 12px; cursor: pointer;}
fieldset td {padding: 1px;}
fieldset br {display : none;}
fieldset label {display: block; font-size: 100%;}
fieldset div {
  clear: left;
  padding: 0 1em;
  padding-bottom: 6px;
}
fieldset div strong {font-size: 100%}

.tableform td {display: table-cell; vertical-align: top;}

.terminal
{
    margin: 15px;
    padding:15px;
    font-size: small;
    font-family: tahoma, georgia, arial, "Courier New", Courier;
    background: #000;
    border: solid 1px #d3d7cf;
    line-height:110%;
    color:white;
    width: 90%;
}

.code, .xml , .script
{
    margin: 15px;
    padding:15px;
    font-size: small;
    font-family: tahoma, georgia, arial, "Courier New", Courier;
    background: #fff;
    border: solid 1px #d3d7cf;
    line-height:110%;
    color: #000dbd;
    width: 90%;
}

.keyword {color: #00a20b;}
.comment {color:red;}
.literal {color: purple;}

/** pager **/
.pager {text-align: center; color: #888; font-size: 90%; margin: 2em auto 0.8em auto;}
.pager span {padding: 0.3em 0.4em; margin: 0 0.1em; border: 1px solid #999;}
span.pager_previous, span.pager_next {border: 2px solid #999;}
span.pager_previous {margin-left: 0.7em;}
span.pager_next {margin-right: 0.7em;}
.pager span a {text-decoration: none;}
.pager span:hover {background-color: #666;}
.pager span:hover a {color: #fff;}
.pager span.pager_current:hover {background: transparent;}
.pager div {margin:10px auto;}

pre.var_dump {line-height:1.8em;}
pre.var_dump span.type {color:#006600; background:transparent;}
pre.var_dump span.value {
    padding:2px; color:#339900;
    background:#F0F0F0;
    border: 1px dashed #CCCCCC;
}

#debug-table {
    background-color: white;
    color: black;
    font-size: x-small;
}
#debug-table pre {font-size: small;}

/** Simple Site **/
.simplesitemenu {}
.menu_level a {height: 20px; min-height: 20px;}
.menu_level_1 {font-weight: bold;}
.menu_level_1 a {text-decoration: none;}
.menu_level_1 a {}
.menu_option_active {
    color: #000;
    text-decoration: none;
    font-weight: bold;
}
.menu_level_2 {padding-right: 20px;}
.menu_level_2 a {}
.menu_level_3 {padding-right: 40px;}
.menu_level_3 a {}
.menu_level_4 { padding-right: 60px;}
.menu_level_4 a {}
/** SimpleSite **/


/* Common styles for all gadgets */
.clearfix:after {
  height: 0;
  clear: both;
  width: 100%;
  content: ".";
  display: block;
  visibility: hidden;
}
.gadget {margin-bottom: 10px;}
.wide .gadget {margin-bottom: 2px;}
.gadget h2 {color: #000; border-bottom: 1px dotted #d3d7cf; font-size: 100%;}
.gadget .content {padding: 0px 5px; border-top: none;}
.gadget .content ul {list-style: none;}
.gadget .content ul li {padding-bottom: 2px;}
.gadget .actions {margin:0px 5px; font-size: 9pt; text-align: left; border-top: 1px dotted #f0ddaa;}
.gadget .actions div {text-align: right;}
.gadget .actions button{
  margin: 2px;
  padding: 1px;
  min-height: 18px;
  min-width: 42px;
  font-weight: bold;
  overflow: visible;
  border: 1px solid #babdb6;
  border-top: 1px solid #d3d7cf;
  border-left: 1px solid #d3d7cf;
}

/*Tag-Clud*/
.tag-cloud-1 {font-size: 0.6em;}
.tag-cloud-2 {font-size: 0.7em;font-weight: bold;}
.tag-cloud-3 {font-size: 0.75em;font-weight: bold;}
.tag-cloud-4 {font-size: 0.8em;font-weight: bold;}
.tag-cloud-5 {font-size: 0.85em;font-weight: bold;}
.tag-cloud-6 {font-size: 0.9em;font-weight: bold;}
.tag-cloud-7 {font-size: 0.95em;font-weight: bold;}
.tag-cloud-8 {font-size: 1em;font-weight: bold;}
.tag-cloud-9 {font-size: 1.1em;font-weight: bold;}
.tag-cloud-10 {font-size: 1.3em;font-weight: bold;}

/* Used for simple responses (messages saved in session) */
.simple-response-msg {
font-size: 9pt;
background: #f4f4f4;
border: 1px solid #ccc;
padding: .3em;
}

/* Commnets */
.comment .comment_info, .comment_reply {
  text-align: left;
  font-size: xx-small;
  color: #babdb6;
  clear: both;
}
.comment .content {text-align: justify;}
.comment .avatar {
  float: right;
  margin-left: 5px;
  margin-bottom: 5px;
  border: 1px solid #000;
}
.comment_level_0 {margin-right: 0px;}
.comment_level_1 {margin-right: 10px;}
.comment_level_2 {margin-right: 20px;}
.comment_level_3 {margin-right: 30px;}
.comment_level_4 {margin-right: 40px;}
.comment_level_5 {margin-right: 50px;}
.comment_level_6 {margin-right: 60px;}
.comment_level_7 {margin-right: 70px;}
.comment_form p {clear: right; padding-right: 185px;}
.comment_form p label {font-weight: bold; float:right; width: 180px; font-weight: bold; margin-right: -185px;}
.comment_form input, .comment_form select, .comment_form textarea {padding: 2px; width: 250px; font-size: 10pt;}
.comment_form span {font-size: 8pt; display: block;}
.comment_form .actions {text-align:right; margin-right: 188px;}
.spam_check {display: none;}
.comment_form #blog_mail_comment {width: 16px; border: none;}
.comment_form #phoo_mail_comment {width: 16px; border: none;}

/* Contact */
.contact .content label {display: block; font-weight: bold; padding-top:5px;}
.contact input, .contact select {width: 70%;}
.contact .content textarea {width: 99%;}

/* Poll */
.poll .content  input {padding: 2px; border: none;}
.poll .content  label {padding-right: 2px;}
.poll_result table {width: 98%; margin: 0px; padding:0px; font-size:10pt;}
.poll_result th { border: 1px solid #d3d7cf; }
.poll_result td {font-size:9pt; padding:4px 4px 4px 2px; border: 1px solid #d3d7cf; }
.poll_result .txt_percent {width: 28px;}
.poll_result .img_percent {width: 128px;}
.poll_result .img_percent img {height: 18px; background-color:#3377cc;}
.poll_result .votes {width: 28px;}
.poll_result .resume {font-weight:bold; font-size:9pt;}

/* Phoo */
.phoo_random .content {text-align: center;}
.phoo_image .content {text-align: center;}
.phoo_random .content img, .phoo_album .content img {border: 1px solid rgb(186, 189, 182); padding: 4px;}
.phoo_image .content img {border: 1px solid rgb(186, 189, 182); padding: 8px;}
.phoo_image .pager {margin-bottom: 10px; font-size: xx-small;}

/* Quotes */
.quotes .content {padding: 0px;}
.quotes ul {list-style: none;}
.quotes li , .rssreader li {
  display: block;
  color: #271739;
  font-size: 12px;
  padding: 2px 6px 2px 2px;
  text-decoration: none;
  border-bottom: 1px dashed #ccc;
}
.quotes ul a:hover {color: #ef3300;}
.wide .quotes .content ul li {display: inline;}

/* Search */
.simple_search .content input {width: 132px; margin-left: 2px;}
.search .content input {width: 99%; margin-bottom: 2px;}
.search .content p label {font-size: 8pt; font-weight: bold;}
.search .content select {margin-right: 4px; width: 130px;}
.wide .search .content, .wide .search .content p {display:inline;}
.wide .search .content input {width: 200px;}
.wide .search .actions {display:inline; width: 196px; border: none;}
.advance_search .content h4 {padding: 4px 0;}
.advance_search .content p label {font-size: 8pt; font-weight: bold;}
.advance_search .content input {width: 99%; margin-bottom: 2px;}
.advance_search .content select {margin-right: 4px; width: 130px;}
.wide .advance_search .content input {width: 280px;}
.wide .advance_search .content p {padding-right: 245px; clear: right;}
.wide .advance_search .content p label {float:right; width: 240px; margin-right: -245px;}
.wide .advance_search .actions {text-align:right;}
.wide .advance_search .actions button {margin-right: 250px;}
.search_results .content li {border-bottom:1px dashed #d3d7cf; padding-top: 10px;}
.search_results .snippet div {text-align: left;}
.search_results .snippet div a {float: right; font-weight: bold;}
.search_results .snippet p {clear:both; text-align: right;}
.search_results .snippet {float: right; width: 400px;}
.search_results .gadget_logo {float: left;}

/* VisitCounter */
.visitcounter .classic {padding-right: 125px; clear: right; border-bottom: 1px dotted #f0cca0;}
.visitcounter .classic label {float:right; width: 120px; margin-right: -125px; border-left: 1px dotted #f0cca0;}
.visitcounter .classic div {direction: ltr;}

/* Emblems */
.emblems .content {text-align: center;}
.emblems .content img, .emblems .content a {padding-top: 2px;}

/* FAQ */
.faq h4 {font-size: 11pt;}
.faq .content p, .faq_category p {padding: 5px;}
.faq .content ul li ul li, .faq_category .content ul li {border-bottom: 1px dotted #f0cca0; padding-top:5px;}
.faq .content ul li ul li span {font-weight: bold;}
.faq .summary {padding-bottom: 5px;}
.faq .summary li {margin-right: 20px; font-size: 10pt;}
.faq .summary li  {font-weight: bold;}
.faq .summary li  ol li {font-weight: normal;}
.faq_category h4 {font-size: 10pt;}

/* Glossary */
.glossary_random .content h4, .glossary_term .content h4 {font-size: 11pt;}
.glossary_term .content p {padding: 5px;}
.glossary h3 {margin-bottom: 10px;}
.glossary span {
  border: 1px solid #d3d7cf;
  padding: 4px;
  background: #eee;
  font-size: xx-small;
}
.glossary span a {padding: 2px;}
.glossary .content {margin-top: 10px;}
.glossary .content h4 a {font-size: 12pt;}
.glossary .content li a {font-size: 10pt; font-weight: bold;}
.glossary .content li {border-bottom: 1px dotted #f0cca0; padding-top: 5px;}

/* chatbox */
.chatbox .content label {display: block; font-weight: bold;}
.chatbox .content input {width: 99%;}
.chatbox .content textarea {width: 99%;}

/* users */
.loginbox .content label {font-weight: bold;}
.loginbox input {width: 99%;}
.loginbox #login_remember {width: 16px; border: none;}

.users p {clear: right; padding-bottom:4px; padding-right: 150px;}
.users p label {font-weight: bold; float:right; width: 145px; font-weight: bold; margin-right: -150px;}
.users input, .users select, .users textarea {padding: 2px; width: 70%; font-size: 10pt;}
.users span {font-size: 8pt; display: block;}
.users .actions {text-align:right; margin-right: 155px;}

/* preferences */
.preferences label {display: block; font-weight: bold;}
.preferences input, .preferences select {padding: 2px; width: 190px; font-size: 10pt;}
.wide .preferences p {clear: right; padding-right: 145px;}
.wide .preferences p label {float:right; display: inline; width: 140px; margin-right: -145px;}
.wide .preferences input, .wide .preferences select {width: 320px;}
.wide .preferences .actions {text-align:right; margin-right: 148px;}

/* Menu */
.menu:after {height: 0; clear: both; content: "."; display: block; visibility: hidden;}
.menu .content, .menu .content ul, .menu .content ul li {padding:0; margin:0;}
.menu .content ul {position:relative; list-style-type: none; display:inline-block; z-index:1000;}
.narrow .menu .content ul {z-index:500;}
.menu a, .menu a:visited {
  color:#777;
  padding:4px;
  display:block;
  min-height:18px;
  font-weight: bold;
  text-decoration:none;
  border:1px solid #fff;
  border-bottom: none;
}
.menu li {background:#f0f0f0;}
.wide .menu li {float: right;}
.narrow .menu li a, .narrow .menu li a:visited {width:190px;}
.wide .menu li ul li a, .wide .menu li ul li a:visited {width:190px;}
.menu li:hover {position:relative;}
.menu li:hover > a {background:#ddd; color:#37a;}
.menu li a:active, .menu li a:focus {background:#ddd; color:#37a;}
.narrow .menu li ul {display:none;}
.wide .menu li ul {display:none;}
.menu li:hover > ul {
  display:block;
  position:absolute;
  padding:10px 30px 30px 30px;
  background:transparent url(images/blank.gif);
}
.wide .menu li:hover > ul {top:16px; right:-30px;}
.wide .menu li ul li:hover > ul {top:-10px; right:148px;}
.narrow .menu li:hover > ul {top:-10px; right:148px;}
.menu ul table {position:absolute; border-collapse:collapse; top:0; right:0; z-index:1000; font-size:1em;}
* html .menu a:hover {color:#37a; background:#ddd; position:relative;}
* html .wide .menu a:hover {float: left;}
* html .wide .menu li ul a:hover {float: none;}
* html .narrow .menu li a, * html .narrow .menu li a:visited {width:200px;}
* html .wide .menu li ul li a, * html .wide .menu li ul li a:visited {width:200px;}
* html .narrow .menu li ul {
  display:block;
  position:absolute;
  visibility:hidden;
  top:-10px; right:148px;
  padding:10px 30px 30px 30px;
  background:transparent url(images/blank.gif);
}
* html .wide .menu li ul {
  display:block;
  position:absolute;
  visibility:hidden;
  top:0px; right:148px;
  padding:10px 30px 30px 30px;
  background:transparent url(images/blank.gif);
}
.wide .menu ul li a:hover ul ul{visibility:hidden;}
.wide .menu ul li a:hover ul a:hover ul ul{visibility:hidden;}
.wide .menu ul li a:hover ul a:hover ul a:hover ul ul{visibility:hidden;}
.wide .menu ul li a:hover ul a:hover ul a:hover ul a:hover ul ul {visibility:hidden;}
.wide .menu ul li a:hover ul {visibility:visible; right:-30px; top:13px; lef\t:-35px; to\p:14px;}
.wide .menu ul li a:hover ul a:hover ul{visibility:visible; top:-10px; right:148px;}
.wide .menu ul li a:hover ul a:hover ul a:hover ul {visibility:visible;}
.wide .menu ul li a:hover ul a:hover ul a:hover ul a:hover ul {visibility:visible;}
.wide .menu ul li a:hover ul a:hover ul a:hover ul a:hover ul a:hover ul {visibility:visible;}
.narrow .menu ul a:hover ul ul{visibility:hidden;}
.narrow .menu ul a:hover ul a:hover ul ul{visibility:hidden;}
.narrow .menu ul a:hover ul a:hover ul a:hover ul ul{visibility:hidden;}
.narrow .menu ul a:hover ul {visibility:visible;}
.narrow .menu ul a:hover ul a:hover ul{visibility:visible;}
.narrow .menu ul a:hover ul a:hover ul a:hover ul {visibility:visible;}
.narrow .menu ul a:hover ul a:hover ul a:hover ul a:hover ul {visibility:visible;}

