/* =============================================================================
	html /body
	========================================================================== */
ul,
li {
  padding: 0px;
  margin: 0px;
}
a:hover,
a:active,
a {
  text-decoration: none;
  color: silver;
}
html {
  height: 100%;
}
body {
  margin: 0;
  height: 100%;
  background-image: url('../images/pattern.png');
  background-color: black;
  line-height: 20px;
}
#content {
  margin: 50px 50px 20px 335px;
  min-height: 100%;
}
/* =============================================================================
	Logo
	========================================================================== */
#logo,
img {
  width: 100%;
}
/* =============================================================================
	Sidebar
	========================================================================== */
#sidebar {
  position: fixed;
  width: 250px;
  background-color: #064756;
  height: 100%;
  padding: 40px 20px 0px 20px;
}
#subscription {
  padding: 0px 0px 0px 0px;
  font-size: 15px;
  font-family: 'ubuntu', Arial, Helvetica, sans-serif;
  font-weight: 300;
  color: white;
}
#subscription h2 {
  font-size: 25px;
}

#adresse {
  text-align: center;
}
/* =============================================================================
	Navigation
	========================================================================== */
#navigation {
  margin: 0 60px 0px 340px;
  height: 35px;
}
/*  =============================================================================
	Navigation Bereich MIT fontface
	========================================================================== */
.no-js #navigation li:hover ul {
  display: block;
}
nav a.mobile_handle {
  display: none;
}
.fullnav {
  font-family: 'bodegasans_lightoldstyleRg', Arial, Helvetica, sans-serif;
  letter-spacing: 2px;
  font-size: 18px;
}
.fullnav a {
  color: white;
  display: block;
  width: 110px;
  margin-left: 5px;
  background: #064756;
  margin-bottom: 23px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
}
.fullnav > ul > li.active > a {
  background: #ff8800;
  color: #064756;
  font-weight: bold;
}
.fullnav a:hover {
  background: #ff8800;
  color: #064756;
  font-weight: bold;
}
.fullnav ul {
  margin: 0 auto;
  width: 520px;
  display: block;
  z-index: 1000;
}
.fullnav ul li {
  text-align: center;
  width: 130px;
}
.fullnav ul li ul {
  text-decoration: none;
  height: auto;
  width: 120px;
  font-family: 'bodegasans_lightoldstyleRg', Arial, Helvetica, sans-serif;
  margin: 0px 5px 0px 5px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  background: #064756;
  -moz-box-shadow: 5px 5px 5px #202020;
  -webkit-box-shadow: 5px 5px 5px #202020;
  box-shadow: 5px 5px 5px #202020;
}
.fullnav ul ul {
  display: none;
  width: 100%;
  position: absolute;
}
.fullnav ul ul a {
  font-size: 18px;
  margin: 0px;
  background: none;
}
.fullnav ul ul a:hover {
  color: #ff8800;
  background: none;
  font-weight: normal;
}
.fullnav li {
  float: left;
  list-style-type: none;
}
.fullnav li a {
  display: block;
  padding: 7px 5px;
  text-decoration: none;
}
/*  =============================================================================
	Navigation Bereich OHNE fontface
	========================================================================== */
.no-fontface #navigation {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  width: 660px;
  margin: 145px 0px 0px 250px;
}
.no-fontface #navigation a {
  color: white;
  display: block;
  width: 110px;
  margin-left: 5px;
  background: #064756;
  margin-bottom: 23px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
}
.no-fontface #navigation a:hover {
  background: #ff8800;
  color: #064756;
  font-weight: bold;
}
.no-fontface #navigation ul {
  margin: 0px;
  width: 660px;
  height: 50px;
  display: block;
}
.no-fontface #navigation ul li {
  text-align: center;
  width: 130px;
}
.no-fontface #navigation ul li ul {
  height: auto;
  width: 120px;
  font-family: Arial, Helvetica, sans-serif;
  margin: 0px 5px 0px 5px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  background: #064756;
  -moz-box-shadow: 5px 5px 5px #202020;
  -webkit-box-shadow: 5px 5px 5px #202020;
  box-shadow: 5px 5px 5px #202020;
}
.no-fontface #navigation ul ul {
  display: none;
  width: 100%;
  position: absolute;
}
.no-fontface #navigation ul ul a {
  font-size: 12px;
  margin: 0px;
  background: none;
}
.no-fontface #navigation ul ul a:hover {
  color: #ff8800;
  background: none;
  font-weight: normal;
}
.no-fontface #navigation li {
  float: left;
  list-style-type: none;
}
.no-fontface #navigation li a {
  display: block;
  padding: 7px 5px;
  text-decoration: none;
}
/*  =============================================================================
		slider
	========================================================================== */
/*.pics { height: 500px; width: 100%; padding:0; margin:0; overflow: hidden; } */
.slide_image {
  width: 100%;
  height: auto;
}
/*! http://responsiveslides.com v1.54 by @viljamis */
.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;
}
/*  =============================================================================
	Galerie
	========================================================================== */
.pic {
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  width: 12%;
  margin: 1.5%;
  background-size: 100% 100% !important;
  padding: 7% 5%;
  float: left;
}
.pic a {
  height: 100%;
  text-indent: -5000px;
  display: block;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/*
|--------------------------------------------------------------------------
| UItoTop jQuery Plugin 1.2
| http://www.mattvarone.com/web-design/uitotop-jquery-plugin/
|--------------------------------------------------------------------------
*/

#toTop {
  display:none;
  text-decoration:none;
  position:fixed;
  bottom:10px;
  right:10px;
  overflow:hidden;
  width:51px;
  height:51px;
  border:none;
  text-indent:100%;
  background:url(../images/ui.totop.png) no-repeat left top;
}

#toTopHover {
  background:url(../images/ui.totop.png) no-repeat left -51px;
  width:51px;
  height:51px;
  display:block;
  overflow:hidden;
  float:left;
  opacity: 0;
  -moz-opacity: 0;
  filter:alpha(opacity=0);
}

#toTop:active, #toTop:focus {
  outline:none;
}
/*  =============================================================================
	Footer
	========================================================================== */
#footer {
  text-align: center;
  height: 135px;
  margin: 0px 60px 50px 340px;
  padding-top: 150px;
  font-size: 12px;
  font-family: 'ubuntu', Arial, Helvetica, sans-serif;
  font-weight: 300;
  color: grey;
  clear: left;
}
#footer h3 {
  margin-top: 0px;
}
#footercontent {
  width: 455px;
  margin: 0 auto;
}
#contact {
  float: left;
  height: 135px;
  border-right: dotted grey 1px;
  padding-right: 20px;
  margin-right: 20px;
}
#socialmedia {
  float: left;
  height: 135px;
  border-right: dotted grey 1px;
  padding-right: 20px;
  margin-right: 20px;
}
#gogglemap {
  float: left;
  height: 135px;
}
#call {
  display: none;
}
.hr {
  color: red;
}
.social_icon {
  width: 30px;
  margin-top: 10px;
}
#topnav {
  margin: 0 60px 20px 350px;
  text-align: right;
  font-size: 12px;
  font-family: 'ubuntu', Arial, Helvetica, sans-serif;
  font-weight: 300;
  color: silver;
  height: 20px;
  padding: 10px 0 20px 0px;
  cursor: pointer;
}
#topnav:hover,
#bottomnav:hover {
  color: #EE7C00;
}
#login {
  width: 150px;
  height: 120px;
  padding: 20px;
  border-radius: 15px;
  margin: 0px auto;
  background-color: #064756;
  font-size: 12px;
  font-family: 'ubuntu', Arial, Helvetica, sans-serif;
  font-weight: 300;
  color: white;
}
#loginbutton {
  width: 100%;
  margin-top: 10px;
}
/*  =============================================================================
	Media Queries
	========================================================================== */
@media only screen and (min-width: 1480px) {
  .pic {
    width: 4%;
    margin: 1%;
    padding: 4.5% 5.3%;
  }
}
@media only screen and (min-width: 1280px) {
  .pic {
    width: 8%;
    margin: 1%;
    padding: 5.5% 5%;
  }
}
@media only screen and (min-width: 945px) {
  .pic:hover {
    background-size: 130% 130% !important;
    transition: background-size 0.3s ease-out;
    -moz-transition: background-size 0.3s ease-in;
    -ms-transition: background-size 0.3s ease-in;
    -o-transition: background-size 0.3s ease-in;
    -webkit-transition: background-size 0.3s ease-in;
  }
}
@media only screen and (max-width: 945px) {
  #logo {
    width: 250px;
    margin: 50px auto 20px;
  }
  #topnav,
  #bottomnav,
  #content,
  #navigation,
  #footer {
    margin-left: 50px;
  }
  #navigation {
    margin-top: 50px;
  }
  #topnav {
    position: absolute;
    float: right;
    top: 0px;
    right: 0px;
    border-bottom: none;
    padding-top: 10px;
  }
  #sidebar {
    position: relative;
    background-color: transparent;
    width: auto;
    height: auto;
    padding: 0px;
  }
  #subscription {
    background-color: #064756;
    padding: 5px 50px 20px 50px;
  }
  #content {
    min-height: 0%;
  }
}
@media (max-width: 665px) {
  #topnav {
    display: none;
  }
  #navigation {
    position: absolute;
    top: -100px;
  }
  #logo {
    width: 200px;
    margin: 50px auto 20px;
  }
  #content {
    margin: 50px 20px;
  }
  .mobilenav {
    font-family: 'bodegasans_lightoldstyleRg', Arial, Helvetica, sans-serif;
    letter-spacing: 2px;
    font-size: 22px;
    position: fixed;
    float: none;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }
  .mobilenav a.mobile_handle {
    cursor: pointer;
    display: block;
    padding: 10px;
    background: #064756;
    text-align: center;
    color: white;
    border-bottom: solid 1px black;
  }
  .mobilenav ul {
    display: none;
    margin: 0px;
  }
  .mobilenav ul li {
    display: block;
    position: relative;
    float: none;
    padding: 0;
    background: #075D6F;
    border-top: 1px solid #064756;
  }
  .mobilenav ul a,
  nav ul a:link,
  nav ul a:visited {
    display: block;
    position: relative;
    float: none;
    padding: 10px 10px;
    color: white;
    clear: both;
  }
  /* Second Level */
  .mobilenav ul ul {
    display: none;
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    background: none;
  }
  .mobilenav ul ul a {
    background-color: #08788F;
  }
  .mobilenav ul ul a,
  .mobilenav ul ul a:link,
  .mobilenav ul ul a:visited {
    color: white;
    padding: 10px 10px 10px 25px;
  }
  nav ul ul ul a,
  .mobilenav ul ul ul a:link,
  .mobilenav ul ul ul a:visited {
    padding: 15px 10px 15px 45px;
  }
  .mobilenav .sub_nav {
    position: absolute;
    right: 0;
    top: 5px;
    width: 100%;
    margin: 0;
    cursor: pointer;
  }
  .mobilenav .arrow_up {
    float: right;
    width: 0;
    height: 0;
    padding: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
  }
  .mobilenav .arrow_down {
    float: right;
    width: 0;
    height: 0;
    padding: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
  }
  .slide_image {
    margin-bottom: 5%;
  }
  #sidebar {
    padding-top: 35px;
  }

  #adresse {
    display: none;
  }
}
@media only screen and (max-width: 550px) {
  #footercontent {
    width: 100%;
  }
  #footer {
    padding-top: 0px;
    margin: 0px 25px 0px 25px;
  }
  #contact,
  #socialmedia,
  #gogglemap {
    width: 100%;
    height: auto;
    padding: 0px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: dotted grey 1px;
    border-right: none;
  }
  #gogglemap {
    padding-bottom: 50px;
  }
}
@media only screen and (max-width: 480px) {

  #content {
    margin: 30px 25px 25px;
  }

  #call {
    display: block;
    height: 25px;
    margin: 10px 0px;
  }
  #call a {
    padding-top: 5px;
    display: block;
    color: #ff8800;
    background-color: #064756;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    width: 100%;
    height: 25px;
  }
  .pic {
    width: 21%;
    margin: 1%;
    padding: 10% 5.1%;
  }
  #subscription {
    padding: 5px 30px 5px 30px;
    font-size: 12px;
    font-family: 'ubuntu', Arial, Helvetica, sans-serif;
    font-weight: 300;
    color: white;
  }
  #subscription h2 {
    font-size: 20px;
  }
}
