.fl-menu li.mitypes-custom-heading{
    padding: 2.5rem;
    background-color: #313131;
    border-radius: .5rem;
}

.fl-menu li.mitypes-custom-heading .custom-heading{
    display: block;
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.2;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}



header li.mitypes-custom-heading .custom-heading.grid + ul::before,
header li.mitypes-custom-heading .custom-heading.grid + ul::after {
    display: none;
}

header li.mitypes-custom-heading ul li:not([class*="mitypes"]) a{
    padding: 0;
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header li.mitypes-custom-heading ul li:not([class*="mitypes"]) a::after{
    content: '';
    width: 1rem; height: .5rem;
    background-color: currentColor;
    display: block;

    --mask-url: url("data:image/svg+xml,%3Csvg width='18' height='8' viewBox='0 0 18 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.8333 7.16667L17.1667 3.83333L13.8333 0.5M17.1667 3.83333H0.5' stroke='white' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    mask: var(--mask-url) no-repeat center / contain;
    -webkit-mask: var(--mask-url) no-repeat center / contain;

    transition: transform 200ms ease-in-out;
}

header li.mitypes-custom-heading ul li:not([class*="mitypes"]) a:hover{
    color: #fff !important;
}

header li.mitypes-custom-heading ul li:not([class*="mitypes"]) a:hover::after{
    transform: translateX(.25rem);
}

header li.mitypes-custom-heading .custom-heading:not(.grid) + ul li.border_top a{
    padding-top: 1.5rem;
}

header li.mitypes-custom-heading .custom-heading:not(.grid) + ul li a{
    margin-bottom: .75rem;
}


@media only screen and (min-width: 993px){
    header li.mitypes-custom-heading .custom-heading.grid + ul{
        display: grid !important;
        padding-left: 0 !important;
        grid-template-columns: repeat(2, minmax(0,1fr));
        column-gap: 6.5rem;
        row-gap: 1rem;
    }
}

@media only screen and (max-width: 992px){
    header li.mitypes-custom-heading .custom-heading:not(.grid) + ul li.border_top a{
        padding-top: 1rem;
    }

    .fl-menu li.mitypes-custom-heading{
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .fl-menu li.mitypes-custom-heading .custom-heading{
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }

    header li.mitypes-custom-heading .custom-heading + ul.sub-menu{
        display: grid !important;
        padding-left: 0 !important;
        grid-template-columns: repeat(1, minmax(0,1fr));
        column-gap: 6.5rem;
        row-gap: 1rem;
    }
}