html {
    height: 100%;

}

body {
    height: 100%;
    margin: 0;
    padding: 0;
    line-height: 1.5em;
    background-color: #FFF;
    background-attachment: fixed;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
}

b {
    font-size: 100%;
}

/*Desktoprechner*/
@media all and (min-width: 1024px) {

    #maincontent {
        width: 950px;
        margin: 0 auto;
    }

    .innertube {
        margin: 5px 10px 10px;
        padding: 10px 5px;
        clear: both;
        text-align: justify;
    }

    #bildwechsler {
        text-align: center;
        background-color: #333;
        border-radius: 5px;
    }

    #leftcontent {
        float: left;
        width: 700px;
        padding: 10px 0;
        text-align: justify;
    }

    #leftcontent h2 {
        border-bottom: 1px solid #000;
    }

    #rightcontent {
        float: right;
        width: 200px;
        text-align: right;
        padding: 10px 0 0;
    }

    h1 {
        color: #FFF;
        font-size: 16px;
        float: left;
        margin: 5px 5px 5px 15px;
    }

    h2 {
        display: none;
        font-size: 14px;
    }

    .uberschrift {
        border-bottom: 1px solid #c8d5ee;
        margin-bottom: 5px;
        padding-bottom: 5px;
    }

    hr {
        color: #c8d5ee;
    }

    a:link {
        text-decoration: none;
    }

    a:hover {
        color: #3366cc;
    }

    a:focus {
        color: #3366cc;
    }

    a:visited {
        color: #FFF;
        text-decoration: none;
    }

    #footer {
        background-color: #333;
        color: #888;
        clear: both;
        padding: 5px 10px;
        text-align: center;
    }

    a.site_link:link {
        color: #333;
        text-decoration: underline;
    }

    a.site_link:hover {
        color: #333;
    }

    a.site_link:focus {
        color: #333;
    }

    a.site_link:visited {
        color: #333;
        text-decoration: underline;
    }

    ul.egmenu {
        background: #333;
        height: 30px;
        border-radius: 5px;
    }

    ul.egmenu > li {
        float: left;
        position: relative;
    }

    ul.egmenu ul {
        background: #444;
        display: none;
        position: absolute;
        left: 0;
        top: 100%;
        padding-left: 0px;
    }

    ul.egmenu a {
        cursor: pointer;
        display: block;
        color: white;
        line-height: 30px;
        padding: 0 10px;
    }

    ul.egmenu li {
        list-style: none;
    }

    ul.egmenu li:hover {
        background: #555;
    }

    ul.egmenu li:hover ul {
        display: block;
    }
    
    .login-menu {
		list-style: none;
	}

    .kategorie {
        float: left;
        padding: 30px;
        text-align: 30px;
        width: 35%;

    }

    .progress-bar {
        background-color: #E6E6E6;
        width: 100%;
        border: 1px solid white;
        margin-top: 5px;
        text-align: center;
        color: white;
    }

    .referenz {
        float: left;
        padding: 10px;
    }

    .webapp {
        float: left;
        padding: 10px;
        border: 1px solid black;
        border-radius: 5px;
        margin: 10px 0;
    }

    .paginierung {
        text-align: center;
    }

    .site {
        color: white;
    }

    .link_referenzen {
        float: left;
        margin-bottom: 10px;
    }
    
    .apps {
		display: flex;
		flex-direction: row;
		justify-content: space-around;
        flex-wrap: wrap;
	}
	
	.pace_input {
		margin: 5px 0;
	}

    .pace_input_number {
        width: 20%;
    }
	
	.pace_submit {
		margin: 5px 0;
	}
	
	.app {
		display: flex;
		flex-direction: row;
		justify-content: space-between
	}
	
	.app-left {
		width: 50%;
	}
	
	.app-right {
		width: 50%;
		text-align: center;
	}
	
	.app-image {
		text-align: center;
		margin: 5px 0 25px;
		border: 1px solid black;
		border-radius: 5px;
		padding: 5px;
	}
	
	.app-text {
		text-align: justify;
	}
	
	.login {
		width: 100%;
	}
	
	.stadtteil_flex {
		border-bottom: 1px solid black;
		margin-bottom: 5px;
		display: flex;
		flex-direction: row;
	}
	
	.table {
		display: flex;
		flex-direction: row;
		flex: 1;
	}
	
	.table_stadtteil {
		flex: 1;
	}
	
	.green {
		color: #25e712;
	}
	
	.red {
		color: #f34336;
	}
	
	.progress {
	  height: 1.5em;
	  width: 100%;
	  background-color: #c9c9c9;
	  position: relative;
	}
	
	.progress:before {
	  content: attr(data-label);
	  position: absolute;
	  text-align: center;
	  left: 0;
	  right: 0;
	}
	
	.progress .value {
	  display: inline-block;
	  height: 100%;
	}
	
	.tab_icon {
		width: 10px;
		margin-top: 5px;
	}

    .table_right {
        text-align: right;
    }

    .table_left {
        text-align: left;
    }

    .table_middle {
        text-align: center;
    }

    .form_app {
        border-top: 1px solid #c8d5ee;
        margin: 5px 5px 0 0;
        padding: 5px 0;
    }

    .footer_app {
        margin: 5px 5px 0 0;
    }

    .validierung_fehlschlag {
        color: #B30000;
    }

    .validierung_erfolg {
        color: #008000;
    }

    .form2 {
        position: relative;
        left: 80px;
        top: -35px;
    }

    .ergebnis_kraft_abc {
        position: relative;
        top: -20px;
    }

    .gymshuffle_button {
        margin: 5px 0;
    }
}


/*Desktoprechner*/
@media all and (min-width: 801px) and (max-width: 1023px) {

    #maincontent {
        width: 800px;
        margin: 0 auto;
    }

    .innertube {
        margin: 5px 10px 10px;
        padding: 10px 5px;
        clear: both;
        text-align: justify;
    }

    #bildwechsler {
        text-align: center;
        background-color: #333;
        border-radius: 5px;
    }

    #leftcontent {
        float: left;
        width: 630px;
        padding: 10px 0;
        text-align: justify;
    }

    #leftcontent h2 {
        border-bottom: 1px solid #000;
    }

    #rightcontent {
        float: right;
        width: 160px;
        text-align: right;
        padding: 10px 0 0;
    }

    h1 {
        color: #FFF;
        font-size: 16px;
        float: left;
        margin: 5px 5px 5px 15px;
    }

    h2 {
        display: none;
        font-size: 14px;
    }

    .uberschrift {
        border-bottom: 1px solid #c8d5ee;
        margin-bottom: 5px;
        padding-bottom: 5px;
    }

    hr {
        color: #c8d5ee;
    }

    a:link {
        text-decoration: none;
    }

    a:hover {
        color: #3366cc;
    }

    a:focus {
        color: #3366cc;
    }

    a:visited {
        color: #FFF;
        text-decoration: none;
    }

    #footer {
        background-color: #333;
        color: #888;
        clear: both;
        padding: 5px 10px;
        text-align: center;
    }

    a.site_link:link {
        color: #333;
        text-decoration: underline;
    }

    a.site_link:hover {
        color: #333;
    }

    a.site_link:focus {
        color: #333;
    }

    a.site_link:visited {
        color: #333;
        text-decoration: underline;
    }

    ul.egmenu {
        background: #333;
        height: 30px;
        border-radius: 5px;
    }

    ul.egmenu > li {
        float: left;
        position: relative;
    }

    ul.egmenu ul {
        background: #444;
        display: none;
        position: absolute;
        left: 0;
        top: 100%;
        padding-left: 0px;
    }

    ul.egmenu a {
        cursor: pointer;
        display: block;
        color: white;
        line-height: 30px;
        padding: 0 10px;
    }

    ul.egmenu li {
        list-style: none;
    }

    ul.egmenu li:hover {
        background: #555;
    }

    ul.egmenu li:hover ul {
        display: block;
    }
            
    .login-menu {
		list-style: none;
	}

    .progress-bar {
        background-color: #E6E6E6;
        width: 100%;
        border: 1px solid white;
        margin-top: 5px;
        text-align: center;
        color: white;
    }

    .referenz {
        float: left;
        padding: 10px;
    }

    .webapp {
        float: left;
        padding: 10px;
        border: 1px solid black;
        border-radius: 5px;
        margin: 10px 10px 0 0;
    }

    .paginierung {
        text-align: center;
    }

    .link_referenzen {
        float: left;
        margin-bottom: 10px;
    }

    .apps {
		display: flex;
		flex-direction: row;
		justify-content: space-around;
        flex-wrap: wrap;
	}
	
	.pace_input {
		margin: 5px 0;
	}

    .pace_input_number {
        width: 20%;
    }
	
	.pace_submit {
		margin: 5px 0;
	}
	
	.app {
		display: flex;
		flex-direction: row;
		justify-content: space-between
	}
	
	.app-left {
		width: 50%;
	}
	
	.app-right {
		width: 50%;
		text-align: center;
	}
	
	.app-image {
		text-align: center;
		margin: 5px 0 25px;
		border: 1px solid black;
		border-radius: 5px;
		padding: 5px;
	}
	
	.app-text {
		text-align: justify;
	}
	
	.login {
		width: 100%;
	}
	
	.stadtteil_flex {
		border-bottom: 1px solid black;
		margin-bottom: 5px;
		display: flex;
		flex-direction: row;
	}
	
	.table {
		display: flex;
		flex-direction: row;
		flex: 1;
	}
	
	.table_stadtteil {
		flex: 1;
	}
	
	.green {
		color: #25e712;
	}
	
	.red {
		color: #f34336;
	}
	
	.progress {
	  height: 1.5em;
	  width: 100%;
	  background-color: #c9c9c9;
	  position: relative;
	}
	
	.progress:before {
	  content: attr(data-label);
	  position: absolute;
	  text-align: center;
	  left: 0;
	  right: 0;
	}
	
	.progress .value {
	  display: inline-block;
	  height: 100%;
	}
	
	.tab_icon {
		width: 10px;
		margin-top: 5px;
	}

    .table_right {
        text-align: right;
    }

    .table_left {
        text-align: left;
    }

    .table_middle {
        text-align: center;
    }

    .form_app {
        border-top: 1px solid #c8d5ee;
        margin: 5px 5px 0 0;
        padding: 5px 0;
    }

    .footer_app {
        margin: 5px 5px 0 0;
    }

    .validierung_fehlschlag {
        color: #FF0000;
    }

    .validierung_erfolg {
        color: #008000;
    }
    
    .form2 {
        position: relative;
        left: 80px;
        top: -35px;
    }

    .ergebnis_kraft_abc {
        position: relative;
        top: -20px;
    }

    .gymshuffle_button {
        margin: 5px 0;
    }
}


@media all and (min-width: 581px) and (max-width: 800px) {

    #maincontent {
        width: 580px;
        margin: 0 auto;
    }

    img {
        max-width: 100%;
        border-radius: 5px;
    }

    .innertube {
        margin: 5px 10px 10px;
        padding: 10px 5px;
        clear: both;
        text-align: justify;
    }

    #bildwechsler {
        text-align: center;
        background-color: #333;
        border-radius: 5px;
    }

    #leftcontent {
        float: left;
        width: 580px;
        padding: 10px 0;
        text-align: justify;
    }

    #leftcontent h2 {
        border-bottom: 1px solid #000;
    }

    #rightcontent {
        float: left;
        width: 580px;
        padding: 10px 0;
        text-align: justify;
    }

    h1 {
        color: #FFF;
        font-size: 16px;
        float: left;
        margin: 5px 5px 5px 15px;
    }

    h2 {
        display: none;
        font-size: 14px;
    }

    .uberschrift {
        border-bottom: 1px solid #c8d5ee;
        margin-bottom: 5px;
        padding-bottom: 5px;
    }

    hr {
        color: #c8d5ee;
    }

    a:link {
        text-decoration: none;
    }

    a:hover {
        color: #3366cc;
    }

    a:focus {
        color: #3366cc;
    }

    a:visited {
        color: #FFF;
        text-decoration: none;
    }

    #footer {
        background-color: #333;
        color: #888;
        clear: both;
        padding: 5px 10px;
        text-align: center;
    }

    a.site_link:link {
        color: #333;
        text-decoration: underline;
    }

    a.site_link:hover {
        color: #333;
    }

    a.site_link:focus {
        color: #333;
    }

    a.site_link:visited {
        color: #333;
        text-decoration: underline;
    }

    ul.egmenu {
        background: #333;
        height: 30px;
        border-radius: 5px;
    }

    ul.egmenu > li {
        float: left;
        position: relative;
    }

    ul.egmenu ul {
        background: #444;
        display: none;
        position: absolute;
        left: 0;
        top: 100%;
        padding-left: 0px;
    }

    ul.egmenu a {
        cursor: pointer;
        display: block;
        color: white;
        line-height: 30px;
        padding: 0 10px;
    }

    ul.egmenu li {
        list-style: none;
    }

    ul.egmenu li:hover {
        background: #555;
    }

    ul.egmenu li:hover ul {
        display: block;
    }
    
    .login-menu {
		list-style: none;
	}

    .progress-bar {
        background-color: #E6E6E6;
        width: 100%;
        border: 1px solid white;
        margin-top: 5px;
        text-align: center;
        color: white;
    }

    .referenz {
        float: left;
        padding: 10px;
    }

    .webapp {
        float: left;
        padding: 10px;
        border: 1px solid black;
        border-radius: 5px;
        margin: 10px 10px 0 0;
    }

    .paginierung {
        text-align: center;
    }

    .link_referenzen {
        float: left;
        margin-bottom: 10px;
    }
    
	.pace_input {
		margin: 5px 0;
	}

    .pace_input_number {
        width: 20%;
    }
	
	.pace_submit {
		margin: 5px 0;
	}
	
	.app {
		display: flex;
		flex-direction: row;
		justify-content: space-between
	}
	
	.app-left {
		width: 50%;
	}
	
	.app-right {
		width: 50%;
		text-align: center;
	}
	
	.app-image {
		text-align: center;
		margin: 5px 0 25px;
		border: 1px solid black;
		border-radius: 5px;
		padding: 5px;
	}
	
	.app-text {
		text-align: justify;
	}
	
	.login {
		width: 100%;
	}
	
	.stadtteil_flex {
		border-bottom: 1px solid black;
		margin-bottom: 5px;
		display: flex;
		flex-direction: row;
	}
	
	.table {
		display: flex;
		flex-direction: row;
		flex: 1;
	}
	
	.table_stadtteil {
		flex: 1;
	}
	
	.green {
		color: #25e712;
	}
	
	.red {
		color: #f34336;
	}
	
	.progress {
	  height: 1.5em;
	  width: 100%;
	  background-color: #c9c9c9;
	  position: relative;
	}
	
	.progress:before {
	  content: attr(data-label);
	  position: absolute;
	  text-align: center;
	  left: 0;
	  right: 0;
	}
	
	.progress .value {
	  display: inline-block;
	  height: 100%;
	}
	
	.tab_icon {
		width: 10px;
		margin-top: 5px;
	}

    .table_right {
        text-align: right;
    }

    .table_left {
        text-align: left;
    }

    .table_middle {
        text-align: center;
    }

    .form_app {
        border-top: 1px solid #c8d5ee;
        margin: 5px 5px 0 0;
        padding: 5px 0;
    }

    .footer_app {
        margin: 5px 5px 0 0;
    }

    .validierung_fehlschlag {
        color: #FF0000;
    }

    .validierung_erfolg {
        color: #008000;
    }

    .form2 {
        position: relative;
        left: 80px;
        top: -35px;
    }

    .ergebnis_kraft_abc {
        position: relative;
        top: -20px;
    }

    .gymshuffle_button {
        margin: 5px 0;
    }
}


@media all and (max-width: 580px) {
    #maincontent {
        width: 300px;
        margin: 0 auto;
    }

    img {
        max-width: 100%;
        border-radius: 5px;
    }

    .innertube {
        margin: 5px 10px 10px;
        padding: 10px 5px;
        clear: both;
        text-align: justify;
    }

    #bildwechsler {
        text-align: center;
        background-color: #333;
        border-radius: 5px;
    }

    #leftcontent {
        float: left;
        width: 300px;
        text-align: justify;
        padding: 10px 0;
    }

    #leftcontent h2 {
        border-bottom: 1px solid #000;
    }

    #rightcontent {
        float: left;
        width: 300px;
        text-align: justify;
        padding: 10px 0;
    }

    h1 {
        color: #FFF;
        font-size: 16px;
        float: left;
        margin: 5px 5px 5px 15px;
    }

    h2 {
        display: none;
        font-size: 14px;
    }

    .uberschrift {
        border-bottom: 1px solid #c8d5ee;
        margin-bottom: 5px;
        padding-bottom: 5px;
    }

    hr {
        color: #c8d5ee;

    }

    a:link {
        text-decoration: none;
        color: #FFF;
    }

    a:hover {
        color: #3366cc;

    }

    a:focus {
        color: #3366cc;


    }

    a:visited {
        color: #FFF;
        text-decoration: none;
    }

    #footer {
        background-color: #333;
        color: #888;
        clear: both;
        padding: 5px 10px;
        text-align: center;
    }

    a.site_link:link {
        color: #333;
        text-decoration: underline;
    }

    a.site_link:hover {
        color: #333;
    }

    a.site_link:focus {
        color: #333;
    }

    a.site_link:visited {
        color: #333;
        text-decoration: underline;
    }
    
    .login-menu {
		list-style: none;
	}

    .referenz {
        float: left;
        padding: 10px 0px;
    }

    .webapp {
        float: left;
        padding: 10px;
        border: 1px solid black;
        border-radius: 5px;
        margin: 10px 10px 0 0;
    }

    ul.egmenu {
        height: auto;
        background: #333;
        padding-top: 30px;
        border-radius: 5px;
    }

    ul.egmenu > li {
        float: none;
        width: 100%;
        list-style: none;
    }

    ul.egmenu a {
        line-height: 25px;
    }

    ul.egmenu ul {
        position: relative;
        display: none;
    }

    ul.egmenu li.tap {
        list-style: none;
        color: #FFF;
    }

    ul.egmenu li.tap ul {
        display: block;
        list-style: none;
        width: 300px;
    }

    .progress-bar {
        background-color: #E6E6E6;
        width: 100%;
        border: 1px solid white;
        margin-top: 5px;
        text-align: center;
        color: white;
    }

    .paginierung {
        text-align: center;
    }

    .link_referenzen {
        float: left;
        margin-bottom: 10px;
    }
    
	.pace_input {
		margin: 5px 0;
	}

    .pace_input_number {
        width: 20%;
    }
	
	.pace_submit {
		margin: 5px 0;
	}
	
	.app {
		display: flex;
		flex-direction: column-reverse;
	}
	
	.app-left {
		text-align: center;
	}
	
	.app-right {
		text-align: center;
		margin-bottom: 10px;
	}
	
	.app-image {
		text-align: center;
		margin: 5px 0 25px;
		border: 1px solid black;
		border-radius: 5px;
		padding: 5px;
	}
	
	.app-text {
		text-align: justify;
	}
	
	.login {
		width: 100%;
	}
	
	.stadtteil_flex {
		border-bottom: 1px solid black;
		margin-bottom: 5px;
		display: flex;
		flex-direction: row;
	}
	
	.table {
		display: flex;
		flex-direction: row;
		flex: 1;
	}
	
	.table_stadtteil {
		flex: 1;
	}
	
	.green {
		color: #25e712;
	}
	
	.red {
		color: #f34336;
	}
	
	.progress {
	  height: 1.5em;
	  width: 100%;
	  background-color: #c9c9c9;
	  position: relative;
	}
	
	.progress:before {
	  content: attr(data-label);
	  position: absolute;
	  text-align: center;
	  left: 0;
	  right: 0;
	}
	
	.progress .value {
	  display: inline-block;
	  height: 100%;
	}
	
	.tab_icon {
		width: 10px;
		margin-top: 5px;
	}

    .table_right {
        text-align: right;
    }

    .table_left {
        text-align: left;
    }

    .table_middle {
        text-align: center;
    }

    .form_app {
        border-top: 1px solid #c8d5ee;
        margin: 5px 5px 0 0;
        padding: 5px 0;
    }

    .footer_app {
        margin: 5px 5px 0 0;
    }

    .validierung_fehlschlag {
        color: #FF0000;
    }

    .validierung_erfolg {
        color: #008000;
    }

    .gymshuffle_button {
        margin: 5px 0;
    }
}
