/*
  target ÷ context = result
  context = body of 16px
  target = the disired size
  result in em
*/

html { height: 101%; }

body{
  background: #e9e9e9;
  font-family: 'Open Sans', sans-serif;
  font-size: 100%; 
  line-height: 1;
  color: #333333;
}


::selection { background: #a2ec39; color: #323232; }
::-moz-selection { background: #a2ec39; color: #323232; }
::-webkit-selection { background: #a2ec39; color: #323232; }

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
ol, ul { list-style: none; }

blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
strong { font-weight: bold; } 

table { border-collapse: collapse; border-spacing: 0; }
img { border: 0; max-width: 100%; }

h1 { color: #000000;font-family: 'Open Sans Condensed',sans-serif; font-size: 2em;line-height: 1.45em; margin-bottom: 0.8em;} 

h2 { display: inline-block; font-size: 2em;padding: 0.4em 0.2em; color: #666; font-weight: normal; font-family: 'Open Sans Condensed', sans-serif;}
h3 { display: block; font-size: 1.5em;padding: 0.8em 0.2em; color: #666; font-weight: normal; font-family: 'Open Sans Condensed', sans-serif;text-align: left; }

p {  font-family: 'Open Sans',sans-serif;font-size: 1em;line-height: 1.65em;margin-bottom: 0.4em; padding: 0.4em 0 0 0.7em;}

p > span{clear: both;display: block;margin: 0.8em 0; text-align: justify;}
/* top navigation */

#navigation {  
  display: block;
  position: fixed;
  top: 0px;
  width: 100%;
  background: black;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

#topnav {  
  max-width: 920px;
  margin: 0 auto;
  font-family: 'Open Sans Condensed', sans-serif;
}

#topnav li { }

#topnav li a { 
  color: #fff;
  display: block;
  float: left;
  font-size: 1em;
  font-weight: bold;
  line-height: 2.875em;
  margin-right: 0.9375em;
  padding: 0 0.6875em;
  text-decoration: none;
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  transition: all 0.5s linear;
}
#topnav li a:hover { 
  color: #3369E8;
  background: rgba(255,255,255,0.65);
}

#topnav li.current a { 
  background: rgba(255,255,255,1);
  color: #3369E8;
}
/* login content*/

#loginform span{
  display: block;
  clear: both;
  margin: 0.5em 0em;
}

#loginform input[type='text'],#loginform input[type='password']{
  width: 96%;
  padding: 0.25em;
}

#loginform input[type='submit']{

  background-color: #0488CD;
  border:medium none;
  border-radius: 6px;
  line-height: 24px;
  color:#fff;
  width: 99%;
  padding: 0.25em;
  margin:0 auto;
  display:block;
  -webkit-transition: background linear 1s;
  -moz-transition: background linear 1s;
  -ms-transition: background linear 1s;
  -o-transition: background linear 1s;
  transition: background linear 1s;
}

#loginform input[type='submit']:hover{
  background-color: #0099CD;
  cursor:pointer;
}

#loginform{
  position: absolute;
  top: 47px;
  left: -195px;
  background: black;
  width: 250px;
  padding: 0.5em;
  border-top: 3px solid white;
  border-radius: 0 0 5px 5px;
  border-bottom: 3px solid white;
  display: none;
}

#loginform2 span{
  display: block;
  clear: both;
  margin: 0.5em 0em;
}

#loginform2 input[type='text'],#loginform2 input[type='password']{
  width: 96%;
  padding: 0.25em;
}

#loginform2 input[type='submit']{

  background-color: #0488CD;
  border:medium none;
  border-radius: 6px;
  line-height: 24px;
  color:#fff;
  width: 99%;
  padding: 0.25em;
  margin:0 auto;
  display:block;
  -webkit-transition: background linear 1s;
  -moz-transition: background linear 1s;
  -ms-transition: background linear 1s;
  -o-transition: background linear 1s;
  transition: background linear 1s;
}

#loginform2 input[type='submit']:hover{
  background-color: #0099CD;
  cursor:pointer;
}

#loginform2{
  position: absolute;
  top: 47px;
  left: -195px;
  background: black;
  width: 250px;
  padding: 0.5em;
  border-top: 3px solid white;
  border-radius: 0 0 5px 5px;
  border-bottom: 3px solid white;
  display: none;
}

.f-right{float:right;position: relative;}



/* main content sections */
#content { display: block; width: 100%; font-size: 0.875em; }

.wrapper { 
  display: block;
  max-width: 920px;
  margin: 0 auto;
}

  .drop-shadow {
      position: relative;
      background-color: white;

  }
  .drop-shadow:before, .drop-shadow:after {
      bottom: 1em;
      box-shadow: 0 1em 1em rgba(0, 0, 0, 0.7);
      content: "";
      height: 20%;
      left: 0.625em;
      position: absolute;
      transform: rotate(-2deg);
      width: 50%;
      z-index: -1;
  }
  .drop-shadow:after {
      left: auto;
      right: 0.625em;
      transform: rotate(2deg);
  }

#home { 
    font-size: 2em;
}


#kosten, #funktionen, #impressum,#contact,#zugang, #anmeldung{
  padding: 2em 0.375em;
}

#contact222 {
  padding-top: 4.75em;

}

/* btn */
.btn {
    background-color: #0488CD;
    border: medium none;
    border-radius: 6px 6px 6px 6px;
    color: #FFFFFF;
    cursor: pointer;
    font-size: 17px;
    line-height: 22px;
    padding: 9px 12px 10px;
    text-align: center;
    text-decoration: none;
    transition: all 0.25s linear 0s;
    width:256px;
    margin:0 auto;
    font-family: 'Open Sans Condensed',sans-serif;
    box-shadow: 0 4px 2px -2px rgba(0,0,0,0.4);
}
.btn:hover {
    background-color: #0099CD;
    color: #FFFFFF !important;
}

.btn-green{
  background-color: rgb(0,153,37);
  margin-top:1.675em !important;
}
.btn-green:hover{
    background-color: rgba(0,153,37,0.94);
}

.btn-green:disabled{
  opacity: 0.1;
}

.funktionen li{
    clear: both;
    display: inline-block;
    line-height: 24px;
    margin-left: -24px;
    width: 100%;
  }

.t-left{
  text-align: left;
  margin: 0 0 0 40px;
}

.t-left i{
    margin-left: -20px;
    margin-right: 5px;
}

.footnote{
    bottom: 1ex;
    font-size: 0.875em;
    line-height: 1px;
    position: relative;
    color:grey;
}

.footnotes{
  margin-top: 1em;
  text-align: left;
  font-size: 0.95em;
  color: #aeaeae;
  display: block;
}

.imgsmall{
  width: 100px;
  display: block;
  float: left;
  margin-right: 1em;
}

.ueberweisung{
  border: 1px solid #AEAEAE;
  display: inline-block;
  float: left;
  font-size: 0.675em;
  height: 1em;
  margin: 0 1.5em;
  padding: 1.4em 0;
  width: 128px;
  background: transparent url("../img/ueberweisung.png") center center no-repeat;
}

.dbl{
    display: inline-block;
    height: 42px;
    position: relative;
    width: 42px;}

.dbl i{
  display:inline-block;
  position: absolute;
}

.dbl i:first-child{
    color: #000000;
    font-size: 3em;
    left: 0;
}

.dbl i:last-child{
  color:#D50F25;
  font-size: 1.5em;
  right:0px;
  top: 0px;
}

/* MMDIAL */
.mmdial{
  background: transparent url("../img/youtube_logo.jpg") no-repeat 0 0;
  background-position: center center;
  background-size: 35%;
  height: 120px;
  -webkit-transition: all linear 1s;
  -moz-transition: all linear 1s;
  -ms-transition: all linear 1s;
  -o-transition: all linear 1s;
  transition: all linear 1s;
  }

.mmdial:hover{
  background-size: 50%;
}

.mmdial>a{display:block;width: 100%;height: 100%;}

.mmdialList{
  margin-top: 5px;
}

/* footer */
#foot {padding-bottom: 4.5em; margin-top:3em; background-color: #000;min-height: 250px; }

#foot h1{
  color: #fff;
  font-family: 'Open Sans Condensed', sans-serif;
  font-size: 2.25em;  


  width: 100%;
  margin:1em auto;
  -webkit-border-radius: 24px 2px 24px 2px;
   -moz-border-radius: 24px 2px 24px 2px;
   border-radius: 24px 2px 24px 2px;
   background-color:#3369E8;
}

#footnav, #beschwerde, #contactnav {  
  font-family: 'Open Sans', sans-serif;
  text-align: left;
}

#footnav li, #beschwerde li, #contactnav li { }

#footnav li a, #beschwerde li a, #contactnav li a { 
  display: block;
  clear:both;
  color: #53574d;
  padding: 0px 0.625em;
  font-size: 0.75em;
  line-height: 1.625em;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 4px solid #000;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
#footnav li a:hover, #beschwerde li a:hover, #contactnav li a:hover { 
  color: #3369E8;
  border-bottom: 4px solid #3369E8;
}

#footnav li.current a { 
  background: rgba(255,255,255,0.7);
  color: #3369E8;
  border-bottom: 4px solid #b9dc8c;
}


address{
  font-size: 1em;
  line-height: 1.25em;
}

/* social media icons*/
.social-bar a {text-decoration: none;font-size: 2.5em;margin-right:0.5em;}


/* Section divider */
.section-divider{
  text-align: center;
  /*margin:125px 0 0 0;*/
  color:#666;

  font-family: 'Droid Serif', Georgia, serif;
}

.section-divider.graded{
  background: url("../img/graded2.png") no-repeat scroll center bottom rgba(0, 0, 0, 0);
}


.section-divider hr{
  border-top-color:#CCCCCC;
  border-top-style:solid;
  border-width:1px 0 0;
  display:block;
  height:1px;
  padding:0;
  width:450px;
  margin:2em auto;
}

/* basic contact inputs */
.register #theForm{
  max-width: 90% !important;
  margin:0 auto !important;
}

#zusatzfunktionen{
  max-width: 95% !important;
  margin:0 auto !important;
}

.cform { 
    color: #636363;
    display: block;
    font-size: 0.875em;
    padding: 0.675em;
}

.cform input
{
  display: block;
  font-size: 1.25em;
  margin: 0.675em auto;
  padding: 0.675em;
  float: left;
  width: 40%;
}

.cform input[type="checkbox"]{
  margin: 21px 0;
}

.cform small{font-size: 0.75em;}

.cform label{
  font-size: 1.25em;
  display: inline-block;
  margin: 0.675em auto;
  width: 50%;
  padding: 0.675em;
  float: left;
}

.cform select{
font-size: 1.25em;
display: block;
margin: 0.675em auto;
width: 43%;
float: left;
padding: 0.675em;
}


#validationErrors{
  border:1px solid #D50F25;
  background-color: rgba(213,15,37,0.25);
  margin:0.675em auto;
  padding:0.675em;
  display: none;
}
/* --------------- */

.clear:before, .clear:after {
  content:"";
  display:table
}

.clear:after {
  clear:both
}

.clear {
  zoom:1
}    


/* rows */

.row {
    margin-left: 1.25em;
}
.row:before, .row:after {
    content: "";
    display: table;
}
.row:after {
    clear: both;
}

.row>div{
    max-width: 67%;
    padding: 0.55em;
  }

.row.full div{
    max-width: 100%;
  }

.row div>i{
  font-size: 12.5em;
}

.row3 {
    width:29%;
    float:left;
    text-align: center;
    margin-left: 1.25em;
    position: relative;
}
.row3:before, .row3:after {
    content: "";
    display: table;
}
.row3:after {
    float:left;
}


.row3 p > i {display: inline-block;font-size: 4em;margin: 0.5em 0;}

.explain:after{
  color: #EAEAEA;
  content: "\f061";
  display: block;
  font-family: FontAwesome;
  font-size: 3em;
  position: absolute;
  right: -8%;
  top: 25%;
}

.anim0,.anim1,.anim2{
  opacity: 0;
}

.row2 {
    width:45%;
    float:left;
    text-align: center;
    margin-left: 1.25em;
    position: relative;
}
.row2:before, .row2:after {
    content: "";
    display: table;
}
.row2:after {
    float:left;
}

/* MISC */

  .home-size{
    font-size: 45px;
    display: block !important;
  }

  .highlight-blue{
    color:rgba(58,189,239,1);
  }
  /*g star colors */
  .gBlue{color:#3369E8;}
  .gRed{color:#D50F25;}
  .gYellow{color:#EEB211;}
  .gGreen{color:#009925;}

/* Highlights */
  .mark-hl{font-size:1.125em;color:rgba(58,189,239,1);}

/* Gallery */

.view {
   width: 300px;
   height: 165px;
   margin: 10px;
   float: left;
   border: 5px solid #fff;
   overflow: hidden;
   position: relative;
   text-align: center;
   box-shadow: 0px 0px 5px #aaa;
   cursor: default;
   padding:0px !important;
}
.view .mask, .view .content {
   width: 300px;
   height: 165px;
   position: absolute;
   overflow: hidden;
   top: 0;
   left: 0;
   padding:0px !important;
}
.view img {
   display: block;
   position: relative;
}
.view a.info {
   background:url(../img/zoom.png) center no-repeat;
   display: inline-block;
   text-decoration: none;
   padding:0;
   text-indent:-9999px;
   width:28px;
   height:28px;
}

.small-images{
    border-top: 5px solid rgba(58,189,239,1);
  margin: 5px -0.25em !important;
  padding-top: 5px;
}

.third-effect .mask {
   opacity: 0;
   overflow:visible;
   border:100px solid rgba(0,0,0,0.7);
   -moz-box-sizing:border-box;
   -webkit-box-sizing:border-box;
   box-sizing:border-box;
   -webkit-transition: all 0.4s ease-in-out;
   -moz-transition: all 0.4s ease-in-out;
   -o-transition: all 0.4s ease-in-out;
   -ms-transition: all 0.4s ease-in-out;
   transition: all 0.4s ease-in-out;
}
.third-effect a.info {
   position:relative;
   top:-24px;
   opacity: 0;
   -webkit-transition: opacity 0.5s 0s ease-in-out;
   -moz-transition: opacity 0.5s 0s ease-in-out;
   -o-transition: opacity 0.5s 0s ease-in-out;
   -ms-transition: opacity 0.5s 0s ease-in-out;
   transition: opacity 0.5s 0s ease-in-out;
}
.third-effect:hover .mask {
   opacity: 1;
   border:100px solid rgba(0,0,0,0.7);
}
.third-effect:hover a.info {
  opacity:1;
  -moz-transition-delay: 0.3s;
  -webkit-transition-delay: 0.3s;
  -o-transition-delay: 0.3s;
  -ms-transition-delay: 0.3s;
  transition-delay: 0.3s;
}



  /* Validation error */
.errorbox{
     background: none repeat scroll 0 0 #FAD3C4;
    border: 1px solid #A75B4E;
    border-radius: 0.375em;
    color: #444444;
    display: none;
    font-size: 0.875em;
    margin: 0 0 1em;
    padding: 0.5em;
    max-width: 400px;
}

.only-mobile{display:none;}
.only-desktop{display: block;}
.mobile-menu {display:none;}
#resp_menu {display: none;}

#anmeldung .specialoffer{
background: url("../img/10euroStart.png") no-repeat; 
}

/**
#kosten .specialoffer{
background: url("../img/10euroStart.png") no-repeat; 
}
*/

#kosten .specialoffer{
  background-position: right -0px;
  background-size: 140px;
}

#anmeldung .specialoffer{
  background-position: 90% 25px;
  background-size: 200px;
}

  /* Media Queries Adjustments */
  @media all and (max-width: 768px) {

  
    .row div {
      max-width:inherit;
      padding:0;
      margin:0;
      }

    .row2{width: 99%;margin-left: 0;}

    .row3{margin:inherit;width: 98%;}

    #foot{display: inline-table;}

    .only-mobile{display: block;}
    .only-desktop{display: none;}

    .cform{ width: 94%;}
    .cform input {width:90%;}
    .cform select {width:94%;}
    .cform input[type="checkbox"]{
      width: 42%;
    }

    p{font-size: 1em !important;}
    h2{display: block;font-size: 2em !important;text-align: center;}
    h1{font-size: 1.5em !important;}

    #foot{background:none;padding-left: 2%;width: 99%;color:#fff;}
    .section-divider.graded{width: 98%;}

    /*responsive menu */
    #topnav{display: none;}
    #navigation {float:right;display: block;float:right;}
    #navigation input{display: none;}
    #navigation label { background: none repeat scroll 0 0 #3369E8;display: block;height: 18px;width: 30px;padding: 13px 13px 11px;float: right;}
    #navigation label span{background: none repeat scroll 0 0 #FFFFFF;display: block;height: 3px;margin-top: 3px;}
    #navigation input:checked ~ nav #topnav {display:inline-block;width: 100%;}
    #topnav li a{width:100%;display: inline-block;font-size: 1.5em; line-height: 2.7em;}

    img{max-width: 90%;}

    .explain:after {
      display: none;
      content: " ";
      background: none !important;
    }
    

    
    p{text-align: center;width: 96%;}

    .row3:last-child {
        margin: 0 0 1em;
    }


    .cform .notice{
        width: 87%;
      text-align: center;
      line-height: 1.75em;
    }

  }

  /* Media Queries Adjustments */
  @media all and (max-width: 480px) {
    #topnav {
      font-size: 0.5em;
      margin: 0 auto;
    }
    #topnav i {font-size: 1em !important;}
    #foot{background:none;}
      .only-mobile{display: block;}
    .only-desktop{display: none;}  

    #anmeldung .specialoffer,#kosten .specialoffer{display:none;}
  }
