/*
Theme Name: Braun & Müller Template
Version: 1.0
Description: Braun & Müller Theme
Tags:
Author: I. Serdiuk, Braun & Müller


*/

/*----------------------- Preloader -----------------------*/
body.preloader-site {
    overflow: hidden;
}

.preloader-wrapper {
    height: 100%;
    width: 100%;
    background: #FFF;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999999;
}

.preloader-wrapper .preloader {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 296px;
}

/******************************************************************/

body {
    color: #58585a;
    font-family: Lato, sans-serif;
}

h1 {
    font-size: .2rem;
}

html,body {
    height: 100%;
}

a {
    color: #ffb629;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #ffb629;
}

h2 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.page-wrap {
    padding-top: 8rem;
    padding-bottom: 2rem;
    flex: 1 0 auto;
}



/****************************************************************************/
/***************************** HEADER ***************************************/
/****************************************************************************/
img.custom-logo {
    height: 140px;
    width: auto;
}

.custom-logo-link {
    position: absolute;
    top: 0;


}

.menu-icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    font-weight: bold;
    z-index: 101;
}

.menu-icon:hover {
    text-decoration: none;
}


.navbar-brand h1 {
    position: absolute;
    top: 0;
    font-size: .8rem;
    left: 5rem;
}

header nav.navbar {
    padding-top: 0;
}

.collapse.mobile-menu {
    display: block;
    z-index: 100;
    background: #fff;
    padding: 1rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.collapse.mobile-menu ul {
    list-style: none;
}

.collapse.mobile-menu ul .sub-menu .sub-menu {
    padding-left: 1.2rem;

}
.collapse.mobile-menu ul .sub-menu  a {
    color: #58585a;
}

.collapse.mobile-menu .menu-top-menu-container > ul {
    padding-top: 3rem;
    padding-left: 0;
}
.collapse.mobile-menu .menu-top-menu-container > ul > li{
    border-bottom: 1px #e9e9e9 solid;
    padding: 1rem;
}

.collapse.mobile-menu .menu-top-menu-container > ul > li > a {
    font-weight: bold;
    font-size: 1.1rem;
}

/****************************************************************************/
/****************************** FOOTER **************************************/
/****************************************************************************/
#page-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}


footer {
    background: #58585a;
    width: 100%;
    flex-shrink: 0;
    font-size: .9rem;
}

footer nav {
    position: relative;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: start;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding-top: 3.3rem;
    padding-bottom: 1rem;
}

footer nav a {
    color: #fff;
}

footer nav ul {
    list-style: none;
    padding-left: 0;
}

footer nav div:first-child ul {
    padding-left: 0;
}

footer nav .menu-column {
    color: #fff;
}

.copyright-footer {
    text-align: center;
    font-size: .8rem;
}

.keywords-footer {
    text-align: center;
    font-size: .7rem;
    color: #8d8d8f;
}

.keywords-footer a{
    color: #8d8d8f;
    text-decoration: none;
}

.contact-footer a {
    color: #fc3;
    text-decoration: underline;
}

.contact-footer a:hover {
    text-decoration: none;
}

footer h3 {
    font-size: 1.25rem;
    font-weight: bold;
}

footer h4 {
    font-size: 1.25rem;
    font-weight: bold;
}


/****************************************************************/
/******************** CONTENT - CUSTOM***  **********************/
/****************************************************************/

h2.welcome-header {
    font-weight: bold;
    font-size: 3rem;
    padding-top: 1rem;
    margin-bottom: 0;
    padding-left: 0;
}

p.welcome-header {
    font-size: 1.4rem;
    padding-left: 0;
    padding-bottom: 2rem
}

.welcome-image figure.alignright {
    float: none;
    margin: 20px auto;
}

hr {
    border: none;
    position: relative;
    height: 49px;
    margin: 2rem 0;
}
hr::after {

    content: '';
    background: url(/wp-content/themes/bum-theme/img/separator.png) center no-repeat;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

}

hr.footer-hr {
    border-top: 1px solid #777779;
    position: initial;
    height: 1px;
    margin: 1rem 0;
}

hr.footer-hr::after {
    content: none;
}

.wp-block-separator {
	border: none;
}

.wp-block-button {
    color: #58585a;
    text-align: right;
    margin-right: 1rem;
}

.home .wp-block-button {
    margin-bottom: 2rem;
}

.wp-block-button__link {
    background-color: #fc3;
    border: none;
    border-radius: 0;
    color: inherit;
    cursor: pointer;
    display: inline-block;
    font-size: 1rem;
    margin: 0;
    padding: 12px 24px;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    overflow-wrap: break-word;
}

.wp-block-button__link:hover {
    background-color: rgba(255, 204, 51, 0.83);
    text-decoration: none;

}

.start-page-all-services-link {
    font-size: 1.6rem;
    text-decoration: underline;
}


.crellyslider>.cs-controls>.cs-previous, .crellyslider>.cs-controls>.cs-next {
    display: none
}

h2.about {
    font-weight: bold;
    font-size: 2.6rem;
    margin-bottom: 2rem;
}

.crellyslider {
    display: none;
}

#breadcrumbs {
    margin-bottom: 2rem;
    padding: 1.2rem 0;
    border-bottom: #cdcdcd 1px solid;
    border-top: #cdcdcd 1px solid;
}

.button-left {
    text-align: left
}

.margin-top-large {
    margin-top: 3rem;
}

.products-h3 {
    font-size: 1rem;
    font-weight: bold;
    color: #ffb629;
}

.products-h4 {
    font-size: 1rem;
    font-weight: bold;
    color: #58585a;
    margin-bottom: 2rem
}


.wp-block-file .wp-block-file__button {
    background: #fc3;
    border-radius: 0;
    color: #58585a;
    padding: .5em 1em;
}


.header-small {
    font-size: 1.2rem;
}

.img-in-text {
    margin-top: 1rem;
}


.note-container {
    margin-top: 7rem;
    text-align: center;
}

.note-container hr {
    border-top: 1px solid #d3d3d5;
    position: initial;
    height: 1px;
    margin: 1rem 0;
}

.note-container hr::after {
    content: none;
}

.note-container h2 {
    color: #c20000;

}




/* PAPIERRECHNER */
div#rechner-wrapper{
    max-width: 450px;
    margin: 0 auto;
}

#rechner-wrapper label{
    width: 100px;
    display: inline-block;
    text-align: right;
    padding-right: 10px;
}

#rechner-wrapper select{
    height: 36.5px;
    border: rgba(86, 86, 86, 0.2) solid 1px;
    background: #f7f7f7;
    color: #686868
}
#rechner-wrapper select:focus{
    border: #fc3 solid 1px;
    background: #fff;
    outline: none;
}



#rechner-wrapper .longInp{
    width: 150px;
    margin-right: 5px;
}

#rechner-wrapper input,  #rechner-wrapper select{
    margin: 5px 0;
}

#rechner-wrapper #gesamtContainer{

}



#rechner-wrapper .fixedDigInput{
    width:70px;
}
#rechner-wrapper #height,#rechner-wrapper #grammaturFrei{
    margin-left: 100px;

}

#rechner-wrapper #grammaturFrei{
    width: 150px;
}


@media screen and (min-width: 513px){


    #rechner-wrapper .fixedDigInput{
        width:60px;
    }
    #rechner-wrapper #height,#rechner-wrapper #grammaturFrei{
        margin-left: 0;

    }

    #rechner-wrapper #grammaturFrei{
        width: 60px;
    }

}




/********************************************************************************************************/
/************************************** B R E A K P O I N T S *******************************************/
/********************************************************************************************************/



@media (min-width: 767.98px) {
   /* body {
        background: #009fef;
    }*/
    .note-container {
        margin-top: 0;
    }

    .crellyslider {
        display: block;
    }

    .page-wrap {
        padding-top: .5rem;
    }

    .custom-logo-link {
        position: relative;
        top: 0;
        left: -65%;
    }


    .home .wp-block-button {
        margin-bottom: 0;
    }


}


@media (min-width: 991.98px) {
   /* body {
        background: rgba(0, 37, 249, 0.18);
    }*/



    /****************************************************************/
    /*************************** HEADER *****************************/
    /****************************************************************/

    .menu-icon {
        display: none;
    }
    header {
        width: 100%;
        height: 140px;
    }



    header .container {
        display: flex;
        align-items: center;
        height: 100%;
    }



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

    header .top-menu li {
        position: relative;
    }


    header .top-menu li a {
        font-size: 1.1rem;
        padding:0 1.5rem;
        color: #58585a;
        font-weight: bold;
        white-space: nowrap;
    }

    header .top-menu li:first-child a {
        padding-left: 0;
    }

    header .top-menu li:last-child a {
        padding-right: 0;
    }




    header .top-menu li .sub-menu {
        display: none;
        position: absolute;
        top: 1.4rem;
        left: 0.5rem;
        background: rgba(255, 255, 255, 0.9);
        padding: 1rem;
        list-style-type: none;
        z-index: 999;
        line-height: 1.8rem;
    }

    header .top-menu li:first-child .sub-menu {
        left: -1rem;
    }

    header .top-menu li .sub-menu a {
        font-size: 1rem;
        font-weight: normal;
        padding: 0;
        white-space: nowrap;
    }

    header .top-menu li .sub-menu a:hover {
        color: #ffb629;
    }

    header .top-menu > .menu-item-has-children > a::after {
        padding-left: 18px;
        content: '';
        background: url(/wp-content/themes/bum-theme/img/arrow-submenu.png) center no-repeat;
        background-position-x: 6px;

    }



    header .top-menu > .menu-item-has-children > .sub-menu .menu-item-has-children > a::before {
        content: url(/wp-content/themes/bum-theme/img/arrow-submenu.png);
        padding-right: 10px;

    }




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

    header .top-menu .sub-menu li .sub-menu {

        background: none;
        padding: 0 1rem;
        width: 112%;
        position: initial;
    }

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


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


    /****************************** LOGO ****************************************/





    .custom-logo-link {
        position: initial;
        z-index: 3;
    }

    .collapse {
        position: inherit;
        left: 2rem;
    }

    h2.welcome-header {
        font-weight: bold;
        font-size: 3rem;
        padding-top: 1rem;
        margin-bottom: 0;
        padding-left: 204px;
    }

    p.welcome-header {
        font-size: 1.4rem;
        padding-left: 204px;
        padding-bottom: 2rem
    }

    .welcome-image figure.alignright {
        float: right;
        margin-left: 1em;
    }

    header .top-menu li a {
        font-size: 1rem;
        padding: 0 1.2rem;
    }

}


@media (min-width: 1199.98px) {
  /*  body {
        background: #d9ff91;
    }*/

    header .top-menu li a {
        font-size: 1.2rem;
        padding: 0 2rem;
    }
}

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

