
.filter-button-default,
.filter-tab-button {
    display: flex;
    justify-content: center;
    margin: -10px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;

    @media #{$sm-layout} {
        margin: -5px;
    }
    button {
        border: 0 none;
        padding: 0px 35px;
        text-transform: capitalize;
        background: var(--color-white);
        color: var( --color-body);
        margin: 10px;
        box-shadow: var(--shadow-1);
        height: 65px;
        line-height: 65px;
        border-radius: 500px;
        font-size: 18px;
        letter-spacing: -0.6px;
        transition: 0.4s;
        position: relative;
        @media #{$laptop-device} {
            padding: 0px 20px;
        }
        @media #{$lg-layout} {
            padding: 0px 20px;
        }
        @media #{$md-layout} {
            padding: 0px 24px;
        }
        @media #{$sm-layout} {
            padding: 0 20px;
            height: 48px;
            line-height: 48px;
            margin: 5px;
            font-size: 16px;
        }
        .course-number {
            position: absolute;
            display: inline-block;
            right: 20px;
            font-size: 14px;
            top: 8px;
            line-height: initial;
            opacity: 0.5;
            @media #{$sm-layout} {
                right: 10px;
                top: 4px;
            }
        }
        &.is-checked,
        &.active,
        &:hover {
            background-color: var(--color-primary);
            color: var(--color-white) !important;
        }
    }
}



.filter-tab-button {
    @extend %liststyle;
    li {
        margin: 0;
    }
}

/*----------------------------------
    Portfolio Grid Layout  
----------------------------------*/

.grid-metro2 {
    margin: 0 -15px;
    .maso-item {
        width: 50%;
        padding: 0 15px;
        margin-top: 30px;
        @media #{$large-mobile} {
            width: 100%;
        }
    }
    .resizer {
        width: 50%;
        @media #{$large-mobile} {
            width: 100%;
        }
    }
}





.grid-metro3 {
    margin: 0 -15px;
    .maso-item {
        width: 33.33%;
        padding: 0 15px;
        margin-top: 30px;
        @media #{$md-layout} {
            width: 50%;
        }
        @media #{$sm-layout} {
            width: 50%;
        }
        @media #{$large-mobile} {
            width: 100%;
        }
    }
    .resizer {
        width: 33.33%;
        @media #{$md-layout} {
            width: 50%;
        }
        @media #{$sm-layout} {
            width: 50%;
        }
        @media #{$large-mobile} {
            width: 100%;
        }
    }
}

.demo-presentation-mesonry {
    &.grid-metro3 {
        margin: 0 -60px;

        @media #{$lg-layout} {
            margin: 0 -15px;
        }
        @media #{$md-layout} {
            margin: 0 -15px;
        }
        @media #{$sm-layout} {
            margin: 0 -15px;
        }
        .maso-item {
            padding: 0 60px;
            margin-top: 60px;
            @media #{$lg-layout} {
                padding: 0 15px;
            }
            @media #{$md-layout} {
                padding: 0 15px;
            }
            @media #{$sm-layout} {
                padding: 0 15px;
            }
        }
    }
}


/*---------------------
    Extra Css  
-----------------------*/
.bg-gradient-8 {
    .filter-button-default button, 
    .filter-tab-button button {
        box-shadow: var(--shadow-5);
    }
    .rbt-team-modal-thumb .rbt-team-thumbnail {
        box-shadow: var(--shadow-2);
        background: var(--white-opacity);
    }
}






