.common-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: 0;
    background-color: #fff;
    border: 1px solid #b0d6fd;
    border-radius: 4px;
    padding: 8px;
    box-shadow: none;
    transition: box-shadow 0.4s ease;
    font: inherit;
    color: #b0d6fd;
}

.common-input:focus {
    border-color: #b0d6fd;
    box-shadow: 0 0 4px #b0d6fd;
}


.common-segmentedcontrol {
    position: relative;
}

.common-segmentedcontrol .segment-item {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #aaa;
    border-left: none;
    cursor: pointer;
}
.common-segmentedcontrol .segment-item:first-child {
    border-left: 1px solid #aaa;
}

.common-segmentedcontrol .segment-item:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
.common-segmentedcontrol .segment-item:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.common-segmentedcontrol .segment-item.selected {
    background-color: #b0d6fd;
    color: #000;
    cursor: default;
}
.common-select {
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    padding: 8px 24px 8px 16px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M530.61087 696.243211c-4.935406 0-9.66922-1.960655-13.159718-5.451152L333.207941 506.547825c-7.268544-7.268544-7.268544-19.051915 0-26.320459 7.268544-7.269567 19.052938-7.267521 26.320459 0l171.083493 171.083493 171.083493-171.083493c7.267521-7.268544 19.052938-7.268544 26.320459 0 7.268544 7.268544 7.268544 19.051915 0 26.320459L543.771611 690.792059C540.281113 694.282556 535.547299 696.243211 530.61087 696.243211z" fill="rgb(176, 214, 253)"></path></svg>');
    background-repeat: no-repeat;
    background-position: right 40%;
    background-size: 24px;
    background-color: #fff;
    border: 1px solid #b0d6fd;
    border-radius: 4px;
    box-shadow: none;
    color: #b0d6fd;
}

/* Hide arrow icon in IE browsers */
.common-select::-ms-expand {
    display: none;
}

.common-select:focus {
	outline: none;
	box-shadow: 0 0 4px #b0d6fd;
}

.common-select option {
	font-weight: normal;
}

/* TODO: Disabled styles */

html,
body {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 10px;
}

@font-face {
    font-family: "CRTB1";
    src: url(./static/images/CRTB1Regular.eot);
    src: url(./static/images/CRTB1Regular.eot?#iefix) format("embedded-opentype"),
        url(./static/images/CRTB1Regular.woff2) format("woff2"),
        url(./static/images/CRTB1Regular.woff) format("woff"),
        url(./static/images/CRTB1Regular.ttf) format("truetype"),
        url(./static/images/CRTB1Regular.svg#CRTB1Regular) format("svg");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "LEDCounter7";
    src: url(./static/images/LEDCounter7.eot);
    src: url(./static/images/LEDCounter7.eot?#iefix) format("embedded-opentype"),
        url(./static/images/LEDCounter7.woff2) format("woff2"),
        url(./static/images/LEDCounter7.woff) format("woff"),
        url(./static/images/LEDCounter7.ttf) format("truetype"),
        url(./static/images/LEDCounter7.svg#LEDCounter7) format("svg");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.stage {
    position: absolute;
    display: block;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow: hidden;
}

.layer {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
}

.clock-view .time {
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    font-family: "Arial Bold", sans-serif;
    font-size: 10rem;
    word-spacing: 0;
}
.clock-view .time.CRTB1 {
    font-family: "CRTB1", sans-serif;
    word-spacing: -1rem;
}
.clock-view .time.LEDCounter7 {
    font-family: "LEDCounter7", sans-serif;
    word-spacing: -1rem;
}

.clock-view .location {
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    font-size: 3.2rem;
}

.overlay-view {
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .75);
    position: absolute;
}
.overlay-view.hidden {
    display: none;
}

.overlay-view span {
    font-size: 20px;
    color: #eee;
    text-align: center;
    position: absolute;
    width: 100%;
    bottom: 0;
}

.play-icon {
    width: 128px;
    height: 128px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}
.play-icon svg {
    fill: #eee;
}

.settings-view {
    display: block;
    width: 100%;
    height: 320px;
    background-color: rgba(255, 255, 255, .75);
    position: absolute;
    bottom: -320px;
    transition: bottom 0.5s ease;
}
.settings-view.visible {
    bottom: 0;
}

.settings-view .button-settings {
    display: block;
    width: 128px;
    height: 48px;
    line-height: 48px;
    background-color: rgba(255, 255, 255, 0);
    text-align: center;
    position: absolute;
    top: -48px;
    left: 0;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    cursor: pointer;
    border-top-right-radius: 8px;
}
.settings-view.visible .button-settings {
    background-color: rgba(255, 255, 255, 0.75);
}
.settings-view .button-settings .button-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    vertical-align: middle;
    fill: #000;
}
.settings-view .button-settings .button-label {
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
    color: #000;
    font-size: 1.4rem;
    font-family: Arial, Helvetica, sans-serif;
}

.settings-view .settings-item {
    padding: 8px 16px;
    vertical-align: middle;
    font-size: 1.2rem;
}

.settings-view .label {
    display: inline-block;
    width: 96px;
    font-weight: bold;
    text-align: center;
}

.settings-view .options-inline {
    display: inline-block;
}

.settings-view .options-inline .segment-item {
    border: 1px solid #b0d6fd;
    border-left: none;
    background-color: #fff;
    color: #b0d6fd;
}
.settings-view .options-inline .segment-item:first-child {
    border-left: 1px solid #b0d6fd;
}
.settings-view .options-inline .segment-item.selected {
    background-color: #b0d6fd;
    color: #fff;
    cursor: default;
}
