/*
 Theme Name:   D.O.B. Landtechnik AG
 Theme URI:    https://www.leibold-it.de/
 Description:  Intranet für D.O.B. Landtechnik AG
 Author:       Jan Elm
 Author URI:   https://www.leibold-it.de/
 Template:     bam
 Version:      1.0.0
 Text Domain:  bamchild
*/
.grid-style.th-grid-2 .bam-entry {
    width: 100%;
}

.grid-style.th-grid-2 .bam-entry:nth-of-type(2n) {
    margin-left: 0 !important;
}

h4.steckbrief-letter {
    margin-bottom: 8px;
    font-weight: bold;
}


h4.steckbrief-letter:first-of-type {
    margin-top: 0;
}

a.steckbrief-link {
    color: #005b00;
    display: block;
}

.steckbrief-image {
    float: right;
    margin-right: 20px;
}
.bam-entry .entry-summary .steckbrief-content p {
    margin-bottom: 8px;
}

.steckbrief-content p b.title {
    display: block;
}

#secondary .sub-menu {
    margin-left: 20px;
    display: none;
}

#secondary .current-menu-item > a {
    color: #005b00;
    font-weight: bold;
}

#secondary .current-menu-item .sub-menu,
#secondary .current_page_parent .sub-menu {
    display: block;
}

.site-header.default-style #site-header-inner {
    padding: 0;
    max-width: 100%;
}

.pagination {
    display: flex;
    justify-content: center;
}

.no-border table,
.no-border td {
    border: none;
}

.fw-70p {
	width: 70px;
}


.button-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
    width: 100%;
}

.button-grid a {
    display: block;
    text-align: center;
    padding: 10px 0;
    background-color: #03604d;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: normal;
	font-size: 12px;
    transition: background 0.3s ease;
	border-radius: 0px !important;
}

.button-grid a:hover {
    background-color: #048c71;
}

// Hinweis Popup

.info-popup {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 250px;
  background: #3CB285;
  color: #fff;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  z-index: 9999;
  font-family: Arial, sans-serif;
  display: none;
}
.info-popup a {
  color: #fff;
  text-decoration: underline;
}
.close-btn {
  position: absolute;
  top: 5px;
  right: 8px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
}

.bam-entry {
	border-bottom: solid thin darkgrey;
}
