/* $Id: style.css,v 1.23 2007/12/17 15:05:09 goba Exp $ */

/*
** HTML elements
*/
body {
  margin: 0;
  padding: 0;
  color: #222;
  font: 90% Verdana, Arial, Helvetica, sans-serif;
}
tr.odd td, tr.even td {
  padding: 0.3em;
}
tr.odd td {
  background: #f2f2f0;
}
tr.even td {
  background: #fcfcfc;
}
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.5em;
}
h1 {
  font-size: 1.4em;
  color: #931;
}
h2 {
  font-size: 1.3em;
  color: #a42;
}
h3 {
  font-size: 1.2em;
  color: #b53;
}
h4, h5, h6 {
  font-size: 1.1em;
  color: #c64;
}
p {
  margin-top: 0.5em;
  margin-bottom: 0.9em;
}
a {
  text-decoration: none;
}
a:link {
  color: #37c;
}
a:visited {
  color: #369;
}
a:hover {
  color: #39c;
  text-decoration: underline;
}
fieldset {
  border: 1px solid #ccc;
}
pre {
  display: block;
  background-color: #eee;
  padding: .5em .5em 1.5em .5em;
  font-size: 12px;
  border: 1px solid #ddd;
  width: 95%;
  overflow: auto;
}
code {
  color: #139;
}
blockquote {
  display: block;
  background-color: #e6f5d8;
  padding: .5em;
  border-left: 3px solid #9b1;
}
table {
  /* make <td> sizes relative to body size! */
  font-size: .95em;
}
dd {
  margin-bottom: .3em;
}
.form-item {
  margin: 0;
}
.form-item label {
  font-size: 1em;
  color: #222;
}
.item-list .title {
  font-size: 1em;
  color: #222;
}
.links {
  margin-bottom: 0;
}
.comment .links {
  margin-bottom: 0;
}

/*
 Dimension
*/
.wmain {
  width: 900px;
  margin: 0 auto;
  padding: 0;
}
.topbg {
  border-top: solid 1px #48b;
  background: #fdfdfc url(images/topbg.jpg) repeat-x top left;
}
.topbg .tophead {
  margin-top: 10px;
  background: transparent url(images/header.jpg) no-repeat center top;
  min-height: 130px;
}
.mainbg {
  background: transparent url(images/mainbg-bottom.jpg) repeat-x left bottom;
  padding-bottom: 5px;
}
.midbg {
  background: #682 url(images/midbg.jpg) repeat-x left top;
  border-top: solid 1px #cd6;
}
.midbg-bottom {
  background: transparent url(images/midbg-bottom.jpg) repeat-x left bottom;
  padding-bottom: 5px;
}
.midbg .wmain {
  padding: 40px 0 10px 0;
}
.bottombg {
  background: #763 url(images/bottombg.jpg) repeat-x left top;
  border-top: solid 1px #ba6;
}
.bottombg-bottom {
  background: transparent url(images/bottombg-bottom.jpg) repeat-x left bottom;
  padding-bottom: 5px;
}
.bottombg .wmain {
  padding: 40px 0 10px 0;
}

#content #main {
  margin-left: 275px;
}

/*
** Page layout blocks / IDs
*/
#header, #content {
  width: 100%;
}
#header {
}
#logo {
  padding: 5px 20px;
  vertical-align: middle;
  border: 0;
}
#logo img {
  float: left; /* LTR */
  padding: 0 1em;
  border: 0;
}
.site-name {
  font-size: 2em;
  margin: 0;
  padding-top: 20px;
}
.site-name a:link, .site-name a:visited {
  color: #fff;
  text-shadow: 1px 1px 8px #369;
}
.site-name a:hover {
  color: #ffd;
  text-decoration: none;
}
.site-slogan {
  font-size: 1.1em;
  color: #16c;
  display: block;
  margin: -.2em 0 0 0;
  font-weight: bold;
  letter-spacing: -.3px;
  text-shadow: 1px 1px 8px #fff;
}
.menu_wrap {
  float: right;
}
#menu {
  float: right;
}
#primary_link {
  padding: 1px 0;
  text-align: right;
  margin: 0 10px 0 0;
}
#navlist {
  font-size: 1.0em;
  color: #fec;
}
#navlist a {
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  padding: .4em; /* LTR */
}
#navlist a:hover {
  color: #bdf;
}

#submenu {
  text-align: right;
}
#subnavlist {
  padding: .5em 5px; /* LTR */
  font-size: 0.75em;
  color: #9cf;
  margin: 5px 0 0 0;
}
#subnavlist a {
  font-weight: bold;
  color: #fec;
}

ul.links li {
  border-left: 1px solid #cef; /* LTR */
}
ul.links li.first {
  border: none;
}
ul.links#navlist li {
  border: none;
}

#search {
  float: right;
  margin-right: 5px;
}
#search .form-text, #search .form-submit {
  height: 1.5em;
  vertical-align: middle;
}
#search .form-text {
  width: 8em;
  height: 1.4em;
  padding: .1em 15px .1em .2em;
  border: solid 1px #abc;
  background: transparent url(images/search.gif) no-repeat right 50%;
  color: #fff;
  border-radius: 4px;
  -o-border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}
#search:hover .form-text {
  border: solid 1px #def;
}
/*
#search .form-submit {
  padding-left: 20px;
  background: transparent url(images/search.gif) no-repeat left 50%;
  border: none;
  color: #eee;
}
*/
#header #search .form-submit {
  display: none;
}
#search .form-submit:hover {
  background: #cde url(images/search.gif) no-repeat left 50%;
  color: #369;
}

.rimage-wrap {
margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 9;
}
.rimage-top {
  background: transparent url(images/rimage-top.gif) no-repeat center top;
  position: relative;
  z-index: 9;
  margin-bottom: -9px;
  height: 10px;
}
.rimage-bottom {
  background: transparent url(images/rimage-bottom.gif) no-repeat center bottom;
  position: relative;
  z-index: 9;
  margin-top: -14px;
  height: 10px;
}
#imagebackground {
  position: relative;
  z-index: 1;
  background: transparent url(images/loading.gif) no-repeat center top;
}
#imagebackground img {
  position: relative;
  z-index: 1;
  border-left: 1px solid #fc6;
  border-right: 1px solid #fc6;
  width: 800px;
  margin: 0 auto;
  padding: 0;
}
#mission {
  margin: 0 auto;
  margin-bottom: 20px;
  text-align: center;
}
.mission-text {
  font-size: 1.1em;
  text-align: center;
  margin-top: -1.7em;
  color: #fff;
  text-shadow: 1px 1px 2px #800, 1px 1px 4px #631, 1px 1px 8px #000;
  position: relative;
  z-index: 9;
}
#mission a, #mission a:visited {
  color: #9cf;
  font-weight: bold;
}
#main {
  /* padding in px not ex because IE messes up 100% width tables otherwise */
  padding: 5px 15px;
}
.main_wrap {
  float: left;
  width: 100%;
}
#main h1.title {
  font-size: 1.6em;
}
#main ol li {
  list-style-type: thai;
}
#mission, .node .content, .comment .content {
  line-height: 1.4em;
}
#help {
  font-size: 0.9em;
  margin-bottom: 1em;
}
.breadcrumb {
  font-size: .8em;
  color: #999;
  margin: .5em;
}
.breadcrumb a {
  color: #666;
}
.messages {
  background-color: #eee;
  border: 1px solid #ccc;
  padding: 0.3em;
  margin-bottom: 1em;
}
.error {
  border-color: red;
}
#sidebar-left, #sidebar-right {
  /* padding in px not ex because IE messes up 100% width tables otherwise */
}
#sidebar-left .block, #sidebar-right .block {
}
#sidebar-left .block .title, #sidebar-right .block .title {
  font-family: serif;
  font-weight: normal;
  font-size: 1.3em;
  letter-spacing: -.5px;
  padding-left: 18px;
  margin: 0 0 10px 0;
  background: transparent url(images/block_title.gif) no-repeat left bottom;
}
.sbl_wrap {
  float: left;
}
#sidebar-left {
  margin: 40px 0 0 0;
  padding: 10px 5px;
  background: #f4f8f0;
  border-right: solid 1px #e6e8e4;
  border-bottom: solid 1px #ddd;
  border-radius: 8px;
  -o-border-radius: 8px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
}
#sidebar-left .block {
  padding: 5px;
  margin: 0 0 2em 0;
  width: 240px;
}
#sidebar-left .block, #sidebar-left .block label, #sidebar-left .block h3 {
  color: #999;
}
#sidebar-left .block .title {
  color: #d61;
  border-bottom: solid 1px #ce2;
}
#sidebar-left .block a {
  color: #361;
  font-weight: normal;
}
#sidebar-left .block a.active {
  color: #120;
}
#sidebar-right .block {
  float: left;
  width: 185px;
  margin: 0 20px 2em 20px;
}
#sidebar-right .block, #sidebar-right .block h3 {
  color: #eee;
}
#sidebar-right .block label {
  color: #eee;
}
#sidebar-right .block .title {
  color: #be3;
  border-bottom: solid 1px #eb6;
}  
#sidebar-right .block a {
  color: #fd8;
}
#footer {
  color: #eee;
  padding: 1em;
  font-size: 0.8em;
  text-align: center;
}
#footer a {
  color: #fff;
}

/*
** Common declarations for child classes of node, comment, block, box, etc.
** If you want any of them styled differently for a specific parent, add
** additional rules /with only the differing properties!/ to .parent .class.
** See .comment .title for an example.
*/
.title, .title a {
  font-weight: bold;
  margin: 0 auto;  /* decrease default margins for h<x>.title */
}
.submitted {
  color: #aaa;
  background: transparent url(images/submitted.gif) no-repeat left 5px;
  padding-left: 14px;
  font-size: 0.75em;
}
.links {
  color: #aaa;
}
.links a {
}
.block, .box {
  padding: 0 0 1.5em 0; /* LTR */
}
.block {
  padding-bottom: 0.75em;
  margin-bottom: 1.5em;
  font-size: .9em;
}
.block .title {
  margin-bottom: .25em;
}
.box .title {
  font-size: 1.1em;
}
.node {
  margin: 1em 0 3em; /* LTR */
}
.sticky {
}
.node .content, .comment .content {
  margin: .5em 0;
}
.node .title {
  border-bottom: solid 1px #cef;
  padding-right: 26px;
  font-size: 1.5em;
}
.node .title:hover {
}
.node .title a {
  text-decoration: none;
}
.node .title a:hover {
  color: #69d;
}
.sticky .title {
  border-bottom: solid 1px #fec;
  padding-right: 26px;
}
.sticky .title a {
  color: #d63;
}
.sticky .title a:hover {
  color: #e73;
}
.node .taxonomy {
  color: #999;
  font-size: 0.8em;
  margin-left: 1em;
  padding-left: 11px;
  background: transparent url(images/taxonomy.gif) no-repeat left 5px;
}
.node .picture {
  border: 1px solid #ddd;
  float: right; /* LTR */
  margin: 0.5em;
  box-shadow: 2px 2px 9px #ccc; 
  -o-box-shadow: 2px 2px 9px #ccc; 
  -moz-box-shadow: 2px 2px 9px #ccc; 
  -webkit-box-shadow: 2px 2px 9px #ccc; 
}
.node .add_comment, .comment .edit_links {
  background: transparent url(images/comment.gif) no-repeat left 5px;
  text-align: right;
  padding-left: 12px;
  float: right;
  font-size: .9em;
}
.comment {
  padding: .5em 1em;
  margin-bottom: 1em;
  background: #f8f8f4;
  border-radius: 6px;
  border-bottom: 1px dotted #ccb;
  -o-border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
}
.comment .title {
}
.comment .title a {
  font-size: .9em;
  font-weight: normal;
}
.comment .new {
  text-align: right; /* LTR */
  font-weight: bold;
  font-size: 0.8em;
  float: right; /* LTR */
  color: red;
}
.comment .picture {
  border: 1px solid #abc;
  float: right; /* LTR */
  margin: 0.5em;
}
.comment .edit_links ul {
  display: inline;
}

/*
** Module specific styles
*/
#aggregator .feed-source {
  background-color: #eee;
  border: 1px solid #ccc;
  padding: 1em;
  margin: 1em 0;
}
#aggregator .news-item .categories, #aggregator .source, #aggregator .age {
  color: #999;
  font-style: italic;
  font-size: 0.9em;
}
#aggregator .title {
  margin-bottom: 0.5em;
  font-size: 1em;
}
#aggregator h3 {
  margin-top: 1em;
}
#forum table {
  width: 100%;
  margin-top: 1em;
}
#forum td {
  padding: 0.5em;
}
#forum td.title {
  font-size: 1.1em;
}
#forum td.created, #forum td.last-reply {
  font-size: .85em;
}
#forum td.container {
  background-color: #c0c8cc;
}
#forum td.container a {
  color: #50585c;
}
#forum td.statistics, #forum td.settings, #forum td.pager {
  height: 1.5em;
  border: 1px solid #b0b8bc;
}
#forum td .name {
  color: #96c;
}
#forum td .links {
  padding-top: 0.7em;
  font-size: 0.9em;
}
#forum .title a {
  font-size: .9em;
  color: #15c;
  font-weight: normal;
}
#profile .profile {
  clear: both;
  border: 1px solid #abc;
  padding: .5em;
  margin: 1em 0em;
}
#profile .profile .name {
  padding-bottom: 0.5em;
}
.block-forum h3 {
  margin-bottom: .5em;
}
div.admin-panel {
  padding: 0;
  margin: 10px 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  -o-border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  background: #f4f4f4;
}
div.admin-panel .description {
  color: #999;
}
div.admin-panel .body {
}
div.admin-panel h3 {
  background-color: #69c;
  color: #fff;
  padding: 5px 8px 5px;
  margin: 0;
}
.clear {
  clear: both;
  line-height: 1px;
  font-size: 0px;
  height: 0px;
}
.clear_right {
  clear: right;
  line-height: 1px;
  font-size: 0px;
}
/*
 * Hack
 */
#header #edit-search-theme-form-1-wrapper label {
  display: none;
}
.tabs {
  font-size: .9em;
  margin-top: 1em;
}
#main ul.primary li a {
  border-bottom: 1px solid transparent;
}
#main ul.primary li.active a {
  border-bottom: 2px solid #fff;
}
#main ul.primary li a {
  border-top-left-radius:         5px;
  -o-border-top-left-radius:      5px;
  -webkit-border-top-left-radius: 5px;
  -moz-border-radius-topleft:     5px;
  border-top-right-radius:        5px;
  -o-border-top-right-radius:     5px;
  -webkit-border-top-right-radius:5px;
  -moz-border-radius-topright:    5px;
}

#forum td.forum .name {
  font-size: 1.1em;
}
ul.pager {
  margin: 1em;
}
ul.pager li {
  margin: 0;
  padding: 0 5px;
  color: #999;
}
ul.pager li a {
  color: #c81;
}
.block .content .item-list li {
  margin-left: .4em;
}
#sidebar-left .block .content .item-list li {
  list-style-image: url(images/leaf.gif);
}
.block .content li.leaf {
  margin-left: .4em;
  list-style-image: url(images/leaf.gif);
}
.block .content li.collapsed {
  list-style-image: url(images/collapsed.gif);
}
.block .content li.expanded {
  list-style-image: url(images/expanded.gif);
}

/* event */
.node .event-nodeapi {
  display: inline-table;
  font-size: .8em;
}
.event-nodeapi div {
  color: #931;
  padding: 0 1.5em .3em 0;
}
.event-calendar th {
  background: #cdb;
  border: 1px solid #999;
  color: #666;
  padding: 1px .2em;
}
.event-calendar div.title a {
  color: #931;
}
