/*
 * FancyBox - jQuery Plugin
 * Simple and fancy lightbox alternative
 *
 * Examples and documentation at: http://fancybox.net
 * 
 * (2016-10-16) Modified 2016 Holger Irmler (jQuery 3.0 - 3.1.1 compatibility, better support for mobile devices)
 * 
 * (22/11/2012) Modified 2012 Nikola Vidoni (mobile ready, CSS3 optimizations, dropped IE6-7 support for shadows & opacity)
 * 
 * Copyright (c) 2008 - 2010 Janis Skarnelis
 * That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated.
 * 
 * Version: 1.3.4 (11/11/2010)
 * Requires: jQuery v1.3+
 *
 * Dual licensed under the MIT and GPL licenses:
 *   http://www.opensource.org/licenses/mit-license.php
 *   http://www.gnu.org/licenses/gpl.html
 */
/* --- FancyBox Allgemeine Container-Styles --- */
#fancybox-content,
#fancybox-wrap {
    box-sizing: content-box;
    outline: 0;
}

#fancybox-close,
#fancybox-left-ico,
#fancybox-right-ico {
    position: absolute;
    width: 36px;
    height: 36px;
    cursor: pointer;
}

/* --- FancyBox Lade-Anzeige --- */
#fancybox-loading {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -22px;
    margin-left: -22px;
    width: 44px;
    height: 44px;
    background: url(controls.png) 0 -108px;
    opacity: .8;
    cursor: pointer;
    z-index: 1104;
    display: none;
}

#fancybox-loading div {
    width: 44px;
    height: 44px;
    background: url(loading.gif) center center no-repeat;
}

/* --- FancyBox Overlay --- */
#fancybox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    display: none;
}

/* --- FancyBox Temporärer/Versteckter Container --- */
#fancybox-tmp {
    padding: 0;
    margin: 0;
    border: 0;
    overflow: auto;
    display: none;
}

/* --- FancyBox Haupt-Wrapper --- */
#fancybox-wrap {
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px;
    z-index: 1101;
    display: none; 
}

/* --- FancyBox Äußerer Container (mit Schatten) --- */
#fancybox-outer {
    position: relative;
    width: 100%;
    height: 100%;
    background: #fff;
    -webkit-box-shadow: 0 0 15px rgba(0,0,0,.5);
    -moz-box-shadow: 0 0 15px rgba(0,0,0,.5);
    box-shadow: 0 0 15px rgba(0,0,0,.5);
    filter: progid:DXImageTransform.Microsoft.Blur(pixelradius=15, enabled="true");
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border-radius: 8px;	
}

/* --- FancyBox Content-Bereich --- */
#fancybox-content {
    width: 0;
    height: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
    z-index: 1102;
    border: 0 solid #fff;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border-radius: 8px;	
}

/* --- IE-spezifischer Iframe-Fix --- */
#fancybox-hide-sel-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 0 0;
    z-index: 1101;
}

/* --- FancyBox Schließen-Button --- */
#fancybox-close {
    top: -18px;
    right: -18px;
    background: url(controls.png) no-repeat;
    z-index: 1103;
    display: none;
}

/* --- FancyBox Fehlermeldung --- */
#fancybox-error {
    color: #444;
    font: 400 12px/20px Arial, Helvetica, sans-serif;
    padding: 14px;
    margin: 0;
}

/* --- FancyBox Bild-Element --- */
#fancybox-img {
    max-width: 100%;
    max-height: 100%;
    padding: 0;
    margin: 0;
    border: none;
    outline: 0;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

/* --- FancyBox Iframe/HTML-Frame --- */
#fancybox-frame {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* --- FancyBox Navigationspfeile (Links/Rechts) --- */
#fancybox-left,
#fancybox-right {
    position: absolute;
    bottom: 0;
    height: 100%;
    width: 35%;
    max-width: 60px;
    cursor: pointer;
    outline: 0;
    z-index: 1102;
    display: none;
    -webkit-tap-highlight-color: transparent;
}

#fancybox-left {
    left: 0;
}

#fancybox-right {
    right: 0;
}

/* --- Navigationspfeil Icons (Positionierung) --- */
#fancybox-left-ico,
#fancybox-right-ico {
    top: 50%;
    left: -9999px; /* Verstecken außerhalb des sichtbaren Bereichs */
    margin-top: -15px;
    z-index: 1102;
    display: block;
}

#fancybox-left-ico {
    background: url(controls.png) 0 -36px no-repeat;
}

#fancybox-right-ico {
    background: url(controls.png) 0 -72px no-repeat;
}

/* --- Hover-Effekte für Navigationspfeile --- */
#fancybox-left:hover span {
    left: 20px;
}

#fancybox-right:hover span {
    left: auto;
    right: 20px;
}

/* --- Sichtbarkeits-Klassen für Icons --- */
.fancybox-left-ico-show {
    left: 20px !important;
}

.fancybox-right-ico-show {
    right: 20px !important;
    left: auto !important;
}

/* --- FancyBox Titel --- */
#fancybox-title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    z-index: 1102;
	width: 980px !important;
}

/* --- FancyBox Titel-Varianten --- */
.fancybox-title-inside {
    position: relative;
    padding-bottom: 10px;
    color: #333;
    text-align: center;
    background: #fff;
}

.fancybox-title-outside {
    padding-top: 10px;
    color: #fff;
}

.fancybox-title-over {
    position: absolute;
    bottom: 0;
    left: 0;
    color: #fff;
    text-align: left;
    display: block;
    padding: 10px;
    background-color: #000;
    background-color: rgba(0,0,0,.5);
}

.fancybox-title-float {
    position: absolute;
    bottom: -20px;
    padding: 6px 12px;
    width: auto;
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
    background-color: #000;
    background-color: rgba(0,0,0,.7);
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}