.audioplayer {
	position: fixed;
    bottom: 0;
	left: 0;
    width: 100%;
	background: #000000;
    padding: 20px 0; 
    background: linear-gradient(90deg, rgb(11 3 12) 0%, rgb(81 76 82) 100%);
	z-index: 20;
	height: 84px;
}
.explanation-modal.rightoriented {
	left: auto!important;
    right: 0!important;
    transform: translateX(0)!important;
}
.explanation-modal.leftoriented {
    left: 0!important;
    transform: translateX(0)!important;
}
.explanation-modal.leftoriented:before {
    left: 11%!important;
}
.explanation-modal.rightoriented:before {
    left: 89%!important;
}
.explanation-modal.centered {
    left: 50%!important;
    transform: translateX(-50%)!important;
}
.explanation-modal.centered:before {
    left: 50%!important;
    transform: translateX(-50%)!important;
}

.audioplayer button:disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

.read-tooltip.load {
	cursor: wait;
}

.audioplayer .bar {
	display: inline-block;
	position: relative;
}

.audioplayer button.prev,
.audioplayer button.stop,
.audioplayer button.play,
.audioplayer button.next,
.audioplayer button.close {
	background-color: transparent;
	padding: 0 13px;
	height: 44px;
	width: 44px;
	border: 0;
	vertical-align: middle;
	cursor: pointer;
	line-height: 44px;
}

.audioplayer button.prev {
	transform: rotate(180deg);
}

.audioplayer button.close {
	margin-right: 27px;
}

.audioplayer button.close svg {
	width: 13px;
	height: 18px;
}

.audioplayer button.stop svg {
	height: 13px;
	width: 13px;	
	margin-left: -1px;
}

.audioplayer button.stop {
	margin: 0 10%;
	margin-top: -4px;
}

.audioplayer button.play svg {
	margin-top: -4px;
}
.audioplayer button.play {
    margin: 0 10%; /**this was inserted**/
}


.read-tooltip:focus,
.audioplayer button:focus {
	outline: 0;
}

.audioplayer #text-speed {
	background: transparent;
    border: 0;
	font-weight: 400;
	color: #FFF;
	padding-left: 5px;
	cursor: pointer;
}

.text-speed-list {
    display: none;
    width: 88px;
    position: absolute;
    bottom: 83px;
    background: #3c363d;
	margin: 0;
    list-style: none;
    padding-top: 15px;
	padding-bottom: 15px;
    padding-left: 0;
    text-align: center;
    margin-left: 62px;
    box-shadow: 0px -19px 19px rgba(0, 0, 0, 0.1);
}

.text-speed-list li:hover, .text-speed-list li.active {
	opacity: 1;
}

.text-speed-list li {
    font-size: 18px;
    line-height: 28px;
	letter-spacing: 0.5px;
	opacity: 0.6;
    color: #FFFFFF;
    cursor: pointer;
	margin: 0;
	font-weight: 400;
}

.bar-line .progress-circle {
	transition: stroke-dashoffset .3s;
}

.audioplayer .title {
	width: calc(50% - 110px);
    display: inline-block;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
	line-height: 44px;
	font-weight: 600;
    color: #FFF;
    padding: 0px 0px 0 40px; /*this was inserted instead of 
    padding-right: 15px;
    padding-left: 10px;*/
	font-size: 18px;
}

.audioplayer .navigation {
	width: 220px;
	display: inline-block;
    text-align: center;
	vertical-align: top;
    /*this is inserted*/
}

.audioplayer svg {
    fill: #fff;
	vertical-align: middle;
}

.audioplayer .control {
	width: calc(50% - 110px);
	display: inline-block;	
	float: right;
    line-height: 44px;
	font-weight: 400;
	padding-left: 15px;
    color: #FFF;
	font-size: 18px;
	letter-spacing: 0.5px;
   /*this is inserted*/
}

.small-wcag {
	font-size: 80%;
}

.audioplayer .control .name {
	opacity: 0.8;
}

.audioplayer .close {
	float: right;
}

.audioplayer .bar-line {
    position: absolute;
	left: 50%;
    height: 44px;
	width: 44px;
	transform: translateX(-50%);
	z-index: -1;
	top: 19px;
}

.audioplayer .bar:before {
	content: '';
	width: 100%;
    position: absolute;
    top: -8px;
	left: 0;
    height: 10px;
    border: 2px solid #cd2653;
}

.read-tooltip {
	display: none;
	position: absolute;
	width: 145px;
	height:50px;
	z-index: 9;
	padding: 5px 15px 5px 25px;
    color: #000;
	border: 0;
	z-index: 99999;
	cursor: pointer;
}

button:not(.toggle).read-tooltip {
	background: linear-gradient(90deg, rgb(12 4 13) 0%, rgb(81 76 82) 100%);
}

.read-tooltip:before {
	content: "";
    display: block;
    position: absolute;
    width: 0;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-color: #2f2930 transparent transparent;
    border-style: solid;
    border-width: 10px 10px 0;
}

.read-tooltip .load-active,
.read-tooltip .load {
	float: left;
    display: inline-block;
	width: 25%;
}

.read-tooltip .load-active svg,
.read-tooltip .load svg {
    height: 40px;
    float: left;
	fill: #FFF;
}

.read-tooltip .text-load,
.read-tooltip .text-active {
	display: inline-block;
    line-height: 40px;
	float: left;
	font-size: 14px;
	text-align: left;
	width: 75%;
	color: #FFF;
}

.read-tooltip.active .text-load,
.read-tooltip.active .load,
.read-tooltip .load-active,
.read-tooltip .text-active {
	display: none;
}

.read-tooltip.active .load-active,
.read-tooltip.active .text-active {
	display: inline-block;
}

.active-text {
	background: #d1d1d1;
}

.active-text.hide {
	background: transparent;	
}

@media (max-width: 768px){
	.audioplayer .bar-line {
		left: 15px;
		transform: unset;
	}
	.audioplayer .navigation {
		width: 50px;
		float: left;
	}
	.audioplayer .title {
		width: calc(100% - 130px);
	}
	.audioplayer button.play,
	.audioplayer button.stop {
		margin: 0 30%;
	}
	.audioplayer .control {
		width: 24px;
		padding-left: 0;
	}
	.audioplayer button.prev,
	.audioplayer button.next,
	.audioplayer #text-speed,
	.audioplayer .name {
		display: none;
	}
	.audioplayer button.stop svg {
		margin-top: -2px;
	}
}

/* Explanations start */
.wp-block-buttons{
	text-align:center;
}
.wp-block-button{
	text-align:start;
}
.found-in-explanation{
	position: relative;
}
.highlight-btn{
	position: relative;
}
.highlighted{
	background-color: #b4cff0;
	cursor: pointer;
	color: #333;
}

.explanation-modal .explanation-word{
    display: inline-block;
    font-size: 16px;
    color: #0008D9 !important;
    font-weight:bold;
    padding-bottom: 9px;
	font-family: aktiv-grotesk, sans-serif;
	line-height: calc(25px * var(--text-scaler));
    letter-spacing: 0.42px;
}
.explanation-modal .explanation-desc{
	font-family: aktiv-grotesk, sans-serif;
    display: inline-block;	
    width: 100%;
    hyphens: auto;
    font-size: 14px;
    color: #2C2C2C !important;
	line-height: calc(25px * var(--text-scaler));
    letter-spacing: 0.42px;
	font-weight: 400;
}

.highlight-checkbox.modal-window {
	color: black;
	top: 70px;
}

.modal-window{
    font-size: 16px;
    position: absolute;
    background-color: white;
	z-index: 10;
    width: 316.75px;
    padding: 17px 13px 13px 17px;
	top: 37px;
    left: 50%;
    transform: translateX(-50%);
    filter: drop-shadow(0 2px 2px #aca6a6);
}

.modal-window::before{
    content: " ";
    left: 50%;
    border-bottom: 16px solid #fff;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    position: absolute;
    top: -15px;  
    transform: translateX(-50%);
}
/*
.modal-window::after{
    content: " ";
	position: absolute;
	top: -8px;
	left: 3px;
	border-left: 9px solid transparent;
	border-right: 9px solid transparent;
	border-bottom: 9px solid #fff;
}*/

.modal-window-above{
    font-size: 16px;
    position: absolute;
    background-color: white;
    z-index: 10;
    width: 316.75px;
    padding: 17px 13px 25px 17px;
    bottom: 37px;
    left: 50%;
    transform: translateX(-50%);
    filter: drop-shadow(0 2px 2px #aca6a6);
}

.modal-window-above::before{
	content: " ";
    left: 50%;
    border-top: 16px solid #fff;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    position: absolute;
    bottom: -15px;
    transform: translateX(-50%);
     
}
/*.modal-window-above::after{
    content: " ";
	position: absolute;
	bottom: -8px;
	left: 3px;
	border-top: 9px solid #fff;
	border-left: 9px solid transparent;
	border-right: 9px solid transparent;
}*/


.hidden{
    display:none;
}

/*  text enlargment stiling  */
#wcag-control .wp-block-button.highlight-btn .wp-block-button__link:hover,
#wcag-control .speech-btn:hover,
#wcag-control #text-scaler:hover {
	background-color: #DEEDFF;
}

.text-scaler-block{
    display: none;
    position: absolute;
    top: 0;
    left: -60px;
    background-color: #deeaf9;
    height: 48px;
}
.text-scaler-block.active{
    display: flex;
}

.text-scaler-plus
{
    position: relative;
    cursor: pointer;
    width: 34px;
	height: 34px;
	line-height: 32px;
    text-align: center;
    display: inline-block;
    transition: 0.3s;
    color: #0008D9;
    font-size: 23px;
    font-weight: bold;
	border: 1px solid #0008D9;
    margin: 7px 5px 7px 2px;
}
.text-scaler-plus.disabled {
    cursor: default;
    opacity: 0.5;
    pointer-events: none;
}
.text-scaler-minus
{
    position: relative;
    cursor: pointer;
    width: 34px;
	height: 34px;
	line-height: 32px;
    text-align: center;
    display: inline-block;
    transition: 0.3s;
    color: #0008D9;
    font-size: 23px;
    font-weight: bold;
	border: 1px solid #0008D9;
    margin: 7px 2px 7px 7px;
}
.text-scaler-plus:hover,
.text-scaler-minus:hover {
	transition: 0.3s;
	border-color: #deeaf9;
	color: #FFF;
	background: linear-gradient(to right bottom, #000FDA 0%, #00D3FE 100%);
}
.text-scaler-minus.disabled {
    cursor: default;
    opacity: 0.5;
    pointer-events: none;
}
.text-scaler-size{
    width: 50px;
    text-align: center;
    color: #000;
}
.entry-content p{
    font-size: calc(16px * var(--text-scaler));
    line-height: calc(1.5em * var(--text-scaler));
    color: #595959;
}
.entry-header-inner h1{
    font-size: calc(55px * var(--text-scaler));
    line-height: calc(57px * var(--text-scaler));
}

#wcag-control {
	display: inline-block;
	float: right;
	position: relative;
}

#wcag-control #text-scaler {
	display: inline-block;
	cursor: pointer;
	position: relative;
}

#wcag-control .speech-btn {
	display: inline-block;
	cursor: pointer;
	padding: 0 10px;
}

#wcag-control #text-scaler svg,
#wcag-control .speech-btn svg {
	margin-right: 5px;
	vertical-align: middle;
}

#wcag-control #text-scaler {
	padding-right: 10px;
}
#wcag-control .wp-block-button.highlight-btn {
	display: inline-block;
	margin-right: 10px;	
}
#wcag-control .wp-block-button.highlight-btn .wp-block-button__link,
#wcag-control .text-scaler-btn span,
#wcag-control .speech-btn span { 
	font-size: 14px;
	line-height: 20px;
	color: #0008D9;
	font-weight: 600;
}
#totalexplainedline {
    margin-bottom: 0;
    width: 100%;
    float: left;
}
#wcag-control .wp-block-button.highlight-btn .wp-block-button__link {
	background-color: transparent;
	border-radius: 0;
	    padding: 12px 10px;
}
div#wcag-control label {
    font-weight: normal;
    margin-left: 35px;
    line-height: 1;
    margin-top: 5px;
}
#wcag-control #text-scaler:hover .text-scaler-block {
	display: block;
}
#totalexplainedline {margin-bottom:0;    margin-top: 5px;}
@media (max-width: 400px){
	.modal-window,
	.modal-window-above {
		width: 180px;	
	}

}
