/* NSB Box - Design - requires NSB Box Javascript (c) 2018 by Etienne Schorro */
#nsbbox{
	display: block;
	position: fixed;
	z-index: 999;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.9);
}
#nsbbox img, #nsbbox iframe{
	display: block;
	clear: both;
	max-width: 90%;
	max-height: 90%;
	width: auto;
	height: auto;
	position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    /*border: 1px solid rgba(0,0,0,.3);*/
    border-radius: 3px;
    box-shadow: 0px 5px 10px #e9ece9;
}
#nsbbox iframe{
	width: 90%;
	height: 95%;
	overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}
#nsbBOXText{
    display: block;
    position: fixed;
    z-index: 1001;
    bottom: 0;
    margin: 0;
    line-height: 30px;
    font-size: 16px;
    font-style: normal;
    width: 100%;
    background-color: #fff;
    color: #397382;
    text-align: center;
    text-transform: uppercase;
    font-weight: 500;
    border-top: solid 1px #e3eff3;
}
a.pfeilLinks, a.pfeilRechts{
    top: 50%;
    display: block;
    position: fixed;
    z-index: 1001;
    margin-top: -60px;
    height: 120px;
    width: 50px;
    background-color: rgba(57,115,130,.3);
     background-size: 40px;
    background-repeat: no-repeat;
    background-position: center center;
    border-radius: 3px;
}
#nsbbox a.pfeilLinks:hover, #nsbbox a.pfeilRechts:hover{
    background-color: rgba(57,115,130,1);
}
#nsbbox .pfeilLinks{
    left: 1%;
    background:url("../img/commun/arrowLblc.svg") no-repeat center center;
    background-color: rgba(57,115,130,0.50);
    background-size: 55%;
}
#nsbbox .pfeilRechts{
    right: 1%;
    background:url("../img/commun/arrowRblc.svg") no-repeat center center;
    background-color: rgba(57,115,130,0.50);
    background-size: 55%;
}
#nsbbox a.closeBOX{
    display: block;
    position: fixed;
    z-index: 1002;
    top: 20px;
    right: 20px;
    text-align: center;
    color: #397382;
    font-weight: 700;
    font-family: 'Barlow Condensed', sans-serif;
    font-size:80px;
    cursor: pointer;
}
#nsbbox a.closeBOX:hovet{
    color: #83cc25;
}

.loader {
	display:none;
	position: fixed;
	left: 50%;
	top: 50%;
	margin: -30px 0 0 -30px;
	border: 10px solid rgba(255,255,255, .6);
	border-radius: 50%;
	border-top: 10px solid rgba(100,100,100, .2);
	border-bottom: 10px solid rgba(100,100,100, .2);
	width: 60px;
	height: 60px;
	-webkit-animation: spin 2s linear infinite;
	animation: spin 2s linear infinite;
	box-shadow: 0px 5px 10px #e9ece9;
}
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@media(max-width: 479px){
	#nsbbox a.pfeilLinks, #nsbbox a.pfeilRechts{
		top: -1000px;
	}
}