/*
====================
SECOND NAV
====================
*/

.second-navigation {
    background-color: var(--purple-10);
    position: sticky;
    top: var(--fd-86-64);
    z-index: 99;
    color: #fff;
    margin: 0 auto;
    padding: 16px;

    &.no {
        opacity: .5;
    }

    .wrapper {
        width: 100%;
        gap: 16px;
        flex-wrap: wrap;
        display: flex;
        align-items: center;
        justify-content: space-between;
        overflow: visible;
        @media (min-width: 1239.9px) {
            justify-content: center;
        }

        h2 {
            margin-block: 0;
            font-size: 18px;
            line-height: 18px;
            font-family: 'MonaSans';
            font-weight: 600;

            text-transform: uppercase;
            width: auto;
            flex-basis: auto;
        }

        ul {
            list-style-type: none;
            padding: 0;
            margin: 0;
            flex-wrap: wrap;
            align-items: center;
            justify-content: flex-start;
            display: none;
            gap: 2px;
            @media (min-width: 1239.9px) {
                display: flex;
            }


            li {
                padding: 0;

                a {
                    font-family: 'MonaSans';
                    font-weight: 500;
                    font-size: 14px;
                    line-height: 14px;
                    color: #FFF;
                    padding: 8px 18px;
                    border-radius: 100px;

                    &.active {
                        background-color: rgba(255, 255, 255, .15);
                        cursor: pointer;

                        &:hover {
                            background-color: rgba(255, 255, 255, .15);
                        }
                    }

                    &:hover {
                        background-color: #14B8A6;
                    }
                }


            }
        }

        .study-wrapper {
            display: none;
            @media (min-width: 1239.9px) {
                display: flex;
            }

            a {
                font-family: 'MonaSans';
                font-weight: 500;
                font-size: 14px;
                line-height: 14px;
                color: #FFF;
                padding: 12px 24px;
                border-radius: 100px;
                background-color: #14B8A6;

                &:hover {
                    background-color: #F27038;
                }
            }
        }


        select {
            font-family: 'MonaSans';
            font-weight: 500;
            font-size: 14px;
            line-height: 14px;
            display: flex;
            margin: 0;
            white-space: nowrap;
            cursor: pointer;
            transition: .4s;
            color: var(--white);
            /*background: transparent;*/
            appearance: none;
            border: none;
            appearance: none; /* Removes native dropdown styles */
            -webkit-appearance: none; /* For Safari */
            -moz-appearance: none; /* For Firefox */
            background-color: rgba(255, 255, 255, 0);
            padding-right: 15px;
            text-align: right;

            &:focus-visible {
                border: none;
                outline: none;
            }

            option {
                color: #351A61;
                background-color: #FFF;
                padding: 10px;

                &:hover {
                    color: #F27038;
                }
            }


        }

        .select {
            position: relative;
            display: flex;

            @media (min-width: 1239.9px) {
                display: none;
            }

            &:after {
                content: "";
                position: absolute;
                right: 0;
                top: calc(50% - 3px);
                border: solid var(--white);
                border-width: 0 1px 1px 0;
                display: inline-block;
                transform: translateY(-50%) rotate(45deg);
                width: 10px;
                height: 10px;
            }
        }
    }


}