/*
 Theme Name:     Divi Child
 Theme URI:      http://www.elegantthemes.com
 Description:    Thaler Software GmbH - Divi Child Theme
 Author:         Thaler Software GmbH
 Author URI:     https://www.thaler-software.eu
 Template:       Divi
 Version:        1.0.2
*/

/* lato-100 - latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 100;
    src: url('fonts/lato-v23-latin-100.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('fonts/lato-v23-latin-100.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('fonts/lato-v23-latin-100.woff2') format('woff2'), /* Super Modern Browsers */
    url('fonts/lato-v23-latin-100.woff') format('woff'), /* Modern Browsers */
    url('fonts/lato-v23-latin-100.ttf') format('truetype'), /* Safari, Android, iOS */
    url('fonts/lato-v23-latin-100.svg#Lato') format('svg'); /* Legacy iOS */
}
/* lato-100italic - latin */
@font-face {
    font-family: 'Lato';
    font-style: italic;
    font-weight: 100;
    src: url('fonts/lato-v23-latin-100italic.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('fonts/lato-v23-latin-100italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('fonts/lato-v23-latin-100italic.woff2') format('woff2'), /* Super Modern Browsers */
    url('fonts/lato-v23-latin-100italic.woff') format('woff'), /* Modern Browsers */
    url('fonts/lato-v23-latin-100italic.ttf') format('truetype'), /* Safari, Android, iOS */
    url('fonts/lato-v23-latin-100italic.svg#Lato') format('svg'); /* Legacy iOS */
}
/* lato-300 - latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/lato-v23-latin-300.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('fonts/lato-v23-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('fonts/lato-v23-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
    url('fonts/lato-v23-latin-300.woff') format('woff'), /* Modern Browsers */
    url('fonts/lato-v23-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
    url('fonts/lato-v23-latin-300.svg#Lato') format('svg'); /* Legacy iOS */
}
/* lato-300italic - latin */
@font-face {
    font-family: 'Lato';
    font-style: italic;
    font-weight: 300;
    src: url('fonts/lato-v23-latin-300italic.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('fonts/lato-v23-latin-300italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('fonts/lato-v23-latin-300italic.woff2') format('woff2'), /* Super Modern Browsers */
    url('fonts/lato-v23-latin-300italic.woff') format('woff'), /* Modern Browsers */
    url('fonts/lato-v23-latin-300italic.ttf') format('truetype'), /* Safari, Android, iOS */
    url('fonts/lato-v23-latin-300italic.svg#Lato') format('svg'); /* Legacy iOS */
}
/* lato-regular - latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/lato-v23-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('fonts/lato-v23-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('fonts/lato-v23-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
    url('fonts/lato-v23-latin-regular.woff') format('woff'), /* Modern Browsers */
    url('fonts/lato-v23-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
    url('fonts/lato-v23-latin-regular.svg#Lato') format('svg'); /* Legacy iOS */
}

* {
    font-family: 'Lato', sans-serif;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

h1, h2, h3, h4 {
    margin-top: 10px;
}



/* Quote */
h1.quote-text {
    font-size: 50px;
    font-style: normal;
    font-variant: normal;
    font-weight: 300;
    line-height: 70px;
    color: white;
}


.et_pb_text {
    width: unset !important;
}

.et_pb_code {
    width: unset !important;
}

/* Logo */
.navbar-brand {
    width: 340px;
    margin-top: 15px;
    float: left;
}

#brand-logo {
    position: relative;
    max-width: 55px;
    max-height: 55px;
    margin-top: 5px;
    margin-right: 10px;
    float: left;
    display: inline;
}

#brand-text {
    font-family: 'Lato', sans-serif;
    font-size: 28px;
    padding-top: 4px;
    text-decoration: none;
    font-weight: 300;
    text-align: left;
    line-height: 30px;
}

/* Make Logo White */
.et_pb_sticky_module:not(.et_pb_sticky) #brand-logo {
    filter: brightness(0) invert(1);
}


/* Thaler Software Landingpage Styling */

.main-header {
    font-size: 30px;
    color: black;
    font-weight: 300;
}

.sub-header {
    margin-bottom: 10px;
    font-size: 30px;
    color: #575757;
    font-weight: 300;
}


/* Portfolie */
.portfolio-logo-info {
    width: 100%;
    filter: url("data:image/svg+xml;utf8,&lt;svg xmlns=\'http://www.w3.org/2000/svg\'&gt;&lt;filter id=\'grayscale\'&gt;&lt;feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/&gt;&lt;/filter&gt;&lt;/svg&gt;#grayscale"); /* Firefox 10+, Firefox on Android */
    -webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
}

.portfolio-logo-info:hover {
    filter: url("data:image/svg+xml;utf8,&lt;svg xmlns=\'http://www.w3.org/2000/svg\'&gt;&lt;filter id=\'grayscale\'&gt;&lt;feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/&gt;&lt;/filter&gt;&lt;/svg&gt;#grayscale");
    -webkit-filter: grayscale(0%);
}


.portfolio-header {
    font-size: 26px;
    font-style: normal;
    font-variant: normal;
    font-weight: 600;
    color: #333;
}

.portfolio-text {
    padding-top: 10px;
    line-height: 1.3;
    font-size: 22px;
    font-style: normal;
    font-variant: normal;
    font-weight: 300;
    color: #333;
}

.ts-hidden {
    display: none;
}


.portfolio-logo-container {
    width: 100%;
}

/* Tooltip container */
.tooltip-info {
    position: relative;
    display: inline-block;
    text-align: center;
    width: 15%;
    padding: 5px;
}

/* Tooltip text */
.tooltip-info .tooltiptext-info {
    visibility: hidden;
    width: 120px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 0;
    position: absolute;
    z-index: 1;
    bottom: 120%;
    left: 50%;
    margin-left: -60px;
}

.tooltip-info .tooltiptext-info::after {
    content: " ";
    position: absolute;
    top: 100%; /* At the bottom of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip-info:hover .tooltiptext-info {
    visibility: visible;
}


/* Employee SlideIn and Styling */
.employee-info, .employee-info h3, .employee-info a {
    color: #fff;
}

.employee-info a:hover {
    text-decoration: underline;
}

.employee-image img {
    border-radius: 50%;
    -webkit-box-shadow: 10px 10px 50px grey;
    -moz-box-shadow: 10px 10px 50px grey;
    box-shadow: 5px 5px 40px grey;
    max-width: 100%;
    background: white;
}

.employee-info-close:hover {
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

.employee-close-row {
    float: right;
}

.et_pb_team_member_image {
    max-width: unset;
    text-align: center;
}

.et_pb_team_member_image img {
    display: inline-block;
    margin: 0 auto;
}

/* Divi 5 initialisiert .et_animated mit opacity:0 und startet die Waypoint-Animation
   nicht zuverlässig für per JS eingeblendete Sections (employee-info Popup). */
.employee-info {
    opacity: 1 !important;
    -webkit-animation: none !important;
    animation: none !important;
}

.employee-info.ts-hidden {
    display: none !important;
}

/* Divi 5 schreibt inline .et_pb_team_member_X .et_pb_module_header{text-align:start}
   mit hoher Spezifität — hier mit !important überschreiben. */
.employee-info .et_pb_team_member_description,
.employee-info .et_pb_team_member_description h4,
.employee-info .et_pb_team_member_description .et_pb_module_header,
.employee-info .et_pb_team_member_description .et_pb_member_position,
.employee-info .et_pb_team_member_description p {
    text-align: center !important;
    color: #fff;
}

#employee-list .et_pb_team_member_description,
#employee-list .et_pb_team_member_description h4,
#employee-list .et_pb_team_member_description .et_pb_module_header,
#employee-list .et_pb_team_member_description .et_pb_member_position,
#employee-list .et_pb_team_member_description p {
    text-align: center !important;
}

.employee-info-close-row {
    padding: 20px 30px 0;
    overflow: hidden;
}

.employee-info-close {
    font-size: 50px;
    font-weight: 300;
    font-family: Arial, sans-serif;
    cursor: pointer;
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;
    -ms-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    float: right;
}

.employee-selector {
    padding: 30px;
}

.employee-selector:hover {
    -webkit-box-shadow: 10px 10px 50px grey;
    -moz-box-shadow: 10px 10px 50px grey;
    box-shadow: 5px 5px 40px grey;
    cursor: pointer;
}


.employee-links {
    padding-top: 10px;
}

.employee-links > a:hover {
    color: #d3d3d3;
}
.employee-selector .employee-links > a:hover {
    color: #0099DB;
}

.employee-links > a {
    font-size: 30px;
    margin: 5px;
}

.employee-links > button {
    font-size: 28px;
    background-color: unset;
    border: unset;
    padding: 0 5px;
    vertical-align: top;
}



.employee-selector .employee-links > a {
    color: #27286E;
}

/* Footer Styling */
.footer, .footer a {
    color: #333 !important;
}

.footer a {
    text-decoration: underline;
}

.footer a:hover {
    color: gray !important;
}


.flag:hover {
    filter: url("data:image/svg+xml;utf8,&lt;svg xmlns=\'http://www.w3.org/2000/svg\'&gt;&lt… 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/&gt;&lt;/filter&gt;&lt;/svg&gt;#grayscale");
    -webkit-filter: grayscale(0%);
}

.nav > li > a > img {
    max-width: none;
}

.flag {
    width: 30px;
    height: 25px;
    margin-left: 20px;
    margin-top: -3px;
    filter: url("data:image/svg+xml;utf8,&lt;svg xmlns=\'http://www.w3.org/2000/svg\'&gt;&lt…33 0.3333 0.3333 0 0 0 0 0 1 0\'/&gt;&lt;/filter&gt;&lt;/svg&gt;#grayscale");
    -webkit-filter: grayscale(100%);
}

.et_pb_menu__logo-wrap {
   display: none !important;
}

/* Mobile-Logo (per JS aus .navbar-brand in den Mobile-Header geklont). */
.navbar-brand-mobile {
    display: flex;
    align-items: center;
    float: none;
    margin: 0;
    padding: 0;
}

.navbar-brand-mobile img {
    max-width: 36px;
    max-height: 36px;
    margin-right: 10px;
    float: none !important;
}

.navbar-brand-mobile a,
.navbar-brand-mobile span,
.navbar-brand-mobile .brand-text {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.2;
    color: #27286e;
    text-decoration: none;
    float: none !important;
    padding: 0 !important;
    text-align: left !important;
}

/* Mobile-Header: Logo sitzt im gleichen Menu-Wrap wie Hamburger (per JS geprepended).
   Logo links, Hamburger rechts, keine Umbrüche. */
@media only screen and (max-width: 980px) {
    .et_pb_section_1_tb_header .et_pb_menu__wrap {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
    }

    .et_pb_section_1_tb_header .navbar-brand-mobile {
        flex: 0 1 auto;
        min-width: 0;
    }

    .et_pb_section_1_tb_header .et_pb_menu__mobile,
    .et_pb_section_1_tb_header .mobile_nav {
        flex: 0 0 auto;
    }

    /* Hamburger ähnlich groß wie Logo. */
    .et_pb_menu_1_tb_header .mobile_menu_bar:before,
    .et_pb_menu_0_tb_header .mobile_menu_bar:before {
        font-size: 40px !important;
        line-height: 1 !important;
    }
}

/* Mobile/Tablet: Menü (Hamburger + aufgeklapptes Menü) zentrieren.
   Divi 5 schreibt inline justify-content:flex-end / text-align:right. */
@media only screen and (max-width: 980px) {
    .et_pb_menu_0_tb_header .et_pb_menu__wrap,
    .et_pb_menu_1_tb_header .et_pb_menu__wrap,
    .et_pb_menu .et_pb_menu__wrap {
        justify-content: center !important;
    }

    .et_pb_menu_0_tb_header,
    .et_pb_menu_1_tb_header,
    .et_pb_menu_0_tb_header .et_pb_menu__menu,
    .et_pb_menu_1_tb_header .et_pb_menu__menu {
        text-align: center !important;
    }

    .et_pb_menu_0_tb_header .et_mobile_menu,
    .et_pb_menu_1_tb_header .et_mobile_menu,
    .et_mobile_menu {
        text-align: center !important;
    }

    .et_pb_menu_0_tb_header .mobile_nav,
    .et_pb_menu_1_tb_header .mobile_nav {
        text-align: center;
    }
}

.et_pb_member_position {
    color: #575757;
}

.cn-text-container a {
    color: #000;
    text-decoration: underline;
}


.et_pb_module_header {
    font-size: 18px;
    color: #333;

}

.footer-company-title{
    font-size: 18px;
    color: #333;
}