/*****************************/
/* Icon box */
/*****************************/

.tabs-style-iconbox nav {
	background: rgba(255,255,255,0.4);
}

    .tabs-style-iconbox nav ul li a {
        overflow: visible;
        padding: 20px 0;
        border-radius: 3px;
        -webkit-transition: color 0.2s;
        transition: color 0.2s;
        color: #5a5a5a;
        -webkit-transition: color 0.3s, -webkit-transform 0.3s;
        transition: color 0.3s, transform 0.3s;
    }

        .tabs-style-iconbox nav ul li a:hover {
    
           -webkit-transform: translate3d(0,8px,0);
            transform: translate3d(0,8px,0);
        }


        
        .tabs-style-iconbox nav ul li a span {
            font-weight: 700;
            font-size: 15px;
            vertical-align: middle;
            margin-top: 8px;
        }

    .tabs-style-iconbox nav ul li.tab-current {
        z-index: 100;
        opacity: 1;
        background: #bb2f35;
    }

    .tabs-style-iconbox nav ul li.tab-current a {
        color: #fff;
        box-shadow: -1px 0 0 #fff;
        /* color: #fff; */
        /*border-bottom: 10px solid #ac2b13;*/
        transition: none;
        -webkit-transition: none;
        transform: none;
    }

    .tabs-style-iconbox nav ul li img {
        text-align: center;
        width:40px;

    }

    .tabs-style-iconbox nav ul li span {
        display: block;
        text-align: center;

    }

    .tabs-style-iconbox nav ul li.tab-current a::after {
        position: absolute;
        top: 100%;
        left: 50%;
        margin-left: -20px;
        width: 0;
        height: 0;
        border: solid transparent;
        border-width: 18px;
        border-top-color: #bb2f35;
        content: '';
        pointer-events: none;
    }

  
    .tabs-style-iconbox nav ul li::after {
        position: absolute;
        top: 0%;
        right: 0;
        z-index: -1;
        width: 1px;
        height: 100%;
        background: #ddd;
        content: '';
    }

    .tabs-style-iconbox nav ul li:first-child::before {
        background: #ac2b13;
    }

.tabs-style-iconbox nav ul li:first-child::before {
	right: auto;
	left: 0;
}

.tabs-style-iconbox .icon::before {
	display: block;
	margin: 0 0 0.25em 0;
}


.tabs {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    width: 100%;
    font-weight: 300;
    font-size: 1.25em;
}


    .tabs nav {
        text-align: center;
    }

        .tabs nav ul {
            position: relative;
            display: -ms-flexbox;
            display: -webkit-flex;
            display: -moz-flex;
            display: -ms-flex;
            display: flex;
            margin: 0 auto;
            padding: 0;
            max-width: 1200px;
            list-style: none;
            -ms-box-orient: horizontal;
            -ms-box-pack: center;
            -webkit-flex-flow: row wrap;
            -moz-flex-flow: row wrap;
            -ms-flex-flow: row wrap;
            flex-flow: row wrap;
            -webkit-justify-content: center;
            -moz-justify-content: center;
            -ms-justify-content: center;
            justify-content: center;
        }

            .tabs nav ul li {
                position: relative;
                z-index: 1;
                display: block;
                margin: 0;
                text-align: center;
                -webkit-flex: 1;
                -moz-flex: 1;
                -ms-flex: 1;
                flex: 1;
                border-radius: 10px;
                /*border: 1px solid #ddd;
                border-radius: 5px;*/
                /* opacity:0.5;*/
            }

        .tabs nav a {
            position: relative;
            display: block;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        
        }

            .tabs nav a span {
                vertical-align: middle;
                font-size: 0.75em;
            }

        .tabs nav li.tab-current a {
            color: #74777b;
        }

        .tabs nav a:focus {
            outline: none;
        }

@media screen and (max-width: 58em) {
    .tabs nav a.icon span {
        display: none;
    }

    .tabs nav a:before {
        margin-right: 0;
    }
}