/* ============================= Structure ====================================== */

body {
  margin: 0;
  padding: 0;
  color: #b53cc3;
  background: url(images/bg.gif) repeat-x #2c6ec1;
  font: normal 80% Arial, "Trebuchet MS", "Lucida Grande", Verdana, Georgia, Sans-Serif;
}

#doc {
  width: 782px;
  margin: 0 auto;
  margin-bottom: 20px;
  background: url(images/doc-bg.gif) repeat-y #fff;
}

#header {
  height: 225px;
  background: url(images/header-bg.gif) no-repeat #2d5485;
  position: relative;
}

#wrapper {
  color: #000;
  padding: 0 7px;
  background: url(images/wrapper-bg.gif) no-repeat;
}

#content-wrapper {
  width: 510px;
  margin: 10px;
  margin-left: 20px;
  _padding: 10px;
  _padding-left: 20px;
  _margin: 0;
  float: left;
  line-height: 150%;
}

#sidebar-wrapper {
  width: 200px;
  margin: 10px;
  _padding: 10px;
  _margin: 0;
  float: right;
}

#footer {
  clear: both;
  text-align: center;
  background: url(images/footer-bg.gif) no-repeat bottom;
  color: #4574ab;
  border-top: 2px solid #eee;
  color: #000;
  padding: 5px 0;
  line-height: 150%;
}

.clanek {
border: 2px solid #ccc;
margin-bottom: 1ex;
}

.clanek p {
padding: 0 5px;
}

.clanek h3, .clanek p.ex {
margin: 0;
}

.clanek p.ex, .clanek h3 a {
background: #fafafa;
padding: 3px 5px;
}

.clanek h3 a {
display: block;
text-decoration: none;
}

/* =================================== General ===================================== */

.hide {
    display: none;
}

.cleaner {
  clear: both;
  width: 100%;
}

code { 
  color: #060; 
  font-family: Consolas, Verdana, "Courier New", Sans-Serif; 
}

table { 
  border-collapse: collapse; 
  width: 100%; 
}

table td { 
  border: 1px solid #aaa; 
  padding: 1ex; 
}

table th { 
  text-align: left; 
  padding: 1ex; 
  background: #eee; 
  border: 1px solid #aaa; 
}

ul, ol { 
  line-height: 2em; 
}

abbr, acronym { 
  font-style: normal; 
  border-bottom: 1px dotted #333; 
  cursor: help; 
}

pre, blockquote {
  overflow: auto;
  padding: 0 10px;
  margin: 20px 30px;
  line-height: 1.8em;
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
}

pre:hover, blockquote:hover {
  background-color: #f0f0f0;
  border: 1px solid #d0d0d0;
}

pre { 
  padding: 10px 0;
}

hr {
display: none;
}

.post-footer {
background: #fafafa;
border-bottom: 2px solid #eee;
padding: .5ex;
}

.post div img {
margin: 3px;
border: 1px solid #000;
}


/* =================================== Links ======================================= */

a, a:link { 
  text-decoration: underline; color: #3b6391; 
}

a:visited { 
  text-decoration: underline; color: #3b6391; 
}

a:hover { 
  color: #000; 
  text-decoration: underline; 
  background: #eef; 
}

#content-wrapper a, #footer a, #clanky a { 
  padding: 2px 0; 
}

.ex a {
padding-right: 18px!important;
background: url(images/a.png) right 65% no-repeat;
width: auto;
}

.ex a:hover {
background: url(images/a2.png) right 65% no-repeat #eef;
}

.post h2 a {
text-decoration: none;
display: block;
}

a.feed {
padding-left: 18px!important;
background: url(/wp-content/themes/coolblue/images/rss.png) left no-repeat;
}

/* ==================================== Headings =================================== */

h1, h2, h3, h4, h5, h6 { 
  font-weight: normal; 
  margin: 20px 0 5px 0;
  color: #000;
}

h1 { 
  font-size: 220%; 
  margin-bottom: 0; 
  margin-top: 20px; 
  color: #3b6391; 
  font-weight: bold;  
  line-height: 120%;
}

h2 { 
  font-size: 190%; 
  line-height: 120%;
  letter-spacing: -1px; 
}

h3 { 
  font-size: 160%; 
  line-height: 120%; 
  letter-spacing: -1px; 
}

h4, h5, h6 { 
  font-size: 140%; 
}

/* ====================================== Header =================================== */

#header h2.logo {
  margin: 0;
  padding: 0;
  top: 90px;
  left: 30px;
  position: absolute;
}

#header h2.logo a {
  display: block;
  position: relative;
  width: 534px; 
  height: 45px;
  overflow: hidden;
  cursor: hand;
  cursor: pointer;
  color: #fff;
}

#header h2.logo a span {
  background: url(images/logo2.png) top left no-repeat;
  display: block;
  width: 534px; 
  height: 45px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 99;
}

.slogan {
  font-size: 110%;
  color: #fff;
  text-transform: lowercase;
  margin-left: 45px;
  margin-bottom: 2px;
  display: none;
}

/* ===================================== Search ==================================== */

#searchform {
    position: absolute;
    top: 142px;
    right: 30px;
}

strong.search-excerpt {
  background-color: yellow;
}

.search_results .post {
    padding: 10px;
    margin: 0 0 10px 0;
}

.search_results .post.odd {
    background: #eee;
}

.search_results .post h3 {
    margin: 0;
}

/* ===================================== Navigation ================================ */

#navigation { 
  padding: 0;
  margin: 0;
  top: 168px;
  left: 20px;
  list-style-type: none;
  position: absolute;
  width: 782px;
}

#navigation li { 
  float: left; 
  margin: 0; 
  padding: 0; 
}

#navigation li a, #navigation li a:visited {
  float: left;
  color: #e9f3ff;
  display: block;
  padding: 7px 10px 13px 10px;
  _padding: 6px 10px 9px 10px;
  margin-right: 4px;
  height: 21px;
  font-size: 100%;
  margin-top: 4px;
  text-decoration: none;
  font-weight: bold;
  border-top: 3px solid #2d5485;
}

#navigation li a:hover {
  /*color: #000;*/
  background: url(images/nav-bg.gif) left repeat-x;
  font-size: 100%;
  margin-top: 4px;
  border-top: 3px solid #000;
}

#doc #navigation li.active a, #doc #navigation li.active a:hover {
  color: #000;
  background: #e7edf4;
  border-top: 3px solid #000;
}

/* ====================================== Navigation sidebar ================== */

#sidebar-wrapper ul, #sidebar-wrapper ul.level2 {	
  list-style: none;
  margin: 0; 
  padding: 0;
  font-weight: bold;
line-height: 140%;
}

#sidebar-wrapper ul {	
  _width: 175px;
}

#sidebar-wrapper ul.level2 {	
  _width: 170px;
}


#sidebar-wrapper ul li a {
  display: block;
  _width: 100%;
  text-decoration: none;
  text-align: left;
  color: #444; 
  background: #e1e1e1;
  padding: 8px 7px;
  border: 1px solid #2d5485;
  border-left-width: 5px;
  margin: 5px 0;
}

#sidebar-wrapper ul.level2 {
  border-bottom: 1px solid #2d5485;
}

#sidebar-wrapper ul.level2 li a {
  background-color: #fff;
  border: none;
  border-left: 5px solid #2d5485;
  border-right: 1px solid #2d5485;
  margin: 0;
  font-size: 95%;
  color: #666;
  padding-left: 12px;
}

#sidebar-wrapper ul li a.parent {
  margin-bottom: 0;
  border-color: #2d5485;
  border-left-color: #000;
  background: #2d5485;
  color: #fafafa;
}

#sidebar-wrapper ul li a.current, #sidebar-wrapper ul li a.current-cat, #sidebar-wrapper ul li a.active, #sidebar-wrapper ul li a:hover {
  background: #2d5485;
  border-color: #000;
  color: #fafafa;
}

#sidebar-wrapper ul.level2 li a:hover, #sidebar-wrapper ul.level2 li a.current, #sidebar-wrapper ul.level2 li a.current-cat  {
  background-color: #e7edf4;
  color: #000;
}

#sidebar-wrapper h2 {
font-size: 150%;
font-weight: bold;
letter-spacing: -1px;
}

#sidebar-wrapper img {
border: none;
}

#newsletterForm {
padding: 0; margin: 0;
}

.newsletterTextInput {
width: 130px;
}

#sidebar-wrapper #nletter {
background: #fafafa;
border: 2px solid #ccc;
padding: 5px;
}

#sidebar-wrapper #nletter p {
margin: 3px 2px;
}

.newsletterContainer{ width:100%; }

/* ===================================== Wrapper ============================== */

#wrapper a:link { 
  font-weight: bold; 
}

#wrapper a:visited { 
  font-weight: bold; 
}

#content-wrapper h2 { 
  border-bottom: 1px solid #ccc; 
}

/* ========================================= Comments
========================================*/

form#commentform {
  border: 1px solid #ccc;
  background: #fafafa;
  padding: 10px;
}

form#commentform label {
float: left;
width: 4em;
text-align: right;
padding-right: 1ex;
}
