.tabs-content a:hover, a:focus {
    text-decoration: none;
    outline: none;
}
.tabs-content {
    font-family: 'Montserrat', sans-serif;
}
.tabs-content .nav {
    padding: 0 5px 10px 0;
    margin: 0;
    border: none;
}   
.tabs-content .nav a {
    color: #333;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
    padding: 13px 12px 10px;
    margin: 0 10px 7px 0;
    border-radius: 30px;
    border: none;
    display: block;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: all 0.1s ease;
}
.tabs-content .nav a.active,
.tabs-content .nav a:hover,
.tabs-content .nav a.active:hover {
    color: #fff;
    background: #fff;
    border: none;
    text-shadow: 0 0 5px #333;
}
.tabs-content .nav a:before,
.tabs-content .nav a:after {
    content: '';
    background: linear-gradient(to right bottom, #EA2027,transparent,transparent);
    height: 60%;
    width: 50%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    transition: all 0.3s;
}
.tabs-content .nav a:after {
    background: linear-gradient(to left top, #EA2027,transparent,transparent);
    left: auto;
    right: 0;
    top: auto;
    bottom: 0;
}
.tabs-content .nav a:hover:before,
.tabs-content .nav a.active:before,
.tabs-content .nav a.active:hover:before {
    width: 150%;
    height: 150%;
}
.tabs-content .nav a:hover:after,
.tabs-content .nav a.active:after,
.tabs-content .nav a.active:hover:after {
    width: 150%;
    height: 150%;
}

.nav-tabs {
    border-bottom: none;
}

@media only screen and (max-width: 479px) {
    .tabs-content .nav {
        padding: 0;
        margin: 0 0 5px;
    }
    .tabs-content .nav a {
        width: 100%;
        text-align: center;
        margin: 0 0 10px;
    }
}