.MTHP-MainContainer a,
.MTHP-MainContainer a:visited,
.MTHP-MainContainer a:focus {
    border: 0;
    border-bottom: none;
    border-width: 0;
    text-decoration: none !important;
}

/* Contenedor */

.MTHP-MainContainer {
    font-size: 1rem;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    max-width: 750px;
}

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

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


.MTHP-Cubierta {
    width: 100%;
    height: 100%;
    min-height: 110px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 101;
    background-color: rgb(255, 255, 255, .2);
    display: none;

}

.MTHP-Cubierta .exeQuextIcons-Submit {
    background: url(exequextreply.svg) no-repeat;
    background-size: 100% 100%;
    height: 1.7em;
    width: 1.7em;
}

/* Instrucciones */

.MTHP-instructions {
    margin: 0.3em auto;
    width: 100%;
    overflow: auto;
}

/* Minimizado */

.MTHP-GameMinimize {
    margin: 1em auto;
    width: 100%;
}

.MTHP-LinkMaximize {
    align-items: center;
    display: flex;
    justify-content: center;
}

.MTHP-IconMinimize {
    height: 2em;
    margin-right: 0.5em;
    width: 2em;
}

/* Juego */

.MTHP-GameContainer {
    margin: 0 auto;
    max-width: 750px;
    padding: 1em 0.3em 0 0.3em;
    position: relative;
    width: 100%;
}

/* barra de puntuaciones */

.MTHP-GameScoreBoard {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.3em;
    width: 100%;
}

.MTHP-GameScoreBoard p {
    font-size: 1.4em !important;
    margin-right: 0.3em !important;
    text-align: center;
    vertical-align: middle;
}

.MTHP-GameScores {
    align-items: center;
    display: flex;
    justify-content: flex-start;
}

.MTHP-GameScores>p:last-child {
    text-align: left;
}

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

.MTHP-PTime {
    margin-left: 0.3em;
    min-width: 3.5em;
    text-align: center;
    width: auto;
}

/* Pista */

.MTHP-ShowClue {
    margin: 0.5em auto 0 auto;
    width: 95%;
    background-color: transparent;
    justify-content: center;
    align-items: center;
}

.MTHP-PShowClue {
    color: rgb(26, 100, 20);
    text-align: center;
    width: 100%;
    font-size: 1em;
}

/* Respuesta ahorcado */

.MTHP-DivReply {
    align-items: center;
    background-color: transparent;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    margin-bottom: 1em;
    width: 100%;
}

.MTHP-EdReply {
    margin: auto 0.6em;
    max-width: 170px;
    width: 60%;
    text-align: center;
}

.MTHP-GameContainer .exeQuextIcons-MoveOne,
.MTHP-GameContainer .exeQuextIcons-Submit {
    height: 2em;
    width: 2em;
}

.MTHP-MainContainer .exeQuextIcons-Submit {
    background: url(exequextreply.svg) no-repeat;
    background-size: 100% 100%;
}

.MTHP-MainContainer .exeQuextIcons-MoveOne {
    background: url(exequextmoveon.svg) no-repeat;
    background-size: 100% 100%;
}

/* Multimedia */

.MTHP-Multimedia {
    background-color: transparent;
    border-radius: 0.6em;
    margin: 1em auto 0em auto;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.MTHP-ImagesHome {
    margin-top: 1em;
    width: 90%;
    max-width: 280px;
    margin: auto;
}

.MTHP-Flex {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    min-width: 100px;
    width: 100%;
}


.MTHP-CodeAccessDiv {
    padding: 1.5em 0.5em 1.5em 0.5em;
    margin: 4em auto;
    width: 95%;
    max-width: 450px;
    background-color: white;
    border-radius: 0.5em;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.20), 0 3px 6px 0 rgba(0, 0, 0, 0.19);
}

.MTHP-MessageCodeAccessE {
    text-align: center;
    vertical-align: middle;
    width: 100%;
}

.MTHP-DataCodeAccessE {
    align-items: center;
    display: flex;
    justify-content: center;
    margin: 0.7em auto 0 auto;
    width: 100%;
}

.MTHP-Message {
    min-height: 1em;
    line-height: 1em;
    margin: .8em auto 1em auto;
    width: 100%;

}

.MTHP-MainContainer .MTHP-Message p {
    text-align: center;

}

/* Game Over */

.MTHP-GameOver {
    align-items: center;
    display: flex;
    justify-content: center;
    width: 100%;
    z-index: 2;
}

.MTHP-DataImage {
    height: 100%;
    padding: 0;
    position: relative;
    width: 50%;
}

.MTHP-DataScore {
    padding: 0;
    width: 50%;
}

.MTHP-DataScore p {
    margin: 0.7em;
}

.MTHP-HistGGame,
.MTHP-LostGGame {
    bottom: 0;
    display: none;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    width: 80%;
}

.MTHP-HistGGame:before,
.MTHP-LostGGame:before {
    content: '';
    display: block;
    padding-top: 100%;
}

.MTHP-GameContainer .operator {
    margin-left: 0.3em;
    margin-right: 0.3em;
}

.MTHP-BCheck {
    appearance: none;
    background-color: #954bb5;
    border: 1px solid rgba(27, 31, 35, .15);
    border-radius: 0.4em;
    box-shadow: rgba(27, 31, 35, .1) 0 1px 0;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-weight: 600;
    position: relative;
    text-align: center;
    text-decoration: none !important;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: middle;
    white-space: nowrap;
    display: inline-block;
}

.MTHP-BCheck:focus:not(:focus-visible):not(.focus-visible) {
    box-shadow: none;
    outline: none;
}

.MTHP-BCheck:hover {
    background-color: #a2daff;
    color: #2b0000;
}

.MTHP-BCheck:focus {
    box-shadow: rgba(72, 219, 238, 0.4) 0 0 0 3px;
    outline: none;
}

/* Código acceso */

.MTHP-MessageCodeAccessE {
    text-align: center;
    vertical-align: middle;
    width: 100%;
}

.IDFP-DataCodeAccessE {
    align-items: center;
    display: flex;
    justify-content: center;
    margin: 0.7em auto 0 auto;
    width: 100%;
}


.MTHP-CodeAccessE {
    margin: 0 .3em;
    max-width: 300px;
    width: 60%;
    text-align: center;
}

/* Inicio juego */

.MTHP-StartGame {
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    margin: 0.6em auto 0 auto;
    text-align: center;
    user-select: none;
    width: 100%;
}

.MTHP-StartGame a:hover {
    text-decoration: underline;
}

/* Pegunta tipo test */


.MTHP-LinkVideoIntroShow {
    display: none;
}

.MTHP-BottonContainerDiv,
.Games-BottonContainer{
    align-items: center;
    display: flex;
    justify-content: flex-end;
    margin: 0.1em auto;
    padding: 0;
    width: 100%;
}

.MTHP-BottonContainerDivEnd {
    justify-content: flex-end;
}

/*Intrucciones */

.MTHP-DivInstructions {
    margin: 1em 0 0 0;
    text-align: center;
    width: 95%;
}

.MTHP-parpadea {
    -webkit-animation-duration: 1s;
    -webkit-animation-iteration-count: 5;
    -webkit-animation-name: MTHP-parpadeo;
    -webkit-animation-timing-function: linear;
    animation-duration: 1s;
    animation-iteration-count: 5;
    animation-name: MTHP-parpadeo;
    animation-timing-function: linear;
}

/* FeedBack*/

.MTHP-DivFeedBack {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 11;
}

.MTHP-DivFeedBack button {
    cursor: pointer;
}

.mathproblems-feedback-game {
    -moz-box-shadow: 0 10px 6px -6px #999;
    -webkit-box-shadow: 0 10px 6px -6px #999999;
    background-color: #fff;
    border: 1px solid #999;
    border-radius: .6em;
    box-shadow: 0 10px 6px -6px #999;
    display: none;
    margin-bottom: 1em;
    max-height: 80%;
    min-height: 10em;
    overflow-y: auto;
    padding: 1em;
    width: 95%;
}

.mathproblems-extra-content {
    margin-top: 1.7em;
}

/* Enlace activo */

.MTHP-Activo {
    -moz-transition: transform 0.3s;
    -ms-transition: transform 0.3s;
    -o-transition: transform 0.3s;
    -webkit-filter: drop-shadow(.12em .12em .12em rgba(0, 0, 0, 0.5));
    -webkit-transition: transform 0.3s;
    cursor: pointer;
    filter: drop-shadow(.12em .12em .12em rgba(0, 0, 0, 0.5));
    transition: transform 0.3s;
}

.MTHP-LinkMaximize:hover .MTHP-Activo,
.MTHP-Activo:hover {
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

/* Puntuacion */

.Games-BottonContainer{
    margin: 0;
    padding: 0;
    width: 100%;
}

.Games-BottonContainer * {
    margin: 0;
    padding: 0;
}

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

.Games-GetScore span {
    display: block;
}

.Games-GetScore form{
    align-items: center;
    display: flex;
    justify-content: center;
}

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

.Games-OverlayImage {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.Games-FullScreenImage {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Iconos */

.MTHP-GameContainer .exeQuextIcons {
    background-size: 100% 100%;
    height: 1.4em;
    margin-right: 0.3em;
    width: 1.4em;
}


.MTHP-GameContainer .exeQuextIcons-Submit {
    height: 1.7em;
    width: 1.7em;
}

.MTHP-MainContainer .exeQuextIcons-Submit {
    background: url(exequextreply.svg) no-repeat;
    background-size: 100% 100%;
}

.MTHP-MainContainer .exeQuextIcons-MoveOne {
    background: url(exequextmoveon.svg) no-repeat;
    background-size: 100% 100%;
}

.MTHP-GameContainer .exeQuextIcons-Minimize {
    background-image: url(exequextmin.svg);
    background-size: 100% 100%;
}

.MTHP-GameContainer .exeQuextIcons-Hit {
    background-image: url(exequexthits.svg);
    background-size: 100% 100%;
}

.MTHP-GameContainer .exeQuextIcons-FullScreen {
    background-image: url(exequextfull.svg);
    background-size: 100% 100%;
}

.MTHP-GameContainer .exeQuextIcons-Error {
    background-image: url(exequextrerrors.svg);
    background-size: 100% 100%;
}

.MTHP-GameContainer .exeQuextIcons-Score {
    background-image: url(exequextscore.svg);
    background-size: 100% 100%;
}

.MTHP-GameContainer .exeQuextIcons-Time {
    background-image: url(exequexttime.svg);
    background-size: 100% 100%;
}

.MTHP-GameContainer .exeQuextIcons-Number {
    background-image: url(exequextnumber.svg);
    background-size: 100% 100%;
}




/* Full Screen */

div:fullscreen .exeQuextIcons-FullScreen {
    background-image: url(exequextfull.svg);
    background-size: 100% 100%;
}

div:-webkit-full-screen .exeQuextIcons-FullScreen {
    background: url(exequextfull.svg);
    background-size: 100% 100%;
}

div:-moz-full-screen .exeQuextIcons-FullScreen {
    background: url(exequextfull.svg);
    background-size: 100% 100%;
}

div:fullscreen .MTHP-LinkMinimize {
    display: none;
}

div:fullscreen .MTHP-Multimedia,
div:-webkit-full-screen .MTHP-Multimedia,
div:-moz-full-screen .MTHP-Multimedia {
    background-color: #fff;
    margin: 3em;
    margin-left: auto;
    margin-right: auto;
    max-width: 95vmin;
    top: 3em;
    width: 95vmin;
}

.MTHP-GameContainer:-webkit-full-screen {
    background-color: white;
    height: 100vh;
    width: 100%;
    padding-top: 3px;
    overflow-y: auto;
}

.MTHP-GameContainer:-moz-full-screen {
    background-color: white;
    height: 100vh;
    width: 100%;
    padding-top: 3px;
    overflow-y: auto;
}

.MTHP-GameContainer:-ms-full-screen {
    background-color: white;
    height: 100vh;
    width: 100%;
    padding-top: 3px;
    overflow-y: auto;
}

.MTHP-GameContainer:-o-full-screen {
    background-color: white;
    height: 100vh;
    width: 100%;
    padding-top: 3px;
    overflow-y: auto;
}

.MTHP-GameContainer:fullscreen {
    background-color: white;
    height: 100vh;
    width: 100%;
    padding-top: 3px;
    overflow-y: auto;
}

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

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

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

@-moz-keyframes MTHP-parpadeo {
    0% {
        opacity: 1.0;
    }

    50% {
        opacity: 0.0;
    }

    100% {
        opacity: 1.0;
    }
}

@-webkit-keyframes MTHP-parpadeo {
    0% {
        opacity: 1.0;
    }

    50% {
        opacity: 0.0;
    }

    100% {
        opacity: 1.0;
    }
}

@keyframes MTHP-parpadeo {
    0% {
        opacity: 1.0;
    }

    50% {
        opacity: 0.0;
    }

    100% {
        opacity: 1.0;
    }
}

@media screen and (max-width:550px) {
    .MTHP-MainContainer {
        font-size: 0.9rem;
    }

    .MTHP-LinkFullScreen {
        display: none;
    }

    .MTHP-instructions {
        margin: 0.1em auto;
    }

    .MTHP-DivInstructions {
        display: none;
    }

    .MTHP-PShowClue {
        font-size: 0.9em;
    }

    .MTHP-StartGame a {
        font-size: 0.9em;
    }

    .MTHP-AuthorLicence p {
        font-size: 0.9em;
    }
}

@media screen and (max-width:470px) {

  
    .MTHP-MainContainer {
        font-size: 0.9rem;
    }

    .MTHP-PShowClue {
        font-size: 0.8em;
    }

    .MTHP-Multimedia {
        width: 95%;
    }

    .MTHP-LifesGame {
        display: none;
    }


    .MTHP-LinkMinimize {
        display: none;
    }

    .MTHP-DataCodeAccessE label {
        display: none;
    }

    .MTHP-GameScoreBoard p {
        font-size: 1em;
    }

}

@media screen and (max-width:340px) {
    .MTHP-MainContainer {
        font-size: 0.8rem;
    }

    .MTHP-GameScoreBoard p {
        font-weight: normal;
        margin: 0.1em;
        padding: 0;
    }

    .MTHP-GameContainer .exeQuextIcons {
        margin: 0;
        padding: 0;
    }

    .MTHP-GameContainer .MTHP-GameScoreBoard p {
        padding: 0;
    }

    .MTHP-GameScores {
        width: 50%;
    }

    .MTHP-TimeNumber {
        width: 45%;
    }

    .MTHP-instructions p {
        margin: 0 auto;
    }
}

@media screen and (max-width:295px) {
    .MTHP-MainContainer {
        font-size: 0.7rem;
    }

    .MTHP-GameScoreBoard {
        justify-content: flex-start;
    }

    .MTHP-GameScores {
        width: 50%;
    }

    .MTHP-TimeNumber {
        width: 42%;
    }
}

@media screen and (max-width:265px) {
    .MTHP-MainContainer {
        font-size: 0.6rem;
    }

    .MTHP-GameScoreBoard p {
        font-weight: normal;
        margin: 2px;
    }

    .MTHP-GameContainer .exeQuextIcons {
        height: 1.1em;
        width: 1.1em;
    }

    .MTHP-GameScores {
        width: auto;
    }

    .MTHP-TimeNumber {
        justify-content: flex-start;
        width: auto;
    }

}

@media screen and (max-width:235px) {
    .MTHP-GameScoreBoard .exeQuextIcons-Time {
        display: none;
    }
}

@media screen and (min-width: 1400px) {
    div:fullscreen .MTHP-Multimedia {
        background-color: #fff;
        margin: 2em auto;
        max-width: 95vmin;
        top: 1.4em;
        width: 95vmin;
    }
}

@media screen and (min-width: 700px) and (max-height: 800px) {
    div:fullscreen .MTHP-Multimedia {
        background-color: #fff;
        margin-bottom: 0.6em;
        max-width: 95vmin;
        width: 95vmin;
    }
}

/* To review */
.mathproblems-instructions {
    overflow: auto;
}