/* JPA popup */

#jpa-popup {
	display: block;
	position: fixed;
	z-index: 2000;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color:rgba(0,0,0,0.7);
}

#jpa-popup.cookie-active,
#cookie-bar.cookie-active {
	display: none;
}

#jpa-popup .pop-up {
	position: fixed;
	z-index: 1000;
	top: 50%;
	left: 50%;
	/* all prefixes */
	-webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
	width: 600px;
	border: solid 1px #02B3BE;
	/* Borders */
	-webkit-border-top-left-radius: 20px;
	-webkit-border-top-right-radius: 20px;
	-moz-border-radius-topleft: 20px;
	-moz-border-radius-topright: 20px;
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	/* bg */
	background: #004153;
}

#jpa-popup .pop-up .akt {
	padding: 80px 12%;
}

#jpa-popup .pop-up .akt img,
#jpa-popup .pop-up .jpa-logo img {
	width: 100%;
	height: auto;
}

#jpa-popup .pop-up .akt img {
	max-width: 438px;
}

#jpa-popup .pop-up .jpa-logo img {
	max-width: 228px;
}

#jpa-popup .pop-up .jpa {
	font-family: "sofia-pro", sans-serif;
	font-style: normal;
	font-weight: 700;
	background: linear-gradient(0deg, rgba(2, 179, 190, 0.67) 0%, rgba(0, 65, 83, 0.67) 82%);
	padding-bottom: 40px;
}

#jpa-popup .pop-up #close-popup {
	position: absolute;
	top: 20px;
	right: 20px;
}

#jpa-popup .pop-up #close-popup .line {
	background: #FECB00;
	width: 30px;
    height: 4px;
    display: block;
    margin: 6px auto;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

#jpa-popup .pop-up #close-popup:hover .line {
	background: #E37122;
	cursor: pointer;
}

#jpa-popup .pop-up #close-popup .line:nth-child(1) {
    -webkit-transform: translateY(5px) rotate(45deg);
    -ms-transform: translateY(5px) rotate(45deg);
    -o-transform: translateY(5px) rotate(45deg);
    transform: translateY(5px) rotate(45deg);
}

#jpa-popup .pop-up #close-popup .line:nth-child(2) {
    -webkit-transform: translateY(-5px) rotate(-45deg);
    -ms-transform: translateY(-5px) rotate(-45deg);
    -o-transform: translateY(-5px) rotate(-45deg);
    transform: translateY(-5px) rotate(-45deg);
}

.jpa-text, .jpa-logo {
	float: left;
}

.jpa-logo-group {
	padding: 0 12% 60px 12%;
}

.jpa-text {
	color: #FFF;
	font-family: Sofia Pro;
	font-size: 48px;
	line-height: 43px;
	font-weight: 400;
	text-align: left;
	width: 45%;
}

.jpa-logo {
	width: 55%;
}

.jpa-menu {
	padding: 0 6%;
}

.jpa-menu .link {
	float: left;
	width: 33.333%;
}

.jpa-menu .link a {
	display: block;
	font-family: Sofia Pro;
	padding: 10px;
	background: #004153;
	border: 1px solid #02B3BE;
	font-size: 22px;
	font-weight: 400;
	line-height: 22px;
	text-align: center;
	color: #FFF;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	margin-right: 10px;
	-webkit-transition: background 0.3s ease-in-out;
    -o-transition: background 0.3s ease-in-out;
    transition: background 0.3s ease-in-out;
}

.jpa-menu .link:nth-child(3) a {
	margin-right: 0;
}

.jpa-menu .link a:hover {
	background: #E37122;
}

.group-btm-bar {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
}

/* clear floats */
.clear:after {
	content: ".";
	visibility: hidden;
	display: block;
	height: 0;
	clear: both;
}

.group-btm-bar .bar {
	float: left;
	height: 18px;
	width: 25%;
}
.group-btm-bar .bar:nth-child(1) {
	background: #02B3BE;
}

.group-btm-bar .bar:nth-child(2) {
	background: #92D8AE;
}

.group-btm-bar .bar:nth-child(3) {
	background: #FECB00;
}

.group-btm-bar .bar:nth-child(4) {
	background: #E37122;
}

/* cookie bar */
#cookie-bar {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 20px;
	z-index: 3000;
	background-color:rgba(0,0,0,0.7);
	color: #fff;
	padding-right: 120px;
}

#cookie-bar a {
	text-decoration: underline;
}

#cookie-bar a#cookie-bar-accept-btn {
	text-decoration: none;
}

#cookie-bar-accept-btn {
	position: absolute;
	top: 15px;
	right: 20px;
	background-color: #27b5d3;
	color: #fff;
	padding: 5px 10px;
	text-transform: uppercase;
	font-weight: 700;
	
}

#cookie-bar-accept-btn:hover {
	background-color: #23a1bc;
}



@media only screen and (min-width: 0px) and (max-width: 640px) {
	
	#jpa-popup .pop-up .akt {
		padding-top: 50px;
		padding-bottom: 20px;
	}
	
	#jpa-popup .pop-up {
		width: 70%;
	}
	
	#jpa-popup .pop-up #close-popup {
		top: 15px;
		right: 15px;
	}
	
	.jpa-menu .link {
		width: 100%;
	}
	
	.jpa-menu .link a {
		font-size: 14px;
		line-height: 20px;
		margin-right: 0;
		margin-bottom: 10px;
		padding-top: 5px;
		padding-bottom: 5px;
	}
	
	.jpa-text, .jpa-logo {
		width: 100%;
	}
	
	#jpa-popup .pop-up .jpa-logo img {
		width: 70%;
		margin: 0 auto;
	}
	
	.jpa-text {
		text-align: center;
		font-size: 22px;
		line-height: 24px;
		padding-bottom: 10px
	}
	
	.jpa-text br {
		display: none;
	}
	
	.jpa-logo-group {
		padding-bottom: 30px;
	}
	
	#jpa-popup .pop-up .jpa {
		padding-bottom: 20px;
	}

}