/*
 Theme Name:   Westholz Theme
 Description:  Das Westholz Theme
 Author:       Lars Badke
 Author URI:   https://www.larsbadke.com
 Version:      1.0
 Text Domain:  Westholz-theme
*/

/* roboto-100 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 100;
    src: url('/fonts/roboto-v30-latin-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-100italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 100;
    src: url('/fonts/roboto-v30-latin-100italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-300 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    src: url('/fonts/roboto-v30-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-300italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 300;
    src: url('/fonts/roboto-v30-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('/fonts/roboto-v30-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 400;
    src: url('/fonts/roboto-v30-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-500 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url('/fonts/roboto-v30-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-500italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 500;
    src: url('/fonts/roboto-v30-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('/fonts/roboto-v30-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-700italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 700;
    src: url('/fonts/roboto-v30-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-900 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 900;
    src: url('/fonts/roboto-v30-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-900italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 900;
    src: url('/fonts/roboto-v30-latin-900italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

body {
    font-family: 'Roboto';
    color: black;
    font-size: 18px;
    line-height: 30px;
    overflow-x: hidden;
    background: #FFF;
    font-weight: 300;
}

html {
    background: #727172;
    overflow-x: hidden;
}


.brand-color {
    color: #86b54b;
}


ul {
    padding-left: 20px;
}

li {
    font-size: 18px;
    line-height: 30px;
}

h1, .h1 {
    font-size: 52px;
    line-height: 60px;
    font-weight: 300;
    margin-bottom: 30px;
}

h2, .h2 {
    font-size: 32px;
    line-height: 40px;
    font-weight: 300;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    h1, .h1 {
        font-size: 26px;
        line-height: 32px;
        margin-bottom: 15px;
    }

    h2, .h2 {
        font-size: 22px;
        line-height: 28px;
        margin-bottom: 15px;
    }
}

.lb-header-image {
    position: relative;

}

.border-image{
    height: 30px;
    background: rgba(115, 174, 123, 0.5);
    width: 100%;
    bottom: 0;
    border: none;
    position: absolute;
}

@media (max-width: 992px) {
    .lb-header-image {
        height: 350px !important;
    }
}

@media (max-width: 768px) {
    .lb-header-image {
        height: 250px !important;
    }
}

#main-header {
    background: #474b4c;
    color: #73ae7b;
    font-weight: 900;
}

#main-header .wrapper {
    display: flex;
    align-items: center;
    padding: 30px 0;
}

#logo {
    width: 175px;
    margin-right: 30px;
}

#logo img {
    width: 100%
}

#main-header{
    line-height: 24px;
    font-size: 18px;
}

#main-header .bigger{
    font-size: 25px;
    line-height: 28px;
}

#main-header .big{
    font-size: 22px;
    line-height: 25px;
}

#main-header .wrapper > div:nth-of-type(1){
    width: calc(100% - 175px - 340px);
    transform: translateY(7px);
}

#main-header .wrapper > div:nth-of-type(2){
    width: 340px;
}


#main-header .wrapper > div:nth-of-type(2) a{
  color: inherit;
}

.header-menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.header-menu > li {
    display: inline-block;
    position: relative;
}

.header-menu > li > a {
    padding: 0px 10px;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 300;
    color: white;
    line-height: 16px;
    transition: 0.4s all;
}

.header-menu > li:last-of-type > a {
    padding-right: 0;
}

.header-menu > li:hover > a {
    color: white;
    text-decoration: none;
}

.header-menu > li.current_page_item > a, .header-menu > li.current-page-parent > a, .header-menu > li.current_page_ancestor > a {
    color: white;
    border-bottom: 4px solid #be5000;
}

.header-menu > li.menu-item-has-children .sub-menu {
    display: none;
    position: absolute;
    z-index: 1;
    background: rgba(255, 255, 255, 0.61);
    list-style-type: none;
    margin: 0;
    padding: 15px 0px;
    transform: translateX(-5px);
}

.header-menu > li.menu-item-has-children:hover .sub-menu {
    display: block;
}

.header-menu > li.menu-item-has-children .sub-menu > li > a {
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    color: inherit;
    display: block;
    padding: 5px 15px;
}

.header-menu > li.menu-item-has-children .sub-menu > li:hover > a, .header-menu > li.menu-item-has-children .sub-menu > li.current_page_item > a {
    color: #cc252a;
}

#showNavBtn {
    align-items: center;
    cursor: pointer;
    display: none;
}

.open-btn {
    height: 35px;
}

@media (max-width: 992px) {

    #main-header .wrapper {
        align-items: center;
        flex-wrap: wrap;
        padding: 15px 0;
    }

    #logo {
        width: 120px;
    }

    #main-header .bigger{
        font-size: 24px;
        line-height: 30px;
    }

    #main-header .big{
        font-size: 20px;
        line-height: 26px;
    }

    #main-header .wrapper > div:nth-of-type(1) {
        width: calc(100% - 120px - 30px);
        transform: translateY(5px);
    }

    #main-header .wrapper > div:nth-of-type(2) {
     display: none;
    }

    nav {
        transform: unset;
        display: none;
        order: 4;
        width: 100%;
    }

    #showNavBtn {
        display: flex;
    }

    .header-menu {
        margin: 10px 0;
    }

    .header-menu > li {
        display: block;
    }

    .header-menu > li > a {
        padding: 7px 15px;
        padding-left: 0;
        display: block;
    }

    .header-menu > li.current_page_item > a {
        border-bottom: unset;
    }

    .header-menu > li.menu-item-has-children .sub-menu {
        display: block;
        position: unset;
        background: unset;
        padding: 0px 0px;
        transform: unset;
    }
}


@media (max-width: 768px) {


    #logo {
        width: 75px;
        margin-right: 15px;
    }

    #main-header .bigger{
        font-size: 18px;
        line-height: 26px;
    }

    #main-header .big{
        font-size: 16px;
        line-height: 24px;
    }

    #main-header .wrapper > div:nth-of-type(1) {
        width: calc(100% - 75px - 30px);
        transform: translateY(3px);
    }
}


#main-footer {
    background: #727172;
    color: white;
    padding: 30px 0 30px 0;
    font-size: 14px;
    line-height: 22px;
}

#main-footer .wrapper {
    display: flex;
    justify-content: space-between;
}

#main-footer ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#main-footer ul li {
    font-size: 14px;
    line-height: 22px;
}

#main-footer a {
    color: white;
    font-size: 14px;
    line-height: 22px;
}

@media (max-width: 768px) {
    #main-footer .wrapper {
        flex-direction: column;
    }

    #main-footer {
        padding: 30px 0;
    }
}

.block {
    padding: 60px 0;
}

.block p:last-of-type {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .block {
        padding: 30px 0;
    }
}

#team {
    margin-top: 60px;
}

.person {
    display: flex;
    margin-bottom: 60px;
}

.person .image {
    width: 150px;
    margin-right: 30px;
}

.person .image img {
    border-radius: 100%;
}

.person .content {
    width: calc(100% - 200px);
}

.person .content h3 {
    font-size: 16px;
    font-weight: 600;
}

.person .more_btn, .person a {
    color: #86b54b !important;
}

.person .more {
    margin-top: 20px;
}

@media (max-width: 768px) {
    .person {
        flex-direction: column;
        margin-bottom: 40px;
    }

    .person .image {
        width: calc(100%);
        margin-right: 0px;
        margin-bottom: 20px;
    }

    .person .image img {
        max-width: 150px;
    }

    .person .content {
        width: calc(100%);
    }
}

.block a {
    color: #86b54b !important;
    text-decoration: none !important;
    font-weight: bold;
}

.block a.brand-button {
    background: #86b54b;
    color: white !important;
    padding: 12px 20px;
    text-decoration: none !important;
    border-radius: 25px;
    text-transform: uppercase;
    font-weight: 300;
    font-size: 22px;
    display: inline-block;
}

#wasser{
    position: absolute;
    bottom: -15px;
    width: 400px;
    z-index: 999;
    right: 30px;
}

@media (max-width: 992px) {
    #wasser{
        width: 275px;
    }
}

@media (max-width: 500px) {
    #wasser{
        right: 15px;
        width: 200px;
    }
}