/** Schriften **/
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700);

:root {
	--fontFamily: Verdana, sans-serif;

	--textColor: rgb(81, 81, 81);
	--borderColor: rgb(81, 81, 81);
	--bulletColor: rgb(81, 81, 81);

	--aColor: #00589c;
	--aHoverColor: rgb(81, 81, 81);

	--btnBackColor: #fff;
	--btnBackHoverColor: #00589c;
	--btnTextColor: #00589c;
	--btnTextHoverColor: #fff;

	--fontSize: 14px;

	--h1Size: 26px;
	--h1LineHeight: 38px;
	--h1Color: var(--aColor);
	--h1BackColor: transparent;

	--h2Size: 14px;
	--h2LineHeight: 20px;
	--h2Color: var(--textColor);
	--h2BackColor: transparent;

	--h3Size: 16px;
	--h3LineHeight: 40px;
	--h3Color: var(--textColor);
	--h3BackColor: transparent;
}

/** Reset **/
* {
	margin: 0;
	padding: 0;
	position: relative;
	box-sizing: border-box;
}

html,
body {
	background-color: #fff;
}

p {
	padding: 5px 0;
}

ul,
ol {
	padding: 0;
}

/** Standards **/
#wrapper {
	margin: 0 auto;
	max-width: 900px;
	font-family: var(--fontFamily);
	font-size: 14px;
	line-height: 20px;

	border: solid 1px var(--h2Color);
	margin-bottom: 20px;
}

h2:empty,
div:empty,
p:empty,
section:empty {
	display: none;
}

a[href^="tel:"] {
	white-space: nowrap;
}

a {
	color: var(--aColor);
	text-decoration: none;
}

a:hover {
	color: var(--aHoverColor);
}

ul {
	list-style: none;
	margin-left: 18.5px;
}

ul li::before {
	content: "";
	background-color: var(--bulletColor);
	position: absolute;
	width: 4px;
	height: 4px;
	left: 0;
	top: 8px;
	margin-left: -15px;
	border-radius: 50%;
}

body {
	color: var(--textColor);
}

h1 {
	color: var(--h1Color);
	background-color: var(--h1BackColor);
	font-size: var(--h1Size);
	line-height: var(--h1LineHeight);
}

h2 {
	color: var(--h2Color);
	background-color: var(--h2BackColor);
	font-size: var(--h2Size);
	line-height: var(--h2LineHeight);
}

.btn {
	background-color: var(--btnBackColor);
	color: var(--btnTextColor);
}

.btn:hover {
	background-color: var(--btnBackHoverColor);
	color: var(--btnTextHoverColor);
}

.noWrap {
	white-space: nowrap;
}

#mainMobile {
	display: none;
}

#main {
	display: block;
}

section {
	padding-bottom: 25px;
}

header div#logos {
	padding: 36px 4% 36px 4%;
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-template-rows: 1fr;
	gap: 0 20%;
}

header div#logos a img#logoPotzdamT {
	top: 20%;
}

header div#imgHeader img {
	width: 100%;
}

main {
	padding: 36px 4% 36px 4%;
}

main #intro {
	padding-bottom: 10px;
}

main div#floatElement .bgImg {
	width: 100%;
	max-width: 422px;
	height: auto;
	float: right;
	shape-outside: ellipse();
	margin: -4px -10px -3px -3px;
}

main section#modalities {
	padding-top: 15px;
	padding-bottom: 0;
}

main section#modalities table tr td:first-child {
	padding-top: 1px;
	padding-bottom: 1px;
	font-weight: 700;
	width: 175px;
	padding-right: 12px;
	vertical-align: top;
}

main section#title div:first-child {
	padding-bottom: 36px;
}

main section#title #jobID {
	color: var(--aColor);
}

#siegelStern {
	width: 100px;
	float: right;
	/* top: 20px; */
	margin-left: 20px;
	margin-bottom: 20px;
	margin-right: 20px;
}


footer {
	padding: 36px 4% 36px 4%;
	background: #f0f0f0 url("https://assets.stellenpool24.de/gfz/img/topographic-pattern.png");
}

footer #grid {
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 5fr;
	grid-template-rows: repeat(2, 1fr);
	grid-column-gap: 36px;
	grid-row-gap: 0;
}

footer #main {
	grid-area: 1 / 2 / 3 / 3;
}

footer .apply {
	grid-area: 1 / 1 / 2 / 2;
}

footer .apply a.btn {
	display: block;
	/*width: 100%;*/
	margin-top: 27.5px;
	padding: 12px;
	box-sizing: border-box;
	border: 1px solid #d9dada;
	background-color: var(--btnBackColor);
	color: var(--btnTextColor);
	text-transform: uppercase;
	font-size: 13px;
	transition: all ease-in-out 0.2s;
}

footer .apply a.btn:hover {
	background-color: var(--btnBackHoverColor);
	border-color: var(--btnBackHoverColor);
	color: var(--btnTextHoverColor);
}

footer .apply a.btn span {
	transform: rotate(45deg);
	border: 1px solid #00589c;
	border-bottom: 0;
	border-left: 0;
	height: 7px;
	width: 4px;
	display: inline-block;
	vertical-align: 1px;
	transition: all ease-in-out .3s;
	padding-left: 6px;
	font-weight: 900;
	font-size: 1.3rem;
}
.btn p {
	margin: 0;
	padding: 0;
}
.btn p:after {
    content: '';
    transform: rotate(45deg);
    border: 1px solid #00589c;
    border-bottom: 0;
    border-left: 0;
    height: 5px;
    width: 5px;
    display: inline-block;
    vertical-align: 1px;
    transition: all ease-in-out .3s;
    padding-left: 6px;
    font-weight: 900;
    font-size: 1.3rem;
    padding: 0;
    margin: 0 0 1px 5px;
}

footer #bottomLeft {
	grid-area: 2 / 1 / 3 / 2;
	width: 142px;
}

#charta {
	float: left;
	margin-top: 30px;
	margin-right: 30px;
}

#charta img {
	width: 100% !important;
	max-width: 220px !important;
}

#fernlab img {
	max-width: 100px !important;
}

footer #extraLogo #logoWHFP {
	top: 36px;
	margin-left: -150px;
}

.zweiLogos {
	width: 150px;
	height: 50px;
	top: -40px;
}

.zweiLogos img {
	display: block;
}

footer section#equality {
	padding-bottom: 0;
	margin-bottom: 0;
}

footer #end {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	padding-top: 42px;
	width: 100%;
}

footer #end svg#gfz_logo_footer {
	height: 21px;
	max-width: 158px;
}

main {
	padding: 36px 0 0;
}

main > section,
#floatElement {
	margin-right: 4%;
	margin-left: 4%;
}

#footer {
	clear: both;
	margin-top: 30px;
	padding: 36px 4% 36px 4%;
	background: #f0f0f0 url("https://assets.stellenpool24.de/gfz/img/topographic-pattern.png");
}

#gfz_logo_footer {
	height: 21px;
	max-width: 158px;
}
#gfz_logo_footer img {
	width: 100%;
}

#applyGrid {
	display: grid;
	grid-template-columns: 22% 78%;
	align-items: start;
}

/* #applyGrid section {
	grid-row-start: 1;
	grid-column-start: 2;
	grid-row-end: 3;
	padding-bottom: 0;
} */

#applyGrid > .btn,
#extraLogo img {
	max-width: 80%;
}

#extraLogo {
	place-self: start;
	align-self: self-end;
}

#applyGrid section p:has(a.btn),
#applyGrid section .btn {
	display: none;
}

.btn span {
	transform: rotate(45deg);
	border: 1px solid #00589c;
	border-bottom: 0;
	border-left: 0;
	height: 7px;
	width: 4px;
	display: inline-block;
	vertical-align: 1px;
	transition: all ease-in-out .3s;
	padding-left: 6px;
	font-weight: 900;
	font-size: 1.3rem;
}

.btn {
	white-space: nowrap;
	display: block;
	margin-top: 27.5px;
	padding: 12px;
	box-sizing: border-box;
	border: 1px solid #d9dada;
	background-color: var(--btnBackColor);
	color: var(--btnTextColor);
	text-transform: uppercase;
	font-size: 13px;
	transition: all ease-in-out 0.2s;
}

#end {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	padding-top: 42px;
	width: 100%;
}

#siegelStern {
	max-width: 30%;
}

#footer {
	margin-top: 30px;
	padding: 36px 4% 36px 4%;
	background: #f0f0f0 url("https://assets.stellenpool24.de/gfz/img/topographic-pattern.png");
}

#applyGrid {
	display: grid;
	grid-template-columns: 22% 78%;
	align-items: start;
}

/* #applyGrid section {
	grid-row-start: 1;
	grid-column-start: 2;
	grid-row-end: 3;
	padding-bottom: 0;
} */

#applyGrid > .btn,
#extraLogo img {
	max-width: 80%;
}

#end {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	padding-top: 42px;
	width: 100%;
}

#legal {
	order: 4;
}

@media screen and (max-width: 650px) {
	/* #applyGrid section p:has(a.btn) {
		display: block;
	} */
	/* #applyGrid section .btn {
		display: block;
		margin: 20px 10px;
	} */
	/* #applyGrid > .btn {
		display: none;
	} */

	#applyGrid {
		display: grid;
		grid-template-columns: 100%;
	}

	#applyGrid > a.btn {
		order: 2;
		display: block;
		max-width: 100%;
		margin: 0 0 25px 0;
	}

	#applyGrid section {
		grid-column-start: 1;
	}

	#extraLogo img {
		width: 40%;
		max-width: 220px;
	}

	#legal {
		order: 3;
	}
	#extraLogo {
		top: 0;
		place-self: start;
		order: 4;
	}

}