/* -- Font Include -- */
@font-face {
    font-family: 'MyriadPro-Bold';
    src: url('../fonts/MyriadPro-Bold.woff') format('woff'),
         url('../fonts/MyriadPro-Bold.ttf') format('truetype'),
         url('../fonts/MyriadPro-Bold.svg#MyriadPro-Bold') format('svg');
}
@font-face {
    font-family: 'MyriadPro-Regular';
    src: url('../fonts/MyriadPro-Regular.woff') format('woff'),
         url('../fonts/MyriadPro-Regular.ttf') format('truetype'),
         url('../fonts/MyriadPro-Regular.svg#MyriadPro-Regular') format('svg');
}
/* -- / Font Include --*/
/* -- General -- */
body {
  padding: 0px;
  margin: 0px;
  line-height: 1.5;
  font-size: 16px;
  font-family:'MyriadPro-Regular', Helvetica, sans-serif;
  color: #262526;
  background: #fff;
}

a img {
  border: none;
}

article img {
  max-width: 100%;
  box-sizing:border-box;
  -moz-box-sizing:border-box;
  -webkit-box-sizing:border-box;
  border: 15px solid #fff;

  box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
  -moz-box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
  -webkit-box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
  vertical-align: top;
}

nav ul {
  margin: 0px;
  padding: 0px;
}

a,
a:visited,
a:active {
  text-decoration:none;
  /* color: #007ebd; */
  color: #990000;
  cursor: pointer;
}

a:hover {
  color: #0B2326;
}

p {
  padding: 0px 0px 20px;
  margin: 0px;
  clear:both;
}
b,
strong,
.tel_number {
  font-weight: normal;
  font-family: 'MyriadPro-Bold',arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'MyriadPro-Bold', arial, sans-serif;
  font-weight: normal;
}

h1 {
  color: rgba(122,128,119,1);
  font-size: 2.2em;
  margin-top: 0px;
}

h2 {
  font-size: 1.6em;
  margin-bottom: 15px;
}

h3 {
  font-size: 1.4em;
  color: rgba(122,128,119,0.8);
}

h4 {
  margin-bottom: 10px;
}
.clear {
  clear:both;
}


.all {
  margin-left: auto;
  margin-right: auto;
  max-width: 900px;
}

.topmenu  {
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
}


.all.small {
  max-width: 600px;
}
/* -- / General -- */

/* -- Header -- */
header {
  
}

#logo {
  float: left;
}
#logo img {
  max-width: 180px;
  margin: 20px 20px 00px 0px;
}

#logo .logo_claim {    
    color: rgba(122,128,119,1);
    font-size: 1.2em;
    margin-top: 0px;
    display: block;
    font-family: 'MyriadPro-Bold', arial, sans-serif;
  font-weight: normal;
  margin-bottom: 20px;
}

.little_info_text {
  display: none;
  float: right;
  text-align: right;
  color: #0B2326;
  margin: 20px 0px;
  font-family: 'MyriadPro-Bold', arial, sans-serif;
}
/* - Logo bar - */
.logo_bar {
  display: block;
  float: right;
  margin-top: 20px;
}
.logo_bar img {
  vertical-align: top;
  margin-left: 10px;
  height: 60px;
}
.logo_bar img.img_kompetenz {
  
}
/* - / Logo bar - */
/* -- / Header -- */

/* -- Main Navigation -- */

/* Flexnav Base Styles */
.flexnav {
  padding-start: 0px;
  -webkit-padding-start: 0px;
  -moz-padding-start: 0px;
  -khtml-padding-start: 0px;
  -webkit-transition: none;
  -moz-transition: none;
  -ms-transition: none;
  transition: none;
  -webkit-transform-style: preserve-3d;
  overflow: hidden;
  margin: 0 auto;
  width: 100%;
  max-height: 0; 
}
.flexnav ul,
nav ul {
  padding-start: 0px;
  -webkit-padding-start: 0px;
  -moz-padding-start: 0px;
  -khtml-padding-start: 0px;
}
.flexnav.opacity {
  opacity: 0; 
}
  
.flexnav.flexnav-show {
  max-height: 2000px;
  opacity: 1;
  -webkit-transition: all .5s ease-in-out;
  -moz-transition: all .5s ease-in-out;
  -ms-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
}
  
.flexnav li {
  font-size: 100%;
  position: relative;
  overflow: hidden; 
}

.flexnav li a {
    position: relative;
    display: block;
    padding: 0.98em 0.96em 0.96em;
    z-index: 2;
    overflow: hidden;
    color: #262526;
    background: #fff;
    text-align: left;
    border-bottom: 2px solid transparent;
    border-top: 1px solid rgba(122,128,119,0.5);
}
.flexnav > li.active > a,
.flexnav > li:hover > a {
  border-bottom-color: #a52f33;
  border-bottom-width:2px;
  border-bottom-style: solid;
  background-color: rgba(122,128,119,0.2);
}

.flexnav li ul {
  width: 100%;
  border-left: 15px solid rgba(122,128,119,0.8);
}

.flexnav li ul li {
  font-size: 100%;
  position: relative;
  overflow: hidden;
}

.flexnav li ul.flexnav-show li {overflow: visible;}

.flexnav li ul li:hover a {
    background-color: rgba(122,128,119,0.2);
    border-bottom-color:#a52f33;
  }

.flexnav li ul li a {
  display: block;
  background: rgba(122,128,119,0.5); 
}
.flexnav ul li ul li a {
  background: #bfbfbc; 
}
.flexnav ul li ul li ul li a {
  background: #cbcbc9; 
}
  
.flexnav .touch-button {
  position: absolute;
  z-index: 999;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  display: inline-block;
  background: transparent;
  text-align: center; 
}
.flexnav .touch-button:hover { cursor: pointer; }
  
.flexnav .touch-button .navicon {
  position: relative;
  top: 1em;
  font-size: 12px;
  /* color: rgba(122,128,119,0.8); */
}

.menu-button {
  position: relative;
  display: block;
  padding: 1em;
  background: #fff;
  color: #262526;
  cursor: pointer;
  border-bottom: 2px solid #a52f33; 
}

.menu-button.active {
  background-color: rgba(122,128,119,0.5);
}

.menu-button .touch-button {
  background: transparent;
  position: absolute;
  z-index: 999;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  display: inline-block;
  text-align: center; 
}
.menu-button .touch-button .navicon {
  font-size: 16px;
  position: relative;
  top: 1em;
  color: rgba(122,128,119,0.8); 
}

@media all and (min-width: 761px) {
  
  .flexnav {overflow: visible;
    font-size: 14px;
  }
  .flexnav.opacity { opacity: 1; }
  .flexnav .touch-button {
    width: 35px;
  }
  .flexnav li {
    position: relative;
    list-style: none;
    float: left;
    display: block;
    background-color: #fff;
    overflow: visible;
    /*width: 20%; */
  }
  .flexnav li a {
    border-bottom: none;
    border-top: none;
  }

  .flexnav > li > a {
    border-left: 1px solid rgba(122,128,119,0.5);
    border-right: 1px solid rgba(122,128,119,0.5);
  }
  .flexnav > li:first-child > a { border-left-width: 2px ;}

  .flexnav > li:last-child > a { border-right-width: 2px;}

  .flexnav > li > a {
    padding: 0.96em 2.5em 0.96em 0.96em;
  }

  .flexnav > li.active > a,
  .flexnav > li:hover > a {
    margin-bottom: -10px;
    border-bottom-width: 10px;
  }
  .flexnav > li.active > a:before,
  .flexnav > li:hover > a:before {
    display: none;
    content: " ";
    position: absolute;
    top:0.7em;
    left: -16px;
    width: 32px;
    height: 32px;
    background-repeat: no-repeat;
    background-size: 30px;
    background-position: center center;
    background-color: #fff;
    background-image: url(../img/design/bakterium_big.png);
    border-radius: 50px;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
  }

  .flexnav li > ul {
    position: absolute;
    top: auto;
    left: 0; 
    border-top: 12px solid transparent;
    border-left-width: 0px;
    width: auto;
    min-width: 150px;
  }
  .flexnav li > ul li { width: 100%; }
  .flexnav li ul li > ul {
    margin-left: 100%;
    top: 0; 
  }
  .flexnav li ul li a {
    
    border-bottom: 2px solid #fff;}

  .flexnav li ul li:hover a {
    background-color: rgba(122,128,119,0.2);
    border-color:#a52f33;
  }

  .flexnav li ul.open {
    display: block;
    opacity: 1;
    visibility: visible;
    z-index: 1; 
  }
  .flexnav li ul.open li {
      overflow: visible;
      max-height: 100px;
    }
    .flexnav li ul.open ul.open {
        margin-left: 100%;
        top: 0;
      }

  .menu-button { display: none; } 
}

#main_nav {
  display: block;
  width: 100%;
  /* background-color: rgba(122,128,119,0.8); */
  background-color: #fff;
  border-bottom: 10px solid rgba(122,128,119,0.5);
}

/* -- / Main Navigation - -*/

/* -- Subnavigations -- */

#breadcrumb span {
  padding-right: 10px;

}


#subnav {
  padding: 5px 20px;
  background: rgba(122,128,119,0.5);
  border-top: 5px solid rgba(122,128,119,0.8);
}

#subnav ul,
#subnav li {
  list-style-type: none;
  margin: 0px;
  padding: 0px;
  display: block;
}

#subnav a {
  display: block;
  width: 100%;
  padding: 5px 0px 5px 0px;
  font-family: 'MyriadPro-Bold', arial, sans-serif;
  color: #262526;
}

#subnav a:before {
  content: "»";
  font-size: 18px;
  padding-right: 5px;
}

#subnav li {
  border-top: 1px solid rgba(122,128,119,0.8);
}

#subnav li:first-child {
  border-top: none;
}


#subnav li.active a {
  color: #a52f33;
}
/* -- / Subnavigations -- */

/* -- Teaser --*/

#teaser {
  z-index: -1;
  height: 200px;
  overflow: hidden;
  padding: 0px;
  border: 5px solid rgba(122,128,119,0.8);
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  /* background-color: rgba(122,128,119,0.8); */
}

#teaser img {
}

.line {
  display: block;
  width: 100%;
  border: 5px solid rgba(122,128,119,0.8);
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

/* -- / Teaser -- */

/* -- Content Part -- */
section {
  background-color: #fff;
}

section > *:first-child {
  margin-top: 0px;
}


article {
  padding: 40px 0px 100px;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin: 20px 0px;
}

table th {
  border-bottom: 5px solid rgba(122,128,119,0.8);
  padding: 5px 10px;
  text-align: left;
  vertical-align: middle;
  font-weight: normal;
  font-family: 'MyriadPro-Bold';
  font-size: 1.1em;
}

table td {
  padding: 5px 10px;
  border-bottom: 1px solid rgba(122,128,119,0.8);
  vertical-align: middle;
}

table td img {
  margin-bottom: -3px;
}


#content {
  padding: 30px 20px 60px 0px;
  margin-top: 0px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  max-width: 69%;
  width: 100%;
  display: inline-block;
  vertical-align: top;
}

/* - Img Sizing - */
#content img { max-width: 100%;}

img.img_with_border {
  border: 1px solid rgba(122,128,119,0.8);
}
/* - / Img Sizing - */


/* - Sidebar - */

#sidebar {
  max-width: 30%;
  margin-top: 103px;
  width: 30%;
  display: inline-block;
  vertical-align: top;

  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

#sidebar h3 {
  font-size: 20px;
  margin-bottom: 0px;
  color: rgba(122,128,119,0.8);
}
#sidebar h3:first-child {
  margin-top: 0px;
}

.full_width #content {
  width: 100%;
  max-width: 100%;
}

.full_width #sidebar {
  display: none;
}

/* - / Sidebar - */


#content ul {
  padding-left: 20px;
  list-style-type: square;
  margin-top: 0px;
}

#content h3 {

  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #a52f33;
}
/* - Img Positions and wrappers - */
.pos_img {
  clear: both;
}

.pos_left {
  width: 45%;
  padding-right: 15px;
  padding-bottom: 10px;
  float: left;
}

.pos_right {
  width: 45%;
  padding-left: 15px;
  padding-bottom: 10px;
  float: right;
}

.img_wrapper {
  border: 2px solid rgba(122,128,119,0.8);
  text-align: center;
}

.img_wrapper img {
  display: block;
  margin: 0px auto;
  padding: 0px;
  border: 0px;
  max-width: 100%
}


/* - / Img Positions - */

/* - Link List - */

#content ul.link_list {
  list-style-type: none;
  margin-left: 0px;
  padding-left: 0px;
}
.link_list li {
  padding-left: 15px;
  position: relative;
  padding-bottom: 5px;
}

.link_list li:before {
  content: "»";
  font-size: 22px;
  line-height: 1;
  display: block;
  position: absolute;
  top: 0px;
  left: 0px;
}
/* - / Link List - */
/* - VCard Lists - */

#content ul.vcard_list {
  list-style-type: none;
  margin: 20px 0px;
  padding: 0px;
}

.vcard_list li {
  margin-top: 0px;
  border-bottom: 1px solid rgba(122,128,119,0.8);
  padding-top: 20px;
  padding-bottom: 20px;
}
.vcard_list li:after {
  content: " ";
  display: block;
  clear: both;
}
.vcard_list li:first-child {
  border-top: 1px solid rgba(122,128,119,0.8);
}

.vcard_list li > span {
  display: block;
  vertical-align: top;
  float: left;
}

.vcard_list .vcard_img_box {
  width: 30%;
  border: 1px solid rgba(122,128,119,0.8);
  margin: 0px 2% 0px 0px;
  background-color: rgba(122,128,119,0.8);
  min-height: 90px;
}
.vcard_list .vcard_img_box img {
  vertical-align: bottom;
  margin: 0px;
  padding: 0px;

}
.vcard_list .vcard_text {
  width: 67%;
}
.vcard_list .vcard_text span {
  display: block;
  padding: 0px 0px 5px;
}
.vcard_list .vcard_name {
  font-family:'MyriadPro-Bold', arial, sans-serif;
  font-size: 1.3em;
}
.vcard_list .vcard_tel a {
  font-family: 'MyriadPro-Bold', arial, sans-serif;
}
/* - / Vcard Lists - */

/* - List for Publications - */
.publication_list li {
  padding: 0px 0px 10px;

}
.publication_list .publication_date {
  display: block;
  font-style: italic;
  font-size: 0.9em;
  margin-bottom: 10px;
}

.linked_to_pdf {
  padding-left: 50px;
  display: inline-block;
  position: relative;
  vertical-align: top;
} 

.linked_to_pdf:before {
  display:block;
  content: "PDF";
  position: absolute;
  top: 0px;
  left: 0px;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  padding: 1px 10px;
  background-color: #a52f33;
  color: #fff;
  font-size: 0.9em;
}
/* - / List for Publications - */
/* - Box Overview for Startpage - */

.box_overview a {
  display: block;
  background: rgba(122,128,119,0.2);
  padding: 20px;
  margin-bottom: 20px;
  border-bottom: 5px solid rgba(122,128,119,0.8);
  color: #0B2326;
  width: 32%;
  margin-right: 2%;
  float: left;
  min-height: 260px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
.box_overview a:nth-child(3n) {
  margin-right: 0px;
}
.box_overview a:hover {
  border-bottom-color: #990000;
}

.box_overview a h2 {
  margin-top: 0px;
}

/* - / Box Overview for Startpage - */

/* -- / Content Part -- */

/* -- Contact Part -- */
.contactinfos {
  float:left;
}

#contact  {
  background:rgba(122,128,119,0.5);
  border-top: 5px solid rgba(122,128,119,0.8); 
}

#contact span > h3 {
  margin-top:0px;
}

#contact a,
#contact a:visited,
#contact a:active {

}

#contact a:hover {
  color: #111;
}

#contact .all { position: relative;}
#contact .all:after {
  content: " ";
  display: block;
  position: absolute;
  right: 0px;
  top: -200px;
  background-repeat: no-repeat;
  background-size: 60px;
  background-image: url("../img/design/bakterium_big.png");
  background-position: center center;
  height: 65px;
  width: 65px;
  border-radius: 100px;
  -moz-border-radius: 100px;
  -webkit-border-radius: 100px;
  background-color: rgba(255,255,255,1);
}
/* -- / Contact Part -- */

/* -- Image Border (Design Element) -- */


#image_border {
  margin-top: 50px;
  overflow: hidden;
  height: 150px;
  width: 100%;
  border-top: 5px solid rgba(122,128,119,0.8);
  /*border-bottom: 5px solid rgba(122,128,119,0.8); */
}
#image_border div {
  width: 20%;
  height: 150px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-right: 5px solid rgba(122,128,119,0.8);
  box-sizing:border-box;
  -moz-box-sizing:border-box;
  -webkit-box-sizing:border-box;
  padding: 0px;
  margin: 0px;
  float:left;
}
#image_border div:first-child {
  border-left: 5px solid rgba(122,128,119,0.8);
}
/* -- / Image Border (Design Element) -- */


/* -- Slider -- */
#view_big {
  max-height: 340px;
  overflow: hidden;
  padding: 20px 60px;
  border: 5px solid rgba(122,128,119,0.8);
}

#view_big > div {
  
}

#view_big * {
  max-height: 300px;
  margin: 0px auto;
}

#view_small {
  max-height: 116px;
  background: rgba(122,128,119,0.5);
  border-bottom: 5px solid rgba(122,128,119,0.8);
}

#view_small img {
  max-height: 100px;
  margin: 0px auto;
  border: 5px solid #fff;
  cursor: pointer;
  width: auto;

}

.slick-slider
{
    position: relative;

    display: block;

    -moz-box-sizing: border-box;
         box-sizing: border-box;

    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list
{
    position: relative;

    display: block;
    overflow: hidden;

    margin: 0;
    padding: 0;
}
.slick-list:focus
{
    outline: none;
}
.slick-list.dragging
{
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list
{
    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
         -o-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.slick-track
{
    position: relative;
    top: 0;
    left: 0;

    display: block;
}
.slick-track:before,
.slick-track:after
{
    display: table;

    content: '';
}
.slick-track:after
{
    clear: both;
}
.slick-loading .slick-track
{
    visibility: hidden;
}

.slick-slide
{
    display: none;
    float: left;

    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide
{
    float: right;
}
.slick-slide img
{
    display: block;
}
.slick-slide.slick-loading img
{
    display: none;
}
.slick-slide.dragging img
{
    pointer-events: none;
}
.slick-initialized .slick-slide
{
    display: block;
}
.slick-loading .slick-slide
{
    visibility: hidden;
}
.slick-vertical .slick-slide
{
    display: block;

    height: auto;

    border: 1px solid transparent;
}
.slick-dots {
  position: absolute;
  bottom: -45px;
  display: none;
  width: 100%;
  padding: 0;
  list-style: none;
  text-align: center;
}

.slick-dots li {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 0 5px;
  padding: 0;
  cursor: pointer;
}
.slick-dots li button {
  font-size: 0;
  line-height: 0;
  display: block;
  width: 20px;
  height: 20px;
  padding: 5px;
  cursor: pointer;
  color: transparent;
  border: 0;
  outline: none;
  background: transparent;
}
#view_big button.slick-prev,
#view_big button.slick-next {
  display: block;
  position: absolute;
  top: 0px;
  height: 100%;
  border: none;
  width: 50px;
}
button.slick-prev {
  background-color: rgba(255,255,255,0.5);
  background-image: url(../img/design/arrow-left.png);
  background-repeat: no-repeat;
  background-position: center center;
  left: 0px;
  background-size: 60px;
  color: transparent;
  font-size: 0px;

}
button.slick-next {
  right: 0px;
  background-color: rgba(255,255,255,0.5);
  background-image: url(../img/design/arrow-right.png);
  background-size: 60px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 60px;
  color: transparent;
  font-size: 0px;
}

#view_small button.slick-prev,
#view_small button.slick-next {
  display: block;
  position: absolute;
  top: 0px;
  height: 110px;
  border: none;
  width: 20px;
  background-color: rgba(255,255,255,0.8);
  background-size: 20px;
}
/* -- / Slider -- */

/* -- Form --*/
form {
  display: block;
  margin-top: 0px;
}
fieldset {
  border: none;
  margin: 0px;
  padding: 8px 0px;
  display: block;
  width: 100%;
  border-bottom: 1px solid rgba(122,128,119,0.3);
  vertical-align: top;
}

form label {
  display: inline-block;
  vertical-align: top;
  width: 30%;
  font-size: 14px;
  padding-top: 5px;
}
form input[type="text"],
form input[type="password"],
form input[type="email"],
form select,
form textarea {
  width: 65%;
  margin-left: 2%;
  display: inline-block;
  min-height: 30px;
  padding: 2px 5px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  vertical-align: top;
  box-shadow: inset 0px 0px 5px rgba(0,0,0,0.5);
  -moz-box-shadow: inset 0px 0px 5px rgba(0,0,0,0.5);
  -webkit-box-shadow: inset 0px 0px 5px rgba(0,0,0,0.5);
  border: 1px solid rgba(122,128,119,0.8);
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}
form input.street { width: 43%;}
form input.street_number { width: 19%;}

form .radio_buttons,
form .checkboxes {
  width: 65%;
  margin-left: 2%;
  display: inline-block;
  vertical-align: top;
  margin-top: 5px;
}

form .radio_buttons label,
form .checkboxes label {
  padding-top: 0px;
  width: auto;
  padding-right: 20px;
}
form .long_field label {
  max-width: 80%;
  width: auto;

}
form .long_field .checkboxes {
  width: 90%;
}
form textarea {
  min-height: 100px;
}

form p {
  margin: 10px 0px;
}

button,
.button {
  background-color: #262526;
  color: #fff;
  padding: 8px 15px 5px;
  text-align: center;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

button:hover,
a.button:hover,
button:active,
a.button:active {
  background-color: #a52f33;
  color: #fff;
}
.button span {
  text-align: center;
}

.button input {
  width: 0px;
  padding: 0px;
  margin: 0px;
  min-width: 0px;
  height: 0px;
}
/* -- / Form -- */

/* -- Footer -- */
footer {
  background-color: #262526;
  color: rgba(122,128,119,1);
  padding: 10px 20px 10px;
  font-size: 12px;
}


footer a,
footer a:visited,
footer a:active {
  color: rgba(122,128,119,1);
}
footer a:hover {
  color: #fff:
}

#footer_nav {
  float: right;
}

#footer_nav ul,
#footer_nav li {
  list-style-type: none;
  margin: 0px;
  padding: 0px;
  -webkit-padding-start: 0px;
  -moz-padding-start: 0px;
  padding-start: 0px;
  -khtml-padding-start: 0px;
}

#footer_nav li {
  display: inline-block;
  vertical-align: top;
}

#footer_nav a {
  padding: 0px 0px 0px 10px;
  margin-left: 10px;
  border-left: 1px solid rgba(122,128,119,1);
  border-top: none;
}

#footer_nav li:first-child a {
  border-left: none;
  padding: 0px;
  margin-left: 0px;
}
/* -- / Footer --*/
/* -- Only Screen -- */
@media only screen and (min-width: 768px) {
  .button {
    max-width: 50%;
  }  

}

/* -- Tablet View --*/

@media only screen and (min-width: 480px) and (max-width: 1024px) {
  .all {
    padding-left: 20px;
    padding-right: 20px;
  }
  #main_nav .all {
    padding: 0px;
  }
}
@media only screen and (max-width: 768px) {
  .logo_bar img {
    display: block;
    margin-left: auto;
    margin-bottom: 10px;
    height: 40px;
  }
  .box_overview a {
    width: 49%;
    margin-right: 2%;
  }
  .box_overview a:nth-child(3n) {margin-right: 2%;}
  .box_overview a:nth-child(2n) {margin-right: 0%;}
}
/* -- / Tablet View --*/

/* -- Smartphone View -- */
@media only screen and (max-width: 600px) {
  body {
    padding:0px;
    max-width:100%;
    width:100%;
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
  }
  .all {
    padding-left: 15px;
    padding-right: 15px;
  }
  #main_nav .all {
    padding-left: 0px;
    padding-right: 0px;
  }

  #logo {
    max-width: 100%;
    padding: 10px 0px;
    float: none;
    clear: both;
  }

  #logo img {
    max-width: 100px;
    margin: 0px;
    padding: 0px;
  }
  #logo .logo_claim  {
    font-size: 12px;
    margin-bottom: 0px;
  }

  #image_border,
  .logo_bar {
  display: none;
  }

  #teaser {
    max-height: 115px;
    display: none;
  }

  #breadcrumb span {
    font-size: 10px;
  }
  
  img {
    max-width: 100%;
    width: 100%;
  }

  table img,
  img.icon {
    width: auto;
  }

  header a {
    display:block;
    text-align:center;
    font-size: 30px;
  }

  h1 {
    font-size: 1.4em;
  }
  h2 {
    font-size: 1.3em;
  }

  #content, #sidebar {
    display: block;
    float: none;
    max-width: 100%;
    width: 100%;
    margin: 20px 0px;
  }

  #content {
    padding: 20px 0px;
  }

  #view_big {
    padding: 10px 25px;
    border-width: 3px;
  }
  #view_small {border-width: 3px; } 
  #view_big button.slick-prev, #view_big button.slick-next {
    width: 25px;
    background-size: 35px;
  }

  #contact .all:after  {
    top: -36px;

  }

  form label {
    display: block;
    width: 100%;
    font-size: 14px;
  }
  form .radio_buttons label,
  form .checkboxes label {
    display: inline-block;
    width: auto;
  }
  form input[type="text"],
  form input[type="password"],
  form input[type="email"],
  form select,
  form textarea {
    width: 100%;
    display: block;
    margin: 10px 0px;
  }

  form input.street { 
    width: 70%; 
    display: 
    inline-block;
  }
  form input.street_number { 
    width: 25%; 
    margin-left: 3%; 
    display: inline-block;
  }

  form .radio_buttons,
  form .checkboxes {
    width: 100%;
    margin-left: 0%;
    display: block;
    margin: 10px 0px;
  }
  .contactinfos strong > a {
    display: block;
  }

  .contactinfos {
    font-size: 14px;
  }
  .pos_left {
    width: 100%;
    padding-right: 0px;
    padding-bottom: 10px;
    float: none;
  }

  .pos_right {
    width: 100%;
    padding-left: 0px;
    padding-bottom: 10px;
    float: none;
  }

  .vcard_list .vcard_img_box {
    width: 100%;
    margin: 0px 0px 20px;
  }
  .vcard_list .vcard_text {
    width: 100%;
  }
  .publication_list li {
    margin-bottom: 20px;
  }
  .publication_list .publication_date {
    margin-bottom: 15px;
  }
  .linked_to_pdf {
    padding-left: 0px;
    display: block;
  }
  .linked_to_pdf:before {
    position: relative;
    display: block;
    margin-right: 20px;
    width: 50px;
    text-align: center;
    margin-bottom: 5px;
  }

  .box_overview a {
    display: block;
    float: none;
    margin: 20px 0px;
    padding: 10px;
    width: 100%;
    min-height: auto;
  }
  .box_overview a:nth-child(2n),
  .box_overview a:nth-child(3n) {
    margin-right: 0px;
  } 

  footer {
    padding: 10px 0px;
  }

  #footer_nav {
    float: none;
    display: block;
    margin: 10px 0px;
  }
  #footer_nav a {
    padding: 5px 10px;
  }
}
/* -- / Smartphone View -- */