/** @define FactModuleFilter */

@import "../shared/branding/colors.less";
@import "../shared/branding/colors.default.less";


.FactModuleFilter {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    margin-bottom: 2.8rem;

    .btn, .btn-default {
        margin-right: 20px;
        width: 10rem;
    }

    &-module {

        background-color: @enabled-item-background;
        border-color: @enabled-item-border;
        color: @default-interface-txt;

        @media screen and (max-width: 750px) {
            flex-basis: 50%;
        }
        &:active, &:focus {
            // copied from bootstrap's .btn:focus
            background-color: @default-icon-hov;
            border-color: @enabled-item-border;
            color: @enabled-item-text;
            box-shadow: none;
            z-index: 2;
        }
    }

    &-module.is-active {
        cursor: default;

        z-index: 2;

        background-color: @default-icon;
        color: #fff;
        border-color: @default-icon;

        &:active, &:focus {
            box-shadow: none;
        }

        &:hover {
            background-color: @default-as-detail-txt;
        }
    }
}
