
@font-face {
    font-family: carolingia;
    src: url(../carolingia.ttf) format('truetype');
}

.ico-mglass {
    position: relative;
    display: inline-block;
    top: -6px;
    background: #EFEFEF;
    color: #0090E0;
    border-radius: 13px;
    height: 9px;
    width: 9px;
    border: 3px solid #005A87;
}

 .ico-mglass:after {
    content: "";
    height: 3px;
    width: 9px;
    background: #005A87;
    position: absolute;
    top: 6px;
    left: 3px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
}

figure {
    display: block;
    position: relative;
    padding: 20px;
    width: 300px;
    height: 200px;
    border: thin solid gainsboro;
    background: white;
    float: left;
}

figureV {
    display: block;
    position: relative;
    padding: 20px;
    width: 200px;
    height: 300px;
    border: thin solid gainsboro;
    background: white;
    float: left;
}

.rotate90 {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg) translateY(-100%);
    transform-origin: top left;
}


.shift {
    transform: translateY(+530%);
    transform-origin: bottom left;
}

figcaption {
    padding: .0em;
    text-align: center;
}


html, body {
    margin: 10px auto;
    padding: 0;
    color: #7F7F7F;
    background-color: #FFFFFF;
    font-family: "Open Sans", verdana, arial, helvetica, sans-serif;
}

div#bg1 {
    margin: 65px 0px;
    width: 100%;
    background-color: #6282bb; /* 0090E0; */
    height: 200px;
    position: fixed;
  margin: 65px 0px;
  width: 100%;
  background-color: #6282bb; /* 0090E0; */
  height: 200px;
  position: fixed;
}

ul, li {
    margin: 0px 2px;
}

#wrapper {
    background-color: #FFFFFF;
    opacity: 0.9;
    color: #7F7F7F;
    margin: 10px auto;
    width: 90%;
    border-radius: 15px;
    box-shadow: 0px 2px 8px 5px #7F7F7F;
    -webkit-box-shadow: 0px 2px 8px 5px #7F7F7F; /* WebKit */
    -moz-box-shadow: 0px 2px 8px 5px #7F7F7F; /* Firefox */
    padding: 15px;
    position: relative;
    margin-bottom: 50px;
}

/* oben*/
div#top {
    margin: 0 auto;
    padding: 0;
    height: 40px;
}

.toptext {
    color: #0090E0;
    background-color: inherit;
    font-family: arial; /*"Trebuchet MS",verdana,arial,helvetica,sans-serif; */
    padding: 5px 30px 0px 0px;
    font-size: 1.5em;
    text-align: right;
}

header {
    margin: 0;
    padding: 0;
    color: #FFFFFF;
    height: 150px;
    vertical-align: middle;
    background-image: url("../img/blue_sky.jpg");
    background-size: cover;
    background-color: #0090E0;
    box-shadow: 0px 2px 5px 5px #7F7F7F;
    -webkit-box-shadow: 0px 2px 5px 5px #7F7F7F; /* WebKit */
    -moz-box-shadow: 0px 2px 5px 5px #7F7F7F; /* Firefox */
}

.headertextbig {
    font-size: 3em;
    font-family: /* Pacifico,"*/ century gothic, georgia, calibri, sans-serif;
    letter-spacing: 1px;
    padding-top: 30px;
    padding-right: 15px;
    text-shadow: 1px 1px 2px #303030;
    text-align: left;
    font-weight: bold;
    font-style: italic;
}

.headertextsmall {
    font-size: 1em;
    font-family: "century gothic", georgia, calibri, serif;
    letter-spacing: 1px;
    padding-top: 5px;
    padding-right: 15px;
    text-shadow: 1px 1px 2px #303030;
    text-align: left;
    font-weight: bold;
}

/* Hauptteil*/
main {
    padding: 0;
    margin: 0 auto;
    display: block; /*wegen Fehldarstellung IE*/
}

#main-inner {
    margin: 0 auto;
    padding: 2% 0 0 0;
}

/* Navigation links*/
aside {
    width: 25%;
    float: left;
    padding: 0;
    margin: 0;
}

aside h2 {
    color: #005A87;
    font-family: "century gothic", georgia, calibri, serif;
    font-size: 1.5em;
    font-weight: bold;
    margin: 5px 0;
    padding: 0;
    text-align: left;
    border-bottom: 1px solid #375229;
}

nav {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
    font-size: 0.938em;
    text-align: left;
    background-color: transparent;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 10px 0;
}

nav li {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul a:link,
nav ul a:visited,
nav ul a:active {
    color: #6F6F6F;
    background-color: transparent;
    padding: 5px;
    margin: 0;
    text-decoration: none;
    font-weight: bold;
    display: block;
    border-bottom: 1px dashed #999999;
}

nav ul a:hover,
nav ul a:focus {
    font-weight: bold;
    text-decoration: none;
    color: #FFFFFF;
    background-image: linear-gradient(to bottom right, #83a5d5, #47669f);
    /* background-color: #0090E0; */
    
}

/* Inhalt*/
article {
    margin-left: 27%;
    padding: 10px 0;
    font-size: 1em;
    font-weight: normal;
    text-align: justify;
    line-height: 2em;
}

article h1 {
    font-size: 2em;
    margin: 3px 0;
    color: #005A87;
    font-family: "century gothic", georgia, calibri, serif;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px #7F7F7F;
}

article h2 {
    color: #7F7F7F;
    background-color: inherit;
    font-family: Pacifico, "century gothic", georgia, calibri, serif;
    font-size: 1.5em;
    letter-spacing: 2px;
    text-align: left;
    margin: 3px;
    padding: 2px;
    text-shadow: 1px 1px 2px #7F7F7F;
}

article h3 {
    color: #78AEFF;
    background-color: inherit;
    font-family: Pacifico, "century gothic", georgia, calibri, serif;
    font-size: 1.375em;
    letter-spacing: 2px;
    font-style: italic;
    padding-left: 5px;
    font-weight: normal;
    text-shadow: 1px 1px 2px #7F7F7F;
}

article h4 {
    color: #ffffff;
    background-image: linear-gradient(to bottom right, #83a5d5, #47669f);
    /*  background-color:  shade(#663399, 42%); #78AEFF; */
    font-size: 1.313em;
    font-weight: bold;
    margin: 20px 0;
    padding: 2px;
    font-family: "century gothic", georgia, calibri, serif;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px #3F3F3F;
    text-align: center;
}

article h5 {
    color: #3F3F3F;
    background-color: inherit;
    font-family: Pacifico, "century gothic", georgia, calibri, serif;
    font-size: 1em;
    font-weight: bold;
    margin: 2px;
    letter-spacing: 2px;
    padding: 0;
    text-shadow: 1px 1px 2px #3F3F3F;
}

article p {
    margin: 8px 2px;
}

/*unten*/

footer {
    margin: 0 auto 10px auto;
    padding: 0;
    text-align: center;
    color: #FFFFFF;
    background-image: url("../img/blue_sky.jpg");
    background-color: #0090E0;
    background-size: cover;
    box-shadow: 0px 2px 5px 5px #7F7F7F;
    -webkit-box-shadow: 0px 2px 5px 5px #7F7F7F; /* WebKit */
    -moz-box-shadow: 0px 2px 5px 5px #7F7F7F; /* Firefox */
}

.fussinhalt {
    padding: 10px;
    font-size: 2em;
    font-family: carolingia, arial, sans-serif;
    /* font-family: "century gothic",calibri,georgia,serif; */
    font-weight: bold;
    letter-spacing: 1px;
    background-color: transparent;
}

.footerlink {
    background-color: transparent;
    text-align: center;
    font-size: 0.5rem;
    color: #8F8F8F;
}


.finalbottom {
display: block;
  position: fixed;
  bottom:0px;
  right: 5px;
  text-align: right;
  font-size:15px;
  color:#aaa;
  z-index: -1;
}

/* allgemeine Angaben*/


a:link, a:visited {
  color: #005A87;
  background-color: transparent;
  text-decoration: none;
  font-weight: bold;
  padding: 0;
  margin: 0;
}
a:focus,
a:hover,
a:active {
  font-weight: bold;
  text-decoration: none !important;
  color: #FFFFFF !important;
  background-image: linear-gradient(to bottom right, #83a5d5, #47669f);
  /* background-color: #0090E0; */
}



/* This is for nice menues in "My Internet Links" */

ol a:link,
ol a:visited,
ol a:active {
  color: #6F6F6F; 
  background-color: transparent;
  padding: 5px;
  margin: 0;
  text-decoration: none;
  font-weight: bold;
  display: block;
  border-bottom: 1px dashed #999999;
}


.clear {
    clear: both;
    margin: 0;
    padding: 0;
    line-height: 2px;
}


/******************Besonderheiten f�r Bildschirmgroesse max. 768px**********************/

@media (max-width: 768px) {


#topnavi {
  float: none;
  text-align: center;
  margin-top: 2px;
  padding-top: 0;
}

aside {
  float: none;
  width: 100%;
}

article {
 margin: 0;
 width: 100%;
}

div#footerinnerbox1 {
  letter-spacing: 1px;
  margin: 0 auto;
  float: none;
  width: 90%;
}

div#footerinnerbox2 {
  letter-spacing: 1px;
  margin: 0 auto;
  float: none;
  width: 90%
}

}

/*****************Besonderheiten f�r Bildschirmgroesse max. 640px***********************/

@media (max-width: 640px) {

div#bg1 {
  height: 150px;
}

header {
  height: 150px;
}


.headertextsmall {
font-size:0.9em;
}
.headertextbig {
  padding-top: 10px;
  font-size: 2em;
}

aside h2 {
  font-size: 1em;
}

nav {
  font-size: 0.838em;
}

article h1,article h2,article h3,article h4,article h5 {
  font-size: 1em;
}

article {
font-size: 0.875em;
}

.fussinhalt  {
  font-size: 0.75em;
}


img {
height: 100px; width: auto;
}
}

/*****************Besonderheiten f�r Bildschirmgroesse max. 480px***********************/

@media (max-width: 480px) {

div#bg1 {
  height: 100px;
}

#wrapper {
  width: 100%;
  padding: 0;
  border-radius: 0px;
}


header {
  height: 100px;
}



.headertextsmall {
font-size:0.7em;
}

.headertextbig {
  font-size: 1.5em;
  padding-top: 10px;
}

.fussinhalt h4 {
 padding: 2px;
 font-size: 0.750em;
}


img {
height: 80px; width: auto;
}



