body {
  margin-top: 10px;
  background: #e5e7e2;
  font: 10px "Verdana", sans-serif;
  line-height: 1.2;
  text-align: center;
}

a {
  color: #2b7dab;
}
a:hover {
  color: #d7802c;
  text-decoration: underline;
}
label {
  font-weight: bold;
}

.topad {
  margin: 0 auto;
  width: 728px;
}
#adverticum_bannercontainer {
  display: block;
}
#adverticum_bannercontainer table {
  margin: 0 auto;
}

#container {
  text-align: center;
  background: #ffffff url(../images/cbg.gif) repeat-x top left;
}
 
/*{ header */
#header {
  position: relative;
  margin: 0 auto;
  text-align: left;
  width: 768px;
  padding: 12px 0 0 0;
  height: 276px;
  background: url(../images/hbg.jpg) no-repeat top left;
}
#logo {
  position: absolute;
  top: 10px;
  left: 37px;
  width: 200px;
  text-indent: -100em;
  background: url(../images/logo_beta.gif) no-repeat;
  height: 76px;
  overflow: hidden;
}
#user_links {
  padding: 12px 114px 0 16px;
  float: right;
}
#dateinfo {
  margin: 0px 104px 0 234px;
  padding-top: 12px;
  font-size: 10px;
}
#buttons {
  position: absolute;
  bottom: -21px;
  left: 265px;
  width: 317px;
  height: 117px;
  background: url(../images/circles.gif) no-repeat bottom left;
}
.registered #buttons {
  width: 424px;
  height: 117px;
  background: url(../images/circles_login.gif) no-repeat bottom left;
}
.registered img {
  vertical-align: middle;
}
#login, #javachat, #loginirc, #reglink, #chanreglink, #chansetlink {
  float: left;
}
a#login, a#javachat {
  position: absolute;
  top: 5px;
  left: 20px;
  width: 117px;
  padding-top: 91px;
  overflow: hidden;
  height: 0px !important; 
  height /**/:91px; /* for IE5/Win only */
}
a#login {
  background: url(../images/login.gif) no-repeat 0 0;
}
a#javachat {
  background: url(../images/chat.gif) no-repeat 0 0;
}
a#login:hover, a#javachat:hover {
  background-position: 0 -91px;
}
a#loginirc {
  position: absolute;
  top: 6px;
  left: 122px;
  width: 92px;
  text-indent: -100em;
  background: url(../images/loginirc.gif) no-repeat 0 0;
  height: 82px;
  overflow: hidden;
}
a#loginirc:hover {
  background-position: 0 -82px;
}
a#reglink {
  position: absolute;
  top: 0;
  left: 198px;
  width: 117px;
  text-indent: -100em;
  background: url(../images/reg.gif) no-repeat 0 0;
  height: 96px;
  overflow: hidden;
}
a#reglink:hover {
  background-position: 0 -96px;
}
a#chanreglink {
  position: absolute;
  top: 12px;
  left: 250px;
  width: 102px;
  text-indent: -100em;
  background: url(../images/chanreg.gif) no-repeat 0 0;
  height: 84px;
  overflow: hidden;
}
a#chanreglink:hover {
  background-position: 0 -84px;
}
a#chansetlink {
  position: absolute;
  top: 23px;
  left: 334px;
  width: 95px;
  text-indent: -100em;
  background: url(../images/chanset.gif) no-repeat 0 0;
  height: 73px;
  overflow: hidden;
}
a#chansetlink:hover {
  background-position: 0 -73px;
}
/*}*/

#main {
  margin: 0 auto;
  text-align: left;
  width: 768px;
  background: #e5e7e2 url(../images/shadow.gif) repeat-y 0 0;
}
#content {
  float: left;
  padding-left: 36px;
  width: 550px;
  min-height: 640px;
  background: url(../images/shadowleft.gif) no-repeat top left;
}
/* for Internet Explorer */
/*\*/
* html #content {
  height: 640px;
}
/**/
#content:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
#mainpage_ad {
  float: left;
  margin: 48px 0 8px 0;
}
#mainpage_ad h6 {
  display: none;
  text-align: center;
  text-transform: lowercase;
  font-weight: normal;
  font-size: 0.9em;
  color: #888;
}
#mainpage_ad.shown {
  margin: 48px 18px 18px 18px;
}
#mainpage_ad.shown h6 {
  display: block;
}
#greetings {
  background: url(../images/greetbg.gif) no-repeat bottom left;
  line-height: 1.6;
}
#greetings br {
  clear: none;
}
#greetings span {
  margin-right: 0.2em;
  font-size: 2em;
  font-weight: bold;
  text-transform: uppercase;
  font-family: "Arial", sans-serif;
  color: #e48021;
  line-height: 1.25;
}
#greetings_text {
  padding: 18px 12px 48px 12px;
  background: url(../images/greetbgc.gif) no-repeat bottom right;
}
#greetings_text:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
* html #greetings_text { height: 1%; }


/*{ subpages*/
.mainbox {
  margin-top: 24px;
  background-color: #ffffff;
}
.mainbox h1 {
  margin: 0.5em 0 1em 0.75em;
  font-size: 1.5em;
}
.mainbox h2 {
  margin: 0.5em 0 1em 0;
  font-size: 1.25em;
}
.mainbox .inside {
  margin: 1em;
}
.subpage h1 {
  margin-top: 24px;
  text-indent: -100em;
  overflow: hidden;
}
#main .subpage .mainbox h1 {
  position: static;
  margin: 0.5em 0 1em 0;
  height: auto;
  text-indent: 0;
  overflow: visible;
  background: none;
}
.subpage .mainbox h2, .subpage .mainbox h3 {
  margin: 0.5em 0 1em 0;
  font-size: 1.3em;
  font-weight: bold;
}
.subpage .mainbox h3 {
  font-size: 1.1em;
}
#impresszum h1 {
  margin-left: 8px;
  background: url(../images/imp_title.gif) no-repeat top left;
  height: 33px;
}
#impresszum ul {
  padding: 0;
  list-style-type: none;
}
#media h1 {
  margin-left: 8px;
  background: url(../images/med_title.gif) no-repeat top left;
  height: 33px;
}
#confirm h1 {
  margin-left: 20px;
  background: url(../images/conf_title.gif) no-repeat top left;
  height: 40px;
}
#profile h1 {
  position: relative;
  top: 5px;
  margin-left: 12px;
  background: url(../images/prof_title.gif) no-repeat top left;
  height: 38px;
}
#chanset h1 {
  position: relative;
  top: 4px;
  margin-left: 16px;
  background: url(../images/chanset_title.gif) no-repeat top left;
  height: 27px;
}
#chanset p {
  margin-bottom: 1em;
}
#chanreg h1 {
  position: relative;
  top: 6px;
  margin-left: 16px;
  background: url(../images/chanreg_title.gif) no-repeat top left;
  height: 32px;
}
.subpage .mainbox {
  margin-top: 0;
}
#bugz h1 {
  position: relative;
  top: 9px;
  margin-left: 12px;
  background: url(../images/bug_title.gif) no-repeat top left;
  height: 45px;
}
#bugz .mainbox label {
  display: block;
  margin-top: 1em;
}
#bugz .mainbox input {
  display: block;
}
#bugz .mainbox textarea {
  display: block;
  width: 450px;
}
#formatting {
  margin: 0.5em 0;
  border: 1px solid #888;
  padding: 0.5em;
  width: 380px;
  background-color: #ffffe0;
}
#formatting p {
  margin: 0.5em 0;
}
#formatting table {
  border-right: 1px solid #444;
  border-bottom: 1px solid #444;
}
#formatting td, #formatting th {
  margin: 0;
  padding: 0.25em;
  border-left: 1px solid #444;
  border-top: 1px solid #444;
}
#formatting th {
  background-color: #eee;
  text-align: left;
}
.contact, .reply {
  padding-bottom: 0.5em;
  border-bottom: 1px solid #ccc;
  margin-bottom: 1em;
}
.reply {
  border-color: #ddd;
}
.contact .contact_id, .contact .date, .contact .email, .contact .user, .contact .subject,
.reply .date, .reply .author {
  font-weight: bold;
}
.contact .date, .reply .date {
  float: right;
}
.contact p.message, .reply p.message {
  padding: 0;
}
/*}*/

/*{ messageboard */
#messageboard {
  float: left;
  position: relative;
  width: 295px;
}
#messageboard h1 {
  margin-left: 12px;
  margin-bottom: -18px;
  text-indent: -100em;
  background: url(../images/mb_title.gif) no-repeat top left;
  height: 63px;
  overflow: hidden;
}
.message {
  z-index: 10;
  margin-bottom: 0.75em;
  padding-left: 30px;
}
.message .avatar {
  float: left;
  width: 25px;
  height: 25px;
  margin-top: -8px;
  margin-left: -30px;
}
.message .bigavatar {
  padding: 8px;
  width: 100px;
  height: 100px;
  background: url(../images/avatar_holder.gif) no-repeat top left;
  position: absolute;
  left: 30px;
  z-index: 100;
}
.message div p {
  margin: -2px 10px;
}
.message.odd  div { background-color: #dbe0c1; }
.message.even div { background-color: #ffffff; }
.message .poster {
  float: left;
  padding-right: 14px;
  font-weight: bold;
}
.message.odd  .poster { background: url(../images/mb_odda.gif) no-repeat top right; }
.message.even .poster { background: url(../images/mb_evena.gif) no-repeat top right; }
.message .admin {
  margin-left: 0.5em;
  float: right;
}
.message .posted_at {
  text-align: right;
}
.message .poster, .message .posted_at, .message .admin {
  padding-top: 4px;
  padding-bottom: 4px;
}
/*}*/

/*{ events */
#events {
  float: right;
  position: relative;
  width: 240px;
}
#events h1 {
  margin: 1px 0 -7px 20px;
  text-indent: -100em;
  background: url(../images/ev_title.gif) no-repeat top left;
  height: 49px;
  overflow: hidden;
}
#events .event_day {
  margin-bottom: 18px;
}
#events .event_day.sticky {
  font-weight: bold;
}
#events .event_day h2 {
  float: left;
  margin: 0;
  padding: 0;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  font-family: "Trebuchet MS", "Helvetica", "Arial", sans-serif;
  font-size: 16pt;
  font-weight: bold;
  color: #5ca7c6;
}
#events .event_day h2 b {
  display: block;
  letter-spacing: -0.05em;
  font-size: 28pt;
  color: #b6c946;
}
#events .event_day.sticky h2, #events .event_day.sticky h2 b {
  color: #e48021;
}
#events .event_day div.event_list {
  width: 190px;
  margin-left: 50px;
  background-color: #ffffff;
}
* html #events .event_day div.event_list {
  width: 187px;
}
#events .event_list div.event {
  margin: -2px 10px 12px 10px;
}
#events .event_list div.event:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
* html #events .event_list div.event { height: 1%; }
.event .admin {
  float: right;
}
#events .event_list .start, #events .event_list .place {
  color: #5ca7c6;
}
#events .event_list .attandance {
  font-weight: normal;
}
#events .event_list a.check_link, #events .event_list a.uncheck_link, #events .event_list a.attandance {
  display: block;
  text-indent: -100em;
  background: no-repeat top left;
  height: 19px;
  overflow: hidden;
}
#events .event_list a.check_link, #events .event_list a.check_linkX {
  float: left;
  background: url(../images/ottleszek.gif) no-repeat 0 0;
  width: 71px;
}
#events .event_list a.uncheck_link, #events .event_list a.uncheck_linkX {
  float: left;
  background: url(../images/megsemleszek.gif) no-repeat 0 0;
  width: 99px;
}
#events .event_list a.check_linkX, #events .event_list a.uncheck_linkX {
  background-image: none;
}
#events .event_list a.attandance {
  float: left;
  background: url(../images/kikmeg.gif) no-repeat 0 0;
  width: 61px;
}
#events .event_list a.check_link:hover,
#events .event_list a.uncheck_link:hover,
#events .event_list a.attandance:hover { background-position: 0 -19px; }
#addeventbox form input {
  float: left;
}
#addeventbox form label {
  float: left;
  margin: 3px 4px 0 0;
  width: 68px;
  text-align: left;
  font-size: 0.9em;
  color: #666666;
}
br { clear: both; }
/*}*/

/*{ avatar_lib */
#avatar_lib ul {
  list-style-type: none;
  margin: 5px;
  padding: 5px;
}
#avatar_lib ul li {
  float: left;
  padding: 5px;
}
#avatar_lib img {
  width: 50px;
  height: 50px;
}
#avatar_lib br {
  clear: both;
}
/*}*/

/*{ sidebar */
#sidebar {
  margin-left: 608px;
  padding-top: 12px;
  padding-right: 36px;
  width: 124px;
  background: url(../images/shadowright.gif) no-repeat top right;
}
* html #sidebar { padding-right: 33px; }
#sidebar .ad {
  width: 124px;
  overflow: auto;
}
#sidebar img {
  margin-bottom: 12px;
}
.adatpark {
  padding: 1px;
}
#tips {
  background-color: #fff;
  margin: 0 3px 12px 1px;
}
#tips h1 {
  margin: 0 6px 6px 6px;
  text-indent: -100em;
  background: url(../images/tips.gif) no-repeat 0 0;
  height: 20px;
  overflow: hidden;
}
#tips:hover h1 {
  background-position: 0 -20px;
}
#tips p {
  margin: 0 6px 6px 6px;
}
/*}*/

#footer {
  clear: both;
  margin-left: 36px;
  width: 522px;
  height: 32px;
  padding: 42px 160px 6px 8px;
  background: #fff url(../images/fbg.gif) no-repeat top center;
  text-align: center;
  line-height: 34px;
}
#footer a img {
  float: left;
}

.notice {
  padding: 0.25em;
  border: 1px solid #000000;
  margin: 0.5em 0;
  background-color: #ffffe0;
  font-weight: bold;
}
.alert {
  height: 18px;
  padding-left: 20px;
  background: url(../images/popup/alert.gif) no-repeat 0 50%;
}
.warning {
  font-weight: bold;
  color: #a00000;
}
.event_list .alert {
  margin-top: 4px;
}
