* {
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

p, ul {
    margin-bottom: 1em;
}

p.beforelist {
    margin-bottom: 0;
}

ul {
    margin-left: 1em;
}

a {
    outline-style: none;
}

a, .link {
    color: #e90024;
}

a:visited {
    color: #aa0024;
}

a img {
    border: 0;
}

body {
    background-color: #434343;
    background-image: url("img/rough_bg.png");
    background-repeat: repeat;
    font-family: "Myriad Pro", Myriad, Frutiger, "Humanist 777 BT", Univers, Verdana, Helvetica, Arial, sans;
    font-size: 10pt;
}

h1, h2, h3, h4, h5, h6, h7 {
    font-family: "News Gothic", "News Gothic BT", "FF Meta", "MetaPro-Book", "Zine Sans Dis-Medium Roman", "Roadgeek 2005 Mittelschrift", "FF DIN", "DIN", "LacunaRegular", "Myriad Pro", "Myriad", "Calibri", "Helvetica", "Arial", sans-serif, sans;
}

h3 {
    font-size: 12pt;
}

#wrapper {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: relative;
    display: table;
}

#container {
    display: table-cell;
    vertical-align: middle;
}

#container #innercontainer {
    width: 600px;
    min-height: 200px;
    background-color: white;
    margin: 0 auto;
    margin-top: 40px;
    margin-bottom: 40px;
    border-radius: 17px;
    -webkit-border-radius: 17px;
    -moz-border-radius: 17px;
    box-shadow: 0px 5px 60px black;
    -webkit-box-shadow: 0px 5px 60px black;
    -moz-box-shadow: 0px 5px 60px black;
}

#container #innercontainer, #contentcontainer {
    padding: 7px;
}

#contentcontainer {
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    position: relative;
    min-height: 200px;
    border: 1px solid #999999;
    padding: 0;
}

#header {
    background-color: #eeeeee;
    height: 62px;
    -webkit-border-top-left-radius: 17px;
    -webkit-border-top-right-radius: 17px;
    -webkit-border-bottom-right-radius: 0px;
    -webkit-border-bottom-left-radius: 0px;
    -moz-border-radius-topleft: 17px;
    -moz-border-radius-topright: 17px;
    -moz-border-radius-bottomright: 0px;
    -moz-border-radius-bottomleft: 0px;
    border-top-left-radius: 17px;
    border-top-right-radius: 17px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
    position: relative;
    background-position: left bottom;
    background-image: url("img/header_bottom.png");
    background-repeat: repeat-x;
    padding-bottom: 8px;
}

#logo, #nav {
    position: absolute;
}

#logo {
    background-image: url("img/logo.png");
    background-repeat: no-repeat;
    width: 148px;
    height: 49px;
    left: 8px;
    top: 6px;
    text-indent: -500em;
}

#nav ul li a {
    background-repeat: no-repeat;
    display: block;
    outline: none;
    height: 28px;
    text-indent: -500em;
}

#nav ul li a:hover, #nav ul li a:active, #nav ul li a.current {
    background-position: 0 -30px;
}

#nav ul li {
    float: left;
    margin: 0 0 0 40px;
}

#nav ul li#nav_classes a {
    width: 75px;
    background-image: url("img/nav_classes.png");
}

#nav ul li#nav_classes {
}

#nav ul li#nav_blog a {
    width: 43px;
    background-image: url("img/nav_blog.png");
}

#nav ul li#nav_blog {
}

#nav ul li#nav_contact a {
    width: 77px;
    background-image: url("img/nav_contact.png");
}

#nav ul li#nav_contact {
}

#nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: 0;
}

#nav {
    bottom: 8px;
    right: 12px;
}

#content {
    margin: 10px 30px 30px 30px;
    position: relative;
    top: 10px;
    line-height: 1.5em;
}

#classes-header {
    background-image: url("img/classes-header.png");
    background-repeat: no-repeat;
    text-indent: -500em;
    width: 495px;
    height: 113px;
    position: relative;
    top: 3px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

ul.imagelist li a img {
    border: 2pt solid white;
}

ul.imagelist li a {
    border: 2pt solid #999999;
    display: table-cell;
}

ul.imagelist li a:hover {
    border-color: #aa0024;
}

ul.imagelist li {
    display: table-cell;
    vertical-align: middle;
    padding: 0.5em;
}

ul.imagelist {
    display: table;
    margin-left: 0;
    margin-bottom: 1em;
    width: 100%;
    background-color: #eeeeee;
}

