/**
 * Featherlight Gallery – an extension for the ultra slim jQuery lightbox
 * Version 1.7.12 - http://noelboss.github.io/featherlight/
 *
 * Copyright 2017, Noël Raoul Bossart (http://www.noelboss.com)
 * MIT Licensed.
**/
@media all {
	.featherlight-next,
    .featherlight-previous {
        display: block;
        position: absolute;
        top: 25px;
        right: 25px;
        bottom: 0;
        left: 85%;
        cursor: pointer;
        /* preventing text selection */
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        /* IE9 hack, otherwise navigation doesn't appear */
        background: rgba(0,0,0,0);
    }

    .featherlight-previous {
        left: 14px;
        right: 90%;
        height: 65px;
        width: 60px;
        border: none;
        top: calc(100% - 81px);
    }
    
    .featherlight-next {
        right: 14px;
        right: 90%;
        height: 65px;
        width: 60px;
        border: none;
        top: calc(100% - 81px);
    }

    .featherlight-next span{
        font-size:60px;
    }
    
    /*
	.featherlight-next:hover,
	.featherlight-previous:hover {
		background: rgba(255,255,255,0.25);
	}
    */

	.featherlight-next span,
	.featherlight-previous span {
		position: absolute;
        top: 50%;
        left: 0%;
        width: 82%;
        text-align: center;
        font-size: 60px;
        line-height: 80px;
        margin-top: -34px;
        text-shadow: 0px 0px 5px #fff;
        color: #b20000;
        font-style: normal;
        font-weight: normal;
	}
    
	.featherlight-next span {
		right: 5%;
		left: auto;
        font-size: 45px !important;
	}


	.featherlight-next:hover span,
	.featherlight-previous:hover span {
		display: inline-block;
	}

	.featherlight-swipe-aware .featherlight-next,
	.featherlight-swipe-aware .featherlight-previous {
		display: none;
	}

	/* Hide navigation while loading */
	.featherlight-loading .featherlight-previous, .featherlight-loading .featherlight-next {
		display:inline-block;
	}

	/* Hide navigation in case of single image */
	.featherlight-first-slide.featherlight-last-slide .featherlight-previous,
	.featherlight-first-slide.featherlight-last-slide .featherlight-next {
		display:inline-block;
	}
}

/* Featherlight: Navigationspfeile immer anzeigen */
.featherlight-next span,
.featherlight-previous span {
    display: inline-block !important;
}

/* Falls Swipe aktiviert ist, Pfeile trotzdem anzeigen */
.featherlight-swipe-aware .featherlight-next,
.featherlight-swipe-aware .featherlight-previous {
    display: block !important;
}



/* Always display arrows on touch devices */
@media only screen and (max-device-width: 1024px){
	.featherlight-next:hover,
	.featherlight-previous:hover {
		background: none;
	}
	.featherlight-next span,
	.featherlight-previous span {
		display: block;
	}
}

/* handling phones and small screens */
@media only screen and (max-width: 1024px) {
	.featherlight-next,
	.featherlight-previous {
		right: 10px;
		left: 85%;
        top: calc(100% - 90px);
	}

	.featherlight-previous {
		left: 10px;
		right: 85%;
	}

	.featherlight-next span,
	.featherlight-previous span {
		margin-top: -30px;
		font-size: 60px;
	}
}


/* Tastatur- und Hover-Fokus für Close-, Previous- und Next-Button */
.featherlight .featherlight-close-icon:focus,
.featherlight .featherlight-close-icon:hover,
.featherlight-next:focus,
.featherlight-next:hover,
.featherlight-previous:focus,
.featherlight-previous:hover {
    outline: 3px solid #ff8800;   /* orange, 3px */
    outline-offset: 3px;          /* 3px Abstand zum Element */
}
/* Fokus-Styles für Navigation */
.featherlight-next:focus,
.featherlight-previous:focus,
.featherlight-next:hover,
.featherlight-previous:hover{
    outline: 3px solid #ff6600 !important;
    outline-offset: 3px !important;
    background: rgba(255, 102, 0, 0.1) !important;
}

.featherlight-next:focus span,
.featherlight-previous:focus span {
    display: inline-block !important;
    color: #b20000 !important;
    /*text-shadow: 0px 0px 8px rgba(255, 102, 0, 0.8) !important;*/
}

/* Close-Button Fokus (bereits vorhanden, aber für Konsistenz) */
.featherlight-close-icon:focus,
.featherlight-close-icon:hover{
    outline: 3px solid #ff6600 !important;
    outline-offset: 3px !important;
    background: rgba(255, 102, 0, 0.2) !important;
}

/* Sicherstellen dass alle Buttons fokussierbar sind */
.featherlight-close-icon,
.featherlight-next,
.featherlight-previous {
    cursor: pointer !important;
}