/*
 Theme Name:   Herzog Elmiger Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Sebastian Hupe
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/* Global Styles */

@font-face {
    font-family: OpenSans;
    src: url('https://ueberuns.herzog-elmiger.ch/wp-content/themes/bricks-child/fonts/Open_Sans/OpenSans-VariableFont_wdth,wght.ttf') format('truetype');    
}

:root{
    --blau: #0060a9;
    --gelb: #fed700;
    --text: #666;
    --white: #fff;
    --heading: #333E48;
}

html{
    font-size: 100%;
}

body{
    font-family: OpenSans;
    font-weight: 400;
    font-size: 1rem;
    color: var(--text);
    overflow-x: hidden;
    width: 100%;
}

table{
    font-family: OpenSans;
    font-weight: 400;
    border-collapse: collapse;
    margin-top: 10px;
}

.ce-table tr{
    border-bottom: 1px solid rgba(102, 102, 102, .5);
}


h1,h2,h3,h4,h5,h6{
    color: var(--heading);
}

h1{
    font-size: 2.7rem;
}

p{
    font-weight: 400;
    line-height: 1.5;
}

a{
    color: var(--blau)
}

li{
    font-weight: 400;
}

li::marker{
    list-style-type: square;
}


/* Allgemein */

.brxe-container{
    width: 1366px;
    padding: 0 23px;
}

.brxe-section {
    margin-bottom: 5%;
    font-weight: 600;
    font-size: 1rem;
}

.brxe-button{
    background-color: var(--blau);
    color: var(--white);
    letter-spacing: inherit;
    border-radius: 4px;
}

.content-box{
    box-shadow: 1px 1px 10px var(--text);
}

.blue-box{
  background-color: rgba(9, 96, 169, 0.65);
  padding: 2%;  
  margin-bottom: 4%;
  width: 70%;
  border-radius: 8px;

}

.blue-box > *{
  color: var(--white); 
}

.blue-box h2{
      color: var(--white); 
}

.kontur{
    text-shadow: 3px 1.5px var(--text);
    color: #fff;
    margin-bottom: 8%;
    width: 60%;
    line-height: 1.2;
    z-index: 2;
}




/* Header & Footer */
#brx-header{
    z-index: 9999;
}

#nav, #footer{
    background-color: rgba(9, 96, 169);
    z-index: 9999;
    color: #fff;
    align-items: center;
    height: 10dvh;
    justify-content: center;
    margin-bottom: 0%;
  
}

.brxw-header-02__nav-menu.brxe-nav-menu .bricks-nav-menu > li {
    padding-right: 30px;
}

#nav-blue, #footer-main{
    background-color: rgba(9, 96, 169, 0.65);
    z-index: 9999;
    color: #fff;
    align-items: center;
    height: 10dvh;
    justify-content: center;
    margin: 0;
    width: 100%;
    font-weight: 600;
}

@media screen and (max-width:520px) {
    #footer, #footer-main{
        display: block;
    }
}

.menu-item, .brx-submenu-toggle{
    font-weight: 600;
}

.menu-item > a{
    color: var(--white);
}

.btn-nav{
    background-color: var(--gelb);
    color: var(--text)
}

.brx-dropdown-content{
    background-color: rgba(9, 96, 169, 0.65);
    color: var(--white);
    padding: 15px;
}

#footer-main{
    font-size: 0.8rem;
    margin-top: -10dvh;
}

 #footer{
    font-size: 0.8rem;
}


#logo{
    height: 40px;
    width: auto;
}

/*Home */
.main-slider{
    margin-top: -10dvh;
    margin-bottom: 0;
    position: relative;
}

.main-slider::before{
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(to top,
        rgba(0,0,0,0.6),
        rgba(0,0,0,0) 30%
    );

    pointer-events: none;
    z-index: 1;
}



/* Team */

.team-section{
    /* flex-direction: row;
    justify-content: space-between;
    gap: 20px; */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    row-gap: 23px; 
    grid-template-rows: auto;
}

@media screen and (max-width:1100px) {
    .team-section{
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width:850px) {
    .team-section{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width:600px) {
    .team-section{
        grid-template-columns: repeat(1, 1fr);
    }
}

.filter-item{
    width: 250px !important;
}

#team-search, #team{
    width:100%;
    max-width:450px;
    height:56px;
    border:1px solid var (--text);
    border-radius: 12px;
    padding:0 22px;
    font-size:16px;
    transition:.25s;
}

#team-search:focus, #team:focus{
    border-color: var(--blau);
    outline:none;
    box-shadow:0 0 15px var(--text);
}


.team-wrapper > *.hidden{
    opacity:0;
    transform:scale(.98);
    pointer-events:none;
    display:none;
}

.team-link{
    color: var(--text);
    font-weight: 400;
}

.logistiker{
    font-weight: 700;
}



#brxe-kpfwou{
    height: auto !important;
}

/* Produktseiten */

.product-row{
    padding: 23px;
    margin-right: 23px;
    height: stretch;
}

@media screen and (max-width:767px) {
    .product-row{
        margin-bottom: 23px;
    }
    
}

.product-row > img{
    height: 200px;
    object-fit: contain;
}

.product-btn{
    margin-top: auto;
}

.product-description{
    padding: 20px 0;
}

.product-description h4{
    padding-bottom: 10px ;
    line-height: 1.1;
}

/* Öffnungzeiten */
.tab-title{
    border: none !important;
    padding-left: 0px !important;
} 

.tab-content{
    border-left: none !important;
    border-right: none !important;
}

.tab-content ul{
    margin-block-start: 0px;
    padding-inline-start: 0px;
}

/*Unternehmen Counter */

#brxe-1237fb{
    margin-bottom: 1%;
}

.counter{
    display: grid;
    grid-template-columns: repeat(4, auto);

 }

.count{
    color: var(--blau);
    font-size: 3.5rem;
    text-align: center;
}

.brxe-counter{
    text-align: center;
}

.counter-description{
    text-align: center;
}

/* Timeline */
.timeline-slider{
    position:relative;
}

.timeline-slider::before{
    content:"";
    position:absolute;
    top:44px;
    left:0;
    right:0;
    height:2px;
    background:#dadada;
}

.timeline-dot{
    width:92px;
    height:92px;
    border-radius:50%;
    border:2px solid var(--blau);
    background:white;
    margin:auto;
    transition:.4s;
}

.is-active > .timeline-dot{
    border: none;
    background: var(--blau);
}

.is-active > .timeline-year{
    color: var(--white);
    font-weight: 700;
}

.timeline-card{
    opacity:.4;
    transform:translateY(45px);
    transition:.45s;
    padding: 0 80px;
}

.timeline-card > *{
    text-align: center;
}

.is-active > .show{
    display: block;
}

.is-active.timeline-card{
    opacity:1;
    transform:translateY(0);
}

.timeline-year{
    margin-top: -68px;
    margin-bottom: 60px;
    font-weight: 400;
}

.show{
    display: none;
    text-align: left;
    padding-top: 10px;
}

.splide__arrow{
    top: 7.5%;
    background-color: var(--blau);
    color: var(--white);
}

.splide__arrow:disabled {
    opacity: 1;
}

/*Referenzbeitrag */

.post-meta, .brxe-post-author, .bricks-post-meta-wrapper {
    display: none !important;
}

.bricks-post-header.has-image {
    margin-top: -10dvh;
    height: 60dvh;
    background-size: cover;
    background-repeat: no-repeat;
}

.bricks-post-header .brxe-post-title  {
    margin-top: 25dvh !important;
    text-shadow: 3px 1.5px var(--text);
    width: 80%;
    line-height: 1.2;
}

.ref-img > *{
        height: stretch;
}

.floating-button {
    height: 45px;
    width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 14px;
    color: var(--white);
    background-color: var(--blau);
    border: 2px solid var(--blau);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 20px;
}

.floating-button:hover {
    transform: translateY(-2px);
}

.brxe-post-navigation{
    display: none;
}


/*Referenzen */

#brxe-9032a0 {
    height: auto;
}

[data-filter=".referenz"] {
    display: none;
}

.bricks-isotope-filters{
    margin-bottom: 2%;
}

.bricks-isotope-filters li{
    border: 1px solid var(--text);
    color: var(--heading);
    margin-right: 20px;
    padding: 10px 40px;
    font-weight: 700;
    font-size: 1.1rem;
}

.bricks-isotope-filters .active{
    border: 1px solid var(--blau);
    color: var(--white);
    margin-right: 20px;
    padding: 10px 40px;
    background-color: var(--blau);
    font-weight: 700;
    font-size: 1.1rem;
}

.referenzen .content-wrapper h3{
    font-size: 1.5rem;
    margin-top: -10dvh !important;
    padding-left: 5%;
    text-shadow: 3px 1.5px var(--text);
    width: 80%;
    color: var(--white);
    z-index: 3;
}

.referenzen .content-wrapper h3 > a{
     color: var(--white);
}

.referenzen div .image-wrapper::before{
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(to top,
        rgba(0,0,0,0.6),
        rgba(0,0,0,0) 30%
    );

    pointer-events: none;
    z-index: 1;
}

/* Tab Vivacolor */

.tab-vc{
    display: grid !important;
    grid-template-columns: 1fr 1fr;
}