@charset "UTF-8";
/* CSS Document */

/* SCHRIFTARTEN DEFINIEREN */
@font-face {
  font-family: 'Lato';
  src: local('../fonts/Lato'), local('../fonts/Lato'), url('../fonts/Lato-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Futura';
  src: url('../fonts/Futura-CondensedLight.ttf');
}

/* BROWSERRESET */
* {
  padding: 0;
  margin: 0;
}

/* apply a natural box layout model to all elements, but allowing components to change */
html {
  box-sizing: border-box;
}

*:before, *:after {
  box-sizing: inherit;
}

.img_caption.right .img_caption {
  font-size: .65rem !important;
  color: #999;
  line-height: .75rem !important;
  font-weight: normal;
  padding-bottom: 20px;
}

.img_caption.right {
  padding-left: 20px;
  margin-left: 20px;
}

.img_caption.left .img_caption {
  font-size: .65rem !important;
  color: #999;
  line-height: .75rem !important;
  font-weight: normal;
  padding-bottom: 20px;
}

.img_caption.left {
  padding-right: 20px;
  margin-right: 20px;
}

.clear {
  clear: both;
}

#easycalccheckplus input {
  border: 1px solid #0e3381;
  background: #fff;
  height: 4px;
  border-radius: 0;
  padding: 0;
  margin: 0;
  margin-left: 10px;
  font-size: 0.75rem;
  font-weight: bold;
}

#content img {
  border: 1px solid #999;
  padding: 4px;
  margin-bottom: 10px;
  box-sizing: border-box;
  /*width: 100%;
  max-width: 170px;*/
}

#content table td {
  border-right: 10px solid transparent;
}

#content table p {
  padding-left: 5px;
}

body {
  background: #eee;
  font-family: 'Lato', sans-serif;
  font-weight: normal;
  color: #000;
  font-size: 100%;
}
  
/* CONTAINER */
#container {
  width: 100%;
  max-width: 922px;
  margin: 0 auto;
}

#shadow {
  /*background: url(../images/shadow.png) repeat-y;*/
  width: 100%;
  max-width: 922px;
  margin: 0 auto;
  box-shadow: 0px 2px 8px 5px rgba(85,85,85,0.5);
  background: linear-gradient(to left, #4f69a4, #718dbf);
}

#head {
  height: 141px;
  position: relative;
}

#head h1 {
  position: absolute;
  left: 70px;
  bottom: 10px;
  color: #FFF;
  text-shadow: 2px 2px rgba(0,0,0,.5);
  z-index: 2;
  font-family: "Futura";
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 4px;
}

#head h4 {
  position: absolute;
  left: 70px;
  bottom: 75px;
  color: #FFF;
  text-shadow: 2px 2px rgba(0,0,0,.9);
  z-index: 2;
  font-family: 'Futura';
  letter-spacing: 2px;
}

#head img {
  height: 141px;
  width: 100%;
}

#head .logo-img img {
  width: 225px;
  height: auto;
  position: absolute;
  top: 36px;
  right: 0;
  z-index: 1;
}

#head .invisible {
  display: none;  
}

#navi {
  background: transparent;
  background-size: 100%;
  /*margin-left: 11px;*/
  height: 38px;
  position: relative;
  z-index: 3;
}

#navi ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  margin-left: 30px;
  padding-top: 7px;
}

#navi ul li {
  float: left;
}
  
#navi ul li a,
#navi ul li a:link,
#navi ul li a:visited {
  display: block;
  padding-left: 41px;
  padding-top: 4px;
  color: #c6defd;
  text-decoration: none;
  font-weight: normal;
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
}
  
#navi ul li a:hover,
#navi ul li.active a,
#navi ul li.active a:link,
#navi ul li.active a:active,
#navi ul li a:active,
#navi ul li a:focus {
  color: #fff;
}

#main {
  background: #fff;
  margin: 0;  
  padding: 50px 38px 50px 67px;
  width: 100%;
  max-width: 922px;
  font-size: 0.75rem;
  line-height: 1.2rem; 
  box-sizing: border-box;
}

#content {
  width: 70%;
  padding-right: 20px;
  float: left;
}

#right {
  width: 30%;
  float: right;
  display: block;
}

#content, #right {
  box-sizing: border-box;
}

#right .caption {
  color: #969696;
  font-size: 0.7rem;
  padding-bottom: 20px;
  margin-top: 10px;
  display: block;
  line-height: 1.0rem;
  width: 200px;
  float: right;
  text-align: center;
}

#right .caption a:link,
#right .caption a:visited {
  color: #e12c21;
  text-decoration: underline;
}

#right .caption a:hover {
  text-decoration: none;
}

#right p {
  line-height: 1.0rem;
  text-align: right;
}

#right img {
  /*width: 100%;*/
  max-width: 200px;
}

#right .moduletable-logintexte {
  background: #fec3b9;
  border: 2px solid #dd3014;
  padding: 10px;
  margin-bottom: 20px;
}

#right .ueber-uns-images img {
  max-width: 84px;
}

#right .ueber-uns-images p {
  text-align: center;
  clear: both;
}

#right .ueber-uns-images .caption {
  width: 165px;
  text-align: left;
}

#footer {
  padding: 20px 75px 0px 0;
  text-align: right;  
  font-size: 0.7rem;
  color: #919191;
  background: #FFF;  
  height: 60px;
  border-top: 2px solid darkblue;
  box-shadow: 0px 6px 8px 5px rgba(85,85,85,0.5);
  margin-bottom: 40px;
  box-sizing: border-box;
}

#footer ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#footer ul li {
  display: inline;;
}

#footer ul li {
  margin-left: 5px;
  padding-right: 5px;
}

#footer a,
#footer a:link,
#footer a:visited {
  color: #919191;
  text-decoration: underline;
}

#footer a:hover {
  text-decoration: none;
}

#content h1 {
  color: #000;
  text-transform: uppercase;
  font-size: .85rem;
  padding-bottom: 10px;
  font-weight: normal;
}

#content h2 {
  color: #103584;
  text-transform: normal;
  font-size: 1.1rem;
  padding-bottom: 20px;
  padding-top: 15px;
  font-weight: normal;
}

#content h3 {
  color: #e12c21;
  text-transform: normal;
  font-size: 0.85rem;
  padding-bottom: 10px;
  padding-top: 15px;
  font-weight: bold;
  clear: both;
}

#content p,
#content ul {
  font-size: 0.75rem;
  padding-bottom: 20px;
  line-height: 1.2rem;
  padding-left: 0; 
}

#content p.caption {
  font-size: .6rem;
  color: #999;
  margin-top: 10px;
  line-height: .8rem; 
}

#content ul li {
  margin-left: 25px;
  
}

#content ul {
  list-style-image: url(../images/bullet.gif);
}

#content a,
#content a:link,
#content a:visited {
  color: #e12c21;
  text-decoration: underline;
}

#content a:hover {
  text-decoration: none;  
}

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {
  display: inline-block;
}

/* Hides from IE-mac \*/
* html .clearfix {
  height: 1%;
}
.clearfix {
  display: block;
}
/* End hide from IE-mac */

/* Frontend Login-Daten bearbeiten: Eingabefelder */
form.form-validate .inputbox,
form.form-validate td .inputbox,
form.form-validate table.paramlist .inputbox {
  padding: 3px;
  margin-bottom: 5px;
  font-family: 'Open Sans', sans-serif;
  background: #fff;
  border: 1px solid #666;
  color: #000;
  width: 330px;
}

.login-fields {
  margin-bottom: 5px;
  font-size: 0.75rem;
  background: red;
}

.login-fields label,
.login-fields #username-lbl {
  margin-left: 20px;
  border: 0;
  border-bottom: 1px solid #666;
  color: #06c;
  padding: 1px;
  font-size: 0.75rem;
}

.login-fields #password-lbl {
  margin-left: 53px;
  border: 0;
  border-bottom: 1px solid #666;
  color: #06c;
  padding: 1px;
  margin-bottom: 10px;
}

.validate .button {
  font-size: 0.8em;
  background: #06c;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  padding: 5px;
  margin: 10px 0px;
}


ul.lang-inline {
  float: right;
  margin: 0 !important;
  padding: 0 !important;
  margin-top: 6px !important;
  margin-right: 38px !important;
}

ul.lang-inline li a {
  padding: 0 !important;
}

.blog img {
  min-width: 170px !important;
}


/*Hamburger menu*/
* {
  margin: 0;
  padding: 0; 
}

/* Icon 1 */

#nav-icon1{
  width: 24px;
  height: 20px;
  position: absolute;
  left: 15px;
  top: 10px;
  margin: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
  display: none;
}

#nav-icon1 span {
  display: block;
  position: absolute;
  height: 3px;
  width: 24px;
  background: #fff;
  border-radius: 0px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

#nav-icon1 span:nth-child(1) {
  top: 0px;
}

#nav-icon1 span:nth-child(2) {
  top: 7px;
}

#nav-icon1 span:nth-child(3) {
  top: 14px;
}

#nav-icon1.open span:nth-child(1) {
  top: 7px;
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}

#nav-icon1.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

#nav-icon1.open span:nth-child(3) {
  top: 7px;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

.sub-en {
  display: none;
}

html[lang="en-gb"] .sub-en {
  display: block;
}

html[lang="en-gb"] .sub-de {
  display: none;
}

#fancybox-wrap {
  padding: 5px;
}

#fancybox-title, #fancybox-content {
  /*width: auto !important;*/
  box-sizing: content-box;
}

.sidebar-mobile {
  display: none;
}

#content .sidebar-mobile img {
  border: none;
  padding: 0;
}

.sidebar-mobile p {
  padding: 0 !important;
  text-align: left !important;
  margin-bottom: 10px;
}

.sidebar-mobile .caption {
  margin-bottom: 10px;
}

.ueber-uns-images:first-of-type {
  margin-top: 90px;
} 

.ueber-uns-images:nth-of-type(2) {
  margin-top: 170px;
}

.ueber-uns-images:nth-of-type(3) {
  margin-top: 90px;
}

/*Media queries*/

@media screen and (max-width: 767px) {

  #head h1, #head h4 {
    left: 15px;
  }

  #head h1 {
    font-size: 34px;
  }

  #head h4 {
    font-size: 15px;
    font-weight: lighter;
    max-width: none;
  }

  #head .logo-img img {
    width: 150px;
    top: 3px;
  }
  
  #content, #right {
    width: 100%;
    padding: 0;
  }

  #nav-icon1 {
    display: block;
  }

  #navi {
    position: relative;
    height: auto;
    min-height: 38px;
  }

  #navi ul.nav {
    margin-left: 0;
    padding: 35px 0 10px;
    display: none;
  }

  #navi ul.nav.opened {
    display: block;
  }

  #navi ul li {
    float: none;
  }

  #navi ul li a, #navi ul li a:link, #navi ul li a:visited {
    padding: 10px 15px;
  }

  #navi ul.lang-inline {
    float: left;
    margin-left: 15px !important;
    margin-right: 0 !important;
  }

  #navi ul.lang-inline li {
    float: left;
  }

  .mod-languages {
    position: absolute;
    right: 5px;
    top: 7px;
  }

  div.mod-languages li {
    margin-left: 15px;
  }

  #main {
    padding: 50px 15px;
  }

  #content img {
    margin: 10px 0 !important;
    float: none !important;
    display: block;
  }

  #content table {
    width: 100% !important;
  }

  #content table tr {
    display: grid;
  }

  #right {
    display: none;
  }

  #right .caption {
    width: 100%;
    max-width: 200px;
  }

  #right .ueber-uns-images p, #right .ueber-uns-images .caption {
    text-align: right;
  }

  .ueber-uns-images {
    margin-top: 0 !important;
  }

  .sidebar-mobile {
    display: block;
  }

}

@media screen and (max-width: 575px) {
  
  #head h1 {
    font-weight: 100;
    letter-spacing: 3px;
  }
  
  #head h4 {
    max-width: 180px;
  }

  #footer {
    padding: 20px 15px;
    text-align: center;
    height: auto;
  }

  #footer ul li:first-child {
    margin: 10px 0;
    display: block;
    font-size: 15px;
  }
}
