@font-face {
  font-family: 'MyCalibri';
  font-style: italic;
  font-weight: 400;
  src: url("/fonts/mycalibri1.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'MyCalibri';
  font-style: italic;
  font-weight: 700;
  src: url("/fonts/mycalibri2.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'MyCalibri';
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/mycalibri3.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'MyCalibri';
  font-style: normal;
  font-weight: 700;
  src: url("/fonts/mycalibri4.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.body .container {
    /*background-color: whitesmoke;*/
}

/*
.body .container:before {
	position: absolute;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 1000px;  
  opacity: .1; 
  z-index: -1;
  background: url("/images/_unterricht/ags/hintergrund.jpg");
  background-size: contain;
}	
*/

body.thg-fs-latein {
   background-image: url('/images/Fachschaften/Latein/background.jpg');
   background-position: center top; /* Center the image */ 
   background-attachment: fixed;
   background-repeat: no-repeat;
   background-size: auto 100%;
}
 
a:hover {
   color: #0088cc;
}

.navigation .nav-child {
   margin: 0
}

.navbar .btn-navbar .icon-bar {
   background-color: #000;
}

.blog-featured h2 {
   font-size: 18px;
}

.moduletable-breaking-news {
  border: 3px dashed red;  
  border-radius: 5px;
  padding: 0px 5px;
}

.body {
   font-size: 18px;
   line-height: 22px;
   font-family: Calibri, "MyCalibri", Helvetica, Arial, sans-serif;

}

#aside .menu li {
   margin: .7em 0;
   font-size: 15px;
}

h3 {
   color: #0088cc;
   font-weight: bold;
}

h4 {
   color: #0088cc;
   font-weight: bold;
}

header.thg-header {
   background-image: url('/images/Allgemein/titelbild.jpg');
   background-size: 100%;
   background-size: cover;
   background-position: center;
   height: 300px;
}

header.thg-header a {
   text-decoration: none;
   color: black !important;
}


.title-name a:hover {
   text-decoration: none;
}

.title-name {
   padding: .5em;
   font-size: 2.5em;
   line-height: 1em;
}

nav.navigation {
   display: flex;
   flex-direction: row;
    position: sticky;
    top: 0;
    background-color: white;
	 background-color: aliceblue;	 
    z-index: 1;
}

.nav-collapse.in.collapse + .search {
   display: none;
}

nav.navigation .search {
   margin-left: auto;
}

nav.navigation .search form {
   margin: 0;
}


header.thg-header-small {
   /*background-color: #DDE8F5;*/
   padding: .3em;
}

header.thg-header-small a {
   text-decoration: none;
}

header .header-top {
   background-image: url('/images/Allgemein/transparent.png');
   padding: .2em;
   display: flex;
	width: 100%;
	justify-content: space-between;
	box-sizing: border-box;  
}

header .logos {
   display: flex;
   flex-direction: row;
}

header .querbanner {
   position: absolute;
   bottom: 0;
   left: 0;
   width: 10rem;
   height: 10rem;
}

body > header > .container-nav {
	padding-bottom: .5em !important;
	padding-top: 0 !important;
}

#mod-custom114 ul {
  padding-left: 0;
}

#mod-custom114 a {
  text-decoration: none;
}

#mod-custom114 .thg-event {
  font-weight: bold;
}

@media (max-device-width: 979px) {

   header.thg-header {
      height: 200px;
   }

   .title-name {
      padding: .5em;
      font-size: 1.7em;
   }
   
   header .querbanner {
      width: 5rem;
      height: 5rem;
   }
	
	header .logos { width: 150px; }
   
}

@media (max-device-width: 750px) {

   header.thg-header {
      height: 200px;
   }
	
	header.thg-header .header-top {
		height: 80px;
	}

   .title-name {
      padding: .5em;
      font-size: 1.5em;
   }
   
   header .querbanner {
      width: 5rem;
      height: 5rem;
   }
	
	header .logos { width: 120px; }
   
}

@media (max-device-width: 630px) {

  body.site {
      padding: 0;
  }

   .body .container {
      border: 0;
      padding: 10;
   }

   header.thg-header {
      height: 100px;
   }

	header.thg-header .header-top {
		height: 65px;
	}

   .title-name {
      padding: .5em;
      font-size: 1.4em;
   }     

   header .querbanner {
      width: 4rem;
      height: 4rem;
   }
	
	header .logos { width: 90px; }


}

@media (max-device-width: 525px) {

   header.thg-header {
      height: 130px;
   }

	header.thg-header .header-top {
		height: 60px;
	}

   .title-name {
      padding: .5em;
      font-size: 1.0em;
   }     


   header .querbanner {
      width: 3rem;
      height: 3rem;
   }

	header .logos { width: 70px; }

}

@media (max-device-width: 415px) {

   header.thg-header {
      height: 130px;
   }

}

@media (max-device-width: 385px) {

   header.thg-header {
      height: 120px;
   }

}



.metismenu.mod-menu .metismenu-item {
	flex-wrap: nowrap !important;	
}



.nav-collapse .nav-closebtn {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 36px;
  margin-left: 50px;
  display: none;
}


.menu-opener {
   display: none;
   padding-left: 20px;
}

.thg-menu-top {
   display: none;
}

.thg-menu-aside {
   display: block;
}

@media (max-width: 979px) {

   .menu-opener {
      position: absolute;
      display: block;
      right: 1.5em;
      top: .6em;   
      font-weight: bold;
      color: #0088cc;
   }

   .nav-collapse li a {
      background: inherit !important;
      color: #818181 !important;
   }
   
   .nav-collapse li {
      float: none;
   }

   .navigation .nav > li:hover > .nav-child,
   .navigation .nav > li > a:focus + .nav-child,
   .navigation .nav li li:hover > .nav-child,
   .navigation .nav li li > a:focus + .nav-child {   
      display: none;
   }
   
   
   
   .nav-collapse.in.collapse, .nav-collapse {
      min-height: 100%;
      width: 0;
      position: fixed;
      z-index: 1;
      top: 0;
      left: 0;
      background-color: #111;
      overflow-x: hidden;
      padding-top: 60px;
      transition: 0.5s;
      opacity: .95;
      overflow-y: scroll;
   }
   /*
   .nav-collapse {
     min-height: 100%;
     width: 0;
     position: fixed;
     z-index: 1;
     top: 0;
     left: 0;
     background-color: #111;
     overflow-x: hidden;
     padding-top: 60px;
     transition: 0.5s;
     opacity: .95;
   }
   */

   .nav-collapse .nav-closebtn {
      display: block;
   }
   
   
   .nav-collapse li {
     padding: 4px 4px 4px 12px;
     text-decoration: none;
     font-size: 20px;
     color: #818181;
     display: block;
     transition: 0.3s;
   }   

   .navigation .nav > li > .nav-child:before, .navigation .nav > li > .nav-child:after, .navigation .nav li li .nav-child:after {
      display: none;
   }
   
   
   .navigation .nav-child {
      position: relative;
      float: none;
      color: #818181;
      background-color: inherit;
   }
   
   .navigation .nav-child a {
      font-size: 20px;
      font-weight: bold;      
      color: #777;
   }
   
   .navigation .nav li li .nav-child {
      left: 0;
      top: 0;
   }
   
   .thg-menu-aside {
      display: none;
   }

   .thg-menu-top {
      display: block;
   }
   
   
}

img.teacher-avatar-thumb {
	min-width: 2rem;
	max-width: 3rem;
	transform: scaleX(1);
}

img.teacher-avatar {
	position: absolute;
	transition: all .2s;
	left: 0;
	top: 0;
	transform: scale(0) translateY(-50%) scaleX(1);
	max-width: 300px;
	max-height: 300px;
	border: .3rem solid #555;
	opacity: 0;
	z-index: 1;
	pointer-events: none;
}

img.teacher-avatar.open {
	opacity: 1;
	transform: scale(1) translateY(-50%) scaleX(1);
	
}

table.vertical-align-middle td {
	vertical-align: middle;	
}

/*
img.teacher-avatar:hover {
	position: absolute;
	width: 200px;
	height: 200px;
	border: 2px solid red;
	transform: translate(-10%, -50%);
}
*/


/* Flip Card */
.ags {
  --back-color-music: #222;
  --back-color-mint:  #001AAD;
  --back-color-lang:  #6C0F6D;
  /*--back-color-sport: #60000C;*/
  --back-color-sport: darkgreen;
  /*--back-color-varia: #A54200;*/
  --back-color-varia: darkred;
  
  
  
}


	


.ag-type {
	margin-top: 2rem;
}

.ag-type-music { --back-color: var(--back-color-music); }
.ag-type-mint  { --back-color: var(--back-color-mint); }
.ag-type-lang  { --back-color: var(--back-color-lang); }
.ag-type-sport { --back-color: var(--back-color-sport); }
.ag-type-varia { --back-color: var(--back-color-varia); }


.ag-type > .title {
	margin-left: .3rem;
	font-size: 1.2rem;
	color: var(--back-color);
}

.card-container {
	display: flex;
	flex-flow: wrap;
}


.flip-card {
  background-color: transparent;
  width: 150px;
  height: 150px;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
  margin: .3rem;
}




.ag-type .flip-card .flip-card-front {
	border: 2px solid var(--back-color);
}

.ag-type .flip-card .flip-card-front h1 {
	background-image: linear-gradient(to bottom, rgba(0,0,0,0), var(--back-color) 80%, var(--back-color));
	padding-left: .2rem;
	padding-right: .2rem;
	box-sizing: border-box;
}
.ag-type .flip-card .flip-card-back     { 
    background-color: var(--back-color);
    line-height: 1.2rem;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  border-radius: 8rem;
}

.flip-card:hover .flip-card-inner, .flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg) scale(1);
}

.flip-card:hover, .flip-card.flipped {
	position: relative;
	z-index: 1;
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  color: #fff;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
  box-sizing: border-box;
  border-radius: .8rem;
  overflow: hidden;
}

.flip-card-front h1 {
	position: absolute;
	width: 100%;
	font-size: 1rem;
	line-height: 1.2rem;
   text-align: center;	
	padding-top: 20%;
	padding-bottom: 5%;
	bottom: 0;
	margin: 0;
}


.flip-card-front {
  background-color: #bbb;
}

.flip-card-back {
  transform: rotateY(180deg) scale(1);
  padding: .5rem;
  font-size: .8em;
  overflow: auto;
}

.flip-card-back .info {
	background-size: 80% 80%;	
	background-image: url('/images/Allgemein/info.png');
	background-position: center center;
	background-repeat: no-repeat;
	border: 1px solid black;
	border-radius: 50%;
	width: 1rem;
	height: 1rem;
	position: absolute;
	top: .5rem;
	right: .5rem;
	text-align: center;
	line-height: 1.1em;
	opacity: .6;
    filter: invert(100%);
    -webkit-filter: invert(100%);	
}

	

.flip-card-back .label {
	background-color: #fff3;
}


.flip-card-back::-webkit-scrollbar {
  display: none;
}

.flip-card-back {
  -ms-overflow-style: none;
  scrollbar-width: none;
}  

.card-container.latin h1 {
  font-size: 1.3rem;
  text-shadow: 1px 1px 5px black, -1px 1px 5px black, 1px -1px 5px black, -1px -1px 5px black;
  
}

.card-container.latin .flip-card-back {
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-container.latin .flip-card-back a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333;
  font-size: 1.2rem;
  font-weight: bold;
}

.card-container.latin .flip-card-back img.touch {
  width: 50px;
}

blockquote.sv {
    padding: 0;
    margin: 0;
    border-left: 0;
    text-align: center;
}

blockquote::before, blockquote::after {
    content: '';
    display: block;
    height: 2em;
    width: 100%;
    background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%22-6%200%2012%204%22%3E%3Ctext%20x%3D%220%22%20y%3D%222%22%20text-anchor%3D%22middle%22%20font-family%3D%22Georgia%22%20font-size%3D%223%22%20fill%3D%22hsl%28224%2C%2060%25%2C%2060%25%29%22%3E%E2%80%9E%3C%2Ftext%3E%3Cg%20stroke-width%3D%220.1%22%20stroke%3D%22hsl%28224%2C%2060%25%2C%2060%25%29%22%3E%3Cline%20x1%3D%226%22%20x2%3D%221.5%22%20y1%3D%222%22%20y2%3D%222%22%2F%3E%3Cline%20x1%3D%22-6%22%20x2%3D%22-1.5%22%20y1%3D%222%22%20y2%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E');
    background-position: center;
    background-repeat: no-repeat;
    align-self: center;
}

blockquote:lang(en)::before,
blockquote:lang(de)::after {
  transform: rotate(.5turn);
}


/**/



