/*
* mess with H5P editor 1.27
*/

/* ---------- schermo intero ---------- */
div.h5p-fullscreen {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.h5p-controls-container {
    position: absolute;
    width: 100%;
    background-color: white;
    color: black;
    top: 0px;
    height: auto;
    padding: 0px 2px 0 0;
    display: grid;
    grid-template-columns: repeat(5, auto);
    justify-content: end;
    align-items: center;
    gap: 0px;
    z-index: 500;
    height: 2em;
}

.h5p-controls-container .h5p-enable-fullscreen,
.h5p-controls-container .h5p-disable-fullscreen {
    background: rgba(0, 0, 0, 0);
    cursor: pointer;
    color: black;
    font-size: 1.5em;
    width: auto;
    height: auto;
    padding: 3px 0px 0 15px;
}
.h5p-controls-container .h5p-enable-fullscreen:before {
    font-family: "H5PFontAwesome4";
    content: "\f065";
}
.h5p-controls-container .h5p-disable-fullscreen:before {
    font-family: "H5PFontAwesome4";
    content: "\f066";
}

.h5p-controls-container .h5p-enable-fullscreen:hover, .h5p-controls-container .h5p-disable-fullscreen:hover {
    background: rgba(0,0,0,0);
    color: rgba(185, 185, 185, 0.9);
}
.h5p-controls-container .h5p-enable-fullscreen:focus, .h5p-controls-container .h5p-disable-fullscreen:focus {
    outline: none;
}


/************************************ audio  for Text to speech */
.h5p-audio-control {
  cursor: pointer;
  padding: 2px 0 0 15px;
}

.h5p-audio-control:after {
  font-family: H5PFontAwesome4;
  color: black;
  content: '\f028';
  font-size: 1.8em;
}
.h5p-audio-control[aria-pressed='true']:after {
  font-family: H5PFontAwesome4;
  color: black;
  content: '\f026';
  font-size: 1.8em;
}

.h5p-sc-sound-control {
    cursor: pointer;
    font-size: .9em;
    padding: 3px 0 0 15px;
}

.h5p-sc-sound-control:hover {
    color: rgba(185, 185, 185, 0.9);
}
.h5p-sc-sound-control:after {
  font-family: H5PFontAwesome4;
  font-size: 2em;
  content: '\f028';
}
.h5p-sound-control:hover,
.h5p-sc-sound-control:hover {
    color: rgba(185, 185, 185, 0.9);
}




/************************************** sounds for audios */
/* ---------- pulsante audio del gioco (suoni positivo / negativo) ---------- */

.h5p-sound-control:focus-visible { outline: 3px solid #ffd54f; outline-offset: 2px; }

.h5p-sound-control {
    cursor: pointer;
    color: black;
    padding: 2px 0 0 15px;
}
.h5p-sound-control:after {
  font-family: H5PFontAwesome4;
  content: '\f001';
  cursor: pointer;
  font-size: 1.5em;
}
.h5p-sound-control[aria-pressed='true']:after {
    font-family: H5PFontAwesome4;
    content: '\f04b';
    cursor: pointer;
    font-size: 1.5em;
}
.h5p-audio-control:hover {
    color: rgba(185, 185, 185, 0.9);  
}


/* ---------- timer ---------- */

.time-status {
    color: #000;
    margin: 3px 0.65em 0.65em;
    font-size: 1.2em;
}

/* ---------- schermo intero ---------- */
.h5p-nextExercise {
  font-size: 1em;
  line-height: 1.2;
  margin: 0 0.5em 1em;
  padding: 0.5em 1.25em;
  border-radius: 2em;
  background: #1a73d9;
  color: #fff;
  cursor: pointer;
  border: none;
  box-shadow: none;
}
.h5p-nextExercise:hover { background: #1356a3; }