/* 
 * Copyright (c) 2009, Aikido.ru team. All rights reserved.
 * The styles related to Content (wiki) plugin.
 * Author: Maxim Podkolzine, 2009.
 */

/* Content and News: */

.content_info {
  text-align: right;
}

.content_content_container {
  border-collapse: collapse;
  border-spacing: 0;
  width: 99%;
}

.category_header, .content_header, .news_header {
  color: #336699;
  font-family: normal Verdana,Tahoma,sans-serif;
  font-size-adjust: none;
  font-stretch: normal;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  line-height: 118%;
}

.category_header {
  font-size: 2.0em;
  text-align: center;
  font-weight: bold;
}

.content_header {
  font-size: 1.6em;
}

.news_header {
  font-size: 1.5em;
  text-align: left;
  font-weight: bold;
}

table.content_table {
  width: 98%;
  text-align: left;
  margin-top: 5px;
  margin-bottom: 5px;
}

.content_readmore {
  color: #79B1D4;
}

.content_info_bar {
  vertical-align: top;
  text-align: right;
  font-size: 0.9em;
  padding-right: 7px;
}

.content_info_bar div {
  padding-bottom: 2px;
}

.content_info_bar div img {
  border: none;
  vertical-align: middle;
  margin-bottom: 1px;
}

.news_info {
  float: right;
  margin-bottom: 30px;
}

.news_info tr td {
  white-space: nowrap;
  font-size: 80%;
}

div.clearer {
  clear: right;
  line-height: 0;
  height: 0;
}

a.news_link {
  text-decoration: none;
  color: #336699;
}

div.gallery_wrapper.news img:hover {
  border: 1px solid transparent;
}

div.gallery_wrapper.news img:hover {
  border: 1px solid #0000CC;
}

/* Pull quotes: */

blockquote {
  background: url(images/quote-open.gif) 0 0 no-repeat;
  margin: 1em;
  width: 300px;
}

blockquote.left {
  float: left;
}

blockquote.right {
  float: right;
}

blockquote.big {
  width: 350px;
}

blockquote.small {
  width: 250px;
}

blockquote p {
  color: #555555;
  font-size: 1.1em;
  font-weight: normal;
  text-align: justify;
  background: url(images/quote-close.gif) 100% 90% no-repeat;
  padding: 0 33px;
  margin-bottom: 0;
}
    
cite {
  background: none;
  display: block;
  text-align: right;
  font-size: 1.1em;
  font-weight: normal;
  font-style: italic;
}   
    
blockquote>p+p {
  background: none;
}

blockquote.wide {
  margin: 0 40px 10px 40px;
  width: auto;
}

/* Wiki: */

a.wiki {
  background: transparent none repeat scroll 0 0;
  color: #002BB8;
  text-decoration: none;
}

a.wiki:visited {
  color: #5A3696;
}

a.wiki:hover {
  text-decoration: underline;
}

a.external {
  background: url(images/externalLink.gif) no-repeat right top;
  padding-right: 10px;
  color: #666;
}

sup.reference {
  font-style:normal;
  font-weight:normal;
}

sup, sub {
  line-height:1em;
}

sup.reference a.wiki {
  white-space:nowrap;
}

div.references {
  font-size: 90%;
}
 
/* Content enhancements: */

.forumheader3 div h1, .forumheader3 div h2, .forumheader3 div h3 {
  background: transparent none repeat scroll 0 0;
  border-bottom: 1px solid #AAAAAA;
  font-weight: normal;
}

.forumheader3 div h2 {
  margin-bottom: 0.6em;
  font-size: 120%;
}

.forumheader3 div h1.no_border, .forumheader3 div h2.no_border, .forumheader3 div h3.no_border {
  border-bottom: none;
}

img.content_image {
  border: 1px solid #A9A9A9;
  margin: 5px;
}

img.content_image:hover {
  border: 1px solid #0000CC;
}

div.content_gallery {
  float: left;
  border: 1px solid #AAAAAA;
  background: #F9F9F9 url(images/gallery.png) no-repeat scroll 3px center;
  font-size: 88%;
  height: 35px;
  margin-top: 10px;
}

div.content_gallery p {
  float: right;
  padding-left: 40px;
  padding-right: 3px;
}

.forumheader3 div ul {
  list-style-image: url(images/bullet.gif);
  list-style-type: square;
}

.forumheader3 div h3.introduction_note {
  font-weight: bold;
  border-bottom: none;
}

div.reference_note {
  font-weight: bold;
  text-align: right;
  margin-top: 2em;
  margin-bottom: 1em;
}

/* Wiki menu: */

#rand-wiki-text {
  text-align: center; 
}

#rand-wiki-menu .wiki-entry {
  margin: 8px 0 12px 0;
}

#rand-wiki-menu .wiki-img {
  float: none;
  margin: auto;
  width: 120px;
  max-height: 130px;
  overflow: hidden;
  border: 1px solid #A9A9A9;
}

#rand-wiki-menu .wiki-img img {
  float: right;
}

#rand-wiki-menu .wiki-img:hover {
  border: 1px solid #0000CC;
}

#rand-wiki-menu .wiki-img img {
  margin: 0;
}

#rand-wiki-menu .wiki-medium-title {
  text-align: center;
}

/* Articles: */

div.cat-layout {
  padding: 2px; 
}

div.cat-layout div.left-block, div.cat-layout div.right-block, div.cat-layout div.wide-block {  
  vertical-align: top;
}

div.cat-layout div.left-block {
  width: 49.4%;
  float: left;
}

div.cat-layout div.right-block {
  width: 49.4%;
  float: right;
}

div.category {
  font-size: 12px;
  margin-bottom: 1.5em;
}

div.cat-header {
  padding: 2px 4px;
}

div.col-0 {
  background-color: #EAF7EA;
  border-top: 1px solid #007300;
}

div.col-1 {
  background-color: #EBEFF9;
  border-top: 1px solid #6B90DA;
}

div.col-2 {
  background-color: #FFF7DB;
  border-top: 1px solid #FFC300;
}

div.col-3 {
  background-color: #FFEEEE;
  border-top: 1px solid #CC0000;
}

div.col-4 {
  background-color: #F5EAFF;
  border-top: 1px solid #8A60B3;
}

div.col-5 {
  background-color: #E9F7F7;
  border-top: 1px solid #438988;
}

a.cat-show_hide {
  font-size: 0.9em;
  float: right; 
}

div.article {
  margin-top: 0.8em;
}

div.art-header {
  font-size: 1.23em;
  line-height: 1.2em;
  font-family: arial;
  font-weight: bold;
}

div.art-header sup.admin {
  font-weight: normal;
  color: blue; 
}

div.art-header sup.new {
  font-weight: normal;
  color: #CC0000;
}

div.article-text {
  margin-top: 3px;
}

img.art_image {
  float: right;
  width: 120px;
  margin: 3px;
}

a.art-link {
  color: #008000;
  margin-right: 15px;
}

div.toc {
  margin-top: 0.5em;
  margin-bottom: 1em;
}

div.toc .has_new {
  color: #CC0000;
}
