html {
    scroll-behavior: smooth;
}

.tgwg-boxed {
    max-width: 1140px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 24px;
}

.tgwg-main-hero {
    margin: 0 0 120px 0;
    background-color: var(--e-global-color-primary);
}

.tgwg-main-hero-inner {
    display: flex;
    flex-direction: row;
    padding: 40px 40px 20px 40px;
}

.tgwg-main-hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 60%;
}

.tgwg-main-hero-right {
    width: 40%;
    margin-bottom: -80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

#tgwg-show-wizard-start-container {
    margin: 80px 0;
    padding: 40px;
    background-color: #E9F1F2;
    border-radius: 12px;
}

#tgwg-show-wizard-start-columns-container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
}

#tgwg-show-wizard-start-container-left {
    width: 50%;
}

#tgwg-show-wizard-start-container-right {
    width: 50%;
}

#tgwg-wizard-progress-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 48px;
}

.tgwg-wizard-step {
    /* padding: 100px 50px; */
    background-color: #fff;
    /* -webkit-box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.1);
    border-radius: 12px; */
    margin-bottom: 40px;
}

.tgwg-wizard-progress-step-border {
    height: 4px;
    width: 100%;
    background-color: var(--e-global-color-primary);
    margin-bottom: 16px;
    border-radius: 50px;
}

.tgwg-wizard-progress-step-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.tgwg-wizard-progress-step-content i {
    font-size: 36px;
    margin-right: 16px;
    color: var(--e-global-color-primary);
}

.tgwg-wizard-progress-step-text-container {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
}

.tgwg-wizard-step h4 {
    margin: 0 0 16px 0;
}

.tgwg-wizard-answers-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.tgwg-wizard-answer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: solid #fff 3px;
    border-radius: 8px;
    padding: 16px 34px;
    text-align: center;
    -webkit-box-shadow: 0px 4px 22px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 4px 22px 0px rgba(0, 0, 0, 0.10);
    display: flex;
    align-items: center;
    transition: 0.3s ease-in-out;
}

.tgwg-wizard-answer i {
    color: var(--e-global-color-primary);
    font-size: 34px;
}

.tgwg-wizard-answer:hover {
    /* border: solid var(--e-global-color-secondary) 3px; */
    -webkit-box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.tgwg-wizard-answer-active {
    background-color: #F3F7F7;
    border: solid var(--e-global-color-primary) 3px;
}

.tgwg-wizard-answer-active p,
.tgwg-wizard-answer-active h3 {
    color: var(--e-global-color-primary);
}

.tgwg-wizard-answer p {
    margin: 0;
}

.tgwg-wizard-answer-minutes {
    color: var(--e-global-color-primary);
}

.tgwg-wizard-navigation {
    width: 100%;
    margin: 40px 0 0 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 100px;
}

.tgwg-wizard-navigation button:disabled {
    opacity: 0.3;
}

.tgwg-wizard-navigation-back-btn {
    background-color: #fff !important;
}



/* Playlist */
#tgwg-playlist {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding: 0;
    background-color: #fff;
    /* -webkit-box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.1);
    border-radius: 12px; */
    margin-bottom: 40px;
}

#tgwg-playlist-container {
    width: 100%;
    /* display: flex;
    flex-direction: row;
    gap: 20px; */
}

#tgwg-playlist-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 0 40px 0;
    padding: 40px 40px 20px 40px;
    width: 100%;
    background-color: var(--e-global-color-primary);
}

#tgwg-playlist-hero-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#tgwg-playlist-hero h1,
#tgwg-playlist-hero p {
    color: #fff;
}

#tgwg-workout-information-table {
    border: none !important;
    border-radius: 8px 8px 0 0;
    /* background-color: #C9DBDE; */
    /* margin: 40px 0 80px; */
    margin: 0;
}

#tgwg-workout-information-table i {
    color: var(--e-global-color-primary);
    font-size: 18px;
}

#tgwg-workout-information-table tr {
    border-bottom: solid #000 0.5px;
}

#tgwg-workout-information-table tr:last-child {
    border-bottom: none;
}

#tgwg-workout-information-table tr td:last-child {
    text-align: right;
}

#tgwg-playlist-video-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#tgwg-playlist-main-video-container {
    width: 100%;
}

#tgwg-playlist-main-video iframe,
.vp-video-wrapper {
    border-radius: 12px !important;
}



#tgwg-playlist-right-column {
    width: 100%;
}

#tgwg-playlist-small-videos-container {
    /* width: 33%; */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.tgwg-playlist-small-video {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: left;
    /* padding: 4px; */
    margin-bottom: 10px;
    border-radius: 8px;
    border: solid #fff 2px;
    /* -webkit-box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.1); */
}

.tgwg-playlist-small-video:hover {
    cursor: pointer;
    /* -webkit-box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.3); */
    background-color: var(--e-global-color-primary);
    border: solid var(--e-global-color-primary) 2px !important;
}

.tgwg-wizard-small-video-active {
    /* border: solid var(--e-global-color-primary) 2px;
    -webkit-box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.3); */
    background-color: var(--e-global-color-primary);
    border: solid var(--e-global-color-primary) 2px !important;
}

.tgwg-wizard-small-video-active h5 {
    color: var(--tg-color-font-on-color) !important;
}

.tgwg-playlist-small-video img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

#tgwg-loader {
    font-size: 40px;
    color: var(--e-global-color-primary);
    animation-name: tgwg-loader-animation;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: ease;
}

@keyframes tgwg-loader-animation {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-50px);
    }

    100% {
        transform: translateY(0px);
    }
}

#tgwg-progressbar-container {
    width: 100%;
    padding: 0;
}

#tgwg-progressbar-container h5 {
    color: #fff !important;
}

#tgwg-progressbar {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 8px;

}

#tgwg-progressbar-progress {
    height: 12px;
    background-color: #fff;
    width: 0%;
    border-radius: 8px;
    transition: 2s;
}

.tgwg-countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 400px;
    background-color: var(--e-global-color-primary);
    text-align: center;
    border-radius: 12px;
}

#tgwg-countdown-timer {
    color: #fff;
}

#tgwg-countdown-timer-text {
    color: #fff;
}

#tgwg-countdown-timer-next-exercise {
    color: #fff;
}

.tgwg-countdown-fullscreen {
    position: fixed;
    z-index: 200;
    top: 0;
    left: 0;
    min-block-size: -webkit-fill-available;
}

.tgwg-workout-finished {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 400px;
    background-color: var(--e-global-color-primary);
    text-align: center;
    border-radius: 12px;
}

.tgwg-workout-finished h4 {
    color: #fff;
}

.tgwg-workout-finished button:hover {
    color: #fff;
}

/* last workouts */
#tgwg-last-workout-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(1, auto);
    gap: 24px;
}

.tgwg-last-workout {
    display: flex;
    flex-direction: row;
    border-radius: 12px;
    box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.10);
    padding: 24px;
}

.tgwg-last-workout-hidden {
    display: none;
}

#tgwg-last-workout-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
}

#tgwg-last-workout-show-all-workouts-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

#tgwg-last-workout-container h2 {
    margin-bottom: 32px;
}

.tgwg-last-workout-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tgwg-last-workout-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
    background: #C9DBDE;
    border-radius: 12px;
}

.tgwg-last-workout-icon-container i {
    color: var(--e-global-color-primary);
    font-size: 80px;
}

.tgwg-last-workout-content-container {
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-left: 16px;
    width: 100%;
}

.tgwg-last-workout-content-container a {
    margin-right: 40px;
    color: var(--e-global-color-primary) !important;
    font-weight: 600;
}

.tgwg-last-workout-content-container a:hover {
    cursor: pointer;
    color: #000 !important;
}

.tgwg-last-workout-content-container a:hover i {
    color: #000 !important;
}

.tgwg-last-workout-content-container a i {
    color: var(--e-global-color-primary) !important;
    font-weight: 600;
}

.tgwg-last-workout-content-container h5,
.tgwg-last-workout-content-container h4 {
    margin-bottom: 18px !important;
    text-transform: none;
}

.tgwg-last-workout-content-container h4 span {
    color: #979696;
    margin-left: 24px;
}

.tgwg-last-workout-pills-container {
    display: flex;
    flex-direction: column;
    justify-content: top;
    align-items: end;
}

.tgwg-last-workout-pills-container h5 {
    padding: 8px 16px;
    margin: 0;
    background-color: #E9F1F2;
    border-radius: 50px;
}

.tgwg-last-workout ul {
    margin-left: 0px !important;
}

.tgwg-last-workout-show-exercises-btn button {
    margin-right: 16px;
}

.tgwg-last-workout-show-exercises-btn i,
.tgwg-last-workout-restart-workout-btn i {
    color: #fff;
    margin: 0 8px;
}

.tgwg-last-workout-show-exercises-btn:hover i,
.tgwg-last-workout-restart-workout-btn:hover i {
    color: var(--e-global-color-primary);
}

/* Diagramm */
#tgwg-saved-workouts-chart {
    margin-bottom: 80px;
}

#tgwg-dashboard-tab-navigation-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: left;
    gap: 24px;
    margin: 40px 0;
    overflow: auto;
    white-space: nowrap;
}

#tgwg-dashboard-tab-navigation-container .tgwg-dashboard-tab {
    text-transform: none !important;
}

#tgwg-dashboard-tab-navigation-container .tgwg-dashboard-tab-active,
#tgwg-dashboard-tab-navigation-container .tgwg-dashboard-tab:hover {
    color: var(--e-global-color-primary);
    text-decoration: underline;
    cursor: pointer;
}

/* Handlungsempfehlungen */
.tgwg-accordion-toggle {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    border-bottom: 1px solid #DADADA;
    cursor: pointer;
    font-weight: 600;
}

.tgwg-accordion-toggle-active {
    border-bottom: none;
}

.tgwg-accordion-toggle-active .tgwg-accordion-icon-container i {
    transform: rotate(-180deg);
}

.tgwg-accordion-content {
    padding: 0 0 40px 0;
}




/* responsiveness */

/* tablet */
@media screen and (max-width:1024px) {

    .tgwg-wizard-answers-container,
    .tgwg-wizard-answers-container:nth-child(2),
    .tgwg-wizard-answers-container:nth-child(3) {
        grid-template-columns: repeat(2, auto);
    }

    #tgwg-playlist-small-videos-container {
        grid-template-columns: repeat(3, auto);
    }
}

/* smartphone */
@media screen and (max-width:768px) {
    .tgwg-main-hero-inner {
        flex-direction: column;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0;
    }

    .tgwg-main-hero-left {
        width: 100%;
        padding: 24px;
    }

    .tgwg-main-hero-right {
        width: 100%;
        margin-bottom: 0;
    }

    .tgwg-last-workout {
        flex-direction: column;
    }

    .tgwg-last-workout-icon-container {
        width: 100%;
        border-radius: 12px 12px 0 0;
    }

    .tgwg-last-workout-icon {
        width: 100%;
        margin-bottom: 24px;
    }

    .tgwg-last-workout-content-container {
        flex-direction: column-reverse;
    }

    .tgwg-last-workout-restart-workout-btn {
        margin-top: 20px;
    }

    .tgwg-last-workout-pills-container {
        align-items: flex-start;
    }

    #tgwg-show-wizard-start-columns-container {
        flex-direction: column;
    }

    #tgwg-show-wizard-start-container-left {
        width: 100%;
    }

    #tgwg-show-wizard-start-container-right {
        width: 100%;
    }

    .tgwg-wizard-answers-container,
    .tgwg-wizard-answers-container:nth-child(2),
    .tgwg-wizard-answers-container:nth-child(3) {
        grid-template-columns: repeat(2, auto);
    }

    #tgwg-playlist {
        padding: 10px;
    }

    #tgwg-playlist-video-container {
        flex-direction: column;
    }

    #tgwg-playlist-main-video-container {
        width: 100%;
    }

    #tgwg-playlist-right-column {
        width: 100%;
    }

    #tgwg-playlist-small-videos-container {
        grid-template-columns: repeat(2, auto);
    }
}