@font-face {
	font-family: Roboto;
	src: url('../fonts/Roboto/Roboto-Regular.ttf') format('truetype');
}

html {
	font-size: 16px;
	font-family: Roboto;
	line-height: 1.2;
}

body {
    width:100%;
	height: 100vh;
    text-align:left;
    background-color:#eeeeee;
	/*background-image: url("background.png");*/
	background-size: cover;
	background-position: center;
	display: flex;
	flex-direction: column;
}

header {
	width: 100%;
	top: 0;
}

footer {
	width: 100%;
	bottom: 0;
}

.content{
	max-width: 1200px;
	width: 100%;
	margin: auto;
	border: 0px;
	padding: 0rem 0rem;
}

main {
	background-color: none;
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	overflow-y: auto;
	flex-grow: 1;
}

main .content {
	/*min-height: 100%;*/
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding-top: 4rem;
}

.darkbar {
	width: 100%;
	background-color: #00213B;
	color: #ffffff;
	padding: 0.5rem 0rem;
}

.darkbar span {
	display: inline-block;
	margin-left: 2rem;
	font-size: 0.8rem;
	text-align: center;
}

.darkbar img {
    height: 0.8rem;
    margin-right: 0.4rem;
}

header .content {
	display: flex;
	text-align: right;
}

#motto {
	margin-right: auto;
	margin-left: 0.5rem;
	text-align: left;
}

footer .content {
	text-align: center;
}

footer .content span {
	margin-right: 1rem;
	margin-left: 1rem;
}

#navbar {
	width: 100%;
	background-color: #0062AD;
	color: #ffffff;
	padding: 0.5rem 0rem;
}

#navbar div{
	display: flex;
	justify-content: space-between;
}

.logo {
	margin: 0.5rem 0.5rem;
	display: block;
	height: 4.5rem;
}

.logo img {
	max-height: 100%;
}

#show-menu {
	display: none;
}



.menu {
	display: flex;
	vertical-align: middle;
	margin-top: auto;
	margin-bottom: auto;
	margin-right: 0.5rem;
}

.menu a {
	padding: 1rem 0rem 1rem 2rem;
	text-align: right;
	font-size: 1.4rem;
	font-weight: bold;
	text-transform: uppercase;
}

.menu a:hover {
	color: rgba(197, 211, 0, 0.5);
	text-decoration: none;
}

#selected {
	color: #c5d300;
}

.submenu {
	text-align: center;
	background-image: linear-gradient(to right, rgba(197, 211, 0, 0.8) 0%, rgba(197, 211, 0, 0.08) 0.5%, rgba(197, 211, 0, 0.08) 99.5%, rgba(197, 211, 0, 0.8) 100%);
	max-width: 1200px;
	width: 100%;
	display: flex;
	justify-content: center;
	margin-left: auto;
        margin-right: auto;
	border-bottom-right-radius: 0.2rem;
        border-bottom-left-radius: 0.2rem;
	margin-bottom: 0;
}

.submenu a {
	padding: 1.2rem 1rem;
	text-align: center;
	font-size: 1.4rem;
	font-weight: bold;
	color: #000000;
}

.submenu a:hover {
	color: rgba(0, 98, 173, 0.5);
	text-decoration: none;
}

.submenu #subselected {
	color: #0062AD;
}

h1 {
	font-size: 1.4rem;
	font-weight: bold;
	text-align: center;
	padding: 1.2rem 0;
	background-image: linear-gradient(to right, rgba(197, 211, 0, 0.8) 0%, rgba(197, 211, 0, 0.08) 0.5%, rgba(197, 211, 0, 0.08) 99.5%, rgba(197, 211, 0, 0.8) 100%);
	max-width: 1200px;
        width: 100%;
	color: #000000;
        border-bottom-right-radius: 0.2rem;
        border-bottom-left-radius: 0.2rem;
        margin-left: auto;
        margin-right: auto;
}


h2 {
	font-weight: bold;
	font-size: 1.2rem;
	margin-bottom: 0.5rem;
}

h3 {
	font-weight: bold;
	font-size: 1.1rem;
	margin-bottom: 0.5rem;
}

h4 {
	font-weight: bold;
	font-size: 1rem;
	margin-bottom: 0.3rem;
}

#g {
	background-image: linear-gradient(to right, rgba(197, 211, 0, 0.8) 0%, rgba(197, 211, 0, 0.08) 0.5%, rgba(197, 211, 0, 0.08) 99.5%, rgba(197, 211, 0, 0.8) 100%);
	color: #000000;
    border-top-right-radius: 0.2rem;
    border-top-left-radius: 0.2rem;
	margin-top: auto;
}

#b {
	background-image: linear-gradient(to right, rgba(0, 98, 173, 0.8) 0%, rgba(0, 98, 173, 0.08) 0.5%, rgba(0, 98, 173, 0.08) 99.5%, rgba(0, 98, 173, 0.8) 100%);
    color: #000000;
    border-top-right-radius: 0.2rem;
    border-top-left-radius: 0.2rem;
	margin-top: auto;
}

.contact p {
	max-width: 100%;
	text-align: center;
	color: #000000;
	padding: 1rem 1rem;
	margin: 0;
}

a:hover {
	text-decoration: underline;
}

.text a::after, .green a::after, .blue a::after, #b a::after, #g a::after {
	content: "";
	display: inline-block;
	height: 0.8rem;
	width: 0.85rem;
	margin-left: 0.2rem;
	background: url('link_schwarz.png');
	background-size: contain;
}

/*.text a::after, .blue a::after {
	background: url('link_schwarz.png');
	background-size: contain;
}

.green a::after {
	background: url('link_schwarz.png');
	background-size: contain;
}
*/

ul {
	list-style-type: disc;
	list-style-position: outside;
	margin-left: 2rem;
	margin-bottom: 0.5rem;
}

ol {
	list-style-type: decimal;
	list-style-position: outside;
	margin-left: 2rem;
	margin-bottom: 0.5rem;
}

p {
	margin-bottom: 0.5rem;
	text-align: justify;
}


@media (max-width: 900px) {
	html {
		font-size: 14px;
	}
}

@media (max-width: 650px) {
	html {
		font-size: 12px;
	}
}

@media (max-width: 550px) {
	#navbar .content {
		display: block;
	}
	
	.logo {
		margin-right: 100%;
	}
	
	.menu {
		display: none;
	}
	
	#show-menu +label {
		display: block;
		float: right;
		margin-top: -3.9rem;
		margin-right: 2rem;
		width: 40px;
		height: 40px;
		background-image: url("menuicon.png");
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center;
	}
	
	#show-menu:checked~.menu {
		display: flex;
		flex-direction: column;
		margin-left: 0.5rem;
		margin-top: 1rem;
	}

	.menu {

	}
	
	.menu a {
		text-align: left;
	}
}

@media (max-width: 450px) {
	#motto {
		display: none;
	}
}
