#main_image_wrapper {
    position: relative;
    border: 1px solid #CCC;
    background: #FFF url(../rsrc/loading_image.gif) no-repeat 50% 50%;
}

#imgloader {
    text-align: center;
    vertical-align: middle;
}

#thumbbox {
    text-align: left;
    width: 500px;
    position: relative;
    padding: 5px 20px;
}

#thumb_container {
    position: relative;
    overflow: hidden;
    width: 500px;
    height: 105px;
    margin: 0 0 0 0;
}

#thumbs img {
    margin-right: 4px;
    vertical-align: top;
}

#thumbs a img {
    border: 1px solid #CCC;
}

#thumbs a:hover img {
    border: 1px solid #000;
}

#thumbs a:hover {
    color: red;
}

#photocount {
    color: #FFF;
    font-size: 10px;
    float: left;
    width: 48%;
    text-align: left;
    left: 0;
}

#back {
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
    z-index: 1001;
}

#more {
    position: absolute;
    top: 0;
    right: 0;
    float: right;
    z-index: 1001;
}

.morelink:hover {
    font-size: 11px;
    color: #FFF;
    text-decoration: underline;
}

#thumbgall {
    position: absolute;
    left: 0;
    top: 0;
    white-space: nowrap;
    z-index: 1000;
}

#widthbox {
    position: relative;
    display: inline;
    left: 0;
    top: 0;
    padding: 1px;
}

#imgbox {
    width: 80px;
    height: 80px;
    display: inline;
    position: absolute;
    text-align: center;
}

#iptc_btn {
    display: none;
}

#iptc_info {
    position: absolute;
    bottom: 0;
    left: 0;
    height: auto;
    width: 100%;
    background-color: #000;
    color: #CCC;
    font-size: 10px;
    line-height: 140%;
    text-align: left;
    filter: alpha( opacity = 0 );

-moz-opacity:
    0;

opacity:
    0;
}

.iptc_left {
    float: left;
    text-align: right;
    width: 18%;
    color: #FFF;
    padding: 0 0 0 2%;
}

.iptc_right {
    float: right;
    text-align: left;
    width: 79%;
}

#rightmore li a {
    background: url(../rsrc/right_more.gif);
    display: block;
    color: #fff;
    text-decoration: none;
    width: 100%;
    padding: 0;
	height: 100%;
}

#rightmore li a:hover {
    background: url(../rsrc/right_more_over.gif);
    color: #fff;
    
}

#leftmore li a {
    background: url(../rsrc/left_more.gif);
    display: block;
    color: #fff;
    text-decoration: none;
    width: 100%;
    padding: 0;
	height: 115px;
}

#leftmore li a:hover {
    background: url(../rsrc/left_more_over.gif);
    color: #fff;
    height: 115px;
}

.spacing {
    padding: 1px;
}

.morelink:link, .morelink:visited {
    font-size: 11px;
    color: #FFF;
    text-decoration: none;
}

#rightmore, #leftmore {
    color: #333;
    height: 115px;
    width: 15px;
    padding: 0;
}

#rightmore ul, #leftmore ul {
    list-style: none;
    border: none;
    height: 115px;
    margin: 0;
    padding: 0;
}

#rightmore li, #leftmore li {
    height: 115px;
    margin: 0;
}

html > body #rightmore li a, html > body #leftmore li a {
    width: auto;
}

#pn_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 998;
}

#prev, #next {
    width: 30%;
    height: 100%;
    background: transparent url(../rsrc/blank.gif) no-repeat; /* Trick IE into showing hover */
    outline: none;
}

#prev {
    left: 0;
    float: left;
    outline: none;
    -moz-outline: none;
    visibility: hidden;
}

#next {
    right: 0;
    float: right;
    outline: none;
    -moz-outline: none;
}

#prev:hover, #prev:visited:hover {
    background: url(../rsrc/prev.gif) left 50% no-repeat;
}

#next:hover, #next:visited:hover {
    background: url(../rsrc/next.gif) right 50% no-repeat;
}

#imgtitle {
    display: none;
}

#imgtitle h2 {
    font-size: 1.3em;
    margin: 0;
    padding: 0
}

#thumbtoggler {
    display: none;
}

#thumbdisplay {
    width: 500px;
}

.clear {
    clear: both;
}

#e2link {
    display: none;
}

#e2link a {
    color: #FFFFFF;
    text-decoration: none
}

.tooltip {
    display: none;
}

.tooltip h4 {
    font-weight: bold;
    font-size: 12px;
    margin: 0px;
    padding: 8px 8px 2px;
    background: #000;
}

.tooltip p {
    font-size: 11px;
    padding: 1px 8px 8px;
    margin: 0px;
    background: #000;
}

#thumbhide {
    position: relative;
    overflow: hidden;
}
