/* summary ergebnis */
.summary .title {font-family: "Bree Serif", serif; color: #fff; margin-bottom: 0.5em; padding-bottom: 0.5em; border-bottom: 1px solid #fff; font-size: 1.2em;}

.summary .gold,
.summary .silber,
.summary .bronze {line-height: 33px; padding-left: 44px; background-repeat: no-repeat; background-position: left center;}

.summary .gold {background-image: url(../Images/small_gold.png);}
.summary .silber {background-image: url(../Images/small_silber.png);}
.summary .bronze {background-image: url(../Images/small_bronze.png);}


.score {
	display: block;
	clear: both;
	/*overflow: hidden;*/
}

.score > * {
	display: inline-block;
	background: #fff;
	border: 1px solid #ccc;
	text-align: center;
	cursor: pointer;
	font-weight: 700;
	font-size: 0;
	position: relative;
	z-index: -1;
}

.score .total:before {
	content: '\e812' !important;
	font-family: 'icons' !important;
	/*position: absolute;*/
	top: 0 !important;
	left: 0 !important;
	color: rgba(192,192,192,0.3) !important;
	font-size: 40px !important;
	text-align: center !important;
	width: 100% !important;
}

/*ergebnisse*/
.score .gold,
.score .silber,
.score .bronze {border: none; background-size: 100%; background-repeat: no-repeat; border-radius: 0 !important;}

.score .gold {background-image: url(../Images/score-gold.png);}
.score .silber {background-image: url(../Images/score-silber.png);}
.score .bronze {background-image: url(../Images/score-bronze.png);}

.score .total.gold,
.score .total.silber,
.score .total.bronze {background: none;}

.score .total.gold:before,
.score .total.silber:before,
.score .total.bronze:before {
	content:'';
	position: absolute;
	right: 0;
	top: 0;
	width: 100%;
	height: 75px;
	margin-left: 0;
	background-size: 100%;
	background-repeat: no-repeat;
}

.score .total.gold:before {background-image: url(../Images/score-gold-final.png);}
.score .total.silber:before {background-image: url(../Images/score-silber-final.png);}
.score .total.bronze:before {background-image: url(../Images/score-bronze-final.png);}


.school .score .total.gold:before,
.school .score .total.silber:before,
.school .score .total.bronze:before {height: 200px; top: -20px;}

#pointsForm .score .total.gold:before,
#pointsForm .score .total.silber:before,
#pointsForm .score .total.bronze:before {height: 200px; top: -10px;}

#school,
#classes {margin: 0;}

.school {
	position: relative;
	border-radius: 5px;
	margin: 10px;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.75);
	-moz-box-shadow:    0px 0px 5px 0px rgba(50, 50, 50, 0.75);
	box-shadow:         0px 0px 5px 0px rgba(50, 50, 50, 0.75);
	padding: 10px;
	min-height: 150px;
	overflow: hidden;
}

.school h1 {
	font-size: 2.5em;
	margin: 0;
}
.school a {
	text-decoration: none;
}
.school .score {
	position: absolute;
	bottom: 10px;
	right: 10px;
}

@media only screen and (max-width: 767px) {
	.school .score {
			position: relative;
			text-align: right;
		}
}
.school .score li {
	width: 20px;
	height: 20px;
	line-height: 20px;
	border-radius: 20px;
	vertical-align: bottom;
}

.school .score li:last-child {
	width: 100px;
	height: 100px;
	line-height: 100px;
	border-radius: 100px;
}

.school .usertools {
	position: absolute;
	right: 0;
	top: 0;
}

.school .usertools .logout {
	position: absolute;
	right: 35px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	background: orange;
	text-decoration: none;
	padding: 0 10px;
	color: #fff;
}

.edit {
	position: absolute;
	right: 0;
	top: 0;
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	background: orange;
	text-decoration: none;
	color: #fff !important;
}
.edit:before {
	content:'\e815';
	font-family: 'icons';
}

.logout:before {
	content:'\e840';
	font-family: 'icons';
	margin-right: 5px;
}


#school .attended {
	position: absolute;
	left: -65px;
	top: -20px;
	height: 60px;
	width: 150px;
	padding-top: 25px;
	background: orange;
	font-family: 'Bree Serif';
	text-align: center;
	-ms-transform: rotate(-45deg); /* IE 9 */
	-webkit-transform: rotate(-45deg); /* Chrome, Safari, Opera */
	transform: rotate(-45deg);
	font-size: 20px;
	color: #fff;
}

#school .attended:after {
	content:'mit dabei';
	display: block;
	font-size: 12px;
	color: #666;
	border-top: 1px solid #666;
	margin-top: 5px;
	background: #fff;
	padding-bottom: 5px;
}

.school .data {
	margin-top: 1.4em;
	margin-left: 2em;
	margin-right: 7em;
}

.showonmap:before {
	content: '\e82e';
	font-family: 'icons';
}

.class {
	width: 25%;
	min-height: 300px;
	padding: 10px;
	float: left;
}
@media only screen and (max-width: 980px) {
	.class {width:33%}
}
@media only screen and (max-width: 767px) {
	.class {width:100%; float: none;}
}

.class > span {
	position: relative;
	display: block;
	border-radius: 5px;
	padding: 10px;
	box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.75);
	overflow: hidden;
	height: 370px;
}

/* auskommentiert weil viel zu hoch
.class.my-class > span,
.class.addSchoolClass > span {
height: 370px;
}
*/
.class h2 {
	/*font-size: 1.5em;*/
	text-align: center;
	margin-bottom: 0.1em;
	padding-bottom: 0.2em;
	border-bottom: 1px solid #ccc;
	height: 45px;
}

.class .photo {
	height: 140px;
	background-image: url(../Images/klassenfoto-bg.jpg);
	background-size: 100% auto;
	overflow: hidden;
	position: relative;
}

.class .photo img {
	position: absolute;
	top: -9999px;
	bottom: -9999px;
	left: -9999px;
	right: -9999px;
	margin: auto;
	border-top: 50px solid white;
	border-bottom: 50px solid white;
}

.class .score {
	height: 70px;
	margin-top: -30px;
	margin-right: -5px;
	text-align: right;
}

.class .score li {
	width: 20px;
	height: 20px;
	line-height: 20px;
	border-radius: 20px;
	vertical-align: bottom;
}

.class .score li:last-child {
	width: 60px;
	height: 60px;
	line-height: 60px;
	border-radius: 60px;
	z-index: 100;
}

.class .button {
	padding: 3px;
	margin: 0;
	display: block;
	text-align: center;
}

.class .points:before {
	content:'\e815';
	font-family: 'icons';
	margin-right: 5px;
	font-weight: normal;
}

.class .certificate:before {
	content:'\e823';
	font-family: 'icons';
	margin-right: 5px;
	font-weight: normal;
}

.class.addSchoolClass span {
	display: table;
	width: 100%;
}
.class.addSchoolClass a {
	display: table-cell;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
}

.class.addSchoolClass a:before {
	content:'\e841';
	font-family: 'icons';
	display: block;
	font-size: 3em;
}

/* Forms
--------------------------------------------------------------- */

h1 {
font-size: 2em !important;
margin-bottom: 0.5em !important;
}
.required {color: red;}

form label {text-align: right;}

@media only screen and (max-width: 767px) {
	form label {text-align: left;}
}

fieldset {
	margin-bottom: 20px !important;
	border: 2px dotted #ccc !important;
	padding: 20px !important;
}

.submit:before {
	font-family: 'icons';
	margin-right: 5px;
	content: '\e83b';
}

.cancel:before {
	font-family: 'icons';
	margin-right: 5px;
	content: '\e81e';
}

.schooldata h1,
.classdata h1 {
	text-align: center;
}
.schooldata fieldset > .row,
.classdata fieldset > .row {
	max-width: 600px;
	margin: 0 auto;
}

.schooldata form .address {position: relative;}
#wrongAddressTooltip {display: block; cursor: pointer;}
@media only screen and (min-width: 400px) {
	#wrongAddressTooltip {
		position: absolute;
		margin-bottom: 15px;
		right: 0; top: 0;
	}
}

.points {
	text-align: center;
}
.points h2 {margin: 0;}

.points fieldset input {
	max-width: 110px;
	margin: 0 auto;
	text-align: center;
}
.points fieldset label {
	text-align: center;
	margin-bottom: 0.2em;
}
.points .score span {
	width: 80px;
	height: 80px;
	line-height: 80px;
	border-radius: 80px;
}

.points time {
	font-size: 0.9em;
	color: #999;
}

@media only screen and (min-width: 767px) {
	.points .columns.three {border-right: 1px solid #ccc;}
	.points .columns.three:last-child {border: none;}
}

.points .columns > span:last-child {
	display: block;
	margin-top: 0.5em;
	font-size: 0.9em;
	color: #999;
}
.points .columns > span:last-child:before {
	content:'Ø';
	margin-right: 5px;
}

.points .inactive * {
	color: #ccc !important;
}

.points .inactive input {
	box-shadow: none;
}

#bigSummary {
	border: 1px solid #ccc;
	border-radius: 20px;
	padding: 2em;
}

#bigSummary .abstract span {
	font-family: 'Bree Serif';
	color: #FF8000;
	text-align: center;
}
#bigSummary .abstract .value {
	font-size: 2em;
}


#bigSummary .title {
	margin: 2em 0 0.5em 0;
	border-bottom: 1px dotted  #FF8000;
	font-family: 'Bree Serif';
	color: #FF8000;
}

#bigSummary .six.columns .title span {
	font-size: 0.9em;
}

#bigSummary .week > div > .value {
	font-family: 'Bree Serif';
	color: #FF8000;
}

#bigSummary .count {
	float: right;
}

#bigSummary .count .value {
	font-weight: 700;
}

@media only screen and (min-width: 767px) {
	#bigSummary .count {margin-right: 50%;}
}
