/*
 Theme Name:   Bricks Child Theme - TBL Group
 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
--------------------------------------------- */
html {
  scroll-padding-top: 81px;
}

/* Primary Navigation
--------------------------------------------- */
.link-hover-underline,
#nav-primary .menu-item a {
  position: relative;
}

#nav-primary .menu-item a:hover,
.nav-active {
  color: var(--red);
}

.link-hover-underline:after,
#nav-primary .menu-item a:after {
  position: absolute;
  content: "";
  width: 0%;
  height: 2px;
  background: var(--red);
  left: auto;
  right: 0;
  bottom: 0;
  transition: 0.4s linear;
  -webkit-transition: 0.2s linear;
  border: none;
}

#nav-primary .menu-item a:after {
  height: 3px;
  transform: translateY(17px);
}

.link-hover-underline:hover:after,
#nav-primary .menu-item a:hover:after,
#nav-primary .menu-item a.nav-active:after {
  right: auto;
  left: 0;
  width: 100%;
}

.logo-marquee {
  overflow: hidden;
}
.logo-marquee__track {
  flex-direction: row;
  flex-wrap: nowrap;
  width: max-content;
}
