/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 02/03/2023, 12:03:37
    Author     : CERES
*/

/* Android 2.3 :checked fix */
@-webkit-keyframes fake {
    from {
        opacity: 1;
    }
    to {
        opacity: 1;
    }
}
@keyframes fake {
    from {
        opacity: 1;
    }
    to {
        opacity: 1;
    }
}
body {
    -webkit-animation: fake 1s infinite;
    animation: fake 1s infinite;
}

.worko-tabs {
    margin: 20px;
    width: 90%;
}
.worko-tabs .state {
    position: absolute;
    left: -10000px;
}
.worko-tabs .flex-tabs {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.worko-tabs .flex-tabs .tab {
    flex-grow: 1;
    max-height: 150px;
}
.worko-tabs .flex-tabs .panel {
    background-color: #fff;
    padding: 20px;
    min-height: 300px;
    display: none;
    width: 100%;
    flex-basis: auto;
}
.worko-tabs .tab {
    display: inline-block;
    padding: 10px;
    vertical-align: top;
    background-color: #eee;
    cursor: hand;
    cursor: pointer;
    border-left: 10px solid #ccc;
}
.worko-tabs .tab:hover {
    background-color: #fff;
}

#tab-one:checked ~ .tabs #tab-one-label,
#tab-two:checked ~ .tabs #tab-two-label,
#tab-three:checked ~ .tabs #tab-three-label,
#tab-four:checked ~ .tabs #tab-four-label {
    background-color: #fff;
    cursor: default;
    border-left-color: #e77132;
}

#tab-credit-one:checked ~ .tabs #tab-credit-one-label,
#tab-credit-two:checked ~ .tabs #tab-credit-two-label,
#tab-credit-three:checked ~ .tabs #tab-credit-three-label,
#tab-credit-four:checked ~ .tabs #tab-credit-four-label {
    background-color: #fff;
    cursor: default;
    border-left-color: #e77132;
}

#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 {
    display: block;
}

#tab-credit-one:checked ~ .tabs #tab-credit-one-panel,
#tab-credit-two:checked ~ .tabs #tab-credit-two-panel,
#tab-credit-three:checked ~ .tabs #tab-credit-three-panel,
#tab-credit-four:checked ~ .tabs #tab-credit-four-panel {
    display: block;
}
@media (max-width: 600px) {
    .flex-tabs {
        flex-direction: column;
    }
    .flex-tabs .tab {
        background: #fff;
        border-bottom: 1px solid #ccc;
    }
    .flex-tabs .tab:last-of-type {
        border-bottom: none;
    }
    .flex-tabs #tab-one-label {
        order: 1;
    }
    .flex-tabs #tab-two-label {
        order: 3;
    }
    .flex-tabs #tab-three-label {
        order: 5;
    }
    .flex-tabs #tab-four-label {
        order: 7;
    }
    .flex-tabs #tab-one-panel {
        order: 2;
    }
    .flex-tabs #tab-two-panel {
        order: 4;
    }
    .flex-tabs #tab-three-panel {
        order: 6;
    }
    .flex-tabs #tab-four-panel {
        order: 8;
    }

    #tab-one:checked ~ .tabs #tab-one-label,
    #tab-two:checked ~ .tabs #tab-two-label,
    #tab-three:checked ~ .tabs #tab-three-label,
    #tab-four:checked ~ .tabs #tab-four-label {
        border-bottom: none;
        width: 33% !important;
        text-align: center !important;
    }

    #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 {
        border-bottom: 1px solid #ccc;
    }
}

.worko-credit-tabs {
    margin: 20px;
    width: 100%;
}
.worko-credit-tabs .state {
    position: absolute;
    left: -10000px;
}
.worko-credit-tabs .flex-tabs {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.worko-credit-tabs .flex-tabs .tab {
    flex-grow: 1;
    max-height: 150px;
}
.worko-credit-tabs .flex-tabs .panel {
    background-color: #fff;
    padding: 20px;
    min-height: 300px;
    display: none;
    width: 100%;
    flex-basis: auto;
}
.worko-credit-tabs .tab {
    display: inline-block;
    padding: 10px 30px;
    vertical-align: top;
    background-color: #eee;
    cursor: hand;
    cursor: pointer;
    border-left: 10px solid #ccc;
}
.worko-credit-tabs .tab:hover {
    background-color: #fff;
}
