/**
 * Theme Name:      bxa Child Theme
 * Theme URI:       https://www.elegantthemes.com/gallery/divi/
 * Description:     A child theme for Divi created by Divi Assistant.
 * Author:          bohne &amp; abt
 * Author URI:      https://www.bohne-abt.com/
 * Template:         Divi
 * Version:         1.0.0
 * Text Domain:     bxa-child-theme
 * License:         GPL2
 * License URI:     https://www.gnu.org/licenses/gpl-2.0.html
 */
  
 
/* ---------------------- Theme customization starts here ---------------------- */

/* Navigation */
.et_mobile_menu .dropdown-toggle {
  display: none;
}

.et_mobile_menu .menu-item-has-children>a {
  background-color: unset !important;
}

.et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a:after {
      transform: translate(15px, -6px) !important;
}

.et-menu .menu-item-has-children {
	padding-right: 21px !important;
}

@media (min-width: 1200px) {
	.et_pb_menu .et-menu>li {
		padding-left: 40px !important;
	}
}

@media (min-width: 1400px) {
	.et_pb_menu .et-menu>li {
		padding-left: 50px !important;
	}
}


/* CTA Bewerbung */
.cta-bewerbung .et_pb_image_wrap {
	width: 100%;
}

.cta-bewerbung .et_pb_image_wrap img {
	width: 100% !important;
}



/* Team Members */
.et_pb_team_member_image {
	max-width: 500px !important;
}

.mitarbeiter-grid .et_pb_team_member {
    flex-direction: column;
}

.mitarbeiter-grid .et_pb_team_member_description {
	padding-top: 10px;
}

.mitarbeiter-grid .et_pb_team_member_image {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
	max-width: 400px !important;
}

.mitarbeiter-grid .et_pb_team_member_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}


/* Jobs list */
.cpt-liste-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.jobs-list .cpt-liste-wrapper:first-child {
	border-top: 1px solid white;
	padding-top: 1rem;
}

/* list-item */
.jobs-list .cpt-list-item {
	display: flex;
    justify-content: space-between;
    align-items: center;
	border-bottom: 1px solid white;
	padding-top: 1rem;
	padding-bottom: 2rem;
	
}

/* title */
.jobs-list .cpt-list-title {
	color: white;
    font-weight: 600;
	font-size: 24px;
	line-height: 1.2em;
}

@media (max-width: 480px) {
	.jobs-list .cpt-list-title {
		text-align: center;
	}
}

@media (min-width: 981px) {
	.jobs-list .cpt-list-title {
		font-size: 28px !important;
		line-height: 1.2em;
		padding-left: 1em;
	}
}

/* link */ 
.jobs-list .cpt-list-item .cpt-list-link {
	text-decoration: none;
	display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 480px) {
  	.jobs-list .cpt-list-item .cpt-list-link {
  		display: flex;
    	flex-direction: column; 
		justify-content: center;
    	width: 100%;
		gap: 1em;
		padding-left: 0 !important;
  	}
}

@media (max-width: 980px) {
	.jobs-list .cpt-list-item .cpt-list-link {
		display: flex;
		justify-content: space-between;
		align-items: center;
		width: 100%
	}
}

/* icon */
.jobs-list .cpt-list-icon svg {
	fill: #ffffff;
    display: block;
    height: 28px;
	margin-left:10px
}


@media (min-width: 481px) {
	.jobs-list .cpt-list-icon {
		margin-left: 1rem; 
	}
}


/* Teaser Image */
@media (min-width: 981px) {
	.teaser-image {
		height: 100%;
	} 

	.teaser-image span.et_pb_image_wrap {
		height: 100%;
	}

	.teaser-image img {
		height: 100%;
		object-fit: cover;
		object-position: center;
	}
}


/* Kontakt */
@media (max-width: 480px) {
  .kontakt-button a span:first-child {
    display: block; 
    width: auto;    
  }

  .kontakt-button a span:last-child {
    display: block;
  }
}

@media (min-width: 481px) {
	.kontakt-button a span:first-child {
	  display: inline-block;
		white-space: nowrap;
		width: 100px;

	}
	.kontakt-button a span:last-child {
	  display: inline-block;
	}	
}


/* Number Counter */
.counter .percent {
	margin-bottom: 0 !important;
}


/* Werte */
.et_pb_main_blurb_image {
	width: 40px;
}

.et_pb_blurb_description {
	margin-left: -48px;
}


/* Blog-Grid */
.blog-grid img {
	aspect-ratio: 1/1;
	object-fit: cover;
}

.blog-grid .entry-title,
.blog-grid .post-content {
	margin-left: -20px;
	margin-right: -20px;
}

/* Icon Pfeil nach dem Button-Text */
.et_pb_post .more-link:after {
content: "\35";
font-family: ETModules;
vertical-align: bottom;
margin-left: 5px;
}


/* Box-Grid Startseite */
/* Farbliche Anpassungen */
.grid-item.purple {
  background-color: #5a2ca0;
  color: white;
}

.grid-item.orange {
  background-color: #f4c28b;
}

.grid-item.green {
  background-color: #4b817d;
  color: white;
}

@media (min-width: 480px) and (max-width: 767px) {
	.box-grid .et_pb_column {
		margin-bottom: 60px !important;
	}
}

@media (min-width: 480px) and (max-width: 767px) {
	.box-grid {
		min-height: 1400px !important;
	}
}

/* Box-Site mobil */
@media (max-width: 479px) {
	.box-height-33-percent {
		height: auto !important;
	}

	.box-height-66-percent {
		height: auto !important;
	}

	.box-height-50-percent {
		height: auto !important;
	}
}

/* Box-Site tablet */
@media (min-width: 480px) {
	.box-height-33-percent {
		height: calc((100% - 30px) / 3);
	}

	.box-height-66-percent {
		height: calc((100% - 30px) / 3 * 2);
	}

	.box-height-50-percent {
		height: calc(100% - 30px) / 2;
	}
	
	.box-image-height-66-percent {
		height: calc((100% - 30px) / 3 * 2);
		
	}
	.box-image-height-66-percent span.et_pb_image_wrap {
		height: 100%;
	}
	.box-image-height-66-percent span.et_pb_image_wrap img {
		height: 100% !important;
		object-fit: cover;
  		object-position: center;
	}
}

/* Font size (Text-Box-Grid)*/

@media (min-width: 981px) and (max-width: 1200px) {
	.box-grid .box-text {
		font-size: 24px !important;
		padding: 20px !important;
		background-position: right 20px top 20px !important;
	}
}

/*Font Weight H2 in Jobs Callout */
h2, .et-db #et-boc .et-l h2 {font-weight:600!important}
