* {
    margin: 0;
    padding: 0;
    border: none;
}

body {
    background: #222;
    color: #ddd;
    font-family: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
    line-height: 1em;
    cursor: default;
}

a {
    color: #aaa;
    text-decoration: none;
}

#sitecontainer {
    margin: auto;
    margin-top: 1em;
    margin-bottom: 1em;
}

#sidebarcontainer {
    width: 245px;
}
#sidebar {
    width: 223px;
}

#thumbnav {
    width: 223px;
    height: 223px;
    line-height: 0;
}
#thumbnav a {
    float: left;
    display: block;
}
#thumbnav img {
    border: 2px solid #fff;
    margin: 5px;
    width: 60px;
    height: 60px;
}
#thumbnav .current {
    border: 5px solid #fff;
    margin: 2px;
}
#thumbnav img:hover {
    border: 5px solid #fff;
    margin: 2px;
}

#thumbnav-paging {
    padding-top: 1em;
}
#thumbnav-paging div {
    margin: auto;
    margin-top: 10px;
    width: 60%;
    text-align: center;
    font-size: 10px;
}
#thumbnav-paging .back {
    float: left;
    margin-left: 1em;
    opacity: 0.30;
    filter: alpha(opacity=30);
}
#thumbnav-paging .next {
    float: right;
    margin-right: 1em;
    opacity: 0.30;
    filter: alpha(opacity=30);
}
#thumbnav-paging .back:hover, #thumbnav-paging .next:hover {
    opacity: 1;
    filter: alpha(opacity=100);
}

#albumnav {
    width: 200px;
    margin: auto;
    padding-bottom: 2em;
}
#albumnav input {
    border: none;
    background: url('arrow-right-tiny.png') no-repeat center #3a3a3a;
    color: #ddd;
    font-weight: bold;
    float: right;
    width: 1.2em;
    height: 1.5em;
    cursor: pointer;
}
#albumnav .select {
    width: 175px;
    overflow: hidden;
}
#albumnav .select select {
    background: #3a3a3a;
    border: none;
    width: 200px;
    height: 1.5em;
    color: #ddd;
    cursor: pointer;
}

#info {
    clear: both;
    border-top: 1px solid #3a3a3a;
    margin-top: 3em;
    padding-top: 0.5em;
    text-align: center;
}
#info a {
    margin: 0 0.8em;
    opacity: 0.30;
    filter: alpha(opacity=30);
}
#info a:hover {
    opacity: 1;
    filter: alpha(opacity=100);
}

#infobox {
    width: 500px;
    margin: auto;
    margin-top: 6em;
    margin-bottom: 6em;
    padding: 4em 2em;
    border-left: 1px solid #aaa;
    border-right: 1px solid #aaa;
    font-size: 0.8em;
    position: relative;
}
#infobox .home {
    position: absolute;
    top: 1em;
    right: 2em;
}
#infobox .hr {
    margin: 3em 40%;
    border-top: 1px dotted #555;
}
#infobox p {
    margin-bottom: 1.5em;
    text-align: justify;
    line-height: 1.5em;
}
#infobox p a {
    text-decoration: underline;
}
#infobox p a:hover {
    color: #fff;
}

#imagecontainer {
    height: 845px;
    width: 845px;
    text-align: center;
}
#imagecontainer .imageborder {
    border: 20px solid #fff;
}
#imagecontainer img {
    max-width: 800px;
    max-height: 800px;
    width: expression((this.width > 800 && (this.height * 800 / this.width) < 800) ? 800: true);
    height: expression((this.height > 800 && (this.width * 800 / this.height) < 800) ? 800: true);
}
#imagecontainer .navi {
    position: absolute;
    height: 100%;
    top: 0;
    width: 40%;
    background: transparent;
    display: block;
}
#imagecontainer .back       {left: 0; background: url('arrow-left-big.png') no-repeat -10000px -10000px transparent;}
#imagecontainer .back:hover {background: url('arrow-left-big.png') no-repeat center center transparent;}
#imagecontainer .next       {right: 0; background: url('arrow-right-big.png') no-repeat 10000px 10000px transparent;}
#imagecontainer .next:hover {background: url('arrow-right-big.png') no-repeat center center transparent;}
