/* BASICS */
.sm {
    position: relative;
    z-index: 8;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.sm,
.sm ul,
.sm li {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
}
.sm > li > ul {
    display: none;
}
.sm li,
.sm a,
.sm a:link,
.sm a:hover,
.sm a:active,
.sm a:visited,
.sm a:focus {
    /*position: relative;*/
    white-space: nowrap;
    display: block;
}
.sm a.disabled {
    cursor: default;
}
/* ###### */
/* RESPONSIVE */
/* ########## */


/* ###################################################################################################### */
/* ###################################################################################################### */


/* FIRST LEVEL */
#menu {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
    #menu > li {
    }
    #menu > li + li {
        margin-left: 40px;
    }
        #menu > li > a,
        #menu > li > a:link,
        #menu > li > a:hover,
        #menu > li > a:active,
        #menu > li > a:visited,
        #menu > li > a:focus {
            position: relative;
            line-height: 2.5;
        }
        #menu > li > a:hover,
        #menu > li > a.highlighted,
        #menu > li > a.highlighted:link,
        #menu > li > a.highlighted:hover,
        #menu > li > a.highlighted:active,
        #menu > li > a.highlighted:visited,
        #menu > li > a.highlighted:focus {
            color: #000;
        }
            #menu > li .sub-arrow {
                display: none;
                width: 8px;
                height: 8px;
                position: absolute;
                top: 50%;
                right: 8px;
                transform: translateY(-75%) rotate(45deg);
                border-right: 1px solid #404042;
                border-bottom: 1px solid #404042;
            }
            #menu > li .highlighted .sub-arrow {
                transform: translateY(-25%) rotate(-135deg);
            }
/* ########### */
/* RESPONSIVE */
@media (max-width: 1000px) {
    #menu {
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
    }
        #menu > li + li {
            margin-left: 0;
            border-top: 1px solid #f4f3e9;
        }
            #menu > li > a,
            #menu > li > a:link,
            #menu > li > a:hover,
            #menu > li > a:active,
            #menu > li > a:visited,
            #menu > li > a:focus {
                text-align: center;
                text-transform: uppercase;
            }
                #menu > li .sub-arrow {
                    display: inline-block;
                }
}
/* ########## */


/* ###################################################################################################### */
/* ###################################################################################################### */


/* SECOND LEVEL */
#menu ul {
    position: absolute;
    justify-content: space-between;
    align-items: flex-start;
    background-color: rgba(255, 255, 255, .9);
    padding: 32px 0 64px 0;
}
#menu ul::before,
#menu ul::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 8888rem;
    background-color: rgba(255, 255, 255, .9);
}
#menu ul::before {
    left: 0;
    transform: translateX(-100%);
}
#menu ul::after {
    right: 0;
    transform: translateX(100%);
}
    #menu ul a,
    #menu ul a:link,
    #menu ul a:hover,
    #menu ul a:active,
    #menu ul a:visited,
    #menu ul a:focus {
        font-size: 18px;
        line-height: 2;
    }
/* special */
#menu ul .navigation-topic {
    margin-bottom: 24px;
}   
    #menu ul .navigation-topic p {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }
        #menu ul .navigation-topic p span {
            display: inline-block;
            line-height: 1.25;
        }
        #menu ul .navigation-topic p span:nth-child(1) {
            font-size: 18px;
            font-weight: 700;
        }
        #menu ul .navigation-topic p span:nth-child(2) {
            font-size: 14px;
        }
#menu > li:first-child li a,
#menu > li:first-child li a:link,
#menu > li:first-child li a:hover,
#menu > li:first-child li a:active,
#menu > li:first-child li a:visited,
#menu > li:first-child li a:focus {
    position: relative;
    text-transform: uppercase;
    padding-left: 48px;
}
#menu > li:first-child li a::before,
#menu > li:first-child li a:link::before,
#menu > li:first-child li a:hover::before,
#menu > li:first-child li a:active::before,
#menu > li:first-child li a:visited::before,
#menu > li:first-child li a:focus::before {
    content: '';
    position: absolute;
    top: 13px;
    left: 0;
    font-size: 14px;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    font-style: italic;
}
#menu > li:first-child li:nth-child(1) a::before,
#menu > li:first-child li:nth-child(1) a:link::before,
#menu > li:first-child li:nth-child(1) a:hover::before,
#menu > li:first-child li:nth-child(1) a:active::before,
#menu > li:first-child li:nth-child(1) a:visited::before,
#menu > li:first-child li:nth-child(1) a:focus::before {
    content: '2 pax';
}
#menu > li:first-child li:nth-child(1) a:last-of-type::before,
#menu > li:first-child li:nth-child(1) a:last-of-type:link::before,
#menu > li:first-child li:nth-child(1) a:last-of-type:hover::before,
#menu > li:first-child li:nth-child(1) a:last-of-type:active::before,
#menu > li:first-child li:nth-child(1) a:last-of-type:visited::before,
#menu > li:first-child li:nth-child(1) a:last-of-type:focus::before {
    content: '4 pax';
}
#menu > li:first-child li:nth-child(2) a::before,
#menu > li:first-child li:nth-child(2) a:link::before,
#menu > li:first-child li:nth-child(2) a:hover::before,
#menu > li:first-child li:nth-child(2) a:active::before,
#menu > li:first-child li:nth-child(2) a:visited::before,
#menu > li:first-child li:nth-child(2) a:focus::before {
    content: '6 pax';
}
#menu > li:first-child li:nth-child(3) a::before,
#menu > li:first-child li:nth-child(3) a:link::before,
#menu > li:first-child li:nth-child(3) a:hover::before,
#menu > li:first-child li:nth-child(3) a:active::before,
#menu > li:first-child li:nth-child(3) a:visited::before,
#menu > li:first-child li:nth-child(3) a:focus::before {
    content: '8 pax';
}
/* ******* */
/* ############ */
/* RESPONSIVE */
@media (max-width: 1000px) {
    #menu ul {
        position: static;
        /*justify-content: space-between;
        align-items: flex-start;*/
        background-color: transparent;
        padding: 0 0 40px 0;
    }    
    #menu ul::before,
    #menu ul::after {
        content: none;
    }
        #menu ul a,
        #menu ul a:link,
        #menu ul a:hover,
        #menu ul a:active,
        #menu ul a:visited,
        #menu ul a:focus {
            font-size: 16px;
        }
    /* special */
    #menu ul .navigation-topic {
        margin-bottom: 16px;
    }   
        #menu > li:first-child li a::before,
        #menu > li:first-child li a:link::before,
        #menu > li:first-child li a:hover::before,
        #menu > li:first-child li a:active::before,
        #menu > li:first-child li a:visited::before,
        #menu > li:first-child li a:focus::before {
            top: 10px;
        }
    /* ******* */
}
@media (max-width: 820px) {
    /* special */
    #menu ul .navigation-topic {
        margin-bottom: 8px;
    }   
        #menu > li:first-child li a,
        #menu > li:first-child li a:link,
        #menu > li:first-child li a:hover,
        #menu > li:first-child li a:active,
        #menu > li:first-child li a:visited,
        #menu > li:first-child li a:focus {
            padding-left: 44px;
        }
    /* ******* */
}
@media (max-width: 600px) {
    #menu ul {
        flex-direction: column;
        align-items: center;
        padding-bottom: 24px;
    }
        /*#menu ul a,
        #menu ul a:link,
        #menu ul a:hover,
        #menu ul a:active,
        #menu ul a:visited,
        #menu ul a:focus {
            text-align: center;
        }*/
    /* special */
    #menu > li:first-child li {
        padding-top: 16px;
    }
    #menu > li:first-child li + li {
        border-top: 1px solid #f4f3e9;
        margin-top: 16px;
    }
        #menu ul .navigation-topic {
        }
            #menu ul .navigation-topic p {
                align-items: center;
            }
            #menu ul .navigation-topic p span:nth-child(1) {
                font-size: 16px;
            }
        #menu ul > li > div:nth-child(2) {
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
        }
    /*#menu > li:first-child li {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #menu > li:first-child li + li {
        margin-top: 24px;
    }
        #menu > li:first-child li > div.navigation-topic {
            width: 38%;
            margin-bottom: 0;
            padding-right: 16px;
        }   
            #menu ul .navigation-topic p {
                align-items: flex-end;
            }
            #menu ul .navigation-topic p span:nth-child(1) {
                font-size: 16px;
            }
        #menu > li:first-child li > div:last-child {
            width: 62%;
            border-left: 1px solid #f4f3e9;
            padding-left: 16px;
        }*/
    /* ******* */
}
/* ########## */