/**
 * The following styles get applied both on the front of your site and in the editor.
 *
 * Replace them with your own styles or remove the file completely.
 */

.wp-block-alecan-widget-tableofcontents ul {
    display: grid;
    grid-gap: 5px;
    grid-template-columns: repeat(2, 1fr);
}

.wp-block-alecan-widget-tableofcontents ul {
    list-style: none;
    margin: 0;
    padding: 0;
    color: #fff;
}

.wp-block-alecan-widget-tableofcontents ul > li {
    background-color: #0486bf;
    position: relative;
    transition: background-color .25s ease-in-out 0s;
}

.wp-block-alecan-widget-tableofcontents ul > li > a {
    color: inherit;
    display: block;
    text-decoration: none;
    transition: border .15s ease-in-out 0s;
}


.wp-block-alecan-widget-tableofcontents ul > li > a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-bottom: 20px solid #32363d;
    border-left: 20px solid transparent;
}

.wp-block-alecan-widget-tableofcontents ul > li > a {
    padding: 10px 15px;
}

.wp-block-alecan-widget-tableofcontents ul > li:hover {
    background-color: #32363D;
}

.wp-block-alecan-widget-tableofcontents ul > li:hover  > a::after {
    border-bottom-color: #0486bf;
}


@media screen and ( min-width: 1024px ) {
    .wp-block-alecan-widget-tableofcontents ul {
        grid-template-columns: repeat(3, 1fr);
    }
}