.galerie_box_container {
    margin:20px 0px 0px 0px ;
    width:593px;
}

.galerie_box {
    margin:0px 0px 0px 0px ;
    background-color: #ECF5EA;
    display:block;
}

.galerie_boxtop {
    background:url(img/box_top.gif) top right no-repeat;
    width: 593px;
    height: 15px ;
}
.galerie_boxbottom {
    background:url(img/box_bottom.gif) bottom right no-repeat;
    width: 593px;
    height: 15px ;
}
.galerie_text {
    margin-left:190px;
    margin-right: 15px;
    line-height: 17px;

}
 .galerie_bild {
   margin-left: 15px;
    background-color: #ECF5EA;
    float: left;
}

/*Galerie-Start*/

#gallery {
    width:576px;
    background-color:#ffffff;
    margin: 0px auto 0px auto;
}

#gallery-top {
    background: url(img/gallerie_box_top.gif) no-repeat bottom;
    display:block;
    height: 12px;
}

#gallery-cont {
    font-family: sans-serif;
    border-left: 1px solid #999;
    border-right: 1px solid #999;
    padding: 0px 12px 0px 12px;
}

#main_image_wrapper {
    position:relative;
    border:1px solid #666;
    background: #ffffff url(/global/img/loading_image.gif) no-repeat 50% 50%;
}

#imgloader {
    /*text-align:center;
    vertical-align:middle;*/
}

#thumbbox {
    border:none;
    text-align:center;
    width:550px;
    position:relative;
    background: url(img/nav_bar.jpg) no-repeat;
    padding-top:8px;
}

#thumb_container {
    position:relative;
    overflow:hidden;
    width:500px;;
    height:110px;
    margin: 0 auto;
}

#thumbs img{
    margin-right:4px;
    vertical-align:top;
}

#thumbs a img{border:1px solid #666;}

#thumbs a:hover img{border:1px solid #333;}

#photocount{
    width:200px;
    float:left;
    margin-bottom: 5px;
    color:#333;
    font-size: 10px;
    text-align: left;
    display: block;
}

#back{
    position:absolute;
    top:0;
    left:0;
    visibility:hidden;
    z-index:1001;
    }

#more{
    position:absolute;
    top:0;
    left:530px;
    float:right;
    z-index:1001;
}

#thumbgall{
    position:absolute;
    left:0;
    top:0;
    white-space:nowrap;
    z-index:1000;
}

#widthbox{
    position:relative;
    display:inline;
    width:auto;
    left:0;
    top:0;
    padding:1px;
}

#imgbox{
    width:80px;
    height:80px;
    display:inline;
    position:absolute;
    text-align:center;
}

#iptc_btn{
    width:100%;
    text-align:right;
    position:absolute;
    left:0;
    top:0;
    z-index:999;
}

#iptc_info{
    display:none;
    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{
    display:none;
    float:left;
    text-align:right;
    width:18%;
    color:#FFF;
    padding:0 0 0 2%;
}

.iptc_right{
    display:none;
    float:right;
    text-align:left;
    width:79%;
}

#rightmore li a{
    background:url(/global/img/rechts.gif) no-repeat;
    display:block;
    color:#fff;
    text-decoration:none;
    width:100%;
    padding:0;
}

#rightmore li a:hover{
    background:url(/global/img/rechts.gif) no-repeat;
    color:#fff;
    height:115px;
}

#leftmore li a{
    background:url(/global/img/links.gif) no-repeat;
    display:block;
    color:#fff;
    text-decoration:none;
    width:100%;
    padding:0;
}

#leftmore li a:hover{
    background:url(/global/img/links.gif) no-repeat;
    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:32px;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(/global/img/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(/global/img/prev.gif) left 50% no-repeat; }

#next:hover, #next:visited:hover { background: url(/global/img/next.gif) right 50% no-repeat; }

#imgcopy{width:317px; float:left; font-size:.7em; text-align:right; color:#ccc; margin-bottom:5px; display:block}

#imgtitle{width:520px; font-size:.7em; text-align:left; color:#FFF; margin-bottom: 10px; display:block}

#imgtitle h2{font-size:1.3em; margin:0; padding:0}

#imgdownload a {color:#999;font-size:11px;};

#imgdownload a:hover {color:#000;font-size:11px; text-decoration: underline;};

#thumbtoggler {
    display:none;
    text-align: right;
    float: right;
    width: 48%;
    right:0;
    z-index:1100;
}

#thumbdisplay {
    width: 520px;
}

#thumbhide {
    position: relative;
    overflow:hidden;
}

#gallery-bottom {
    background: url(img/gallerie_box_bottom.gif) no-repeat;
    display:block;
    width: auto;
    height: 12px;
    
}
.clear{clear:both;}

/*Galerie-Ende*/