a:hover,a:focus{
    outline: none;
    text-decoration: none;
}
.tab{ text-align: center; }
.tab .nav-tabs1{
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    /*display: inline-block;*/
    /*border-bottom: none;*/
    position: relative;
    -ms-flex-pack: distribute !important;
    justify-content: space-around !important; 
}
.tab .nav-tabs1 li{
    margin-bottom: 0;
}
.tab .nav-tabs1 li a{
    display: block;
    padding: 20px;
    border: none;
    border-radius: 0;
    font-size: 17px;
    font-weight: 700;
    color: #444;
    margin-right: 0;
    text-align: center;
    z-index: 1;
    transition: all 0.3s ease 0s;
}
.tab .nav-tabs1 li a i{
    display: block;
    font-size: 40px;
    color: #F0FFFF;
    margin-bottom: 15px;
}
.tab .nav-tabs1 li.active a,
.tab .nav-tabs1 li a:hover{
    border: none;
    background: transparent;
    /*display: block;
    color: #495057;*/
}
.tab .nav-tabs1 li a:before,
.tab .nav-tabs1 li a:after{
    content: "";
    width: 0;
    border-top: 3px solid #F0FFFF;
    position: absolute;
    bottom: -1px;
    left: 0;
    transition: all 0.3s ease 0s;
}
.tab .nav-tabs1 li a:after{
    left: auto;
    right: 0;
}
.tab .nav-tabs1 li.active a:before,
.tab .nav-tabs1 li a:hover:before,
.tab .nav-tabs1 li.active a:after,
.tab .nav-tabs1 li a:hover:after{
    width: 50%;
    /*display: block;*/
}
.tab .tab-content{
    padding: 20px;
    margin-top: -5px;
    /*border-radius: 0 0 5px 5px;
    border-top: 1px solid #d7d6d6;
    */
    font-size: 15px;
    color: #F0FFFF;
    line-height: 30px;
}
.tab .tab-content h3{
    font-size: 24px;
    margin-top: 0;
}
@media only screen and (max-width: 479px){
    .tab .nav-tabs1 li{
        width: 100%;
        text-align: center;
        margin-bottom: 5px;
    }
    .tab .nav-tabs1 li a,
    .tab .nav-tabs1 li a:hover{ border-bottom: 1px solid #dfdfdf; }
    .tab .tab-content{ border-top: none; }
}