﻿a:hover, a:focus {
    text-decoration: none;
    outline: none;
}

.tab {
    font-family: 'Nunito', sans-serif;
}

    .tab .nav-tabs {
        background-color: transparent;
        border: none;
    }

        .tab .nav-tabs li a {
            color: #222;
            background: transparent;
            font-size: 18px;
            font-weight: 800;
            letter-spacing: 1px;
            text-align: center;
            text-transform: uppercase;
            padding: 15px 15px 10px;
            margin: 0;
            border: none;
            border-radius: 0;
            overflow: hidden;
            position: relative;
            z-index: 1;
            transition: all 0.3s ease 0s;
        }

        .tab .nav-tabs li:last-child a {
            margin-right: 0;
        }

        .tab .nav-tabs li a:hover,
        .tab .nav-tabs li.active a {
            color: #222;
            background: #fff;
            border: none;
        }

        .tab .nav-tabs li.active a {
            color: #6CBF1C;
        }

        .tab .nav-tabs li a:before,
        .tab .nav-tabs li a:after {
            content: "";
            background-color: #d1d1d1;
            height: 7px;
            width: 100%;
            position: absolute;
            top: 0;
            left: 0;
            z-index: -1;
            transition: all 0.5s ease 0s;
        }

        .tab .nav-tabs li a:after {
            background-color: #6CBF1C;
            height: 100%;
            opacity: 0;
        }

        .tab .nav-tabs li.active a:before,
        .tab .nav-tabs li a:hover:before {
            height: 100%;
            opacity: 0;
        }

        .tab .nav-tabs li.active a:after,
        .tab .nav-tabs li a:hover:after {
            height: 7px;
            opacity: 1;
        }

    .tab .tab-content {
        background: #fff;
        padding: 20px;
    }

        .tab .tab-content h3 {
            color: #222;
            font-size: 22px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin: 0 0 7px 0;
        }

@media only screen and (max-width: 479px) {
    .tab .nav-tabs li {
        width: 100%;
    }

        .tab .nav-tabs li a {
            margin: 0 0 10px;
        }

    .tab .tab-content h3 {
        font-size: 18px;
    }
}
