/*
 Theme Name:     Sounds Write Custom Functionality
 Theme URI:      https://www.jtid.co.uk
 Description:    Custom functionality for SW Divi theme
 Author:         Jon Tromans
 Author URI:     https://www.jtid.co.uk
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */
/* Menu Hover Effect */
:root {
  --BottomOffset: 20px;
  --LineHeight: 5px;
  --LineColor: #febc62;
}
.ll-menu-style ul.et-menu>li>a {
	position: relative;
	z-index: 1;
}
.ll-menu-style ul.et-menu>li>a:before {
    position: absolute;
    content: '';
    display: block;
    z-index: -1;
    background: var(--LineColor);
    width: 0;
    height: var(--LineHeight);
    bottom: var(--BottomOffset);
	border-radius:var(--LineHeight);
    left: 50%;
    transition: 0.4s cubic-bezier(0.25, 0.1, 0, 2.02);
}

.ll-menu-style ul.et-menu>li>a:hover:before {
    width: calc(100% + var(--LineHeight));
    left: calc(var(--LineHeight) / -2);
}

/* Set the header buttons as inline */
.inline-buttons {
    text-align: right;
}
.inline-buttons .et_pb_button_module_wrapper {display: inline-block;}