/* Layout
 ------------ */
* {
        /* Reset browsers default margin, padding and font sizes */
        margin: 0;
        padding: 0;
}

html {
        font-size: 100%;
}

body {
        /* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */
        font-family: Arial, Verdana, Helvetica, sans-serif;
        color: #000;
        background: #DCE0E4;/*#D8E4F0;#d2e3ed url(images/body.gif);*/
        font-size: 11px;
        margin: 0;
        padding: 0;
}
#body-simple {
        background: #edf5f9;
        padding: 5px;
}

/* Misc stuff */
img {
        border: none;
}

.gen {
        margin: 1px 1px;
        font-size: 1.2em;
}

.genmed {
        margin: 1px 1px;
        font-size: 1.1em;
}

.gensmall {
        margin: 1px 1px;
        font-size: 1em;
}

.titles {
        font-weight: bold;
        font-size: 1.2em;
        text-decoration: none;
}

.error, table td .error {
        color: #F00000;
}

.spacer {
        color: #d1eaf4; 
        background: #559dc6 url(images/th.gif) top left repeat-x;
        border-left: solid 1px #4c9ac7;
        border-right: solid 1px #3184b3;
        border-top: solid 1px #1b70a1;
        border-bottom: solid 1px #1d73a5;
        padding: 1px;
}

hr      { height: 0px; border: solid #bbd8e7 0px; border-top-width: 1px;}

.pagination {
        padding: 4px;
        font-size: 1em;
        font-weight: bold;
}

/* Links
 ------------ */
 
/* Links adjustment to correctly display an order of rtl/ltr mixed content */
.rtl a {
        direction: rtl;
        unicode-bidi: embed;
}

a {
        color: #0080C0;/*#2981b4;*/
        text-decoration: none;
}

a:active,
a:visited {
        color: #0080C0;/*#2981b4;*/
        text-decoration: none;
}

a:hover {
        color: #F00000;/*#f41d00;*/
        text-decoration: underline;
}

a.forumlink {
        font-weight: bold;
        font-size: 12px;
}

a.topictitle {
        margin: 1px 0px;
        font-weight: bold;
        font-size: 12px;
}

a.topictitle, .postbody a {
        color: #0080C0;
}
a.topictitle:visited, .postbody a:visited {
        color: #4281a6;
}
a.topictitle:visited:hover, .postbody a:visited:hover {
        color: #0080C0;
}
a.topictitle:hover, .postbody a:hover {
        color: #F00000;
}

/* Header and logo */
#logo-row {
    background: #FFF url(images/bg_logo.gif) bottom left repeat-x;
}
#logo-left {
    background: url(images/logo_left.gif) bottom left no-repeat;
}
#logo-right {
    background: url(images/logo_right.gif) bottom right no-repeat;
}
html>body #logo-right { min-height: 70px; }

#logo-registered {
    float: right;
    padding: 15px 10px 5px;
    color: #666;
    font-size: 11px;
    text-align: right;
}

#logo-login {
    float: right;
    padding: 15px 10px 5px;
    color: #666;
    font-size: 11px;
    text-align: right;
}
#logo-login input.post { margin-bottom: 3px; }

#logo-clear { clear: both; }

* html #logo-login, * html #logo-registered {
}

* html #logo-clear { font-size: 1px; line-height: 1px; height: 0; overflow: hidden; position: relative; }

.pm-notify-new, .pm-notify-unread {
        border-left: solid 1px #80b7d7;
        border-right: solid 1px #6facd0;
        border-top: solid 1px #80b7d7;
        border-bottom: solid 1px #6facd0;
        background: #ebf4f8 url(images/cell.gif) top left repeat-x;
        margin: 10px 0;
        padding: 10px;
        text-align: center;
        font-size: 12px;
        font-weight: bold;
}
.pm-notify-new a, .pm-notify-new a:visited, .pm-notify-unread a, .pm-notify-unread a:visited { text-decoration: underline; }
.pm-notify-header {
        margin-bottom: 10px;
        color: #F00000;
}
.pm-notify-new { padding: 30px; }

/* Navigation buttons */
.navrow {
        background: #388bbb url(images/bg_navbar.gif) top left repeat-x; 
        height: 21px;
        overflow: hidden;
        color: #cadeea;
        text-align: center;
        font-size: 11px;
        padding-top: 10px;
}
/* * html .navrow { padding: 0; } */
.navrow b, .navrow strong { font-weight: normal; }
.navrow a, .navrow a:visited {
        color: #ecf2f5;
        text-decoration: none;
        padding-left: 5px;
        padding-right: 5px;
}
.navrow a:hover { 
        color: #fff; 
        text-decoration: underline; 
}

a.link-new, a.link-new:visited { color: #F00000; }
a.link-new:hover, a.link-new:visited:hover { color: #bb2e1b; }

/* Content and tables */
#panel {
    background: url(images/panel_fon.png) bottom left repeat-y;
    padding: 0 0 0 4px;
}
#panel_top {
    background: url(images/panel_top.png) bottom left no-repeat;
    color: #fff;
    font-weight: bold; 
}
#panel_bottom {
    background: url(images/panel_bottom.png) top left no-repeat;
}

#table_main {
  padding: 0 4px 4px 4px;
  background: url(images/bg_top1.gif) top left repeat-x;
}
#td_block {
  padding: 0 4px 0 0;
}
#td_page {
  margin: 0 auto;
  padding: 0 8px 8px 8px;
  border:solid 2px #CCD4D8;
  background: #FFFFFF; /* #ECF4F8 url(images/bg_top2.gif) top left repeat-x;*/
}

.tablebg {
  background-color: #FFFFFF;/*#C0E0FF;*/
  border-collapse: separate;
  border-spacing: 2px
}

.block-start { 
    border-top-width: 0; 
    border-bottom-width: 0; 
    border-color: #b2d3e4;
    border-right-color: #edf5f9;
}

.row1, .legend, tr.row1 .row, .postbottom {
/*  border: solid 1px #C4C8CC;*/
  background: #F4F8FC;/*#E8F4FF;*/
  padding: 4px;
  vertical-align:top;
/*
        border-left: solid 1px #f4f9fb;
        border-right: solid 1px #bbd8e7;
        border-top: solid 1px #f4f9fb;
        border-bottom: solid 1px #bbd8e7;
        background: #E4F0F4;
        padding: 4px;
*/
}
.row2, tr.row2 .row {
/*  border: solid 1px #C4C8CC;*/
  background: #ECF0F4;/*#E0F0FF;*/
  padding: 4px;
  vertical-align:top;
/*
        border-left: solid 1px #f4f9fb;
        border-right: solid 1px #bbd8e7;
        border-top: solid 1px #f4f9fb;
        border-bottom: solid 1px #bbd8e7;
        background: #DCE8EC;
        padding: 4px;
*/
}
.row3, tr.row3 .row {
/*  border: solid 1px #C4C8CC;*/
  background: #E4E8EC;
  padding: 4px;
  vertical-align:top;
/*
        border-left: solid 1px #f4f9fb;
        border-right: solid 1px #bbd8e7;
        border-top: solid 1px #f4f9fb;
        border-bottom: solid 1px #bbd8e7;
        background: #CCD8DC;
        padding: 4px;
*/
}

th {
  padding: 4px;
  border:solid 1px #C4C8CC;
  background: #DCE0E4 url(img/page/default.gif) top left repeat-x;
  font-weight: bold;
  color: #0080C0;

/*
        padding: 0 5px;
        color: #d1eaf4;
        font-size: 11px; 
        font-weight: bold;
        background: #559dc6;
        white-space: nowrap;
        text-align: center;
        height: 26px;
        border-left: solid 1px #4c9ac7;
        border-right: solid 1px #3184b3;
        border-top: solid 1px #1b70a1;
        border-bottom: solid 1px #1d73a5;
*/
}
th a, th a:visited {
        color: #0080C0;
        text-decoration: underline;
}
th a:hover {
        color: #F00000;
        text-decoration: underline;
}

td {
        padding: 0px;
}
td.profile {
        padding: 4px;
}
.catdiv, .cat, .cathead {
        height: 24px;
        padding: 0 3px;
        border-left: solid 1px #f4f9fb;
        border-right: solid 1px #bbd8e7;
        border-top: solid 1px #f4f9fb;
        border-bottom: solid 1px #bbd8e7;
        background: #e5eef2 url(images/cathead.gif) top left repeat-x;
}

.cat, .cathead {
        text-indent: 4px;
}

/* Table header */
caption, .cap-div { 
        margin: 0; 
        padding: 0;
        background: url(images/hdr_mid.gif) top left repeat-x;
        white-space: nowrap;
        height: 27px;
        text-align: left;
}
.cap-left {
        background: url(images/hdr_left.gif) top left no-repeat;
}
.cap-right {
        background: url(images/hdr_right.gif) top right no-repeat;
        padding-top: 6px;
        padding-left: 29px;
        padding-right: 8px;
        height: 21px;
}
.cap-left-n {
        background: url(images/hdr_left_n.gif) top left no-repeat;
}

caption, caption h1, caption h2, caption h3, caption h4, caption span,
.cap-div, .cap-div h1, .cap-div h2, .cap-div h3, .cap-div h4, .cap-div span { 
        font-size: 12px;
        font-weight: bold;
        color: #0080C0;
}
caption h1, caption h2, caption h3, caption h4, caption span,
.cap-div h1, .cap-div h2, .cap-div h3, .cap-div h4, .cap-div span { 
        display: inline;
}
caption a, caption a:visited, .cap-div a, .cap-div a:visited {
        color: #0080C0;
        text-decoration: underline;
}
caption a:hover, .cap-div a:hover {
        color: #F00000;
        text-decoration: underline;
}

.block-start { background: url(images/ftr_mid.gif) bottom left repeat-x; }
.block-end-left { background: url(images/ftr_left.gif) top left no-repeat; }
.block-end-right { background: url(images/ftr_right.gif) top right no-repeat; }
.block-end-left, .block-end-right { height: 4px; overflow: hidden; padding: 0; }

/* Footer */
#wrapfooter {
        text-align: center;
        color: #84b7d5;
        padding-top: 10px;
}

.copyright {
        color: #84b7d5;
        font-weight: normal;
        font-size: 9px;
        line-height: 1.2em;
}
.copyright a, .copyright a:visited {
        color: #84b7d5;
        text-decoration: underline;
}
.copyright a:hover { color: #0080C0; }


/* Breadcrumbs */
.breadcrumb .row1 { 
    border-width: 1px 0 0 1px; 
    background: #f5f9fb;    
}
p.breadcrumbs {
        margin: 0;
        padding: 0;
        float: left;
        color: #8db5cd;
        font-weight: bold;
        white-space: normal;
        font-size: 1em;
}
.rtl p.breadcrumbs {
        float: right;
}

p.datetime {
        margin: 0;
        padding: 0;
        float: right;
        white-space: nowrap;
        font-size: 1em;
}

.rtl p.datetime {
        float: left;
}

/* Index/viewforum */
.subforum.read { 
        background: url(images/sub_old.gif) top left no-repeat;
        padding-left: 12px;
}
.subforum.unread { 
        background: url(images/sub_new.gif) top left no-repeat;
        padding-left: 12px;
}
.legend {
        text-align: center;
        margin: 0 auto;
        padding: 2px;
        border-top-color: #b2d3e4;
        border-left-color: #b2d3e4;
}
.legend-viewforum { 
        margin: 0; 
        text-align: left; 
        border-top-color: #b2d3e4;
        border-left-color: #b2d3e4;
}

.forumrules {
        padding: 4px;
        font-weight: normal;
        font-size: 1.1em;
        border-left: solid 1px #c1dbe9;
        border-right: solid 1px #bbd8e7;
        border-top: solid 1px #c1dbe9;
        border-bottom: solid 1px #bbd8e7;
        background: #f5f9fb;
}
.forumrules h3 {
        color: #F00000;
}

/* Post */
.postsubject {
        font-size: 12px;
        font-weight: bold;
        color: #0080C0;
}
td.postbottom { 
        background: #eef6f9 url(images/profile.gif) top left repeat-x; 
        font-size: 10px;
        color: #929a9f;
        white-space: nowrap;
        padding: 2px 4px;
        vertical-align: middle;
        border-left: solid 1px #f4f9fb;
        border-right: solid 1px #bbd8e7;
        border-top: solid 1px #f4f9fb;
        border-bottom: solid 1px #bbd8e7;
}
td.postbuttons { padding-top: 3px; }
.postdetails { 
        color: #444;
        font-size: 10px; 
        text-align: left;
}
.postdetails b {
        color: #444;
}
.posterrank             { font-size: 9px; color: #444; }
.posterprofile  { font-size: 10px; color: #0080C0; }

.postauthor {
        color: #0080C0;
        font-size: 12px;
        margin-bottom: 3px;
        font-weight: bold;
}
.postonline { margin-bottom: 2px; }

.postreported, .postreported a:visited, .postreported a:hover, .postreported a, .postreported a:active {
        margin: 1px 0px;
        color: #F00000;
        font-weight: bold;
}

.postapprove, .postapprove a:visited, .postapprove a:hover, .postapprove a, .postapprove a:active {
        color: #00FF00;
        font-weight: bold;
}

.postapprove img, .postreported img {
        vertical-align: bottom;
        padding-top: 5px;
}

.postbody {
        font-size: 12px;
        line-height: 1.4em;
        margin: 3px 0;
}
.signature {
        font-size: 11px;
        color: #666;
        margin-top: 5px;
}
.signature .line { color: #b4b9bf; }

.postbody li, ol, ul {
        margin: 0 0 0 1.5em;
}

.rtl .postbody li, .rtl ol, .rtl ul {
        margin: 0 1.5em 0 0;
}

.posthilit {
        background-color: #b3bcc1;
        color: #000;
}

.postsubject {
        font-size: 12px;
        font-weight: bold;
        color: #0080C0;
}

.postbody a { text-decoration: underline; }

/* UCP */
.folder-current a, .folder-current a:visited {
        color: #F00000;
        font-weight: bold;
}
.folder-current a:hover { color: #F00000; }

td.pm_marked_colour { background: #F00000; }
td.pm_marked_colour_left { border-left: solid 3px #F00000; padding-left: 2px; }
td.pm_marked_colour_right { border-right: solid 3px #F00000; padding-right: 2px; }

td.pm_replied_colour { background: #0080C0; }
td.pm_replied_colour_left { border-left: solid 3px #0080C0; padding-left: 2px; }
td.pm_replied_colour_right { border-right: solid 3px #0080C0; padding-right: 2px; }

td.pm_friend_colour { background: #007700; }
td.pm_friend_colour_left { border-left: solid 3px #007700; padding-left: 2px; }
td.pm_friend_colour_right { border-right: solid 3px #007700; padding-right: 2px; }

td.pm_foe_colour { background: #DD0000; }
td.pm_foe_colour_left { border-left: solid 3px #DD0000; padding-left: 2px; }
td.pm_foe_colour_right { border-right: solid 3px #DD0000; padding-right: 2px; }


/* Form Elements
 ------------ */
form {
        margin: 0px;
        padding: 0px;
        border: 0px;
}

textarea, select, .post, .btnbbcode, .btnmain, .btnlite, .btnfile, .helpline {
        font-weight: normal;
        color: #444;
        border: 1px solid #a0c9e0;
        background-color: #eff5f8;
}
.cat .btnmain, .cat .btnlite, .cat select {
    color: #444;
    background-color: #f5f9fb;
    border-color: #a0c9e0;
}

input {
        font-size: 1.1em;
        padding: 1px;
}
textarea {
        font-size: 1.3em; 
        line-height: 1.4em;
        padding: 2px;
}
select {
        font-size: 1.1em;
        padding: 1px;
}

option {
        padding: 0 1em 0 0;
}

.rtl option {
        padding: 0 0 0 1em;
}

.post {
        border-style: solid;
        border-width: 1px;
}

.btnbbcode {
        font-size: 1.1em;
        color: #0080C0;
        border: 1px solid #a0c9e0;
        background-color: #f5f9fb;
}
.btnbbcode:hover {
        border-color: #7ab2d1;
        color: #000;
}

.btnmain {
        font-weight: bold;
        cursor: pointer;
        padding: 1px 5px;
        font-size: 1.1em;
}

.btnlite {
        font-weight: normal;
        cursor: pointer;
        padding: 1px 5px;
        font-size: 1.1em;
}

.btnfile {
        font-weight: normal;
        padding: 1px 5px;
        font-size: 1.1em;
}

.helpline {
        background-color: transparent;
        color: #68a9cf;
        border-style: none;
}
#helpline { color: #68a9cf; }

* html textarea, * html select, * html .post, * html .btnmain, * html .btnlite, * html .btnfile {
}
* html .cat .btnmain, * html .cat .btnlite {
}
textarea:hover, select:hover, .post:hover, .btnmain:hover, .btnlite:hover, .btnfile:hover {
        border-color: #589dc5;
}
textarea:focus, select:focus, .post:focus, .btnmain:focus, .btnlite:focus, .btnfile:focus {
        border-color: #539bc4; 
        color: #000;
        background-color: #f5f9fb;
}
.cat .btnmain:hover, .cat .btnlite:hover, .cat select:hover {
    border-color: #539bc4;
}
.cat .btnmain:focus, .cat .btnlite:focus, .cat select:focus {
    border-color: #539bc4;
    color: #000;
}

label:hover { 
        color: #F00000; 
}

textarea.posting-textarea, #ie8#fix {
    width: 98%;
}

small {
  color: #555555;
}

/* BBCode
 ------------ */
.bb-wrapper {
        clear: both;
        margin: 10px 20px;
}
.bb-wrapper .bb-wrapper {
        margin: 5px 10px;
}
.bb-left-top, .bb-right-top, .bb-left-bot, .bb-right-bot {
    width: 4px;
    height: 4px;
    overflow: hidden;
    padding: 0;
}
.bb-left-top { background: url(images/bb_left_top.gif) top left no-repeat; }
.bb-right-top { background: url(images/bb_right_top.gif) top right no-repeat; }
.bb-left-bot { background: url(images/bb_left_bot.gif) bottom left no-repeat; }
.bb-right-bot { background: url(images/bb_right_bot.gif) bottom right no-repeat; }
.bb-top, .bb-bot {
    height: 4px;
    overflow: hidden;
    padding: 0;
}
.bb-top { background: #f5f9fb url(images/bb_top.gif) top left repeat-x; }
.bb-bot { background: #f5f9fb url(images/bb_bot.gif) bottom left repeat-x; }
.bb-left, .bb-right {
    width: 4px;
    overflow: hidden;
    background-color: #f5f9fb;
    padding: 0;
}
.bb-left { border-left: solid 1px #cbdde8; }
.bb-right { border-right: solid 1px #cbdde8; }
.bb-content {
    background-color: #f5f9fb;
    padding: 0 2px;
}
.bb-quote { 
    background-image: url(images/bg_quote.gif);
    background-repeat: no-repeat;
    background-position: top right;
}
.bb-code { 
    background-image: url(images/bg_code.gif);
    background-repeat: no-repeat;
    background-position: top right;
}
.bb-attach { 
    background-image: url(images/bg_attach.gif);
    background-repeat: no-repeat;
    background-position: top right;
}
  
 
.quotetitle, .attachtitle, .codetitle {
        color: #0080C0;
        font-size: 0.85em;
        font-weight: bold;
        padding-bottom: 3px;
}
.quotetitle .quotetitle {
        font-size: 1em;
}

.quotecontent, .attachcontent {
        font-weight: normal;
        font-size: 1em;
        line-height: 1.4em;
        color: #444;
}
.attachcontent {
        font-size: 0.85em;
}

.codecontent {
        direction: ltr;
        font-weight: normal;
        font-size: 11px;
        font-family: Monaco, 'Courier New', monospace;
        color: #444;
}

.attachcontent, .codecontent {
        overflow: auto;
        overflow-x: auto;
}

.syntaxbg {
        color: #f0f3f5;
}

.syntaxcomment {
        color: #0080C0;
}

.syntaxdefault {
        color: #444;
}

.syntaxhtml {
        color: #687278;
}

.syntaxkeyword {
        color: #456375;
}

.syntaxstring {
        color: #637078;
}


/* More misc stuff */
h1 {
        font-weight: bold;
        font-size: 1.8em;
        text-decoration: none;
}

h2 {
        font-weight: bold;
        font-size: 1.5em;
        text-decoration: none;
        line-height: 120%;
}

h3 {
        font-size: 1.3em;
        font-weight: bold;
        line-height: 120%;
}

h4 {
        margin: 0px;
        font-size: 1.1em;
        font-weight: bold;
}

p {
        font-size: 1.1em;
}

p.moderators {
        margin: 0px;
        float: left;
        color: #0080C0;
        font-weight: bold;
}

.rtl p.moderators {
        float: right;
}

p.linkmcp {
        margin: 0px;
        float: right;
        white-space: nowrap;
}

.rtl p.linkmcp {
        float: left;
}

p.searchbar {
        padding: 2px 0;
        white-space: nowrap;
} 

p.searchbarreg {
        margin: 0px;
        float: right;
        white-space: nowrap;
}

.rtl p.searchbarreg {
        float: left;
}

p.forumdesc {
        padding-bottom: 4px;
}

p.topicauthor {
        margin: 1px 0px;
}

p.topicdetails {
        margin: 1px 0px;
}
td.history-current, tr.row1 td.history-current, tr.row2 td.history-current {
        background: #f5f9fb;
}

table.colortable td {
        padding: 0;
}

pre {
        font-size: 1.1em;
        font-family: Monaco, 'Courier New', monospace;
}

.nowrap {
        white-space: nowrap;
}

.username-coloured {
        font-weight: bold;
}

.sep {
        color: #0080C0;
}


/* reset style for file input */
.btnfile, .btnfile:hover, .btnfile:focus { 
    border: none; 
    background-color: #FFF;
    color: #000;
}

.dialog input {
  border-left:solid 2px #98B8DC; border-right: solid 1px #ACCCF0;
  border-top: solid 2px #98B8DC; border-bottom:solid 1px #ACCCF0;
}

/*
table.tablebg .head a, th.header {

  background:url(/img/table/sort.gif) left no-repeat;
  cursor:pointer;

}
table.tablebg .desc a, th.headerSortUp {

  background:url(/img/table/desc.gif) left no-repeat;
  cursor:pointer;

}
table.tablebg .asc a, th.headerSortDown {

  background:url(/img/table/asc.gif) left no-repeat;
  cursor:pointer;

}
*/

div.pagetitle {
  margin: 0px -8px 0 -8px;
  /*padding-top:3px;*/
  background: #ECF4F8;/*#C0DCF4;*/
  border-bottom: solid 1px #CCD4D8;
}

div.pagetitle h1 {
  padding:8px;
  /*border-top:solid 2px #F8FBFD;*/
  background: #ECF4F8;/*#C0DCF4;*/
  color: #0080C0;
  font-size: 14px;
  white-space: nowrap;
}

div.pagetitle a {
  padding:4px;
  border:solid 1px #C4C8CC;
  background: #DCE0E4 url(img/page/default.gif) top left repeat-x;
  color: #0080C0;
  outline: none;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px; 
}
div.pagetitle a:hover {
  border:solid 1px #ACB0BC;
  background: #BCC0CC url(img/page/hover.gif) top left repeat-x;
  color: #F00000;
  outline: none;
  text-decoration: none;
}
div.pagetitle span {
  padding:4px;
  border:solid 1px #ACB0BC;
  background:#FFFFFF url(img/page/active.gif) top left repeat-x;
  font-weight: bold;
  color: #F00000;
  outline: none;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px; 
}

div.container {
  overflow: auto;
}

div.cell {
  float: left;
  margin: 2px;
  padding:2px 4px 2px 4px;
  border-left:solid 1px #ACB0BC;
  border-top:solid 1px #ACB0BC;
  border-right:solid 1px #ACB0BC;
  border-bottom:solid 1px #ACB0BC;
  background-color: #FFFFFF;/*#C0E0FF;*/
  color:#0080C0;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px; 
}
div.cell b {
  color:#008000;
  font-size: 1.2em;
}

div.cell .head a {
  padding-top: 2px;
  padding-left: 2px;
  padding-right: 2px;
  font-size: .6em;
}

div.cell .body {
  padding:1px;
  border: solid 1px #E4E8EC;
/*
  border-left: solid 2px #98B8DC;  border-right:  solid 1px #ACCCF0;
  border-top:  solid 2px #98B8DC;  border-bottom: solid 1px #ACCCF0;
  background: #E0F0FF;
*/
}
div.cell_none {
  float: left;
  margin: 2px;
  padding:2px 4px 2px 4px;
}

div.block {
  margin: 2px;
  padding:4px 4px 4px 4px;
  border: solid 1px #ACB0BC;
  background-color:#FFFFFF;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px; 
}
div.block .head {
  padding:4px;
  font-size: 11px;
  font-weight: bold;
  color: #0080C0;
}
div.block .body {
  margin: 0 0 2px 0;
  padding:1px;
  border: solid 1px #E4E8EC;
}


div.sb {
  float: left;
  width: 85px;
}
.foto {
  background: url(img/gallery/fon.gif) left no-repeat;
  width: 158px;
  height: 138px;
}

.abs {position: absolute;}

.menu {
  margin:2px;
  background: #E4ECF0;
  border-left: solid 1px #CCD4D8;  border-right:  solid 2px #CCD4D8;
  border-top:  solid 1px #CCD4D8;
  padding-top: 2px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px; 
}
.menu .head {
  padding: 2px;
  border-bottom:  solid 1px #CCD4D8;
  color:#008000;
  font-size: 1.2em;
}
.menu ul {
  margin-left: 0; /*  ?  ? IE  Opera */
  padding-left: 0; /*  ?  ? Firefox, Safari, Chrome */
}
.menu li {
  list-style:none;
  padding: 2px;
  display:block;
  background: #ECF4F8;
  border-top: solid 1px #FFFFFF;  border-bottom:  solid 1px #CCD4D8;
}
.menu a {
  font-weight: bold;
  font-size: 12px;
  text-decoration: none;
  vertical-align: middle;
}
.menu img {
  padding-right:4px;
  border: none;
  vertical-align: middle;
}

.widget {
  float: left;
  margin:4px;
  padding: 0px;
}
.widget .head {
  margin:0px;
  padding:8px 0 8px 8px;
  background: #ECF4F8;/*#E4ECF0;*/
  border: solid 1px #CCD4D8;
/*
  -moz-border-radius-topleft: 8px;
  -webkit-border-top-left-radius: 8px;
  border-top-left-radius: 8px;
*/
}
.widget .head span {
  padding:4px;
  border:solid 1px #ACB0BC;
  background:#FFFFFF url(img/page/active.gif) top left repeat-x;
  font-weight: bold;
  color: #F00000;
  outline: none;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px; 
}
.widget .head a {
  padding:4px;
  border:solid 1px #C4C8CC;
  background: #DCE0E4 url(img/page/default.gif) top left repeat-x;
  color: #0080C0;
  outline: none;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px; 
}
.widget .head a:hover {
  border:solid 1px #ACB0BC;
  background: #BCC0CC url(img/page/hover.gif) top left repeat-x;
  color: #F00000;
  outline: none;
  text-decoration: none;
}
.widget .body {
  float: left;
  padding: 4px 0 0 4px;
  border-left: solid 1px #CCD4D8;
  border-right: solid 4px #FFFFFF; /*#ECf4f8;*/
  color:#000000;
}
/*
.widget h4 {
  margin: 0 0 0 -4px;
  padding:2px 0 2px 0;
  background:#B8DCFF;
  border-top: solid 2px #ECF4F8;
  color: #0080C0;
}
*/
.text {
  color: #000000;
  font-size: 14px;
}
/*
.text a {
  color: #000000;
  font-size: 14px;
  text-decoration: none;
}
*/

.image_fon_tl {
  background: url(img/page/image_fon_tl.gif) top left no-repeat;
  width:10px;
  height:10px;
}
.image_fon_tr {
  background: url(img/page/image_fon_tr.gif) top right no-repeat;
  width:10px;
  height:10px;
}
.image_fon_bl {
  background: url(img/page/image_fon_bl.gif) bottom left no-repeat;
  width:10px;
  height:10px;
}
.image_fon_br {
  background: url(img/page/image_fon_br.gif) bottom right no-repeat;
  width:10px;
  height:10px;
}
.image_fon_t {
  background: url(img/page/image_fon_t.gif) top left repeat-x;
}
.image_fon_b {
  background: url(img/page/image_fon_b.gif) bottom left repeat-x;
}
.image_fon_l {
  background: url(img/page/image_fon_l.gif) top left repeat-y;
}
.image_fon_r {
  background: url(img/page/image_fon_r.gif) top right repeat-y;
}

/* tables */
table.tablesorter {
  background-color: #FFFFFF;/*#C0E0FF;*/
  border-collapse: separate;
  border-spacing: 2px
}
table.tablesorter thead tr th, table.tablesorter tfoot tr th {
  background-color: #DCE0E4;
  border: 1px solid #C4C8CC;
  font-size: 8pt;
  padding: 4px 16px 4px 0px;
  font-weight: bold;
  color: #0080C0;
}
table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
  background-color: #BCC0CC;
  border: 1px solid #ACB0BC;
  font-weight: bold;
  color: #F00000;
}
table.tablesorter thead tr .header {
  background-image: url(img/table/sort.gif);
  background-repeat: no-repeat;
  background-position: center right;
  cursor: pointer;
}
table.tablesorter thead tr .headerSortUp {
  background-image: url(img/table/asc.gif);
}
table.tablesorter thead tr .headerSortDown {
  background-image: url(img/table/desc.gif);
}

table.tablesorter tbody td {
  border: solid 1px #C4C8CC;
  padding: 4px;
  vertical-align:top;
}
table.tablesorter tbody tr.odd td {
  background-color:#F4F8FC;
}
table.tablesorter tbody tr.even td {
  background-color:#ECF0F4;
}

#nav {
  margin: 0; 
  padding: 0; 
  list-style: none;
  font-size: 1.2em;
  font-weight: bold;
}       
#nav li {
  float: left; 
  display: block; 
  padding: 4px 16px 4px 4px; 
  width: 128px; 

  color: #0080C0; 
  background-color: #DCE0E4;
  border: 1px solid #C4C8CC;

  position: relative;
  z-index: 100; 
  margin: 1px;
  text-align: center; 
}
#nav .submenu {
  background-image: url(img/table/asc.gif);
  background-repeat: no-repeat;
  background-position: center right;
  cursor: pointer;
}
#nav li a {
  display: block; 
  text-decoration: none; 
  color: #0080C0; 
}
#nav li a:hover {
  color: #F00000;
}
#nav ul {
  position: absolute; 
  display: none; 
  margin: 4px -1px 0 -5px;
  padding: 0; 
  list-style: none;

  background-color: #DCE0E4;
  border-top: 1px solid #DCE0E4;
  border-left: 1px solid #C4C8CC;
  border-right: 1px solid #C4C8CC;
  border-bottom: 1px solid #C4C8CC;
}
#nav ul li {
  width:124px; 
  border: 0px solid #C4C8CC;
  text-align: left; 
}
/* fix ie6 small issue */
*html #nav ul {
  margin:0 0 0 -2px;
}

.clear { clear: both; }

@font-face {
  font-family: "walltext";
  src: url(/font/BetinaScriptExtraC.ttf);
}

.walltext {
  font-family: "walltext";
  font-size: 48px;
  color: #660000;
}


