/* Dropdown Menu Farbanpassung Anfang */

.dropdown-menu {
  background-color: #fdc600;
  color: black;
}




/* Dropdown Menu Farbanpassung Ende */
@font-face {
    font-family: 'Ubuntu';
    src: url('webfonts/ubuntu-light-webfont.eot');
    src: url('webfonts/ubuntu-light-webfontd41d.eot?#iefix') format('embedded-opentype'),
         url('webfonts/ubuntu-light-webfont.woff') format('woff'),
         url('webfonts/ubuntu-light-webfont.ttf') format('truetype'),
         url('webfonts/ubuntu-light-webfont.svg#UbuntuLight') format('svg');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('webfonts/ubuntu-lightitalic-webfont.eot');
    src: url('webfonts/ubuntu-lightitalic-webfontd41d.eot?#iefix') format('embedded-opentype'),
         url('webfonts/ubuntu-lightitalic-webfont.woff') format('woff'),
         url('webfonts/ubuntu-lightitalic-webfont.ttf') format('truetype'),
         url('webfonts/ubuntu-lightitalic-webfont.svg#UbuntuLightItalic') format('svg');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('webfonts/ubuntu-regular-webfont.eot');
    src: url('webfonts/ubuntu-regular-webfontd41d.eot?#iefix') format('embedded-opentype'),
         url('webfonts/ubuntu-regular-webfont.woff') format('woff'),
         url('webfonts/ubuntu-regular-webfont.ttf') format('truetype'),
         url('webfonts/ubuntu-regular-webfont.svg#UbuntuRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('webfonts/ubuntu-italic-webfont.eot');
    src: url('webfonts/ubuntu-italic-webfontd41d.eot?#iefix') format('embedded-opentype'),
         url('webfonts/ubuntu-italic-webfont.woff') format('woff'),
         url('webfonts/ubuntu-italic-webfont.ttf') format('truetype'),
         url('webfonts/ubuntu-italic-webfont.svg#UbuntuItalic') format('svg');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('webfonts/ubuntu-medium-webfont.eot');
    src: url('webfonts/ubuntu-medium-webfontd41d.eot?#iefix') format('embedded-opentype'),
         url('webfonts/ubuntu-medium-webfont.woff') format('woff'),
         url('webfonts/ubuntu-medium-webfont.ttf') format('truetype'),
         url('webfonts/ubuntu-medium-webfont.svg#UbuntuMedium') format('svg');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('webfonts/ubuntu-mediumitalic-webfont.eot');
    src: url('webfonts/ubuntu-mediumitalic-webfontd41d.eot?#iefix') format('embedded-opentype'),
         url('webfonts/ubuntu-mediumitalic-webfont.woff') format('woff'),
         url('webfonts/ubuntu-mediumitalic-webfont.ttf') format('truetype'),
         url('webfonts/ubuntu-mediumitalic-webfont.svg#UbuntuMediumItalic') format('svg');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('webfonts/ubuntu-bold-webfont.eot');
    src: url('webfonts/ubuntu-bold-webfontd41d.eot?#iefix') format('embedded-opentype'),
         url('webfonts/ubuntu-bold-webfont.woff') format('woff'),
         url('webfonts/ubuntu-bold-webfont.ttf') format('truetype'),
         url('webfonts/ubuntu-bold-webfont.svg#UbuntuBold') format('svg');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('webfonts/ubuntu-bolditalic-webfont.eot');
    src: url('webfonts/ubuntu-bolditalic-webfontd41d.eot?#iefix') format('embedded-opentype'),
         url('webfonts/ubuntu-bolditalic-webfont.woff') format('woff'),
         url('webfonts/ubuntu-bolditalic-webfont.ttf') format('truetype'),
         url('webfonts/ubuntu-bolditalic-webfont.svg#UbuntuBoldItalic') format('svg');
    font-weight: 700;
    font-style: italic;

}

@font-face {
    font-family: 'UbuntuCondensed';
    src: url('webfonts/ubuntucondensed-regular-webfont.eot');
    src: url('webfonts/ubuntucondensed-regular-webfontd41d.eot?#iefix') format('embedded-opentype'),
         url('webfonts/ubuntucondensed-regular-webfont.woff') format('woff'),
         url('webfonts/ubuntucondensed-regular-webfont.ttf') format('truetype'),
         url('webfonts/ubuntucondensed-regular-webfont.svg#UbuntuCondensedRegular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-stretch: condensed;
}


@media print {
#header {display:none;}
#navbar {display:none;}
#service {display:none;}
#rootline {display:none;}
#menu-links {display:none;}
}


@media screen {

/* vertikalen Scrollbar erzwingen */
html {overflow-y: scroll;}

body {
 font-family: Arial, Ubuntu, 'Trebuchet MS', Verdana, Helvetica, sans-serif;
 font-size: 12.8px;
 color: #98141B;  
 min-height: 101%;
 background: #FFE68C url('../../../../user_upload/template/header_outer.jpg') repeat-x;
 line-height: 1.3;
}

p {
 -moz-hyphens: auto;
 -ms-hyphens: auto;
 -o-hyphens: auto;
 -webkit-hyphens: auto;
 hyphens: auto;
}

.container {
 border-top: 0;
}

#skiplink {
    color: white;
    left: -1000em;
    position: absolute;
    width:100%
}
#skiplink a {
    color: white;
}
.pfrechts {
 border-style:solid;
 height: 0;
 width: 0;
 border-width:4px; 
 border-right-width:0;
 border-color:transparent transparent transparent white;
 content: " ";
 display: inline-block;
 margin-left: 2px;
}

#hauptinhalt > h1 {
  margin-top: 0;
  padding-top: 20px;

}

.table-cell {
 display: table-cell;
 float:none;
}

/* Spalten gleich hoch machen, siehe http://www.debacher.de/wiki/Spaltenlayout_mit_Bootstrap 
   es gehört noch flex-direction: column in der Media-Query f. kleine Schirme dazu                   */

.equalheight {
  display: inherit;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  }
  
 .equal {
  flex: 0 0 1;
 }

#header {
 padding: 0;
 background-color: #fff;
}

#headerimage {
 height: 211px;
 margin-left: -15px;
 margin-right: -15px;
 background-size: 100% 100% !important;
 background-position: left top;
}

#inhalt {
 background-color: #fdc600;
 padding-top: 20px;
 padding-right: 20px;
 padding-left: 20px;
}

#hauptinhalt {
 background-color: transparent; 
 -webkit-order:2;
 order:2;
}

#spalte-rechts {
 background-color: transparent; 
 -webkit-order:3;
 order:3;
}

#spalte-links {
 background-color: transparent; 
 -webkit-order:1;
 order:0;
}

#footer {
 background-color: #98141B; 
 text-align: center; 
 color:white; 
 padding-bottom: 12px;
 border: 0; 
}


/* ##################################
** ### DCE boxUD mit runden Ecken ###
** ##################################
*/ 
.boxUD {
 background-attachment: scroll;
 background-clip: border-box;
 background-color: transparent;
 background-image: none;
 background-origin: padding-box;
 background-position: 0 0;
 background-repeat: repeat;
 background-size: auto auto;
 display: block;
 font-weight: normal;
 margin-bottom: 1em;
}

.boxUDContent {
 display:block; 
 background:#eee; 
 border:1px solid #aaa; 
 border-radius: 10px;
 padding:0.5em;
}

.boxUD h1 {
 margin-top: 12px;
}



/* ############## rootline und service mit bootstrap ######### */
.breadcrumb {
 background-color: transparent;
 border-radius: 0;
 list-style: outside none none;
 margin-bottom: 0;
 padding-bottom: 4px;
 padding-top: 4px;
 padding-left: 2px;
}

#service {
 padding: 3px 30px 10px 20px;
 background-color: #fdc600;
 text-align: right;
 color: #444;
}

#service a {
 color: #444;
 text-decoration: underline;
 padding: 2px 5px;
}

#service a:hover {
 background-color: #555;
 color: white;
}

#service #jump   {
  float: left;
  left: 24px;
  position: relative;
  padding-top: 4px;
  display: none;
}

#service #jump a span.caret {
 float: none;
}

.breadcrumb > li + li:before {
 color: white;
 content: "|";
}

#rootline .breadcrumb > li + li::before {
    content: "";
    padding: 0 0 0 2px;
}

/* ################ menue-links ################# */

#menu-links {
 padding-top: 15px;
 padding-bottom: 10px;
 width:100%;
}

#menu-links li {
 background-color: #99ffff;
}

.nav-stacked li a:hover {
  text-decoration:underline;
}

.ebene1 {
 font-size: 13px;
}

.nav-stacked li.ebene2 {
 margin-left: 15px;
 font-size: 11px;
}

.nav-stacked li.ebene3 {
 margin-left:30px;
 font-size: 9px;
}

/* die kleinen Pfeile */
a span.caret {
 float: right;
}

a span.caret.white {
 color: white;
}


/* ############# neues Dropdown-Menu ################## */

.navbar {
  margin-bottom: 0;
  border-radius: 0;
  min-height: 20px;
}

.navbar-header {
  padding-left:10px;
  padding-right:10px;
}

.navbar-default .navbar-brand {
  height: 26px;
  display: none;
  color: #98141B; /* red */
}

.navbar-default {
 background-color: transparent;
 margin-left: -15px;
 margin-right: -15px;
 border: 0;
}
 
.navbar-default .navbar-nav > li > a {
 color: black;
 border-radius: 4px;
 background-color: #fdc600;
}
 
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
 color: black;
 background-color: #fdc600;
 text-decoration: underline;
}
 
.navbar-default .navbar-toggle {
 border-color: #98141B; /* red */
}

.navbar-nav {
 display: inline-block;
 float: none;
 height: 24px;
}

.navbar-nav a.active {
 background-color: #557364;
 background: -moz-linear-gradient(top, #557364 0%, #70897c 50%, #99aba2 100%);
 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#557364), color-stop(50%,#70897c), color-stop(100%,#99aba2));
 background: -webkit-linear-gradient(top, #557364 0%,#70897c 50%,#99aba2 100%);
 background: -o-linear-gradient(top, #557364 0%,#70897c 50%,#99aba2 100%);
 background: -ms-linear-gradient(top, #557364 0%,#70897c 50%,#99aba2 100%);
 background: linear-gradient(to bottom, #557364 0%,#70897c 50%,#99aba2 100%);
}

.navbar-nav > li > a {
 padding-bottom: 5px; 
 padding-top: 5px;    
}
 
.dropdown-menu > li.kopie > a {
    padding-left:5px;
    color: black;
    background-color: #fdc600;
}

.dropdown-submenu {
    position:relative;
}

.dropdown-menu > li > a:hover, .dropdown-menu > .active > a:hover {
  text-decoration: underline;
  background-color: #fdc600;
  color: black;
}

.dropdown-submenu>.dropdown-menu {
   top:0;left:100%;
   margin-top:-6px;margin-left:-1px;
   -webkit-border-radius:0 6px 6px 6px;
   -moz-border-radius:0 6px 6px 6px;
   border-radius:0 6px 6px 6px;
 }

.dropdown-submenu > a:after {
  border-color: transparent transparent transparent #333;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  content: " ";
  display: block;
  float: right;
  height: 0;
  margin-right: -10px;
  margin-top: 5px;
  width: 0;
}

.dropdown-submenu:hover>a:after {
    border-left-color:#555;
 }

li.dropdown > a.dropdown-toggle:hover {
  text-decoration: none;
}

.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
background-color: #fdc600;
  color: black;
} 


/* Anpassungen von U.D. für die Lightbox magnific-popup */  
.mfp-figure figure {  
    background-color: white;  
    padding-left: 10px;  
    padding-right: 10px;  
}  
.mfp-image-holder .mfp-close {  
 color: #000;  
 font-size: 40px;  
 cursor: pointer;  
 padding-right: 10px;  
}  
  
.mfp-title {  
    color: #000;  
    padding-left: 10px;  
}  
.mfp-counter {  
    color: #000;  
    padding-right: 20px;  
}  

.udgalerie .thumb {
 padding: 5px;
}

.udgalerie .thumb img {
  margin-right: auto;
  margin-left: auto;
}


}

@media (max-width: 767px) {
 .equal {
    width: 100%;
 }
 .equalheight {
    -webkit-flex-direction: column;
    flex-direction: column;
 }
 #hauptinhalt {
  -webkit-order:0;
  order:0;
}
#service {
 font-size: 16px;
}
#service #jump  {
 display: inherit;
}

}


@media (max-width: 767px) {
  .navbar-nav  {
     display: inline;
  }
  .navbar-default .navbar-brand {
    display: inline;
  }
  .navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
  }
  .navbar-default .navbar-nav .dropdown-menu > li > a {
    color: red;
    background-color: #ccc;
    border-radius: 4px;
    margin-top: 2px;
  }
   .navbar-default .navbar-nav .open .dropdown-menu > li > a {
     color: #333;
   }
   .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
     background-color: #ccc;
   }

   .navbar-nav .open .dropdown-menu {
     border-bottom: 1px solid white; 
     border-radius: 0;
   }
  .dropdown-menu {
      padding-left: 10px;
  }
  .dropdown-menu .dropdown-menu {
      padding-left: 20px;
   }
   .dropdown-menu .dropdown-menu .dropdown-menu {
      padding-left: 30px;
   }
   li.dropdown.open {
    border: 0px solid red; 
   }
   #rootline {
     display: none;
   }
 }
   

/*--------------------------------------------------------------------------------------*/

@media (min-width: 1200px){
  .container {
    width: 1050px;
  }
}

.nav > li > a {
  color: #444;  
  padding: 7px 4px;
  padding-left: 15px;
  border-radius: 0;
  background: url('../../../../user_upload/template/karo.gif') 5px 12px no-repeat;
}

.nav > li {
  border-bottom: solid 1px #98141B;  
}

.nav-pills > li.active > a {
  background-color: transparent; 
  color: black;
  font-weight: bold; 
}

.nav > li:hover, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus{
  background: #fbde75;
  color: #638420;
}

.nav > li > a:hover, .nav > li > a:focus {
  background-color: transparent;  
  text-decoration: none;
  color: #638420;
}

hr {
  border-bottom-style: inset;
  border-bottom-width: 1px;
  border-left-style: inset;
  border-left-width: 1px;
  border-right-style: inset;
  border-right-width: 1px;
  border-top-style: inset;
  border-top-width: 1px;
  margin-top: 7px;
  margin-bottom: 10px;
}

.nav-stacked > li + li {
  margin-top: 0; 
}

.ce-image {
 margin-top: 10px; 
}

h5 {
 font-size: 10px; 
 padding-left: 25px;
}

pre {
 color: #98141B;
 background: transparent;
 border: none; 
 padding: 0;
 margin: 0;
}

header h2 {
 font-size: 22px; 
}

.navbar-default .navbar-collapse, .navbar-default .navbar-form {
 border-color: #98141B; 
}

.navbar-default .navbar-toggle .icon-bar {
 background-color: #98141B; 
}

.ce-gallery img {
 width: 100%;
 height: auto; 
}

@media (max-width: 645px) {
 #headerimage {
  background-size: 100% 180px !important;
  height: 190px;
 }
}

@media (max-width: 530px) {
 #headerimage {
  background-size: 100% 158px !important;
  height: 168px;
 }
}

@media (max-width: 440px) {
 #headerimage {
  background-size: 100% 120px !important;
  height: 130px;
 }
}

@media (max-width: 768px) {
 #inhalt {
  padding-top: 0;
 }
}



.btn-default {
background-color: #fdd84c;
color: #98141b;
}

.btn-default:hover {
background-color: #fdc600;
color: #98141b;
}
