/* Referenzen Relaunch */
#custom-references-v2 .navigation-container ul.thumbs {
    list-style          : none;
    padding             : 0;
}
#custom-references-v2 .navigation-container ul li.g-thumb {
    clear               : left;
    margin-bottom       : 20px;
}
#custom-references-v2 .navigation-container ul li.g-thumb-js {
    float               : left;
    padding             : 13px;
    border-left         : 1px solid #ccc;
    border-bottom       : 1px solid #ccc;
    clear               : none;
    margin-bottom       : 0;
}
#custom-references-v2 .navigation-container ul li.g-thumb-js:hover,
#custom-references-v2 .navigation-container ul li.selected {
    background          : url(/images/common/layout/galleriffic-bg-thumb-v2-hover.gif) no-repeat center bottom;
    border-bottom       : 1px solid #ccc;
}
#custom-references-v2 .navigation-container ul a.thumb {
    background          : url(/images/common/layout/galleriffic-bg-thumb-v2.jpg) no-repeat;
    display             : block;
    padding-top         : 8px;
}
#custom-references-v2 .navigation-container ul.thumbs li.first {
    border-left         : 0;
    padding-left        : 0;
}
#custom-references-v2 .navigation-container ul.thumbs li.last_row {
    border-bottom       : 0;
}
#custom-references-v2 .content {
    clear               : left;
}
#custom-references-v2 .image-wrapper a {
    text-decoration     : none;
}
#custom-references-v2 hr {
    border-top          : 0;
    border-left         : 0;
    border-right        : 0;
    border-bottom       : 1px dotted #CCCCCC;
    margin              : 7px 0 20px;
}
#custom-references-v2 hr.margin-top {
    margin              : 20px 0;
}
#custom-references-v2 #caption {
    float               : left;
    width               : 348px;
}
#custom-references-v2 #thumbs .pageLink {
    display             : none;
}
#custom-references-v2 .slideshow-container {
    float               : right;
    width               : 360px;
}
#custom-references-v2 h2 {
    margin-bottom       : 14px;
    font-size           : 13px;
}
#custom-references-v2 table {
    margin-bottom       : 20px;
}
#custom-references-v2 td.nth-0 {
    font-weight         : bold;
    width               : 100px;
}
#custom-references-v2 .prev,
#custom-references-v2 .next {
    background          : url(/images/common/layout/galleriffic-button-v2.jpg) no-repeat;
    display             : inline-block;
    padding             : 6px 0;
    text-align          : center;
    width               : 163px;
    color               : #fff;
    text-decoration     : none;
}
#custom-references-v2 .prev:hover,
#custom-references-v2 .next:hover {
    background          : url(/images/common/layout/galleriffic-button-v2-hover.jpg) no-repeat;
}
#custom-references-v2 .next {
    margin-left         : 20px;
}
#custom-references-v2 a.advance-link {
    background          : url(/images/common/layout/galleriffic-bg-main-image-v2.jpg) no-repeat 2px 0;
    height              : 240px;
    width               : 362px;
    display             : block;
    padding-top         : 16px;
}
#show-full-image {
    background          : url(/images/common/layout/galleriffic-icon-resize.gif) no-repeat 0 2px;
    padding-left        : 20px;
    float               : right;
    margin-top          : 10px;
}
#custom-references-v2 .caption li {
    border              : 0;
}
#content-container {
    background          : #fff;
    position            : fixed; 
    padding             : 20px;
    z-index             : 1002;
    width               : 740px;
    -moz-box-shadow     : 0 0 10px #999;
    box-shadow          : 0 0 10px #999;
    -webkit-box-shadow  : 0 0 10px #999; 
}
#content-container-overlay {
    background          : #fff;
    opacity             : 0.8;
    filter              : alpha(opacity=80);
    width               : 2000px;
    left                : 0;
    top                 : 0;
    position            : absolute;
    z-index             : 98;
}
#close-content-container {
    background-image    : url(/images/common/layout/galleriffic-close-button-v2.png);
    cursor              : pointer;
    position            : absolute;
    right               : -28px;
    top                 : -28px;
    width               : 57px;
    height              : 57px;
}

/* alte Referenzen */
#custom-references div.navigation a.prev {
    background-image                : url(/images/common/layout/galleriffic-prevPageArrow.gif);
}
#custom-references div.navigation a.next {
    background-image                : url(/images/common/layout/galleriffic-nextPageArrow.gif);
}
#custom-references div.pagination a:hover {
    background-color                : #111;
}
#custom-references div.pagination span.current {
    background-color                : #fff;
    border-color                    : #fff;
    color                           : #000;
}
#custom-references div#container {
    overflow                        : hidden;
}
#custom-references div.content {
    display                         : none;
    clear                           : both;
}
#custom-references div.content a, #custom-references div.navigation a {
    text-decoration                 : none;
}
#custom-references div.content a:hover, #custom-references div.content a:active {
    text-decoration                 : underline;
}
#custom-references div.navigation a.pageLink {
    height                          : 70px;
    line-height                     : 77px;
}
#custom-references div.controls {
    margin-top                      : 25px;
    height                          : 23px;
}
#custom-references div.controls a {
    padding                         : 5px 20px;
    background                      : url(/images/common/layout/bg-input-submit.png) repeat-x;
    border                          : 1px solid #4f4f4f;
    color                           : #fff;
}
#custom-references div.controls a.next {
    margin-left                     : 8px;
}
#custom-references div.ss-controls {
    margin                          : 0 auto 20px;
    text-align                      : center;
}
#custom-references div.nav-controls {
    text-align                      : center;
    margin                          : 0 auto;
}
#custom-references div.slideshow-container,
#custom-references div.loader,
#custom-references div.slideshow a.advance-link {
    width                           : 390px; /* This should be set to be at least the width of the largest image in the slideshow with padding */
}
#custom-references div.loader,
#custom-references div.slideshow a.advance-link,
#custom-references div.caption-container {
    height                          : 502px; /* This should be set to be at least the height of the largest image in the slideshow with padding */    
}
#custom-references div.slideshow-container {
    position                        : relative;
    float                           : left;
    height                          : 532px;
}
#custom-references div.loader {
    position                        : absolute;
    top                             : 0;
    left                            : 0;
    background-image                : url('images/loader.gif');
    background-repeat               : no-repeat;
    background-position             : center;
}
#custom-references div#slideshow {
    background              : url(/images/common/layout/galleriffic-bg-main-image.png) no-repeat;
    width                   : 391px;
    height                  : 315px;  
}
#custom-references div.slideshow span.image-wrapper {
    display                 : block;
    position                : absolute;
    top                     : 2px;
    left                    : 0;
}
#custom-references div.slideshow a.advance-link {
    display                 : block;
    line-height             : 220px; /* This should be set to be at least the height of the largest image in the slideshow with padding */
    text-align              : center;
    margin-top              : 31px;
    color                   : #fff;
    height                  : 203px;
    overflow                : hidden;
}
#custom-references div.slideshow a.advance-link:hover,
#custom-references div.slideshow a.advance-link:active,
#custom-references div.slideshow a.advance-link:visited {
    text-decoration         : none;
}
#custom-references div.slideshow a.advance-link:focus {
    outline                 : none;
}
#custom-references div.caption-container {
    float                   : left;
    position                : relative;
}
#custom-references span.image-caption {
    display                 : block;
    position                : absolute;
    top                     : 0;
    left                    : 0;
}
#custom-references div.caption-container, span.image-caption {
    width                   : 334px;
    margin-bottom           : 20px;
}
#custom-references div.caption {
    padding                 : 0 20px 0 0;
}
#custom-references div.image-desc table td.nth-0 {
    font-weight             : bold;
    width                   : 100px;
}
#custom-references div.image-desc table {
    margin-top              : 10px;
    margin-bottom           : 20px;
}
#custom-references div.download {
    margin-top              : 8px;
}
#custom-references div.navigation-container {
    float                   : none;
    position                : relative;
    left                    : 0;
    background              : url(/images/common/layout/galleriffic-bg-thumbs.png) repeat-x;
    height                  : 101px;
    padding-top             : 12px;
}
#custom-references div.navigation {
    float                   : none;
    position                : relative;
    left                    : 0;
    padding-left            : 2px;
}
#custom-references div.navigation a.pageLink {
    display                 : block;
    position                : relative;
    float                   : left;
    margin                  : 2px;
    width                   : 16px;
    background-position     : center center;
    background-repeat       : no-repeat;
    cursor                  : pointer;
}
#custom-references div.navigation a.pageLink:focus {
    outline                 : none;
}
#custom-references ul.thumbs {
    position                : relative;
    float                   : left;
    margin                  : 0;
    padding                 : 0;
}
#custom-references ul.thumbs li.g-thumb {
    float                   : left;
    padding                 : 4px;
    margin                  : 2px 7px;
    list-style              : none;
    background              : url(/images/common/layout/galleriffic-bg-thumb.png) no-repeat;
    /*height                  : 62px;
    width                   : 92px;*/
}
#custom-references ul.thumbs li.g-thumb a {
    margin-bottom           : 10px;
}

#custom-references a.thumb {
    padding                 : 1px;
    display                 : block;
}
#custom-references a.thumb:focus {
    outline                 : none;
}
#custom-references ul.thumbs img {
    border                  : none;
    display                 : block;
}
#custom-references div.pagination {
    clear                   : both;
    position                : relative;
    left                    : -50%;
}
#custom-references div.pagination a, #custom-references div.pagination span.current, #custom-references div.pagination span.ellipsis {
    position                : relative;
    display                 : block;
    float                   : left;
    margin-right            : 2px;
    padding                 : 4px 7px 2px 7px;
    border                  : 1px solid #ccc;
}
#custom-references div.pagination a:hover {
    text-decoration         : none;
}
#custom-references div.pagination span.current {
    font-weight             : bold;
}
#custom-references div.pagination span.ellipsis {
    border                  : none;
    padding                 : 5px 0 3px 2px;
}
#custom-references div.gallery-gutter {
    clear                   : both;
    padding-bottom          : 20px;
}
