html, body {
    min-height: 100%;
}

body {
    font: normal 12px/1.5em Arial, Helvetica, sans-serif;
    background: #fff;
    color: #666;
    padding: 0;
    margin: 0;
}

div#container {
    background: #c4c4c4;
    overflow: hidden;
    margin: 2em auto;
    width: 850px;
}

/* --- header --- */
div#header-container {
    position: fixed;
    overflow: hidden;
    z-index: 100;
    width: 850px;
    top: 3.8em;    
}

div#header {
    background: transparent url(../images/alpha.png);
    overflow: hidden;
    z-index: 100;
    width: 850px;
    top: 4em;
}

a#logo {
    font: normal 2em/1em 'Josefin Sans Std Light', Helvetica, Arial, sans-serif;
    margin: 0.4em 0 0.2em 0.5em;
    text-transform: uppercase;
    text-decoration: none;
    color: #4a4a4a;
    display: block;
    float: left;
    padding: 0;
}

a#logo img {
    height: 39px;
    width: 39px;
}

ul#nav-top, ul#nav-sub {
    list-style-type: none;
    margin: 0.9em 1em 0 0;
    float: right;
    padding: 0;
}

ul#nav-top li, ul#nav-sub li {
    border-left: solid 1px #6a6a6a;
    text-transform: lowercase;
    padding: 0 0 0 14px;
    margin: 0 0 0 14px;
    float: left;
}

ul#nav-top li.first, ul#nav-sub li.first {
    border-left: none;
}

ul#nav-top li a, ul#nav-sub li a {
    font-family: 'Josefin Sans Std Light', Arial, sans-serif;
    text-decoration: none;
    line-height: 16px;
    font-size: 18px;
    color: #808080;
}

ul#nav-top li a:hover, ul#nav-sub li a:hover {
    text-decoration: none;
    color: #404040;
    
}

ul#nav-top li.selected a, ul#nav-sub li.selected a {
    color: #222;
}

ul#nav-sub {
    padding: 0.5em 0;
    width: 850px;
    margin: 0;
}

ul#nav-sub li {
    background: transparent url(../images/alpha-c.png) repeat-y;
    position: relative;
    margin: 0 0 0 8px;
    padding: 0;
    border: none;
    width: 307px;
}

ul#nav-sub li.selected {
}

ul#nav-sub li.first {
    width: 220px;
    margin: 0;
}

ul#nav-sub li.selected a {
    font-weight: normal;
    color: #808080;
}

ul#nav-sub li.selected a.selected {
    color: #222;
}

ul#nav-sub li.first a.info {
    display: none;
}

ul#nav-sub li a {
    padding: 0.5em 0.3em 0.5em 0.8em;
    text-transform: none;
    font-size: 14px;
    display: block;
    margin: 0;
}

ul#nav-sub li.first a {
    padding-left: 1em;
}

ul#nav-sub li a.info {
    position: absolute;
    z-index: 110;
    right: 0.5em;
    top: 0;
}

/* --- columns --- */

div#content {
    position: relative;
    overflow: hidden;
    width: 100%;
}

div#main-content {
    margin: 8em 10em 0 16em;
    padding-bottom: 2em;
    min-height: 500px;
}

div#main-content.frontpage {
    padding-bottom: 0;
    margin: 0;
}

div#description {
    background: transparent url(../images/alpha-d.png);
    font-weight: bold;
    position: absolute;
    padding: 1em 1.2em 0.5em 2.4em;
    font-size: 1.1em;
    color: #333;
    bottom: 40px;
    width: 240px;
    z-index: 100;
}

div#description h4 {
    margin-bottom: 1em;
}
div#sidebar {
}

#sidebar ul {
    padding: 0;
}

#sidebar ul li {
    margin: 0 0 0.25em 1.5em;
}

div#content div#sidebar div.box {
    margin-bottom: 2em;
    padding: 0 10px;
}

div#sidebar div.bg {
    background: #12252c;
}

div#sidebar div.bg img {
    margin: 0 0 0.5em 0;
}

div#sidebar div.bg p {
    margin: 0;
}

div#footer {
    overflow: hidden;
    background: #fff;
    text-align: right;
    font-size: 0.9em;
    color: #fff;
}

div#footer p {
    background: #c4c4c4;
    padding: 0.5em 1em;
    float: right;
    margin: 0;
}

div.contact {
    background: transparent;
    margin: 12em 0 0 6em;
    text-align: center;
    padding: 4em 2em;
    width: 250px;
}

div.contact div {
    margin: 0 auto;
}

/* --- works list--- */

div#main-content.frontpage {
    min-height: 700px;
}

div#main-content.gallery {
    position: relative;
    overflow: hidden;
    margin: 10.5em auto 1.5em auto;
    min-height: 560px;
}

div#main-content div#_info {
    margin: 0 auto;
    display: none;
    width: 600px;
}


div#main-image, div.galleria_container {
    width: 100%;
    padding: 0;
}

.frontpage div#main-image img, .frontpage div.galleria_container img {
    max-height: none;
    display: block;
    height: 700px;
    width: 100%;
    margin: 0;
}

div#main-image img, div.galleria_container img {
    max-height: 560px;
    margin: 0 auto;
    display: block;
}

div#main-content.gallery ul {
    margin: 2em auto 1em auto;
    overflow: hidden;
    width: 700px;
}

div#main-content.gallery ul li {
    margin: 1.5em 1.5em 0 0;
    list-style-type: none;
    position: relative;
    display: block; 
    float: left;
    border: none;
    clear: none;
    padding: 0;
}

div#main-content.gallery ul li img {
    cursor: pointer;
    display: block;
    height: 100px;
    width: auto;
    left: auto;
    top: auto;
    margin: 0;
}

div#main-content.frontpage ul {
    display: none;
}

/* --- common --- */

a {
    text-decoration: none;
    color: #6a6a6a;
}

a:hover {
    text-decoration: underline;
}

a.admin {
    background: #6a6a6a;
    padding: 0.1em 0.2em;
    color: #fff;
}

a img {
    border: none;
}

img.right {
    margin: 0.2em 0.2em 0.2em 1em;
    border: solid 1px #c4cdd2;
}

img.left {
    border: solid 1px #c4cdd2;
    margin: 1em 0.2em 0.2em 0.2;
}

.left {
    float: left;
}

.right {
    float: right;
}

#main-content img {
}

p, h1, h2, h3, h4, ul {
    margin: 0 0 1em 0;
}

h1 {
    margin: 0.55em 0 1em 0;
    font-family: 'Josefin Sans Std Light', Arial, sans-serif;
    font-weight: normal;
    font-size: 2em;
}

h2 {
    font-weight: normal;
    font-size: 1.8em;
}

h3 {
    font-family: 'Josefin Sans Std Light', Arial, sans-serif;
    font-weight: normal;
    font-size: 1.5em;
}

h1, h2, h3, strong {
    color: #333;
}

div#sidebar h2 {
    font-size: 1.2em;
}
