.TOFP-MainContainer a,
.TOFP-MainContainer a:visited,
.TOFP-MainContainer a:focus {
    border: none;
    outline: none;
    text-decoration: none;
    cursor: pointer;
}

.TOFP-CheckGameDiv {
    text-align: center;
}

.TOFP-MainContainer {
    font-size: 1em;
    width: 100%;
}

.TOFP-instructions,
.TOFP-Question {
    margin-bottom: 1em;
}

.TOFP-MainContainer * {
    box-sizing: border-box;
}

.TOFP-Answers {
    font-size: 1.1em;
    margin: 1em auto;
}

.TOFP-MainContainer p {
    margin: 0 !important;
    padding: 0 !important;
}

.TOFP-GameContainer {
    position: relative;
    width: 100%;
    min-height: 300px;
}

.TOFP-GameScoreBoard {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0.4em auto;
    width: 98%;
}

.TOFP-TimeNumber {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.TOFP-PTime {
    font-size: 1.6em;
    min-width: 7em;
    text-align: center;
}

.TOFP-Multimedia {
    margin: 0.3em auto;
}

.TOFP-Suggestion {
    margin: 0 0 1em 1em;
    background: #e1f1f9;
    color: #2b627d;
    border: 1px solid #c9edf4;
    border-radius: 4px;
    padding: 0.7em;
}

.TOFP-Feedback {
    margin: 0.5em 0 0.5em 1em;
    background: #e1f1f9;
    border-radius: 4px;
    padding: 0.7em;
}

.TOFP-ShowSuggestion {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin: 0 0 0.8em 0;
    text-decoration: none;
    color: #2b627d;
    clear: both;
    cursor: pointer;
}

.TOFP-SuggestionIcon {
    display: block;
    width: 16px;
    height: 16px;
}

.TOFP-SuggestionIcon:hover {
    text-decoration: underline;
}

.TOFP-CheckTest {
    margin: 1em;
    background-color: #eee;
    border: 1px solid #555;
    border-radius: 0.3em;
    color: #333;
    padding: 0.5em 1em;
}

.TOFP-QuestionDiv {
    background-color: #f5f5f5;
    border-radius: 0.3em;
    padding: 1em;
    margin-bottom: 0.5em;
}

.TOFP-QuestionDivBlack {
    background-color: #ededed;
}

.TOFP-QuestionSlidesDiv {
    max-width: 1000px;
    margin: auto;
}

.TOFP-StartGameDiv {
    display: flex;
    justify-content: center;
    margin: 0.3em auto;
    width: 100%;
    background-color: transparent;
}

.TOFP-CheckTestDiv {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.TOFP-StartGame,
.TOFP-Message {
    margin: 0.4em auto;
    text-align: center;
}

.TOFP-MessageInfo {
    margin: 0.3em auto;
    width: 100%;
}

.TOFP-MessageInfo p {
    text-align: center;
    width: 100%;
}

.Games-BottonContainer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    width: 100%;
}

.Games-GetScore {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 1em;
}

.Games-GetScore input[type="button"] {
    padding: 0.3em 0.5em;
    margin-right: 0.5em;
    width: auto;
}

.Games-GetScore span {
    display: block;
}

.Games-ReportIconDiv {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.1em;
    width: 100%;
    margin-bottom: 6px;
}

.Games-ReportIconDiv img {
    display: block;
    width: 16px;
    height: 16px;
}

.Games-ReportIconDiv span {
    font-size: 0.9em;
}

.TOFP-EHidden {
    display: none;
}

.TOFP-SlideshowContainer {
    position: relative;
    width: 100%;
}

.TOFP-SlideshowWrapper {
    position: relative;
}

.TOFP-SlideshowSlide {
    width: 100%;
    transition: left 0.3s ease-in-out;
}

.TOFP-SlideshowControls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: auto;
    margin-bottom: 5px;
    pointer-events: none;
}

.TOFP-SlideshowControl {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    pointer-events: auto;
    transition: background 0.2s ease;
}

.TOFP-SlideshowControl img {
    width: 100%;
    height: 100%;
}

.TOFP-SlideshowControl:hover {
    background: rgba(255, 255, 255, 0.9);
}

.TOFP-SlideNumber {
    display: block;
    font-size: 1.1em;
}

@media screen and (max-width: 760px) {
    .TOFP-GameContainer {
        font-size: 0.9rem;
    }
}
