body {
	font-family: 'Open Sans', sans-serif !important;
	color: #666;
	background-color: #fff;
	font-size: 1em;
	-webkit-font-smoothing: subpixel-antialiased !important;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
}

*{
	box-sizing: border-box;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	text-decoration: none;
	color: #e40027;
	font-weight: bold;
	cursor: pointer;
}

a.external:before {
  content: "\f08e";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  display: inline-block;
  text-decoration: inherit;
  margin-right: 5px;
}

.inset {
	padding: 0.4em;
}

#wrapper {
	position: relative;
    width: 100%;
    max-width: 970px;
    margin: 0 auto;
    left: 0px;
    padding-bottom: 20px;
    padding-top: 50px;
}
#mainwrapper {
	margin-top: 10px;
}
#navbar {
	position: fixed;
	width: 100%;
	z-index: 100;
	top: 0px;
	cursor: pointer;
	color: #fff;
	height: 50px;
	background-color: #f3f3f3;
	border-bottom: 1px solid #ddd;
	box-shadow: 0px 0px 6px rgba(0,0,0,0.4);


}

#popup {
  z-index: 9999;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  overflow-y: scroll;
  padding: 30px;
}

#popup.hide {
  display: none;
}

#popup div {
	background-color: #fff;
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
}

#popup button {
  background-color: #e40027;
  color: #fff;
  padding: 10px;
  width: 100%;
  border: none;
  cursor: pointer;
}

#popup button:hover {
	background-color: #ff3355;
}


#logo {
	margin: 5px auto;
	background-image: url('../images/logo.svg');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center center;
	height: 37px;
	width: 168px;
}
/* Navigation mobile */
#menu-link {
	position: absolute;
	top: 7px;
	right: 20px;
	width: 26px;
	height: 35px;
	background-image: url('../images/menu.svg');
	background-size:  26px 35px;
	background-repeat: no-repeat;
}

#menu-link.active {
	background-image: url('../images/menu-close.svg');
}

#menu {
	display: none;
}
#menu-mobile {
	position: fixed;
	top: 0;
	bottom: 0;
	right: -251px;
	width: 250px;
	height: 100%;
	overflow: auto;
	background-color: #eee;
	z-index: 100;
	color: #333;
	box-shadow: inset 7px 0 9px -7px rgba(0,0,0,0.4);
}

#menu-mobile ul{
	list-style: none;
	margin: 0px;
	padding: 0px;
}

#menu-mobile ul ul {
	padding-top: 5px;
}

#menu-mobile ul li{

	padding: 6px 0px 6px 15px;
}
#menu-mobile ul ul li {
	padding: 7px 0 7px 25px;
}

#menu-mobile ul ul ul li {
	padding: 3px 0 3px 35px;
}

#menu-mobile ul a{
	text-transform: uppercase;
	text-decoration: none;
	color: #333;

	font-size: 1em;
}

#menu-mobile ul ul a {
    width: calc(100% - 25px);
    font-weight: bold;
    font-size: 0.9em;

}

#menu-mobile ul ul ul a {
    width: calc(100% - 35px);
    font-weight: normal;
    font-size: 0.8em;
}

h1{
	font-size: 1.4em;
	text-transform: uppercase;
	color: #e40027;
	font-weight: normal;
	padding: 0.8em 0px 0.4em 0em;
	margin: 0;
}

h2 {
	color: #666;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 1.1em;
	padding-top: 10px;
}

h3{
	font-size: 1em;
	text-transform: uppercase;
	background: #e40027;
	padding: 0.5em 1em;
	width: 100%;
	color: #fff;
	margin: 1em 0 1em 0;

}
h4 {
	margin: 5px 0px 3px 0px;
	padding: 0;
}

table{
 width: 100%;
 border-collapse: collapse;
}


input {
	display: block;
	padding: 5px;
	margin: 5px;
}

#content {
	padding: 0.5em;
	font-size: 0.8em;
	line-height: 1.5em;
}




#sidebar {
	display: block;
	position: relative;
	clear:both;
	font-size: 0.8em;
}

#sidebar h3 {
	text-transform: uppercase;
	background: #e40027;
	padding: 5px 11px;
	color: #fff;
	margin: 0;
	padding: 0.5em 1em;

}
#sidebar .sidebar-item {
	margin-bottom: 18px;
	background: #eee;
	border: 1px #ddd solid;

}
#sidebar .sidebar-content{
	text-align: center;
	padding: 0px;
}



#tabs {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 1em;
}
#tabs > ul {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
	z-index: 20;
}

#tabs > ul li {
	display: inline-block;
	border-top: 1px solid #ddd;
	border-right: 1px solid #ddd;
	border-left: 1px solid #ddd;
	margin-right: 0em;
	margin-left: 0.4em;
	padding: 0;

}
#tabs > ul li a {
	display: block;
	padding: 0.5em 1em;
	border-bottom: none;
}

#tabs .ui-tabs-active a {
	color: #fff;
	background-color: #e40027;
}

#tabs .tab-content {
  border-top: 1px solid #ddd;
  padding: 0.4em;
  position: relative;
  top: -1px;
  z-index: 10;
}

#team-content {
  text-align: center;
}

/* Ranking */

.su_table tr td.no-mobile {
	display: none;
}
.su_table tr td{
  border: 1px solid #ddd;
  padding: 8px;
  font-size: 0.65em;
}

.su_table tr.header td{
  font-weight: bolder;
}


.su_table tr.even td{
 background-color: #eee;
}

.su_table tr td.red{
 background-color: #f2dede;
}

.su_table tr td.green{
 background-color: #dff0d8;
}

.su_table tr td.su_highlight{
	font-weight: bold;
	background-color: #eee;
}
.su_small {
	font-size: 0.7em;
}

.su_table tr td.left{
	text-align: left;
}
.su_table tr td.right{
	text-align: right;
}

.su_pageing {
	display: block;
	width: 100%;
	height: auto;
	padding: 0.4em;
}
.su_left {
	width: 50%;
	display: inline-block;
}
.su_right {
	width: 50%;
	display: inline-block;
	text-align: right;
}

/* Coaches */


.coachlist tr td{
  border: 1px solid #ddd;
  padding: 8px;
  font-size: 0.65em;
}

.coachlist tr.header td{
  font-weight: bolder;
}





.MarkupPagerNav {
	position: relative;
	display: block;
    margin: 0;
    margin-top: 20px;
    padding: 0px;


}
.MarkupPagerNav li {
	display: inline-block;
	list-style: none;
	margin: 1px !important;
	padding: 0 !important;

}

.MarkupPagerNav li a,
.MarkupPagerNav li.MarkupPagerNavSeparator {
	display: inline-block;
	padding: 3px 11px;
	color: #fff;
	background: #e40027;
	margin-right: 3px;
	font-size: 0.8em;
	font-weight: bold;
	text-transform: uppercase;
	border: 1px solid #e40027;

}

.MarkupPagerNav li.MarkupPagerNavOn a,
.MarkupPagerNav li a:hover {
	color: #e40027;
	background: #fff;
	text-decoration: none;

}

.MarkupPagerNav li.MarkupPagerNavSeparator {
	display: inline;
	color: #777;
	background: #fff;
	padding-left: 3px;
	padding-right: 3px;
	border: 1px solid #fff;
}


#content .Inputfields,
#content .Inputfields li {
    list-style: none;
    margin: 1.5em;
    padding: 0;
}

#content .Inputfields li p {
    margin: 0;
}

#content .Inputfields li p.description {
    font-style: italic;
}

#content .Inputfields textarea,
#content .Inputfields .InputfieldMaxWidth {
    width: 100%;
}

#content .Inputfields .InputfieldSubmit label {
    display: none;
}

#content .ui-state-error-text {
    color: red;
}

.ui-state-error{ color: red;}

.news-introtext {
	margin: 1em 0;
	font-weight: bold;

}

.news-date {
	margin: 1em 0;
	font-weight: bold;
}

.newsitem {
	position: relative;
	font-size: 1em;
	margin: 5px 0px;
	border: 1px solid #ddd;
}

.newsitem a {
	text-decoration: none;
	padding: 0;
	margin: 0;
}



.newsitem .newsitem-bottom{
	position: relative;
	display: block;
	margin: 0;
	padding: 0 5px;
}

.newsitem .newsitem-image{
	position: relative;
	padding: 0;
	margin: 0;
}

.newsitem .newsitem-tag {
	position: absolute;
	display: inline;
	top: 0;
	left: 0;
	font-size: 1em;
	font-weight: bold;
	text-transform: uppercase;
	background: #e40027;
	padding: 0.3em 0.4em;
	color: #fff;
	margin: 0;
	height: auto;
	line-height: 1.1em;
}

.newsitem .newsitem-caption {
	position: absolute;
	bottom: 20px;
	left: 10px;
	right: 10px;
}

.newsitem .newsitem-caption h1 {

	display: inline;
	font-size: 1.2em;
	text-transform: uppercase;
	font-weight: bold;
	background: #e40027;
	padding: 0.2em 0.4em;
	color: #fff;
	margin: 0;
	line-height: 1.8em;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;

}

.newsitem-introtext {
   margin: 1em 0;
   line-height: 1.4em;
}

.newsitem-date {
	font-weight: bold;
	margin: 1em 0;
}

.fotorama__dot {
  outline-color: #e40027 !important;
  border-width: 1px !important;
  height: 10px !important;
  width: 10px !important;
  border-color: #e40027 !important;
}

.fotorama__active .fotorama__dot {
  background-color : #e40027 !important;
}

.fotorama a {
	position: absolute;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
}

.fotorama .fotorama-caption {
	position: absolute;
	bottom: 20px;
	left: 10px;
	right: 10px;
}
.fotorama .fotorama-caption h1 {

	display: inline;
	font-size: 1.8em;
	text-transform: uppercase;
	font-weight: bold;
	background: #e40027;
	padding: 0.2em 0.4em;
	color: #fff;
	margin: 0;
	line-height: 1.8em;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;

}

.fotorama .fotorama-tag {
	position: absolute;
	top: 0px;
	left: 0px;
	display: inline;
	font-size: 1.4em;
	text-transform: uppercase;
	font-weight: bold;
	background: #e40027;
	padding: 0.2em 0.4em;
	color: #fff;
	margin: 0;
	line-height: 1.4em;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}
/* Team-Container */
.team {
	position: relative;
	display: inline-block;
	width: 50%;
	padding: 0.4em;
}


/* Sponsoren */
.sponsor {
	position: relative;
	display: inline-block;
    height: auto;
    width: 100%;
    margin-bottom: 1em;
}

.sponsor a {
	display: block;
	height: 100%;
	width: 100%;
	font-size: 1.2em;
	text-align: center;
	vertical-align: middle;
}

/* Gallery */
.album {
	vertical-align: top;
	display: inline-block;
	width: 46%;
	margin: 5px;
}

.albumtitle{
	height: 40px;
}


/* Person Box */

.person {
  position: relative;
  width: 46%;
  margin: 5px;
  display: inline-block;
}

.person h2 {
  font-size: 0.8em;
  margin: 0;
  padding: 2px 0px 2px 2px;
}

.person p {
  font-size: 0.7em;
  margin: 0;
  padding: 0px 0px 0px 2px;
}

.person ul {
	padding: 0;
	margin:0;
	list-style: none;
	line-height: 0.9em;
}
.person ul li {
	padding: 0px;
	margin: 0px;
	margin-left: 5px;

}
.person:before{
	content: "";
	display: block;
	padding-top: 180%;
}

.person-content{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;

}
.person-image{
	position: relative;
	display: block;
	height: 60%;
	background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
.person-details{
	position: relative;
	display: block;
    height: 40%;
}
.person-number{
	position: absolute;
	top: 0px;
	right: 0px;
	font-size: 1.8em;
	padding: 0.2em;
	background: #e40027;
	color: #fff;

}

#content li {
	padding: 3px;
}

#socialmedia {
	text-align: right;
}
#socialmedia a {
	position: relative;
	display: inline-block;
	right: 0;
	top: 0;
	width:32px;
	height: 32px;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center top;
	margin-bottom: 15px;
	margin-left: 5px;
}

#fb {
	background-image: url('../images/fb.png');
}

#insta {
	background-image: url('../images/insta.png');
}

#youtube {
	background-image: url('../images/youtube.png');
}

footer{
	position: relative;
	display: block;
	min-height: 200px;
	background-color: #f3f3f3;
	color: #333;
	border-top: 1px solid #ddd;
	padding-top: 30px;
	padding-bottom: 50px;
	box-shadow: inset 0 7px 9px -7px rgba(0,0,0,0.4);
}

footer .copyright {
	display: block;
	text-align: center;
	margin: 0 auto;
	color: #e40027;
}
footer .sitemap {
	margin-top: 1em;
}
footer .sitemap li{
	list-style: none;
}
footer ul {
	margin: 0;
	padding: 0;
}
footer .sitemap{
	text-align: center;
}
footer .sitemap li {
	padding: 0.8em;
}
footer .sitemap li a {
	color:#666;
	font-weight: normal;
}
footer .sitemap > ul > li > a {
	font-weight: bold;
}
footer .sitemap ul ul {
	display: none;
}


#editpage {
	position: fixed;
	background-color: #0064a1;
	width: 100%;
	padding: 10px;
	bottom: 0px;
	z-index: 10000;
	color: #fff;
	font-size: 1em;
}

#banner {
	position: relative;
	left: 0;
	top: 0;
	width: 100%;
	height: 45px;
	background-image: url('../images/unihoc-stockschlag.jpg');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center top;
}


@media (min-width: 460px) {
	#banner {
		margin: 0.5em 0;
		background-repeat: repeat-x;
		background-size: contain;
		background-position: left top;
	}
	
	.person-image{
    	height: 70%;
    }
    .person-details{
        height: 30%;
    }
}

@media (min-width: 710px) {

	.align_left {float:left;margin: 5px;}
.align_right{float:right;margin: 5px;}
.align_center{margin: 0px auto; display:block;}

	#wrapper {
    	padding-top: 150px;
	}

	#navbar {
		height: 150px;
	}

	#logo {
		top: 2px;
		height: 75px;
		width: 168px;
		margin: 0 auto;
		position: relative;
		vertical-align:top;
		display: block;

	}

	.newsitem {
		display: inline-block;
		width: 48%;
		vertical-align: top;
		margin: 5px;
		height: 350px;
	}
	.sponsor {
		margin: 0px;
	}

	.coachlist tr td{
	  border: 1px solid #ddd;
	  padding: 8px;
	  font-size: 1em;
	}
	.size-big {
		width: 100%;
	}

	.size-middle {
		width: 48%;
	}
	.size-short{
		width: 30%;
	}
	footer .sitemap {
		margin: 1em;
		border-top: 1px solid #ddd;
	}
	footer .sitemap > ul > li {
		display: inline-block;
		vertical-align: top;
		text-align: left;
	}
	footer .sitemap ul ul {
	  display: block;
    }
    footer .sitemap ul ul li {
	  padding: 0.3em 0;
	  text-align: left;
    }
    footer .sitemap ul ul ul {
	  display: none;
    }
    /* Navigation */
	#menu-mobile, #menu-link {
		display: none;
	}

	#navbar-content{
		margin: 0 auto;
		max-width: 970px;
	}


	#menu {
		position: relative;
		display: block;
		height: 75px;
		margin: 0;
		padding: 0;
		vertical-align:top;

	}

	#menu a{
		display: block;
		color: #333;
		text-transform: uppercase;
		font-size: 1em;
		font-weight: normal;
		padding: 28px 15px;
	}

	#menu ul ul a {
		padding: 15px 15px;
	}

	#menu ul li {
		border-right: 1px solid #AAA;

	}

	#menu ul {
		background: #f3f3f3;
		float: left;
		-webkit-transition: .2s;
		transition: .2s;
		margin: 0;
		padding: 0;
	}

	#menu li {
		float: left;
		position: relative;
		list-style: none;
		-webkit-transition: .2s;
		transition: .2s;
	}



	#menu ul li ul li {
		display: block;
		width: 100%;

	}

	#menu ul li ul li a {
		display: block;

	}

	#menu ul ul {
		position: absolute;
		left: 0;
		top: 100%;
		width: 200px;
	}

	#menu ul ul ul {
		left: 100%;
		top: 0;
	}

	#menu ul li a:hover,  #menu ul li a.active {
		background: #E40027;
		color: #fff;
	}

	.album {
		width: 30%;
	}



	.person h2 {
	  font-size: 1.1em;
	}

	.person p {
	  font-size: 1em;
	}
	
		.person-image{
    	height: 80%;
    }
    .person-details{
        height: 20%;
    }



}
@media (min-width: 900px) {
	#content .Inputfields textarea,
#content .Inputfields .InputfieldMaxWidth {
    width: 50%;
}

	#wrapper {
    	padding-top: 75px;
	}

	#navbar {
		height: 75px;
	}

	#logo {
		top: 0px;
		margin: 0 0 0 1em;
		display: inline-block;

	}

	#menu {
		display: inline-block;
		margin: 0 0 0 10px;

	}


	#mainwrapper {
		float: none;
		width: auto;
	}

	#mainwrapper::after {
	  content: "";
	  display: block;
	  clear: both;
	}
	#sidebar {
		clear: none;
		float: left;
		width: 25%;
	}
	#content {
		float: left;
		width: 75%;
	}

	footer {
		clear: both;
	}

	/* Home */
	.fotorama .fotorama-caption {


		font-weight: normal;
		letter-spacing: 1px;
		padding: 0.2em 0.4em;
		color: #fff;
		margin: 10px;
		line-height: 1.8em;

	}
	/* Table & Ranking */

	.su_table tr td.no-mobile {
		display: table-cell;
    }

	/*Person*/
	.person {
		width: 30%;
	}

	/*News*/
	.newsitem {
		width: 31%;
	}
	.newsitem-date{
		font-size: 1.2em;
	}
	.newsitem-introtext {
		font-size: 1.2em;
	}

	.newsitem h1 {
		font-size: 1em;
		height: 60px;
	}


	.su_table tr td{
		font-size: 1em;
	}



}

@media (min-width: 1024px) {
	#popup>div {
		width: 70%;
		margin: 0 auto;
	}
}