html,body {
    margin: 0;
    padding: 0;
    font-family: verdana, arial, helvetica, sans-serif;
    background: white;
}
body {
    font-size: 62.5%;
}
h1,h2, h3 {
    margin: 0.5ex 0;
    padding: 0;
}
h1 {
    font-size: 150%;
    float: right;
    margin: 0;
    padding: 30px 50px 0 0;
    text-shadow: 1px 1px 2px white;
}
h2 {
    font-size: 120%;
    position: absolute; bottom: 0px; right: 0px;
    text-align: right;
    width: 40%;
    height: 1.3em;
    background: #bdbdbd url(images/naukos.png) 0 0 no-repeat ;
    padding: 7px 20px 0 15px;
    margin: 0;
}
h3 {
    font-size: 110%;
    text-shadow: 1px 1px 1px #bbb;
    color: #d51d1d;
}
pre {
    font-size: 123%;
}
a:hover {
    text-decoration: none;
}
p {
    margin: 1ex 0;
}
#all {
    width: 90%;
    min-width: 770px;
    max-width: 1280px;
    margin: 10px auto auto auto;
    position: relative;
}
#topbanner {
    position: relative;
    padding: 0 15px;
    vertical-align: top;
    height: 92px;
    text-align: left;
    background: #0084bf url(images/quiz24.png) no-repeat 0px 0px;
    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
}
#footer {
    font-size: 120%;
    height: 1.4em;
    padding: 0 15px;
    text-align: center;
    background: #999 url(images/cieniowane.png) repeat-x;
    -moz-border-radius: 0 0 5px 5px;
    -webkit-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
}
#footbanners {
    list-style: none;
    text-align: center;
    padding: 2px;
}
#footbanners li {
    display: inline;
}
#footbanners img {
    border: 0;
    vertical-align: top;
    padding: 0 2px;
    height: 15px;
}
#content {
    min-height: 300px;
    background: #eee;
    text-align: justify;
    padding: 3em 1.5em 1.5em 1.5em;
    font-size: 120%;
}
#menu {
    font-size: 120%;
    background: #bdbdbd;
    overflow: visible;
    min-height: 2em;
    width: 100%;
    position: absolute;
    top: 92px;
    left: 0;
}
#menu * {
    margin: 0;
    padding: 0;
    background: #bdbdbd;
}
#menu ul {
    list-style: none;
    display: block;
}
#menu ul li {
    float: left;
    position: relative;
    overflow: visible;
}
#menu  a {
    display: block;
    padding: 0.3em 0.7em;
    color: #555;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
}
#menu a[href^="http:"] {
    font-style: italic;
}
#menu > ul > li:first-child {
    margin-left: 1em;
}
#menu > ul > li > ul {
    position: absolute;
    top: 100%;
    left: -999em;
}
#menu > ul > li:hover > ul {
    left: 0;
}
#menu > ul > li > ul li ul {
    position: absolute;
    top: 0;
    left: -999em;
}
#menu > ul > li > ul li:hover > ul {
    left: 100%;
}
#menu li.selected > a {
    color: black;
    text-shadow: 1px 1px 2px white;
}
#menu a:hover, #menu a:active, #menu a:focus {
    color: blue !important;
}
/*********/
.multicol {
    float: left;
    width: 50%;
    margin: 0;
    text-align: center;
    overflow: hidden;
}
.multicol+p {
    clear: both;
}
.ranking {
    text-align: center;
    margin: 5px auto 10px auto;
    color: blue;
}
.ranking caption {
    color: #d51d1d;
    background: none;
    font-weight: bold;
    font-style: italic;
    text-align: center;
    margin: 5px auto 0px auto;
    text-shadow: 1px 1px 5px #aaa;
}
.ranking th {
    font-weight: bold;
    text-align: center;
    color: black;
    background-color: #aaa;
    padding: 5px;
}
.ranking th:first-child, .ranking td:first-child {
    -moz-border-radius: 5px 0 0 5px;
    -webkit-border-radius: 5px 0 0 5px;
    border-radius: 5px 0 0 5px;
}
.ranking th:last-child, .ranking td:last-child {
    -moz-border-radius: 0 5px 5px 0;
    -webkit-border-radius: 0 5px 5px 0;
    border-radius: 0 5px 5px 0;
}
.ranking th a {
    color: black;
}
.ranking tr td {
    background-color: #ddd;
    padding: 2px;
}
.ranking tr:nth-child(odd) td {
    background-color: #ccc;
}
.ranking tr td:first-child {
    text-align: right;
    font-weight: bold;
    color: black;
    padding: 2px 5px;
}
.ranking tr:nth-child(2) td:nth-child(2),
.ranking tr:nth-child(3) td:nth-child(2),
.ranking tr:nth-child(4) td:nth-child(2) {
    font-weight: bold;
    color: green;
}
.ranking_premier tr td {
    font-weight: normal;
    color: blue;
    text-align: left;
}
.ranking_premier tr td:nth-child(4), .ranking_premier tr td:nth-child(6) em {
    color: red;
    font-weight: bold;
}
.ranking_premier tr td:nth-child(2) {
    color: blue !important;
    font-weight: normal !important;
}
.ranking_premier tr td strong {
    color: green;
}
.email {
    vertical-align: top;
    width: 75px;
    height: 14px;
}
.newslist div {
    xborder: 1px dotted #555;
    padding: 1ex;
    margin: 2ex auto 1ex auto;
    background: transparent url('images/newsbg.png') repeat-x 0 100%;
    -moz-border-radius: 0 0 5px 5px;
    -webkit-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
}
.newslist div h3 {
    margin: 0;
    font-style: italic;
    padding-bottom: 0.5ex;
    position: relative;
}
.newslist div h3 a {
    xborder-bottom: 1px solid #ccc;
    background: transparent url('images/newstitlebg.png') no-repeat 100% 100%;
    padding: 0 3ex 0.2ex 0.5ex;
    color: #474bff;
}
.newslist div h3 em {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.8em;
    color: #555;
    text-shadow: none;
}

.quoteslist h3 {
    background: #ddd;
    border-bottom: 1px solid #555;
    padding: 0.3em 0.5em;
    margin: 1em 0 0 0;
    font-size: 100%;
    color: black;
}
.quoteslist h3 span {
    float: right;
}
.quoteslist em {
    color: blue;
    font-weight: bold;
    font-style: normal;
}
.quoteslist > div {
    font-family: 'luicida console', monospace;
    font-size: 110%;
    margin: 1em;
    text-align: left;
}
.quoteslist > div > p {
    font-family: 'luicida console', monospace;
    margin: 0;
    text-align: left;
}
.quoteslist > div > p {
   padding-left: 5em;
   text-indent: -5em;
}
.tabs {
    position: relative;
}
.tabs>div.tabscontent {
    position: relative;
    margin: 1ex 0;
    overflow: hidden;
}
.tabs>div.tabscontent>div {
    text-align: center;
    position: relative;
    background: #eee;
    width: 100%;
}
.tabs>div.tabscontent>div+div {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}
.tabs div:target {
    z-index: 3;
}
.tabs div table {
    min-width: 50%;
    margin: 0 auto;
}
.gallery {
    overflow: auto;
    margin: 1em 3em;
}
.gallery p {
    float: left;
    margin: 1.1em;
}
.gallery em {
    display: block;
    text-align: center;
}
.gallery img {
    border: 0;
}
.gallery p img {
   -moz-transform: rotate(-3deg);
   -webkit-transform: rotate(-3deg);
   transform: rotate(-3deg);
   -moz-box-shadow: 2px 2px 3px #969696;
   -webkit-box-shadow: 2px 2px 3px #969696;
   box-shadow: 2px 2px 3px #969696;
   filter: progid:DXImageTransform.Microsoft.Shadow(color='#969696', Direction=145, Strength=3);
   border: 1px solid #bbb;
}
.gallery p:nth-child(3n) img {
   -moz-transform: rotate(3deg);
   -webkit-transform: rotate(3deg);
   transform: rotate(3deg);
}
.gallery p:nth-child(5n) img {
   -moz-transform: none;
   -webkit-transform: none;
   transform: none;
   position: relative;
   top: -5px;
}
.gallery p:nth-child(7n) img {
   -moz-transform: rotate(5deg);
   -webkit-transform: rotate(5deg);
   transform: rotate(5deg);
}
.gallery a {
    text-decoration: none;
}
.gallery_detail {
    text-align: center !important;
}
.gallery_detail p {
    margin: 0 3em;
    text-align: left;
}
.gallery_detail img {
    margin: 1em auto;
   -moz-box-shadow: 2px 2px 3px #969696;
   -webkit-box-shadow: 2px 2px 3px #969696;
   box-shadow: 2px 2px 3px #969696;
   border: 1px solid #ccc;
}
.add_question form p {
    margin-left: 20%;
    line-height: 2em;
}
.add_question form p label {
    float: left;
    width: 8em;
    clear: both;
}
.add_question form p input+input, .add_question form p br+input {
    margin: 1em 0 0 12em;
}
.add_question form p input#f_pytanie, .add_question form p input#f_odpowiedz{
    min-width: 30em;
}
#javaapplet {
    width: 100%;
    height: 500px;
}
img.midtext {
    vertical-align: middle;
}

