﻿/* Android 2.3 :checked fix */
@-webkit-keyframes fake {
    from {
        opacity: 1;
    }

    to {
        opacity: 1;
    }
}

@keyframes fake {
    from {
        opacity: 1;
    }

    to {
        opacity: 1;
    }
}

.firsttab {
    text-align: center;
    margin-right: 10px;
    font-size: 16pt;
}

.TabsStyleButton {
    border-radius: 40px;
    padding: 20px;
    border: 1px solid var(--PageViewBorderColor);
    transition: all 150ms linear;
}

    .TabsStyleButton:hover {
        box-shadow: 1px 1px 2px rgba(255, 255, 255, 0.2);
        text-decoration: none;
        text-shadow: -1px -1px 0 #d4d4d4;
        transition: all 250ms linear;
    }



.secondtab, .thirdtab, .fourthtab, .fifthtab {
    font-size: 16pt;
    text-align: center;
}

.worko-tabs {
    width: 100%;
}

    .worko-tabs .state {
        position: absolute;
        left: -10000px;
    }

    .worko-tabs .flex-tabs {
        display: -webkit-box;
        display: flex;
        -webkit-box-pack: justify;
        justify-content: space-between;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }

        .worko-tabs .flex-tabs .tab {
            -webkit-box-flex: 1;
            flex-grow: unset;
            max-height: 40px;
        }

        .worko-tabs .flex-tabs .panel {
            background-color: #fff;
            min-height: 300px;
            display: none;
            width: 100%;
            flex-basis: auto;
        }

    .worko-tabs .tab {
        display: inline-block;
        vertical-align: top;
        cursor: hand;
        cursor: pointer;
        margin: 10px;
    }

        .worko-tabs .tab:hover {
            background-color: #fff;
        }

#tab-one:checked ~ .tabs .firsttab,
#tab-two:checked ~ .tabs .secondtab,
#tab-three:checked ~ .tabs #tab-three-label,
#tab-four:checked ~ .tabs #tab-four-label {
    /*box-shadow: 1px 1px 2px rgba(255, 255, 255, 0.2);
        text-decoration: none;
        text-shadow: -1px -1px 0 #d4d4d4;
        transition: all 250ms linear;*/
}

    #tab-one:checked ~ .tabs .firsttab .TabsStyleButton,
    #tab-two:checked ~ .tabs .secondtab .TabsStyleButton,
    #tab-three:checked ~ .tabs .thirdtab .TabsStyleButton,
    #tab-four:checked ~ .tabs .fourthtab .TabsStyleButton,
    #tab-fifth:checked ~ .tabs .fifthtab .TabsStyleButton {
        cursor: default;
        text-decoration: none;
        color: var(--PageViewTitle);
        border-radius: 40px;
        padding: 20px;
        box-shadow: 0px 0px 5px 1px var(--PageViewBorderColor);
    }


#tab-one:checked ~ .tabs #tab-one-panel,
#tab-two:checked ~ .tabs #tab-two-panel,
#tab-three:checked ~ .tabs #tab-three-panel,
#tab-four:checked ~ .tabs #tab-four-panel,
#tab-fifth:checked ~ .tabs #tab-fifth-panel {
    display: block;
}
