html, body, table th, table td {
  font-family: Verdana, sans-serif;
  font-size: 9pt;
  color: #393939;
  line-height: 1.7em;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

h1 {
  font-size: 170%;
  margin-bottom: .5em;
  padding-bottom: .35em;
  border-bottom: 1px solid #BFC4CF;
}

h2 { font-size: 160%;}

h3 {
  font-size: 140%;
  font-weight: bold;
  color: #505050;
}

h4 {  font-size: 140%;}
h5 {  font-size: 130%;}
h6 {  font-size: 120%;}
a {text-decoration: none;}
a:link {
  color: #333399;
  text-decoration: none;
}
a:visited {
  color: #4444AA;
  text-decoration: none;
}
a:hover { color: #4c89bb;}
img, a img {  border: none;}

hr {
  margin: 0;
  padding: 0;
  border: none;
  height: 1px;
  background: #5294c1;
}

/* lists, menu */

ul, ul.menu, .item-list ul {
  margin: 0 0 .5em 0;
  padding: 0 0 0 0.5em;
}

ul li, ul.menu li, .item-list ul li {
  margin: 0 0 0 1em;
  padding: 0;
  list-style: circle url(/img/menu-leaf.gif);
}

ul li.expanded, ul.menu li.expanded, .item-list ul li.expanded {
  list-style: disc url(/img/menu-expanded.gif);
}

ul li.collapsed, ul.menu li.collapsed, .item-list ul li.collapsed {
  list-style: square url(/img/menu-collapsed.gif);
}

ul.menu li ul li {
  font-size: 95%;
}

ul.menu li ul li ul li {
  line-height: 1.6em;
}

#main-menu {z-index: 55;}
/***********************
*   layout styling
***********************/

body, #page, #front, #second {
  padding: 0;
  margin: 0;
  background-color: #FDFEFF;
}

#container {  background-color: #F3F7FB;}
#main {
  background-color: #FDFEFF;
  padding: 1px 20px 20px 20px;
}
.withleft #main {
  border-left: 1px solid #DDE3ED;
}
.withright #main {
  border-right: 1px solid #DDE3ED;
}

/* header */

#header {
  height: 93px;
  background: url(/img/spriteme2.png) repeat-x;
  background-position: 0px -10px;
  padding: 0;
  margin: 0 0 0 0;

  position: relative;
}

#logo-title {
  position: relative;
  overflow: visible;
  float: left;
  height: 93px;
  z-index: 1;
}

#header #site-name, #header #site-slogan {
  position: relative;
  padding: 0;
  margin: 0;
  left: 100px;
  top: 50px;
  padding-left: 1px;
  border: 0;
}

#site-slogan {top: 48px; }

#header #site-name a, #header #site-name a:visited, #header #site-name a:hover {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 25px;
  color: #F8FEFF;
  font-weight: bold;
  letter-spacing: 3px;
  text-decoration: none;
  border: 0;
}

#header #site-name a:hover {  color: #fff;}
#header #site-slogan {
  text-align: left;
  font-size: 12px;
  font-weight: bold;
  color: #A4BEDD;
  letter-spacing: 1px;
}
#header #logo {  position: absolute;  top: 0px;}
#logo a, #logo a:visited, #logo a:hover {  text-decoration: none;}
#logo a img {border: 0;}


#primary ul {
  position: absolute;
  right: 3px;
  /*top: 14px;*/
  bottom: 62px;
  text-align: right;
  font-size: 90%;
}

#primary ul li {
  margin: 0;
  padding: 0;
  list-style-type: none;
  list-style-image: none;
  float: left;
}

#primary ul li a, #primary ul li a:visited {
  display: block;
#  margin: 0 1px 0 1px;
 #padding: 3px .8em 0 .8em;
  padding: 0 0 0 0;  
color: #24375B;
  background: url(/img/spriteme2.png) repeat-x;
  background-position: 0px -121px;
  height: 12px;
  border: 1px solid #96B4D5;
  border-bottom: none;
  float: left;
  line-height: 10px;
  font-size: 10px;
}

#primary ul li a:hover {
  color: #465775;
  border-color: #A0BBDB;
  background: url(/img/bg-primary-hover.gif) repeat-x;
}

/* secondary links */

#secondary ul {
  position: absolute;
  right: 4px;
  top: 44px;
  text-align: right;
  padding: 3px 5px 1px 5px;
  background: url(/img/bg-secondary.gif) repeat-x;
  border-bottom: 1px solid #B7CFE9;
  height: 12px;
}

#secondary ul li {
  margin: 0;
  padding: 0;
  list-style-type: none;
  list-style-image: none;
  float: left;
  color: #F8FEFF;
  line-height: 1em;
}

#secondary ul li a, #secondary ul li a:visited {
  display: block;
  margin: 0 .5em 0 .5em;
  padding: 0;
  color: #DBE7F4;
  float: left;
  font-size: 90%;
}

#secondary ul li a:hover {
  color: #fff;
  text-decoration: none;
  border: 0;
}

/* sidebars, regions */

.sidebar {  text-align: left;}
.sidebar .block {  margin-bottom: 1.5em;}

.sidebar .block h2 {
  background-color: #E5ECF5;
  font-size: 13px;
  font-weight: bold;
  border-top: 2px solid #D1DBEC;
  color: #6C7A8D;
  padding-left: 5px;
}

.sidebar .block h3, .sidebar .block div.title {
  font-size: 12px;
  color: #6C7A8D;
  font-weight: bold;
}

#header-region {
  position: absolute;
  top: 1px;
  left: 122px;
  height: 48px;
  line-height: 28px;
  vertical-align: top;
  padding: 0;
  color: #F1F5F9;
}

#header-region * {
  display: inline;
  vertical-align: bottom;
}

#header-region h2, #header-region h3, #header-region div, #header-region ul, #header-region li {
  display: inline;
  padding-right: .5em;
  font-size: 12px;
}

#header-region h2, #header-region h3 {
  font-weight: bold;
}

#header-region h2 {
  font-size: 13px;
}

#header-region input, #header-region select {
  background-color: #B4D1F1 !important;
  border-color: #8EACCE !important;
  color: #476281 !important;
}

/* footer */

#footer {
  text-align: center;
  vertical-align: middle;
  line-height: 37px;
  height: 37px;
  background: url(/img/spriteme2.png) repeat-x;
  background-position: 0px -159px;
}

/***********************
*   styling
***********************/

/* tabs */

ul.primary {
  text-align: right;
  border-bottom: 1px solid #DADCE0;
}

ul.primary li a {
  background: #EBEFF7;
  border-color: #CFD5E3;
}

ul.primary li a.active {
  border-color: #CFD5E3;
  border-bottom: 0;
}

ul.primary li a:hover {
  background-color: #FBFCFE;
  border-color: #BABFC6;
}

ul.secondary {  padding: 0;}
ul.secondary li {  margin: 0;}
ul.secondary li.active a, ul.secondary li a:hover {  border-bottom: 3px solid #BABFC6;}

table {
#  margin: 0.5em 0 1em 0;
  width: 100%;
}

thead th {
  border-bottom: 2px solid #AAB5C3;
  color: #678;
  font-size: 90%;
  font-weight: bold;
  background: url(/img/bg-thead.gif) repeat-x bottom left;
  padding: 4px 5px 0 5px;
}
tr.even, tr.odd {  border-color: #DADCE0;}
tr.even {  background-color: #fbfcfe;}
tr.odd {  background-color: #fff;}
td.active {  background: #e4ecf5;}
td {  padding: 3px;}
td.menu-disabled {  background-color: #E5E5E5;}
form {  margin-bottom: .5em;}

input, textarea, select, textfield {
  font: 11px/160% "Verdana", sans-serif;
  color: #555;
  padding: 1px 3px 1px 3px;
}

fieldset {
  border: solid #DADCE0 1px;
  background-color: #F8F9FA;
  margin: 1em 0 1em 0;
}

fieldset.collapsed {
  background-color: transparent;
  padding: 0;
}

.form-item input.error, .form-item textarea.error {
  font: 11px/100% "Verdana", sans-serif;
  border: 1px dashed #E1471D;
  color: #555;
}

#node-form, #node-form .node-form {  overflow:auto;}

#search  {
  margin: 5px -8px 5px -8px;
  background: url(/img/crystal-search.gif) left bottom no-repeat;
  border-bottom: 2px solid #D1DBEC;
  padding: 3px 3px 0 26px;
  vertical-align: bottom;
}

#search .form-item {
  display: inline;
  padding: 0;
  margin: 0;
}

#search input.form-text, #user-login-form input.form-text  {
  height: 18px;
  width: 95px;
  padding: 2px 3px 0 3px;
  border: 2px solid #D1DBEC;
  border-bottom: 0;
  text-align: right;
  font-family: Arial, Helvetica, sans-serif;
  color: #9CA6B4;
  background-color: #FBFCFE;
  vertical-align: bottom;
}

#search input.form-submit  {
  width: 49x;
  margin: 0;
  height: 22px;
  padding: 0 2px 0 2px;
  border: 2px solid #D1DBEC;
  border-bottom: none;
  vertical-align: bottom;
  background-color: #FBFCFE;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: #6C7A8D;
}

#user-login-form input.form-submit {
  border:solid #d1dbec;
  background-color:#fbfcfe;
  margin-left: 3pt;  
  align:center;
}

#user-login-form {  text-align:left;}
#user-login-form .form-item {  margin: 0 0 .5em 0;}
#user-login-form .item-list {
  margin-top: .5em;
  font-size: 90%;
}

#user-login-form input.form-text {
  border: 1px solid #D1DBEC;
  text-align: left;
}

#user-login-form label {
  font-size: 90%;
  font-weight: normal;
}
#user-login-form .form-required {  display: none;}

#search input.form-submit:hover, #search input.form-submit:focus,
#search input.form-text:hover, #search input.form-text:focus,
#user-login-form input.form-text:hover, #user-login-form input.form-text:focus,
#user-login-form input.form-submit:hover, #user-login-form input.form-submit:focus {
  background-color: #fff;
  color: #485F7E;
  border-color: #B7C7E2;
}

/* add icons to user listing blocks */

#block-user-2 ul li, #block-user-3 ul li {
  list-style-type:none;
  list-style-image: none;
  margin-left: -5px;
  padding-left: 18px;
  background: url(/img/spriteme1.png) no-repeat;
  background-position: -10px -346px;
}

/* progress bar */

.progress .bar {
  background: #fff url(/img/progressbar.gif) repeat;
  border: 1px solid #00375a;
}

/* messages */

div.messages {
  min-height: 32px;                 /* icon height */
  padding: 1.3em 1em .3em 52px !important;
  border: 2px solid #DADCE0;
  background: #fbfcfe;
  margin: 10px 0;
}

.messages ul {
  padding: 0 0 0 20px;
  margin: 0;
}

div.status {  background: url(/img/icon-info.png) .5em 50% no-repeat;}
div.error {
  border: 2px solid #E1471D;
  background: #FCD295 url(/img/icon-alert.png) .5em 50% no-repeat;
}
div.error ul li, div.status ul li {
  list-style-type: square;
  list-style-image: none;
}

/* mixed elements */
div.meta, .description, .breadcrumb, .submitted, .taxonomy {
  font-size: 92%;
  color: #494949;
  line-height: 1.6em;
  text-align: left;
}
pre {
  background: #fbfcfe;
  border: 1px solid #DADCE0;
  padding: 0.75em 1.5em;
}

blockquote {
  border: 1px #DADCE0 solid;
  margin: 0.5em 1em;
  padding: 0.3em;
  font-style: italic;
}
code {
  font-size: 1em;
  font-family: Profont, 'lucida console', 'Courier New', Monaco, monospace;
}
.blockinner {
  padding: 0;
  margin: 0;
}

.preview .node, .preview .comment {
  border: 1px solid #BABFC6;
  padding: 10px;
  margin: 5px 0 10px 0;
  background-color: #FAF4E1;
}

#mission {
  padding: 15px;
  margin: 0 0 10px 0;
  border: 2px solid #96ADC8;
  background: #BCD1EA url(/img/bg-mission.gif) repeat-x bottom left;
}

.new {
  float: right;
  color: red;
  vertical-align: super;
  font-size: 80%;
  font-weight: bold;
}

/* admin panel */

div.admin-panel {
  border: 1px solid #DADCE0;
  background-color: #fbfcfe;
  margin: 0;
  padding: 0;
  padding-bottom: 15px;
  margin-top: 15px;
}

div.admin-panel h3 {
  padding: 5px 5px 5px 30px;
  margin: 0 0 5px 0;
  border-bottom: 2px solid #DADCE0;
  background: #E6EAF2 url(/img/crystal-run.gif) no-repeat 2px 2px;
}

/* node links */

div.links {    text-align: right;}
ul.links {  text-align: right;}
ul.links li.first {  padding-left:0px;}

.node div.links {
  padding-top: 1px;
  padding-bottom: 2px;
  border-bottom: dashed #DADCE0 1px;
}
.sticky div.links {  border-bottom: none;}
.comment .links {  font-size: 90%;}

LI.comment_add A {
  PADDING-LEFT: 15px; 
  background: url("/img/spriteme1.png") no-repeat;
  background-position: -10px -222px;
}
LI.comment_comments A {
  PADDING-LEFT: 15px; 
  background: url("/img/spriteme1.png") no-repeat;
  background-position: -10px -222px;
}
LI.node_read_more A {
  PADDING-LEFT: 15px; 
  background: url("/img/spriteme1.png") no-repeat;
  background-position: -10px -253px;
}
LI.upload_attachments A {
  PADDING-LEFT: 15px; 
  background: url("/img/spriteme1.png") no-repeat;
  background-position: -10px -316px;
}
LI.comment_delete A {PADDING-LEFT: 15px; BACKGROUND-IMAGE: url(/img/mini-trash.png); BACKGROUND-REPEAT: no-repeat; BACKGROUND-POSITION: 0px 0px}
LI.comment_edit A {PADDING-LEFT: 15px; BACKGROUND-IMAGE: url(/img/mini-edit.png); BACKGROUND-REPEAT: no-repeat; BACKGROUND-POSITION: 0px 0px}
LI.comment_reply A {
  PADDING-LEFT: 15px; 
  background: url("/img/spriteme1.png") no-repeat;
  background-position: -10px -222px;
}

.node {
  margin-bottom:15px;
  padding-bottom:15px;
}

.node h2.title a {
  color: #333;
  font-weight:normal;
  margin-bottom: 0;
}

.node h2.title a:hover {
  text-decoration: underline;
  border-bottom: 0;
  color: #345;
}
.meta, .submitted, .taxonomy {  color: #666;}
.meta {  padding-bottom: 1em;}
.node .submitted {
  text-align: left;
  float: left;
  width: 99%;
}
.node .with-taxonomy .submitted {  width: 48%;}
.node .taxonomy {
  text-align: right;
  float: right;
  width: 48%;
}

.taxonomy .links a {
  text-decoration:none;
  border-bottom: dotted 1px #9cf;
}
.taxonomy .links a:hover {  border-bottom: solid 1px #9cf;}
.taxonomy li.first {
  background: url("/img/spriteme1.png") no-repeat;
  background-position: -10px -284px;
  padding-left: 15px !important;
}

.sticky {
  border: 1px solid #DADCE0;
  background-color: #F7FAFF;
  padding: 8px 5px 8px 5px;
}

/* book styles */

div.node div.content .book-navigation {
  background: #eee;
  margin:0;
  padding:0;
}

div.node div.content .book-navigation ul.menu {
  border:0;
  border-top:1px solid #2763A5;
  margin:0;
  padding-bottom:10px;
}

div.node div.content .book-navigation .page-links{
  background: #C1D4EA;
  border:1px solid #2763A5;
  border-width:1px 0 1px 0;
  padding:5px;
  margin:0;
}

/* forum styles */

#forum table {  width: 100%;}

/* aggregator styles */

.feed-item-meta {
  font-size: 90%;
  color: #666;
  text-align: right;
}

h3.feed-item-title  a {
  color: #333;
  font-weight:normal;
  margin-bottom: 0;
  font-size: 13pt;
}

h3.feed-item-title a:hover {
  text-decoration: underline;
  border-bottom: 0;
  color: #345;
}

/* poll styles */

.poll .bar {
  height: 16px;
  background-color: #D4E2F2;
}

.poll .bar .foreground {
  background: url(/img/bg-poll.gif) repeat-x;
  height: 16px;
  clear: none;
  float: left;
}

.poll .vote-form {
  text-align: center;
}

.poll .vote-form .choices {
  padding-left: 5%;
  text-align: left;
  display: block;
}

/* pager */

.pager {
  text-align: center;
  font-size: 90%;
}

.pager a, .pager a:visited  {
  padding: 2px 3px 2px 3px;
  margin-left: 5px;
  border: 1px solid #DADCE0;
  background-color: #FFFFFF;
  color: #5294C1;
}

.pager .pager-current {
  padding: 2px 3px 2px 3px;
  margin-left: 5px;
  border: 1px solid #DADCE0;
  background-color: #F7F8FA;
  color: #555;
}

.pager a:hover {
  border-color: #BABFC6;
  color: #555555;
}

.avatar1 {
  float:left;
  margin:5px;
}

div .meta .content .submitted {float:right;}
.img_image {float:right;}

.tabs ul.tabs li {margin-left:0}
.tabs ul.tabs li a {padding:0 3px; margin-right:3px}

table.forum-topics td.title a:visited,
div.forum-post-panel-main a:visited,
a.colorlnk:visited {
  color: #6000C0;
}

div.content {
 margin: 4px 1px 1px 4px;
}


















.clear-block:after {
  clear: none;
}


.post-info { 
  clear: none;
  overflow: hidden;
}


.forum-post-wrapper {
  clear: none;
  overflow: hidden;
}

#sidebar-right {
  margin-left: 10px;
  background-color: #FFFFFF;
  border-left: 1px solid #BFC4CF;
  border-bottom: 1px solid #BFC4CF;
}

#main-wrapper {
  float: none;
}


div.forum-post-panel-sub {
  clear: left;
}


.forum-post-footer {
  display: inline;
}


div.quote-msg {
  overflow: auto;
  min-width:260px;
}


div.posted-on {
  clear: left;
}


.reply-count {
    text-align: right;
}
/*####################################*/


#forum table {
  clear: left;
  width: auto;
}


div#content-bottom {
  clear: left;
  overflow: auto;
  width: auto;
}

#forum .pager,
#forum-comments .pager {
  float: left;
}


.item-list .pager {
  clear: left;
}


.sticky {
  overflow: auto;
}


div#main.clear-block div.node{
  overflow: auto;
}

.profile {
  clear: left;
}

.profile h3 {
    overflow: auto;
}

.profile .picture {
    padding-left: 10px;
}


div.scalewrap {
  overflow: auto;
}


img.scaleimg {
  max-width: 95%;
}


div.fattablewrap {
  overflow: auto;
}


#tracker table {
  width: auto;
}
form.fatform {
  overflow: auto;
  width: auto;
}
/*####################################*/
div.messages {
  overflow: auto;
}
table.privatemsg-list {
  width: auto;
  overflow: auto;
}
div.privatemsg-message-participants {
  clear: left;
  overflow: auto;
}
.privatemsg-message-column {
  width: auto;
  float: none;
}
div.privatemsg-author-avatar {
  float: right;
}
.privatemsg-clearfix:after {
  clear: none;
}
div#edit-body-wrapper {
  width: auto;
  overflow: auto;
}
div.privatemsg-message-information {
  overflow: auto;
  width: auto;
}
div#uploading {
  width: auto;
  overflow: hidden;
}
div#edit-comment-wrapper {
    overflow: hidden;
}
div.fattablewrapleft {
    clear: left;
    overflow: auto;
}
div#progress {
  width: auto !important;
}
div#edit-body-wrapper.form-item {
  clear: left;
}
#forum-comments .box {
  clear: left;
}
div.forum-post.clear-block:after {
  display: inline-block;
}
div.admin {
  overflow: hidden;
  width: auto;
}
table.sticky-table {
  width: auto;
}
div.fb2tags {
    overflow: auto;
}
div.fb2tags textarea {
  width: 97%;
}
div.forum-post.clear-block:after {
  display: inline-block;
}
div.admin {
  overflow: hidden;
  width: auto;
}
table.sticky-table {
  width: auto;
}
table.diff {
  width: auto;
}
.teaser-checkbox {
  float: left;
  width: 100%;
}
table.system-status-report {
  width: auto;
}
form#privatemsg-list {
  overflow: auto;
}
form#support-page-form {
  overflow: auto;
}
div.taxonomy-list-directory fieldset.collapsible, div.taxonomy-list-vocabulary {
  clear: left;
}
div#content-top {overflow: hidden;}

div#booklist { 
    margin-top: 0px;
#padding-top: 30px;
    white-space: nowrap;
#    float: right;
    margin-left: 125px;
#	position:absolute;
}

div#booklist br {line-height: 17%;}

td.main { padding-left: 5px;}

.taxonomy-term {font-size: 6pt;}
