/* Stylesheet-Datei "pg-style-standard" für die Homepage des Peutinger Gymnasiums auf http://www.peutinger-gymnasium.de/ */


/* Klassendefinition für die Startseite */

#inhalt-startseite {
	display: block;
	position: relative;
	float: right;
	width: 960px;
	margin: 50px 0 10px 0;
	padding: 0;
	border: 0px solid blue;
}

#inhalt-startseite a img {
	margin: 0;
	padding: 0;
	border: none;
}

/* 2-Spaltenlayout mit 180px Rand links und margin:auto */
@media only screen and (max-width: 989px) {
#inhalt-startseite{width:685px}
#startseite-haupt{width:685px}
}

/* 2-Spaltenlayout mit 120px Rand links und margin:auto */
@media only screen and (max-width: 640px) {
#inhalt-startseite{width:610px}
#startseite-haupt{width:610px}
}

/* 1-Spaltenlayout mit 180px Rand links und margin:auto */
@media only screen and (max-width: 620px) {
#inhalt-startseite{width:95%}
#startseite-haupt{width:95%}
}


.quad,.quer{
	display:block;  
	position: relative;
  	overflow: hidden;
	float:left;
	height:188px;
	margin: 0 20px 20px 0;
}
.quad{
	width:188px;
	border: solid 0px #ff0000;

}

.quer {
	width:250px;
}

.quer_250{
	width:250px;
	height:188px;}

.quad img,.quer img {  display: block; }

.quad p,.quer p {
  position: absolute;
  background: white;
	padding: 5%; width:90%;
  color: #77140f;
	left: 0; bottom: -30%;
  opacity: 0;
  -webkit-transition: all 0.6s ease;
  -moz-transition:    all 0.6s ease;
  -o-transition:      all 0.6s ease;  
   transition: all 0.6s ease;
}

.quad:hover p,.quer:hover p {
  opacity: 0.8;
  bottom: -13px;

}








.quad:before,.quer:before {
  content: "+";
  position: absolute;
  font-weight: 1600;font-size:150%;
  background: white;

  text-shadow: 0 0 5px white;
  color: #77140f;
  width: 24px;
  height: 24px;
  -webkit-border-radius: 0px;
  -moz-border-radius:    0px;
  border-radius:         0px;
  text-align: center;
  
  line-height: 24px;
  -moz-transition: all 0.6s ease;
  opacity: 0.75;
}
.quad:hover:before,.quer:hover:before {
  opacity: 0;
}

.quad:before,.quer:before { bottom: 0px; left: 0px; }

.links{margin-bottom:20px;}
#aktuelles {
	float:right; margin-right:20px;
	background-color:#666;border:1px solid black;
	overflow: hidden;	width:186px;height:186px;
	margin: 0 20px 20px 0;
}

#aktuelles h2 {
	text-align: center;color:white;
	margin: 0;
	padding: 5px;
	font-size: 90%;
}

#aktuelles h3 {
	text-align: center; color:white;
	margin: 0;
	padding: 5px;
	font-size: 90%;
	font-weight: bold;
}
#aktuelles p{
	margin: 0;color:white;
	padding: 2px 10px;
	font-size: 75%;
}
#aktuelles p:last-child {
	position:absolute;
	background:#666;
	top:163px; padding: 5px 20px;}
#termine {
	background: #999999;
	border: solid 1px black;
	text-align: center;
	font-size: 101%;
	overflow: auto;
	overflow: hidden;;
}

#termine h2 {
	margin: 0;
	padding: 0 0 0.5em 0;
	font-size: 90%;
}



#termine table {
	margin: 0;
	padding: 0;
	width: 100%;
	border: 0;
	width: auto;
}

#termine th {
	margin: 0;
	padding: 0 5px 5px 0;
	font-size: 60%;
	font-weight: bold;
	color: #000000;
	text-align: center;
	background: none;
	border-bottom: 1px dotted #000000;
	vertical-align: top;
}

#termine td {
	margin: 0;
	padding: 0;
	background: none;
	text-align: left;
	border-bottom: 1px dotted #000000;
	font-size: 60%;
}

#termine th.heute {
	background: #6090ff;
	color: #ffffff;
}

#termine td.heute {
	background: #6090ff;
	color: #ffffff;
}

#updates {
	background: #CCC; width:188px; height:188px;
	border: solid 1px #000000;
	overflow: hidden; float:right; margin-right:20px;
}

#updates h2 {
	text-align: center;
	font-size: 90%;
	margin: 0;
	padding: 5px 0;
}
#updates p{
	margin: 0;
	padding: 2px 10px;
	font-size: 75%;
} 
#updates ul {
	text-align: left;
	margin: 0;
	padding: 0 5px 5px 10px;
	line-height: 110%;
}

#updates li {
	margin: 0 0 0 10px;
	padding: 0 0 3px 0;
}


#startseite-neues {
	display: block;
	width: auto;
	margin: 0;
	padding: 0;
}

#startseite-neues h2 {
	clear: none;
	margin: 0;
	padding: 0 0 0.5em 0;
	text-align: right;
}

#startseite-neues h3 {
	float: left;
	width: 366px;
	font-size: 90%;
	margin: 0px;
	padding: 0 20px;
	font-weight: bold;
	background: url("images/layout/standard/navbg.png") repeat-x bottom;
	border: 1px solid #000000;
	border-bottom: none;
}

#startseite-neues h3 a {
	display: block;
	width: 100%;
}

#startseite-neues p {
	float: left;
	width: 390px;
	font-size: 80%;
	line-height: 120%;
	margin: 0 0 5px 0;
	padding: 2px 8px 8px 8px;
	background: #f8fcff;
	border: 1px solid #000000;
	border-top: none;
}

#startseite-neues img.linksbuendig {
	margin: 0 5px 5px 0;
	padding: 0;
}

#startseite-neues img.rechtsbuendig {
	margin: 0 0 5px 5px;
	padding: 0;
}

#startseite-neues .mehr {
	padding-left: 12px;
	background: url("images/layout/standard/pfeil_vor.gif") left center no-repeat;
}


