body {
    --my-primary-color: #421D10;
    --my-primary-color-transp: rgba(72,151,151, .3);
    --my-secondary-color: rgb(87, 10, 10);
    --my-secondary-color-transp: rgba(87, 10, 10, 0.3);
}

 div#comment-recorder-wrapper {
    padding: 0.2em 1em;
    /* max-width: 500px; */
}

div#comment-recorder-wrapper .info-label h3 {
    display: inline-block;
}

div#comment-recorder-wrapper .info-label button.more-info {
    font-family: monospace;
    vertical-align: super;
    color: var(--my-primary-color);
    display: inline-block;
}

div#comment-recorder-wrapper .info-label button.more-info:hover {
    cursor: pointer;
}

div#comment-recorder-wrapper h1, h2, h3, h4, h5 {   
    margin: 0em 0 0.2em 0;
}

div#comment-recorder-wrapper #results {
    display: none;
}

div#comment-recorder-wrapper #results h5 {
    color: var(--my-primary-color);
}

div#comment-recorder-wrapper #controls {
    margin: 0.0em 0.6em 0.2em 0;
    display: inline-block;
}

div#comment-recorder-wrapper #status-label {
    display: inline-block;
    position: relative;
    top: -12px;
    color: rgb(68, 67, 67);
    font-style: italic;
    margin-top: 0.3em;
}

div#comment-recorder-wrapper #status-label .lbl-recording { color: darkred; }
div#comment-recorder-wrapper #status-label .lbl-paused { color: darkorange; }
div#comment-recorder-wrapper #status-label .lbl-stopped { color: rgb(68, 67, 67); }
div#comment-recorder-wrapper #status-label .lbl-error { color: darkred; text-transform: uppercase; }


div#comment-recorder-wrapper #controls button {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: none;
    background-color: rgba(255,255,255,0) !important;
    background-size: 40px 40px;
    background-repeat: no-repeat;
    box-shadow: 2px 2px;
}

div#comment-recorder-wrapper #controls button:hover {
    cursor: pointer;
}

div#comment-recorder-wrapper #controls button.hidden {
    display: none;
}

div#comment-recorder-wrapper #controls button:disabled {
    opacity: 0.2;
}

div#comment-recorder-wrapper #controls .record { margin-right: 0.3em; background-image: url('../img/record.png'); }
 
div#comment-recorder-wrapper #controls .pause { margin-right: 0.3em; background-image: url('../img/pause.png'); }

div#comment-recorder-wrapper #controls .stop { background-image: url('../img/stop.png'); }


div#comment-recorder-wrapper #results #recordingsList {
    padding-left: 0px;
    list-style-position: outside;
    margin: 0px;
}

div#comment-recorder-wrapper #results #recordingsList li {
    margin: 0.3em 0 0.3em 0;
    vertical-align: center;
    display: flex;
    align-items: center;
    /* justify-content: center; */
    padding: 8px 0 8px 0;
    max-width: 100%;
    width: 100%;
}

div#comment-recorder-wrapper #results #recordingsList li:nth-child(even) {
    background-color: var(--my-primary-color-transp);
}

div#comment-recorder-wrapper #results #recordingsList li audio {
    margin-left: 8px;
}

div#comment-recorder-wrapper #results #recordingsList li a.hidden {
    display: none;
}

div#comment-recorder-wrapper #results #recordingsList li a {
    padding: 5px;
    text-decoration: none;
    color: var(--my-primary-color);
    border: 2px solid var(--my-primary-color);
    border-radius: 3px;
    margin: 4px 6px 4px 0px;
    font-size: 0.8em;
}

div#comment-recorder-wrapper #results #recordingsList li a:nth-child(1) {
    color: var(--my-secondary-color);
    border-color: var(--my-secondary-color);
}

div#comment-recorder-wrapper #results #recordingsList li a:hover {
    background-color: var(--my-primary-color-transp);
}

div#comment-recorder-wrapper #results #recordingsList li a:nth-child(1):hover {
    background-color: var(--my-secondary-color-transp);
}

/*div#comment-recorder-wrapper #results #dp-notice small {
    font-style: italic;
} */

/* Animate the three dots in the "recording" status label */
@keyframes blink {
    0% { opacity: .2; }
    20% { opacity: 1; }
    100% { opacity: .2; }
}

.lbl-recording span {
    animation-name: blink;
    animation-duration: 1.4s;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}

.lbl-recording span:nth-child(2) {
    animation-delay: .2s;
}

.lbl-recording span:nth-child(3) {
    animation-delay: .4s;
}

/*
    Name, E-Mail, Data protection, ...
*/
div#comment-recorder-wrapper #form-meta {
    padding: 8px 0px 8px 0px;
}
div#comment-recorder-wrapper #form-meta label {
    display: inline-block;
    padding: 2px 4px 0px 0px;
}


/* 
    Pure CSS popover
*/

label.recorder-info-popover {
    position: relative;
}

label.recorder-info-popover button[name="recorder-popover-btn"] {
    font-family: inherit;
    font-size: inherit;
    background: none;
    border: 0 none;
    display: inline;
    outline: none;
    color: inherit;
    padding: unset;
}

label.recorder-info-popover .recorder-info-popover-body {
    display: none;
    font-size: 0.8em;
    border-radius: 3px;
    padding: 8px 8px 0px 8px;
    background-color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    position: absolute;
    z-index: 200;
    top: 32px;
    left: 10px;
    min-width: 300px;
    max-width: 100%;
}

label.recorder-info-popover .recorder-info-popover-body ol {
    padding-left: 14px;
}

label.recorder-info-popover button:focus + .recorder-info-popover-body {
    display: block;
}