.demo {
    /* for IE10+ touch devices */
    touch-action:none;
}

body{
    margin: 10px;
}

.ml-1{
    margin-left: 1em;
}

*{font-size: 1.1em; font-family:'Arial', 'Helvetica', sans-serif;}
.title{
    text-align:center;
    font-size: 1.2em;
}
.subtitle{
    font-size:16px;
}

.jtk-demo-main{
    
}

/** ELEMENTS **/
.drag-drop-demo .window {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-style: italic;
    background-color: white;
    border: 1px solid #346789;
    text-align: center;
    z-index: 24;
    cursor: pointer;
    box-shadow: 2px 2px 19px #aaa;
    -o-box-shadow: 2px 2px 19px #aaa;
    -webkit-box-shadow: 2px 2px 19px #aaa;
    -moz-box-shadow: 2px 2px 19px #aaa;
    -moz-border-radius: 0.5em;
    border-radius: 5px;
    position: absolute;
    color: black;
    padding: 5px;
    width: 160px;
    min-height: 70px;
    font-size: 18px;
    line-height: 22px;
    -webkit-transition: -webkit-box-shadow 0.15s ease-in;
    -moz-transition: -moz-box-shadow 0.15s ease-in;
    -o-transition: -o-box-shadow 0.15s ease-in;
    transition: box-shadow 0.15s ease-in;
    box-sizing: border-box;
}

.window:hover {
    border:1px solid #123456;
    box-shadow: 2px 2px 19px #444;
    -o-box-shadow: 2px 2px 19px #444;
    -webkit-box-shadow: 2px 2px 19px #444;
    -moz-box-shadow: 2px 2px 19px #fff;
    opacity:0.9;
}


.drag-drop-demo a, .drag-drop-demo a:visited {
    color:#057D9F;
}

.drag-drop-demo a:hover {
    color:orange;
}

/** LINKS IN WINDOWS **/
.drag-locked { border:1px solid red; }
.cmdLink { font-size:0.80em;}

/** DRAG/DROP CLASSES **/
.dragActive { border:2px dotted orange; }
.dropHover { border:1px dotted red; }

/** INFO WINDOW **/
#list {
    text-align: center;
    display: none;
    font-size: 90%;
    position: absolute;
    width: 500px;
    left: 50%;
    margin-left: -250px;
    top: 100px;
    background-color: white;
    padding: 5px;
    border: 1px solid #456;
    opacity: 0.8;
    border-radius: 8px;
    color: #444;
}
#list table { width:100%;}
#list table th, #list strong { color:black; font-size:12px; text-align: center; }

path, .jtk-endpoint { cursor:pointer; }

[jtk-not-draggable] {
    border:2px solid darkorange !important;
}


.jtk-demo-main{
    font-family: Courier, monospace;
    background-color: white;
    background: repeating-linear-gradient(white,#fff 25px,#f1f1f1 26px,#f1f1f1 27px);
    background-position-y: 34px;
    /* height: 300px; */
    /* width: 500px; */
    padding: 0;
    margin-top: 50px;
    
    margin-right: 15px;
   }


/*instructions modal*/
div#instructions-modal {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1000;
    background-color: #0000009e;
}

div#instructions-modal-content {
    background-color: #fff;
    max-width: 800px;
    max-height: 600px;
    margin: auto;
    padding: 25px 31px;
    box-sizing: border-box;
    margin-top: 10px;
    margin-bottom: 10px;
    overflow: auto;
}

#instructions-modal-content h2{
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 1em;
    font-weight: normal;
}

div#close-button-instructions {
    width: 20px;
    background-color: #ffffff;
    padding: 5px 10px;
    border: 2px solid #000;
    float: right;
    cursor: pointer;
}

div#close-button-instructions img {
    max-width:100%;
}


/*modal*/
div#credits-modal {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1000;
    background-color: #0000009e;
}

div#credits-modal-content {
    background-color: #fff;
    max-width: 800px;
    max-height: 600px;
    margin: auto;
    padding: 25px 31px;
    box-sizing: border-box;
    margin-top: 10px;
    margin-bottom: 10px;
    overflow: auto;
}

#credits-modal-content h2{
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 1em;
    font-weight: normal;
}

#credits-modal-content h4{
    font-weight: normal;
}

#credits-modal-content p{
}

#credits-modal-content #logo{
    width: 300px;
    margin:auto;
    max-width: 100%;
    display: block;
}

div#close-button {
    width: 20px;
    background-color: #ffffff;
    padding: 5px 10px;
    border: 2px solid #000;
    float: right;
    cursor: pointer;
}

div#close-button img {
    max-width:100%;
}

.hidden{
    display:none;
}

div#open-credits-button, #open-instructions-button {
    float: right;
    width: 45px;
    cursor: pointer;
}

div#open-credits-button img, #open-instructions-button img {
    max-width:100%;
}

.clearfix{
    clear:both;
}

.text-center{
    text-align: center;
}

.initial {
    background-color: #e6e6e6 !important;
}