/* 
@author Valentin Küchler, Robert Goldbrich
@version 2
*/
@import url('https://fonts.googleapis.com/css?family=Roboto');



/* ------------------------------------- ÃœBERGEORDNETE ELEMENTE ------------------------------------- */
hmtl, body{
   margin: 0;
   padding: 0;
   background-color: #FFF;
   font-family: 'Roboto', sans-serif;
   min-height: 100%;
}

form {
	position: relative;
}

.header{
    width: 100%;
    height: 150px;
    background-color: #1A4973;
}

.footer{
    position: fixed;
    font-size: small;
    padding-left: 10px;
    display: block;
    height: auto;
    bottom: 0;
    width: 100%;
    background-color: #FFF;
	-webkit-box-shadow: 0px -2px 2px rgba(50, 50, 50, 0.55);
    -moz-box-shadow:    0px -2px 2px rgba(50, 50, 50, 0.55);
    box-shadow:         0px -2px 2px rgba(50, 50, 50, 0.55);
}

.footer a{
    color: #000;
}

a{
    color: #FFF;
}

.form{
    width: 100%;
    margin: -79px auto 90px;
    background-color: #F4F4F4;
    max-width: 800px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    border-radius: 2px;
}




/* ------------------------------------- ERFOLGS- UND FEHLERMELDUNGEN ------------------------------------- */

.meldung{
    position: fixed;
    background-color: #e53935;
    color: #FFF;
    top: 0px;
    left: 0;
    width: 100%;
    padding: 10px 10px;
    max-height: 60px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.erfolg{
    position: fixed;
    background-color: #4CAF50;
    color: #FFF;
    top: 0px;
    left: 0;
    width: 100%;
    padding: 10px 10px;
    max-height: 60px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.krankmeldung-erfolg{
    background-color: #3f70ad;
    position: fixed;
    color: #FFF;
    top: 0px;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 100px 0 0 0;
    text-align: center;
    font-size: xx-large;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.meldung:empty, .erfolg:empty, .krankmeldung-erfolg:empty{
    display: none;
    visibility: hidden;
}





/* ------------------------------------- FORMULAR ELEMENTE ------------------------------------- */

.form legend{
    font-size: x-large;
    background-color: #3A6993;
    padding: 25px 20px;
	color: #FFF;
	margin-top: 1.5rem;
}

.Formular {
	position:relative;
}

.admin-link {
	float: right;
	margin: 2rem 2rem;
	transition: transform 100ms ease;
}

.admin-link:hover{
	transform: scale(1.1);
}
.admin-link a {
	text-decoration: none;
}

.admin-link a:hover {
	text: #fff;
}

.code{
	width: 200px;
	text-align: center;
}


#l_code{
	font-size: 18px;
	#text-align: center;
	#display: block;
}

#l_klausur{
	font-size: 18px;
	color: #bf1515;
	margin: 0 0 0 2.5%;
	margin-bottom: 20px;
	padding: 8px;
}

#c_klausur{
	margin-top: 2.5%;
	transform: scale(1.2);
}

#code-link a{
	color: blue;
	margin-left: 5.2rem;
	font-size: 14px;
}

#code-link: hover{
	cursor: pointer;
	text-decoration: none;
}

#anker1{
	color: #bf1515;
}

#fn1{
	font-size: 12px;
	color: DimGrey;
	margin-right: 40px;
	padding-bottom: 5px; 
}

.submit_code {
	background-color: #3A6993;
    color: #FFF;
	display: inline-block;
	width: 180px;
	height: 30px;
	border-radius: 8px;
	transition: transform 100ms ease-out;
	margin-top: 15px;
}

.submit_code:hover{
	background-color:#5588b5;
	transform: scale(1.05);
}
	
.grid-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	justify-items: center;
	
	
}

@media(max-width: 350px) {
.grid-container{
		grid-template-columns: 1fr;
	}
}

.text-input{
    width: 95%;
    padding:8px;
    display:block;
    border:none;
    border-bottom:1px solid #ccc;
    border-right:1px solid #ccc;
    background-color: #FFF;
    margin: 0.75rem auto;
}

.text-input:focus{
    border-bottom:1px solid #3A6993;  
}

input, button{
    font: inherit;
}

label{
    margin: 0 0 0 2.5%;
    display: inline-block;
}

label, .normal-button, .submit, .upload-label{
    margin-top: 15px !important;
}



.select-input{
   width: 95%; 
   margin: 0.75rem auto;
   display: block;
   padding: 8px;
   border:none;
   border-bottom:1px solid #ccc;
   font: inherit;
}

.normal-button, .submit{
    border:none;
    overflow:hidden;
    text-decoration:none;
    color:inherit;
    text-align:center;
    cursor:pointer;
    width: auto;
    padding:8px;
    display: inline-block;
    margin: 0 0 0 2.5%;
}

input{
    box-sizing:border-box;
    webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.submit{
    background-color: #3A6993;
    margin-bottom: 20px;
    color: #FFF;
	display: inline-block;
	width: 180px;
	border-radius: 3px;
	transition: transform 100ms ease-out;
}

.submit:hover{
	background-color:#5588b5;
	transform: scale(1.05);
}

.normal-button, .upload-label{
    background-color:#ccc;
}

.upload-button{
    max-width: 400px;
    padding:8px;
    margin: 0 2.5% 0 2.5%; 
    width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}

.upload-label{
    border:none;
    overflow:hidden;
    color:inherit;
    cursor:pointer;
    width: 90%;
    max-width: 150px;
    text-align: center;
    padding:15px;
    margin: 0 30px 0 2.5%;
    text-decoration: underline;
}

.hilfe-button{
    margin: 0 0 0 2%;
    display: inline-block;
    border:none;
    overflow:hidden;
    text-decoration:none;
    color:inherit;
    cursor:pointer;
    background-color: #CCC;
    border-radius: 100%;
    vertical-align: text-bottom;
    padding: 0;
    width: 20px;
    height: 20px;
}

.radio-input{
    margin: 0 30px 0 10px;
}

.radio-label{
    margin: 0 0 0 50px !important;
}

table{
    width: 90%;
    margin: 30px auto;
    text-align: center;
    border-collapse:collapse;
    border-spacing:0;
}

table tr:nth-child(even){
    background-color:#FFF
}

table tr{
    border-bottom:1px solid #ddd;
}

td, th{
    padding: 8px;
}

.label-title{
    text-decoration: underline;
}

input:disabled{
    background-color: #EEE;
    border: none;
}

input[type="file"]{
    margin-left: 2.5%;
}
