a:hover,a:focus{
    outline: none;
    text-decoration: none;
}

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

.tab .nav-tabs li a{
    display: block;
   
    border: none;
    border-radius: 0;
    background: #f5f5f5;
    font-size:17px;
    font-weight:normal;
    color:#000;
    text-align: center;
    margin-right: 30px;
    z-index: 1;
    position: relative; padding:10px;
    transition: all 0.3s ease 0s;  border:1px solid #000; border-radius:10px; padding-left: 10px; padding-right: 10px;
}

.tab .nav-tabs li a:hover,
.tab .nav-tabs li.active a{
    border: none;
    color: #221d95;
}

.tab .nav-tabs li a:after{
  
    width: 100%;
    height: 5px;

    position: absolute;
    bottom: 10px;
    left: 0;
    opacity: 0;
    z-index: -1;
    transition: all 0.3s ease 0s;
}

.tab .nav-tabs li a:hover:after,
.tab .nav-tabs li.active a:after{
    opacity: 0.5;
    bottom: 22px;
}

.tab .tab-content{
    padding: 20px 20px 20px 0;
    margin-top: 0;
    border-radius: 0 0 5px 5px;
    font-size: 15px;
    color: #757575;
    line-height: 30px;
}

.tab .tab-content h3{
    font-size: 24px;
    margin-top: 0;
}

@media only screen and (max-width: 479px){
    .tab .nav-tabs li{
        width: 100%;
        text-align: center;
    }
    .tab .nav-tabs li a{
        margin-right: 0;
    }
    .tab .nav-tabs li a:after{
        width: 110px;
        margin: 0 auto;
        right: 0;
    }
}