/* MD */
@import url("style_nav.css");

#modern-mega-table { border-collapse: collapse; }
#modern-mega-table td { vertical-align: top; }
#modern-mega-table .mmt-1 { background: url(images/corner_left.png) top no-repeat; }
#modern-mega-table .mmt-2 { width: 100%; background: url(images/corner_top.png) top repeat-x; }
#modern-mega-table .mmt-3 { background: url(images/corner_right.png) top no-repeat; }

#md-bg-trix-1 { margin: 0 auto; background: url(images/bg_trix_1.jpg) top left no-repeat; }
#md-bg-trix-2 { background: url(images/bg_trix_2.png) top right no-repeat; }

.md-flag-en, .md-flag-lt, .md-flag-ru, .md-flag-lv {
  display: block;
  float: right;
  width: 24px;
  height: 18px;
}
.md-flag-en { margin: 13px 1px 0 0; background-image: url(images/gan-lang-kn1.png); }
.md-flag-lt { margin: 13px 1px 0 0; background-image: url(images/gan-lang-kn2.png); }
.md-flag-ru { margin: 13px 1px 0 0; background-image: url(images/gan-lang-kn3.png); }
.md-flag-lv { margin: 13px 10px 0 0; background-image: url(images/gan-lang-kn4.png); }

.md-start-nav { width: 700px; margin: 5px auto 0; padding: 0; }
.md-start-nav a { display: block; float: left; padding-right: 10px; font-size: 8pt; color: #6598b8; white-space: nowrap; }
.md-start-nav a:hover { color: #ff6000; text-decoration: none; }
.md-start-nav br { display: none; }

table.gray { border: 1px solid #bbb; padding: 1px; text-align: center; border-collapse: separate; }
table.gray td { padding: 4px 8px; border: 1px solid #eee; background-color: #fff; }

/* Defaults */

* {
  margin: 0;
  padding: 0;
  }

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
  padding: 10px 0;
  }

h1, h2, h3, h4, h5, h6 {
  font-family: Verdana;
  }

hr {
  color: #333;
  border: 1px solid #121212;
  }

pre {
  height: auto; 
  overflow-x:scroll;
  }

fieldset {
  margin: 0;
  padding: 0; 
  border: 0;
  }

dd {
  padding-left: 15px;
  }


p {
  font-size: 9pt;
  }

a {
  color: #6598b8;
  text-decoration: none;
  }

a:hover {
  color: #222;
  text-decoration: underline;
  }

a img {
  border: none;  
  }

blockquote {
  background: #070707;
  border: 1px solid #060606;
  padding: 5px 15px;
  margin: 10px 10px 5px 15px;
  font-style: italic;
  color: #fff;
  }

code {
  color: #3366cc;
  font-style: italic;
  }

strong {
  font-size: 110%;
  }

body {
  text-align: center;
  margin: 0;
  padding: 0 0 15px 0;
  font-family: trebuchet ms, arial, helvetica, sans-serif;
  background: #dcedfd url(images/bgbody.jpg) top center no-repeat;
}


/* Header and wrapper */

#wrapper {
  margin: 0 auto;
  width: 95%;
  min-width: 1000px;
  text-align: left;
  padding: 0;
}

#header {
  padding: 0;
  margin: 0;
  height: 100px;
}

#header #topright {
  text-align: right;
  float: right;
  margin: 5px 0 0 0;
}
#header #topright img {
  margin: 17px 17px 0 0;
}

#header #logo {
  float: left;
  width: 350px;
  padding: 25px 0 0 15px;
  margin: 0;
  background: url(images/gandras.png) 3px 7px no-repeat;
}
#header h1 {
  padding: 0;
  margin: 0;
  }
#header h1 a {
  color: #ff6000;
  font-size: 17pt;
  text-decoration: none;
}
#header h1 a:hover {
  color: #1A8FD8;
  text-decoration: none;
}
#header span {
  padding: 0 0 0 5px;
  color: #111;
  font-size: 11pt;
  }


/* Menu */

#catnav {
  margin: 11px 0 0 0;
  padding: 0;
  clear: both;
  height: 44px;
}

#toprss {
  float: right;
  margin: 10px 15px 0 0;
  display: inline;
  width: 65px;
  line-height: 41px;
  }


/* Top Content */

#main {
  margin: 5px 0 0 5px;
  clear: both;
  padding-bottom: 5px;
}
#contentwrapper {
  float: left;
  width: 75%;
  margin: 0 0 0 15px;
  padding: 0;
}
#contentwrapper2 {
  float: left;
  width: 76%;
  margin: 0;
  padding: 0;
}
#contentwrapper .pageTitle, #contentwrapper2 .pageTitle {
  margin: 15px 0 10px 0;
  font-size: 14pt;
  letter-spacing: -1px;
  color: #fff;
  font-weight: normal;
  background: url(images/bg-trans.gif) repeat;
  padding: 5px;
  }

#contentwrapper .pageTitle a, #contentwrapper2 .pageTitle a { color: #ff6000; text-decoration: none; }
#contentwrapper .pageTitle a:hover, #contentwrapper2 .pageTitle a:hover { color: #1A8FD8; text-decoration: none; }

.topPost {
  margin: 0;
  padding: 0;
  font-size: 10pt;
  }
.topPost h2.topTitle a {
  font-size: 15pt;
  font-weight: normal;
  color: #ff6000;
  letter-spacing: -2px;
  }
.topPost h2.topTitle a:hover {
  text-decoration: none;
  color: #aaa;
  }
.topPost p.topMeta {
  padding: 0;
  margin: -10px 0 0 0;
  font-size: 10pt;
  color: #888;  
  }
.topPost p.topMeta a {
  text-decoration: underline;
  color: #1A8FD8;
  }
.topPost p.topMeta a:hover {
  color: #ff6000;
  }
.topPost div.topContent {
  font-size: 10pt;
  color: #444;
  margin: 8px 0;
  }
.topPost div.topContent p, .topPost div.topContent span {
  display: block;
  padding-top: 5px;
  margin: 0;
  font-size: 10pt;
  color: #444;
}
.topPost div.topContent span.line {
  padding-top: 8px !important;
  background: transparent url(images/gan_dotted.gif) left top no-repeat;
}
.topPost div.topContent a {
  text-decoration: underline;
  color: #1A8FD8;
  }
.topPost div.topContent a:hover {
  text-decoration: underline;
  color: #ff6000;
  }

.topPost div.topContent ul, .topPost div.topContent ol {
  padding: 0 0 0 20px;
  }
.topPost div.topContent ul li, .topPost div.topContent ol li {
  color: #667;
}
.topPost span.topComments, .topPost span.topMore, .topPost span.topTags {
  font-size: 9pt;
  font-style: italic;
  background: url(images/bg-trans.gif) repeat;
  padding: 8px 10px;
  margin-right: 5px;
  line-height: 27pt;
  color: #fff;
}
.topPost span.linkpages {
  font-size: 9pt;
  font-style: italic;
  color: #fff;
  margin-bottom: 10px; display:block;
  }
.topPost span.linkpages a:hover {
  color: #ddd;
  }
.topPost span.topComments:hover, .topPost span.topMore:hover, .topPost span.topTags:hover {
  background: #bbb;
  }
.topPost span.topComments a {
  color: #fff;
  background: url(images/comments.gif) left no-repeat;
  padding-left: 20px;
  line-height: 27pt;
  vertical-align: middle;
  }
.topPost span.topMore a {
  color: #fff;
  background: url(images/more.gif) left no-repeat;
  padding-left: 20px;
  line-height: 27pt;
  vertical-align: middle;
  }
.topPost span.topTags em {
  background: url(images/tags.gif) left no-repeat;
  padding-left: 20px;
  line-height: 27pt;
  vertical-align: middle;
  color: #0a0a0a;
  }
.topPost span.topTags a {
  color: #fff;
  line-height: 27pt;
  vertical-align: middle;
  }
.topPost span.topComments a:hover, .topPost span.topMore a:hover, .topPost span.topTags a:hover {
  color: #fff;
  text-decoration: underline;
  }

#nextprevious {
  margin: 10px 0 5px 0;
  }
#nextprevious a {
  color: #6598b8;
  text-transform: lowercase;
  text-decoration: underline;
  }
#nextprevious a:hover {
  color: #ff6000;
  }


/* Comments */

#comment {
  margin-bottom: 10px;
  margin-top: 15px;
  background: #040404;
  width: 530px; /* fixes bug in IE7 where putting focus on the text makes it disappear behind the background. yeah, weird. they call it a dimensional bug. */
  border: 1px solid #090909;
  padding: 0px 15px 10px 15px;
  color: #fff;
  }
#comment h3 {
  font-size: 10pt;
  font-weight: normal;
  color: #fff;
  margin: 15px 0;
  padding: 0;
  }
#comment p a {
  color: #6598b8;
  }
#comment p a:hover {
  color: #fff;
  }
#comment p {
  padding:0;
  margin: 7px 0;
  }
ul.commentlist, ul.trackback  {
  list-style-type: none;
  margin: 10px 0;
  font-size: 9pt;
  }
.commentlist li, .trackback li {
  margin: 10px 0 15px 0;
  padding: 10px;
  background: #080808;
  border: 1px solid #040404;
  list-style-type: none;
  }
.commentlist li.alt {
  background: #000;
  border: 1px solid #020202;
  border: none;
  margin-top:10px;
  }
.commentlist li.cleared {
  background: transparent;
  border: none;
  }
.commentlist a:hover {
  color: #eee;
  }
.commentlist a.gravatar {
  float: left;
  margin: 0 15px 10px 0;
  width: 60px;
  }
.commentlist .commentbody {
  margin: 0;
  padding: 0;
  }
.commentlist .commentbody p a {
  text-decoration: underline;
  }
.commentlist cite {
  font-size: 10pt;
  font-style: normal;
  color: #ddd;
  }
.commentlist small.commentmetadata a {
  color: #666;
  }
.commentlist p {
  color: #dedede;
  }
#respond {
  clear: both;
  margin-top: 15px;
  }
textarea#comment {
  width: 450px;
  background: #fff;
  color: #111;
  padding: 10px;
  }
#comment #submit {
  margin: 0;
  }
#extrastuff a {color:#222; font-size:0.8em;}
#extrastuff a:hover {color:#6598b8; text-decoration:none;}
#extrastuff #rssleft {float:left; width:250px;}
#extrastuff #trackright {float:right; width:180px; text-align:right;}


/* Welcome section */

#main #welcome {
  margin: 0 0 20px 0;
  padding: 0 0 5px 0;
  background: url(images/bg-trans.gif) repeat;
  }
#main #welcome h2 {
  font-size: 14pt;
  font-weight: normal;

  color: #fff;
  letter-spacing: -2px;
  margin: 0 10px;
  padding: 10px 0 3px 0;
  }
#main #welcome p {
  font-size: 9pt;
  color: #eee;  
  margin: 0 10px;
  padding: 6px 0;
  }
#main #welcome a {
  text-decoration: underline;
  color: #ff9933;
  }
#main #welcome a:hover {
  color: #6598b8;
  }
#main #welcome form {
  margin: -5px 0 0 0;
  background: transparent; /* required for IE */
  }
#main #welcome #feedbox {
  border: 1px solid #ccc;
  padding: 2px 1px;
  width: 180px;
  }
.submitbutton {
  margin: -5px 0 0 5px;
  background: #010101;
  color: #fff;
  font-size: 8pt;
  padding: 3px 6px;
  vertical-align: middle;
  border: 1px solid #111;
  }
.submitbutton:hover {
  cursor: pointer;
  background: #050505;
  }


/* Sidebars */
#navigation { border-top: 1px solid #ccc; border-right: 1px solid #ccc; border-left: 1px solid #ccc; }
#sidebars {
  margin: 10px 0 0;
  float: left;
  color: #eee;
}
#sidebars .sidebarbox { padding: 0 3px; }
#sidebars .sidebarbox li { background: url(images/bg-trans.gif) repeat; }
#sidebar_full {
  padding: 0;
  margin: 0;
}
#sidebar_left {
  float: left;
  width: 200px;
  }
#sidebar_right {
  float: right;
  width: 180px;
  }
#sidebars h2 {
  margin: 0;
  padding: 0 0 8px 0;
  font-weight: normal;
  font-size: 11pt;
  color: #fff;
  letter-spacing: -1px;
  }
#sidebars table { width: 160px; }
#sidebars ul {
  margin: 0;
  padding: 0;
}
#sidebars #sb_lf_li {
  margin: 3px 0 15px;
  padding: 0;
  border: 0 !important;
}
#sidebars li {
  list-style: none;
  font-size: 10pt;
}
#sidebars li ul { padding: 0; }
#sidebars ul li {
  border-top: 1px solid #fff;
  border-bottom: 1px solid #ccc;
}
#sidebars ul.children li {
  margin: 0;
  padding-left: 9px;
  line-height: 16px; /* Required for cross-browser consistency; cross-browser defaults vary. */
  border-bottom: none;
}
#sidebars ul.children li a {
	color: #1A8FD8;
	font-weight: normal;
}
#sidebars ul.children li a:hover { color: #ff6000; }
#sidebars a {
  display: block;
  padding: 7px 0 9px 9px;
  font-weight: bold;
  color: #1570A9;
}
#sidebars a:hover {
  color: #ff6000;
  background: #fff url(images/gan_child_bg.gif) top center no-repeat;
  text-decoration: none;
}
#sidebars-chat {
  margin: 5px 0 0 0;
  float: left;
  color: #eee;
}

/* Before footer */
#morefoot {
  background: #DCEDFD url(images/bggrad.jpg) top left repeat-x;
  border: 1px solid #999;
  padding: 15px;
  color: #dfdfdf;
  margin: 0 9px 5px;
  }
#morefoot p {
  margin: 5px 0;
  padding: 5px 0;
  }
#morefoot ul {
  list-style-type: none;
  margin-top: 5px;
  }
#morefoot ul li, #morefoot p {
  font-size: 9pt;
  }
#morefoot a {
  text-decoration: underline;
  color: #6598b8;
  }
#morefoot a:hover {
  text-decoration: underline;
  color: #ff6000;
  }
#morefoot h3 {
  font-size: 12pt;
  font-weight: normal;
  color: #667;
  letter-spacing: -1px;
  border-bottom: 1px dotted #444;
  margin: 0;
  padding: 0 0 2px 0;
}
#morefoot #searchbox {
  padding: 1px;
  width: 180px;
  }
#morefoot .col1 { float: left; width: 340px; }
#morefoot .col2 { margin: 0 25px; }
#morefoot .col2, #morefoot .col3 {
  float: right;
  width: 260px;
  }
#morefoot li {
  padding-left: 0;
  margin-bottom: 5px;
  /* background: url(images/more.gif) left 2px no-repeat; */
  line-height: 17px; /* Required for cross-browser consistency; cross-browser defaults vary. */
  }


/* footer*/
#footer {
  clear: both;
  background: #888;
  border: 1px solid #444;
  margin: 0 9px;
  padding: 15px 15px 10px 15px;
  }
#footer p {
  font-size: 9pt;
  color: #bbb;
  padding: 0;
  }
#footer a {
  color: #bbb;
  text-decoration: underline;
  }
#footer a:hover {
  color: #fff;
  }
#footerleft {
  float: left;
  width: 400px;
  }
#footerright {
  float: right;
  width: 200px;
  font-size: 9pt;
  text-align: right;
  }



/* Misc */

.highlight {
  color: #222;
  font-weight: bold;
  }

.cleared {
  margin: 0;
  padding: 0;
  clear: both;
  }

.alignleft { float: left; margin: 5px 10px 5px 0; }
.alignright { float: right; margin: 5px 0 5px 10px; }
.aligncenter, div.aligncenter { margin: 10px auto; text-align: center; display: block; }

.size-full { padding: 2px; border: 1px dotted #ccc; }

img.alignleft { float: left; margin: 5px 10px 5px 0; }
img.alignright { float: right; margin: 5px 0 5px 10px; }
img.aligncenter { margin: 10px auto; text-align: center; display: block; }

.wp-caption {
  border: 1px solid #ddd;
  text-align: center;
  background-color: #f3f3f3;
  padding-top: 4px;

  /* optional rounded corners for browsers that support it */
  -moz-border-radius: 3px;
  -khtml-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}

.wp-caption img {
  margin: 0;
  padding: 0;
  border: none;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  padding: 0 4px 5px;
  margin: 0;
  color: #111;
}



