/* Speed toolbar - playback speed */
.speed-bar {
    width: 100%;
    display: table;
    table-layout: fixed;
    margin: 0;
    padding: 0 0 4px;
    border-collapse: separate;
    border-spacing: 4px;
}
.speed-bar__item {
    display: table-cell;
    width: auto;
    border-radius: 0;
    font-size: 0.8em;
    font-weight: 400;
}
.speed-bar > .speed-bar__item:first-child {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}
.speed-bar > .speed-bar__item:last-child {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}
.speed-bar__button,
.speed-bar__button:focus {
    border: 2px solid #eeeeee;
    width: 100%;
    position: relative;
    display: inline-block;
    overflow: hidden;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    background: transparent;
    background-clip: padding-box;
    color: #797979;
    vertical-align: top;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    font: inherit;
    cursor: pointer;
    user-select: none;
    border-radius: inherit;
    background-color: transparent;
    font-family: Lato, Helvetica, Arial, sans-serif;
}
.speed-bar__button.active-speed,
.speed-bar__button.active-speed:hover {
    z-index: 1;
    border-color: #F68060;
    color: #F68060;
    cursor: default;
    font-weight: 900;
}
.speed-bar__button:hover {
    border-color: #F68060;
    color: #F68060;
}
/* tooltip */
.aatooltip {
    position: relative;
    transition: all .25s ease !important;
}
.aatooltip::before {
    display: block;
    position: absolute;
    left: 50%;
    top: 0;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    max-width: 200px;
    font-family: Lato, Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    content: attr(aria-label);
    line-height: 1.25em;
    text-align: center;
    color: #4a5464;
    background: #fefefeee;
    border: 3px solid #6a7484;
    padding: 6px 6px;
    opacity: 0;
    pointer-events: none;
    border-radius: 6px;
    transform: translate3d(-50%,-50%,0) scale3d(.2, .2, .2);
    transition: all .25s ease;
}
.aatooltip::after {
    display: block;
    content: "";
    position: absolute;
    opacity: 0;
    pointer-events: none;
    left: 50%;
    top: 2px;
    transform: translate3d(-50%,100%,0) scale3d(.2, .2, .2);
    transition: all .25s ease;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 8px 0 8px;
    border-color: #6a7484 transparent transparent transparent;
}
.aatooltip.aatooltip-left::before {
    left: 60px;
}
.aatooltip.aatooltip-left::after {
    left: 40px;
}
.aatooltip.aatooltip-right::before {
    left: calc( 100% - 60px );
}
.aatooltip.aatooltip-right::after {
    left: calc( 100% - 40px );
}
.aatooltip:hover::before, .aatooltip:hover::after {
    opacity: 1;
    z-index:1000;
    transition: all .25s ease;
}
.aatooltip:hover::before {
    backdrop-filter: blur(2px);
    transform: translate3d(-50%,calc(-100% - 12px),0) scale3d(1, 1, 1);
}
.aatooltip:hover::after {
    transform: translate3d(-50%,calc(-100% - 7px),0) scale3d(1, 1, 1);
}

/* subtitles for Audio track */
.subaudio {
    background: rgba(252,255,171,.15);
	border: 1px solid rgba(252,255,171,.8);
	box-shadow: 0px 2px 4px rgba(0, 0, 0, .05);
}
div.subline {
    color: #7F4739;
	margin-bottom: 10px;
    width: 100%;
    text-align:center;
    line-height: 1.5em;
    font-weight: 450;
    letter-spacing: 0;
	font-size: 1.4em;
}
.subaudio span {
    width: 100%;
    display: block;
    padding: 5px;
}
div.subline em {
	/*width: 100%;
	display: block;*/
    display: inline-block;
	color: #bbb;
	text-align: left;
    position: relative;
    padding: 5px 0 5px 50px;
    font-style: normal;
/*    cursor: pointer;*/
}
div.subline em::before {
    font-family: "dashicons";
    content: "\f522";
    position: absolute;
    left: 20px;
    color: #ddd;
}
.subfont {
	font-family: arial_narrow,Arial,sans-serif;
}


/* small screen */
@media screen and (max-width: 30em) {
    .speed-bar__button,
    .speed-bar__button.active-speed {
        line-height: 3.5em;
    }
    .aatooltip::before, .aatooltip::after {
        display: none;
    }
    div.subline {
        clear: both;
        height: 3.4em ;
    }
}

/* Media download buttons */
.icon-PDF, .icon-MP3, .icon-VID {
    width: 52px;
    height: 52px;
    display:inline-block;
    margin: 0 1px 1px 1px;
    border-radius: 5px;
	background-size: 52px 52px;
    opacity: .6;
}
.icon-PDF:hover, .icon-MP3:hover, .icon-VID:hover {
    box-shadow: inset 0px 0px 0px 2px #F68060;
    opacity: 1;
}
.icon-PDF {
        background: 0px 0px url("../images/icondoc_PDF.png");
}
.icon-MP3 {
        background: 0px 0px url("../images/icondoc_MP3.png");
}
.icon-VID {
        background: 0px 0px url("../images/icondoc_VID.png");
}


/**/

.overlay {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(180,180,180,.95);
    z-index: 10000;
}
.confirmPopup {
    width: 84%;
    margin: 0 8%;
    padding: 15px 5px;
    left: 0;
    border-radius: 10px;
    background: white;
    position: absolute;
    top: 25%;
    opacity: 0;
    box-shadow: 1px 1px 10px rgba(0,0,0,.2);
    z-index: 10001;
}
.confirmPopup p {
    text-align: center;
    font-size: 1em;
}
.confirmPopup .text-right {
    text-align: center;
}
.confirmPopup .text-right button{
    margin: 0 2px;
    letter-spacing: 0;
    padding: 10px 8px;
}
.confirmPopup .text-right button.btn-cancel {
    border-color: #f0c1b4;
    color: #f2481a;
}
.confirmPopup .text-right button.btn-cancel:hover {
    border-color: #f2481a;
    color: #f68060;
}
.confirmPopup .text-right button.btn-confirm {
    border-color: #6CAC66;
    color: #32842B;
}
.confirmPopup .text-right button.btn-confirm:hover {
    border-color: #32842B;
    color: #6CAC66;;
}
@media (min-width: 768px) {
    .confirmPopup {
        width: 99%;
        margin: 0 1%;
        padding: 15px;
        width: 66.66666666%;
        margin-left: 16.666666%;
    }
    .confirmPopup p {
        font-size: 1.2em;
    }
    .confirmPopup .text-right {
        text-align: right;
    }
    .confirmPopup .text-right button{
        margin: 0 15px;
        letter-spacing: 2px;
        padding: 10px 15px;
    }
}
@media (min-width: 992px) {
    .confirmPopup {
        width: 50%;
        margin-left: 25%;
    }
}
@media (min-width: 1200px) {
    .confirmPopup {
        width: 33.33333%;
        margin-left: 33.33333%;
    }
}
