﻿motion-tabs {
    position: relative;
    width: 100%;
    height: auto;
    background: #fff;
    border-radius: 0;
    padding: 3px 0;
}

    motion-tabs > nav.tab-headers {
        position: relative;
        overflow-x: auto;
        border-bottom: 1px solid #d2d2d2;
        text-align: left;
        white-space: nowrap;
    }

    motion-tabs > nav.tab-headers.align-left {
        text-align: left;
    }

        motion-tabs > nav.tab-headers.align-right {
            text-align: right;
        }

        motion-tabs > nav.tab-headers.align-center {
            text-align: center;
        }

        motion-tabs > nav.tab-headers .tab-header {
            position: relative;
            display: inline-block;
            list-style-type: none;
            margin-right: 5px;
            padding: 10px 16px;
            color: #6e6e6e;
            font-size: 15px;
            font-family: 'ABBvoice', sans-serif;
            font-weight: 600;
            text-transform: uppercase;
            cursor: pointer;
            -moz-user-select: none;
            -ms-user-select: none;
            -webkit-user-select: none;
            user-select: none;
            border-bottom: 2px solid transparent;
            border-right: 1px solid #d2d2d2;
            border-left: 1px solid #d2d2d2;
            border-top: 1px solid #d2d2d2;
            border-top-left-radius: 4px;
            border-top-right-radius: 4px;
            -moz-transition: all .2s cubic-bezier(.4, 0, .2, 1) 0s;
            -o-transition: all .2s cubic-bezier(.4, 0, .2, 1) 0s;
            -webkit-transition: all .2s cubic-bezier(.4,0,.2,1) 0s;
            transition: all .2s cubic-bezier(.4,0,.2,1) 0s;
        }

        motion-tabs > nav.tab-headers .tab-header:first-child {
            margin-left: 0;
        }

        motion-tabs > nav.tab-headers .tab-header:last-child {
            margin-right: 0;
        }

            motion-tabs > nav.tab-headers .tab-header.active {
                color: #262626;
                background: #f0f0f0;
                border-bottom-color: #ff000f;
                border-right-color: #b3b3b3;
                border-left-color: #b3b3b3;
                border-top-color: #b3b3b3;
            }

                motion-tabs > nav.tab-headers .tab-header.active:hover {
                    border-bottom-color: #ff000f;
                }

            motion-tabs > nav.tab-headers .tab-header:hover {
                color: #262626;
                border-right-color: #b3b3b3;
                border-left-color: #b3b3b3;
                border-top-color: #b3b3b3;
                border-bottom-color: #b3b3b3;
            }

            motion-tabs > nav.tab-headers .tab-header.custom:hover {
                color: #262626;
                border-bottom-color: #b3b3b3;
                border-right-color: #b3b3b3;
                border-left-color: #b3b3b3;
                border-top-color: #b3b3b3;
            }

            motion-tabs > nav.tab-headers .tab-header.custom {
                color: #6e6e6e;
                background: #fff;
                border-bottom: 2px solid #d2d2d2;
                border-right: 2px dashed #d2d2d2;
                border-left: 2px dashed #d2d2d2;
                border-top: 2px dashed #d2d2d2;
                margin-right: 15px;
            }

            motion-tabs > nav.tab-headers .tab-header.active.custom {
                color: #262626;
                background: #fff;
                border-bottom: 2px solid #ff000f;
                border-right: 2px dashed #b3b3b3;
                border-left: 2px dashed #b3b3b3;
                border-top: 2px dashed #b3b3b3;
            }

            motion-tabs > nav.tab-headers .tab-header > .close-btn {
                position: absolute;
                top: -6px;
                right: 1px;
                width: 16px;
                height: 16px;
            }

            motion-tabs > nav.tab-headers .tab-header.custom > .close-btn {
                display: none;
            }

                motion-tabs > nav.tab-headers .tab-header > .close-btn:hover::after {
                    color: #262626;
                }

                motion-tabs > nav.tab-headers .tab-header > .close-btn::after {
                    content: '\f057';
                    position: absolute;
                    font-family: Font Awesome\ 5 Free;
                    font-weight: 900;
                    font-size: 14px;
                    color: #6e6e6e;
                }

        motion-tabs > nav.tab-headers.is-remove .tab-header {
            padding: 16px 16px 5px 16px;
        }

    motion-tabs > section.tab-contents {
        padding: 15px;
        overflow: hidden;
        font-family: 'ABBvoice', sans-serif;
        font-weight: 200;
        font-size: 20px;
        background-color: #fff;
        margin: 20px 0;
        padding: 0;
        line-height: 32px;
    }

        motion-tabs > section.tab-contents .tab-content {
            display: none;
            -moz-transition: all .4s cubic-bezier(0, 0, .2, 1) 0s;
            -o-transition: all .4s cubic-bezier(0, 0, .2, 1) 0s;
            -webkit-transition: all .4s cubic-bezier(0,0,.2,1) 0s;
            transition: all .4s cubic-bezier(0,0,.2,1) 0s;
        }

            motion-tabs > section.tab-contents .tab-content.active {
                display: block;
                opacity: 1;
            }


