.dropdown {
    display:        flex;
    flex-direction: column;

    height:         40px;
    width:          150px;

    border:         1px solid #ddd;

    > .item {
        display:          none;
        flex-direction:   row;
        flex-wrap:        nowrap;
        align-items:      center;
        min-height:       40px;
        padding:          0 10px;
        order:            2;
        cursor:           pointer;
        background-color: azure;
        visibility:       hidden;
        opacity:          0;
        transition:       all ease-out 0.8s;

        &:not(.active) {
            border-left:  1px solid #ddd;
            border-right: 1px solid #ddd;

            &:first-child {
                border-top: 1px solid #ddd;
            }

            &:last-child {
                border-bottom: 1px solid #ddd;
            }
        }

        &.active {
            display:       flex;
            order:         1;
            visibility:    inherit;
            opacity:       1;
            margin-bottom: 10px;
        }
    }

    &:hover {
        > .item {
            display:    flex;
            z-index:    1000;
            visibility: inherit;
            opacity:    1;
        }
    }

    transition:     all ease-out 0.8s;
}

/*
.dropdown {
    //@extend .display-flex;
    //@extend .position-relative;

    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;

    position: relative;

    overflow: hidden;
    height: 40px;
    //width: 100px;

    background-color: rgb(163, 209, 211);

    &:hover {
        overflow: visible;
    }

    //> .pick {
    //}

    > .menu {
        position: absolute;
        top: 100%;
        left: 0;
        display: flex;
        flex-direction: column;

        background-color: rgb(194, 218, 219);

        > .item {
            &.active {
                display: none;
            }
        }
    }

    .dropdown-container {
        @extend .position-absolute;

        right: auto;
        left: auto;

        .dropdown-item {
            pointer-events: all;
            cursor: pointer;

            background-color: rgb(194, 218, 219);

            &:first-child {
                height: 40px;
            }

            //&.active {
            //}
        }
    }
}

.dropdown-2 {
    display: inline-grid;

    grid-template-columns: auto;
    grid-template-rows: 40px;
    grid-auto-flow: row;
    grid-auto-rows: 40px;

    position: relative;

    &:hover {
        grid-auto-rows: auto;
    }

    .dropdown-item {
        &:first-child {
            position: relative;
        }

        position: absolute;
    }
}
*/
