@import url(https://fonts.googleapis.com/css?family=PT+Sans);
@import "gridelements-sp.css";

body, html {
  font-family: 'PT Sans', sans-serif;
  /*font-size:18px;*/
  font-size:1.0em;
}

a:link, a:visited, a:hover {
  color:#7f7f7f;
}

div.navbar-wrapper { position: relative; }
div.header-icon-menu {
  position: absolute;
  top: 10px;
  right: 100px;
  z-index: 99;
  font-size: 10px; 
}
  div.header-lang-menu {
  display: none;
  /*display: inline-block;*/
  text-transform: uppercase;
  margin-right: 20px;
}
  div.header-lang-menu a,
  div.header-lang-menu a:link,
  div.header-lang-menu a:visited,
  div.header-lang-menu a:active {
    color:#7f7f7f;

  }
    div.header-lang-menu > span.active > a,
    div.header-lang-menu > span.active > a:link,
    div.header-lang-menu > span.active > a:visited,
    div.header-lang-menu > span.active > a:active {
      color: black;
    }

  div.header-icon-menu-inside { display: inline-block; }

a.navbar-brand { 
  background: url("../../gfx/teba_logo.png") no-repeat 0px 0px;
  min-width: 250px;
  height: 75px;
  margin-left:15px;
}

  a.navbar-brand span {
    position: absolute;
    left:-9999px;
    top:-9999px
  }


ul.nav > li {
  border-right: 1px solid #ddd;
  height: 50px
}

ul.nav > li:last-child {
  border-right: 0px;
}

.navbar-default  {
  z-index: 88;
  border: 0px;
  background-color: white;
}

div#navbar > ul.nav {
  margin-top:25px;
}

.dropdown-menu > .active,
ul.dropdown-menu > li:hover { background-color:#e7e7e7; }

.dropdown-menu > li > a { display: inline-block; }
.dropdown-menu > li > a:hover { background-color: transparent; }
.dropdown-menu > li { padding:5px 10px; }

.dropdown-menu > .active > a:hover, 
.dropdown-menu > .active > a { background-color: transparent; color:#333; }

div.navbar-wrapper { max-height: 75px; }

  div.navbar-wrapper > div.search {
    background-color: #f5f5f5;
    border-left:1px solid #ddd;
    border-right:1px solid #ddd;
    border-bottom:1px solid #ddd;
    position: absolute;
    top:-100px;
    left: 250px;
    padding: 10px 20px;
    z-index: 99;
    -webkit-transition: all 0.5s ease;
      -moz-transition: all 0.5s ease;
      -o-transition: all 0.5s ease;
      transition: all 0.5s ease;
  }

    div.navbar-wrapper > div.search.expand {
      top:0px;
    }

    div.navbar-wrapper > div.search input {
      padding: 5px;
      font-size: 15px;

    } 

    div.navbar-wrapper > div.search input.searchField {
      width: 400px;
    }

    .slogan {
      text-align: center;
		background-color: #FFCB06;
		color: #006541;
    }

.home-teaser { margin-bottom:40px; }
.home-teaser h2 { text-transform: uppercase; font-size: 1.1em; padding:15px 0px 0px 0px; font-weight: bold; }
.home-teaser p { font-size: 1.0em; }
.unterlinie {
  border-bottom: 1px dashed #cdcdcd;
}

.highlight-1,
.highlight-2 { 
  position: relative;
  background-color:#f0f0f0; 
  border-bottom: 4px solid #FFCB06; 
}
  .highlight-1 > span, 
  .highlight-2 > span {
    width: 28px;
    height: 13px;
    position: absolute;
    background: transparent url('../../gfx/highlight-box-arrow.png') no-repeat center;
    top: -13px;
    left: 50%;
  }

.highlight-2 { 
  background-color:#dddddd; 
  color:#828282;
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

img, embed, object, video, figure {
  max-width: 100%;
  height: auto !important;
  width: auto;
}


figure > img { width: 100%; }


div.footer-1 {
  border-top: 4px solid #5a5a5a;
  border-bottom: 4px solid #656565;
  background-color: #4d4d4d;
  color: #b0b0b0;
}

div.footer-2 {
  background-color: #000;
  color: white;
  min-height: 60px;
}

div.row > h2 { 
  color: #808080;
  margin:20px;
  font-size:25px;
}


div.box {
  border:1px solid #666666;
  color:#7d7d7d;
  min-height: 550px;
  position: relative; 
  margin-bottom:30px;
}
  div.box h3 {
    padding:10px;
    text-transform: uppercase;
    font-size: 18px;
    margin:20px 0px;
    line-height: 1.35em;
  }

  div.box p {
    padding:10px;
  }

  div.box > p > a:link,
  div.box > p > a:hover,
  div.box > p > a:visited {
    position: absolute;
    background: transparent url('../../gfx/icon-arrow-home.png') no-repeat 100% 0px;
    width:95%;
    height:35px;
    bottom: 0px;
    text-transform: uppercase;
    font-size:12px;
    padding-top:8px;
  }


div.highlight-1 h2 {
  font-size:22px;
  color: #808080;
  padding: 20px 0px 20px 0px;
}

  div.highlight-1 p {

  }

.container-fluid {
    padding: 0px;
}


@media (max-width: 1000px) {

    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
    top: 0;
    border-width: 0 0 1px;
  }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
    margin-top: 7.5px;
  }
  .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
      display:block !important;
  }
  
}

@media (max-width: 797px) {
    body { 
        padding-left: 0px;
        padding-right: 0px;
    }

    .navbar-wrapper { 
      padding-left: 0px;
      padding-right: 0px;
    }
}

@media only screen and (max-width : 768px) {

  div.footer-1 h3 {
    font-size: 24px;
  }

  div.navbar-wrapper > div.search {
    top: 200px;
    left: -400px;
  }
    div.navbar-wrapper > div.search input.searchField {
      width: 200px;
    }

    div.navbar-wrapper > div.search.expand {
      top:200px;
      left:0px;
    }

}

@media only screen and (max-width : 1000px) {
  .nav>li>a { padding:10px 5px;}
  ul.nav > li { height:40px; }
  div#navbar > ul.nav { margin-top: 35px; }
}

@media only screen and (max-width : 1200px) {
  div.footer-1 h3 {
    font-size: 18px;
  }
}

div#full-slider-wrapper {
  border-top: 2px solid #8f8f8f;
  border-bottom: 22px solid #eb840d;
  margin-bottom: 20px;
  color:#ffffff;
}

div#contentBG {
  border-top: 2px solid #646569;
  height: 160px;
  margin: 0px;
  padding: 0px;
}

div.footer-icon-menu { text-align: right; } 
div.footer-icon-menu, 
div.footer-menu > p { padding-top:10px; }
div.footer-menu a:link,
div.footer-menu a:hover,
div.footer-menu a:visited,
div.footer-menu a:active {
  color:#666;
}

span.totop { cursor: pointer; }

.footer-icon-menu img, 
div.header-icon-menu-inside img {
  max-height: 12px;
  margin: 0px 2px;
}

div.kontakt-formular {
  background-color: #F0F0F0;
  border-top-right-radius: 3px;
  border-top-left-radius: 3px;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  border: 1px solid #ddd;
}
  div.kontakt-formular h5
   {
    background-color: #f5f5f5;
    padding: 5px;
    border:1px solid #ddd;
    font-weight: bold;
  }

  div.kontakt-formular dl.ref dd {
    float: left;
    padding: 5px;
  }

  p#street_req_error,
  p#zip_req_error,
  p#city_req_error,
  p#loc_req_error { color: red; display:none; }
  
  .subnav {
  background-color: #F0F0F0;
  border-top-right-radius: 3px;
  border-top-left-radius: 3px;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  border: 1px solid #FFCB06;
  }

ul.subnav,
ul.subnav > li > ul, 
div.sb-slidebar ul { list-style-type: none; padding: 0px 5px; margin: 0px; }
ul.subnav > li, 
ul.subnav > li > ul > li, 
div.sb-slidebar > ul > li { padding:5px; }

ul.subnav > li { background-color:#f5f5f5; }
ul.subnav > li > ul > li {
  
}

ul.subnav > li > ul { border:1px solid #ddd; }

ul.subnav > li.active > a,
ul.subnav > li.active > ul > li.active > a,  
div.sb-slidebar li.active > a {
  font-weight: bold;
  color: #c1c1c1;
  border-bottom: 1px solid #FFCB06;
}

div.sb-slidebar li.active { background-color:#333;}
div.sb-slidebar > ul > li > ul { padding-left:20px; }

ul.subnav > li > ul { margin-left:20px; padding: 5px 5px; background-color:#f1f1f1; }

.dropdown-menu {

  min-width: 250px;

}

/****** POWERMAIL ***********/

.tx-powermail {
  width: 100%;
  color: #444;
}
.tx-powermail .powermail_fieldset .powermail_field.powermail_submit, .tx-powermail .powermail_fieldset .powermail_field.powermail_reset {
  margin: 5px 0 0 0;
  padding: 5px 20px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  background-color: #E8890B;
  border: 1px solid #eee;
}
.tx-powermail .powermail_fieldset .powermail_field {
  width: 300px;
  padding: 5px;
  margin: 0;
  border: 1px solid #bbb;
  color: #444;
  float: right;
  font-size: inherit;
}
.tx-powermail .powermail_fieldset .powermail_radio_outer, .tx-powermail .powermail_fieldset .powermail_captcha_outer, .tx-powermail .powermail_fieldset .powermail_check_outer, .tx-powermail .powermail_fieldset .powermail_fieldwrap_text, .tx-powermail .powermail_fieldset .powermail_fieldwrap_file_inner ul:not(.parsley-errors-list) {
  background-color: transparent;
  border: 0px solid #bbb;
  float: right;
  padding: 3px;
  width: 300px;
  list-style: none;
  margin: 0;
}
.tx-powermail .powermail_fieldset .parsley-errors-list {
  display: none;
  margin: 5px 0 20px 0;
  padding: 0;
  list-style-type: none;
  background-color: #F2DEDE;
  border: 1px solid #EBCCD1;
  width: 300px; 
  float: right;
  clear: left;
}

/***** Mitarbeitersuche *****/

.detailsanzeigen a {
  color:#E8890B;
  margin-bottom:15px;
  line-height: 20px;
}

.mitarbeitername {
  color: #024D24;
  border-bottom: 1px solid #024D24;
  padding-bottom:25px;
}

.listabstand {
  margin-bottom:30px;
  padding:8px;
  background-color: #F0F0F0;
  border-top-right-radius: 3px;
  border-top-left-radius: 3px;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  border: 1px solid #ddd;
}

.anschrift {
  background-color: #E8890B;
  padding-left:10px;
  color:#ffffff;
  border-top-right-radius: 3px;
  border-top-left-radius: 3px;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  border: 1px solid #ddd;
}

.baustelle {
  background-color:#024D24;
  padding-left:10px;
  color:#ffffff;
  border-top-right-radius: 3px;
  border-top-left-radius: 3px;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  border: 1px solid #ddd;
}

div.kontakt-formular dt.headline {
   margin-top:25px;
  margin-bottom:10px;
  background-color:#585657;
  padding-left:10px;
  color:#ffffff;
  border-top-right-radius: 3px;
  border-top-left-radius: 3px;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  border: 1px solid #ddd;
}

.frage {
  background-color:#585657;
  padding-left:10px;
  color:#ffffff;
  border-top-right-radius: 3px;
  border-top-left-radius: 3px;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  border: 1px solid #ddd;
}

/** Modified Responsive CSS **/

@media (max-width: 979px) {
    .btn-navbar {
        display: none;
    }
    .navbar .nav-collapse {
        clear: none;
    }

    .nav-collapse {
        height: auto;
        overflow: auto;
    }

    .navbar .nav {
        float: left;
        margin: 0 10px 0 0;
    }

    .navbar .brand {
        margin-left: -20px;
        padding: 8px 20px 12px;
    }

    .navbar .dropdown-menu:before, .navbar .dropdown-menu:after {
        display: block;
    }

    .navbar .nav > li > a, .navbar .dropdown-menu a {
        border-radius: 0;
        color: #999999;
        font-weight: normal;
        padding: 10px 10px 11px;
    }

    .navbar .nav > li {
        float: left;
    }

    .navbar .dropdown-menu {
        background-clip: padding-box;
        background-color: #FFFFFF;
        border-color: rgba(0, 0, 0, 0.2);
        border-radius: 0 0 5px 5px;
        border-style: solid;
        border-width: 1px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        display: none;
        float: left;
        left: 0;
        list-style: none outside none;
        margin: 0;
        min-width: 160px;
        padding: 4px 0;
        position: absolute;
        top: 100%;
        z-index: 1000;
    }

    .navbar-form, .navbar-search {
        border:none;
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 1px 0 rgba(255, 255, 255, 0.1);
        float: left;
        margin-bottom: 0;
        margin-top:6px;
        padding: 9px 15px;
    }

    .navbar .nav.pull-right {
        float: right;
        margin-left: auto;
    }
}

@media (max-width: 900px) {
    .btn-navbar {
        display: block;
    }
    .navbar .nav-collapse {
        clear: left;
    }

    .nav-collapse {
        height: 0;
        overflow: hidden;
    }

    .navbar .nav {
        float: none;
        margin: 0 0 9px;
    }

    .navbar .brand {
        margin: 0 0 0 -5px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .navbar .dropdown-menu:before, .navbar .dropdown-menu:after {
        display: none;
    }

    .navbar .nav > li > a, .navbar .dropdown-menu a {
        border-radius: 3px 3px 3px 3px;
        color: #999999;
        font-weight: bold;
        padding: 6px 15px;
    }

    .navbar .nav > li {
        float: none;
    }

    .navbar .dropdown-menu {
        background-color: transparent;
        border: medium none;
        border-radius: 0 0 0 0;
        box-shadow: none;
        display: block;
        float: none;
        left: auto;
        margin: 0 15px;
        max-width: none;
        padding: 0;
        position: static;
        top: auto;
    }

    .navbar-form, .navbar-search {
        border-bottom: 1px solid #222222;
        border-top: 1px solid #222222;
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 1px 0 rgba(255, 255, 255, 0.1);
        float: none;
        margin: 9px 0;
        padding: 9px 15px;
    }

    .navbar .nav.pull-right {
        float: none;
        margin-left: 0;
    }

}

