/** typography **/

BODY {
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    color: #414141;
}

A {
    text-decoration: none;
    color: #414141;
}

A:hover {
    color: #717171;
}

#headerContainer H1 {
    word-spacing: -5px;
    font-weight: normal;
    font-size: 32px;
    line-height: 40px;
}

#headerContainer H1 A, #headerContainer H1 A:hover {
    color:#000;
}

#mainNav LI A {
    color: #000;
    line-height: 21px;
    font-size: 16px;
}

#mainNav LI A.active {
    color: #414141;
}

#mainNav LI A:hover, #mainNav LI A.active:hover {
    color: #717171;
}

#mainPicColumn h1 {
    font-weight:normal;
}

#footerNav {
    font-size:14px;
}

#footerContainer P {
    font-size:11px;
}


/*** end typography ***/

* {
    margin:0;
    padding:0;
}

a img {
    border:0;
}

html {
    overflow-y:scroll;
}

body {
    margin-left:auto;
    margin-right:auto;
    background-color: #000;
    padding: 0;
}

.clear {
    clear:both;
    margin:0;
    padding:0;
    line-height:0;
    height:0;
}

#mainContainer {
    margin-left:auto;
    margin-right:auto;
    width:100%;
    min-width:1110px;
}

/***** header ****/

#headerContainer {
    padding: 10px 5% 0 9%;
    background-color: #414141;
    min-height: 51px;
}

#headerContainer h1 {
    float: left;
    margin: 0;
    padding: 0;
}

#mainNav {
    list-style: none;
    float: right;
    margin: 20px 0 0 0;
    padding: 0;
}

#mainNav LI {
    float: left;
}

#mainNav LI A {
    display: block;
    padding: 5px 20px;
    margin: 0 2px;
}

#mainNav LI A.active {
    background-color: #000;
}

#mainNav LI A:hover, #mainNav LI A.active:hover {
    background-color: #000;
}

/***** content area *****/

#bodyContainer {
    clear:both;
    background-color: #000;
    margin: 0;
    padding: 0 5%;
    width: 90%;
    min-height: 300px;
    position: relative;
}

#mainPicColumn {
    position: absolute;
    top: 20px;
    right: 8%;
    text-align:center;
    width:500px;
}

.layout1 #mainPicColumn {
    left: 8%; 
    right: auto;
}

.layout2 #mainPicColumn {
    width: 100%;
    position: relative;
    right: 0;
    height: 360px;
}

.layout3 #mainPicColumn {
    width: 100%;
    height: 100%;
    position: relative;
    right: 0;
}

#mainPicColumn H1 {
    text-align: left;
    padding-left: 7%;
}

.layout2 #mainPicColumn H1 {
    padding-left: 5%;
    padding-top: 25px;
}

.layout3 #mainPicColumn H1, .layout3 #layoutPick {
    display: none;
}

#layoutPick {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 11;
}

#layoutPick A {
    display: block;
    float: left;
    width: 40px;
    height: 32px;
    margin-right: 7px;
    background-image: url(../images/gallery-layouts.png);
    background-repeat: no-repeat;
    outline: none;
}

#layoutPick A.glayout0 {
    background-position: 0 0;
}

.layout1 #layoutPick A.glayout0, .layout2 #layoutPick A.glayout0 {
    background-position: -40px 0;
}

.layout1 #layoutPick A.glayout1 {
    background-position: -80px 0;
}

#layoutPick A.glayout1 {
    background-position: -120px 0;
}

.layout2 #layoutPick A.glayout2 {
    background-position: -160px 0;
}

#layoutPick A.glayout2 {
    background-position: -200px 0;
}

.picWrapper {
    position: absolute;
    top: 75px;
    left: 0;
    text-align: center;
    display: none;
    z-index: 10;
    width: 500px;
}

.layout2 .picWrapper {
    width: 100%;
    top: 10px;
}

.layout3 .picWrapper {
    width: 100%;
    top: 0;
}

.picWrapper.active {
    display: block;
    z-index: 9;
}

.layout2 .picWrapper IMG {
    max-height: 340px;
}

.layout3 .picWrapper IMG {
    width: 100%;
    height: expression(eval(window.scrollHeight - 500));
}

.picWrapper IMG.loading {
    padding-top: 120px;
}




/*** gallery thumbs ***/

#galleryThumbs {
    padding: 10px 5px;
    margin-right: 550px;
    min-height: 600px;
}

.layout1 #galleryThumbs {
    margin-right: 0;
    margin-left: 550px;
}

.layout2 #galleryThumbs {
    margin-right: auto;
    margin-left: auto;
    min-height: 150px;
    width: 102%;
}

#galleryThumbs A {
    display: block;
    padding: 10px 6px;
    width:120px;
    height:120px;
    float:left;
    outline: none;
    text-align: center;
}

.layout1 #galleryThumbs A {
    float: right;
}

#galleryThumbs A:hover {
    background: url('../images/gray.gif') no-repeat 1px 5px;
}

#galleryThumbs A IMG {
    width: 100px;
    height: 100px;
    padding-top: 8px;
}

/**** footer ***/

#footerContainer {
    padding:5px 0 5px 0;
    text-align:center;
}

#footerNav {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5px;
    width: 655px;
    text-align: center;
}

#footerNav UL {
    list-style: none;
}
#footerNav UL LI {
    float: left;
}

#footerNav UL LI A {
    padding: 0 8px 0 7px;
}

#footerContainer P {
    clear: both;
    padding-top: 4px;
}
