@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    src: url(roboto.ttf) format('truetype');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 600;
    src: url(roboto.ttf) format('truetype');
}

.headerstart {
	display: flex;
	justify-content: center;
}

.headerstart img {
	height: 120px;
	margin: 50px;
}

.logo a img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    max-width: 50%;
    height: auto;
}

.login {
    margin-top: 100px;
}

.anmeldung {
	width: 360px;
	margin: auto;
}

.form {
	position: relative;
	z-index: 1;
	background: #FFFFFF;
	max-width: 360px;
	margin: 0 auto 40px;
	padding: 45px;
	text-align: left;
    border: 1px solid #d6dadc;
}

.form input {

	font-family: "Roboto", sans-serif;
	outline: 0;
	width: 100%;
	border: 1px solid #bac1c4;
	margin: 0 0 15px;
	padding: 15px;
	box-sizing: border-box;
	font-size: 14px;
    border-radius: 8px;
}

.form h1 {
	font-size: 32px;
    color: black;
    font-weight: 400;
	text-align: center;
}

.form button {
	font-family: "Roboto", sans-serif;
	outline: 0;
	background: #000000;
	width: 100%;
	border: 0;
	padding: 15px;
	color: #FFFFFF;
    font-weight: 900;
	font-size: 16px;
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
	cursor: pointer;
    border-radius: 8px;
}

.form table{
	display: flex;
	justify-content: center;
	padding: 18px;
}

body {
	background: #FBFBFB; /* fallback for old browsers */
	background: -webkit-linear-gradient(right, #FBFBFB);
	background: -moz-linear-gradient(right, #FBFBFB);
	background: -o-linear-gradient(right, #FBFBFB);
	background: linear-gradient(to left, #FBFBFB);
	font-family: "Roboto", sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a {
	color: #ffffff;
}

#loginWait, #loginErrorMessage {
    display: none;
    text-align: center;
    padding-top: 20px;
}

#loginWait {
    background: url('/ajax.gif') center center no-repeat;
}

#loginErrorMessage {
    color: red;
}

.loginProgress #loginWait {
    display: block;
}

.loginProgress #loginErrorMessage {
    display: none;
}

.loginProgress #loginButton {
    opacity: 0.3;
    pointer-events: none
}

.loginError #loginErrorMessage {
    display: block;
}

.login #gwsError {
	display: none;
	font-weight: bold;
	color: rgb(165, 0, 0);
	text-align: center;
	padding: 1em;
}
.login.loginError #gwsError {
	display: block!important;
}

.projekte {
    text-align: center;
}

.projekte-title {
	color: #000;
	font-weight: normal;
}

.grid-wrapper {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

.grid-element {
    margin-bottom: 10px;
}

.grid-element a {
    text-decoration: none;
    font-weight: bold;
}

.grid-button {
    display: flex;
    height: 45px;
}

.grid-button-img {
    flex: 1;
    border-radius: 8px 0 0 8px;
    background-size: cover;
	min-width: 120px;
}

.grid-button-text {
    flex: 3;
    border-radius: 0 8px 8px 0;
    background: #000000;
    line-height: 45px;
    color: white;
    -webkit-clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
    margin-left: -60px;
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
	text-align: left;
	padding-left: 70px;
}

.footer {
	position: absolute;
	bottom: 20px;
	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
}

.footer-box {
	text-align: center;
	margin-top: 50px;
}

.footer-box a {
	color: #000;
	text-decoration: none;
}

.footer-box a:first-of-type {
	margin-right: 30px;
}

#loginButton:hover, #logoutButton:hover, .grid-button-text:hover {
	background: #2b353c;
}

.user-display-name {
	text-align: center;
}

@media only screen and (max-width: 640px) {
	.login {
		margin-top: 40px;
	}

	.form {
		margin-bottom: 10px;
	}

	.form h1 {
		font-size: 24px;
	}

	.footer {
		position: inherit;
		transform: none;
		-webkit-transform: none;
	}

	.projekte-title {
		font-size: 20px;
	}

	.grid-button-img {
		min-width: auto;
	}

	.grid-button-text {
		flex: 2;
		padding-left: 50px;
		font-size: 14px;
	}
}

.myInfobarLinkIcon {
	background-image: url('/svg/privacy_tip_white_24dp.svg')
}

.pgLayer {
	--fill: rgba(123,12,1,0.3);
	--mark: circle;
	--mark-fill: rgb(100,0,0);
	--mark-size: 20px;
	--label-fill: rgb(255,255,255);
	--label-background: rgba(0,0,0,.5);
	--label-padding: 1;
	--label-offset-y: 20;
    --with_label: all;
    --label-font-size: 14px;
    /*--label-max-scale: 0;*/
	stroke: rgba(123, 12, 1, 0.9);
	stroke-width: 2px;
}
