.mainlogo {
    max-width: 50%;
    height: auto;
    width: auto;
}

@media (min-width:455px) {
    .mainlogo {
    width: 173px;
    }
}

/* Changed as stated by Katharina */
.navbar-toggle {  
  right: 0;
  position: absolute;
  top: 0%;    
  margin-top: 0px;  
}

body {
    font-size: 14px;
    line-height: 1.5em;
    font-weight: 400;
}

div.nav.container {
margin-top: 0px;
    min-height: 40px;
}

.navbar-brand {
    padding: 0px 0 0 30px;
    width: 80%;
 }

h2 {
    font-size: 16px;
    line-height: 1.4em;
    text-rendering: optimizeLegibility;
    font-weight: 400;
    word-wrap: break-word;
}
.container > .navbar-header {
    position: relative;
}

.nav > li > a, .navbar-nav .open .dropdown-menu .dropdown-header {
    padding: 13px 0px 13px 15px;
    font-size: 17px;
    font-weight: 700;
}

#navbar-nav {
  margin-right: -15px;
  margin-left: -15px;
}

.navbar-nav .open .dropdown-menu > li > a {
    padding: 13px 0px 13px 0px;
    font-size: 17px;
    font-weight: 400;
}

.navbar-nav .open .dropdown-menu > li:first-of-type > a {
        padding: 0px 0px 13px 15px;
}

.nav a:hover, .nav a:focus, .nav a:focus {
    font-weight: 700;
}

div.top.container {
    padding-top: 10px;
}

main {
    min-height: 300px;
}

.navbar-nav .open .dropdown-menu > li > a {
    padding-left: 15px;
    line-height: 1.4;
}

.dropdown-menu > li > a {
    white-space: initial;
}

.nav > li:not(:first-child):after {
        content: "";
        position: absolute;
        display: block;
        background: url('../img/dropshadow_nav@2x.png') no-repeat;
        background-size: contain;
        height: 6px;
        width: 100%;
        top: 0;
        left: 0;
    }

.overnav {
    display: none;
}

h1 {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 20px;
}

.imagebox {
    width: 50%;
    float: left
}

.textbox {
	width: initial;
	float: none;
	display: inline-block;
	width: 35%;
}

.linkbox > .textbox {
    width: 80%;
}

.imagebox + .textbox {
    width: 35%;
}

@media (min-width:472px) {
    .imagebox {
        width: 50%;
    }
    
    .imagebox + .textbox {
      width: 40%;
}
}

.lightbox .imagebox {
    width: 100%;
}

.lightbox .inner-wrap {
    margin-bottom: 0px;
}

  

.textbox.t-right {
    width: initial;
    float: none;
    margin-top: 0;
}

.textbox.t-right p,.textteaser p {
    /* max-width: 500px; */
    float: none;
}

.textbox.t-right p {
    margin-bottom: 10px;
}

.textbox .teasertext,
.textbox h2 {
    display: none
}

.textbox.t-right h2,.textbox h2 {
    display: block !important;
} 

.slider {
    position: relative;
}

.slidertext {
    max-width: 570px;
}

.panel {
    width: 100%;
    float: none;
}

.slidertext {
    position: absolute;
   bottom: 0;
    background: rgba(255, 255, 255, 0.75);
    font-size: 10px;
}

.bx-wrapper {
position: relative;
margin: 0;
padding: 0;
}

.bx-wrapper .bx-pager, .bx-wrapper .bx-controls-auto {
    bottom: 0px;
}

div.nav.container {
    margin-top: 0px;
}

.navbar-nav {
    margin: 0;
}

.panel-group .panel:not(:first-child):before {
        content: "";
        position: absolute;
        display: block;
        background: url('../img/dropshadow_nav@2x.png') no-repeat;
        background-size: contain;
        height: 6px;
        width: 100%;
        left: -30px;
        top: -15px;
    }

.panel-group .panel:last-child:after {
        content: "";
        position: absolute;
        display: block;
        background: url('../img/dropshadow_nav@2x.png') no-repeat;
        background-size: contain;
        height: 6px;
        width: 100%;
        left: -30px;
        bottom: 0px;
    }

.panel-group .active-head.panel:last-child:after {
    bottom: -20px;
}

.panel-group {
    overflow: visible;
}

/* Change for RH */
.footer {
    padding: 15px 15px 0px;
    font-size: 11px;
}

.footer h4 {
    padding-bottom: 5px;
}

.panel {
    width: 100%;
    float: none;
    margin-bottom: 10px;
}

.two .panel {
    text-align: center;
}

.footer.two {
    padding: 15px 15px 5px;
}

.pop {
    display: block;
}


.bx-wrapper {
    width: 100% !important;
    float: none !important;
    margin-bottom: 20px !important;
}

.picfull {
    margin-bottom: 25px;
}

.slider_1_2 p {
    text-align: center;
    width: 100%;
    display: inline-block;
    position: relative;
    transform: initial;
    font-size: 18px;
    font-weight: 700;
}

.teaserbox .inner {
    padding: 10px 0px;
    text-align: center;
    font-weight: 700;
}

.navbar {
  min-height: initial;
  margin-bottom: 10px;
}

.bx-wrapper img {
    margin: 0px auto;
}

hr {
    margin: 0 auto 10px;
}

.teasertext {
    margin: 10px auto;
    width: 100%;
    text-align: center;
    padding: 0;
}

.teaserbox,.textbox.t-right {
    margin-bottom: 20px;
}

.navbar-collapse {
    margin-top: 20px;
    margin-bottom: 30px;
}

.rep_maxi li {
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
}

.rep_maxi li:first-child {
    padding: 10px 0;
}

.rep_maxi {
    margin-bottom: 20px;
}

.acf-map {
	height: 200px;
	margin: 0 0 20px;
}

.text-outer p {
    display: block;
    float: none;
}

.collapse {
  display: none;
  margin-bottom: 30px;
}

.footer.two.collapse,.copyright .collapse {
    display: inline-block;
}

/* Changed for HOSS */

.teasertext.full {
    padding: 0;
    margin-top: 15px;
}

.leftcolumn h2, .textbox h2,.textteaser p {
    font-size: 15px !important;
}

.imageteaser .imagebox {
    margin-right: 30px;
    position: relative;
}

.imageteaser .inner-wrap {
    width: 100%;
    float: left;
    margin-bottom: 10px;
    padding-left: 0px;
    padding-right: 0px;
}
.textbox .link ,.submenue_footer{
    display: none;
}

.linkbox {
    display: inline-block;
    overflow: visible;
    position: relative;
    margin-top: 10px;
    width: 100%;
    padding: 0;
    margin: 10px 0 0;
    border-bottom: 1px solid #e4e4e4;
}

.rep.r_full .linkbox {
    border-bottom: none;
    margin: 10px 0;
}

.rep.r_full .linkbox h2 {
    margin-bottom: 0;
    top: 0;
}

.rep.r_full .inner-wrap {
    border-bottom: 1px solid #e4e4e4;
    margin-bottom: 0;
}

.noimage .linkbox {
    border-bottom: 1px solid #e4e4e4;
    margin: 0;
    padding: 10px 0;
}

.noimage .linkbox h2 {
 margin-bottom: 0;   
}

.imageteaser .col-xs-12:last-of-type .linkbox {
    border: 0;
}

.imageteaser .col-xs-12:last-of-type .imagebox {
    margin-bottom: 15px;
}

.linkbox .arrow { 
display: inline-block;
  font-family: 'Glyphicons Halflings';
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;        
        position: absolute;
        width: 7px;
        height: 11px;
        top: 50%;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        right: 0;
}

.linkbox.noimg:after { 
        top: 0%;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        right: 0;
}


.footer.two .panel,.footer.two .collapse,.footer.two panel-body,.footer.two ul {
    margin-bottom: 0;
    display: inline-block;
}

.bx-wrapper .bx-controls-direction a {
	    top: 50%;
	    width: 30px;
	    height: 30px;
        padding: 5px 12px;
}

.bx-wrapper .bx-prev:before,.bx-wrapper .bx-next:before {
  font-size: 10px;
}

.copyright>.container {display: table; width: 100% }
.cprgth  { display: table-footer-group; float: none;}
.cprgth p {padding: 0px 0 10px 0; text-align: center;}
.cprgth.copyright {display: inline-block;padding: 0px 0 10px 0;width: 100%}
.copyright .social { display: table-header-group; float: none; }

.slider_teaserbox {
    position: relative;
    width: 100%;
    text-align: center;
    padding: 15px 20px;
}

    .slider_teaserbox p {
        margin: 0 auto;
    }



.r_hide figure {
    display: none;
}

.r_hide .textbox .teasertext {
    display: inline;
    overflow: visible;
    padding: 0;
}
.slider_full {
    margin-bottom: 30px;
}

/* Font Definitions Alex */

.imageteaser .textbox p,.slider_teaserbox p, .teasertext p, .textbox.t-right p,.slider_1_2 p,.teaserbox, .within p,ul li {
    font-size: 15px !important;
    line-height: 1.3em !important;
    font-weight: 400;
}

.teaserbox .inner p {
    font-size: 17px !important;
    line-height: 1.3em !important;
    font-weight: 400;
}

.textbox.t-right h2, h2.headleft {
    font-size: 23px;
    line-height: 1.3em;
    font-weight: 400;
}

h2.headleft {
    font-size: 16px;
}

 .slider_1_2 p {
    padding: 0;
}

.teasertext p {
    font-weight: 700;
    display: inline-block;
}

.footer.two p,.copyright p {
    font-size: 11px;
    line-height: 1.5em;
    font-weight: 600;
}

.teaserbox .inner p {
     padding: 15px 15px;
    text-align: center;
}

/* HOSS */

.r_full {
    min-height: initial;
}

.textteaser {
    margin-bottom: 0px;
}

.imageteaser {
    margin-bottom: 25px;
}

.imageteaser:first-of-type {
    margin-bottom: 0px;
}


/* HOSS */
.imageteaser>div {
    padding-top: 0;
}
.imageteaser .teasertext {
    border-bottom: 1px solid #cccccc;
    padding-bottom: 20px;
    }

.imagebox {
    margin-bottom: 20px;
}

.r_full:last-of-type  .imagebox {
    margin-bottom: 0;
}

.imageteaser>div:last-of-type .teasertext {
        border-bottom: none;
}

hr.big,.trennlinie {
    margin: 0px auto 10px;
}

.textbox.t-right:last-of-type {
    margin-bottom: 10px;
}

main {
    min-height: 300px;
    margin-bottom: 0px;
}

.slider_teaserbox {
     opacity: 1 !important;
}

.footer.two .panel {
    width: 100%;
}

.textbox.t-right img {
    max-width: 50%;
    height: auto;
    margin-bottom: 10px;
}

.footer.two .textwidget p {
float: none;
}

.flexible {
    margin: 0 auto;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
    display: inline-block;
}

.onlymobile {
    display: block !important;
}

.textbox li {
padding-bottom: 0px;
}

.textbox.t-right h1,h2,h3,h4 {
    margin-bottom: 10px;
}

.spacer70px {
    margin-bottom: 10px;
}

.imageteaser .imagebox {
	margin-right: 15px;
}

.navbar-brand {
	width: 80%;
	margin-top: 0px;
}

hr.small {
	margin: 0 auto 10px;
}

/* HOSS */
/* Rechange for all Templates */

.imageteaser .textbox h2 {
	font-size: 18px !important;
    line-height: 1.3;
    /* Hoss Original top: -10px;*/
    margin-top: 0px;
    position: relative;
    z-index: 9999;
}

.r_full .textbox h2 {
    top: -4px;
}

.bx-controls-direction {
    display: none;
}

.teasertext.full > div {
    padding-left: 0;
    padding-right: 0;
}

hr.small {
    background: url('../img/schlagschatten_xs@2x.png') no-repeat;
    background-size: contain;
    max-width: 100%;
    width: auto;
    height: 7px;
}

.backtotop {
  text-align: center;
  margin-top: 0px;
  margin-bottom: 20px;
}

.backtotop .arrow {
    width: 7px;
    height: 11px;
    -webkit-transform: rotate( -90deg );
    transform: rotate(-90deg);
}

.backtotop a {
  width: 30px;
  height: 30px;
  padding: 5px;
}

.flex-wrapper:before {
    max-width: 100%;
}

.copyright {
    padding: 0;
    font-size: 10px;
    padding-left: 15px;
}

.footer>.container {
    padding-left: 0;
}

.icons-small {
    display: inline-block;
}

.icons-small li { 
    float: left;
    
}

.icons-small li .site-label { 
    display: none;
}

.backtotop span.one {
     display: none;
}


.txt {
    display: none;
}

.panel-heading {
    height: 36px;
    position: relative;
    z-index: 9999;
}

.panel-heading .arrow {
    height: 12px;
    width: 8px;
    position: absolute;
    right: -10px;
    display: inline-block;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
     z-index: -1;
    top: 0;
    -webkit-transform: rotate( 90deg );
    transform: rotate(90deg);
    transition: all 0.2s linear;
    -webkit-backface-visibility: hidden;
}
.active-head .panel-heading .arrow {
    -webkit-transform: rotate( -90deg );
    transform: rotate(-90deg);
}

.panel-title {
    font-size: 15px;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    
}

.panel:last-of-type .panel-title {
    top: 80%;
}

.slider1_2 {
  margin-bottom: 0px;
}

.footer h4 a {
  cursor: default;
  width: 100%;
  display: block;
  margin-top: -3px;
   height: 30px;
}

.panel-title {
    width: 100%;
}

.r_hide {
    display: none;
}

.teasertext.full {
  margin: 10px 0px 20px;
}

.navbar + main .teasertext.full {
  margin: 25px 0px 20px;
}

.trennlinie + .teasertext.full {
    padding: 0;
    margin-top: 10px !important;
}

.trennlinie img {
    height: 8px;
}

.imageteaser .imagebox.shadow:before, .gmw-thumbnail-map:before, .bx-viewport li:before {
  background: url('../img/box_shadow_image_small.png') no-repeat;
}

.flex-wrapper:before {
  background: url('../img/schlagschatten_lang_small@2x.png') no-repeat;
  background-size: cover;
  height: 4px;
  width: 100%;
  
}

.within {
    margin-bottom: 20px;
}

.textwidget { 
    max-width: 90%;
    margin-top: -5px;
}

.gmw-thumbnail-map img {
    width: 100%
}

#socialicons {
  position: absolute;
  right: -25px;
  top: 0;
}

#socialicons a {
    display: inline-block;
}

.arrow {
  display: inline-block;
}

#append-id .arrow {
    display: none;
}

#append-id .panel-heading {
    width: 50%
}

.textbox.t-right.mainhead {
    display: block;
}

.wpcf7 .c_left, .wpcf7 .c_right {
  width: 100%;
  display: inline-block;
  margin-bottom: 0px !important;
}

.wpcf7 .wpcf7-text {
  height: 55px !important;
}

.wpcf7 .label_l, .wpcf7 .label_r {
  margin-top: 15px !important;
}

.wpcf7 .datenschutz_t {
  width: 91%;
  margin: 0px 0 20px;
  display: inline-block;
  margin-bottom: 20px;
}

.wpcf7 input[type=submit] {
  width: 100%;
}

.wpcf7 img {
  max-width: 100%;
  height: auto;
  margin-bottom: -10px; 
}

.wpcf7 input[type=submit] {
  height: 53px;
}

.footer ul li img {
  margin-right: 15px;
}

.textbox.t-right h2, .headleft, .links h2, .headleft p, .headleft > h2 {
  font-size: 16px !important;
    margin-bottom: 10px;
}

.textbox.t-right h2 {
    font-size: 18px !important;
}

.headleft > h2 {
    margin-bottom: 20px;
}

.textteaser .textbox, .imageteaser .inner-wrap {
  margin-bottom: 25px;
}

.wpcf7 .label_l, .wpcf7 .label_r {
  font-size: 15px;
}

.textwidget p,.footer td {
  font-size: 14px;
  line-height: 19px;
}

table tr td:first-child {
  width: 30px;
}

.rep_maxi strong {
  width: 100%;
  display: block;
  font-weight: 400;
  position: relative;
  left: auto;
  font-weight: 700;
}

.rep_maxi em {
  margin-left: 0;
}

.nav > li > a {
  width: 100%;
}

.mobilefon {
    display: inline-block;
    float: right;
    margin-top: -16px;
    margin-right: 15px;
    font-weight: 700;
}

.tel {
    display: inline-block;
    width: auto;
    height: auto;
    padding: 0;
    margin-right: 10px;
    font-weight: 700;
}

.allnews p {
    max-width: 470px;
}

.nav > li > a:hover, .nav > li > a:hover,.current_page_parent a {
    background-color: transparent !important;
}

@media (min-width:400px) {
    .lightbox  {
    width: 49%;
    display: inline-block;
    vertical-align: top;
    float: clear;
    }
}
