#parent{
    overflow: hidden; 
    width: 100%;
}

@media print {
    #menu
    {
        display: none;
    }
    h1{
        font-size: 16px;
    }
    hr.trennstrich {
        border: 0;
        height: 2px;
    }
    #content {
        padding: 10px 10px 10px 15px;
        min-height: 100%;
        margin-left: 0px;
    }
    #content table tr{
        margin-bottom: 5px;
        margin-top: 5px;
    }
}

@media (max-width: 760px){ /*KLEINE ANSICHT*/
    #content {
        min-height: 100%;
        background-color: #E6E6E6;
        
        background: -moz-linear-gradient(top,  #4d91a6 0%,#E6E6E6 3%);
        
        background: -webkit-linear-gradient(top,  #4d91a6 0%,#E6E6E6 3%);
            
        background: linear-gradient(to bottom, #4d91a6 0%,#E6E6E6 3%);
        
        margin: 5px 5px 5px 10px;
        padding: 1px 10px 5px 5px; 
    }
    
    #menu
    {
        background-color: #4d91a6;

        padding: 0px 0px 0px 2px;
        color: white;
    }

    hr.trennstrich {
        border: 0;
        height: 0;
        -webkit-box-shadow: -5px 0px 3px 3px rgba(77,145,166,1);
        -moz-box-shadow: -5px 0px 3px 3px rgba(77,145,166,1);
        box-shadow: -5px 0px 3px 3px rgba(77,145,166,1);
        margin-bottom: 30px;
    }
    
    #logo {
        width: 50%;
        margin-left: 25%;
    }

    #menu input
    {
        margin-bottom: 10px;
    }

    #menu #submit
    {
        float:right;
    }

    #menu .button
    {
        float:right;
    }

    #menu .error
    {
        background-color: rgba(255,255,255,0.6);
    }

    #menu ul{
        list-style-type: none;
        margin: 0px 0px 0px 4px;
        padding: 0px; 
    }

    #menu ul a{
        color: white;
        text-decoration:none;
        padding-left: 5px;
    }

    .menuitem{
        margin-bottom: 5px;
        padding-left: 5px;
        font-size: 15pt;
    }

    .subitem{
        padding-left: 20px;
        font-size: 13pt;
    }

    .subsubitem{
        padding-left: 35px;
        font-size: 13pt;
    }

    .menuitem:hover{
        border-radius: 11px 11px 11px 11px;
        -moz-border-radius: 11px 11px 11px 11px;
        -webkit-border-radius: 11px 11px 11px 11px;
        background-color: rgba(255,255,255,0.5);
        box-shadow: 0px 0px 5px 4px rgba(255,255,255,0.5);
    }

    .menuitem.active
    {
        border-radius: 11px 11px 11px 11px;
        -moz-border-radius: 11px 11px 11px 11px;
        -webkit-border-radius: 11px 11px 11px 11px;
        background-color: white;
        box-shadow: 0px 0px 5px 4px rgba(255,255,255,0.5);
    }

    .menuitem.active a{
        color: black !important;
    }
    
    .halfwidth{
        width: 100%;
    }

    .halfwidth table tr{
        background: white;
    }
}

@media (min-width: 760px){ /*GROßE ANSICHT*/
    #content {
        background-color: #E6E6E6;
        background: -moz-linear-gradient(left,  #4d91a6 0%,#E6E6E6 1%);
        background: -webkit-linear-gradient(left,  #4d91a6 0%,#E6E6E6 1%);
        background: linear-gradient(to right, #4d91a6 0%,#E6E6E6 1%);


        position: absolute;
        top: 0px;
        margin-left: 18%;
        padding: 10px 10px 10px 15px;
        top: 0px;
        width: calc(82% - 28px);
        min-height: 100%;
    }
    
    #menu
    {   
        background-color: #4d91a6;
        
        position: absolute;
        top: 0px;
        left: 0px;
        padding: 25px 10px 10px 5px;
        margin: 0px 0px 0px 0px;
        width: 18%;
        min-width: 170px;
        height: 100%;

        color: white;
    }

    hr.trennstrich {
        border: 0;
        height: 0;
        -webkit-box-shadow: -6px 0px 5px 5px rgba(77,145,166,1);
        -moz-box-shadow: -6px 0px 5px 5px rgba(77,145,166,1);
        box-shadow: -6px 0px 5px 5px rgba(77,145,166,1);
        margin-bottom: 50px;
    }
    
    #logo {
        width: 100%;
        background-color: rgba(255,255,255,0.6);
        margin-bottom: 25%;
    }

    #menu input
    {
        margin-bottom: 10px;
    }

    #menu #submit
    {
        float:right;
    }

    #menu .button
    {
        float:right;
    }

    #menu .error
    {
        background-color: rgba(255,255,255,0.6);
    }

    #menu ul{
        list-style-type: none;
        margin: 0px 0px 0px 4px;
        padding: 0px; 
    }

    #menu ul a{
        color: white;
        text-decoration:none;
        padding-left: 5px;
    }

    .menuitem{
        margin-bottom: 5px;
        padding-left: 5px;
        font-size: 12pt;
    }

    .subitem{
        padding-left: 20px;
        font-size: 10pt;
    }

    .subsubitem{
        padding-left: 35px;
        font-size: 10pt;
    }

    .menuitem:hover{
        border-radius: 11px 11px 11px 11px;
        -moz-border-radius: 11px 11px 11px 11px;
        -webkit-border-radius: 11px 11px 11px 11px;
        background-color: rgba(255,255,255,0.5);
        box-shadow: 0px 0px 5px 4px rgba(255,255,255,0.5);
    }

    .menuitem.active
    {
        border-radius: 11px 11px 11px 11px;
        -moz-border-radius: 11px 11px 11px 11px;
        -webkit-border-radius: 11px 11px 11px 11px;
        background-color: white;
        box-shadow: 0px 0px 5px 4px rgba(255,255,255,0.5);
    }

    .menuitem.active a{
        color: black !important;
    }
    
    .halfwidth{
        width: 50%;
        float: left;
    }

    .halfwidth table tr{
        background: white;
    }
}

.error{
    color: red;
}

.success{
    color: green;
}

body {
    font-family: "Droid Sans";
	background-color: #4d91a6;
}

.button {
	-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf));
	background:-moz-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
	background:-webkit-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
	background:-o-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
	background:-ms-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
	background:linear-gradient(to bottom, #ededed 5%, #dfdfdf 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf',GradientType=0);
	background-color:#ededed;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #dcdcdc;
	display:inline-block;
	cursor:pointer;
	color:#777777;
	font-family:Droid Sans;
	font-size:15px;
	padding:6px 24px;
	text-decoration:none;
	text-shadow:0px 1px 0px #ffffff;
}
.button:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed));
	background:-moz-linear-gradient(top, #dfdfdf 5%, #ededed 100%);
	background:-webkit-linear-gradient(top, #dfdfdf 5%, #ededed 100%);
	background:-o-linear-gradient(top, #dfdfdf 5%, #ededed 100%);
	background:-ms-linear-gradient(top, #dfdfdf 5%, #ededed 100%);
	background:linear-gradient(to bottom, #dfdfdf 5%, #ededed 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed',GradientType=0);
	background-color:#dfdfdf;
}
.button:active {
	position:relative;
	top:1px;
}

@font-face {
    font-family: 'Droid Sans';
    src: url('fonts/DroidSans.ttf') format('opentype');
}

.average
{
    padding-left: 67%;
    width: calc(33% - 25px);
    text-align: right;
    background-color: white;
    margin-right: 5px;
    padding-right: 5px;
}

.gradelistitem
{
    background-color: white;
    width: calc(100% - 25px);
    padding-left: 5px;
    min-height: 50px;
}

.gradelistitem .teacher{
    width: 50%;
    float:left;
    min-height: 25px;
}

.gradelistitem .info{
    width: 30%;
    float:left;
    min-height: 25px;
}

.gradelistitem .lecture{
    font-weight: bold;
    min-height: 25px;
}

.gradelistitem .mark{
    width: calc(20% - 5px);
    float:left;
    text-align: right;
    padding-right: 5px;
    min-height: 25px;
}
.fillerdiv{
    width:100%;
    min-height: 5px;
}

.lectures{
    list-style-type: none;
}

.lectures .lectureitem{
    display: inline;
    -webkit-border-radius: 11px;
    -moz-border-radius: 11px;
    border-radius: 11px;
    border-style: groove;
    border-width: 1px;
    text-align: center;
    padding: 5px 5px 5px 5px;
    margin: 10px 10px 10px 10px;
    float: left;
}

.lectures .active{
    background-color: #4d91a6;
}
.lectures a{
    color: black;
    text-decoration: none;
}
.lectures .active a{
    color: white;
    text-decoration: none;
}

.infofield{
    -webkit-border-radius: 11px;
    -moz-border-radius: 11px;
    border-radius: 11px;
    border-style: groove;
    border-width: 1px;
    text-align: center;
    padding: 5px 5px 5px 5px;
    margin: 10px 10px 10px 10px;
    background-color: #4d91a6;
    color: white;
    width: calc(100% - 35px);
}

.filelistitem{
    background-color: white;
    width: calc(100% - 35px);
    padding: 5px 5px 5px 5px;
    margin: 10px 10px 10px 10px;
}

.filelistitem a{
    text-decoration: none;
    color: black;
}

.fullwidth {
    width: 100%;
}

.bgwhite{
    background: white;
}

.progressbar{
    background-color: red;
}