/*
Theme Name: FSM
Description: Child theme for the Avada
Author: Florian Schmidt
Template: Avada
*/ :root {
  --darkblue: #1b2c3c;
  --blue: #252e40;
  --eb_blue: #0a73b8;
  --red: #e2001a;
  --coral: #e85f4b;
  --lilac: #aec0db;
  --yolk: #f5a60d;
  --green: #89ac36;
  --mint: #4cb691;
  --orange: #ec720f;
  --purple: #702973;
  --gray: #333333;
}
/*
	Toemmy
*/
.wpcf7-form h1 {
  width: 100%;
}
.wpcf7-form * {
  width: 100%;
}
.s3m_push_messages {
  width: 100%;
  overflow: hidden;
}
.s3m_push_messages a {
  overflow-wrap: break-word;
  word-break: break-all;
}
/*
	Ende Toemmy
*/

div[class*="headline"] {
  line-height: 1.6;
}
div[class*="headline"] > .fusion-title-heading > p {
  display: contents;
}
@media (max-width:767px) {
  div[class*="headline"] {
    line-height: 1.4;
    word-break: break-word;
  }
}
.headline-eb > h1, .headline-eb > h2, .headline-eb > h3 {
  display: inline;
  background: var(--awb-color4);
  padding: 3px 15px !important;
  color: #fff !important;
  line-height: 1.6 !important;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.headline-eb-green > h1, .headline-eb-green > h2, .headline-eb-green > h3 {
  display: inline;
  background: #89ac34;
  padding: 3px 15px !important;
  color: #fff !important;
  line-height: 1.6 !important;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.headline-eb-red > h1, .headline-eb-red > h2, .headline-eb-red > h3 {
  display: inline;
  background: #a32234;
  padding: 3px 15px !important;
  color: #fff !important;
  line-height: 1.6 !important;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.icons-row img {
  width: 155px !important;
}
/* Buttons */
.fusion-button.icon-orange i {
  color: var(--awb-color4) !important;
}
/*
.fusion-button.icon-green i {
  color: var(--green) !important;
}
.fusion-button.icon-purple i {
  color: var(--purple) !important;
}
*/
/* Über uns */
.map-container {
  min-height: 400px;
}
.hover-steckbrief .fusion-column-wrapper {
  position: relative;
}
.hover-steckbrief .steckbrief {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff9;
  height: 100%;
  padding: 25px;
  position: absolute;
  opacity: 0;
  transition: 0.3s all ease;
  z-index: 10;
}
.steckbrief.rechts {
  margin-right: var(--awb-spacing-right);
  left: 0px;
  width: 100%;
}
.steckbrief.links {
  margin-left: var(--awb-spacing-left);
  right: 0px;
  width: 100%;
}
.hover-steckbrief .steckbrief:hover {
  opacity: 1;
}
.headline-right {
  text-align: right;
}
/* Header */
.logo-holder-header > div > div:first-child {
  flex: 130px !important;
}
.eb-gruppe-logo-header > div {
  margin: 0px !important;
}
@media (min-width:1024px) {
  .eb-gruppe-logo-header > div {
    margin: 0px 0px 0px 15px !important;
  }
}
.eb-gruppe-logo-header > div > .fusion-image-element:first-child img {
  opacity: 1;
  transition: 0.2s all ease;
  width: 86px;
}
.eb-gruppe-logo-header:hover > div > .fusion-image-element:first-child img {
  opacity: 0;
}
.eb-gruppe-logo-header > div .fusion-image-element:nth-child(2) img {
  opacity: 1;
  transition: 0.2s all ease;
}
.eb-gruppe-logo-header > div > .fusion-image-element:nth-child(2) {
  position: absolute;
}
.eb-gruppe-logo-header > div > .fusion-image-element:nth-child(2) img {
  opacity: 0;
  transition: 0.2s all ease;
}
.eb-gruppe-logo-header:hover > div > .fusion-image-element:nth-child(2) img {
  opacity: 1;
}
.eb-logo {
  padding-left: 20px;
  border-left: 1px solid #fff;
}
.eb-logo-header > div > .fusion-image-element:first-child img {
  opacity: 1;
  transition: 0.2s all ease;
}
.eb-logo-header:hover > div > .fusion-image-element:first-child img {
  opacity: 0;
}
.eb-logo-header > div > .fusion-image-element:nth-child(2) {
  position: absolute;
  max-width: 329px;
  left: 40px;
}
.eb-logo-header > div > .fusion-image-element:nth-child(2) img {
  opacity: 0;
  transition: 0.2s all ease;
}
.eb-logo-header:hover > div > .fusion-image-element:nth-child(2) img {
  opacity: 1;
}
.custom-menu-search a {
  background: url(/wp-content/uploads/2025/03/icon-search.svg) no-repeat center center;
  background-size: contain;
  width: 40px;
  height: 40px;
}
.custom-menu-search a::before {
  display: none;
}
.awb-menu.has-search-overlay {
  width: 100% !important;
}
.awb-menu__search-overlay input[type="search"] {
  height: 50px !important;
  border: none !important;
  font-size: 18px !important;
}
.awb-menu__search-overlay input[type="submit"] {
  height: 50px !important;
  width: 50px !important;
  border: none !important;
  background: var(--awb-color4) url(/wp-content/uploads/2025/03/icon-search.svg) no-repeat center center !important;
  font-size: 0px !important;
  background-size: 30px !important;
}
.awb-menu__search-overlay input[type="submit"]:hover {
  background: var(--awb-color4);
}
.fusion-close-search {
  width: 50px;
  height: 50px;
  margin-left: 30px;
  background: url(/wp-content/uploads/2025/03/icon-menu-close.svg) no-repeat center center;
  background-size: 30px;
}
.fusion-close-search::before, .fusion-close-search::after {
  display: none;
}
.fusion-search-result {
    color: #333 !important;
}
.menu-toggle .awb-menu__main-a i.fa-bars {
  background: url(/wp-content/uploads/2025/03/icon-menu-open.svg) no-repeat center center;
  background-size: contain;
  width: 40px;
  height: 40px;
  display: inline-block;
}
.menu-toggle .awb-oc-close-icon {
  display: none;
}
.menu-toggle .awb-oc-active .awb-oc-close-icon {
  background: url(/wp-content/uploads/2025/03/icon-menu-close.svg) no-repeat center center;
  background-size: contain;
  width: 40px;
  height: 40px;
  display: inline-block;
}
#menu-main-navi .karriere {
  border-left: 1px solid var(--awb-color1);
  height: 40px;
  padding-left: 30px;
}
.custom-menu-search i, .menu-toggle .awb-menu__main-a i::before, .menu-toggle .awb-oc-close-icon::before, .menu-toggle .awb-oc-active i.fa-bars {
  display: none;
}
#oc_megamenu .off-canvas-content {
    align-content: flex-start;
}
.mega-menu-holder {
  width: 100%;
}
.mega-menu-holder .fusion_builder_column_inner {
  min-width: 250px;
}
.mega-menu-holder .fusion_builder_column_inner.submenu-narrow {
  min-width: 180px;
}
.sub-menu-flyout .awb-submenu__sub-ul {
  margin-bottom: 40px !important;
}
.menu-unternehmen {
  border-left: 1px solid var(--awb-color3);
}
.menu-unternehmen li > a > span {
  display: flex;
}
.awb-submenu_v-stacked .menu-item-has-children {
  grid-template-columns: auto 1fr !important;
  grid-template-areas: "caret link""submenu submenu" !important;
}
.awb-submenu__open-nav-submenu_needs-spacing.awb-submenu__open-nav-submenu_click.awb-submenu__open-nav-submenu_main {
  padding-inline-start: 0 !important;
  padding-inline-end: 0.5em !important;
  padding-top: 6px !important;
}
.submenu-unternehmen .awb-submenu__i_sub {
  padding-inline-end: 8px;
  padding-top: 5px;
}
.submenu-unternehmen .eb-gruppe i {
  color: var(--blue);
}
.submenu-unternehmen .breitling i {
  color: var(--eb_blue);
}
.submenu-unternehmen .schneider i {
  color: var(--red);
}
.submenu-unternehmen .ebenergie i {
  color: var(--yolk);
}
.submenu-unternehmen .eltigra i {
  color: var(--green);
}
.submenu-unternehmen .scherer i {
  color: var(--coral);
}
.submenu-unternehmen .huiss i {
  color: var(--lilac);
}
.submenu-unternehmen .viibe i {
  color: var(--mint);
}
.submenu-unternehmen .ebic i {
  color: var(--gray);
}
.menus-leistungen .awb-submenu__main-a, .menus-leistungen .awb-submenu__main-a:hover {
  flex-direction: row-reverse !important;
  justify-content: flex-end !important;
  padding-top: 2px !important;
  padding-bottom: 3px !important;
}
.menus-leistungen .menus-leistungen-title .awb-submenu__main-a {
  padding-top: 0px;
}
.menus-leistungen .awb-submenu__open-nav-submenu-hover {
  padding-inline-start: 0px !important;
  padding-inline-end: 5px !important;
}
.mega-menu-footer {
  width: 100%;
}
.awb-icon-Kununu {
  max-height: 28px;
  max-width: 28px;
}
.off-canvas-content .awb-icon-Kununu img {
  filter: brightness(0) invert(1);
  margin-top: 2px !important;
}
.social-icons-white .awb-icon-Kununu img {
  filter: brightness(0) invert(1);
}
.social-icons-white .awb-icon-Kununu:hover {
  background-color: #fff;
}
.social-icons-white .awb-icon-Kununu:hover img {
  filter: brightness(0) saturate(100%) invert(22%) sepia(68%) saturate(5480%) hue-rotate(188deg) brightness(91%) contrast(98%);
}
.social-links-large .awb-icon-Kununu {
  max-height: 40px;
  max-width: 40px;
}
.social-links-large .fusion-social-networks-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.mobile-menu .awb-menu__m-toggle {
  position: relative;
  top: -10px;
}
.mobile-menu .awb-menu__m-collapse-icon-open {
  background: url(/wp-content/uploads/2025/03/icon-menu-open.svg) no-repeat center center;
  width: 40px;
  height: 40px;
}
.mobile-menu .awb-menu__m-collapse-icon-open::before {
  display: none;
}
.mobile-menu .awb-menu__m-collapse-icon-close {
  background: url(/wp-content/uploads/2025/03/icon-menu-close.svg) no-repeat center center;
  width: 40px;
  height: 40px;
}
.mobile-menu .awb-menu__m-collapse-icon-close::before {
  display: none;
}
/* Slider */
.tfs-slider .slide-content-container {
  top: 80% !important;
}
.tfs-slider .fusion-title {
  margin-bottom: 0px !important;
}
.tfs-slider .fusion-title-heading {
  text-transform: uppercase !important;
}
.tfs-slider .slide-id-1803 .fusion-title-heading {
  text-transform: none !important;
}
.tfs-slider .slide-id-1803 .slide-content-container {
  top: 50% !important;
}
.tfs-slider .slide-id-1803 .slide-content-container .caption {
  max-width: 1000px;
}
.tfs-slider .heading.with-bg > div, .tfs-slider .caption.with-bg > div {
  background-color: var(--awb-color4) !important;
}
.tfs-slider .fusion-button {
  background-color: var(--awb-color4) !important;
  border-color: var(--awb-color4) !important;
}
.tfs-slider .fusion-button-text {
  color: #fff !important;
}
/* Elements */
.fusion-button i {
  color: var(--button_accent_hover_color) !important;
}

.fusion-text ul {
  padding-left: 16px;
  margin-top: 0px;
}
/* Hover-Boxes */
.hover-box > div {
  transition: 0.3s all ease;
}
.hover-box > div::after {
  content: "";
  display: block;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: 0.3s all ease;
}
.hover-box:hover > div::after {
  opacity: 0.7;
}
.hover-box.grey > div::after {
  background: #4a4949;
}
.hover-box.blue > div::after {
  background: #006eab;
}
.hover-box.red > div::after {
  background: #dd1c2f;
}
.hover-box.green > div::after {
  background: #89ac34;
}
.hover-box.coral > div::after {
  background: #eb5d48;
}
.hover-box.lilac > div::after {
  background: #702973;
}
.hover-box.orange > div::after {
  background: #ec720f;
}
.hover-box.mint > div::after {
  background: #4cb691;
}
.hover-box.darkred > div::after {
  background: #a32234;
}
.hover-box.yellow > div::after {
  background: #f5a60d;
}
.hover-box .fusion-builder-row-inner {
  top: 35%;
  left: 0px;
  transition: 0.3s all ease;
}
.hover-box:hover .fusion-builder-row-inner {
  top: auto;
  left: auto;
}
.hover-box .hover-text {
  opacity: 0;
  transition: 0.3s all ease;
  z-index: 10;
}
.hover-box:hover .hover-text {
  opacity: 1;
}
/* Tooltip Avada */
.popover .popover-title {
    text-transform: none!important;
}
/* Tooltip OC */
#awb-oc-5537 .awb-off-canvas-inner, #awb-oc-5537 .off-canvas-content, #awb-oc-5537 .off-canvas-content > .fusion-fullwidth {
    overflow:visible;
}
.fusion-builder-row:has(.fusion-image-element), .fusion-layout-column:has(.fusion-image-element), #awb-oc-5537 .fusion-column-wrapper:has(.fusion-image-element) {
    overflow:visible;
    background-color: inherit;
    border-radius: 15px 0px 0px 15px;
} 
#awb-oc-5537 .fusion-image-element {
    background: inherit;
    height: 100%;
    width: 100%;
    border-radius: 15px 0px 0px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index:10;
}
.tooltip-text {
    position: absolute;
    bottom: 0px;
    right: 0px;
    margin-bottom: 0px;
    height:100%;
    transform: translateX(0px);
    color: #fff;
    padding-right: 10px;
    font-size: 14px;
    opacity:0;
    z-index: 0;
    display:flex;
    align-items:center;
    white-space: nowrap;
    transition:0.2s all ease;
}
.tooltip-text > p {
    margin-top:0px;
    margin-bottom: 0px;
    background: var(--awb-color4);
	color:#fff!important;
    border-radius: 10px;
    padding:5px;
}
.tooltip-text.gelb > p {
    background: var(--awb-color4);
}
.tooltip-text.rot > p {
    background: #a42335;
}
.tooltip-text.grau > p {
    background: #252e40;
}
.tooltip-trigger {
    cursor: pointer;
}
.fusion-layout-column:has(.tooltip-text):hover .tooltip-text {
    display:flex;
    align-items:center;
    opacity:1;
    transform: translateX(-75px);
}
/* Footer */
.footer_buttons .fusion-button i {
  color: #fff !important;
}
.footer_buttons .fusion-button:hover i {
  color: var(--button_accent_hover_color) !important;
}
.footer-logos .fusion-imageframe {
  padding: 0px 20px;
}
.footer-logos .fusion-imageframe.logo-eb {
  padding-left: 0px;
}
.footer-logos .fusion-imageframe.logo-ebic {
  padding-right: 0px;
}
.footer-logos img {
  width: 120px !important;
}
.footer-logos .logo-separator {
  margin-left: 0px !important;
  margin-right: 0px !important;
  background: #fff;
  height: 70%;
}
.footer-logos-mob img {
  height: 70px;
  width: auto;
}
.footer-social-links .awb-icon-Kununu img {
  opacity: 1;
  transition: 0.2s all ease;
}
.footer-social-links .awb-icon-Kununu:hover img {
  filter: brightness(0) saturate(100%) invert(25%) sepia(54%) saturate(3122%) hue-rotate(183deg) brightness(93%) contrast(98%);
}
.footer-social-links .awb-icon-Kununu img {
  max-width: 25px;
}
.footer-menus .fusion-builder-row {
  justify-content: flex-start !important;
}
.footer-menus .fusion_builder_column_inner {
  min-width: 250px;
}
/* Responsive */
@media (min-width:1025px) and (max-width:1370px) {
  .fusion-image-wrapper .fusion-rollover .fusion-rollover-content .fusion-rollover-title {
    font-size: 18px !important;
  }
  .footer-menus {
    width: 65% !important;
  }
  .footer-social-links {
    width: 35% !important;
  }
}
@media (min-width:768px) and (max-width:1024px) {
  /* Footer */
  .footer-logos .fusion-imageframe {
    padding: 0px 10px;
  }
  .footer-logos .fusion-imageframe.logo-huiss {
    min-width: 20px;
  }
}
@media (max-width:767px) {
  .logo-holder-header > div > div:first-child {
    flex: 70px !important;
  }
  .eb-gruppe-logo-header > div > .fusion-image-element:first-child img {
    width: 50px;
  }
  .eb-gruppe-logo-header > div > .fusion-image-element:nth-child(2) img {
    width: 50px;
  }
  .eb-logo-header > div > .fusion-image-element:nth-child(2) {
    left: 29px;
  }
  .mobile-menu .awb-menu__m-collapse-icon-open {
    width: 30px;
    height: 30px;
  }
  .mobile-menu .awb-menu__m-collapse-icon-close {
    width: 30px;
    height: 30px;
  }
  .tl-items div.tl-item {
    width: 100% !important;
    left: auto !important;
  }
  .tl-item-content::before, .tl-item-content:after, .pt-cv-timeline div:after {
    display: none;
  }
}