@import url(https://fonts.googleapis.com/css?family=Open+Sans);

/* Auf der Seite des Terminkalenders wird die rechte Spalte komplett ausgeblendet und dem Inhalt die 100% Platz 
   gegeben damit der Terminkalender ausreichend Space hat */
body.page-id-1288 aside {
	display:none;
}
body.page-id-1288 main.p20 {
	width:100%;
}

.bild {
	display: flex;
	flex-direction: row;
	background-color: #fff;
}
/*@font-face {
	font-family: 'Pe-icon-7-stroke';
	src:url('/fonts/Pe-icon-7-stroke.eot?-2irksn');
	src:url('/fonts/Pe-icon-7-stroke.eot?#iefix-2irksn') format('embedded-opentype'),
		url('/fonts/Pe-icon-7-stroke.woff?-2irksn') format('woff'),
		url('/fonts/Pe-icon-7-stroke.ttf?-2irksn') format('truetype'),
		url('/fonts/Pe-icon-7-stroke.svg?-2irksn#Pe-icon-7-stroke') format('svg');
	font-weight: normal;
	font-style: normal;
}

[class^="pe-7s-"], [class*=" pe-7s-"] {
	display: inline-block;
	font-family: 'Pe-icon-7-stroke';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;

	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.pe-7s-right-arrow:before {
	content: "\e699";
}
*/


/*! normalize.css v3.0.1 | MIT License | git.io/normalize */

/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */

html {
  font-family: sans-serif; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/**
 * Remove default margin.
 */

body {
  margin: 0;
}

/* HTML5 display definitions
   ========================================================================== */

/**
 * Correct `block` display not defined for any HTML5 element in IE 8/9.
 * Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}

/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */

audio,
canvas,
progress,
video {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Address `[hidden]` styling not present in IE 8/9/10.
 * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
 */

[hidden],
template {
  display: none;
}

/* Links
   ========================================================================== */

/**
 * Remove the gray background color from active links in IE 10.
 */

a {
  background: transparent;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */

a:active,
a:hover {
  outline: 0;
}

/* Text-level semantics
   ========================================================================== */

/**
 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
 */

abbr[title] {
  border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */

b,
strong {
  font-weight: bold;
}

/**
 * Address styling not present in Safari and Chrome.
 */

dfn {
  font-style: italic;
}

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari, and Chrome.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/**
 * Address styling not present in IE 8/9.
 */

mark {
  background: #ff0;
  color: #000;
}

/**
 * Address inconsistent and variable font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove border when inside `a` element in IE 8/9/10.
 */

img {
  border: 0;
}

/**
 * Correct overflow not hidden in IE 9/10/11.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Grouping content
   ========================================================================== */

/**
 * Address margin not present in IE 8/9 and Safari.
 */

figure {
  margin: 1em 40px;
}

/**
 * Address differences between Firefox and other browsers.
 */

hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}

/**
 * Contain overflow in all browsers.
 */

pre {
  overflow: auto;
}

/**
 * Address odd `em`-unit font size rendering in all browsers.
 */

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Forms
   ========================================================================== */

/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */

/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 */

button,
input,
optgroup,
select,
textarea {
  color: inherit; /* 1 */
  font: inherit; /* 2 */
  margin: 0; /* 3 */
}

/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */

button {
  overflow: visible;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */

button,
select {
  text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button; /* 2 */
  cursor: pointer; /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
  cursor: default;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

input {
  line-height: normal;
}

/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
 *    (include `-moz` to future-proof).
 */

input[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box; /* 2 */
  box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
  border: 0; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */

textarea {
  overflow: auto;
}

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */

optgroup {
  font-weight: bold;
}

/* Tables
   ========================================================================== */

/**
 * Remove most spacing between table cells.
 */

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}


/* ---------------------------------------------------------------------------------------------------*/
/* ---------------------------------------- BEGIN TMS CSS --------------------------------------------*/
/* ---------------------------------------------------------------------------------------------------*/




/*
green --> color: #71ba5e;
*/

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.center {
	text-align: center;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}



.wp-caption.alignnone {
    margin: 5px 0 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption {
    background: #fff;
/*     border: 1px solid #f0f0f0; */
    max-width: 100%; /* Image does not overflow the content area */
/*     padding: 5px 3px 10px; */
    text-align: center;
    margin: 5px 0 20px 0;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 100%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

article img:first-child {
	width: 100%;
	height: auto;
}


html, body, ul, li, h1, h2, h3, h4, h5, h6, img, p {
  margin: 0;
  padding: 0;
}

* {
	margin: 0;
	padding: 0;
}

.wrapper {
  width: 1000px; /* max-width @ repnosive */
  margin: 0 auto;
}

body {
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
  font-size: 16px;
  color: #2b2b2b;
  -webkit-font-smoothing: antialiased;
/*   background-color: #f9f9f9; */
}

header {
  height: 60px;
}

/*************** SCHRIFTEN und HYPERLINKS ***************/

.small {
	font-size: 0.8em;
}

.grey3 {
	color: #999;
}

.red {
	color: #963d56;
}

.agreen {
	color: #71ba5e;
}

a {
	color: #71ba5e;
}

#message a {
	color: #964d56;
	text-decoration: underline;
}

a:hover {
	text-decoration: underline;
}

.agreen:hover {
	text-decoration: underline !important;
}



/*************** ABSTÄNDE und EINRÜCKUNG ***************/

.floatright {
	float: right;
}

a {
	text-decoration: none;
}

h1 {
font-size: 2em;
}

h2 {
  font-size: 1.6em;
  color: #2b2b2b;
/*margin-bottom: -5px;*/

}


h2.phone {
  font-size: 1.5em;
}

/*
a#mail:before {
	font-family: "dashicons";
    content: "\f466";
    top: 10px;
    padding-right: 2px;
}
*/

.phone {
	position: absolute;
	margin-bottom: -7px;
	right: 0;
	bottom: 0;
	color: #71ba5e;
}

.text {
  font-style: normal;
  font-size: 0.8em;
  color: #d0d0d0;
}

.headinfo {
height: 60px;
width: 200px;
float:right;

	font-style: normal;
	position: relative;
	text-align: right;
	height: inherit;
}

header {
  /*position: absolute;*/
  padding: 30px 0;
}

#logo {
  float: left;
  width: 225px;
  height: 100%;
  background-image: url('/img/tms.png');
  position: relative;
}

#logo a {
	padding: 30px 113px;
	position: absolute;
}

#europaschule {
background-image: url('/img/europaschule.png');
  float: left;
  height: 100%;
  width: 292px;
  margin-left: 16%;
}

.relative {
	position: relative;
}


#stage {
	
}

#intro {
	position: absolute;
	z-index: 4;
	background-color: rgba(255,255,255,0.6);
	padding: 20px;
	margin-top: 40px;
	width: 530px;
}

#intro h1 {
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-size: 1.6em;
	padding-bottom: 20px;
}

#intro p {
	color: #2b2b2b;
	font-size: 0.8em;
}


#menu:before {
    font-family: "dashicons";
    content: "\f333";
    padding: 10px;
}

#menu {
	height: 60px;
	width: 60px;
	background-color: #2b2b2b;
		text-align: center;
		font-size: 2.5em;
/* 	border-radius: 10px; */
	border-top-left-radius: 8px;
	border-bottom-right-radius: 8px;
	display:none;
	color: #71ba5e;
	float: right;
	line-height: 1.6;
}

#menu:hover {
	cursor: pointer;
	background: #444;
}


nav {

  width: 1000px;
  margin: 0 auto;
	
}

nav a {
		text-decoration: none;
		color: #2b2b2b;
		padding: 8px 51px;
		display: block;
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}


nav ul {
  text-align: left;
  display: inline;
}
nav ul li {
  font: bold 12px/18px sans-serif;
  background-color: #fafafa;
  display: inline-block;
  margin-right: -3px;
  position: relative;
  /*padding: 8px 35px;*/
  color: #fff;
  cursor: pointer;
  width: auto;
  z-index: 4;
  opacity: 0.97;
  -webkit-transition: all 0.1s;
  -moz-transition: all 0.1s;
  -ms-transition: all 0.1s;
  -o-transition: all 0.1s;
  transition: all 0.1s;
}

nav a:hover, .sidebuttons a:hover {
	text-decoration: none;
}

nav ul li:hover {
  background: #71ba5e;
}

nav ul li:hover a {
  color: black;
}

/*nav ul li:hover {
  color: #000;
}*/


nav ul li ul {
  padding: 0;
  position: absolute;
  top: 34px;
  left: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  display: none;
  opacity: 0;
  visibility: hidden;
  -webkit-transiton: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  -ms-transition: opacity 0.2s;
  -o-transition: opacity 0.2s;
  transition: opacity 0.2s;
  max-height: 0;
}
nav ul li ul li { 
  background: #fafafa; 
  display: block; 
  color: #fff;
}

nav ul li ul li:hover { background: #71ba5e; }

nav ul li:hover ul {
  display: block;
  opacity: 1;
  visibility: visible;
}

/*
.current-menu-parent, .page_item  {
	box-shadow: inset 0 -1px #71ba5e;
}
*/

/* nav ul li ul li:hover a { color: #000; } */

/*

#btn-x {
	text-align: center;
	position: absolute;
	padding: 10px 40px;
	margin-top: 30px;
	color: #fff;
}
*/


#content {
  margin-top: 30px;

}

#message {
	background-color: #963d56;
/* 	border: 1px solid #963d56; */
/* 	color: #963d56; */
	color: #fff;
	text-align: center;
	position: relative;
	margin-top: 30px;
}

/*
#message span:after {
	content: "";
	font-size: 1.2em;
	position: absolute;
	top: 50%;
	right: 10px;
	margin-top: -10px;
}
*/

#message span:first-child {
	padding: 0 25px;
	display: block;
}

#message a {
	color: #fff;
}

#btn-x {
	position: absolute;
	top: 50%;
	right: 0;
	margin-top: -20px;
	padding: 10px;
}

#btn-x:hover {
	cursor:pointer;
}


/*************** FORM, SELECT ***************/



/************* MAIN-SINGLE ************/

.p20 {
	padding: 20px;
}

#headline {
	margin-top: 30px;
}


/*************** MAIN ***************/

main {
  text-align: left;
  position: relative;
  background: #fff;
  width: 570px;
  min-height: 60px;
  /*height: 1000px;*/
  border: 1px solid #f1f1f1;
  float: left;
  /*padding: 20px;*/
  box-sizing: border-box;
  margin-right: 60px;
}

.accordion {
  padding: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
  font-size: 1em;
  position: relative;
  box-sizing: border-box;
}

.accordion__title {
  /*font-family: Georgia;*/
  /*font-size:  18px;*/
  /*padding: 0 1em;*/
  background: #999;
  color: #fff;
  float: left;
  line-height: 3.5;
  height: 58px;
  cursor: pointer;
  text-align: center;
  /*margin-right: .25em;*/
  width: 50%;
  box-sizing: border-box;
    -webkit-transiton: background 0.2s;
  -moz-transition: background 0.2s;
  -ms-transition: background 0.2s;
  -o-transition: background 0.2s;
  transition: background 0.2s;
}

.no-js .accordion__title {
  float: none;
  height:auto;
  cursor:auto;
  margin:0;
  padding:0 2em;
}

.accordion__content {
  float: right;
  width: 100%;
  margin: 58px 0 0 -108%;
  padding: 20px;
  background: #fff;
  box-sizing: border-box;
}

.no-js .accordion__content {
  float:left;
  margin:0;
}

.accordion__title:hover {
  background: #f7f7f7;
}

.accordion__title.active {
  background: #fff;
    color: #2b2b2b;
}

.no-js .accordion__title:hover {
  background: #f7f7f7;
}


	.accordion__title:hover:not(.active) {
		background-color: #aaa;
	}


/*
.form_aktuelles {
  margin-bottom: 40px;
}
*/

td {
	padding-right: 5px;
}

select#cat {
	width: 100%;
	margin-bottom: 5px;
}

/*************** ARTICLE ***************/

article {
  margin-bottom: 20px;
}


article header {
  padding: 0;
  height: auto;
}


article span {
  font-size: 0.8em;
}

/*
Theme Name: TMS
Theme URI: http://tms-luebeck.de
Description: Template für die Thomas-Mann-Schule Lübeck
Author: Stefan Mlodoch
Author: URI: TBA
*/

.lastthree {
	border-top: 1px solid #e5e5e5;
	padding-top: 20px;
	margin-top: 30px;
	padding-bottom: 20px;
}

h3 {
	font: 1.4em/1.2 'Open Sans', Helvetica, Arial, sans-serif;
	margin-bottom: 0.5em;
}

h3 a {

  color: #71ba5e;
  margin: 10px 0 20px 0;
}

h3 a:hover {
  text-decoration: underline !important;
}
    
article .imgarticle {
  /*height: 100px;*/
  width:  150px;
  background-color: #f7f7f7;
  border: 1px solid #f0f0f0;
  padding: 5px;
  float: left;
  margin-right: 20px;
  margin-bottom: 10px;
}

.bild {
  width:  100%;
  height: auto;
  background-color: #f7f7f7;
  border: 1px solid #f0f0f0;
  padding: 5px;
  margin-right: 20px;
  margin-bottom: 10px;
  box-sizing: border-box;
}

article p {
  margin-top: 0;
  font-size: 0.8em;
  line-height: 1.5em;
  margin-bottom: 1em;
}

article footer span a {
	color: #963d56;
}

article footer span a:hover {
	text-decoration: underline !important;
}

article ul, ol {
  font-size: 0.8em;
  line-height: 1.5em;
	margin-left: 20px;
margin-bottom: 1em;
}



/*************** ASIDE ***************/

aside {
  float: right;
  width: 370px;
}

ul.sidebuttons {
  list-style: none;
}

ul.sidebuttons li {

      height: 58px;
  margin-bottom: 10px;
  display: block;
  position: relative;
}

/*.pe-7s-right-arrow:before {
	color: #e5e5e5;
	content: "\e699";
	position: absolute;
	height: 20px;
	width: 20px;
	font-size: 2em;
	top: 13px;
	left: 23px;
}*/


ul.sidebuttons li a {
      /*padding: 20px 0px 20px 80px;*/
      position: relative;
      height: 100%;
      width: 100%;
      color: #f0f0f0;

      background: #999;
	
      display: block;
      margin: 0;
      padding-left: 40px;
      padding-top: 20px;
      box-sizing: border-box;
}

ul.sidebuttons li:hover a {
  background: #aaa;
  cursor: pointer;

  -webkit-transiton: background 0.2s;
  -moz-transition: background 0.2s;
  -ms-transition: background 0.2s;
  -o-transition: background 0.2s;
  transition: background 0.2s;
}

#gmap-static {
	display:none;
}

#map {
	border: 1px solid #e5e5e5;
	width: 100%;
	height: 280px;

}


h3.m10 {
	margin: 20px 0 10px;
}

.award-list {
	list-style: none;
}

.award-list li {
	border: 1px solid #e5e5e5;
	text-align: center;
	height: auto;
}

.award-list img {
/*
	-webkit-filter: grayscale(0.5);
	filter: grayscale(0.5);
*/
	max-width: 100%;
	height: auto;
}

/*
.award-list img:hover {
	-webkit-filter: none;
	filter: none;
	-webkit-transition: -webkit-filter 0.2s;
}
*/


#footer {
	border-top: 2px solid #999;
	padding-top: 20px;
	padding-bottom: 20px;
	margin-top: 40px;
}


/* ---------------------------------------------------------------------------------------------------*/
/* --------------------------------- ACCORDION MENU FOR DOWNLOAD - -----------------------------------*/
/* ---------------------------------------------------------------------------------------------------*/

.accordion,
.accordion ul,
.accordion li,
.accordion a,
.accordion span {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
}
 
.accordion li {
    list-style: none;
}

/* main menu styling */

.accordion li > a {
    display: block;
    position: relative;
    min-width: 110px;
    padding: 0 10px 0 40px;
/*     color: #fdfdfd; */
	color: #2b2b2b;
    font: bold 12px/34px 'Open Sans', sans-serif;
    text-decoration: none;
/*     text-shadow: 0px 1px 0px rgba(0,0,0, .35); */
    background: #6c6e74;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f0f0f0), color-stop(100%,#e5e5e5));
    background: -webkit-linear-gradient(top,  #f0f0f0 0%,#e5e5e5 100%);
    background: linear-gradient(top,  #f0f0f0 0%,#e5e5e5 100%);
    box-shadow: inset 0px 1px 0px 0px rgba(255,255,255, .1), 0px 1px 0px 0px rgba(0,0,0, .1);
}

/* main menu number styling to right */

.accordion li > a span {
    display: block;
    position: absolute;
    top: 7px;
    right: 0;
    padding: 0 10px;
    margin-right: 10px;
 
    font: normal bold 12px/18px 'Open Sans', sans-serif;
    background: rgba(0,0,0,0.1);
 
    -webkit-border-radius: 15px;
    border-radius: 15px;

    box-shadow: inset 1px 1px 1px rgba(0,0,0, .2), 1px 1px 1px rgba(255,255,255, .1);
}


.accordion > li > a:before {
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 24px;
    height: 24px;
    margin: 4px 8px;
 
    background-repeat: no-repeat;

    background-position: 0px 0px;
}


/* Sub menu stling*/
.sub-menu2 li a {
    color: #797979;
    text-shadow: 1px 1px 0px rgba(255,255,255, .2);
 
    background: #f7f7f7;
    border-bottom: 1px solid #c9c9c9;
 
    -webkit-box-shadow: inset 0px 1px 0px 0px rgba(255,255,255, .1), 0px 1px 0px 0px rgba(0,0,0, .1);
    box-shadow: inset 0px 1px 0px 0px rgba(255,255,255, .1), 0px 1px 0px 0px rgba(0,0,0, .1);
}
 
.sub-menu2 li:last-child a { border: none; }
 
.sub-menu2 li > a span {
    color: #797979;
    text-shadow: 1px 1px 0px rgba(255,255,255, .2);
    background: transparent;
    border: 1px solid #c9c9c9;
 
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
 
.sub-menu2 em {
    position: absolute;
    top: 0;
    left: 0;
    margin-left: 14px;
    color: #a6a6a6;
    font: normal 10px/34px 'Open Sans', sans-serif;
}


/* hover and active states */

.accordion > li:hover > a,
.accordion > li:target > a {
    color: #fff;
/*     text-shadow: 1px 1px 1px rgba(255,255,255, .2); */
 
    /*background: url(../img/active.png) repeat-x;*/
    background: #a5cd4e;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#72b95d), color-stop(100%,#73bb6c));
    background: -webkit-linear-gradient(top,  #72b95d 0%,#73bb6c 100%);
    background: linear-gradient(top,  #72b95d 0%,#73bb6c 100%);
}
 
.accordion > li:hover > a span,
.accordion > li:target > a span {
    color: #fff;
    text-shadow: 0px 1px 0px rgba(0,0,0, .35);
    background: rgba(0,0,0,0.2);
}
 
.sub-menu2 li:hover a { background: #efefef; }


/* show and hide the sub menu */

.accordion li > .sub-menu2 {
    height: 0;
    overflow: hidden;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
 
.accordion li:target > .sub-menu2 {
    height: 105px;
}

/* icons */

.accordion li.pdf > a:before { 

    position: absolute;
    top: 4px; /*def 0*/
    left: 0;
    content: '';
    width: 24px;
    height: 24px;
    margin: 4px 8px;
    background-repeat: no-repeat;
    background-position: 0px 0px;
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDMwIDMwIiBoZWlnaHQ9IjMwcHgiIGlkPSJMYXllcl8xIiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAzMCAzMCIgd2lkdGg9IjMwcHgiIHhtbDpzcGFjZT0icHJlc2VydmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxnPjxwYXRoIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTMwLjAxNSwyOC42NjdIMFYwaDMwLjAxNVYyOC42NjcgTTIuODg0LDI1Ljc4M2gyNC4yNDRWMi44ODYgICBIMi44ODQiIGZpbGw9IiNFQTRDM0EiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjxwYXRoIGQ9Ik0xNS40MDEsNC40MDggICBjMC40MjEsMC4xODMsMC4zMjcsMC40NiwwLjE4OCwxLjc2MmMtMC4xNDMsMS4zNDktMC42MTgsMy44MDYtMS41MzUsNi4yMThjLTAuOTE4LDIuNDE1LTIuMjgsNC43ODUtMy40NjcsNi41NDIgICBjLTEuMTg1LDEuNzU1LTIuMjAxLDIuODk2LTIuOTc0LDMuNTU0Yy0wLjc3NywwLjY1OC0xLjMxNCwwLjgzMy0xLjY2NSwwLjg5M2MtMC4zNDgsMC4wNi0wLjUwNiwwLTAuNi0wLjE3NSAgIHMtMC4xMjctMC40Ny0wLjA0Ni0wLjgxOWMwLjA3OS0wLjM1MywwLjI2OC0wLjc2MywwLjgwNC0xLjI4N2MwLjU0MS0wLjUyNywxLjQyNi0xLjE3LDIuNjYxLTEuNzcyICAgYzEuMjM1LTAuNTk5LDIuODE2LTEuMTU2LDQuMTE1LTEuNTM1YzEuMjk5LTAuMzgxLDIuMzExLTAuNTg1LDMuMTk3LTAuNzQ1YzAuODg4LTAuMTYxLDEuNjQ3LTAuMjc4LDIuMzktMC4zMzYgICBjMC43NDUtMC4wNiwxLjQ3NC0wLjA2LDIuMTg2LDBjMC43MTIsMC4wNTgsMS40MDksMC4xNzUsMi4wMTEsMC4zMTljMC42MDEsMC4xNDcsMS4xMDgsMC4zMjMsMS41NTEsMC42MDIgICBjMC40NDIsMC4yNzcsMC44MjMsMC42NTgsMS4wMTIsMS4wODJjMC4xOTIsMC40MjUsMC4xOTIsMC44OTMsMC4wMzMsMS4yMjljLTAuMTU4LDAuMzM2LTAuNDc2LDAuNTQyLTAuODM5LDAuNjU3ICAgYy0wLjM2MywwLjExNy0wLjc3NSwwLjE0Ni0xLjI2NiwwYy0wLjQ5MS0wLjE0Ni0xLjA2My0wLjQ2Ny0xLjY2My0wLjg5M2MtMC42LTAuNDIzLTEuMjM0LTAuOTQ4LTIuMDU3LTEuNzY4ICAgYy0wLjgyMy0wLjgyLTEuODM3LTEuOTM0LTIuNjkxLTMuMDE1Yy0wLjg1NC0xLjA4My0xLjU1My0yLjEzNi0yLjAyOC0zLjAyOGMtMC40NzMtMC44OTMtMC43MjctMS42MjQtMC45MzMtMi4zNTcgICBjLTAuMjA2LTAuNzMxLTAuMzY0LTEuNDYyLTAuNDI3LTIuMTJjLTAuMDYzLTAuNjYtMC4wMzMtMS4yNDUsMC4wMzEtMS43MWMwLjA2My0wLjQ3LDAuMTYtMC44MiwwLjMxNy0xLjA1NCAgIGMwLjE1OC0wLjIzNSwwLjM4MS0wLjM1MiwwLjUzOS0wLjQxYzAuMTU4LTAuMDYsMC4yNTQtMC4wNiwwLjM0OC0wLjA3M2MwLjA5NC0wLjAxNCwwLjE4OC0wLjA0NCwwLjMzMywwICAgQzE1LjA2NCw0LjIwOSwxNS4yNDgsNC4zMjEsMTUuNDAxLDQuNDA4eiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjRUE0QzNBIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHN0cm9rZS13aWR0aD0iMS41NyIvPjwvZz48L3N2Zz4=);
    background-size: 85%;
}
/*.accordion li.files:hover > a:before,
.accordion li.files:target > a:before { background-position: 0px -24px; }*/


/* ---------------------------------------------------------------------------------------------------*/
/* -------------------------------- BEGIN JQUERY RESPONSIVE SLIDER -----------------------------------*/
/* ---------------------------------------------------------------------------------------------------*/

.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  }

.rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  }

.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }

.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
  }



/* ---------------------------------------------------------------------------------------------------*/
/* ------------------------------------- BEGIN MEDIA QUERIES -----------------------------------------*/
/* ---------------------------------------------------------------------------------------------------*/


@media only screen and (max-width : 1040px ) {

	/*
#stage {
		background-image: url(/img/panoramamini.jpg);
		background-position: 50%;
		background-size: cover;
		height: 200px;
	}
*/
	#intro {
		margin-top: 20px;
	}

	main {
		margin-right: 3% !important;
		width: 55%;
	}
	aside {
		width: 40%;
	}
	.wrapper {
		width: auto;
		padding-left: 20px;
		padding-right: 20px;
	}
	header {
		padding: 20px;
	}
	#logo {
		margin-right: 0;
	}
	#europaschule {
		width: 292px;
		height: inherit;
		margin: 0 auto;
		position: absolute;
		left: 36%;
	}
	nav {
		width: 100%;
		margin-top: 10px;
		background-color: #f9f9f9;
	}
	nav a {
		padding: 8px 29px;
	}
/*
	nav ul li a {
		padding: 8px 28px;
		z-index: 1;
	}
*/
	
	#content,#message {
		margin-top: 20px;
	}
	
}



@media only screen and (min-width : 801px ) {
	#gmap_canvas {
	  height:300px;
	  width:100%;
	  margin-bottom: 10px;
	}
	#gmap_canvas img{
		max-width:none!important;
		background:none!important
		}.info{
		font-size:10px;
		text-align:right;
		font-family:arial;
		margin-top:0px;
		}a{
		text-decoration:none;
	}
}

@media only screen and (max-width : 880px ) {
	ul.sidebuttons li a {
		padding-left: 30px;
	}
	/*.pe-7s-right-arrow:before {
		display:none;
	}*/
}


@media only screen and (max-width : 800px ) {
	#europaschule {
		display: none;
	}
}

@media only screen and (max-width : 750px ) {
	main {
/* 		  max-height: 400px; */
/* 		  overflow-y: scroll; */
	}
	#europaschule, #anfahrt, #awards {
		display: none;
	}
	.headinfo {
		margin-right: 30px;
	}
	main, aside {
		margin: 0;
		width: 100%;
		float:none;
	}
	aside {
		padding-top: 20px;
	}
	main, aside {
		float:none;
	}

/*
	.accordion__title {
		background: #2b2b2b;
	}
	.accordion__title:hover:not(.active) {
		background-color: #444;
	}
*/
	.accordion__title:first-child {
		border-right: 1px solid #fff;
	}
	#menu {
		display: block;
	}
	
	
	/* SMALL MENU */
	
	nav {
    width: 100%;
    display: none;
    margin-top: 0;
}
nav ul {
    padding: 0px;
    margin: 0px;

    -moz-box-shadow: 2px 2px 2px #dfdfdf;
    -webkit-box-shadow: 2px 2px 2px #dfdfdf;
    box-shadow: 2px 2px 2px #dfdfdf;

    border-right: 1px solid #DFDFDF;
    border-bottom: 1px solid #DFDFDF;
}
nav ul:after {
    clear: both;
    content: " ";
    display: block;
    font-size: 0;
    height: 0;
    visibility: hidden;
}
nav ul,nav ul li{
    background-color: #FAFAFA;
}
nav ul li {
	padding: 0;
	width: 100%;
    list-style: none;
    /*border-bottom: 1px solid #DFDFDF;*/
}
nav ul li a {
    text-decoration: none;
    display: block;
    color: #333;
    padding: 10px 34px;
}
nav ul li#Schule:target a, nav ul li#Schule:target > ul li a{
    background-color: #E6DD00;
}

nav ul li#ueber-uns:target a, nav ul li#ueber-uns:target > ul li a{
    background-color: #8CB302;
}
nav ul li#leistungen:target a, nav ul li#leistungen:target > ul li a{
    background-color: #008C74;
}
nav ul li#referenzen:target a, nav ul li#referenzen:target > ul li a{
    background-color: #004C66;
}
nav ul li#kontakt:target a, nav ul li#kontakt:target > ul li a{
    background-color: #332B40;
}


nav ul li:target > a {
    color: #FAFAFA;
}
nav ul li:hover ul, nav ul li.hover_effect {
    max-height: 300px !important;
    overflow: inherit !important;
}
nav ul li ul{
    display: block;
    position: relative;
    padding: 0px;
    border: none;
    box-shadow: none;
    max-height: 0px;
    overflow: hidden;

    -webkit-transition: max-height 0.3s ease-out;
    -moz-transition: max-height 0.3s ease-out;
    -o-transition: max-height 0.3s ease-out;
    -ms-transition: max-height 0.3s ease-out;
    transition: max-height 0.3s ease-out;
}
nav ul li ul li{
	float: none;
    display: block;
    border: none;
}
nav ul li ul li a {
    padding-left: 44px;
    color: #FAFAFA;
}
nav ul li ul li a:hover{
	color: #333;
	background-color: #FAFAFA !important;
}


nav ul li ul {
	top: 0;
}


nav ul li:hover ul {
  display: none;
  opacity: 0;
  visibility: hidden;
}

nav ul li.showsub ul {
	  display: block;
  opacity: 1;
  visibility: visible;
      max-height: 300px !important;
    overflow: inherit !important;
}

/*
.current-menu-parent, .page_item {
	box-shadow: none;
}
*/

	
	
}

@media only screen and (max-width : 570px ) {

	.headinfo {
		width: 100%;
		margin: 20px 0;
		display: none;
	}
	.headinfo address {
		text-align: center;
	}
	.phone {
		position: relative;
	} 
	/*
#content {
		margin-top: 79px;
	}
*/
}

/*Smartphones (portrait and landscape) ----------- */
@media only screen and (min-width : 320px) and (max-width : 480px) {
	/*body {
		background-color: #f4f4f4;
	}*/
	main, aside {
		margin: -8px 0;
	}
	
	.p20 {
		padding: 10px;
	}
	
	.headinfo {
		display: none;
	}
	#headline {
		margin-top: 10px;
	}
	.wrapper {
		padding: 10px;
	}
	#message, #content {
		margin-top: 0;
	}
	.accordion__content {
		padding: 10px;
	}

	article .imgarticle {
	  height: auto;
	  width:  90px;
	}
	article header {
		padding: 0 0 10px 0;
	}
	article footer {
		margin-bottom: 0;
	}
	
	h3 a {
		font: 0.8em/0.4 Georgia, serif;
		margin: 5px 0 10px 0;
	}

	#footer {
		margin-top: 0;
	}

}




/* RETINA */
@media
only screen and (-webkit-min-device-pixel-ratio: 2)      and (min-width: 320px),
only screen and (   min--moz-device-pixel-ratio: 2)      and (min-width: 320px),
only screen and (     -o-min-device-pixel-ratio: 2/1)    and (min-width: 320px),
only screen and (        min-device-pixel-ratio: 2)      and (min-width: 320px),
only screen and (                min-resolution: 192dppx) and (min-width: 320px),
only screen and (                min-resolution: 2dppx)  and (min-width: 320px) { 

#logo {
  background-image: url('/img/tms2x.png');
  background-size: auto 100%;
}
 
#europaschule {
background-image: url('/img/europaschule.svg');
}

}


  
@media only print {
	header, nav, ul.rslides, aside, footer, form.form_aktuelles, div#message, dt.accordion__title {
		display: none;
	}
	main {
		width: 70%;
		margin: 0 auto;
		border: none;
	}
}








