.tab .nav-tabs{
    background: #333;
    border-radius: 50px;
    border: none;
    padding: 6px;
	max-width:352px;
	position:relative;
	margin:auto;
}

.tab .nav-tabs li{
    float: none;
    display: inline-block;
    position: relative;
}

.tab .nav-tabs li a{
    font-size: 16px;
    font-weight: 500;
    background: none;
    color: #999;
    border: none;
    padding: 10px 15px;
    border-radius: 50px;
    transition: all 0.5s ease 0s;
}

.tab .nav-tabs li a:hover{
    background: #c20927;
    color: #fff;
    border: none;
}

.tab .nav-tabs li.active a,
.tab .nav-tabs li.active a:focus,
.tab .nav-tabs li.active a:hover{
    border: none;
    background: #c20927;
    color: #fff;
}

@media only screen and (max-width: 1530px){
.tab .nav-tabs li a {font-size:14px;}
.tab .nav-tabs{max-width:328px;}

}


@media only screen and (max-width: 480px){
    .tab .nav-tabs{
        border-radius: 20px;
		max-width:280px;
    }
    .tab .nav-tabs li{
        width: 100%;
        text-align: center;
        margin-bottom: 5px;
    }
}
/* CSS Document */
