/*#nav li a { behavior: url("styles/iepngfix.htc") }*/

*{
    margin: 0;
    border: 0;
    padding: 0;
}
html{
    font-size: 62.5%;
    font-family: Helvetica;
    background: #242424;
}
body{
    width: 930px;
    margin: auto;
    background: #242424;
    position: relative;
}
h1{
    float:left;
    padding-top: 20px;
    padding-left: 20px;
    height: 50px;
    overflow: hidden;
}
h2{
    text-transform: uppercase;
    font-size: 1.2em;
    color: #FF7805;
}
a{
    color: #ff7905;
}
#header{
    background: url(images/header.jpg) top right no-repeat;
    height: 80px;
    overflow: hidden;
}
#nav{
    list-style: none;
    width: 225px;
    float:right;
    padding-top:40px;
}
#nav li{
    display: inline;
}
#nav li a{
    display: block;
    width: 90px;
    float:left;
    background: url(images/nav.jpg) top left no-repeat;
    height: 0px;
    padding-top:15px;
    overflow: hidden;
}
#nav li#gallery-nav a{
    
}
#nav li#gallery-nav a:hover, .gallery #nav li#gallery-nav a{
    background-position: 0px -15px;    
}
#nav li#info-nav a{
    width: 85px;
    background-position: -90px 0px;
}
#nav li#info-nav a:hover, .info #nav li#info-nav a{
    background-position: -90px -15px;    
}
#nav li#blog-nav a{
    width: 50px;
    background-position: -174px 0px;    
}
#nav li#blog-nav a:hover{
    background-position: -174px -15px;    
}

#content{
    border-top:1px solid #565656;
    background: #000;
    padding: 40px;
    color: #fff;
    clear: both;
    height: 571px;
    _height: 591px;
    overflow: hidden;
}

#subnav{
    float:left;
    list-style: none;
    padding-left: 10px;
    width: 104px;
}
#subnav li{
    height: 20px;
    display: inline;
}
#subnav li a{
    display: block;
    padding: 4px 10px 4px 30px;
    background: url(images/work_icon.jpg) top left no-repeat #242424;
    background-position: 2px 2px;
    text-decoration: none;
    width: 64px;
}
#subnav li ul{
    display: none;
    overflow: hidden;
    margin-left: 20px;
    position: absolute;
    z-index: 300;
    height: 200px;
    width: 84px;
    list-style: none;
}
#subnav li ul li{
    display: inline;
    float: left;
    margin-top: -1px;
}
#subnav li ul a{
    background: #242424;
    opacity: 0.8;
    padding:4px 10px;
    color: #fff;
    width: 84px;
}
#subnav li ul a:hover{
    opacity: 1;
    background: #000;
    color: #ff7905;
}

#picture {
    float: left;
    padding-left: 20px;
}

#results{
    list-style: none;
    width: 120px;
    padding-top: 22px;
    _padding-top: 0px;
    *padding-top: 0px;
    _margin-top:-20px;
    *margin-top:-20px;
    float: left;
    overflow: hidden;
}

#results li{
    padding-top: 0px;
    display: inline;
    height: 68px;
    _height: 65px;
}
#results li a {
    display:block;
}
#results li a:hover img{
    border: 5px solid #ff6600;
    height: 59px;
}


#viewer{
    float:right;
    width: 729px;
    text-align: center;
    padding-top:0px;
    position: relative;
}

#viewer #viewer_nav{
    padding-top: 200px;
    float: left;
    list-style: none;
    position: absolute;
    width: 100%;
    padding-right: 0px;
    left:0px;
}

#viewer #viewer_nav li#left{
    float: left;
}

#viewer #viewer_nav li#right{
    float: right;
}


.caption{
    display: none;
}
#current-caption{
    position: absolute;
    top: 655px;
    _top: 655px;
    left: 160px;
    width: 730px;
    overflow: hidden;
    text-align: center;
    background: #000;
}
#current-caption img{
    float: left;
    overflow: hidden;
}
#current-caption form{
    float:right;
    padding-top: 10px;
}
#current-caption p{
    padding-top:20px;
    width: 610px;
    _margin-top:-60px;
    _padding-right: 25px;
    *margin-top: -60px;
    *padding-right: 25px;
    text-align: center; 
}
img.logo{
    height:60px;
    width: 100px;
}
#Searchresult{
    clear: left;
}

#Pagination-wrapper{
    position: absolute;
    top: 657px;
    _top: 657px;
    left: 40px;
}
#Pagination{
    width: 120px;
    margin-left: -4px;
    width: 106px;
    padding-top: 21px;
    position: relative;
}
#Pagination a{
    color: #fff;
    text-decoration: none;
}
#Pagination .current{
   color: #ff7905;
}
#Pagination span, #Pagination a{
    display: block;
    width: 20px;
    float:left
}
/*hide text with same color as background */
#Pagination span.prev,
#Pagination span.next{
    color: #000;
}
#Pagination .prev, #Pagination .next{
    width: 20px;
    line-height: 1.8;
}
#Pagination .prev{
    margin-top: -21px;
}
#Pagination .next{
    text-align: right;
    position: absolute;
    top: 0px;
    right: 0px;
}
#footer p{
    text-align: center;
    color: #fff;
    padding: 10px;
}

#main-text{
    float: right;
    padding-right: 40px;
    border-left: 1px solid #bfbfbf;
    padding-left: 40px;
    width: 500px;
    height: 800px;
    color: #bfbfbf;
}

#main-text p{
    padding-bottom: 10px;
    line-height: 2;
}