body {
    background-image: url("bg.jpg");
    background-repeat: repeat-x;
    background-position: top;
    background-color: #F9F9F7;
    font-family: "Roboto Condensed", sans-serif;
}

.wrapper{
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    max-width: 980px;
    min-width: 680px;
}

header{
    border: 1px solid #000;
    border-radius: 15px 15px 0px 0px;
    padding: 15px;
    background-color: #999;
}

nav {
    border: 1px solid #000;
    border-radius: 0px 0px 15px 15px;
    background: #000;
    text-align: center;
    overflow: hidden;
    
}

nav ul {
    list-style: none;
    margin: 12px auto;
    height: 100%;
    display: inline-block;
    padding: 0px;
}

nav ul li {
    display: inline-block;
}

nav a {
    text-decoration: none;
    font-weight: bold;
    font-size: 1.5em;
    color: #999;
    padding: 2em;
    transition-duration: 0.3s;
}

nav a:hover {
    text-shadow: 0px 0px 20px #fff;
}

main, article {
    border: 1px solid #000;
    border-radius: 15px;
    margin-top: 20px;
    background-color: #EEE;
    overflow: auto;
}

article {
    padding: 15px;
    text-indent: 50px;
    text-align: justify;
}

main canvas {
    display: block;
    margin: auto;
    clear: both;
    border: 1px #000 solid;
    background: #DFD;
}

main table {
    width: 100%;
    height: 100%;
    margin: 5px 0px;
    padding: 0px 5px;
}

main table thead tr th{
    height: 40px;
    background: #999;
    color: #fff;
    width: 20%;
}

main table thead tr th.empty {
    width: 40px;
    background: none;
}

main table tbody tr{
    height: 50px;
}

main table tbody tr td {
    border: 1px solid #000;
    text-indent: 0px;
    text-align: center;
    width: auto;
    position: relative;
    background: #f9f9f7;
}

.topleft {
    border-top-left-radius: 5px;
}

.topright {
    border-top-right-radius: 5px;
}

.bottomleft {
    border-bottom-left-radius: 5px;
}

.bottomright {
    border-bottom-right-radius: 5px;
}

main table tbody tr td.side {
    text-align: right;
    font-size: 0.8em;
    border: none;
    width: 40px;
    background: #999;
    color: #fff;
}

main table tbody tr td.wyklad {
    background: #DDF;
}

main table tbody tr td.cwiczenia {
    background: #DFD;
}

main table tbody tr td div.title {
    position: absolute;
    font-size: 0.8em;
    top: 5px;
    left: 5px;
}

main table tbody tr td div.przedmiot {
    font-weight: bold;
}

main table tbody tr td div.sala {
    position: absolute;
    font-size: 0.8em;
    bottom: 5px;
    left: 5px;
}

main form {
    width: 100%;
    display: inline-block;
    text-align: center;
}

form section {
    margin: 10px 0px;
}

label, div.plecy {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

label.radio {
    display: inline-block;
    font-weight: normal;
}

input[type=text], input[type=email], textarea, select {
    width: 75%;
    padding: 2px;
    border: solid 1px #000;
    border-radius: 5px;
}

textarea {
    height: 120px;
}

input[type=submit] {
    border: solid 1px #000;
    background: #f9f9f7;
    width: 150px;
    border-radius: 5px;
}

footer {
    text-align: right;
    font-size: 0.8em;
}