:root {
	/* 
	Change this color to customize colors of buttons on index.cx.html
	Default GWS Blue: #006FB8
	 */
	--highlight-color: rgba(1, 138, 42, 0.842);

	/*
	Hovering over a Button darkens the color to this one
	GWS Blue Default: #005c99
	*/
	--highlight-darker-color: rgba(5, 77, 20, 0.767);
}

@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 {
	height: 200px;
}

.logo a img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: -70px;
}

.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: var(--highlight-color);
	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;
}

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, #indexLoginError {
    display: none;
    text-align: center;
    padding-top: 20px;
}

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

#indexLoginError {
    color: red;
}

.loginProgress #loginWait {
    display: block;
}

.loginProgress #indexLoginError {
    display: none;
}

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

.loginError #indexLoginError {
    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: var(--highlight-color);
    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: var(--highlight-darker-color);
}

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

html, body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: fixed;
}

.gws {
	width: 100%;
	height: 100%;
}
#logo {
	display: block;
	position: absolute;
	bottom: 6px;
	right: 135px;
	z-index: 100;
	height: 26px;
}


@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;
	}
  }
