* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    color: #626262;
    font-size: 16px;
    line-height: 26px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 2rem;
}
body,
button {
    font-family: "Open-Sans", sans-serif;
    letter-spacing: 0.02rem;
}
h1 {
    font-size: 38px;
    line-height: 45px;
    letter-spacing: 1px;
    color: #000;
}
h2 {
    font-size: 28px;
    line-height: 38px;
    letter-spacing: 1px;
    color: #000;
}
section {
    margin: 2rem 0;
}
p {
    margin: 0.7rem 0;
}
a {
    text-decoration: none;
    color: #9e206c;
}
a:hover,
a:focus {
    color: #701451;
}
a.info {
    color: #aaa;
}
a.info:hover,
a.info:focus {
    color: #626262;
}
a[target="_blank"] {
    padding-right: 1em;
    background-image: url('../assets/images/external-link-alt.svg');
    background-repeat: no-repeat;
    background-position: 100% 30%;
    background-size: .8em;
}
button,
a.button,
select {
    display: inline-block;
    line-height: 1;
    font-size: 14px;
    margin: 2px 0;
    padding: 10px;
    color: #fff;
    background-color: #9e206c;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    vertical-align: middle;
    accent-color: #9e206c;
}
button:hover,
button:focus,
a.button:hover,
a.button:focus,
select:hover,
select:focus {
    color: #fff;
    background-color: #891b64;
    outline: 0;
}
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 20px;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-position: 100% 5px;
    background-repeat: no-repeat;
}
button[disabled],
select[disabled] {
    opacity: 0.5;
}
progress,
input[type="range"],
input[type="checkbox"] {
    accent-color: #9e206c;
    outline-color: #9e206c;
}
#share {
    display: none;
}
#share.enabled {
    display: inline-block;
}
#preview-video {
    width: 480px;
    max-width: 100%;
}
#video_bandwidth_results_video {
    width: 640px;
    max-width: 100%;
}
#preview-video.mirror,
#video_bandwidth_results_video.mirror {
    transform: scale(-1, 1);
}
#preview-audio-mic,
#preview-audio-mp3 {
    display: none;
}
#testrun-permissions-alert {
    display: none;
}
#testrun-permissions-alert.show {
    display: block;
}
#preview-cam-info .frozen,
#preview-cam-info .black {
    display: none;
}
#preview-cam-info.frozen .frozen,
#preview-cam-info.black .black {
    display: block;
}
.switch {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}
.switch-input {
    display: none;
}
.switch-label {
    display: block;
    width: 48px;
    height: 24px;
    text-indent: -150%;
    clip: rect(0 0 0 0);
    color: transparent;
    user-select: none;
}
.switch-label::before,
.switch-label::after {
    content: "";
    display: block;
    position: absolute;
    cursor: pointer;
}
.switch-label::before {
    width: 100%;
    height: 100%;
    background-color: #dedede;
    border-radius: 9999em;
    -webkit-transition: background-color 200ms ease;
    transition: background-color 200ms ease;
}
.switch-label::after {
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.45);
    -webkit-transition: left 200ms ease;
    transition: left 200ms ease;
}
.switch-input:checked + .switch-label::before {
    background-color: green;
}
.switch-input:checked + .switch-label::after {
    left: 24px;
}
#eyeson_recordings video {
    max-width: 200px;
}