
/********** Common stuff for mobile and desktop version ******/
div {
    padding: 5px;
    background: rgb(146,205,220);

    /* Prevent selection of text and elements with mouse */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

img.enabled:hover {
    -webkit-filter: drop-shadow(3px 3px 3px black);
}
img.disabled {
    -webkit-filter:  opacity(0.2);
}
img.selected {
    -webkit-filter: invert(1);
}

img.OnOffImg {
    width: 10px;
    height: 10px;
}

/* Data divs */
div.red, div.green, td.red, td.green {
    -webkit-transition: 0.2s linear all;
    -moz-transition: 0.2s linear all;
    -o-transition: 0.2s linear all;
}
div.red, td.red {
    background-color: red;
}
div.green, td.green {
    background-color: green;
}

div.analog-border {
    padding: 0;
    margin: 0;
    width: 64px;
    height: 15px;
    border-radius: 2px;
    border-style: solid;
    border-color: black;
    border-width: 1px;
}


/********* Mobile Version **********************/
body {
    background-color: white;
    padding: 0px;
    margin:0px;
}

div.Maindiv {
    background: white;
    margin: 0px;
    padding: 0px;
    border-radius: 0px;
}

div {
    margin: 5px;

    -moz-border-radius: 5px;
    border-radius: 5px;
}

div.rtTitle {
}

div.rtBrowser {
}

div.rtPage {
}

div.rtTest {
    /*visibility: hidden;*/
}

div.rtNavigation {
}
/*********End Mobile Version********************/

/*********Desktop Version**********************/
@media only screen and (min-width:800px) {
    body {
        font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif;
        background-color: lightgray;
    }
    div.Maindiv {
        background: lightgray;
        position:absolute;
        left: 50%;
        margin-left: -400px;
        width: 800px;
        height: 700px;
    }

    div.rtTitle {
        top:    10px;
        left:   10px;
        width:  770px;
        height: 110px;
        position:absolute;
    }

    div.rtBrowser {
        top: 140px;
        left:10px;
        width: 190px;
        height: 490px;
        position:absolute;
    }

    div.rtPage {
         top: 140px;
         left:220px;
         width: 390px;
         height: 430px;
         position:absolute;
    }

    /* Animation when changing Pages */
    .rtPage.ng-enter,
    .rtPage.ng-leave
    {
        -webkit-transition: 0.5s linear all;
        -moz-transition: 0.5s linear all;
        -o-transition: 0.5s linear all;
        transition: 0.5s linear all;
    }
    .rtPage.ng-enter {
        z-index: 100;
        opacity: 0;
    }
    .rtPage.ng-enter.ng-enter-active {
        opacity: 1;
    }
    .rtPage.ng-leave {
        z-index: 101;
        opacity: 1;
    }
    .rtPage.ng-leave.ng-leave-active {
        opacity: 0;
    }

    div.rtTest {
        top: 140px;
        left:630px;
        width: 150px;
        height: 490px;
        position:absolute;
        /*visibility: visible;*/
    }

    div.rtNavigation {
        position: absolute;
        top: 590px;
        left:220px;
        width: 390px;
        height: 40px;
    }

}
