.able-player {
	font-family: 'Open Sans';
	background-color: var(--color-black);
}


.able {
	border: 1px solid var(--color-black);
	box-shadow: none;
	box-sizing: border-box;
	z-index: 1;
}


.able-big-play-button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	aspect-ratio: 1/1;
	cursor: pointer;
	transition: transform 0.2s ease;
	background: url(../Icons/icon-play.svg) center center no-repeat;
	background-size: contain;
	border: 0;
	max-width: 20%;
	max-height: 20%;
}
.able-wrapper button svg {
	display: none;
	opacity: 0;
	pointer-events: none;
	display: inline-block;
	width: 0.4em;
	height: 0.4em;
	fill: currentColor;
	border-radius: 20px;
}


.able-controller {
	position: relative;
	border-bottom: 1px solid #4c4c4c;
	background-color: var(--color-black);
	min-height: 38px;
	padding: 5px 10px;
}

.able-controller div[role="button"]:hover {
	outline-color: #00645f !important;
}
.able-controller div[role="button"]:focus {
	outline-color: #00645f !important;
}

.able-controller div[role="button"]:focus, .able-controller div[role="button"]:hover, .able-controller input:focus, .able-controller input:hover, .able-seekbar-head:focus, .able-seekbar-head:hover, .able-window-toolbar input:focus, .able-window-toolbar input:hover, .able-window-toolbar select:focus, .able-window-toolbar select:hover {
  outline-style: solid;
  outline-width: 2px;
}

.able-controller div[role="button"] {
	background: 0 0;
	position: relative;
	display: inline-block;
	border-style: none;
	margin: 3px;
	padding: 0;
	font-size: 23px;
	min-width: 24px;
	border: none;
	overflow: visible !important;
	z-index: 6600;
	display: inline-flex;
	padding: 3px;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}

.able-right-controls > span {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding: 3px 0;
	margin: 3px 0;
	position: relative;
	vertical-align: middle;
}


.able-controller .able-seekbar {
	margin: 0 5px;
	z-index: 6900;
	border-radius: 5px;
}

.able-status-bar {
	height: 1.5em;
	min-height: 1.5em;
	color: #ccc;
	font-size: .9em;
	background-color: transparent;
	padding: 5px 10px;
}

div.able-skin-2020 div.able-seekbar-wrapper {
	margin: 10px 0;
}

.able-button-handler-play {
	margin-left:-3px !important;
}

.able-volume-slider {
	padding: 12px 0;
	background-color: var(--color-black);
}


input[type="range"] {
  accent-color : #e0e0e0;
}
.able-volume-slider input[type="range"]::-moz-range-track {
	border-radius: 5px;
}

.able-controller div[role=button]:focus, .able-controller input:focus, .able-seekbar-head:focus, .able-window-toolbar input:focus, .able-window-toolbar select:focus {
    outline-color: #00645f !important;
}

.able-popup li {
    margin: 0;
    white-space: nowrap;
}

/*
** Modal Dialog
*/
.able-prefs-captions select {
    width: 15em;
}

div.able-modal-dialog button:focus, div.able-modal-dialog input:focus {
    outline-color: #00645f !important;
}

div.able-modal-overlay {
    background-color: #6f6f6f;
    opacity: 0.85;
}

div.able-modal-dialog {
    font-family: 'Open Sans';
    width: 40vw !important;
    overflow-x: hidden;
    overflow-y: auto;
    height: 70vh;
    padding: 40px;
    box-sizing: border-box !important;
    border: 0;
    margin-left: 0;
    margin-right: 0;
}

@media (max-width: 990px) {
	div.able-modal-dialog {
		width: 90vw !important;
		height: auto;
	}	
}

.able-help-div, .able-prefs-form, .able-resize-form {
	background-color: var(--color-white);
	border: 2px solid var(--color-black);
	padding: 15px;
	margin: 0;
	width: 25em;
	display: none;
}

.able-modal-dialog .modalCloseButton {
	top:15px;
	right:15px;	
	display: block;
	width: 48px;
	height: 48px;
	background-image: url(../Icons/icon-close.svg);
	background-size: contain;
	background-color: transparent;
	border: 0;
	cursor: pointer;
	color:transparent;
}
.able-modal-dialog button.modalCloseButton:hover {
	background-image: url(../Icons/icon-close-active.svg);
	background-size: contain;
}


.able-modal-dialog p {
	font-style: normal;
  font-weight: 400;
  font-size: clamp(1.125rem, 0.185vw + 1.083rem, 1.25rem);
  line-height: clamp(1.875rem, 0.185vw + 1.833rem, 2rem);
}

.able-modal-dialog ul {
	margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 1em;
  padding-left: 1.2em;
  font-weight: 400;
  font-size: clamp(1.125rem, 0.185vw + 1.083rem, 1.25rem);
  line-height: clamp(1.875rem, 0.185vw + 1.833rem, 2rem);  
}
.able-modal-dialog ul li::marker {
	content: '— ';
}

div.able-modal-dialog h1 {
	font-style: normal;
	font-weight: 600;
	font-size: clamp(1.5rem, 0.926vw + 1.292rem, 2.125rem);
	line-height: clamp(2.25rem, 0.923vw + 2.042rem, 2.873rem);
	letter-spacing: clamp(-0.17px, 0.057px + -0.016vw, 0px);
	color:var(--color-black);
	text-align: left !important;
	margin: 0 40px 1em 0;
}

div.able-modal-dialog h2 {
	font-style: normal;
	font-weight: 600;
	font-size: clamp(1.375rem, 0.37vw + 1.292rem, 1.625rem);
	line-height: clamp(2.125rem, 0.37vw + 2.042rem, 2.375rem);
	color:var(--color-black);
	text-align: left !important;
	margin: 0 0 1em 0;
}

.modal-button {
	background-color: transparent;
	color: var(--color-black) !important;
	text-align: center;
	font-weight: 600;
	line-height: 32px;
	padding: 12px 24px 14px 24px;
	border-radius: 50px;
	border: 1px solid var(--color-black);
	transition: color 0.15s ease-out, background-color 0.15s ease-out, border-color 0.15s ease-out;
	background-image: none;
	display: inline-block;
	cursor: pointer;
	pointer-events: all;
	font-style: normal;
  font-weight: 400;
  font-size: clamp(1.125rem, 0.185vw + 1.083rem, 1.25rem);
  line-height: clamp(1.875rem, 0.185vw + 1.833rem, 2rem);	
  margin-bottom: 20px;
}

.modal-button:hover {
	background-color: var(--color-black);
	color: var(--color-white) !important;
	transition: color 0.15s ease-out, background-color 0.15s ease-out, border-color 0.15s ease-out;
}

div.able-modal-dialog hr {
	margin:2em 0;
}

.able-prefs-form div[role="group"] > div > label {
	font-size: clamp(1.125rem, 0.185vw + 1.083rem, 1.25rem);
}
.able-prefs-captions select, .able-prefs-descriptions > div.able-prefs-select > select, .able-prefs-descriptions > div.able-prefs-slider > select {
	border: 1px solid var(--color-black);
	padding: 5px 15px;
	background: var(--color-green5);
	font-size: clamp(1.125rem, 0.185vw + 1.083rem, 1.25rem);
}


.able-prefs-checkbox,
.able-prefHighlight,
.able-prefTabbable,
.able-prefAltKey,
.able-prefCtrlKey,
.able-prefShiftKey {
	position: relative;
	margin-top: 10px;
}

.able-prefs-checkbox [type="checkbox"] + label::before,
.able-prefHighlight [type="checkbox"] + label::before,
.able-prefTabbable [type="checkbox"] + label::before,
.able-prefAltKey [type="checkbox"] + label::before,
.able-prefCtrlKey [type="checkbox"] + label::before,
.able-prefShiftKey [type="checkbox"] + label::before {
	pointer-events: none;
}

.able-prefs-checkbox input[type=checkbox],
.able-prefHighlight input[type=checkbox],
.able-prefTabbable input[type=checkbox],
.able-prefAltKey input[type=checkbox],
.able-prefCtrlKey input[type=checkbox],
.able-prefShiftKey input[type=checkbox] {
    position: absolute;
    left: 0;
    width: 22px !important;
    height: 22px;
    z-index: 10;
    appearance: none;
    border:0;
    box-shadow: none;
    border-radius: 0;
}

.able-prefs-checkbox input[type=checkbox]::before,
.able-prefHighlight input[type=checkbox]::before,
.able-prefTabbable input[type=checkbox]::before,
.able-prefAltKey input[type=checkbox]::before,
.able-prefCtrlKey input[type=checkbox]::before,
.able-prefShiftKey input[type=checkbox]::before {
	content:'';
	width: 22px;
	height: 22px;
	background:url(../Icons/icon-checkbox.svg) 0 0 ;
	background-size: contain;
	display: block;
}
.able-prefs-checkbox input[type=checkbox]:hover::before,
.able-prefHighlight input[type=checkbox]:hover::before,
.able-prefTabbable input[type=checkbox]:hover::before,
.able-prefAltKey input[type=checkbox]:hover::before,
.able-prefCtrlKey input[type=checkbox]:hover::before,
.able-prefShiftKey input[type=checkbox]:hover::before {
	background:url(../Icons/icon-checkbox-hover.svg) 0 0 ;
	background-size: contain;
}

.able-prefs-checkbox input[type=checkbox]:checked::before,
.able-prefHighlight input[type=checkbox]:checked::before,
.able-prefTabbable input[type=checkbox]:checked::before,
.able-prefAltKey input[type=checkbox]:checked::before,
.able-prefCtrlKey input[type=checkbox]:checked::before,
.able-prefShiftKey input[type=checkbox]:checked::before {
	background:url(../Icons/icon-checkbox-active.svg) 0 0 ;
	background-size: contain;
}

.able-prefs-checkbox label,
.able-prefHighlight label,
.able-prefTabbable label,
.able-prefAltKey label,
.able-prefCtrlKey label,
.able-prefShiftKey label {
	padding-left:40px !important;
}

div.able-modal-dialog button:hover, div.able-modal-dialog input:hover {
    outline-color: transparent !important;
}

div.able-modal-dialog button:focus, div.able-modal-dialog input:focus {
	outline-color: transparent !important;
}
div.able-modal-dialog button:focus-visible, div.able-modal-dialog input:focus-visible {
	outline-color: #00645f !important; 
}


/*
** Transkript
*/
.able-transcript-area {
	position: static !important;
	margin-top: 20px;
	max-width: 85vw;
}

.able-transcript-area {
  font-family: 'Open Sans';	
  font-size: clamp(1.125rem, 0.185vw + 1.083rem, 1.25rem);
  line-height: clamp(1.875rem, 0.185vw + 1.833rem, 2rem);  
}

.able-transcript-area .able-button-handler-preferences {
	top: 10px;
	right: 10px;
}

.able-transcript span:active, .able-transcript span:focus, .able-transcript span:hover {
	background: var(--color-green6);
	border-bottom: 1px solid var(--color-black);
}

.able-popup {
    position: absolute;
    margin: 0;
    padding: 0;
    border-color: #333;
    border-width: 1px;
    background-color: #000;
    opacity: 1;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    display: block;
    cursor: default;
    border-style: solid;
    overflow: hidden;
}

.able-popup li:hover {
    background-color: #eee;
    color: #000;
}


.able-button-handler-preferences {
	display: none !important;
	pointer-events: none;
	appearance:none;
}


/*
** audioplayer
*/

.localaudio-bottomplayer .able-wrapper {
	width:100%;
	margin-top:0;
	margin-bottom:0;
}



@media (max-width: 990px) {

	.able-prefs-form div[role=group]>div {
	    display: table;
	    margin-left: 0;
	}
	.able-prefs-form div[role=group]>div>label {
	    display: block;
	    padding-left: 0;
	    width: auto;
	    min-width: 6em;
	    text-align: left;
	}
}

