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

/*
 * FOOTER
 */
#footer-content {
	background: rgba(255, 255, 255, 0.2);
	border-radius: 14px 14px 0 0;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

/*
 * FACT-BOX STARTSEITE
 */
.rwp-category-box:hover {
	background-color: var(--primary) !important;
}

.rwp-category-box:hover .brxe-text-basic,
.rwp-category-box:hover a {
	color: var(--white) !important;
}


/*
 * WERK INFO BOX
 */
.rwp-werk-info-section {
	counter-reset: section;
}

.rwp-werk-info-box {
	counter-increment: section;
}

.rwp-werk-info-box h3::before {
	content: counter(section, decimal-leading-zero);
	color: var(--white);
	font-weight: 400;
	display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: calc(var(--text-s)*1.2);
}

.rwp-werk-info-box .rwp-werk-kurzbeschreibung {
	height: 0;
	opacity: 0;
	transition: all .2s ease-in-out; 
}

.rwp-werk-info-box:hover .rwp-werk-kurzbeschreibung {
	height: Auto;
	opacity: 1;
	transition: all .2s ease-in-out; 
}

.rwp-werk-info-box .bricks-button {
	margin-top: -1rem;
	transition: all .2s ease-in-out; 
}

.rwp-werk-info-box:hover .bricks-button {
	margin-top: 0;
	transition: all .2s ease-in-out; 
}

@media only screen and (max-width: 767px) {
	.rwp-werk-info-box .rwp-werk-kurzbeschreibung {
		height: Auto;
		opacity: 1;
		margin-bottom: 1rem
	}	
}

/*
 * BACK TO TOP BUTTON
 */
#back-to-top-button:hover {
	transform: scale(0.9);
	transition: transform .2s ease-in-out;
}

#back-to-top-button {
	transition: all .2s ease-in-out;
}

/*
 * MENU NAV
 */
#desktop-nav li.current-menu-item a::before {
	content: "";
	height: 5px;
	width: 5px;
	background-color: var(--tertiary);
	border-radius: 50%;
	position: relative;
	transition: all .2s ease-in-out;
}

#desktop-nav li a {
	display: flex;
	justify-content: center;
	align-items: center;
    gap: 0.5rem;
}

#desktop-nav li:hover a {
	color: var(--primary) !important;
	transition: all .2s ease-in-out;
}

#desktop-nav li.current-menu-item:hover a::before {
	background-color: var(--primary);
	transition: all .2s ease-in-out;
}


/*
 * WERK DETAILSEITE TEMPLATE
 */
#werk-besonderheiten-list ul {
	list-style-type: none;
	padding: 0;
}

#werk-besonderheiten-list ul li {
	margin-top: 1rem;
}