/* Default tab style */

.tabs {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    width: 100%;
}

    /* Nav */
    .tabs nav {
        text-align: center;
    }

        .tabs nav ul {
            position: relative;
            margin: 0 auto;
            padding: 0;
            list-style: none;
        }

            .tabs nav ul li {
                position: relative;
                z-index: 1;
                display: inline-block;
                margin: 0 20px 0 0;
                text-align: center;
                border-right: 1px solid #bbb;
                padding-right: 20px;
            }

                .tabs nav ul li:last-child {
                    border-right:none;
                }

        .tabs nav a {
            position: relative;
            font-size: 14px;
            display: block;
            overflow: hidden;
            text-decoration: none;
        }

            .tabs nav a:hover {
                color: #000 !important;
            }

            .tabs nav a span {
                vertical-align: middle;
            }

        .tabs nav li.tab-current a {
            color: #222;
            font-weight: bold;
        }

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



/* Content */
.content-wrap {
    position: relative;
}

    .content-wrap section {
        display: none;
        margin: 0 auto;
        padding: 1em;
        text-align: center;
    }

        .content-wrap section.content-current {
            display: block;
        }


/* Fallback */
.no-js .content-wrap section {
    display: block;
    padding-bottom: 2em;
    border-bottom: 1px solid rgba(255,255,255,0.6);
}

.no-flexbox nav ul {
    display: block;
}

    .no-flexbox nav ul li {
        min-width: 15%;
        display: inline-block;
    }

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

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