﻿/* CSS Stykling für Zuschussverfahren
Datum: 25.01.2024
Erstellt von: Claude Gils
Zuletzt geändert von: Jack Teare
*/

html, body {
	margin: 0 auto;
	/*width:1250px;*/
	/*height: 100%;*/
	font: 100%;
	font-family: LatoLatinWeb, Helvetica, sans-serif;

}
	
body {
	background: rgba(230,230,230,1);
	/*background: -moz-linear-gradient(top, rgba(230,230,230,1) 0%, rgba(246,246,246,1) 53%, rgba(255,255,255,1) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(230,230,230,1)), color-stop(53%, rgba(246,246,246,1)), color-stop(100%, rgba(255,255,255,1)));
	background: -webkit-linear-gradient(top, rgba(230,230,230,1) 0%, rgba(246,246,246,1) 53%, rgba(255,255,255,1) 100%);
	background: -o-linear-gradient(top, rgba(230,230,230,1) 0%, rgba(246,246,246,1) 53%, rgba(255,255,255,1) 100%);
	background: -ms-linear-gradient(top, rgba(230,230,230,1) 0%, rgba(246,246,246,1) 53%, rgba(255,255,255,1) 100%);
	background: linear-gradient(to bottom, rgba(230,230,230,1) 0%, rgba(246,246,246,1) 53%, rgba(255,255,255,1) 100%);*/
}

#kopfbereich {
	height: auto;
	background: #FFF;
	color: black;
	text-align: Left;
	vertical-align: middle;
	margin-bottom: 0;
}

#kopf-grid {
	display: grid; 
	grid-template-columns: 20% 60% 20%; 
	
}

#title {
	margin-top: 30px;
	margin-left: 8px;
	margin-right: 8px;
	font-size: 18pt;
	text-align: center;
	font-family: LatoLatinWeb, Helvetica, sans-serif;
}

.image-container {
	position: relative;
}

#freiburg_img {
	margin-top: 30px;
	margin-right: 30px;
	max-width: 100%;
	object-fit:scale-down;
	float: right;
	overflow:hidden;

}

#powered_fritz_img {
	margin-top: 30px;
	max-width: 100%;
	object-fit:scale-down;
	float: left;
	overflow:hidden;

}

#header {
	background:url(../../bilder/head_fr_startseite.jpg) no-repeat center top;
	background-size: 100% auto;
	height: 205px;
	padding: 5px 20px 5px 20px;
	margin-top: 20px;
	/* background-color: white; */
}

h2  {
	text-align: left;
	margin: 0 0 20px 0;
	padding: 10px 40px 10px 40px;
	font-size: 16pt;
	font-weight: normal;
}

p {
	margin: 0.8em 0 0.75em 0;; 
}

table {
	border-spacing: 0px;
}

#wrap {
	width: 60%;
	/*height: 99%;*/
	margin: auto;
	box-shadow: 0 0 12px rgba(75,75,75,.5);
	background: white;
}


#navibereich {
	background-color: #fff;
	padding: 0px 10px 0px 20px;
	margin-bottom: 0;
	border-top: 3px solid #b3b3b3;
	border-bottom: 3px solid #b3b3b3;		
}

#navibereich ul {
	margin: 5px 0 10px 0;
	width: 100%;
	text-align: center;
}

#navibereich li {
	display: inline; /* li nebeneinander anzeigen */
	list-style-type: none; /* ohne Aufzählungspunkte */
	margin: 0 20px 0 0;
}

#navibereich a { 
	font-weight: bold;
	display: inline-block;
	/*width: 30%;*/
}

.sticky {
	position: fixed;
	top: 0;
	width: 86.7%; /* Zahl durch Trial and Error festgelegt */
}

#inhalt {
	background-color: #FFF;
	padding:1em 2em 2em 2em;
}

a {
	padding: 3px;
	color: #AC162B;
	transition: color 0.15s, text-decoration 0.15s ;
}

a:focus {
	background-color: #AC162B;
	color: #F8F8F8;
}

a:hover {
	background-color: transparent;
	color: #710f1c;
	text-decoration: none
}

a:active {
	background-color: #AC162B;
	color: #F8F8F8;
}

/*.sticky-inhalt {
	padding-top: 6em !important ;
}*/

.content {
	min-height:58%;
}

#einleitung {
	min-height: 100px;
	padding: 20px 0 20px 0;
}

#einleitung p {
	/*text-align: center;*/
	padding: 10px 40px 10px 40px;
}
/*
#einleitung p::before {
	position: absolute;
	margin-left: -35px;
	margin-top: -2px;
	content:'';
	width: 15px;
	height: 15px;
	background-color:#AC162B;
	border-radius: 3px;
	border: 3px solid #8C0B1D;
}

#einleitung p:nth-of-type(2)::before {
	border: 3px solid #CE8119;
}

#einleitung p:nth-of-type(3)::before {
	border: 3px solid #F5E01B;
}
*/

#einleitung p span {
	display: inline-block;
	width: 245px;
	padding: 2px 3px 2px 3px;
	border-radius: 2px;
	background-color:#AC162B;
	color: white;
}

/*
#bottom_structure {
	display: grid;
	grid-template-columns: 1fr;
	/*
	border: 1px;
	border-color: lightpink;
	border-style: solid;
	*/
}
*/

#buttons_container { 
	display: grid; 
	grid-template-columns: 1fr; 
	min-height: 250px;
	position: relative;
	/*
	border: 1px;
	border-color: lightblue;
	border-style: solid;
	*/
}

/*#buttons_container div { 
	margin-left: 100px;
	margin-right: 100px;
	min-width: 300px;
}*/

a.button{
	display:block;
	padding:0.7em 1.0em;
	margin:1%  30%  1%  30% ;
	border-radius:50px;
	box-sizing: border-box;
	text-decoration:none;
	font-family:LatoLatinWeb, Helvetica, sans-serif;
	/*text-transform:uppercase;*/
	font-weight:700;
	color:#FFFFFF;
	background-color:#AC162B;
	/*text-shadow: -1px -1px 0 #444, 1px -1px 0 #444, -1px 1px 0 #444, 1px 1px 0 #444;*/
	box-shadow:inset 0 -0.6em 0 -0.35em rgba(0,0,0,0.17);
	text-align:center;
	position:relative;
	border:5px solid #8C0B1D;
	transition: opacity 0.15s;
}

div#buttons_container  div:nth-of-type(1)  ul.button-list  li  a.button {
	border: 5px solid #8C0B1D;
}

div#buttons_container  div:nth-of-type(2)  ul.button-list  li  a.button {
	border: 5px solid #8C0B1D;
}

a.button:hover {
	opacity: 0.7;
}

/*a.button:active{
	top:0.1em;
}*/



@media all and (max-width:30em){
	a.button{
		display:block;
		margin:0.4em auto;
	}
}

a.button-inactive:hover {
	background-color:#b3b3b3;
}
 
/*
ul.button-list  {
	padding-left: 0.5em;
	list-style: none
}
*/

.button-list {
	padding: 0 0 0 0;
	list-style: none
}

#footer {
	/*background-color: #b3b3b3;
	padding: 1px 20px 1px 0px;
	margin-bottom: 0;*/
	font-size: 10pt;
	padding:0 2em 1.2em 2em;
}
#footer li {
	display: inline; /* li nebeneinander anzeigen */
	list-style-type: none; /* ohne Aufzählungspunkte */
	margin: 0 20px 0 0; /* Abstand zwischen den Listenpunkten*/
}
#footer a { 
	font-weight: bold;
}

#impressum {
	float:right;
}

#impressum a {
	text-decoration: none;
	font-weight: bold;
	color: black;
}

#impressum a:hover {
	color: grey;
}



@media (max-width: 1600px) {
	#wrap {
		width: 70%;
		margin: auto;
	}
	
}



@media (max-width: 1150px) {
}

@media (max-width: 900px) {
	#wrap {
		width: 80%;
		margin: auto;
	}
	
	
	#title {
		font-size: 15pt;
	}

}

@media (max-width: 700px) {
	#wrap {
		width: 100%;
		margin: auto;
	}
}
	
.box {
	width: 900px;
	color: black;
	background-color: white;
	border: medium solid red;
	border-radius: 1em 1em 1em 1em;
	margin: 20px auto;
	padding: 2em;
}
	

