/*
Theme Name: IMBI Small Data Theme
Author: Philipp Buss
Description: IMBI Theme for the Small Data initiative site
Version: 1.0
Requires at least: 6.7.1
Requires PHP: 8.1
Text Domain: breakdance

Requires Breakdance to be installed.
*/


/* IMBI custom start */
.breakdance .imbi-slider__two-columns-image  .bde-div {
	aspect-ratio: 8 / 5;
	overflow: hidden;
	position: relative;
	width: 100%;
	height: 100%;
}

.breakdance .imbi-slider__two-columns-image  img {
	object-fit: cover;
	display: block;
	width: 100%;
	height: 100%;
	clip-path: polygon(10% 0%,100% 0%,calc(100% - 10%) 100%,0% 100%);
}

.breakdance  .event_container .event_detail-container {
	display: none;
}

.breakdance  .event_container.open .event_detail-container {
	display: block;
}

@font-face {
  font-family: 'Agency FB';
  src: url('assets/fonts/AgencyFBBold.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* für Performance */
}

@font-face {
  font-family: 'Eurostile';
  src: url('assets/fonts/EurostileRegular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* für Performance */
}

/* IMBI custom end */

.breakdance-menu-link, h1 {
	font-family: 'Agency FB' !important;
}

.bde-menu-16-146 .breakdance-dropdown-link .breakdance-dropdown-link__icon {
	order: 2;
	margin-left: 5px;
}

.bde-menu-16-146 .breakdance-dropdown-link:hover svg {
	fill: white;
}


.bde-menu-16-146 .breakdance-dropdown-link .breakdance-dropdown-link__label {
	order: 1;
}

.bde-fancy-divider {
	margin-top: 40px !important;
	margin-bottom: 50px !important;
	--bde-fancy-divider-border-style: solid !important;
	--bde-fancy-divider-border-color: var(--bde-palette-hellgrau-6) !important;
}

.bde-shortcode {
	width: 100%;
}

.facetwp-facet input.facetwp-search, .facetwp-facet input.facetwp-location {
     min-width: auto !important;
}
.breakdance .discipline:before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
}
.breakdance .discipline.computer-science:before {
    background: #99c1cb;
}

.breakdance .discipline.biomedicine:before {
    background: #e0c1ba;
}

.breakdance .discipline {
    position: relative;
    display: inline-block;
    padding: 0 15px 0 25px;
	color: black;
}

.breakdance .discipline:hover {
	color: black;
}

.breakdance a {
	text-decoration: none !important;
}