.cofoundry-sv__mini-menu {
    width: 90px;
    height: 100%;
    position: relative;
    float: left;
    margin: 0;

    &:hover {
        .cofoundry-sv__mini-menu__content {
            display:block;
        }

        .cofoundry-sv__mini-menu__toggle {
            background-color: $color-secondary-dark;
            color: #fff;
        }
    }
}

.cofoundry-sv__mini-menu--flow {
    width:100%;
}

.cofoundry-sv__mini-menu__content {
    @include transform(translate(0%, -100%));
    display:none;
    background-color: $color-secondary-dark;
    position: absolute;
    top: 0;
    width: 320px;
    padding:0;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;

    .cofoundry-sv__mini-menu--large & {
        width: 480px;
        padding: 15px 25px 30px;
    }

    .cofoundry-sv__mini-menu--flow & {
        width: 100%;
    }

    .cofoundry-sv__mini-menu--align-left & {
        border-top-left-radius: 0px;
    }

    .cofoundry-sv__mini-menu--align-right & {
        @include transform(translate(-50%, -100%));
        left: 50%;
        border-top-right-radius: 0px;
    }

    h3 {
        font-family:$fontstack-default;
        font-size: 14px;
        font-weight:normal;
        margin: 0 0 10px;
        color:#fff;
        padding: 15px 15px 0;
    }
}

.cofoundry-sv__mini-menu__toggle {
    display: block;
    border: 0;
    border-left: 1px solid $color-secondary-dark;
    width: 100%;
    height: 100%;
    background-color: transparent;
    outline: none;
    color: #fff;
    font-size: 10px;

    &.active {
        background-color: $color-offblack;
        color: #fff;
    }

    .cofoundry-sv__mini-menu--flow & {
        text-align: left;
    }

    img.cofoundry-sv__logo {
        display: block;
        position: relative;
        max-width: 30px;
        margin: 0 auto;
        padding-top: 20px;
    }
}

.cofoundry-sv__mini-menu:last-of-type {
    .cofoundry-sv__mini-menu__toggle {
        //border-right:1px solid $color-midgrey;
    }
}

.cofoundry-sv__mini-menu.active {
    .cofoundry-sv__mini-menu__content {
        display: block;
    }  

    .cofoundry-sv__mini-menu__toggle {
        background-color: #333841;
        color: #fff;
    } 
} 