/*
    Colorbox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999;}
#cboxWrapper {max-width:none;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
.cboxIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;}
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}
/*
    User Style:
    Change the following styles to modify the appearance of Colorbox.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxOverlay{background:#000; opacity: 0.9; filter: alpha(opacity = 90);}
#colorbox{outline:0;}
#cboxContent{margin-top:20px;background:#FFF; border-radius: 5px;}
.cboxIframe{background:#fff;}
#cboxError{padding:50px; border:1px solid #ccc;}
#cboxLoadedContent{border:none; background:#fff; border-radius: 5px;}
#cboxTitle{
    position: absolute;
    bottom: -20px;
    left: 0;
    color: #fff;
    font-size: 14px;
}
#cboxCurrent{position:absolute; top:-20px; right:0; color:#ccc; display:none;}
#cboxLoadingGraphic{background:url('/bilder/navigation/loading_white_small.gif') no-repeat center center;}
/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }
/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}
#cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;}
#cboxPrevious{
    position:absolute;
    top:50%;
    left: 15px;
    margin-top: -12px;
    width: 24px;
    height: 24px;
    text-indent: -9999px;
    background: url('/bilder/navigation/sprite-icons.png') -241px -31px no-repeat;
    outline: 0;
}
#cboxPrevious:hover{ }
#cboxNext{
    position:absolute;
    top: 50%;
    right: 15px;
    margin-top: -12px;
    width: 24px;
    height: 24px;
    text-indent: -9999px;
    background: url('/bilder/navigation/sprite-icons.png') -291px -31px no-repeat;
    outline: 0;
}
#cboxNext:hover{ }
#cboxClose{
    width: auto !important;
    height: 20px !important;
    padding: 1px 12px 0;
    color: #fff;
    line-height: 15px;
    font-size: 12px;
    text-shadow: 1px 1px 1px rgba(91,91,91,0.5);
    box-shadow: inset 1px 1px 1px rgba(255,255,255,0.35), inset 0 -1px 2px rgba(51,51,51,0.35);
    border-radius: 5px 5px 0 0;
    background: #f59959; /* Old browsers */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y1OTk1OSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlMzY2MGYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  #f59959 0%, #e3660f 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f59959), color-stop(100%,#e3660f)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #f59959 0%,#e3660f 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #f59959 0%,#e3660f 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #f59959 0%,#e3660f 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #f59959 0%,#e3660f 100%); /* W3C */
    display: block;
    position: absolute;
    right: 30px;
    top: -20px;
}
#cboxClose:after {
    margin-left: 12px;
    display: inline-block;
    content: "";
    height: 13px;
    width: 12px;
    background: url('/bilder/navigation/sprite-icons.png') -119px -202px no-repeat;
    vertical-align: middle;
}

/*Anpassung für gallery*/
#content .colorbox-gallery ul.colorbox-list{
    clear: both;
}
#content .colorbox-gallery ul.colorbox-list li{
    padding: 0;
    float:left;
    margin-right: 10px;
}
#content .colorbox-gallery ul.colorbox-list li .colorbox img{
    border: 1px solid #CCCCCC;
    border-radius: 5px;
    transition: all 300ms linear;
}
#content .colorbox-gallery ul.colorbox-list li .colorbox img:hover {
    border-color: #A0A0A0;
    box-shadow: 0px 0px 4px 1px rgba(0,0,0,0.3); /* alle neuen Browser, W3C Standard */
}