/*
 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
*/

html {
	scroll-padding-top: 10rem;
}

/* link underlines and style */

body a:not(.no-underline, .brxe-button) {
    color: unset;
    text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 0.4px !important;
}

body a.underline-animation, body .underline-animation a {
	text-decoration: none;
	position: relative;

}
/* Fade in */
body a.underline-animation::after, body .underline-animation a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 1px;
	background-color: white;
	opacity: 0;
		transform: translate3d(0, 0.2em, 0);
	transition: opacity 200ms, transform 200ms;
}

body a.underline-animation:hover::after, body .underline-animation a:hover::after,
body a.underline-animation:focus::after, body .underline-animation a:focus::after {
	opacity: 1;
	transform: translate3d(0, -0.1em, 0);
}
/* link underline animation END */


h1, h2, h3 {
	text-wrap: pretty;
}

li.menu-item-has-children > div > a::after { opacity: 0 !important }

li.menu-item-has-children > ul > li:not(.extern) a::after { content: unset !important }