@import url("shadows/shadows.css");
@import url("forums.css"); /* fixme: not always needed */
@import url("syntax/syntax.css");

html, body, #my-top {
  margin: 0; padding: 0;
}

body {
  font: 1em "Trebuchet MS",Tahoma,Verdana,sans-serif;
  background: #cccdd8;/* url("../img/tiled-logo.png"); */
  color: #000;
}

/* body-scroll.css */
html, body, #my-top {
  margin: 0; padding: 0;
  width: 100%;
  height: 100%;
}
html, body { overflow: hidden; }
#my-top { overflow: auto; position: relative;
/*  background: url("../img/weird.png") no-repeat 0 0; */
}

.GalImgPreview {
  padding: 3px;
}

.GalImgPreview:hover {
  padding: 1px;
  border: 2px solid #b9d;
  -moz-border-left-colors: #000 #b9d;
  -moz-border-top-colors: #000 #b9d;
  -moz-border-right-colors: #000 #b9d;
  -moz-border-bottom-colors: #000 #b9d;
  -moz-border-radius: 3px;
  background-color: #ff3;
}

.GalImgOverlay {
  display: none;
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: #220;
  z-index: 10000;
  opacity: 0;
  filter: alpha(opacity=0);
}

.GalImgDisplay {
  display: none;
  position: absolute;
  background-color: #fff;
  z-index: 10010;
  padding: 5px;
  border: 2px solid #000;
  -moz-border-left-colors: #000 #777;
  -moz-border-top-colors: #000 #777;
  -moz-border-right-colors: #000 #777;
  -moz-border-bottom-colors: #000 #777;
  margin-top: -7px; margin-left: -7px;
}

.GalImgDisplay img.final {
  position: absolute;
  top: 5px; left: 5px;
}

img { border: none; }

p, dl, dt { margin: 1em 0; line-height: 1.3em; }
h1, h2, h3, h4, h5, h6 { margin: .5em 0; }
h1 { font-size: 160%; }
h2 { font-size: 140%; }
h3 { font-size: 120%; }
h4 { font-size: 110%; }
h5 { font-size: 100%; font-weight: bold; }

a:link, a:visited { color: #52f; }
a:hover { color: #f25; }

.shadow { position: absolute; font-size: 1px; line-height: 1px; }
table.nospacing { border-collapse: collapse; border-spacing: 0; }

.label { font-weight: bold; text-align: right; }

table.form .label { text-align: right; vertical-align: top; padding-top: 3px; }

table.form input { border: 1px solid #000; padding: 2px 5px; }
table.form textarea { border: 1px solid #000; padding: 2px 5px; }

table tr.sep td { padding: 4px; }

table.list-table { border-collapse: collapse; }
table.list-table td { padding: 2px 20px; }
table.list-table thead td { border-bottom: 2px solid #000; font-weight: bold; padding-top: 5px; padding-bottom: 5px; font-size: 120%; }

.width-cont {
  width: 75%;
  margin: 0 auto;
  position: relative;
}

.page-error {
  width: 80%; margin: 3em auto;
}

.error tt { color: red; padding: 0 2px; }
.error h1 { color: red; border-bottom: 1px solid red; }
.validation-error { font: 90% tahoma,verdana,sans-serif; color: red; }

.small-note {
  padding: 3em 2em;
}
.your-msg {
  width: 90%; margin: 2em auto;
  padding: 1em;
  border: 1px solid #888;
  background-color: #eee;
}

.bottom-links {
  border-top: 1px solid #aaa;
  padding: .5em .5em 0 .5em;
}

.notrequired { color: blue; font-family: monospace; }

.blink-link {
  position: absolute;
  background-color: #ff0;
  opacity: 0.5; filter: alpha(opacity=50);
  border: 1px dashed #000;
  padding: 2px 4px;
  margin: -3px 0 0 -5px;
}

.messages {
  border: 1px solid #999;
  background-color: #eef;
  margin: 0 1em 1em 1em;
  padding: 1em;
}

.messages .success { color: green; }
.messages .error { color: red; }

.web20 { position: absolute; cursor: pointer; }

.dimnote { color: #888; font-size: 90%; }

#right-facility {
  position: absolute;
  right: 20px;
  top: 0px;
  left: 87.5%;
  overflow: visible;
}

/* syntax */

pre.DynarchLIB-Syntax {
  font-size: 90%; max-width: 100%; overflow: auto;
  padding: 2px 10px; border-left: 2px solid #8c6; background-color: #f8f8f8;
  /* border-top: 1px dotted #98a; border-bottom: 1px dotted #98a; */
}

/* header */

.header {
  height: 110px;
  position: relative;
  margin: 1em 0 2em 0;
  background: #ddf; /* url("img/header.png") no-repeat 100% 50%; */
  zoom: 1;
}

.header .logo {
  position: absolute;
  left: 20px; top: 10px;
  width: 250px;
  height: 100px;
  background: url("../img/dynarchlib.png") no-repeat 0 50%;
  opacity: 0.6;
}

.header a:hover .logo {
  opacity: 1;
}

.header .links {
  position: absolute;
  right: 1px; top: 1px;
  border: 1px solid #bac;
  background-color: #fff;
  border-width: 0 0 2px 2px;
  -moz-border-left-colors: #fff #bac;
  -moz-border-bottom-colors: #fff #bac;
  padding: 5px 10px;
  text-align: right;
  color: #cbd;
  font-family: tahoma,verdana,sans-serif;
  font-size: 90%;
}

.header .link {}

.header .links .current, .header .acct-links .current { font-weight: bold; color: #62d; }

.header .acct-links {
  position: absolute;
  right: 1px; bottom: 1px;
  border: 1px solid #bac;
  background-color: #cce;
  border-width: 2px 0 0 2px;
  -moz-border-left-colors: #fff #bac;
  -moz-border-top-colors: #fff #bac;
  padding: 5px 10px;
  text-align: center;
  color: #768;
  font-family: tahoma,verdana,sans-serif;
  font-size: 90%;
}

.header a, .header a:link, .header a:visited { text-decoration: none; color: #000; }
.header a:hover { text-decoration: underline; color: red; }

/* footer */

.footer-table {
  position: relative;
  top: -15px;
  float: right;
  margin-right: 3em;
  margin-bottom: 2em;
}

.footer {
  font: 90% tahoma,verdana,sans-serif;
  position: relative;
  text-align: center;
  padding: 1em 3em 0.5em 3em;
  background-color: #fff;
}

/* content */

.content .page-title {
  font-family: Georgia,serif; font-weight: normal; letter-spacing: -1px;
  font-size: 200%;
/*  border-bottom: 1px dashed #e6772e; color: #e6772e; */
    border-bottom: 1px dashed #000; color: #000;
}

.content h2.page-title {
  font-size: 120%;
  border-bottom: none;
}

/*
.content .page-title:first-letter {
  font-size: 300%;
  margin-left: -55px;
}
*/

.content {
  position: relative;
  margin: 0 0 1.5em 0;
}

.content .body {
  background-color: #fff;
  -moz-border-radius: 4px;
  padding: 1px 1em;
}

.two-columns { border-spacing: 0; border-collapse: collapse; width: 100%; }
.two-columns td { vertical-align: top; }
.two-columns .left { width: 70%; padding-right: 0.5em; border-right: 1px dashed #aac; }
.two-columns .right { width: 30%; padding-left: 0.5em; }

.two-cols-equal-widths .left { width: 50%; }
.two-cols-equal-widths .right { width: 50%; }
.two-cols-more-space .left { padding-right: 1.5em; }
.two-cols-more-space .right { padding-left: 1.5em; }

dl.faq dt { margin: 1em 0; font: 110% Tahoma,Verdana,sans-serif; }
dl.faq dd { margin: 0 40px; }

/* blog */

.blog-post { background-color: #f8f8f8; }
.blog-post { margin: 2em 1em 1em 1em; border: 1px solid #aaa; -moz-border-radius: 6px; }
.blog-post .blog-subject a, .blog-post .blog-controls a { text-decoration: none; }
.blog-post .blog-subject {
  font-size: 100%;
  display: inline;
  position: relative;
  left: 15px;
  top: -0.6em;
  background-color: #fff;
  padding: 2px 5px;
  border: 1px solid #aaa;
  -moz-border-radius: 3px;
}
.blog-post .blog-content { margin: 1em 1em 2em 1em; }
.blog-post .blog-content p { margin: 0.5em 0; }
.blog-post .blog-controls {
  clear: both;
  font-size: 100%;
  display: inline;
  float: right;
  position: relative;
  left: -15px;
  top: -0.8em;
  background-color: #fff;
  padding: 2px 5px;
  border: 1px solid #aaa;
  -moz-border-radius: 3px;
}

/* news */

.news-post { font-size: 90%; font-family: arial,helvetica,sans-serif; }
.news-post { margin: 2em 1em 1em 1em; }
.news-post .news-subject a, .news-post .news-controls a { text-decoration: none; }
.news-post .news-subject {
  font-size: 100%;
  border-bottom: 1px dotted #000;
}
.news-post .news-content { margin: 0.5em 0 0.5em 1em; }
.news-post .news-content p { margin: 0.5em 0; }
.news-post .news-controls {
  border-top: 1px dotted #000;
  text-align: right;
}



.changelog { color: #777; font-style: italic; }
span.discount { color: #555; font-size: 90%; padding-left: 2em; }
strike.discount { color: #f33; }
strike.discount span { color: #555; }

.info-icon {
  background: url("img/messagebox_info.png") no-repeat 20px 50%;
}

.important {
  position: relative;
  background-color: #ffa;
  padding: 5px;
  margin: 2em auto;
  padding: 1em 3em 0.5em 5em;
}

.important p { margin-top: 0.5em; }
.important p:first-child { margin: 0; }

.float-right {
  float: right;
  margin: 0 0 1em 1em;
}

table.compare { border-spacing: 0; border-collapse: 0; }
table.compare td { padding: 2px 5px; vertical-align: top; }
table.compare tr.row td { border-top: 1px solid #000; }
table.compare thead td { font-weight: bold; border-bottom: 2px solid #000; text-align: center; }
table.compare ul, table.compare ol { margin: 0; }

.code-title { text-align: right; padding: 2px 5px; border-bottom: 1px solid #a9a9a9; background-color: #ffa; }
.code-title .title { font-weight: bold; }

.code-listing { border: 1px solid #a9a9a9; }
.code-listing pre { margin: 0; padding-top: 10px; padding-bottom: 10px; }

.monospace { font-family: monospace; }

/* print */

@media print {
  html, body, #my-top { overflow: visible; height: auto; width: auto; }
  #my-top { position: static; }
  .width-cont { width: auto; margin: auto; }
  #right-facility { display: none; }
  #left-facility { display: none; }
  .header { display: none; }
  .footer { display: none; }
/*/* WTF ?!
  html, body { overflow: auto; height: auto; width: auto; }
  #my-top { overflow: visible; height: auto; width: auto; position: static; }
*/
}
