/**
 * @project     KIX4OTRS (http://www.cape-it.de) - Agent Frontend
 * @version     $Revision: 1.1 $
 * @copyright   c.a.p.e. IT GmbH
 * @license     AGPL (http://www.gnu.org/licenses/agpl.txt)
 */

/*
 * @package     Skin "KIX4OTRS"
 * @section     Tables
 */

@media screen,projection,tv,handheld {
/**
 * @subsection  ITSM tree
 */
    #Options{
        width: 99.8%;
        margin-bottom:0px;
    }

    body {
        overflow: auto;
        height: 100%;
    }
    html { /* because ie uses 100% of body wrong */
        height: 100%;
    }

    #GraphBody {
        overflow: scroll;
        width: 100%;
        height: 97%;
        position: absolute;
    }

    .NoSelection {
        -moz-user-select: none;
        -o-user-select: none;
        -khtml-user-select: none;
        -webkit-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    #Scale {
        position: absolute;
        overflow: hidden;
        height: 100%;
        width: 100%;
    }

    #ZoomNotice {
        margin-left: 20px;
        font-weight: bold;
        color: red;
    }

    button.OptButton {
        vertical-align: middle;
        cursor: pointer;
        padding-left: 3px;
        padding-right: 3px;
        padding-top: 1px;
        padding-bottm: 1px;
        margin-left: 1px;
        margin-right: 1px;
    }

    #MagnifierZoom {
        margin-right: 5px;
    }

    .OptButton_active {
        moz-border-radius: 3px;
        border-radius: 3px;
        border: 2px solid #F58500;
        background: #DDDDDD;
    }

    #ZoomArea {
        border: 1px dotted #F58500;
        position: absolute;
        height: 10px;
        width: 10px;
    }

    #Right {
        float: right;
    }
    #Print {
        font-weight: bold;
    }

    .GraphNode {
        padding: 2px;
        padding-top: 5px;
        line-height: 1.8px;
        text-align: center;
        z-index: 10;
        position: absolute;
        cursor: move;
        -moz-border-radius: 5px;
        border-radius: 5px;
        min-width: 100px;
        min-height: 65px;
    }
    .GraphNode .NodeImage {
        width: 40px;
    }
    .GraphNode .IncidentImage {
        position: absolute;
        top: 5px;
        left: 5px;
        width: 17px;
    }
    .dragHover {
        border-top: 1px solid silver !important;
        border-left: 1px solid silver !important;
        border-bottom: 0px solid white !important;
        border-right: 0px solid white !important;
    }

    #Shield {
        background-color: #000;
        opacity: 0.5;
        -moz-opacity: 0.5;
        filter: alpha(opacity=50);
        position: absolute;
        top: 0px;
        left: 0px;
        height: 100%;
        width: 100%;
        z-index:100;
    }

    .LinkLabel {
        background-color:white;
        padding: 0.4em;
        z-index: 8;
        opacity: 0.9;
        filter: alpha(opacity=90);
        -moz-opacity: 0.9;
        white-space: nowrap;
    }

    .Endpoint {
        z-index: 12;
    }

    .Dialog > .Header h1 {
        padding-right: 25px;
    }
    .Dialog h3 {
        font-weight: bold;
    }
    .Dialog, .Dialog .DataTable {
        white-space: nowrap;
    }

    #ConnectionDummy {
        width: 1px;
        height: 1px;
        background: white;
        position: absolute;
    }
    ._jsPlumb_endpoint {
        z-index: 50;
    }
    .DummyConnection {
        z-index: 50;
    }

    #ConnectionDummyShow {
        position: absolute;
        z-index: 50;
        border: 1px solid #F58500;
    }

    .Content p {
        margin-bottom: 10px;
    }

    #GraphSaved {
        height: 20px;
        width: 80px;
        position: absolute;
        left: 50%;
        top: 50%;
        z-index: 101;
        text-align: center;
        padding-top: 5px;
        border: 2px solid black;
        background: #FEFEFE;
        -moz-border-radius: 5px;
        border-radius: 5px;
        -moz-box-shadow: 2px 2px 5px #555;
        -webkit-box-shadow: 2px 2px 5px #555;
        box-shadow: 2px 2px 5px #555;
    }

    #Context {
        z-index: 16;
        position: absolute;
        min-width: 300px;
    }

    #Context .Header {
        background: #E0E0E0;
    }

    #Context .Content {
        padding: 0px;
        border: none;
    }

    #Context .Content .ContextNoRights {
        color: silver;
        cursor: default;
        background-color: #F5F5F5 !important;
    }

    #Context .ContextFooter {
        width: 100%;
        background: #E0E0E0;
        height: 8px;
    }

    #Context > .Content > ul {
        background: #F5F5F5;
        border: 1px 0px 1px 0px solid #F5F5F5;
    }

    #Context > .Content > ul > li {
        font-size: 12px;
        line-height: 14px;
        position: relative;
        padding: 0px 2px 0px 2px;
    }

    #Context > .Content > ul > li > a {
        display: block;
        position: relative;
        color: #333333;
        padding: 8px 10px 4px 8px;
        border-bottom-width: 1px;
        border-bottom-color: #E3E3E3;
        border-bottom-style: solid;
    }

    #Context > .Content > ul > li:hover > a {
        background: #FFCC65;
    }

    /* for printing (popup) */
    #PrintBox {
        height: 1000px;
        width: 714px;
        font-size: 12px;
        position: absolute;
    }
    #PrintWindow .GraphNode {
        cursor: default;
    }
    #PrintWindow {
        height: 1000px;
        width: 714px;
        font-size: 12px;
        position: absolute;
    }
    #PrintInfo {
        border: 1px solid black;
        width: 100%;
    }
    #PrintGraphBody {
        position: absolute;
        width: 710px;
        top: 64px;
        height: 928px;
        border: 1px solid black;
        padding: 2px
    }
    #PrintScale {
        position: absolute;
    }

    #PrintWindow #Print_Title {
        font-size: 16px;
        font-weight: bold;
    }
    #PrintWindow .Left {
    }
    #PrintWindow .Right {
        position:absolute;
        left: 180px;
    }
    #PrintWindow .ExLink {
        color:#F58500;
    }

} /* end @media */

@media print {
/**
 * @subsection  ITSM tree
 */

    body {
        overflow: hidden;
        height: 100%;
    }
    #PrintWindow {
        height: 1000px;
        width: 714px;
        font-size: 12px;
        position: absolute;
    }
    #PrintInfo {
        border: 1px solid black;
        width: 100%;
    }
    #PrintGraphBody {
        width: 710px;
        position: absolute;
        top: 65px;
        height: 933px;
        border: 1px solid black;
        padding: 2px;
    }
    #PrintScale {
        position:absolute;
        height:1px;
        width:1px;
    }

    #Print_Title {
        font-size: 16px;
        font-weight: bold;
    }
    .Left {
    }
    .Right {
        position:absolute;
        left: 180px;
    }
    .ExLink {
        color:#F58500;
    }

    .GraphNode {
        padding: 2px;
        padding-top: 5px;
        line-height: 1.8px;
        text-align: center;
        z-index: 10;
        position: absolute;
        -moz-border-radius: 5px;
        border-radius: 5px;
        min-width: 110px;
        min-height: 85px;
    }
    .GraphNode .IncidentImage {
        position: absolute;
        top: 5px;
        left: 5px;
        width: 17px;
    }

    .LinkLabel {
        background-color:white;
        padding: 0.4em;
        z-index: 8;
        border: 1px dotted black;
        opacity: 0.9;
        filter: alpha(opacity=90);
        white-space: nowrap;
    }

    .Content p {
        margin-bottom: 10px;
    }

} /* end @media */
