/***********************************
  Golden Sun Site 2.0
  Site CSS
  Layout and graphics: Jacek Walter
  CSS and HTML: Bartłomiej Kozielski
************************************/

html, body {
  height: 100%;
}

body {
  width: 1000px;
  margin: 0;
  padding: 0;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  color: #FFFFFF;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  background: #002736;
}

a:link {
  color: #FFFFFF;
  text-decoration: none;
}

a:visited {
  color: #FFFFFF;
  text-decoration: none;
}

a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

a:active {
  color: #FFFFFF;
  text-decoration: none;
}

#outer {
  min-height: 100%;
  padding-left: 192px;
  padding-right: 192px;
  overflow: hidden;
}

* html #outer{height:100%;} /* IE6 and under treat height as min-height anyway*/

/* Top start */
#top {
  background: url(../img/top.png);
  width: 825px;
  height: 301px;
  margin-right: -192px;
  margin-bottom: 40px;
  float: right;
  position: relative;
}

  #loginpanel {
    background: url(../img/loginpanel.png);
    width: 243px;
    height: 139px;
    position: absolute;
    bottom: -36px; left: 0;
    font-size: 10px;
  }
  
    #loadMessage {
      margin-left: -2em;
      padding-top: 3.3em;
      text-align: center;
      font-size: 15px;
    }

    #loginpanel input#login {
      background: url(../img/login.png);
      color: #FFFFFF;
      width: 100px; /* padding glitch(108) */
      height: 20px; /* padding glitch(27) */
      padding-top: 7px;
      padding-left: 8px;
      margin-left: 15px;
      margin-top: 38px;
      margin-bottom: 8px;
      border: 0;
      font-size: 10px;
      font-family: Verdana, Arial, Helvetica, sans-serif;
    }

    #loginpanel input#haslo {
      background: url(../img/password.png);
      color: #FFFFFF;
      width: 100px; /* padding glitch(108) */
      height: 20px; /* padding glitch(27) */
      padding-top: 7px;
      padding-left: 8px;
      margin-left: 15px;
      border: 0;
      font-size: 10px;
      font-family: Verdana, Arial, Helvetica, sans-serif;
    }

    #loginpanel #logmein {
      background: url(../img/loginbutton.png) no-repeat scroll top left;
      width: 59px;
      height: 59px;
      border: 0;
      position: absolute;
      top: 39px; right: 44px;
    }

    #loginpanel #register {
      position: absolute;
      top: 96px; right: 44px;
    }
    
  #top ul {
    width: 410px;
    font-size: 10px;
    list-style-type: none;
    position: absolute;
    bottom: -48px; right: 171px;
    float: left;
  }
  
    #top ul li {
      display: table-cell;
      width: 70px;
      vertical-align: bottom;
      text-align: center;
    }
    
      #top ul li img {
        display: block;
        width: 59px;
        margin-left: auto;
        margin-right: auto;
        border: 0;
      }
    
  #top #searchbox {
    background: url(../img/searchbox.png) no-repeat;
    width: 210px;
    height: 60px;
    position: absolute;
    bottom: 23px; right: 0;
  }
  
    #top #searchbox #query {
      background: transparent;
      width: 109px;
      margin-top: 13px;
      margin-left: 30px;
      border: 0;
      color: #FFFFFF;
      font-family: Verdana, Arial, Helvetica, sans-serif;
      font-size: 11px;
    }
    
    #top #searchbox a {
      margin-left: 14px;
      font-weight: bold;
    }
/* Top end */

/* Left menu start */
#left {
  background: url(../img/leftbar.png) repeat-y;
  color: #0099CC;
  padding-left: 35px;
  padding-top: 23px;
  margin-left: -192px;
  margin-top: -341px;
  margin-right: -30px;
  padding-bottom: 20010px;
  margin-bottom: -20000px;
  width: 192px;
  float: left;
}

  #left ul {
    color: #FFFFFF;
    list-style-type: none;
    line-height: 17.06px;
    padding: 0;
    margin-top: 0;
    margin-bottom: 1.7em;
  }
/* Left menu end */

/* Right menu start */
#right {
  background: url(../img/rightbar.png) repeat-y;
  color: #FFFFFF;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 19px;
  margin-right: -192px;
  margin-top: -84px;
  padding-bottom: 20000px;
  margin-bottom: -20000px;
  width: 152px;
  font-weight: bold;
  float: right;
}

  #right ul {
    list-style-type: none;
    font-weight: normal;
    padding: 0;
  }

  #sonda {
    font-weight: normal;
    margin-bottom: 1.5em;
  }

  #shoutbox {
    margin-top: 0.6em;
    margin-bottom: 1.5em;
  }

  #statystyki {
    margin-top: 1em;
    font-size: 10px;
    line-height: 18.07px;
    text-align: center;
    margin-bottom: 2em;
  }
/* Right menu end */

/* Main content start */
#main {
  width: 590px;
  padding-top: 10px;
  margin-left: 5px;
}
  #main h3 {
    color: #0099CC;
    margin-bottom: 0;
  }
  
  #main h4 {
    font-style: italic;
    margin-top: 0;
  }
  
  #main div.comments {
    background: #005371;
    padding: 3px;
    border: 1px solid #666666;
  }
/* Main content end */

/* Footer start */
#footer {
  background: url(../img/footer.png);
  width: 950px;
  height: 30px;
  padding-right: 50px;
  padding-bottom: 2px;
  font-size: 10px;
  font-weight: bold;
  text-align: right;
  clear: both;
}
  #footer #credits {
    margin-top: 5px;
    margin-left: 30px;
    text-align: left;
    font-size: 9px;
    float: left;
  }
  
  #footer #copyright {
    margin-top: 12px;
    float: right;
  }
/* Footer end */

/* Articles start */
#article h4 {
  margin-bottom: -1em;
}

  #article img {
    float: left;
  }
  
  #article img[align="absmiddle"], #article img[align|="absmiddle"] {
    float: none;
    border: 0 !important;
    padding: 0 !important;
    margin-top: -4px !important;
  }
  
  #article div.textimg img, #article div.textimgboss img {
    margin-top: 1em;
    margin-right: 0.5em;
    padding: 3px;
    border: 1px solid #444;
  }
  
  #article div.textimgboss div {
    min-height: 166px;
  }
  
  #article table {
    margin: 0;
    padding: 0;
    width: 100%;
  }
    #article table td {
      border: 1px solid #555555;
    }
    
    #article table td table td {
      line-height: 2em;
      border: 0;
    }
    
      #article table td img {
        clear: both;
        margin-top: 3px;
        margin-right: 3px;
      }
  
  #article table#przedmioty td {
    padding: 3px;
  }
  
  #article table.sidebyside td {
    border: 0;
    text-align: center;
  }
/* Articles end */