.flight-types {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    max-width: 100%;
    width: 100%;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: relative;
    z-index: 1;
    margin: 30px auto 40px;
    font-size: 12px;
    color: #00569c;
    border-radius: 333px;
}

.flight-types input {
    display: none;
}

.flight-types input:checked + label {
    color: #00569c;
    font-weight: bold;
    background: #f5f7fb;
    border-radius: 22px;
}

.flight-types input:nth-of-type(1):checked ~ label:last-of-type:before {
    -webkit-transform: translateX(calc(0% + 0px));
    -ms-transform: translateX(calc(0% + 0px));
    transform: translateX(calc(0% + 0px));
}

.flight-types input:nth-of-type(2):checked ~ label:last-of-type:before {
    -webkit-transform: translateX(calc(100% + 0px));
    -ms-transform: translateX(calc(100% + 0px));
    transform: translateX(calc(100% + 0px));
}

.flight-types input:nth-of-type(3):checked ~ label:last-of-type:before {
    -webkit-transform: translateX(calc(200% + 0px));
    -ms-transform: translateX(calc(200% + 0px));
    transform: translateX(calc(200% + 0px));
}

.flight-types label {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    cursor: pointer;
    -webkit-box-flex: 33.33%;
    -ms-flex: 33.33%;
    flex: 33.33%;
}

.flight-types label {
    padding: 4px 3px;
    -webkit-transition: color 250ms cubic-bezier(0, 0.95, 0.38, 0.98);
    -o-transition: color 250ms cubic-bezier(0, 0.95, 0.38, 0.98);
    transition: color 250ms cubic-bezier(0, 0.95, 0.38, 0.98);
    margin: 0;
    font-size: 20px;
}

/* .flight-types label:last-of-type:before {
    content: "";
    display: block;
    margin: 0px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
} */
/* 



 */

@media screen and (max-width: 992px) {
    .flight-types label {
        -webkit-box-flex: 100%;
        -ms-flex: 100%;
        flex: 100%;
    }
}
