:root {
    --theme-primary-color: #52b54b;
    --theme-text-color: rgba(255, 255, 255, 0.87);
    --theme-text-color-opaque: rgba(255, 255, 255, 1.0);
    --theme-accent-text-color: rgba(255, 255, 122, 1.0);
    --theme-primary-color-lightened: rgba(94, 193, 87, 1.0);
    --theme-icon-focus-background: rgba(82, 181, 75, 0.4);
    --theme-background: rgba(23, 21, 57, 0.6);
    --button-background: rgba(40, 40, 40, 0.7);
    --card-background: rgba(10, 10, 10, 0.5);
    --header-background: rgba(3, 51, 97, 0.5) url(bg.jpg) no-repeat center top;
    --header-blur-background: rgba(3, 51, 97, 0.7);
    --footer-background: #033664;
    --footer-blur-background: var(--footer-background);
    --theme-body-secondary-text-color: rgba(255, 255, 255, 0.6);
    --line-background: rgba(255, 255, 255, 0.5);
    --line-size: 0.08em;
    --scrollbar-thumb-background: rgba(133, 115, 113, 1.0);
    --drawer-background: rgba(21, 20, 50, 0.9);
    --docked-drawer-background: rgba(0, 0, 0, 0.4);
    --logo-url:  /modules/themes/logowhite.png;
    --theme-button-hover-color: rgba(28, 141, 173, 0.718);
}
html {
    color: var(--theme-text-color);
    scrollbar-color: var(--scrollbar-thumb-background) transparent;
}
.emby-collapsible-button {
    border-color: var(--line-background) !important;
}
.skinHeader-withBackground.skinHeader-withfulldrawer {
    border-bottom: 0.08em solid var(--line-background);
}
.skinHeader-withBackground {
    background: var(--header-background);
}
.appfooter,
.formDialogFooter:not(.formDialogFooter-clear),
.formDialogHeader:not(.formDialogHeader-clear) {
    background: var(--footer-background);
}
@supports (backdrop-filter: blur(1em)) or (-webkit-backdrop-filter: blur(1em)) {
    .skinHeader-withBackground {
        background: var(--header-blur-background);
        -webkit-backdrop-filter: saturate(1.8) blur(1.5em);
        backdrop-filter: saturate(1.8) blur(1.5em);
    }
    .appfooter-withbackdropfilter {
        background: var(--footer-blur-background);
        -webkit-backdrop-filter: saturate(1.8) blur(1.5em);
        backdrop-filter: saturate(1.8) blur(1.5em);
    }
}
.skinHeader.semiTransparent {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background-color: rgba(0, 0, 0, 0.3);
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.6)), to(rgba(0, 0, 0, 0)));
    background: -webkit-linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
    background: -o-linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border-bottom: 0;
    color: rgba(255, 255, 255, 0.87);
}
.pageTitleWithDefaultLogo {
    background-image: url(../logowhite.png);
}
.dialog,
html {
    background-color: var(--theme-background);
}
.backgroundContainer {
    background: no-repeat center top;
    -webkit-background-size: cover;
    background-size: cover;
}
.backgroundContainer.withBackdrop {
    opacity: 0.88;
}
@media not all and (min-width: 50em) {
    .itemBackgroundContainer.withBackdrop {
        opacity: 1;
    }
}
.paper-icon-button-light-tv:focus,
.paper-icon-button-light:active {
    color: var(--theme-primary-color);
    background-color: var(--theme-icon-focus-background);
}
@media (hover: hover) and (pointer: fine) {
    .paper-icon-button-light:focus {
        color: var(--theme-primary-color);
        background-color: var(--theme-icon-focus-background);
    }
}
.detailButton-icon,
.fab,
.raised {
    background: var(--button-background);
    color: var(--theme-text-color);
}
.detailButton-icon {
    border-color: rgba(255, 255, 255, 0.3);
}
.emby-select-withcolor {
    color: inherit;
    background: var(--button-background);
    border: var(--line-size) solid transparent;
}
.toast {
    background: var(--button-background);
    color: var(--theme-text-color);
}
@supports (backdrop-filter: blur(1em)) or (-webkit-backdrop-filter: blur(1em)) {
    .detailButton-icon,
    .emby-select-withcolor.detailTrackSelect,
    .fab,
    .raised:not(.nobackdropfilter) {
        background: rgba(0, 0, 0, 0.4);
        -webkit-backdrop-filter: saturate(1.8) blur(1.5em);
        backdrop-filter: saturate(1.8) blur(1.5em);
    }
    .dialog-blur,
    .toast {
        color: #fff;
        background: rgba(56, 56, 56, 0.76);
        -webkit-backdrop-filter: blur(2.5em) saturate(1.8);
        backdrop-filter: blur(2.5em) saturate(1.8);
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }
    .toast-large {
        color: rgba(255, 255, 255, 0.87);
    }
}
.fab:focus,
.raised:focus {
    background: rgba(0, 0, 0, 0.3);
}
.button-submit:not(.emby-button-tv) {
    background: var(--theme-primary-color);
    color: #fff;
}
.button-submit:not(.emby-button-tv):focus {
    background: var(--theme-primary-color-lightened);
    color: #fff;
}
.emby-select-withcolor > option {
    color: inherit;
    background: var(--button-background);
}
.emby-select-withcolor:focus {
    border-color: var(--theme-primary-color) !important;
}
.emby-select-tv-withcolor:focus {
    background-color: var(--theme-primary-color) !important;
    color: #fff !important;
}
.checkboxLabel {
    color: inherit;
}
.emby-checkbox-focusring:focus:before {
    background-color: var(--theme-icon-focus-background);
}
.inputLabelFocused,
.selectLabelFocused,
.textareaLabelFocused {
    color: var(--theme-accent-text-color);
}
.button-link {
    color: var(--theme-accent-text-color);
}
.button-flat-accent {
    color: var(--theme-accent-text-color);
}
.paperList,
.visualCardBox {
    background-color: var(--card-background);
}
.collapseContent {
    border: var(--line-size) solid var(--line-background);
}
.cardText-secondary,
.fieldDescription,
.listItemBodyText-secondary,
.secondaryText {
    color: var(--theme-body-secondary-text-color);
}
.cardText-first {
    color: var(--theme-text-color-opaque);
}
.actionsheetDivider {
    background: var(--line-background);
}
@media (hover: hover) and (pointer: fine) {
    .actionSheetMenuItem:hover {
        background-color: rgba(0, 0, 0, 0.3);
    }
}
.selectionCommandsPanel {
    background: var(--theme-primary-color);
    color: #fff;
}
.upNextDialog-countdownText {
    color: var(--theme-primary-color);
}
.alphaPickerButton {
    color: var(--theme-body-secondary-text-color);
    background-color: transparent;
}
.alphaPickerButton-selected {
    color: var(--theme-text-color-opaque);
}
.alphaPickerButton-tv:focus {
    background-color: var(--theme-primary-color);
    color: #fff !important;
}
.detailTableBodyRow-shaded:nth-child(even) {
    background: #1c1c1c;
    background: rgba(30, 30, 30, 0.9);
}
.listItem-border {
    border-color: var(--line-background) !important;
}
.listItem-focusscale:focus {
    background: rgba(54, 54, 54, 0.8);
}
.progressring-spiner {
    border-color: var(--theme-primary-color);
}
.mediaInfoText {
    background: var(--button-background);
}
.starIcon {
    color: #cb272a;
}
.mediaInfoTimerIcon {
    color: #cb272a;
}
.emby-input,
.emby-textarea {
    color: inherit;
    background: var(--button-background);
    border: var(--line-size) solid transparent;
}
.emby-input:focus,
.emby-textarea:focus {
    border-color: var(--theme-primary-color);
}
.emby-checkbox:checked + span:before {
    border-color: currentColor;
}
.emby-checkbox:checked + span:before {
    border-color: var(--theme-primary-color);
    background-color: var(--theme-primary-color);
}
.itemProgressBarForeground {
    background-color: var(--theme-primary-color);
}
.itemProgressBarForeground-recording {
    background-color: #cb272a;
}
.countIndicator {
    background: var(--theme-primary-color);
}
.playedIndicator {
    background: var(--theme-primary-color);
}
.mainDrawer {
    background: var(--drawer-background);
}
.drawer-docked {
    background: var(--docked-drawer-background);
    border-right: var(--line-size) solid var(--line-background);
}
@media (hover: hover) and (pointer: fine) {
    .navMenuOption:hover {
        background: var(--theme-button-hover-color);
    }
}
.navMenuOption-selected {
    background-color: var(--theme-icon-focus-background) !important;
    color: var(--theme-accent-text-color);
}
.emby-button-focusscale:focus,
.emby-button-focusscale:focus .detailButton-icon {
    background: var(--theme-primary-color);
    color: #fff;
}
.emby-tab-button {
    color: var(--theme-body-secondary-text-color);
}
.emby-tab-button-active {
    color: var(--theme-accent-text-color);
}
.emby-tab-button-active.emby-button-tv {
    color: var(--theme-text-color-opaque);
}
.emby-tab-button.emby-button-tv:focus {
    color: var(--theme-accent-text-color);
    background: 0 0;
}
.emby-button {
    outline-color: var(--theme-primary-color);
}
.channelCell,
.guide-headerTimeslots,
.timeslotHeaders {
    background: var(--theme-background);
}
@media (pointer: coarse) {
    .channelCell-mobilefocus {
        background: var(--theme-background) !important;
    }
}
.channelCell-mobilefocus:not(:focus-visible) {
    background: rgba(13, 42, 86, 0.8) !important;
}
.channelCell-mobilefocus:not(:-moz-focusring) {
    background: rgba(13, 42, 86, 0.8) !important;
}
.channelCell,
.epgRow,
.programCell {
    border-color: rgba(255, 255, 255, 0.05);
}
.guide-currentTimeIndicatorDot {
    border-right-color: var(--theme-icon-focus-background);
}
.guide-currentTimeIndicatorDot:after {
    border-top-color: var(--theme-primary-color);
}
.firstChannelCell {
    border-color: transparent;
}
.programCell-sports {
    background: #3949ab !important;
}
.programCell-movie {
    background: #5e35b1 !important;
}
.programCell-kids {
    background: #039be5 !important;
}
.programCell-news {
    background: #43a047 !important;
}
.channelCell:focus,
.programCell:focus {
    background-color: var(--theme-primary-color);
    color: #fff;
}
.guide-programTextIcon {
    color: #1e1e1e;
    background: #555;
}
.infoBanner {
    background: var(--card-background);
    padding: 1em;
    -webkit-border-radius: 0.3em;
    border-radius: 0.3em;
}
.ratingbutton-icon-withrating {
    color: #c33 !important;
}
.downloadbutton-icon-on {
    color: #4285f4;
}
.downloadbutton-icon-complete {
    color: #4285f4;
}
.playstatebutton-icon-played {
    color: #c33 !important;
}
.repeatButton-active {
    color: #4285f4;
}
.card:focus .card-focuscontent {
    border-color: var(--theme-primary-color);
}
.cardContent-button {
    background-color: transparent;
}
.cardContent-shadow {
    -webkit-box-shadow: 0 0.0725em 0.29em 0 rgba(0, 0, 0, 0.37);
    box-shadow: 0 0.0725em 0.29em 0 rgba(0, 0, 0, 0.37);
    background-color: var(--card-background);
}
.defaultCardBackground0 {
    background-color: var(--card-background);
}
.defaultCardBackground1 {
    background-color: var(--card-background);
}
.defaultCardBackground2 {
    background-color: var(--card-background);
}
.defaultCardBackground3 {
    background-color: var(--card-background);
}
.defaultCardBackground4 {
    background-color: var(--card-background);
}
.defaultCardBackground5 {
    background-color: var(--card-background);
}
.cardOverlayButtonIcon {
    background-color: var(--theme-primary-color);
}
::-webkit-scrollbar-track-piece {
    background-color: transparent;
}
::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb-background);
}
.emby-slider-background {
    background: var(--scrollbar-thumb-background);
}
.emby-slider {
    color: var(--theme-primary-color);
}
.emby-slider::-moz-range-track {
    background: #444;
}
.emby-slider::-moz-range-progress {
    background: var(--theme-primary-color);
}
.emby-slider::-webkit-slider-thumb {
    background: var(--theme-primary-color);
}
.emby-slider::-moz-range-thumb {
    background: var(--theme-primary-color);
}
.emby-slider::-ms-thumb {
    background: var(--theme-primary-color);
}
.emby-slider-background-lower {
    background-color: var(--theme-primary-color);
}
.scrollbuttoncontainer {
    color: #fff;
    background: rgba(20, 20, 20, 0.5);
}
.recordingIcon-active {
    color: #c33 !important;
}
.drawerLogo {
    background-image: url(../logowhite.png);
    border-bottom-color: var(--line-background);
}
.searchTabsContainer {
    border-bottom: var(--line-size) solid var(--line-background);
}
.emby-search-tab-button.emby-tab-button-active {
    background: var(--theme-accent-text-color) !important;
}
.textActionButton.dragging {
    background: var(--button-background) !important;
}
.dragging-over.full-drop-target {
    background: var(--theme-primary-color) !important;
    color: #fff !important;
}
.dragging-over-top:before {
    background: var(--theme-accent-text-color);
}
.dragging-over-bottom:after {
    background: var(--theme-accent-text-color);
}
