/* CSS Reset ----------------------------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td  {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    vertical-align: baseline;
    background: transparent;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
/* font-size fix */
html, body {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    line-height: 1;
}

ol, ul {
 list-style: none;
}
blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

/* remember to define focus styles! */
:focus {
 outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
 text-decoration: none;
}
del {
 text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
 border-collapse: collapse;
 border-spacing: 0;
}

/* End CSS Reset ------------------------------------------------------------- */


/* Main tags ----------------------------------------------------------------- */

html, body {
  width:100%;
  height: 100%;
}

body {
  position:relative;
  font-family:verdana,helvetica,arial,sans-serif;
  font-size:81.25%;
  line-height: 1.4em;
  color:#9F9F9F;
  overflow-y: scroll;
}

h1 {
  font-size:140%;
  padding-bottom:1.6em;
}

h2 {
  font-size:100%;
}

h3 {
  font-size:85%;
}

p, ul  {
  margin-bottom: 15px;
}

.contactform textarea, .contactform input[type="text"]  {
  width: 100%;
}

/* Container settings -------------------------------------------------------- */

#logo {
  width:100%;
  height: 25%;
  z-index:3;
  text-align:center;
  padding-top:3%;
  padding-bottom: 1%;
}

#inner_logo  {
  width: 70%;
  margin: auto;
}

#inner_logo img  {
  max-width: 100%;
}

#socialbuttons  {
  display: none;
}

#inhalt  {
  margin: 10%;
}

#navi  {
  text-align: center;
  margin: 15% 10% 5%;
}

#socialhandheld  {
  width: 105px;
  margin: auto;
  padding-bottom: 30px;
}

/* Special containers on subpages -------------------------------------------- */

/* Start Animation */

#logostart {
         position: absolute;
         top: 0;
         right: 0;
         background-color: #ffffff;
         width: 100%;
         height: 100%;
         margin: auto;
         z-index: 900;
}

#inner_logostart {
         position: relative;
         top: 20%;
         z-index: 1000;
         width: 70%;
         margin: auto;
         text-align: center;
}

#inner_logostart img {
         max-width: 100%;
}

#slogan  {
         text-align: center;
}

#inner_logostart h2  {
         font-size: 140%;
         font-weight: normal;
         margin-top: 35px;
         margin-left: 20%;
}


/*  Link styles -------------------------------------------------------------- */

a  {
  color:#FFBF00;
  outline: none;
}

a:visited {
  color: #777777;
}

a:focus, a:hover, a:active {
  color:#FFBF00;
  font-style: italic;
}

#mainnav span  {
  display: inline-block;
  padding: 0px 10px 10px;
  min-width: 130px;
}

#mainnav span a {
  color:#FFBF00;
  font-size: 110%;
  font-weight: bold;
  text-decoration: none;
}

#mainnav span a:focus, #mainnav span a:hover {
  text-decoration: underline;
  font-style: italic;
  font-weight: bold;
}

#mainnav span.active a {
  text-decoration: underline;
}


/* Special ids and classes -------------------------------------------------- */

.m_top1  {
  margin-top: 15px;
}

.width100  {
  width: 100%;
}


/* ################################### Media Queries  ##################### */


@media (min-width: 320px) and (min-height: 320px) {

#socialbuttons  {
  display: block;
  position: static;
  top: 30%;
  left: 0;
  z-index: 200;
}

#socialhandheld  {
  display: none;
}

#inhalt  {
  margin: 10% 5% 10% 18%;
}

}


@media (min-width: 385px)  {

#inner_logo  {
  width: 60%;
}

#inhalt  {
  margin: 10% 10% 10% 18%;
}

}

@media (min-width: 480px)  {

#inner_logo  {
  width: 50%;
}

}


@media (min-width: 520px)  {

.contactform textarea, .contactform input[type="text"]  {
  width: 270px;
}

}

@media (min-width: 600px)  {

#inner_logo  {
  width: 50%;
}

#inhalt  {
  margin: 5% 10% 10% 15%;
}

}


@media (min-height: 600px) and (min-width: 800px)  {

#socialbuttons  {
  position: fixed;
  top: 30%;
}

#logo  {
  position: fixed;
  top: 0;
  background: #FFFFFF;
  z-index: 100;
  height: auto;
}

#inner_logo  {
  width: 25%;
}

#navi  {
  position: fixed;
  bottom: 0px;
  margin: 0;
  padding: 4% 0 1%;
  width: 100%;
  background: #FFFFFF;
  z-index: 300;
  text-align: center;
}

#inhalt  {
  position: absolute;
  margin: 18% 10% 10% 15%;
}

}

#inner_inhalt  {
  padding-bottom: 150px;
}

@media (min-width: 1600px)  {

#inhalt  {
  margin: 15% 10% 10% 15%;
}

}

