/*******************************************************************************************/
/*** ALLGEMEIN *****************************************************************************/
/*******************************************************************************************/

/*** Bewerberzahl in Topbar ***/
.topbar-icon-1:before {
    content: "1";
}



footer:not(:onscreen)  ~ #cf7-accordion-widget-wrapper {
    position: fixed;
    bottom: 0;
    width: 100%;
}


/*** Schriften in unterschiedlichen Browsern ähnlich rendern ***/
html {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility; 
}

html {
    background: #f0f0f0;
}

html, body, p, div, a, span, ul, li, h1, h2, h3, h4, h5 {
/*  font-family: Helvetica, Arial, sans-serif!important; */
}

/*** WPML ***/

html[lang="en"] .en{
  display:block;
}
html[lang="en"] .de{
  display:none;
}
html[lang="de-DE"] .de, html[lang="de"] .de{
  display:block;
}
html[lang="de-DE"] .en, html[lang="de"] .en{
  display:none;
}

.entry-content h1 {
    margin-bottom: 25px;
    margin-top: 70px;
}

::selection {
    background-color: #E52713;
    color:#fff;
}

.textwidget ul, .entry-content ul {
  list-style: none; 
  padding:0 0 0 5px;  
  margin:0 0 20px 0;
}

.portfolio-single .entry-content ul ul {
    padding: 0;
}
.entry-content li li{
    margin-bottom: 0;
}
.entry-content li li:before {
color:#8E8E8D!important
}

.textwidget li, .entry-content li:not(.kb-query-item) {
  padding-left: 1em; text-indent: -1em;
}

.textwidget li:before, .entry-content li:before, .entry-content li:before:not(.kad-slider-canvas) {
  content: "/";
  padding: 0 7px;
  color: #8e8e8e;
  font-weight: 600;
}

footer .textwidget li:before, .portfolio-single .entry-content li:before {
  content: "/";
  padding: 0 7px;
  color: #e72e0a;
  font-weight: 600;
}

.textwidget li:before {
    content: "/";
    padding: 0 7px;
    color: #e72e0a;
    font-weight: 600;
}

hr {
    border-top: 1px solid #eee;
}

.mfp-title {
    font-size: 18px;
    font-weight: 400;
}


/*******************************************************************************************/
/*** TOPBAR ********************************************************************************/
/*******************************************************************************************/
.topbar-widget {
    padding-top: 4px;
}

/* SUCHE */
.subhead.color_gray {
    display: none;
}

@media (max-width:1199px){
  #amn-suche {
    position: absolute;
    top: 0;
    right: 0;
    /*margin-right: -395px!important;*/
    margin-right: -365px!important;
}
  .wpml-ls-legacy-list-horizontal {
    position: absolute;
    /*right: -450px!important;*/
    right: -420px!important;
    top: -5px;
}
}

#amn-suche {
    position: absolute;
    top: 0;
    right: 0;
    /*margin-right: -495px; */
    margin-right: -465px;
}

/* Sprachwahl */
.wpml-ls-legacy-list-horizontal {
    position: absolute;
    /*right: -550px;*/
    right: -520px;
    top: -5px;
}

/*** Bewerberzahl in Topbar ***/
.topbar-icon-1:before {
    position: absolute;
    right: 30px;
    top: 4px;
    background: #e82f08;
    width: 13px;
    height: 13px;
    border-radius: 50px;
    font-size: 9px;
    z-index: 0;
    text-align: center;
    line-height: 13px;
    box-shadow: #000 -2px 2px;
    transition:0.5s;
    animation: stellenzahl 2s ease 2;
}
.topbar-icon-1:hover.topbar-icon-1:before{
  box-shadow: #4d4d4c -2px 2px;
  transition:0.5s;
} 

/*******************************************************************************************/
/*** HEADER ********************************************************************************/
/*******************************************************************************************/
.kad-header-left {
    width: 25%;
}
.kad-header-right {
    width: 75%;
}


.sf-menu ul{
  width:unset!important;
}
.menu-full-service ul {
    min-width: 277px!important;
}

#nav-main {
  text-transform: uppercase;
}
#menu-hauptnavigation-1 ul li a span,
#menu-hauptnavigation-en-1 ul li a span {
  text-transform: none;
}

#menu-hauptnavigation-1 ul li a,
#menu-hauptnavigation-en-1 ul li a{
  list-style:none;
  color: #6a6a6a;
}
#menu-hauptnavigation-1 ul li a:before,
#menu-hauptnavigation-en-1 ul li a:before{
  content: "/";
  padding: 0 7px;
  color: #e72e0a;
  font-weight: 600;
}

.kad-mobile-nav .kad-nav-inner li ul.sf-dropdown-menu{
  margin:0;
}


@media (max-width:1199px){
.kad-header-style-three #nav-main ul.sf-menu>li>a {
    padding: 0 5px;
} 
.kt-showsub-indicator ul.sf-menu>li.sf-dropdown>a:after {
    padding: 0 0 0 10px;
}
}

li.current-menu-item span{
   font-weight: 300;
}

h1.entry-title {
    /* text-transform: uppercase; */
    font-size: 25px;
    font-weight: 400;
    color:#444;
}

.page-header {
    border-top: none;
    border-bottom: none;
}
.sliderclass {
    padding: 0 0 50px;
}

#pageheader {
    background: #f7f7f7;
    margin: -15px 0 15px 0;
}
.page-header{
  margin-bottom:0;
}
/*
#pageheader:before {
    background: #f7f7f7;
    margin: -15px 0 -75px 0;
    content: "";
    width: 100%;
    height: 78px;
    display: block;
}
@media (max-width:992px){
  #pageheader:before {
  display:none!important;
  }
}
*/
#kad-banner {
    box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.1);
}
#menu-hauptnavigation a,
#menu-hauptnavigation-en a {
    letter-spacing: 0.5px;
}
/* .headerclass {
    background: rgba(255, 255, 255, 0.95); 
}*/
#kad-banner-sticky-wrapper {
    background: #000;
}

.kad-header-style-three #thelogo img {
     padding: 0;
}


/*******************************************************************************************/
/*** SLIDER ********************************************************************************/
/*******************************************************************************************/

@media (min-width:1500px){
 .video_slide .kad-slider-layers-case:before, .kad-slider-layers-case:before {
    background: url(/wp-content/uploads/slider_overlay_big.png)!important;
    background-repeat: no-repeat!important;
    background-size: cover!important;
    background-position: left top!important;
  }
}

.video_slide .kad-slider-layers-case:before, .kad-slider-layers-case:before {
    background: url(/wp-content/uploads/slider_overlay.png.webp);
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left top;
    opacity: 0.85;
}

/* .video_slide .kad-slider-layers-case:before {
  background: none!important;
}
*/

.home_sliderclass .kad_fullslider_arrow a, .kad_fullslider .kad_fullslider_arrow a, .sliderclass .kad_fullslider_arrow a {
    position: absolute;
    z-index: 10000;
    left: 50%;
    font-size: 30px;
    bottom: 80px;
    margin-left: -15px;
    -webkit-animation: hoverup 2s infinite linear;
    -moz-animation: hoverup 2s infinite linear;
    -ms-animation: hoverup 2s infinite linear;
    -o-animation: hoverup 2s infinite linear;
    color: #FFF;
}

.kad-slider-layers-case {
    max-width: none!important;
}

.kad-slider-layers-case div {
    max-width: 1140px;
    margin: 0 auto;
    /* display: block; */
    position: relative;
}


.kad-slider ul.kad-slider-pagination li.kad-slider-dot {
    border-radius: unset;
}

.slider-subtext {
    color:#fff;
    font-size:0.4em;
    line-height:1.2em;
    text-shadow: #8e8e8e 1px 1px 5px!important;
    background: rgba(111, 112, 112, 0.2);
    display: inline-block;
    padding: 6px;
    margin-top: 15px;
    letter-spacing: 3px;
}

@media (max-width:1200px){
  .slider-subtext {
      letter-spacing: 1px;
  }
}

@media (max-width:700px){
  .slider-subtext {
      display:none;
  }
}

/*******************************************************************************************/
/*** CONTENT *******************************************************************************/
/*******************************************************************************************/
blockquote:before {
    content: "/";
    float: left;
    color: #e62f0b;
    font-size: 24px;
    font-weight: 600;
    margin-right: 8px;
    line-height: 30px;
}

blockquote p{
   font-size:25px!important;
   padding-left: 20px;
}

blockquote {
    padding: 0;
    margin: 0 0 20px;
    border-left: none;
}

.kt-simple-box {
    margin-bottom: 10px;
}
.kt-simple-box a{
    font-weight:300;
}

/*** Gallery ***/

.kad-mosaic-gallery-wrapper .kad_caption {
    opacity: 1;
    font-size: 18px;
}

.kad-mosaic-gallery-wrapper .kad_caption .kad_caption_inner {
    color: #333;
    font-weight:normal;
}



/*** Video Play / Pause Buttons ***/

@media (max-width: 768px) {
.ksp-slider-wrapper .kad-slide.video_slide .ksp-background-video-buttons-wrapper {
    display: block;
}
.ksp-background-video-buttons-wrapper a.ksp-background-video-play {
    display: block!important;
}
.ksp-background-video-buttons-wrapper a.ksp-background-video-pause {
    display: block!important;
}
}


/*******************************************************************************************/
/*** PORTFOLIO *****************************************************************************/
/*******************************************************************************************/


.portfolio-single .entry-content ul {
    background: #f7f7f7;
    padding: 20px;
}

.portfolio-single .portfolio-single-img  {
    max-height: 400px;
}

.portfolio-single .portfolio-single-img a img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    max-height: 400px;
}

.portfolio-single .portfolio-single-img:before {
    background: url(/wp-content/uploads/slider_overlay_big.png);
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left top;
    opacity: 0.85;
    pointer-events: none;
    user-select: none;
    max-width: calc(100vw - 40px);
}

/*** Detail-Tabellen ***/

.portfolio-single .slick-slide img {
  margin: 0 0 20px 0;
}

.portfolio-single .wp-caption.alignleft, img.alignleft {
    margin: 0 10px 34px 0;
}

.portfolio-single .entry-content table td{
vertical-align: top;
width:50%;
}

@media (min-width: 992px){
.portfolio-single .col-md-7, .portfolio-single .span7 {
    width: 31.66666667%;
}
.portfolio-single .col-md-5,.portfolio-single .span5 {
    width: 68.33333333%;
}
}

.portfolio-single .entry-content table {
  border: 2px solid #f7f7f7; width: 100%;
}

@media (max-width: 991px){
.portfolio-single .entry-content table td{
vertical-align: top;
width:100%;
display:block;
background: #fff;
}
.portfolio-single .entry-content table td:nth-child(even){
background: #f7f7f7;
}
}



/*******************************************************************************************/
/*** KONTAKTFORMULAR ***********************************************************************/
/*******************************************************************************************/

.wpcf7 input, .wpcf7 textarea{
  max-width:none;
  border: 1px solid #eee;
}

.wpcf7 input, .wpcf7 textarea {
  padding: 0 0 0 4px;
  color: #454545;
}

.wpcf7 textarea {
  height: 50px;
  color: #454545;
}

.wpcf7 label {
  font-weight: normal;
}

.wpcf7 input.wpcf7-submit {
  padding: 2px;
  text-align: center;
  width: 100%;
  font-size: 16px;
  margin-top: 5px;
}

.wpcf7 i a {
    font-size: 12px;
    line-height: normal;
    white-space: nowrap;
}


input.wpcf7-form-control.wpcf7-submit:hover {
    background: #444444;
}

.wpcf7-response-output {
    margin: 0!important;
    background: #fff;
}

/*******************************************************************************************/
/*** FOOTER ********************************************************************************/
/*******************************************************************************************/

.lake:hover {
  background:#f0f0f0;
  transition:1s;
}
.lake {
  background:none;
  transition:1s;
}

footer {
    line-height: 20px;
    font-weight: 300;
    font-size: 14px;
}

.footerbase {
    background: #f1f1f1;
    margin-top: 30px;
}
.footernav ul li a {
    font-size: 12px;
    font-weight: 300;
}
.footercredits p {
    font-size: 12px;
    font-weight: 300;
}

.footercredits {
    padding-top: 10px;
    padding-bottom: 0px;
}

.footercredits p{
    color: #555;
}

/*** Footer Contact-Widget ***/

#cf7-accordion-widget-wrapper {
    pointer-events: none;
    user-select: none;
}
#cf7-accordion-widget {
    pointer-events: all;
}

#cf7-accordion-widget-wrapper {
  opacity:0;
  animation-delay:5s;
  animation-name: fadeinup;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  animation-delay: 5s;
}

@media (min-width:1700px){
#cf7-accordion-widget-wrapper {
    width: 400px!important;
    right: 0;
}
#cf7-accordion-widget .panel-heading h5 {
    font-size: 16px!important;
}
#cf7-accordion-widget-wrapper {
    background: none!important;
}
#cf7-accordion-widget-wrapper:before {
    content: "";
    background: url(/wp-content/uploads/IMG_4930.png);
    width: 400px;
    height: 220px;
    display: block;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
}

@media (min-width:500px){
.footerbase {
    padding-bottom: 65px;
}
#cf7-accordion-widget-wrapper{
  position:fixed;
  bottom:0;
  width:100%;
  z-index:999;
}
#cf7-accordion-widget-wrapper i.icon-plus {
 /*   margin-right: 17px; */
}
}

#cf7-accordion-widget .wpcf7 {
    max-width: 1140px;
    margin: 0 auto;
}

#cf7-accordion-widget-wrapper{
  background:#d6d6d6;
}

a.accordion-toggle {
    text-align: center;
}

#cf7-accordion-widget .panel-heading h5 {
    font-size:20px;
}
#cf7-accordion-widget .panel.panel-default{
    background:#e5e5e5;
}

#cf7-accordion-widget .panel-heading .accordion-toggle.collapsed {
    border-left: 2px solid #e82f09;
}

#cf7-accordion-widget .wpcf7 p {
  margin-bottom:0!important;
}

#cf7-accordion-widget .panel-heading .accordion-toggle {
    border-bottom: 2px solid #cfcfcf!important;
}

#cf7-accordion-widget .panel.panel-default {
    margin-bottom: 0;
}

#topcontrol {
    z-index: 999;
}

/*******************************************************************************************/
/*** MOBILE ********************************************************************************/
/*******************************************************************************************/
#mg-kad-mobile-nav button.kad-submenu-accordion.collapse-next.kad-submenu-accordion-open.toggle-active {
    color: #000;
}
#mg-kad-mobile-nav .icon-arrow-down:before {
    color: black;
}

#menu-hauptnavigation-1, 
#menu-hauptnavigation-en-1 {
    text-transform: uppercase;
    letter-spacing: 2px;
}

@media (max-width:500px) {
.page-header h1 {
    font-size: 25px;
}
    h1, h2, h3, h4, h5{
    -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto; 
    line-height:normal!important;
    }
#cf7-accordion-widget-wrapper {
  opacity:1;
animation:none!important;
}
.portfolionav {
    padding: 20px 0 0 0!important;
}
}

.mobile-logo-inner {
    padding-left: 10px;
}

#kad-mobile-banner {
    box-shadow: -1px 1px 7px #e6e6e6; 
}

#mh-mobile_menu_collapse {
 /*   margin-bottom: 10px; */
}

.mobileclass {
    /* margin-bottom: 20px; */
}

.mh-kad-nav-collapse.mh-mobile_menu_collapse.collapse.in {
    border-bottom: 10px solid #fff;
}

.kad-nav-inner .kad-mnav {
    margin: 0;
}



/*******************************************************************************************/
/*** ANIMATIONEN ***************************************************************************/
/*******************************************************************************************/

@keyframes fadeinup {
    from { opacity: 0; margin-bottom:-50px;}
    to   { opacity: 1; margin-bottom:0;}
}


.kad-slider .kad-slide {
-webkit-transition: opacity 1s ease-in-out;
-moz-transition: opacity 1s ease-in-out;
-o-transition: opacity 1s ease-in-out;
-ms-transition: opacity 1s ease-in-out;
}

.ksp-slider-wrapper.kad-slider-1 {
    -webkit-animation: fadein 2s ease-in-out; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadein 2s ease-in-out; /* Firefox &lt; 16 */
        -ms-animation: fadein 2s ease-in-out; /* Internet Explorer */
         -o-animation: fadein 2s ease-in-out; /* Opera &lt; 12.1 */
            animation: fadein 2s ease-in-out;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox  12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera &lt; 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes stellenzahl {
  0%   {top:4px;}
  10% {top:-4px;}
  20% {top:2px;}
  30% {top:0px;}
  50% {top:4px;}
  100% {top:4px;}
}

/*** Animations-Ende ***/
