/* fixme: it wouldn't hurt if focus was blue */

body.OxThemeModern {
    background: rgb(16, 16, 16);
}
.OxThemeModern a {
    color: rgb(128, 128, 255);
}
.OxThemeModern div {
    color: rgb(240, 240, 240);
}
.OxThemeModern .OxHighlight {
    //background: rgb(255, 255, 0);
    //font-weight: bold;
    //color: rgb(0, 0, 0);
    color: rgb(255, 255, 0);
}
.OxThemeModern .OxBright {
    color: rgb(255, 255, 255);
}
.OxThemeModern .OxLight {
    color: rgb(128, 128, 128);
}
.OxThemeModern .OxGrid {
    background-color: rgb(8, 8, 8);
    background-image:
        -moz-linear-gradient(45deg, rgb(24, 24, 24) 25%, transparent 25%, transparent 75%, rgb(24, 24, 24) 75%, rgb(24, 24, 24)), 
	    -moz-linear-gradient(45deg, rgb(24, 24, 24) 25%, transparent 25%, transparent 75%, rgb(24, 24, 24) 75%, rgb(24, 24, 24));
    background-image:
        -o-linear-gradient(45deg, rgb(24, 24, 24) 25%, transparent 25%, transparent 75%, rgb(24, 24, 24) 75%, rgb(24, 24, 24)), 
	    -o-linear-gradient(45deg, rgb(24, 24, 24) 25%, transparent 25%, transparent 75%, rgb(24, 24, 24) 75%, rgb(24, 24, 24));
    background-image:
        -webkit-linear-gradient(45deg, rgb(24, 24, 24) 25%, transparent 25%, transparent 75%, rgb(24, 24, 24) 75%, rgb(24, 24, 24)), 
    	-webkit-linear-gradient(45deg, rgb(24, 24, 24) 25%, transparent 25%, transparent 75%, rgb(24, 24, 24) 75%, rgb(24, 24, 24));
    background-size: 32px 32px;
    background-position: 0 0, 16px 16px
}

/*
================================================================================
Bars
================================================================================
*/

.OxThemeModern .OxBar.OxHorizontal {
    //background: -moz-linear-gradient(left top, left bottom, from(rgb(96, 96, 96)), to(rgb(64, 64, 64)));
    //background: -webkit-gradient(linear, left top, left bottom, from(rgb(96, 96, 96)), to(rgb(64, 64, 64)));
    background-image: -moz-linear-gradient(top, rgb(64, 64, 64), rgb(32, 32, 32));
    background-image: -o-linear-gradient(top, rgb(64, 64, 64), rgb(32, 32, 32));
    background-image: -webkit-linear-gradient(top, rgb(64, 64, 64), rgb(32, 32, 32));
}

.OxThemeModern .OxProgressbar {
    border-color: rgb(48, 48, 48);
    background-image: -moz-linear-gradient(top, rgb(96, 96, 96), rgb(64, 64, 64));
    background-image: -o-linear-gradient(top, rgb(96, 96, 96), rgb(64, 64, 64));
    background-image: -webkit-linear-gradient(top, rgb(96, 96, 96), rgb(64, 64, 64));
}
.OxThemeModern .OxProgressbar .OxTrack {
    border-color: rgb(48, 48, 48);
    background-image: -moz-linear-gradient(top, rgb(0, 0, 0), rgb(32, 32, 32));
    background-image: -o-linear-gradient(top, rgb(0, 0, 0), rgb(32, 32, 32));
    background-image: -webkit-linear-gradient(top, rgb(0, 0, 0), rgb(32, 32, 32));
}
.OxThemeModern .OxProgressbar .OxProgress {
    border-color: rgb(48, 48, 48);
    background-image:
        -moz-repeating-linear-gradient(
            -45deg, transparent 0, transparent 25%,
            rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.05) 50%,
            transparent 50%, transparent 75%,
            rgba(255, 255, 255, 0.05) 75%, rgba(255, 255, 255, 0.05) 100%
        ),
        -moz-linear-gradient(top, rgb(96, 96, 96), rgb(64, 64, 64));
    background-image:
        -o-repeating-linear-gradient(
            -45deg, transparent 0, transparent 25%,
            rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.05) 50%,
            transparent 50%, transparent 75%,
            rgba(255, 255, 255, 0.05) 75%, rgba(255, 255, 255, 0.05) 100%
        ),
        -o-linear-gradient(top, rgb(96, 96, 96), rgb(64, 64, 64));
    background-image:
        -webkit-repeating-linear-gradient(
            -45deg, transparent 0, transparent 25%,
            rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.05) 50%,
            transparent 50%, transparent 75%,
            rgba(255, 255, 255, 0.05) 75%, rgba(255, 255, 255, 0.05) 100%
        ),
        -webkit-linear-gradient(top, rgb(96, 96, 96), rgb(64, 64, 64));
    background-size: 32px 32px, 16px 16px;
}
.OxThemeModern .OxProgressbar .OxProgress.OxAnimate {
    background-image:
        -moz-repeating-linear-gradient(
            -45deg, transparent 0, transparent 25%,
            rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.1) 50%,
            transparent 50%, transparent 75%,
            rgba(255, 255, 255, 0.1) 75%, rgba(255, 255, 255, 0.1) 100%
        ),
        -moz-linear-gradient(top, rgb(96, 96, 96), rgb(64, 64, 64));
    background-image:
        -o-repeating-linear-gradient(
            -45deg, transparent 0, transparent 25%,
            rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.1) 50%,
            transparent 50%, transparent 75%,
            rgba(255, 255, 255, 0.1) 75%, rgba(255, 255, 255, 0.1) 100%
        ),
        -o-linear-gradient(top, rgb(96, 96, 96), rgb(64, 64, 64));
    background-image:
        -webkit-repeating-linear-gradient(
            -45deg, transparent 0, transparent 25%,
            rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.1) 50%,
            transparent 50%, transparent 75%,
            rgba(255, 255, 255, 0.1) 75%, rgba(255, 255, 255, 0.1) 100%
        ),
        -webkit-linear-gradient(top, rgb(96, 96, 96), rgb(64, 64, 64));
}

.OxThemeModern .OxResizebar > .OxLine {
    background-color: rgb(48, 48, 48);
}

/*
================================================================================
Calendar
================================================================================
*/

.OxThemeModern .OxCalendar .OxTimeline > div.odd {
    background-image: -moz-linear-gradient(top, rgb(64, 64, 64), rgb(32, 32, 32));
    background-image: -o-linear-gradient(top, rgb(64, 64, 64), rgb(32, 32, 32));
    background-image: -webkit-linear-gradient(top, rgb(64, 64, 64), rgb(32, 32, 32));
}

.OxThemeModern .OxCalendar .OxTimeline > div.even {
    background-image: -moz-linear-gradient(top, rgb(48, 48, 48), rgb(24, 24, 24));
    background-image: -o-linear-gradient(top, rgb(48, 48, 48), rgb(24, 24, 24));
    background-image: -webkit-linear-gradient(top, rgb(48, 48, 48), rgb(24, 24, 24));
}

.OxThemeModern .OxCalendar .OxBackground > div {
    //background: rgb(20, 20, 20);
    background: rgb(24, 24, 24);
}
.OxThemeModern .OxCalendar .OxBackground > div.line {
    background: rgb(32, 32, 32);
}

.OxThemeModern .OxCalendar .OxLine > .OxEvent {
    color: rgb(255, 255, 255);
}
.OxThemeModern .OxCalendar .OxLine > .OxEvent.OxSelected {
    box-shadow: inset 0 0 1px rgb(255, 255, 255),
        inset 0 0 1px rgb(255, 255, 255),
        inset 0 0 1px rgb(255, 255, 255),
        inset 0 0 1px rgb(255, 255, 255);
}
.OxThemeModern .OxEvent.OxDate {
    background: -moz-linear-gradient(top, rgba(96, 96, 192, 0.9), rgba(64, 64, 160, 0.9));
    background: -o-linear-gradient(top, rgba(96, 96, 192, 0.9), rgba(64, 64, 160, 0.9));
    background: -webkit-linear-gradient(top, rgba(96, 96, 255, 0.9), rgba(64, 64, 224, 0.9));
}
.OxThemeModern .OxEvent.OxPlace {
    background: -moz-linear-gradient(top, rgba(0, 128, 96, 0.9), rgba(0, 96, 64, 0.9));
    background: -o-linear-gradient(top, rgba(0, 128, 96, 0.9), rgba(0, 96, 64, 0.9));
    background: -webkit-linear-gradient(top, rgba(0, 128, 96, 0.9), rgba(0, 96, 64, 0.9));
}
.OxThemeModern .OxEvent.OxPerson {
    background: -moz-linear-gradient(top, rgba(255, 96, 0, 0.9), rgba(224, 64, 0, 0.9));
    background: -o-linear-gradient(top, rgba(255, 96, 0, 0.9), rgba(224, 64, 0, 0.9));
    background: -webkit-linear-gradient(top, rgba(255, 96, 0, 0.9), rgba(224, 64, 0, 0.9));
}
.OxThemeModern .OxEvent.OxOther {
    background: -moz-linear-gradient(top, rgba(192, 32, 32, 0.9), rgba(160, 0, 0, 0.9));
    background: -o-linear-gradient(top, rgba(192, 32, 32, 0.9), rgba(160, 0, 0, 0.9));
    background: -webkit-linear-gradient(top, rgba(192, 32, 32, 0.9), rgba(160, 0, 0, 0.9));
}


.OxThemeModern .OxCalendar .OxOverlay div:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 0 2px rgb(255, 255, 255);
}
.OxThemeModern .OxCalendar .OxOverlay div:nth-child(odd) {
    background-color: rgba(0, 0, 0, 0.25);
}

.OxThemeModern .OxCalendar .OxCalendarControl,
.OxThemeModern .OxCalendar .OxEventControl {
    border-color: rgb(192, 192, 192);
    background: rgba(0, 0, 0, 0.75);
    color: rgb(192, 192, 192);
}

.OxThemeModern .OxCalendarEditor .OxWarning {
    border-bottom: 2px dotted rgb(192, 0, 0);
}

/*
================================================================================
Dialog
================================================================================
*/

.OxThemeModern .OxDialog {
    -moz-box-shadow: 2px 2px 8px rgba(0, 0, 0, 1);
    -o-box-shadow: 2px 2px 8px rgba(0, 0, 0, 1);
    -webkit-box-shadow: 2px 2px 8px rgba(0, 0, 0, 1);
}

.OxThemeModern .OxDialog .OxBar {
    background: -moz-linear-gradient(top, rgba(64, 64, 64, 0.95), rgba(32, 32, 32, 0.95));
    background: -o-linear-gradient(top, rgba(64, 64, 64, 0.95), rgba(32, 32, 32, 0.95));
    background: -webkit-linear-gradient(top, rgba(64, 64, 64, 0.95), rgba(32, 32, 32, 0.95));
}

.OxThemeModern .OxDialog .OxContent {
    background: rgba(48, 48, 48, 0.95);
}
.OxThemeModern .OxDialog .OxIconList .OxContent {
    background: transparent;
}

.OxThemeModern .OxLayer {
    background: rgb(0, 0, 0);
}

/*
================================================================================
DocPage
================================================================================
*/

.OxThemeModern .OxFailed {
    color: rgb(192, 0, 0);
}

/*
================================================================================
Document
================================================================================
*/

.OxThemeModern .OxDocument code {
    color: rgb(192, 192, 255);
}
.OxThemeModern .OxDocument div {
    border-color: rgb(48, 48, 48);
}

/*
================================================================================
Forms
================================================================================
*/

/*
.OxThemeModern .OxInput::-selection {
    background: rgb(80, 80, 80);
}
*/

.OxThemeModern input.OxCheckbox,
.OxThemeModern input.OxInput,
.OxThemeModern textarea,
.OxThemeModern .OxButton,
.OxThemeModern .OxLabel,
.OxThemeModern .OxTrack {
    //border: 1px solid rgb(80, 80, 80);
    border-color: rgb(48, 48, 48);
    color: rgb(192, 192, 192);
}
.OxThemeModern .OxSelect {
    border-color: rgb(48, 48, 48);
}
.OxThemeModern .OxSelect > .OxTitle {
    color: rgb(192, 192, 192);
}

.OxThemeModern .OxInput {
    color: rgb(192, 192, 192);
}
.OxThemeModern .OxButton,
.OxThemeModern div.OxInput,
.OxThemeModern .OxSelect {
    background: -moz-linear-gradient(top, rgb(96, 96, 96), rgb(64, 64, 64));
    background: -o-linear-gradient(top, rgb(96, 96, 96), rgb(64, 64, 64));
    background: -webkit-linear-gradient(top, rgb(96, 96, 96), rgb(64, 64, 64));
    //background: -moz-linear-gradient(left top, left bottom, from(rgb(64, 64, 64)), to(rgb(32, 32, 32)));
    //background: -webkit-gradient(linear, left top, left bottom, from(rgb(64, 64, 64)), to(rgb(32, 32, 32)));
}
.OxThemeModern div.OxInput.OxTextarea {
    background: transparent;
}
.OxThemeModern .OxButton:active {
    background: rgb(80, 80, 80);
    color: rgb(208, 208, 208);
}
.OxThemeModern .OxCheckbox:active {
    background: -moz-linear-gradient(top, rgb(16, 16, 16), rgb(48, 48, 48));
    background: -o-linear-gradient(top, rgb(16, 16, 16), rgb(48, 48, 48));
    background: -webkit-linear-gradient(top, rgb(16, 16, 16), rgb(48, 48, 48));
}

.OxThemeModern .OxButton.OxDisabled {
    background: rgb(80, 80, 80);
    color: rgb(128, 128, 128);
}
.OxThemeModern .OxButton.OxSymbol.OxDisabled {
    background: rgba(0, 0, 0, 0);
    opacity: 0.5;
}

.OxThemeModern .OxButton.OxSelected,
.OxThemeModern .OxSelect.OxSelected,
.OxThemeModern .OxCollapsePanel > .OxBar > .OxExtras > .OxSelect.OxSelected {
    background: -moz-linear-gradient(top, rgb(32, 32, 32), rgb(64, 64, 64));
    background: -o-linear-gradient(top, rgb(32, 32, 32), rgb(64, 64, 64));
    background: -webkit-linear-gradient(top, rgb(32, 32, 32), rgb(64, 64, 64));
    color: rgb(224, 224, 224);
}
.OxThemeModern .OxButton.OxTab.OxSelected {
    border-bottom: 1px solid rgb(64, 64, 64);
}

.OxThemeModern .OxFileInput.OxDisabled > .OxBar {
    background: rgb(80, 80, 80);
}
.OxThemeModern .OxFileInput.OxDisabled > .OxBar > div {
    color: rgb(128, 128, 128);
}

.OxThemeModern .OxFormMessage {
    color: rgb(255, 64, 64);
}

.OxThemeModern .OxLabel.OxDisabled {
    color: rgb(128, 128, 128);
}
.OxThemeModern .OxDocPage .OxLabel.OxSquare,
.OxThemeModern .OxExamplePage .OxLabel.OxSquare {
    background: rgb(16, 16, 16);
}

.OxThemeModern input.OxCheckbox,
.OxThemeModern input.OxInput,
.OxThemeModern textarea,
.OxThemeModern .OxTrack {
    background: -moz-linear-gradient(top, rgb(0, 0, 0), rgb(32, 32, 32));
    background: -o-linear-gradient(top, rgb(0, 0, 0), rgb(32, 32, 32));
    background: -webkit-linear-gradient(top, rgb(0, 0, 0), rgb(32, 32, 32));
}
.OxThemeModern div.OxInput.OxError input {
    color: rgb(255, 64, 64);
}
.OxThemeModern div.OxInput.OxFocus,
.OxThemeModern .OxSelect.OxFocus {
    //border: 1px solid rgb(80, 80, 80);
    -moz-box-shadow: 0 0 2px rgb(128, 128, 128);
    -o-box-shadow: 0 0 2px rgb(128, 128, 128);
    -webkit-box-shadow: 0 0 2px rgb(128, 128, 128);
}
.OxThemeModern div.OxInput.OxFocus > .OxInputLabel {
    border-color: rgb(80, 80, 80);
}
.OxThemeModern .OxInput.OxPlaceholder {
    color: rgb(96, 96, 96)
}
.OxThemeModern .OxLabel {
    border-color: rgb(48, 48, 48);
    background: rgb(80, 80, 80);
    color: rgb(192, 192, 192);
}

.OxThemeModern input.OxCheckbox.OxDisabled,
.OxThemeModern input.OxInput:disabled {
    background: rgb(16, 16, 16);
}

.OxThemeModern .OxLabelSelect > .OxTitle {
    border-color: rgb(48, 48, 48);
    background: -moz-linear-gradient(top, rgb(96, 96, 96), rgb(64, 64, 64));
    background: -o-linear-gradient(top, rgb(96, 96, 96), rgb(64, 64, 64));
    background: -webkit-linear-gradient(top, rgb(96, 96, 96), rgb(64, 64, 64));
}
.OxThemeModern .OxLabelSelect.OxSelected > .OxTitle {
    background: -moz-linear-gradient(top, rgb(0, 0, 0), rgb(32, 32, 32) 10%, rgb(64, 64, 64));
    background: -o-linear-gradient(top, rgb(0, 0, 0), rgb(32, 32, 32) 10%, rgb(64, 64, 64));
    background: -webkit-linear-gradient(top, rgb(0, 0, 0), rgb(32, 32, 32) 10%, rgb(64, 64, 64));
}

.OxThemeModern .OxFileInput > .OxBar,
.OxThemeModern .OxFileInput > .OxFiles {
    border-color: rgb(48, 48, 48);
}

.OxThemeModern .OxArrayEditable.OxArrayEditableTextarea .OxEditableElement {
    border-top-color: rgb(48, 48, 48);
}
.OxThemeModern .OxEditableElement.OxSelected {
    background: rgb(48, 48, 48);
}

/*
================================================================================
Images
================================================================================
*/

.OxThemeModern .OxReflection > div {
    background: -moz-linear-gradient(top, rgba(16, 16, 16, 0.75), rgba(16, 16, 16, 1));
    background: -o-linear-gradient(top, rgba(16, 16, 16, 0.75), rgba(16, 16, 16, 1));
    background: -webkit-linear-gradient(top, rgba(16, 16, 16, 0.75), rgba(16, 16, 16, 1));
}
.OxThemeModern .OxDialog .OxReflection > div {
    background: -moz-linear-gradient(top, rgba(48, 48, 48, 0.75), rgba(48, 48, 48, 1));
    background: -o-linear-gradient(top, rgba(48, 48, 48, 0.75), rgba(48, 48, 48, 1));
    background: -webkit-linear-gradient(top, rgba(48, 48, 48, 0.75), rgba(48, 48, 48, 1));
}

/*
================================================================================
Lists
================================================================================
*/

.OxThemeModern .OxIconList .OxItem > .OxIcon > img.OxLoading,
.OxThemeModern .OxInfoList .OxItem .OxIcon > img.OxLoading {
    border-color: rgb(48, 48, 48);
    background: -moz-linear-gradient(top, rgb(32, 32, 32), rgb(0, 0, 0));
    background: -o-linear-gradient(top, rgb(32, 32, 32), rgb(0, 0, 0));
    background: -webkit-linear-gradient(top, rgb(32, 32, 32), rgb(0, 0, 0));
}
.OxThemeModern .OxIconList .OxItem.OxSelected > .OxIcon > img,
.OxThemeModern .OxIconList .OxItem.OxSelected > .OxIcon > .OxVideoPlayer,
.OxThemeModern .OxInfoList .OxItem.OxSelected .OxIcon > img,
.OxThemeModern .OxInfoList .OxItem.OxSelected .OxIcon > .OxVideoPlayer {
    border-color: rgb(64, 64, 64);
    -moz-box-shadow: 0 0 4px rgba(64, 64, 64, 1);
    -o-box-shadow: 0 0 4px rgba(64, 64, 64, 1);
    -webkit-box-shadow: 0 0 4px rgba(64, 64, 64, 1);
}
.OxThemeModern .OxIconList.OxFocus .OxItem.OxSelected > .OxIcon > img,
.OxThemeModern .OxIconList.OxFocus .OxItem.OxSelected > .OxIcon .OxVideoPlayer,
.OxThemeModern .OxInfoList.OxFocus .OxItem.OxSelected .OxIcon > img,
.OxThemeModern .OxInfoList.OxFocus .OxItem.OxSelected .OxIcon .OxVideoPlayer {
    border-color: rgb(128, 128, 128);
    -moz-box-shadow: 0 0 4px rgba(128, 128, 128, 1);
    -o-box-shadow: 0 0 4px rgba(128, 128, 128, 1);
    -webkit-box-shadow: 0 0 4px rgba(128, 128, 128, 1);
}
.OxThemeModern .OxInfoList .OxItem.OxSelected .OxIconList .OxIcon > img,
.OxThemeModern .OxInfoList .OxItem.OxSelected .OxIconList .OxIcon .OxVideoPlayer {
    border-color: rgba(0, 0, 0, 0);
    -moz-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    -o-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    -webkit-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}
.OxThemeModern .OxIconList .OxItem > .OxText > div,
.OxThemeModern .OxInfoList .OxItem .OxText > div {
    text-shadow: rgb(0, 0, 0) -1px -1px 0,
        rgb(0, 0, 0) -1px 1px 0,
        rgb(0, 0, 0) 1px -1px 0,
        rgb(0, 0, 0) 1px 1px 0;
}
.OxThemeModern .OxIconList .OxItem.OxSelected > .OxText > div,
.OxThemeModern .OxInfoList .OxItem.OxSelected .OxText > div {
    border-color: rgb(64, 64, 64);
    background: rgba(64, 64, 64, 0.5);
    -moz-box-shadow: 0 0 4px rgba(64, 64, 64, 1);
    -o-box-shadow: 0 0 4px rgba(64, 64, 64, 1);
    -webkit-box-shadow: 0 0 4px rgba(64, 64, 64, 1);
}
.OxThemeModern .OxIconList.OxFocus .OxItem.OxSelected > .OxText > div,
.OxThemeModern .OxInfoList.OxFocus .OxItem.OxSelected .OxText > div {
    border-color: rgb(128, 128, 128);
    background: rgba(128, 128, 128, 0.5);
    -moz-box-shadow: 0 0 4px rgba(128, 128, 128, 1);
    -o-box-shadow: 0 0 4px rgba(128, 128, 128, 1);
    -webkit-box-shadow: 0 0 4px rgba(128, 128, 128, 1);
}
.OxThemeModern .OxIconList .OxItem > .OxText > div > .OxInfo,
.OxThemeModern .OxInfoList .OxItem .OxText > div > .OxInfo {
    color: rgb(128, 128, 128);
}
.OxThemeModern .OxInfoList .OxItem.OxSelected .OxInfoElement .OxIcon > img,
.OxThemeModern .OxInfoList .OxItem.OxSelected .OxInfoElement .OxIcon .OxVideoPlayer,
.OxThemeModern .OxInfoList .OxItem.OxSelected .OxInfoElement .OxText > div {
    border-color: rgba(0, 0, 0, 0);
    background: rgba(0, 0, 0, 0);
    -moz-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    -o-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    -webkit-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}


.OxThemeModern .OxTableList .OxContent {
    background: rgb(16, 16, 16);
}
.OxThemeModern .OxTableList .OxItem .OxCell {
    border-right-color: rgb(32, 32, 32);
}
.OxThemeModern .OxTableList .OxItem:nth-child(odd) {
    background: rgb(14, 14, 14);
}
.OxThemeModern .OxTableList .OxItem:nth-child(even) {
    background: rgb(18, 18, 18);
}
.OxThemeModern .OxTableList .OxItem.OxSelected:nth-child(odd) {
    background: rgb(46, 46, 46);
}
.OxThemeModern .OxTableList .OxItem.OxSelected:nth-child(even) {
    background: rgb(50, 50, 50);
}
.OxThemeModern .OxTableList .OxFocus .OxItem.OxSelected:nth-child(odd) {
    background: rgb(62, 62, 62);
}
.OxThemeModern .OxTableList .OxFocus .OxItem.OxSelected:nth-child(even) {
    background: rgb(66, 66, 66);
}
.OxThemeModern .OxTableList .OxItem.OxDroppable.OxDrop:nth-child(odd) .OxCell {
    background: rgb(78, 78, 78);
}
.OxThemeModern .OxTableList .OxItem.OxDroppable.OxDrop:nth-child(even) .OxCell {
    background: rgb(82, 82, 82);
}


.OxThemeModern .OxTableList .OxHead .OxSelected {
    background: -moz-linear-gradient(top, rgb(80, 80, 80), rgb(48, 48, 48));
    background: -o-linear-gradient(top, rgb(80, 80, 80), rgb(48, 48, 48));
    background: -webkit-linear-gradient(top, rgb(80, 80, 80), rgb(48, 48, 48));
    color: rgb(255, 255, 255);
}
.OxThemeModern .OxTableList .OxHead .OxResize .OxCenter {
    background: rgb(24, 24, 24);
}
.OxThemeModern .OxTableList .OxHead .OxSelect {
    border-color: rgb(24, 24, 24);
}
.OxThemeModern .OxTableList .OxBody .OxItem .OxCell {
    border-right-color: rgb(24, 24, 24);
}
.OxThemeModern .OxTableList .OxItem.OxSelected .OxCell {
    border-right-color: rgb(40, 40, 40);
}
.OxThemeModern .OxTableList .OxFocus .OxItem.OxSelected .OxCell {
    border-right-color: rgb(72, 72, 72);
    color: rgb(255, 255, 255);
}
.OxThemeModern .OxTableList .OxBody .OxItem .OxLine {
    background: rgb(24, 24, 24);
}


/*
================================================================================
Maps
================================================================================
*/

.OxThemeModern .OxMap .OxMapControl,
.OxThemeModern .OxMap .OxPlaceControl {
    border-color: rgb(192, 192, 192);
    background: rgba(0, 0, 0, 0.5);
    color: rgb(192, 192, 192);
}
.OxThemeModern .OxTypeIcon {
    border-color: rgb(255, 255, 255);
}
.OxThemeModern .OxMapEditor .OxWarning {
    border-bottom: 2px dotted rgb(192, 0, 0);
}

/*
================================================================================
Menus
================================================================================
*/

.OxThemeModern .OxMainMenu > .OxTitle.OxSelected {
    background: -moz-linear-gradient(top, rgb(80, 80, 80), rgb(48, 48, 48));
    background: -o-linear-gradient(top, rgb(80, 80, 80), rgb(48, 48, 48));
    background: -webkit-linear-gradient(top, rgb(80, 80, 80), rgb(48, 48, 48));
}

.OxThemeModern .OxMenu {
    -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.75);
    -o-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.75);
}
.OxThemeModern .OxMenu .OxBottom,
.OxThemeModern .OxMenu .OxItem,
.OxThemeModern .OxMenu .OxScrollbar,
.OxThemeModern .OxMenu .OxSpace,
.OxThemeModern .OxMenu .OxTop {
    background: rgba(48, 48, 48, 0.96);
}
.OxThemeModern .OxMenu .OxItem.OxSelected,
.OxThemeModern .OxMenu .OxLine,
.OxThemeModern .OxMenu .OxScrollbar.OxSelected {
    background: rgba(64, 64, 64, 0.96);
}
.OxThemeModern .OxMenu .OxItem.OxDisabled .OxCell {
    color: rgb(128, 128, 128);
}

/*
================================================================================
Scrollbars
================================================================================
*/

.OxThemeModern ::-webkit-scrollbar:horizontal {
    border-top: 1px solid rgb(48, 48, 48);
    border-bottom: 1px solid rgb(48, 48, 48);
    background: -webkit-linear-gradient(top, rgb(96, 96, 96), rgb(64, 64, 64));
}
.OxThemeModern ::-webkit-scrollbar:vertical {
    border-left: 1px solid rgb(48, 48, 48);
    border-right: 1px solid rgb(48, 48, 48);
    background: -webkit-linear-gradient(left, rgb(96, 96, 96), rgb(64, 64, 64));
}
.OxThemeModern ::-webkit-scrollbar-button:horizontal:decrement {
    background: url(../png/scrollbarHorizontalDecrement.png);
}
.OxThemeModern ::-webkit-scrollbar-button:horizontal:increment {
    background: url(../png/scrollbarHorizontalIncrement.png);
}
.OxThemeModern ::-webkit-scrollbar-button:vertical:decrement {
    background: url(../png/scrollbarVerticalDecrement.png);
}
.OxThemeModern ::-webkit-scrollbar-button:vertical:increment {
    background: url(../png/scrollbarVerticalIncrement.png);
}
.OxThemeModern ::-webkit-scrollbar-corner {
    border-right: 1px solid rgb(48, 48, 48);
    border-bottom: 1px solid rgb(48, 48, 48);
    background: -webkit-linear-gradient(left top, rgb(96, 96, 96), rgb(32, 32, 32));
}
.OxThemeModern ::-webkit-scrollbar-thumb {
    border: 1px solid rgb(48, 48, 48);
}
.OxThemeModern ::-webkit-scrollbar-thumb:horizontal {
    background: -webkit-linear-gradient(top, rgb(96, 96, 96), rgb(64, 64, 64));
}
.OxThemeModern ::-webkit-scrollbar-thumb:vertical {
    background: -webkit-linear-gradient(left, rgb(96, 96, 96), rgb(64, 64, 64));
}
.OxThemeModern ::-webkit-scrollbar-track {
    border: 1px solid rgb(32, 32, 32);
}
.OxThemeModern ::-webkit-scrollbar-track:horizontal {
    background: -webkit-linear-gradient(top, rgb(0, 0, 0), rgb(32, 32, 32));
}
.OxThemeModern ::-webkit-scrollbar-track:vertical {
    background: -webkit-linear-gradient(left, rgb(0, 0, 0), rgb(32, 32, 32));
}
.OxThemeModern ::-webkit-scrollbar:active,
.OxThemeModern ::-webkit-scrollbar-thumb:active {
    background: rgb(64, 64, 64);
}

/*
================================================================================
SourceViewer
================================================================================
*/

.OxThemeModern .OxSourceViewer .OxComment {
    border-color: rgb(48, 48, 48);
}
.OxThemeModern .OxSourceViewer .OxComment code {
    background-color: rgb(0, 0, 0);
    box-shadow: 0 0 1px rgb(255, 255, 255);
}
.OxThemeModern .OxSourceViewer .OxComment pre > code {
    background-color: transparent;
    box-shadow: none;
}
.OxThemeModern .OxSourceViewer .OxCode {
    background-color: rgb(0, 0, 0);
}

/*
================================================================================
SyntaxHighlighter
================================================================================
*/

.OxThemeModern .OxSyntaxHighlighter {
    background-color: rgb(0, 0, 0);
}
.OxThemeModern .OxSyntaxHighlighter .OxLineNumbers {
    background-color: rgb(32, 32, 32);
    color: rgb(128, 128, 128);
}
.OxThemeModern .OxSourceCode .OxComment {
    color: rgb(128, 128, 128);
    font-style: italic;
}
.OxThemeModern .OxSourceCode .OxConstant {
    color: rgb(192, 64, 64);
    font-weight: bold;
}
.OxThemeModern .OxSourceCode .OxError {
    color: rgb(255, 255, 255);
    background: rgb(255, 0, 0);
    font-weight: bold;
}
.OxThemeModern .OxSourceCode .OxIdentifier {
    color: rgb(192, 192, 192);
}
.OxThemeModern .OxSourceCode .OxKeyword {
    color: rgb(128, 128, 225);
    font-weight: bold;
}
.OxThemeModern .OxSourceCode .OxLinebreak {
    color: rgb(64, 64, 64);
}
.OxThemeModern .OxSourceCode .OxMethod {
    color: rgb(64, 192, 192);
}
.OxThemeModern .OxSourceCode .OxNumber {
    color: rgb(192, 64, 64);
}
.OxThemeModern .OxSourceCode .OxObject {
    color: rgb(64, 192, 192);
    font-weight: bold;
}
.OxThemeModern .OxSourceCode .OxOperator {
    color: rgb(128, 128, 255);
}
.OxThemeModern .OxSourceCode .OxProperty {
    color: rgb(64, 192, 64);
    font-weight: bold;
}
.OxThemeModern .OxSourceCode .OxRegexp {
    color: rgb(192, 192, 64);
}
.OxThemeModern .OxSourceCode .OxString {
    color: rgb(64, 192, 64);
}
.OxThemeModern .OxSourceCode .OxWhitespace {
    color: rgb(64, 64, 64);
}
.OxThemeModern .OxSourceCode .OxWhitespace.OxLeading,
.OxThemeModern .OxSourceCode .OxWhitespace.OxTrailing {
    background: rgb(255, 255, 0);
}

/*
================================================================================
Video
================================================================================
*/

.OxThemeModern .OxAnnotation {
    border-color: rgb(48, 48, 48);
}
.OxThemeModern .OxAnnotation.OxSelected {
    background: rgb(48, 48, 48);
}


.OxThemeModern .OxSmallVideoTimeline .OxMarkerPlay {
    border-color: rgba(0, 0, 0, 0.5);
}
.OxThemeModern .OxSmallVideoTimeline .OxMarkerPlay > div {
    border-color: rgba(255, 255, 255, 1);
}
.OxThemeModern .OxSmallVideoTimeline .OxMarkerPlay.OxPaused > div {
    border-color: rgba(255, 255, 255, 0.5);
}
.OxThemeModern .OxSmallVideoTimeline .OxMarkerPlay > div > div {
    border-color: rgba(0, 0, 0, 0.5);
}


.OxThemeModern .OxVideoPlayer .OxButton.OxDisabled {
    background: transparent;
    opacity: 0.25;
}

.OxThemeModern .OxVideoPlayer .OxControls.OxOnScreen {
    background-image: -moz-linear-gradient(top, rgba(64, 64, 64, 0.5), rgba(0, 0, 0, 0.5));
    background-image: -o-linear-gradient(top, rgba(64, 64, 64, 0.5), rgba(0, 0, 0, 0.5));
    background-image: -webkit-linear-gradient(top, rgba(64, 64, 64, 0.5), rgba(0, 0, 0, 0.5));
}
.OxThemeModern .OxVideoPlayer .OxFind {
    background-image: -moz-linear-gradient(top, rgba(64, 64, 64, 0.5), rgba(0, 0, 0, 0.5));
    background-image: -o-linear-gradient(top, rgba(64, 64, 64, 0.5), rgba(0, 0, 0, 0.5));
    background-image: -webkit-linear-gradient(top, rgba(64, 64, 64, 0.5), rgba(0, 0, 0, 0.5));
}
.OxThemeModern .OxVideoPlayer div.OxInput {
    background: transparent;
}
.OxThemeModern .OxVideoPlayer input.OxInput {
    background-image: -moz-linear-gradient(top, rgba(32, 32, 32, 0.75), rgba(64, 64, 64, 0.75));
    background-image: -o-linear-gradient(top, rgba(32, 32, 32, 0.75), rgba(64, 64, 64, 0.75));
    background-image: -webkit-linear-gradient(top, rgba(32, 32, 32, 0.75), rgba(64, 64, 64, 0.75));
}
.OxThemeModern .OxVideoPlayer .OxFind input.OxInput {
    background-image: -moz-linear-gradient(top, rgba(0, 0, 0, 0.75), rgba(64, 64, 64, 0.75));
    background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0.75), rgba(64, 64, 64, 0.75));
    background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.75), rgba(64, 64, 64, 0.75));
}
.OxThemeModern .OxVideoPlayer .OxSettings > div {
    background-color: rgba(32, 32, 32, 0.5);
}
.OxThemeModern .OxVideoPlayer .OxSettings > div.OxSelected {
    background-image: -moz-linear-gradient(top, rgba(48, 48, 48, 0.5), rgba(16, 16, 16, 0.5));
    background-image: -o-linear-gradient(top, rgba(48, 48, 48, 0.5), rgba(16, 16, 16, 0.5));
    background-image: -webkit-linear-gradient(top, rgba(48, 48, 48, 0.5), rgba(16, 16, 16, 0.5));
}
.OxThemeModern .OxVideoPlayer .OxSettings > div.OxLine {
    background-color: rgba(64, 64, 64, 0.5);
}
.OxThemeModern .OxVideoPlayer .OxVolume {
    background-image: -moz-linear-gradient(top, rgba(64, 64, 64, 0.5), rgba(0, 0, 0, 0.5));
    background-image: -o-linear-gradient(top, rgba(64, 64, 64, 0.5), rgba(0, 0, 0, 0.5));
    background-image: -webkit-linear-gradient(top, rgba(64, 64, 64, 0.5), rgba(0, 0, 0, 0.5));
}
.OxThemeModern .OxVideoPlayer .OxVolume .OxRange .OxTrack {
    background-image: -moz-linear-gradient(top, rgba(0, 0, 0, 0.5), rgba(64, 64, 64, 0.5));
    background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0.5), rgba(64, 64, 64, 0.5));
    background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.75), rgba(64, 64, 64, 0.75));
}
.OxThemeModern .OxVideoPlayer .OxVolume .OxRange .OxThumb {
    background-image: -moz-linear-gradient(top, rgba(64, 64, 64, 0.5), rgba(0, 0, 0, 0.5));
    background-image: -o-linear-gradient(top, rgba(64, 64, 64, 0.5), rgba(0, 0, 0, 0.5));
    background-image: -webkit-linear-gradient(top, rgba(64, 64, 64, 0.75), rgba(0, 0, 0, 0.75));
}
.OxThemeModern .OxVideoPlayer .OxVolume .OxRange .OxThumb:active {
    background-image: -moz-linear-gradient(top, rgba(64, 64, 64, 0.5), rgba(0, 0, 0, 0.5));
    background-image: -o-linear-gradient(top, rgba(64, 64, 64, 0.5), rgba(0, 0, 0, 0.5));
    background-image: -webkit-linear-gradient(top, rgba(64, 64, 64, 1), rgba(0, 0, 0, 1));
}


// fixme: used?
.OxThemeModern .OxVideoPlayer .OxSelect {
    border-color: transparent;
    //margin-left: 0px;
    //margin-right: -18px;
    background: transparent;
    //font-size: 9px;
}
.OxThemeModern .OxVideoPlayer .OxSelect.OxFocus {
    -moz-box-shadow: 0 0 0;
    -o-box-shadow: 0 0 0;
    -webkit-box-shadow: 0 0 0;
}
.OxThemeModern .OxVideoPlayer .OxSelect div {
    //padding: 0 0 0 2px;
    //font-size: 9px;
}

.OxThemeModern .OxVideoPlayer .OxSelect input {
    //display: none;
}

/* FIXME: the first three should apply for every ArrayEditable */
.OxThemeModern .OxAnnotationFolder .OxArrayEditable .OxSeparator {
    color: rgb(160, 160, 160);
}
.OxThemeModern .OxAnnotationFolder .OxEditableElement.OxPlaceholder .OxValue {
    color: rgb(96, 96, 96);
}
.OxThemeModern .OxAnnotationFolder .OxEditableElement.OxWarning .OxValue {
    border-bottom: 2px dotted rgb(192, 0, 0);
}
.OxThemeModern .OxAnnotationFolder .OxArrayEditable .OxEditableElement.OxEditable.OxSelected {
    background: rgb(64, 64, 192);
}
.OxThemeModern .OxAnnotationFolder .OxArrayEditableInput .OxEditableElement.OxSelected {
    box-shadow: 0 0 1px rgb(255, 255, 255);
}
.OxThemeModern .OxAnnotationFolder .OxArrayEditableTextarea .OxEditableElement.OxEditable.OxEditing {
    background: rgb(64, 128, 64);
}
.OxThemeModern .OxAnnotationFolder .OxArrayEditable .OxInput.OxFocus {
    box-shadow: none;
}
.OxThemeModern .OxAnnotationFolder .OxEditableElement input {
    background: rgb(64, 128, 64);
    color: rgb(255, 255, 255);
}
.OxThemeModern .OxAnnotationFolder .OxEditableElement textarea {
    background: rgb(64, 128, 64);
    color: rgb(255, 255, 255);
}


/*
================================================================================
Miscellaneous
================================================================================
*/

.OxThemeModern .OxSelectableElement.OxSelected {
    background: rgb(48, 48, 48);
}
.OxThemeModern .OxSelectableElement.OxSelected.OxFocus {
    background: rgb(64, 64, 64);
}

.OxThemeModern .OxScreen {
    background: rgb(32, 32, 32);
    color: rgb(224, 224, 224);
}
.OxThemeModern .OxScreen .OxReflection {
    background-image: -moz-linear-gradient(top, rgba(32, 32, 32, 0.75), rgba(32, 32, 32, 1), rgba(32, 32, 32, 1));
    background-image: -o-linear-gradient(top, rgba(32, 32, 32, 0.75), rgba(32, 32, 32, 1), rgba(32, 32, 32, 1));
    background-image: -webkit-linear-gradient(top, rgba(32, 32, 32, 0.75), rgba(32, 32, 32, 1), rgba(32, 32, 32, 1));
}

.OxThemeModern .OxTooltip {
    border: 1px solid rgba(128, 128, 128, 0.96);
    background: rgba(0, 0, 0, 0.96);
    color: rgba(128, 128, 128, 1);
    -moz-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    -o-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.OxThemeModern ::selection {
    background: rgb(192, 192, 192);
    //color: rgb(255, 255, 255);
}
