.tab-wrapper{
    position: relative;
    height: 46px;
}

.tab-wrapper .tab-radio {
   display: none;
}

.tab-handler {
    cursor: pointer;
    position: relative;
    z-index: 2;
    display: block;
    float: left;
    background: #0082b9;
    height: 46px;
    padding: 0 10px;
    font-size: 13px;
    color: #fff;
    line-height: 46px;
    transition: .3s;
}

.tab-handler:nth-of-type(1){
    padding-left: 30px;
    border-radius: 25px 0 0 25px;
}

.tab-radio:checked + .tab-handler:nth-of-type(1){
    color: #fff;
    padding: 0 10px 0 18px;
    background-color: #006075;
}
.tab-handler:nth-last-of-type(1){
    padding-right: 30px;
    border-radius: 0 25px 25px 0;
}

.tab-radio:checked + .tab-handler:nth-last-of-type(1){
    color: #fff;
    padding: 0 18px 0 10px;
    background-color: #006075;
}

.tab-handler:hover{
    background: #0d95ce;
}

.tab-radio:checked + .tab-handler {
    color: #fff;
    padding: 0 3px;
    background-color: #006075;
}

.tab-radio:checked + .tab-handler + .tab-content {
   display: inline;
   opacity: 1;
   transform: scale(1);
}

.tab-wrapper .tab-content {
   display: none;
   position: absolute;
   top: 46px;
   left: 0;
   padding: 30px 0px 30px 0px;
   opacity: 0;
   transition: transform .5s, opacity .7s;
   transform: translateY(20px);
}