﻿.footer .tabs-container {
    width: calc(100% - 300px);
    margin-bottom: 10px;
    height: 30px;
    display: inline-block;
    vertical-align: top;
    direction: rtl;
    text-align: right;
    overflow: hidden;
}

    .footer .tabs-container .tabs-navigator-shadow {
        height: 7px;
        position: absolute;
        width: 100%;
        top: 0px;
        z-index: 4;
        background-image: url('/images/tab-navigator-shadow.png');
        background-repeat: repeat-x;
        background-position: top;
    }

.tab-item.active {
    background-color: #118dcf;
    color: white;
    cursor: default;
}

.tab-item {
    display: inline-block;
    background-color: #F1F1F7;
    margin-left: 4px;
    position: relative;
    height: 30px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    box-shadow: -7px 0px 4px rgba(20, 20, 20, 0.08);
    cursor: pointer;
}

    .tab-item .item-close {
        font-size: 10px;
        display: inline-block;
        vertical-align: top;
        line-height: 30px;
        margin-left: 5px;
    }

        .tab-item .item-close span {
            color: rgba(0,0,0,7);
            padding: 4px;
            border-radius: 8px;
        }

            .tab-item .item-close span:hover {
                background-color: white;
                font-weight: bold;
            }

            .tab-item .item-close span.fa-circle,
            .tab-item.active .item-close span.fa-circle {
                color: #C81533;
            }

    .tab-item.active .item-close span {
        background-color: #118dcf;
        color: white;
    }

        .tab-item.active .item-close span:hover {
            background-color: #89898C;
            font-weight: bold;
        }

    .tab-item .item-name {
        height: 30px;
        line-height: 30px;
        padding: 0 10px 0 10px;
        max-width: 180px;
        overflow: hidden;
        text-align: center;
        white-space: nowrap;
        text-overflow: ellipsis;
        display: inline-block;
    }

    .tab-item.active .traingle {
        border-top-color: #118dcf;
        border-right-color: #118dcf;
    }

    .tab-item .traingle {
        position: absolute;
        left: -10px;
        top: 0;
        border-top: 24px solid #F1F1F7;
        border-right: 2px solid #F1F1F7;
        border-left: 9px solid transparent;
        border-bottom: 7px solid transparent;
    }


/*ltr*/
body.ltr .tabs-container {
    direction: ltr;
    text-align: left;
}

body.ltr .tab-item {
    margin-left: auto;
    margin-right: 4px;
}

    body.ltr .tab-item .traingle {
        right: -18px;
        left: auto;
        border-left: 7px solid #F1F1F7;
        border-right: 12px solid transparent;
    }
