@charset "UTF-8";

html {
	height:100%;
}
body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	background-color: #d2e4ff;
	background-image: url(../images/body_hintergrund.png);
	margin: 0;
	height: 100%;
    min-width: 300px;
}
h1 {
	font-size: 1.5rem;
}
h1, h3 {
	margin: 0 0 1em 0;
}
p {
	margin: 0 0 1em 0;
}
a {
	color: #666;
	text-decoration:none;
}
a:hover {
	color: #000;
}
#verlauf {
	background-image: url(../images/verlauf.png);
	background-repeat: repeat-x;
	height: 100%;
}
img {
	border:none;
}
#zentrieren {
    padding: 1rem 3%;
}
#kopf {
	
}

#logo {
    max-height: 50px;
    width: auto;
    margin: 10px 3%
}

/* ------------- Navi ------------ */

.topnav {
    overflow: hidden;
    position: relative;
}

.topnav #myLinks {
    display: none;
    margin-bottom: 1rem;
}

.topnav a {
    color: #666666;
    padding: 10px 3%;
    text-decoration: none;
    display: block;
}

.topnav a.icon {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
}

.topnav a:hover {
    /*background-color: #ddd;*/
    color: black;
}

.active {
    background-color: #04AA6D;
    color: white;
}

/*
#menu {
    position: absolute;
	width: 115px;
    left: 20px;
	padding: 20px 0 0 10px;
    background-color:#ddd;
    border: 1px solid #666;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    -moz-box-shadow: 2px 2px 10px #999;
}
#menu ul {
	margin:0;
	padding:0;
}
#menu ul li {
	list-style:none;
	margin: 0 0 15px 0;
	padding: 0;
}
#content {
    position: absolute;
    min-width: 700px;
    left: 165px;
    right: 20px;
	padding: 20px 25px;
    background-color:#FFF;
    border: 1px solid #666;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    -moz-box-shadow: 2px 2px 10px #999;
}
*/

#menu {
    margin: 0 3%;
    padding-bottom: 20px;
    display: flex;
    overflow-x: auto;
}

#menu .menu-item {
    margin-right: 1.5rem;
}

#menu a {
	text-decoration: none;
	color: #666;
    white-space: nowrap;
}
#menu a:hover {
	color: #000;
}

#content {
    padding: 20px 3%;
    background-color:#FFF;
}

.box {
	background-color:#d2e4ff;
	border: 1px solid #666;
	padding: 3%;
	-moz-border-radius: 6px; 
	-webkit-border-radius: 6px;
	border-radius: 6px; 
	-moz-box-shadow: 2px 2px 10px #999;
}
.box h3 {
	margin: 0 0 3px 0;
}
.box table td {
    padding: 5px;
    text-align:left;
	vertical-align: top;
    border-top:1px solid #999;
}
.box table th {
    padding: 5px;
    text-align:left;
	vertical-align: top;
    font-weigh: bold;
}
.box .rechtsbuendig {
    text-align:right; !important
}
a.detail_link {
    font-weight:bold;
    color: #006;
}
a.detail_link:hover {
    color: #666;
}
.news_datum {
	float:right;
    text-align:right;
    padding: 0 0 10px 10px;
}
.news_laeuft_ab {
    font-size:0.8rem;
}

.menu_unter_box,
.menu_ueber_box {
    display: flex;
    flex-wrap: wrap;
}

.menu_unter_box a,
.menu_ueber_box a {
    display: flex;
    flex-wrap: wrap;
    white-space: nowrap;
    margin-right: 30px;
    margin-bottom: 10px;
}

.menu_unter_box {
	margin-bottom: 20px;
	padding-top:5px;
}

.pflichtfeld {
    color: #f00;
    margin-top:0;
}

/*
.inscribe_name {
    width: 200px;
    float: left;
}

.inscribe_kommentar {
    background-color: #f00;
}
*/

.flex {
    display: flex;
    flex-wrap: wrap;
}

.flex-element {
    margin-right: 2rem;
    margin-bottom: 1rem;
}

.box table.anmeldungen td {
    border-top: none;
    padding: 0px;
    text-align: left;
    vertical-align: top;
}
.thbox {
    width:180px;
    height:180px;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    float:left;
}
.dokument {
    margin-bottom: 10px;
}

.table-wrapper {
    overflow-x: auto;
}


.form-field {
    margin-bottom: 1rem;
}

.label {
    display: block;
    margin-bottom: 0.2rem;
}

.login-form {
    margin: 0 auto;
    max-width: 400px;
}

.form-input {
    font-family: Arial, Helvetica, sans-serif;
    font-size: inherit;
    padding: 0.6rem;
    box-sizing: border-box;
    width: 100%;
}

.button {
    display: block;
    box-sizing: border-box;
    text-align: center;
    font-size: inherit;
    -webkit-appearance: button;
    border-radius: 3px;
    padding: 1.1rem 1rem;
    background: #009bce;
    border: 1px solid #009bce;
    flex: 0 0 100px;
    color: #fff;
    width: 100%;
    cursor: pointer;
}

.button:active,
.button:hover,
.button:focus {
    background: #00759b;
    color: #fff;
}

.button.second {
    background: transparent;
    color: #009bce;
}

.button.second:active,
.button.second:hover,
.button.second:focus {
    background: #00759b;
    color: white;
}

.inscribe-list {
    margin: 0.5rem 0 1rem 0;
    padding: 0 0 0 25px;
}

.inscribe-row {
    margin-bottom: 0.3rem;
}

.inscribe-comment {
    font-size: 0.8rem;
}

@media screen and (min-width: 768px) {
    #logo {
        max-height: none;
    }

    .box {
        padding: 1rem;
    }

    .form-group {
        display: flex;
    }

    .form-group .form-field:first-child {
        width: 98%;
        margin-right: 2%;
    }

    .form-group .form-field:last-child {
        width: 98%;
        margin-left: 2%;
    }

}