﻿@media only screen and (-webkit-min-device-pixel-ratio: 1.0), only screen and (min-resolution: 96dpi) {

    #devicePixelRatio {
        width: 100px;
    }
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min-resolution: 120dpi) {

    #devicePixelRatio {
        width: 130px;
    }
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.4), only screen and (min-resolution: 130dpi) {

    #devicePixelRatio {
        width: 140px;
    }
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi) {

    #devicePixelRatio {
        width: 150px;
    }
}

@media only screen and (-webkit-min-device-pixel-ratio: 2.0), only screen and (min-resolution: 192dpi) {

    #devicePixelRatio {
        width: 200px;
    }
}

@media only screen and (-webkit-min-device-pixel-ratio: 3.0), only screen and (min-resolution: 288dpi) {

    #devicePixelRatio {
        width: 300px;
    }
}

@media only screen and (-webkit-min-device-pixel-ratio: 4.0), only screen and (min-resolution: 384dpi) {

    #devicePixelRatio {
        width: 400px;
    }
}

@media only screen and (-webkit-min-device-pixel-ratio: 5.0), only screen and (min-resolution: 480dpi) {

    #devicePixelRatio {
        width: 500px;
    }
}

body {
    position: fixed;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    margin: 0px;
    padding: 0px;
    -ms-touch-action: none;
    /*touch-action: none;*/
}

    body.SmallDevice h1, body.SmallDevice h2, body.SmallDevice h3, body.SmallDevice h4, body.SmallDevice h5, body.SmallDevice h6 {
        margin-top: 0px;
        margin-bottom: 0px;
        -webkit-margin-before: 0em;
        -webkit-margin-after: 0em;
    }

#documentView {
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    overflow: hidden;
    /*background-color:cyan;*/
}

#mainView {
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    overflow: hidden;
    /*background-color:green;*/
}

#mainViewBar {
    position: fixed;
    left: 0px;
    right: 0px;
    bottom: 0px;
    height: 10px;
    background-color: black;
    color: white;
    font-weight: 400;
    z-index: 101;
}

#mainViewTrigger {
    display: inline-block;
    position: absolute;
    bottom: 0px;
    right: 0px;
    background-color: transparent;
    padding-top: 20px;
    padding-bottom: 0px;
    padding-right: 30px;
    padding-left: 20px;
}

hr {
    background-color: rgba(127,127,127,0.3);
    height:1px;
    border-width:0px !important;
}

.appBarTrigger {
    font-size: 32pt;
    font-weight: 400;
    display: inline-block;
    position: absolute;
    top: 0px;
    bottom: 0px;
    right: 0px;
    background-color: transparent;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-right: 20px;
    padding-left: 20px;
    margin-top: -10px;
}

    .appBarTrigger .more {
        display: inline-block;
        transform: rotate(180deg) translate(0px, -2px);
        -webkit-transform: rotate(180deg) translate(0px, -2px);
    }

#contentView {
    overflow: hidden;
}

.viewStyle {
	background-color: white;
}

.win-ui-dark .viewStyle {
    background-color: black;
}

/*
-----------------------------------------------------------------------------
 utilities rules
-----------------------------------------------------------------------------
*/

.animationPaused {
    -webkit-animation-play-state: paused;
    -moz-animation-play-state: paused;
    -o-animation-play-state: paused;
    animation-play-state: paused;
}

.fullSize {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
}

.centerHorizontally {
    left: 50%;
    -webkit-transform: translate(-50%,0px);
    -ms-transform: translate(-50%,0px);
    -moz-transform: translate(-50%,0px);
    -o-transform: translate(-50%,0px);
    transform: translate(-50%,0px);
}

.centerHorizontallyRelative {
    margin-left: 50%;
    -webkit-transform: translate(-50%,0px);
    -ms-transform: translate(-50%,0px);
    -moz-transform: translate(-50%,0px);
    -o-transform: translate(-50%,0px);
    transform: translate(-50%,0px);
}

.centerVertically {
    top: 50%;
    -webkit-transform: translate(0px,-50%);
    -ms-transform: translate(0px,-50%);
    -moz-transform: translate(0px,-50%);
    -o-transform: translate(0px,-50%);
    transform: translate(0px,-50%);
}

.centerBoth {
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

.opacityTransition {
    transition: opacity 0.350s ease 0s;
    -webkit-transition: opacity 0.350s ease 0s;
    -moz-transition: opacity 0.350s ease 0s;
    -MS-transition: opacity 0.350s ease 0s;
    -o-transition: opacity 0.350s ease 0s;
}

.sizeTransition {
    transition: width 0.350s ease 0s, height 0.350s ease 0s;
    -webkit-transition: width 0.350s ease 0s, height 0.350s ease 0s;
    -moz-transition: width 0.350s ease 0s, height 0.350s ease 0s;
    -MS-transition: width 0.350s ease 0s, height 0.350s ease 0s;
    -o-transition: width 0.350s ease 0s, height 0.350s ease 0s;
    transition: width 0.350s ease 0s, height 0.350s ease 0s;
}

.transformTransition {
    transition: transform 0.350s ease 0s;
    -webkit-transition: -webkit-transform 0.350s ease 0s;
    -moz-transition: -moz-transform 0.350s ease 0s;
    -MS-transition: -MS-transform 0.350s ease 0s;
    -o-transition: -o-transform 0.350s ease 0s;
}


/*
-----------------------------------------------------------------------------
 rule for insert animation
-----------------------------------------------------------------------------
*/

@-webkit-keyframes nodeInsertedAnimation {
    from {
        opacity: 0.99;
    }

    to {
        opacity: 1;
    }
}

@-ms-keyframes nodeInsertedAnimation {
    from {
        opacity: 0.99;
    }

    to {
        opacity: 1;
    }
}

@-moz-keyframes nodeInsertedAnimation {
    from {
        opacity: 0.99;
    }

    to {
        opacity: 1;
    }
}

@keyframes nodeInsertedAnimation {
    from {
        opacity: 0.99;
    }

    to {
        opacity: 1;
    }
}

.nodeInsertedAnimation {
    -webkit-animation: nodeInsertedAnimation 0.350s ease-out;
    -webkit-animation-fill-mode: forwards;
    -ms-animation: nodeInsertedAnimation 0.350s ease-out;
    -ms-animation-fill-mode: forwards;
    -moz-animation: nodeInsertedAnimation 0.350s ease-out;
    -moz-animation-moz-animation: forwards;
    animation: nodeInsertedAnimation 0.350s ease-out;
    animation-fill-mode: forwards;
}

/*
-----------------------------------------------------------------------------
 rule for zoom animation
-----------------------------------------------------------------------------
*/

@-webkit-keyframes zoomOutPageInAnimation {

    from {
        -webkit-transform: scale(1.25,1.25);
        opacity: 0;
        visibility: inherit;
    }

    to {
        opacity: 1;
    }
}

@-ms-keyframes zoomOutPageInAnimation {

    from {
        -ms-transform: scale(1.25,1.25);
        opacity: 0;
        visibility: inherit;
    }

    to {
        opacity: 1;
    }
}

@-moz-keyframes zoomOutPageInAnimation {

    from {
        -moz-transform: scale(1.25,1.25);
        opacity: 0;
        visibility: inherit;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomOutPageInAnimation {

    from {
        transform: scale(1.25,1.25);
        opacity: 0;
        visibility: inherit;
    }

    to {
        opacity: 1;
    }
}

.zoomOutPageInAnimation {
    -webkit-animation: zoomOutPageInAnimation 0.350s ease-out;
    -webkit-animation-fill-mode: forwards;
    -ms-animation: zoomOutPageInAnimation 0.350s ease-out;
    -ms-animation-fill-mode: forwards;
    -moz-animation: zoomOutPageInAnimation 0.350s ease-out;
    -moz-animation-moz-animation: forwards;
    animation: zoomOutPageInAnimation 0.350s ease-out;
    animation-fill-mode: forwards;
}

@-webkit-keyframes zoomOutPageOutAnimation {

    from {
    }

    to {
        -webkit-transform: scale(0.75,0.75);
        opacity: 0;
        visibility: hidden;
    }
}

@-ms-keyframes zoomOutPageOutAnimation {

    from {
    }

    to {
        -ms-transform: scale(0.75,0.75);
        opacity: 0;
        visibility: hidden;
    }
}

@-moz-keyframes zoomOutPageOutAnimation {

    from {
    }

    to {
        -moz-transform: scale(0.75,0.75);
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes zoomOutPageOutAnimation {

    from {
    }

    to {
        transform: scale(0.75,0.75);
        opacity: 0;
        visibility: hidden;
    }
}

.zoomOutPageOutAnimation {
    -webkit-animation: zoomOutPageOutAnimation 0.350s ease-out;
    -webkit-animation-fill-mode: forwards;
    -ms-animation: zoomOutPageOutAnimation 0.350s ease-out;
    -ms-animation-fill-mode: forwards;
    -moz-animation: zoomOutPageOutAnimation 0.350s ease-out;
    -moz-animation-moz-animation: forwards;
    animation: zoomOutPageOutAnimation 0.350s ease-out;
    animation-fill-mode: forwards;
}

@-webkit-keyframes zoomInPageInAnimation {

    from {
        -webkit-transform: scale(0.75,0.75);
        opacity: 0;
        visibility: inherit;
    }

    to {
        opacity: 1;
    }
}

@-ms-keyframes zoomInPageInAnimation {

    from {
        -ms-transform: scale(0.75,0.75);
        opacity: 0;
        visibility: inherit;
    }

    to {
        opacity: 1;
    }
}

@-moz-keyframes zoomInPageInAnimation {

    from {
        -moz-transform: scale(0.75,0.75);
        opacity: 0;
        visibility: inherit;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomInPageInAnimation {

    from {
        transform: scale(0.75,0.75);
        opacity: 0;
        visibility: inherit;
    }

    to {
        opacity: 1;
    }
}

.zoomInPageInAnimation {
    -webkit-animation: zoomInPageInAnimation 0.350s ease-out;
    -webkit-animation-fill-mode: forwards;
    -ms-animation: zoomInPageInAnimation 0.350s ease-out;
    -ms-animation-fill-mode: forwards;
    -moz-animation: zoomInPageInAnimation 0.350s ease-out;
    -moz-animation-moz-animation: forwards;
    animation: zoomInPageInAnimation 0.350s ease-out;
    animation-fill-mode: forwards;
}

@-webkit-keyframes zoomInPageOutAnimation {

    from {
    }

    to {
        -webkit-transform: scale(1.25,1.25);
        opacity: 0;
        visibility: hidden;
    }
}

@-ms-keyframes zoomInPageOutAnimation {

    from {
    }

    to {
        -ms-transform: scale(1.25,1.25);
        opacity: 0;
        visibility: hidden;
    }
}

@-moz-keyframes zoomInPageOutAnimation {

    from {
    }

    to {
        -moz-transform: scale(1.25,1.25);
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes zoomInPageOutAnimation {

    from {
    }

    to {
        transform: scale(1.25,1.25);
        opacity: 0;
        visibility: hidden;
    }
}

.zoomInPageOutAnimation {
    -webkit-animation: zoomInPageOutAnimation 0.350s ease-out;
    -webkit-animation-fill-mode: forwards;
    -ms-animation: zoomInPageOutAnimation 0.350s ease-out;
    -ms-animation-fill-mode: forwards;
    -moz-animation: zoomInPageOutAnimation 0.350s ease-out;
    -moz-animation-moz-animation: forwards;
    animation: zoomInPageOutAnimation 0.350s ease-out;
    animation-fill-mode: forwards;
}

@-webkit-keyframes fadeInAnimation {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-ms-keyframes fadeInAnimation {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-moz-keyframes fadeInAnimation {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInAnimation {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fadeInAnimation {
    -webkit-animation: fadeInAnimation 0.350s ease-out;
    -webkit-animation-fill-mode: forwards;
    -ms-animation: fadeInAnimation 0.350s ease-out;
    -ms-animation-fill-mode: forwards;
    -moz-animation: fadeInAnimation 0.350s ease-out;
    -moz-animation-moz-animation: forwards;
    animation: fadeInAnimation 0.350s ease-out;
    animation-fill-mode: forwards;
}

@-webkit-keyframes fadeOutAnimation {

    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@-ms-keyframes fadeOutAnimation {

    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@-moz-keyframes fadeOutAnimation {

    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes fadeOutAnimation {

    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.fadeOutAnimation {
    -webkit-animation: fadeOutAnimation 0.350s ease-out;
    -webkit-animation-fill-mode: forwards;
    -ms-animation: fadeOutAnimation 0.350s ease-out;
    -ms-animation-fill-mode: forwards;
    -moz-animation: fadeOutAnimation 0.350s ease-out;
    -moz-animation-moz-animation: forwards;
    animation: fadeOutAnimation 0.350s ease-out;
    animation-fill-mode: forwards;
}

/*
-----------------------------------------------------------------------------
 rule for progress wheel
-----------------------------------------------------------------------------
*/

@-webkit-keyframes progressWheelAnimation {

    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@-ms-keyframes progressWheelAnimation {

    from {
        -ms-transform: rotate(0deg);
    }

    to {
        -ms-transform: rotate(360deg);
    }
}

@-moz-keyframes progressWheelAnimation {

    from {
        -moz-transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(360deg);
    }
}

@keyframes progressWheelAnimation {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


.progressWheel.dlm-ui-svg {
    display: flex;
    display: -webkit-flex;
    align-items: center;
    stroke: Highlight;
    fill: Highlight;
}

.progressWheel > svg {
    flex-grow: 1;
    -webkit-flex-grow: 1;
}

.progressWheelAnimated {
    -webkit-animation: progressWheelAnimation 2s linear 0s infinite normal;
    -ms-animation: progressWheelAnimation 2s linear 0s infinite normal;
    -moz-animation: progressWheelAnimation 2s linear 0s infinite normal;
    animation: progressWheelAnimation 2s linear 0s infinite normal;
}


/*
-----------------------------------------------------------------------------
 rule for controls
-----------------------------------------------------------------------------
*/

.dlm-firstdiv,.dlm-lastdiv {
    outline-width: 0px;
    max-width:0px;
    max-height:0px;
    border:0;
}


/* Devices (phone/tablet) are fast enough now to scroll with high resolution
.UIZoomView.zooming .highres, .UIZoomView.viewport-animating .highres, .UIZoomView.transforming .highres,
.DLM_UI_ScrollView.scrolling .highres, .animating .highres {
    visibility:hidden !important;
}*/

.UIZoomView.zooming, .UIZoomView.viewport-animating, .UIZoomView.transforming,
 .DLM_UI_ScrollView.scrolling, .animating {
    image-rendering:pixelated;
    image-rendering:optimizeSpeed;
    -ms-interpolation-mode: nearest-neighbor;
}

.DLM_UI_ScrollView {
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

/* only top topelement must have overflow touch due to propagation
    of scroll to div underneath
*/ 
.topelement .DLM_UI_ScrollView {
    -webkit-overflow-scrolling: touch;
}

/* Workaround for rendering glitch on IOS when scroll bounce */
body.applemobile .DLM_UI_ScrollView * {
    transform: translate3d(0, 0, 0)
}

    body.chrome div::-webkit-scrollbar {
        background-color: transparent;
        /*width: 10px;
        height: 10px;*/
    }

    body.chrome div::-webkit-scrollbar-thumb:horizontal {
        -webkit-border-radius: 10px;
        border-radius: 6px;
        background: rgba(0,0,0,0);
        border:5px inset transparent;
        border-left-width:2px;
        border-right-width:2px;
    }

    body.chrome div::-webkit-scrollbar-thumb:vertical {
        -webkit-border-radius: 10px;
        border-radius: 6px;
        background: rgba(0,0,0,0);
        border:5px inset transparent;
        border-top-width:2px;
        border-bottom-width:2px;
    }

    body.chrome div:hover::-webkit-scrollbar-thumb {
        background: rgba(0,0,0,0.33);
        background-clip:content-box;
    }

    body.chrome.win-ui-dark div:hover::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.33);
    }

    .DLM_UI_ScrollView::-webkit-scrollbar-track {
    }   

    .DLM_UI_ScrollView[direction="both"] {
        overflow: scroll;
        -ms-touch-action: auto;
        /*touch-action:auto;*/
    }

    .DLM_UI_ScrollView[direction="vertical"] {
        -ms-overflow-y: scroll;
        -ms-touch-action: pan-y;
        /*touch-action:pan-y;*/
        overflow-y: auto;
        overflow-x: hidden;
    }

    .DLM_UI_ScrollView[direction="horizontal"] {
        -ms-overflow-x: scroll;
        -ms-touch-action: pan-x;
        /*touch-action:pan-x;*/
        overflow-x: scroll;
        overflow-y: hidden;
    }

    .DLM_UI_ScrollView[direction="horizontalPaging"] {
        overflow-x: hidden;
        overflow-y: hidden;
    }

    .DLM_UI_ScrollView[direction="verticalPaging"] {
        overflow-x: hidden;
        overflow-y: hidden;
    }

/*
-----------------------------------------------------------------------------
 rule for controls
-----------------------------------------------------------------------------
*/

/* background-color must be set to capture event in IE */

/*button, input[type=button], input[type=reset], input[type=submit] {
    background-clip: padding-box;
    border-bottom-style: solid;
    border-bottom-width: 2px;
    border-left-style: solid;
    border-left-width: 2px;
    border-right-style: solid;
    border-right-width: 2px;
    border-top-style: solid;
    border-top-width: 2px;
    font-size: 11pt;
    font-weight: 600;
    line-height: 1.3636;
    min-height: 32px;
    min-width: 90px;
    padding-bottom: 2px;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 2px;
}*/

#DLMOverlayLayer {
    background-color: rgba(0,0,0,0);
    position: fixed;
    z-index: 1010;
}

#DLMAppBarLayer {
    background-color: rgba(0,0,0,0);
    position: fixed;
    z-index: 1020;
}

#DLMFlyoutLayer {
    background-color: rgba(0,0,0,0);
    position: fixed;
    z-index: 1030;
    transition: background-color 0.450s ease-in-out 0s;
    -webkit-transition: background-color 0.450s ease-in-out 0s;
}

#DLMFlyoutLayer.visible {
    background-color: rgba(0,0,0,0.1);
    transition: background-color 0.450s ease-in-out 0.450s;
    -webkit-transition: background-color 0.450s ease-in-out 0.450s;
}

.dlm-flyout {
    /*background-color: white;
    color: black;*/
    /*border-style: solid;
    border-width: 2px;*/
    margin: 0px;
    padding: 20px;
    overflow: auto;
    position: fixed;
    z-index: 1031;
    -ms-overflow-style: -ms-autohiding-scrollbar;

}

.topelement .dlm-flyout {
    -webkit-overflow-scrolling: touch;
}

.dlm-flyout.placement-fullscreen {
    margin: 0px;
    border: 0px;
    max-width: none;
    max-height: none;
    border-width:0px;
}

.dlm-flyout.placement-left-screen,
.dlm-flyout.placement-right-screen {
    max-height: none;
}

.dlm-flyout.placement-left-screen {
    border-top-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 0px;
}

.dlm-flyout.placement-right-screen {
    border-top-width: 0px;
    border-bottom-width: 0px;
    border-right-width: 0px;
}


.dlm-menu {
    /*line-height: 33px;*/
    /*max-height: 95%;*/
    max-width: none;
    min-height: 38px;
    padding-bottom: 5px;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 5px;
    text-align: left;
}

    .dlm-menu button.dlm-command {
        display: block;
        float: none;
        border: none;
        /*font-size: 11pt;*/
        font-weight: 600;
        /*line-height: 18px;*/
        margin-left: 0px;
        margin-right: 0px;
        padding-bottom: 12px;
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 10px;
        text-align: left;
        white-space: nowrap;
        width: 100%;
        align-items: flex-start;
        -webkit-align-items: flex-start;
    }

button.dlm-menu-command .win-label {
    font-family: "Segoe UI",sans-serif,"Segoe MDL2 Assets","Symbols","Segoe UI Emoji";
    font-size: 15px;
}

button.dlm-menu-command.checkbox {
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    -webkit-flex-direction;
    align-items: center;
    -webkit-align-items: center;
}

    button.dlm-menu-command.checkbox .dlm-checkbox {
        font-size: 15px;
        position: relative;
        align-self: center;
        -webkit-align-self:center;
    }

body.macintosh button.dlm-menu-command.checkbox .dlm-checkbox, body.applemobile button.dlm-menu-command.checkbox .dlm-checkbox {
    top: 1.5px;
}

button.dlm-menu-command.checkbox .win-label {
    position: relative;
    left: -10px;
    top: 0px;
}


    .dlm-menu button .toggle {
        width: 18px;
        height: 18px;
        bbackground-color: blue;
        background-image: url('image/menucheck.png');
        background-position: 0px 0px;
        background-size: 18px 18px;
        background-repeat: no-repeat;
        background-position: center center;
        float: left;
        padding-right: 10px;
    }

    .dlm-menu button:active .toggle {
        background-image: url('image/menucheckactive.png');
    }

    body.hoverable .dlm-menu button:hover.dlm-command, .dlm-menu button.touch.dlm-command {
        background-color: rgba(255,255,255,0.3);
    }

    .dlm-flyout.dlm-menu button[navSelection] {
        background-color: rgba(205, 205, 205, 0.82);
    }

    .darkMenu {
        background-color: black;
        border-color: black;
        color: white;
    }

    .overlayBackCommand {
        opacity: 0;
        pointer-events: none;
    }

        .Mouse .overlayBackCommand, .overlayBackCommand:hover, .Pointer .overlayBackCommand {
            opacity: 1;
            pointer-events: auto;
        }

    #DLMModalLayer {
        position: fixed;
        z-index: 1040;
    }

    .DLM_Button {
        border-style: solid;
        border-width: medium;
        border-color: #ffffff;
        color: #ffffff;
        background-color: rgba(0,0,0,0);
        margin-left: 4px;
        margin-right: 4px;
        min-width: 80px;
    }

        .DLM_Button:hover, .DLM_Button.touch {
            background-color: rgba(0,0,0,0.5);
        }

    button:disabled {
        opacity: 0.5;
    }

    .dlm-commandRing {
        width: 40px;
        height: 40px;
        fill: white;
    }

        .dlm-commandRing mask circle {
            stroke-width: 2;
        }

    button:not([disabled]):hover .dlm-commandRing, button:not([disabled]).touch .dlm-commandRing {
        fill: white;
    }

    button:not([disabled]):active .dlm-commandRing {
        fill: white;
    }

    button .dlm-commandRing g.normal {
        opacity: 1;
    }

    button .dlm-commandRing g.hover {
        opacity: 0;
    }

    button .dlm-commandRing g.active {
        opacity: 0;
    }

    button:not([disabled]):hover .dlm-commandRing g.normal, button:not([disabled]).touch .dlm-commandRing g.normal {
        opacity: 0;
    }

    button:not([disabled]):hover .dlm-commandRing g.hover, button:not([disabled]).touch .dlm-commandRing g.hover {
        opacity: 1;
    }

    button:not([disabled]):hover .dlm-commandRing g.active, button:not([disabled]).touch .dlm-commandRing g.active {
        opacity: 0;
    }

    button:not([disabled]):active .dlm-commandRing g.normal {
        opacity: 0;
    }

    button:not([disabled]):active .dlm-commandRing g.hover {
        opacity: 0;
    }

    button:not([disabled]):active .dlm-commandRing g.active {
        opacity: 1;
    }

    button:disabled .dlm-commandRing g.normal {
        opacity: 1;
    }

    button:disabled .dlm-commandRing g.hover {
        opacity: 0;
    }

    button:disabled .dlm-commandRing g.active {
        opacity: 0;
    }

    .dlm-commandIcon {
        fill: white;
    }

    button:not([disabled]):active .dlm-commandIcon {
        fill: black;
    }

    .dlm-command-padding {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    button.dlm-command {
        display: inline-block;
        /*font-size: 9pt;*/
        background-color: transparent;
        border-style: solid;
        border-width: 2px;
        border-color: transparent;
        min-height: 32px;
        min-width: 40px;
        top: 0px;
        padding-top: 12px;
        padding-bottom: 12px;
        background-color: transparent;
        /*color: white;*/
        /*line-height: 16px;*/
        margin: 0px;
        vertical-align: top;
        padding-left: 4px;
        padding-right: 4px;
    }

        button.dlm-command:focus {
            outline-color: transparent;
        }

    button::-moz-focus-inner {
        border: none;
    }

    button.dlm-command .dlm-label {
        display: block;
        /*line-height: 16px;*/
        margin-bottom: -1px;
        margin-top: 5px;
        max-width: 64px;
        min-width: 64px;
        overflow: hidden;
        padding-left: 4px;
        padding-right: 4px;
        position: relative;
        word-break: keep-all;
        word-wrap: break-word;
        font-weight: normal;
    }

    button.dlm-command {
        display: inline-flex;
        display: -webkit-inline-flex;
        flex-direction: column;
        -webkit-flex-direction: column;
        align-items: center;
        -webkit-align-items: center;
    }

    button .dlm-commandRing {
        margin-left: auto;
        margin-right: auto;
    }

    /* App bar CSS rules */
    .dlm-appbar {
        position: fixed;
        background-color: rgb(0,0,0);
        z-index: 1021;
        /*transition: transform 0.350s ease 0s;
    -webkit-transition: -webkit-transform 0.350s ease 0s;
    -moz-transition: -moz-transform 0.350s ease 0s;
    -MS-transition: -MS-transform 0.350s ease 0s;
    -o-transition: -o-transform 0.350s ease 0s;*/
    }

        .dlm-appbar.closed-minimal.state-closed > * {
            visibility: hidden;
        }

        .dlm-appbar.closed-minimal.state-closed .appBarTrigger {
            visibility: inherit;
        }

        .dlm-appbar.closed-full .appBarTrigger {
            visibility: hidden;
        }

        /* app bar can be attached to top or bottom */
        .dlm-appbar.placement-bottom {
            left: 0px;
            right: 0px;
            bottom: 0px;
            top: auto;
        }

        .dlm-appbar.placement-top {
            left: 0px;
            right: 0px;
            top: 0px;
            bottom: auto;
        }

        .dlm-appbar.layout-custom.trigger-right {
            padding-right: 70px;
            padding-left: 20px;
        }

    body:not(.SmallDevice) .dlm-appbar.trigger-right .selectionSection {
        padding-right: 70px;
    }

    body:not(.SmallDevice) .dlm-appbar.trigger-right .globalSection {
        padding-left: 20px;
    }


    /* Rule used by javascript to get compact app bar offset*/
    dlm-appbar-compact-offset {
        width: 64px;
    }

    /* App bar closed mode transform */
    /* App bar closed mode 'none' is entirely hidden */
    .dlm-appbar.placement-bottom.closed-none {
        transform: translate(0,100%);
        -ms-transform: translate(0,100%);
        -webkit-transform: translate(0,100%);
        -moz-transform: translate(0,100%);
        -o-transform: translate(0,100%);
    }

    .dlm-appbar.placement-top.closed-none {
        transform: translate(-100%,0);
        -ms-transform: translate(-100%,0);
        -webkit-transform: translate(-100%,0);
        -moz-transform: translate(-100%,0);
        -o-transform: translate(-100%,0);
    }

    /* App bar close mode 'compact' just show the icon part */
    .dlm-appbar.placement-bottom.closed-compact {
        transform: translate(0,100%) translate(0,-64px);
        -ms-transform: translate(0,100%) translate(0,-64px);
        -webkit-transform: translate(0,100%) translate(0,-64px);
        -moz-transform: translate(0,100%) translate(0,-64px);
        -o-transform: translate(0,100%) translate(0,-64px);
    }

    .dlm-appbar.placement-top.closed-compact {
        transform: translate(-100%,0) translate(0,+64px);
        -ms-transform: translate(-100%,0) translate(0,+64px);
        -webkit-transform: translate(-100%,0) translate(0,+64px);
        -moz-transform: translate(0,-100%) translate(0,+64px);
        -o-transform: translate(0,-100%) translate(0,+64px);
    }

    /* App bar close mode 'minimal just show the trigger */
    .dlm-appbar.placement-bottom.closed-minimal {
        transform: translate(0,100%) translate(0,-10px);
        -ms-transform: translate(0,100%) translate(0,-10px);
        -webkit-transform: translate(0,100%) translate(0,-10px);
        -moz-transform: translate(0,100%) translate(0,-10px);
        -o-transform: translate(0,100%) translate(0,-10px);
    }

    .dlm-appbar.placement-top.closed-minimal {
        transform: translate(0,-100%) translate(0,10px);
        -ms-transform: translate(0,-100%) translate(0,10px);
        -webkit-transform: translate(0,-100%) translate(0,10px);
        -moz-transform: translate(0,-100%) translate(0,10px);
        -o-transform: translate(0,-100%) translate(0,10px);
    }

    /* App bar close mode 'full does not change */
    .dlm-appbar.placement-bottom.closed-full {
    }

    .dlm-appbar.placement-top.closed-full {
    }

    /* App bar section layout */
    /* main section horizontal layout with space between global section and selection section */
    .dlm-appbar .mainSection {
        display: flex;
        display: -webkit-flex;
        justify-content: space-between;
        -webkit-justify-content: space-between;
        flex-wrap: nowrap;
        -webkit-flex-wrap: nowrap;
        flex-direction: row;
        -webkit-flex-direction: row;
        align-items: flex-start;
        -webkit-align-items: flex-start;
    }

    /* global and selection have horizontal layout with element aligned on top*/
    .dlm-appbar .globalSection {
        display: flex;
        display: -webkit-flex;
        align-items: flex-start;
        -webkit-align-items: flex-start;
    }

    body:not(SmallDevice) .dlm-appbar .globalSection {
        justify-content: flex-end;
        -webkit-justify-content: flex-end;
        flex-grow: 1;
        -webkit-flex-grow: 1;
        justify-content: flex-end;
        -webkit-justify-content: flex-end;
    }

    .dlm-appbar .selectionSection {
        display: flex;
        display: -webkit-flex;
        align-items: flex-start;
        -webkit-align-items: flex-start;
    }

    /* App bar case of small screen width */
    /* main section switch to vertical layout */
    @media only screen and (max-width: 640px) {
        body:not(.SmallDevice) .dlm-appbar .mainSection {
            justify-content: center;
            -webkit-justify-content: center;
            flex-wrap: nowrap;
            -webkit-flex-wrap: nowrap;
            flex-direction: column;
            -webkit-flex-direction: column;
            align-items: stretch;
            -webkit-align-items: stretch;
        }

        /* global and selection center in line*/
        body:not(.SmallDevice) .dlm-appbar .globalSection {
            align-items: flex-start;
            -webkit-align-items: flex-start;
            flex-wrap: nowrap;
            -webkit-flex-wrap: nowrap;
            justify-content: center;
            -webkit-justify-content: center;
        }

        /*.dlm-appbar .globalSection .dlm-label {
            display:none;
        }*/

        body.not(SmallDevice) .dlm-appbar .selectionSection {
            align-items: flex-start;
            -webkit-align-items: flex-start;
            flex-wrap: nowrap;
            -webkit-flex-wrap: nowrap;
            justify-content: center;
            -webkit-justify-content: center;
        }
    }

    /* AppBar on Small device */
    /* mainSection vertical layout */
    body.SmallDevice .dlm-appbar .mainSection {
        justify-content: center;
        -webkit-justify-content: center;
        flex-wrap: nowrap;
        -webkit-flex-wrap: nowrap;
        flex-direction: column;
        -webkit-flex-direction: column;
        align-items: stretch;
        -webkit-align-items: stretch;
    }

    /* globalSection with horizontal layout */
    body.SmallDevice .dlm-appbar .globalSection {
        align-items: flex-start;
        -webkit-align-items: flex-start;
        flex-wrap: nowrap;
        -webkit-flex-wrap: nowrap;
        justify-content: center;
        -webkit-justify-content: center;
    }

    /*.dlm-appbar .globalSection .dlm-label {
            display:none;
        }*/

    /* selectionSection display as vertical menu with icon hidden, item fill the line */
    body.SmallDevice .dlm-appbar .selectionSection {
        flex-direction: column;
        -webkit-flex-direction: column;
        flex-wrap: nowrap;
        -webkit-flex-wrap: nowrap;
        align-items: stretch;
        -webkit-align-items: stretch;
    }

        /* icon is not displayed in selection section*/
        body.SmallDevice .dlm-appbar .selectionSection .dlm-commandRing {
            display: none;
        }

        /* label max-width must not be set in that case*/
        body.SmallDevice .dlm-appbar .selectionSection .dlm-label {
            max-width: none;
            font-size: 11pt;
            font-weight: 600;
        }

        /* button must fill the line but must stretch to allow label on multi-line */
        body.SmallDevice .dlm-appbar .selectionSection button.dlm-command {
            align-items: stretch;
            -webkit-align-items: stretch;
            font-weight: 600;
            /*line-height: 18px;*/
            margin-left: 0px;
            margin-right: 0px;
            padding-bottom: 12px;
            padding-left: 20px;
            padding-right: 20px;
            padding-top: 12px;
            text-align: left;
            white-space: initial;
        }

    /* App bar on Small device landscape orientation */
    @media screen and (orientation:landscape) {
        body.SmallDevice .dlm-appbar.placement-bottom {
            top: 0px;
            bottom: 0px;
            right: 0px;
            left: auto;
        }
    }


    @media screen and (orientation:landscape) {

        body.SmallDevice .appBarTrigger {
            top: 0px;
            left: 0px;
            right: 0px;
            bottom: auto;
            padding: 0px;
            margin-top: 0px;
            /*line-height: 40px;*/
        }

            body.SmallDevice .appBarTrigger .more {
                transform: rotate(-90deg) translate(0px,-24px);
                -webkit-transform: rotate(-90deg) translate(0px,-24px);
            }

        body.SmallDevice .dlm-appbar.placement-bottom {
            top: 0px;
            bottom: 0px;
            right: 0px;
            left: auto;
        }

        body.SmallDevice .dlm-appbar .mainSection {
            justify-content: center;
            -webkit-justify-content: center;
            flex-wrap: nowrap;
            -webkit-flex-wrap: nowrap;
            flex-direction: row;
            -webkit-flex-direction: row;
            align-items: stretch;
            -webkit-align-items: stretch;
            height: 100%;
        }

        body.SmallDevice .dlm-appbar .globalSection {
            align-items: flex-start;
            -webkit-align-items: flex-start;
            flex-wrap: nowrap;
            -webkit-flex-wrap: nowrap;
            flex-direction: column;
            -webkit-flex-direction: column;
            justify-content: center;
            -webkit-justify-content: center;
        }

        body.SmallDevice .dlm-appbar .selectionSection {
            flex-direction: column;
            -webkit-flex-direction: column;
            align-items: flex-start;
            -webkit-align-items: flex-start;
            flex-wrap: nowrap;
            -webkit-flex-wrap: nowrap;
            flex-direction: column;
            -webkit-flex-direction: column;
            justify-content: center;
            -webkit-justify-content: center;
        }

        body.SmallDevice .dlm-appbar.placement-bottom.closed-none {
            transform: translate(100%,0);
            -ms-transform: translate(100%,0);
            -webkit-transform: translate(100%,0);
            -moz-transform: translate(100%,0);
            -o-transform: translate(100%,0);
        }

        body.SmallDevice .dlm-appbar.placement-bottom.closed-compact {
            transform: translate(100%,0) translate(-64px,0);
            -ms-transform: translate(100%,0) translate(-64px,0);
            -webkit-transform: translate(100%,0) translate(-64px,0);
            -moz-transform: translate(100%,0) translate(-64px,0);
            -o-transform: translate(100%,0) translate(-64px,0);
        }

        body.SmallDevice .dlm-appbar.placement-bottom.closed-minimal {
            transform: translate(100%,0) translate(-10px,0);
            -ms-transform: translate(100%,0) translate(-10px,0);
            -webkit-transform: translate(100%,0) translate(-10px,0);
            -moz-transform: translate(100%,0) translate(-10px,0);
            -o-transform: translate(100%,0) translate(-10px,0);
        }

        body.SmallDevice button.dlm-command .dlm-label {
            text-align: left;
        }

        body.SmallDevice .globalSection button.dlm-command .dlm-label {
            max-width: 64px;
            margin-top: 0px;
            margin-bottom: 0px;
            align-self: center;
            -webkit-align-self: center;
        }

        body.SmallDevice .globalSection .dlm-commandRing {
            margin-left: 4px;
            margin-right: 4px;
            align-self: center;
            -webkit-align-self: center;
        }
    }

    .dlm-appbar.state-closed:not(.closed-full) .dlm-label {
        visibility: hidden;
    }

    .dlm-appbar.closed-none .state-closed {
        visibility: hidden;
    }

    @media screen and (orientation:portrait) {

        /* Portrait styles */
        div.dlm-appbar button.dlm-command .dlm-label {
            display: none;
        }
    }

    /* disabled app bar are not displayed */
    .dlm-appbar.disabled {
        display: none;
    }

    hr.dlm-command {
        background-color: rgb(123, 123, 123);
        border-bottom-color: currentColor;
        border-bottom-style: none;
        border-bottom-width: 0px;
        border-left-color: currentColor;
        border-left-style: none;
        border-left-width: 0px;
        border-right-color: currentColor;
        border-right-style: none;
        border-right-width: 0px;
        border-top-color: currentColor;
        border-top-style: none;
        border-top-width: 0px;
        display: inline-block;
        height: 40px;
        margin-bottom: 34px;
        margin-left: 29px;
        margin-right: 29px;
        margin-top: 14px;
        padding-bottom: 0px;
        padding-left: 0px;
        padding-right: 0px;
        padding-top: 0px;
        vertical-align: top;
        width: 2px;
    }

    .IconAdd {
        background-image: url('image/commandIconAdd.png');
    }


    /*
-----------------------------------------------------------------------------
 rule for Message Dialog
-----------------------------------------------------------------------------
*/

    #DLMModalLayer {
        background-color: rgba(0,0,0,0.25);
        color: #FFFFFF;
    }

    #DLM_UI_Popups_MessageDialog {
        position: absolute;
        padding: 10px;
        background-color: rgb(15,136,69);
        left: 0px;
        right: 0px;
        top: 50%;
        -webkit-transform: translate(0,-50%);
        -ms-transform: translate(0,-50%);
        -moz-transform: translate(0,-50%);
        -o-transform: translate(0,-50%);
        transform: translate(0,-50%);
    }


        #DLM_UI_Popups_MessageDialog div[role="content"] {
            margin: 4px;
            min-height: 100px;
            max-height: 480px;
            overflow: auto;
        }

        #DLM_UI_Popups_MessageDialog div[role="bar"] {
            direction: rtl;
            margin: 4px;
            margin-right: 20%;
        }

    /*
-----------------------------------------------------------------------------
 rule for Message Dialog
-----------------------------------------------------------------------------
*/
    .UIZoomViewContent {
        /*	transition:transform 0.0350s ease 0s;
	-webkit-transition:transform 0.0350s ease 0s;
	-moz-transition:transform 0.0350s ease 0s;
	-MS-transition:transform 0.0350s ease 0s;
	-o-transition:transform 0.0350s ease 0s;
*/
        overflow: hidden;
    }

    .dlm-slider {
        display: inline-block;
        position: relative;
        background-color: transparent;
        width: 200px;
        height: 20px;
        padding-top: 10px;
    }

        .dlm-slider .inner {
            display: block;
            position: absolute;
            top: 8px;
            bottom: 8px;
            left: 0px;
            right: 0px;
            background-color: rgba(127, 127, 127, 0.6);
        }

        .dlm-slider .left {
            display: block;
            position: absolute;
            width: 6px;
            left: 0px;
            top: 0px;
            bottom: 0px;
            background-color: rgb(91,46,197);
        }

        .dlm-slider .progress {
            display: block;
            position: absolute;
            top: 0px;
            left: 0px;
            width: 0%;
            top: 0px;
            bottom: 0px;
            background-color: rgb(91,46,197);
            padding-right: 3px;
        }

        .dlm-slider .center {
            display: block;
            position: absolute;
            top: 0px;
            left: 6px;
            right: 6px;
            top: 0px;
            bottom: 0px;
        }

        .dlm-slider .right {
            display: block;
            position: absolute;
            width: 6px;
            right: 0px;
            top: 0px;
            bottom: 0px;
        }

        .dlm-slider .cursor {
            display: block;
            position: absolute;
            left: 0%;
            top: 0px;
            background-color: white;
            padding-left: 10px;
            padding-right: 10px;
            padding-top: 10px;
            padding-bottom: 10px;
            width: 14px;
            height: 14px;
            background-clip: content-box;
            margin-left: -17px;
            margin-top: -10px;
        }

    .slideImage {
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
    }

    .slideImageThumbnail {
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
    }

    .FullScreenView {
        position: absolute;
        background-color: black;
        top: 0px;
        left: 0px;
        right: 0px;
        bottom: 0px;
        z-index: 900;
        display: flex;
        display: -webkit-flex;
    }

        .FullScreenView .input {
            display: flex;
            display: -webkit-flex;
            flex-flow: column;
            -webkit-flex-flow: column;
            flex-grow: 1;
            -webkit-flex-grow: 1;
            outline: 0;
        }

        .FullScreenView .topBar {
            background-color: black;
        }

        .FullScreenView .content {
            flex-grow: 1;
            -webkit-flex-grow: 1;
        }

    .browserCommandBar {
        /*background-color: black;*/
        /* for ipad and iphone */
        -webkit-flex-shrink: 0;
    }

    body.has-back-button .browserCommandBar {
        display: none;
        z-index: 2;
    }

    .browserCommandBar button {
        flex-shrink: 0;
        -webkit-flex-shrink: 0;
    }

    .browserCommandBar .win-label {
        /*color: lightgray;*/
    }

    .browserContent {
        flex-grow: 1;
        -webkit-flex-grow: 1;
        position: relative;
        left: 0px;
        right: 0px;
        top: 0px;
        bottom: 0px;
    }

    .browserFrame {
        background-color: white;
        border: 0px;
    }

    /* Color skin */

    /*body {
    background-color: rgb(29, 29, 29);
    color: rgb(255, 255, 255);
}*/

    .dlm-flyout.dlm-menu button, .dlm-menu button {
        background-color: transparent;
        /*color: rgb(0, 0, 0);*/
    }

    body.win-ui-dark .dlm-flyout.dlm-menu button {
        color: white;
    }

    .darkFlyout {
        background-color: black;
        border-color: black;
        color: white;
    }

        .darkFlyout input {
            border-color: rgba(255,255,255,0.8);
        }

            .darkFlyout input:focus {
                border-color: white;
            }

    .darkMenu.dlm-flyout.dlm-menu button {
        background-color: transparent;
        color: white;
    }


body.hoverable .dlm-flyout.dlm-menu button:hover, body.hoverable .dlm-menu button:hover, .dlm-flyout.dlm-menu button.touch, .dlm-menu button.touch {
    background-color: rgba(0,0,0,0.25);
}

body.hoverable .darkMenu.dlm-flyout.dlm-menu button:hover, body.hoverable .dlm-menu button:hover, .darkMenu.dlm-flyout.dlm-menu button.touch, .dlm-menu button.touch {
    background-color: rgba(255,255,255,0.25);
}

    /*button, input[type=button], input[type=submit], input[type=reset], input[type=file]::-ms-browse {
    background-color: transparent;
    border-bottom-color: rgb(255, 255, 255);
    border-left-color: rgb(255, 255, 255);
    border-right-color: rgb(255, 255, 255);
    border-top-color: rgb(255, 255, 255);
    color: rgb(255, 255, 255);
}*/

    button {
        margin: 0px;
        min-height: 32px;
        min-width: 120px;
        padding: 4px 8px;
    }

    /* hides the spin-button for firefox */
    input[type=number] {
        -moz-appearance: textfield;
    }

        /* hides the spin-button for chrome*/
        input[type=number]::-webkit-outer-spin-button,
        input[type=number]::-webkit-inner-spin-button {
            -webkit-appearance: none;
            /*margin: 0;*/
        }

    input[type=text], input[type=password] {
        -webkit-appearance: none;
        -moz-appearance: none;
    }

    /*input[type=text], input[type=password], input[type=email], input[type=number], input[type=tel], input[type=url], input[type=search], textarea, .win-textarea {

    min-height: 28px;
    margin-top: 0px;
    margin-bottom: 0px;
}*/

    /*.win-flyout {
    font-size: 11pt;
}*/

    /*input[type=text], input[type=password],
input[type=email], input[type=number],
input[type=tel], input[type=url] {
	padding-left:6px;
	padding-right:6px;
}*/

    /*input[type=button], input[type=submit], input[type=reset], input[type=file]::-ms-browse {
    background-color: rgba(182, 182, 182, 0.7);
    border-bottom-color: rgba(0, 0, 0, 0.2);
    border-left-color: rgba(0, 0, 0, 0.2);
    border-right-color: rgba(0, 0, 0, 0.2);
    border-top-color: rgba(0, 0, 0, 0.2);
    color: rgb(0, 0, 0);
}*/

    /*input[type=button]:hover, input[type=reset]:hover,
    input[type=file]::-ms-browse:hover {
        background-color: rgba(205, 205, 205, 0.82);
        border-color: rgba(164, 164, 164, 0.45);
    }

        button[type=submit]:hover:active,
        input[type=button]:hover:active, input[type=reset]:hover:active,
        input[type=submit]:hover:active, input[type=file]::-ms-browse:hover:active {
            background-clip: border-box;
            background-color: rgb(0, 0, 0);
            border-color: transparent;
            color: rgb(255, 255, 255);
        }*/

    /*input[type=text], input[type=password],
input[type=email], input[type=number],
input[type=tel], input[type=url],
input[type=search], select, textarea,
.dlm-textarea, input::-ms-check {
    background-clip: padding-box;
    background-color: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.27);
    color: rgb(0, 0, 0);
}*/

    /*input[type=text]:hover, input[type=password]:hover,
    input[type=email]:hover, input[type=number]:hover,
    input[type=tel]:hover, input[type=url]:hover,
    input[type=search]:hover, textarea:hover,
    select:hover, .dlm-textarea:hover, input:hover::-ms-check {
        background-color: rgba(255, 255, 255, 0.87);
        border-color: rgba(0, 0, 0, 0.44);
        color: rgb(0, 0, 0);
    }*/

    /*input[type=text]:focus, input[type=text]:active,
    input[type=password]:focus, input[type=password]:active,
    input[type=email]:focus, input[type=email]:active,
    input[type=number]:focus, input[type=number]:active,
    input[type=tel]:focus, input[type=tel]:active,
    input[type=url]:focus, input[type=url]:active,
    input[type=search]:focus, input[type=search]:active,
    textarea:focus, textarea:active,
    .dlm-textarea:focus, .dlm-textarea:active,
    select:focus, select:active {
        background-color: rgb(255, 255, 255);
        border-color: rgba(0, 0, 0, 0.6);
        color: rgb(0, 0, 0);
    }*/

    /*input[type=text]::-webkit-input-placeholder {
        color: rgba(0,0,0,0.25);
    }*/

    /*input[type=text]::-moz-placeholder {
        color: rgba(0,0,0,0.25);
    }*/
    /* firefox 19+ */
    /*input[type=text]:-ms-input-placeholder {
        color: rgba(0,0,0,0.25);
    }*/
    /* ie */
    /*input[type=text]:-moz-placeholder {
        color: rgba(0,0,0,0.25);
    }*/

    /* winjs new */

    /* new part */
    .dlm-ui-pushcontroller {
        overflow: hidden;
    }

        .dlm-ui-pushcontroller .item {
            height: 100%;
            width: 100%;
        }

            .dlm-ui-pushcontroller .item.with-topbar {
                display: flex;
                display: -webkit-flex;
                flex-direction: column;
                -webkit-flex-direction: column;
                align-items: stretch;
                -webkit-align-items: stretch;
            }

                .dlm-ui-pushcontroller .item[disabled], .dlm-ui-pushcontroller .item.with-topbar[disabled] {
                    display: none;
                }

            .dlm-ui-pushcontroller .item .topbar {
                flex: 0 0 auto;
                -webkit-flex: 0 0 auto;
                display: flex;
                display: -webkit-flex;
                align-items: center;
                -webkit-align-items: center;
            }

                .dlm-ui-pushcontroller .item .topbar .win-command {
                    min-width: 38px;
                    min-height: 38px;
                }

            /*.dlm-ui-pushcontroller .item .topbar .win-command .win-commandicon {
                    margin: 6px;
                }*/

            .dlm-ui-pushcontroller .item button {
                flex: 0 0 auto;
                -webkit-flex: 0 0 auto;
            }

            .dlm-ui-pushcontroller .item .topbar .title {
                flex: 1 1 auto;
                -webkit-flex: 1 1 auto;
                overflow: hidden;
                text-overflow: ellipsis;
                /*background-color:greenyellow;*/
                white-space: nowrap;
            }

            .dlm-ui-pushcontroller .item .content {
                flex: 1 0 auto;
                -webkit-flex: 1 0 auto;
                /*background-color:white;*/
            }

    .dlm-ui-svg {
        display: inline-block;
        position: relative;
        /*stroke:ButtonText;*/
        fill: black;
    }

    .dlm-ui-searchIcon {
        width: 0px;
        pointer-events: none;
    }

        .dlm-ui-searchIcon .icon {
            min-width: 20px;
            vertical-align: middle;
            padding-bottom: 3px;
            position: relative;
            left: 10px;
        }

            .dlm-ui-searchIcon .icon svg {
                max-height: 18px;
                min-width: 18px;
                min-height: 18px;
                vertical-align: middle;
                -webkit-transform: scale(-1,1);
                transform: scale(-1,1);
            }

    .win-flyout button, .dlm-flyout button {
        background-color: transparent;
    }

    /*button[role="menuitem"].selectable {
    border-left: 4px solid transparent;
}

button[role="menuitem"][selected].selectable {
    border-left: 4px solid blue;
}*/

    button:not(.win-command)[role="menuitem"] {
        padding-left: 8px;
        padding-right: 8px;
    }

    button[role="menuitem"][selected].selectable {
        background-color: rgba(127,127,127,0.1);
    }

    .dlm-ui-svgbackbutton {
        display: inline-flex;
        display: -webkit-inline-flex;
        align-items: center;
    }

        .dlm-ui-svgbackbutton .icon {
            width: 24px;
            height: 24px;
        }

    /* Reduce globally the win-command button width fro 68/to 58px*/
    .win-commandicon {
        margin-left: 16px;
        margin-right: 16px;
    }

    /* When the device is not very wide - phone in portrait 
    make the win-command button square reduce from 58 to 
*/
    @media screen and (max-width: 480px) {
        .win-commandicon {
            margin-left: 11px;
            margin-right: 11px;
        }
    }

    .dlm-ui-switchcontroller {
        position: relative;
    }

    .dlm-ui-switchitem {
        position: absolute;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

        .dlm-ui-switchitem:not(.dlm-ui-switchitem-selected) {
            display: none;
        }

    .dlm-ui-splitview {
        position: relative;
        overflow: hidden;
        width: 100%;
        height: 100%;
    }

    .dlm-ui-splitview {
        background-color: #ffffff;
    }

    .win-ui-dark .dlm-ui-splitview {
        background-color: #000000;
    }

    .dlm-ui-splitpane {
        background-color: inherit;
        position: absolute;
        left: 0px;
        top: 0px;
        bottom: 0px;
        width: 320px;
        overflow: hidden;
        display: flex;
        display: -webkit-flex;
        transition: left 0.250s ease-out 0s;
        -webkit-transition: left 0.250s ease-out 0s;
    }

        .dlm-ui-splitpane > * {
            flex-grow: 1;
            -webkit-flex-grow: 1;
        }

    .dlm-ui-splitview.state-closed .dlm-ui-splitpane {
        visibility: hidden;
    }

    .dlm-ui-splitview.opened-inline .dlm-ui-splitpane,
    .dlm-ui-splitview.opened-overlay .dlm-ui-splitpane {
        left: -320px;
        z-index: 10;
    }

    .dlm-ui-splitview.dlm-ui-split-placementleft.dlm-ui-split-pane-opened .dlm-ui-splitpane {
        left: 0px;
    }

    .dlm-ui-splitcontent {
        background-color: inherit;
        position: absolute;
        left: 0px;
        top: 0px;
        bottom: 0px;
        width: 100%;
        overflow: hidden;
        display: flex;
        display: -webkit-flex;
        transition: left 0.250s ease-out 0s;
        -webkit-transition: left 0.250s ease-out 0s;
        /*transition: right 0.250s ease-out  0s;
    -webkit-transition: right 0.250s ease-out  0s;*/
    }

    .dlm-ui-splitview.dlm-ui-split-placementleft.opened-inline.dlm-ui-split-pane-opened .dlm-ui-splitcontent,
    .dlm-ui-splitview.dlm-ui-split-placementleft.opened-behind.dlm-ui-split-pane-opened .dlm-ui-splitcontent {
        left: 320px;
    }


    .dlm-ui-splitcontent-overlay {
        transition: background-color 0.250s ease-out 0s;
        -webkit-transition: background-color 0.250s ease-out 0s;
    }

    .dlm-ui-splitcontent-overlay {
        position: absolute;
        left: 0px;
        top: 0px;
        bottom: 0px;
        width: 100%;
        overflow: hidden;
        transition: left 0.250s ease 0s;
        -webkit-transition: left 0.250s ease 0s;
    }

    /*.dlm-ui-split-pane-opened .dlm-ui-splitcontent-overlay {
    background-color:red;
}*/

    .dlm-ui-splitview.dlm-ui-split-placementleft.opened-inline.dlm-ui-split-pane-opened .dlm-ui-splitcontent-overlay,
    .dlm-ui-splitview.dlm-ui-split-placementleft.opened-behind.dlm-ui-split-pane-opened .dlm-ui-splitcontent-overlay {
        left: 320px;
    }

    .dlm-ui-splitview.dlm-ui-split-placementleft .dlm-ui-splitcontent-overlay {
        -webkit-transition: background-color 0.1s;
    }

    .dlm-ui-splitview.dlm-ui-split-placementleft.state-opened .dlm-ui-splitcontent-overlay {
        background-color: rgba(127,127,127,0.1);
        -webkit-transition: background-color 0.350s;
    }

    .dlm-ui-splitview.dlm-ui-split-placementleft.state-closed .dlm-ui-splitcontent-overlay {
        display: none;
    }

    /* Style */
    body.hoverable .dlm-ui-hoverable:hover:not([disabled]),
    body.hoverable .dlm-ui-hoverable.win-button:hover:not([disabled]),
    body.hoverable .dlm-ui-hoverable:focus,
    button.win-command:focus {
        /*background-color: rgba(167, 222, 255, 0.3);*/
        background-color: rgba(127, 127, 127, 0.3);
        outline-color: transparent;
    }

    .dlm-ui-selectable[selected] {
        background-color: rgba(127,127,127,0.1);
    }

    body.macintosh .win-commandicon, body.applemobile .win-commandicon {
        top: 0px;
    }

    body.macintosh button.win-command, body.applemobile button.win-command {
        display: -webkit-flex;
        -webkit-flex-direction: column;
        flex-direction: column;
        align-items: center;
        -webkit-align-items: center;
    }

    .hflex {
        display: flex;
        display: -webkit-flex;
        flex-direction: row;
        -webkit-flex-direction: row;
        overflow: hidden;
    }

        .hflex.center {
            align-items: center;
            -webkit-align-items: center;
        }

        .hflex.stretch {
            align-items: stretch;
            -webkit-align-items: stretch;
        }

    .no-shrink {
        flex-shrink: 0;
        -webkit-flex-shrink: 0;
    }

    .vflex {
        display: flex;
        display: -webkit-flex;
        flex-direction: column;
        -webkit-flex-direction: column;
        overflow: hidden;
    }

        .vflex.stretch {
            align-items: stretch;
            -webkit-align-items: stretch;
        }

        .vflex.center {
            align-items: center;
            -webkit-align-items: center;
        }

    /*form test 
.topelement {
    border-color:red !important;
    border-style:solid !important;
    border-width:1px !important;
}*/

    body.android .win-textbox {
        border-width: 0px !important;
        border-bottom-width: 1px !important;
        padding-bottom: 6px;
        padding-left: 0px;
        padding-right: 0px;
    }

        body.android .win-textbox:focus {
            border-width: 0px !important;
            border-bottom-width: 1px !important;
            padding-bottom: 5px;
        }

    body.android :focus {
        outline-color: transparent; /*-webkit-focus-ring-color;*/
        outline-style: auto;
        outline-width: 5px;
    }

    input::-webkit-input-placeholder {
    }

    button:disabled .win-commandimage, button:disabled:active .win-commandimage {
        color: inherit;
        opacity: 0.5;
    }

    .win-textbox,
    .win-textarea {
        background-color: transparent;
        border-color: transparent;
        border-width: 1px;
    }

        .win-textbox:hover,
        .win-textarea:hover {
            background-color: transparent;
            border-color: transparent;
        }

        .win-textbox:focus,
        .win-textarea:focus {
            background-color: transparent;
        }

    .win-contentdialog-dialog {
        outline-width: 0px !important;
    }

    html.win-hoverable button:enabled.win-command:hover,
    html.win-hoverable .win-menu button.win-command:enabled:hover {
        background-color: rgba(127, 127, 127, 0.3);
    }

    .win-flyout.win-menu, .dlm-overlay.dlm-flyout, .win-settingsflyout {
        border-color: transparent;
    }


    label {
        opacity: 0.7;
    }

    .dlm-checkbox.fa {
        font-size: 20px;
        min-width: 28px;
        cursor: pointer;
    }

    /* Precreate rule for customizer to optimize start speed */
    .thm-window {
    }

    .thm-colorAccentBorder {
    }

    .win-textbox {
    }

    .thm-textColor {
    }

    button.thm-textColor .win-commandimage.win-commandglyph {
    }

    .thm-textColor .win-label {
    }

    input {
    }

        input:focus {
        }

    .win-textbox:focus {
    }

    button.dlm-menu-command .win-label {
    }

    ::-ms-input-placeholder {
    }

    thm-textColor {
    }

    button.win-button {
        background-color: transparent;
        border-width: 0px;
    }

    .thm-colorAccent {
    }

    html.win-hoverable button:enabled:hover .win-commandimage.win-commandglyph {
    }

    button:enabled:active win-commandimage {
    }

    .win-progress-bar {
    }

    .win-progress-ring {
    }

    .win-ring {
    }

    .thm-colorAccentBorder:focus {
    }

    .thm-colorAccentAsBackground {
    }

    .thm-primary-bar {
    }

        .thm-primary-bar .viewStyle {
        }

        .thm-primary-bar .thm-window {
        }

        .thm-primary-bar .thm-textColor {
        }

        .thm-primary-bar .thm-colorAccentBorder {
        }

        .thm-primary-bar .win-textbox {
        }

        .thm-primary-bar input {
        }

            .thm-primary-bar input:focus {
            }

        .thm-primary-bar .win-textbox:focus {
        }

        .thm-primary-bar button.dlm-menu-command .win-label {
        }

        .thm-primary-bar ::-ms-input-placeholder {
        }

        .thm-primary-bar button {
        }

        .thm-primary-bar .win-commandimage {
        }

            .thm-primary-bar .win-commandimage.win-commandglyph {
            }

        .thm-primary-bar button .win-label {
        }

        .thm-primary-bar button.win-button {
        }

        .thm-primary-bar .thm-colorAccent {
        }

        .thm-primary-bar html.win-hoverable button:enabled:hover .win-commandimage.win-commandglyph {
        }

        .thm-primary-bar button:enabled:active win-commandimage {
        }

        .thm-primary-bar .win-link {
        }

        .thm-primary-bar .win-progress-bar {
        }

        .thm-primary-bar .win-progress-ring {
        }

        .thm-primary-bar .win-ring {
        }

        .thm-primary-bar .progressWheel.dlm-ui-svg {
        }

        .thm-primary-bar .thm-colorAccentBorder:focus {
        }

        .thm-primary-bar .thm-colorAccentAsBackground {
        }

    .thm-bar {
    }

        .thm-bar .viewStyle {
        }

        .thm-bar .thm-window {
        }

        .thm-bar .win-textbox {
        }

        .thm-bar .thm-colorAccentBorder {
        }

        .thm-bar .thm-textColor {
        }

        .thm-bar button.thm-textColor .win-commandimage.win-commandglyph {
        }

        .thm-bar .thm-textColor .win-label {
        }

        .thm-bar input {
        }

            .thm-bar input:focus {
            }

        .thm-bar .win-textbox:focus {
        }

        .thm-bar button.dlm-menu-command .win-label {
        }

        .thm-bar ::-ms-input-placeholder {
        }

    .dlm-flyout .viewStyle {
    }

    .dlm-flyout .thm-window {
    }

    .thm-overlay {
    }

        .thm-overlay .viewStyle {
        }

        .thm-overlay .thm-window {
        }

    .thm-card {
    }

        .thm-card .viewStyle {
        }

        .thm-card .thm-window {
        }

    .dlm-flyout .thm-colorAccentBorder {
    }

    .dlm-flyout .win-textbox {
    }

    .dlm-flyout .thm-textColor {
    }

    .dlm-flyout button.thm-textColor .win-commandimage.win-commandglyph {
    }

    .dlm-flyout .thm-textColor .win-label {
    }

    .dlm-flyout input {
    }

        .dlm-flyout input:focus {
        }

    .dlm-flyout .win-textbox:focus {
    }

    .dlm-flyout button.dlm-menu-command .win-label {
    }

    .dlm-flyout ::-ms-input-placeholder {
    }

    .thm-overlay .thm-colorAccentBorder {
    }

    .thm-overlay .win-textbox {
    }

    .thm-overlay .thm-textColor {
    }

    .thm-overlay button.thm-textColor .win-commandimage.win-commandglyph {
    }

    .thm-overlay .thm-textColor .win-label {
    }

    .thm-overlay input {
    }

        .thm-overlay input:focus {
        }

    .thm-overlay .win-textbox:focus {
    }

    .thm-overlay button.dlm-menu-command .win-label {
    }

    .thm-overlay ::-ms-input-placeholder {
    }

    .dlm-flyout button {
    }

    .dlm-flyout .win-commandimage {
    }

        .dlm-flyout .win-commandimage.win-commandglyph {
        }

    .dlm-flyout button .win-label {
    }

    .dlm-flyout button.win-button {
    }

    .dlm-flyout .thm-colorAccent {
    }

    .dlm-flyout html.win-hoverable button:enabled:hover .win-commandimage.win-commandglyph {
    }

    .dlm-flyout button:enabled:active win-commandimage {
    }

    .dlm-flyout .win-link {
    }

    .dlm-flyout .win-progress-bar {
    }

    .dlm-flyout .win-progress-ring {
    }

    .dlm-flyout .win-ring {
    }

    .dlm-flyout .progressWheel.dlm-ui-svg {
    }

    .dlm-flyout .thm-colorAccentBorder:focus {
    }

    .dlm-flyout .thm-colorAccentAsBackground {
    }

    .thm-overlay button {
    }

    .thm-overlay .win-commandimage {
    }

        .thm-overlay .win-commandimage.win-commandglyph {
        }

    .thm-overlay button .win-label {
    }

    .thm-overlay button.win-button {
    }

    .thm-overlay .thm-colorAccent {
    }

    .thm-overlay html.win-hoverable button:enabled:hover .win-commandimage.win-commandglyph {
    }

    .thm-overlay button:enabled:active win-commandimage {
    }

    .thm-overlay .win-link {
    }

    .thm-overlay .win-progress-bar {
    }

    .thm-overlay .win-progress-ring {
    }

    .thm-overlay .win-ring {
    }

    .thm-overlay .progressWheel.dlm-ui-svg {
    }

    .thm-overlay .thm-colorAccentBorder:focus {
    }

    .thm-overlay .thm-colorAccentAsBackground {
    }
