/* ============================================================================
============================= CUSTOM STYLE FOR ABLE PLAYER ====================
============================================================================ */

/* ==== CONTROLS DE REPRODUCCIÓ ==== */
/*** CAIXA CONTROLS */
.able-controller {
    border-bottom: 1px solid white;
    background-color: black;
    padding: 8px;
}

/*** CONTROLS */
/* Alinear les icones al centre de la caixa per tal de veure el focus centrat */
.able-controller div[role=button] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* HOVER - Treure l'outline i punter visible */
.able-controller div[role=button]:hover {
    outline: none;
    cursor: pointer;
}

/* HOVER - Color icones*/
.able-wrapper div[role=button] svg:hover {
    fill: #FF0033;
}

/* FOCUS - Color outline del navegadoir */
.able-controller div[role=button]:focus {
    outline: revert !important;
}

/*** BARRA DE PROGRÉS */
/* Barra general */
.able-seekbar {
    height: .3em !important;
    border: none !important;
    margin: 0 !important;
    background-color: white;
    cursor: pointer;
}

/* Barra carregada */
.able-seekbar-loaded {
    height: .3em !important;
    background-color: #8A8A8A;
}

/* Temps completat */
.able-seekbar-played {
    height: .3em !important;
    background-color: #FF0033;
}

/* Control de la barra de temps */
.able-seekbar-head {
    background-color: #FF0033;
    top: -0.6em;
    width: 0.8em;
    height: 0.8em;
    outline: none;
    border: none;
    transition: box-shadow 0.2s ease;
    cursor: pointer;
}

/* HOVER - Control de la barra de temps */
.able-seekbar-head:hover {
    outline: none !important;
    box-shadow: 0 0 0 2px #FF0033;
}

/* FOCUS - Control de la barra de temps */
.able-seekbar-head:focus {
    outline: revert;
}

/*** BARRA D'INFORMACIÓ INFERIOR DEL REPRODUCTOR */
.able-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto;
    padding: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

/*** TRANSCRIPCIONS */
/* Barra d'idioma trasncripcions*/
.able-window-toolbar {
    background-color: #262626;
}

/* Padding icona */
.able-window-toolbar .able-button-handler-preferences {
    padding: 8px;
}

/* Contenidor en linia per les transcripcions */
/* Altura*/
.able-transcript {
    height: 400px;
}

/* Contenidor auto */
.able-transcript-area {
    height: auto;
    padding-bottom: 0px;
}

/* Evitar error en fer zoom de l'ample de les transcripcions*/
.able-window-toolbar .transcript-language-select-wrapper {
    float: none;
}

/* Correció del Highlight padding per evita que les lletres descendents quedin tallades en fer zoom*/
.able-highlight {
    padding: .02em .1em;
}

/* Restaurem el z-index per evitar que els vídeos quedin per sobre d'altres elements de la pàgina (de 5000 a 0) i elminem la ombra */
.able {
    z-index: 0;
    box-shadow: none;
}

/* Treure un marge del reproductor superior*/
.able-wrapper {
    margin: 0;
}

/* Treure fons blau dels videos en local - WP */
.able-big-play-button {
    background-color: initial !important;
}

/* Augmentar mida icona reprodució dels videos en local - WP */
.able-big-play-button svg {
    width: 6em !important;
    height: 6em !important;
}