
#jigex-control-host {
    width: 100%;
    height: 100%;
    background-color: #7390aa;
    overflow: hidden;
    position: relative;
}

div.jigex-host {
    background-color: #7390aa;
    overflow: hidden;
    position: relative;
}

div.jigex-host-border {
    border-style: solid;
    border-color: #606060;
    border-width: 1px;
}

p.jigex-normal {
    font: medium Verdana;
    text-align: center;
    color: aliceblue;
}

p.jigex-small {
    font: small Verdana;
    text-align: center;
    color: aliceblue;
}

p.jigex-tiny {
    font: x-small Verdana;
    text-align: center;
    color: aliceblue;
}

a.jigex:link,
a.jigex:visited {
    color: blue;
    text-decoration: none;
    outline: none;
    border: none;
}

a.jigex:hover,
a.jigex:active {
    color: blue;
    text-decoration: underline;
    outline: none;
    border: none;
}

#jigex-toolbar {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.5);
    background-color: #5a86ac;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
}

div.jigex-toolbar-left {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-flex: 1;
    flex: 1;
    padding-left: 12px;
}

div.jigex-toolbar-center {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    margin: auto
}

div.jigex-toolbar-right {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    -webkit-flex: 1;
    flex: 1;
    padding-right: 12px;
}

div.jigex-menu {
    position: absolute;
    display: none;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: black;
    background-color: white;
    box-shadow: 5px 5px 25px 0 rgba(0,0,0,0.5);
}

div.jigex-menu-dropdown {
    -webkit-flex-direction: column;
    flex-direction: column;
}

div.jigex-hidden-btn {
    display: none;
}

#jigex-clock {
    line-height: 36px;
    font-size: 18px;
    padding-left: 12px;
    padding-right: 12px;
    width: 90px;
    font-family: 'Roboto', sans-serif;
    color: white;
}

#jigex-open-btn {
    padding: 10px 20px;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    cursor: default;
    background-color: white;
}

#jigex-open-btn:hover {
    background-color: #f0f0f0;
}

#jigex-msgbox-dlg {
    width: 450px;
    max-width: 95%;
    position: absolute;
    bottom: auto;
    margin: 0;
    background-color: white;
    box-shadow: 5px 5px 25px 0 rgba(0,0,0,0.5);
    z-index: 100;
}

#jigex-msgbox-content {
    font-size: 16px;
    margin: 25px;
    font-family: 'Roboto', sans-serif;
}

p.jigex-promo-title {
    margin: 10px 0 10px 0;
    font-size: 20px;
    font-family: 'Roboto', sans-serif;
    line-height: 1.2;
    color: #404040;
    padding: 0;
}

p.jigex-promo-par {
    margin: 10px 0 0 0;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    line-height: 1.2;
    color: #202020;
    padding: 0;
}

a.jigex-promo-anchor:link {
    color: #0000EE;
    text-decoration: none;
}

a.jigex-promo-anchor:visited {
    color: #551A8B;
    text-decoration: none;
}

a.jigex-promo-anchor:hover, a.jigex-promo-anchor:active {
    text-decoration: underline;
}

div.jigex-slide-panel {
    width: 255px;
}

p.jigex-slide-panel-text, span.jigex-slide-panel-text {
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    margin: 0 10px 0 10px;
}

input.slide-panel-text-box {
    margin: 10px auto;
    padding: 0 10px;
    font-size: 16px;
    display: block;
}

button.slide-panel-btn {
    margin: 30px auto;
    padding: 5px 25px 3px 25px;
    font-size: 16px;
    display: block;
}

#jigex-nop-buttons, #jigex-color-buttons {
    top: 100px;
    display: block;
    opacity: 1;
    width: 100%;
    height: 100%;
    background-color: white;
    overflow: auto;
}

div.jigex-nop-button, div.jigex-color-button {
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    color: #808080;
    background-color: white;
    border-bottom: medium solid #eeeeee;
    width: 33%;
}

div.jigex-nop-button:hover, div.jigex-color-button:hover {
    background-color: #f4f4f4;
}

div.jigex-nop-sel-button, div.jigex-color-sel-button {
    color: black;
    background-color: #f4f4f4;
    border-bottom: medium solid black;
}

p.jigex-slide-panel-title {
    font-size: 16px;
    font-family: arial, sans-serif;
    font-weight: bold;
    color: #a0a0a0;
    text-align: center;
}

div.jigex-color-swatch {
    margin: 0 10px 0 10px;
    height: 30px;
    border: 1px solid #c0c0c0;
}

div.jigex-back-btn {
    font-size: 24px;
    font-family: arial, sans-serif;
    font-weight: bold;
    color: #d0d0d0;
    text-align: center;
    /*margin: 50px 107px 0 107px;*/
    margin: 40px auto 0 auto;
    padding: 5px 5px 5px 0;
    cursor: pointer;
}

div.jigex-back-btn:hover {
    color: #c8c8c8;
}

#jigex-start-dlg {
    width: 320px;
    height: 84px;
    padding-left: 24px;
    padding-right: 18px;
    border: 2px solid #3b5a75;
    border-radius: 5px;
    box-shadow: 5px 5px 25px 0 rgba(0,0,0,0.5);
    overflow: hidden;
}

#jigex-start-tb {
    padding-top: 24px;
    padding-bottom: 24px;
    background-color: #5a86ac;
}

div.jigex-start-btns {
    margin-left: 5px;
    margin-right: 5px;
}

div.jigex-start {
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    color: white;
}

#jigex-ok-btn {
    width: 72px;
    height: 40px;
    margin-top: -3px;
    margin-left: 24px;
    margin-right: 6px;
    border-radius: 3px;
    background-color: #6c93b6;
    box-shadow: 1px 1px 6px -1px rgba(0,0,0,0.5);
}

#jigex-pause-scrn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.88);
    z-index: 10;
}

#jigex-pause-dlg {
    width: 450px;
    height: 200px;
    max-width: 80%;
    max-Height: 80%;
    z-index: 11;
}

#jigex-pause-tb {
    position: absolute;
    bottom: 0;
}

#jigex-pause-title {
    font-size: 26px;
    margin-top: 40px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    color: #b0b0b0;
}

#jigex-status-line {
    font-size: 16px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
}

#jigex-toast-pnl {
    min-width: 100px;
    min-height: 25px;
    padding: 10px 25px;
    font-size: 16px;
    border-radius: 3px;
    max-width: 90%;
    position: absolute;
    bottom: 0;
    background-color: #323232;
    color: white;
    font-family: 'Roboto', sans-serif;
    box-shadow: 5px 5px 25px 0 rgba(0,0,0,0.5);
    cursor: default;
}

.jigex-clickable-toast:hover {
    text-decoration: underline
}

p.jigex-credit {
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    text-align: center;
}

p.jigex-credit-short {
    line-height: 170%;
}

span.jigex-credit {
    font-size: 16px;
}

#jigex-spinner-container {
    height: 8em;

    /* Center */
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;

    display: block;
    opacity: 1;
    width: 50%;
    z-index: 999;
    box-shadow: none;
}

#jigex-help-panel {
    font-size: 16px;
    width: 80%;
    height: 80%;
    font-family: 'Roboto', sans-serif;
}

.jigex-help-sub-panel {
    height: calc(100% - 87px);
    overflow: auto;
}

#jigex-help-tb {
    background-color: #e0e0e0;
}

div.jigex-help-tab {
    width: 50%;
}

#jigex-copyright, #jigex-tag-line {
    font-size: 14px;
    color: GrayText;
}

#jigex-log-dlg {
    font-size: 16px;
    width: 90%;
    height: 80%;
    font-family: 'Roboto', sans-serif;
    z-index: 50;
}

div.jigex-log-container {
    margin: 25px;
}

#jigex-log-title {
    font-size: 24px;
    font-weight: bold;
    color: #808080;
}

#jigex-log-pane {
    height: 210px;
    margin-top: 10px;
    margin-bottom: 25px;
    border: 1px solid #c0c0c0;

    overflow: auto;
}

#jigex-log-name {
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
}

#jigex-log-send {
    width: 150px;
}

#jigex-include-cap {
    cursor: default;
}

#jigex-preview-cap {
    margin-left: 30px;
}

p.jigex-center {
    margin-left: 25px;
    margin-right: 25px;
    text-align: center;
    color: white;
}

img.jigex-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#jigex-canvas {
    width: 100%;
    height: 100%;
    margin-top: 36px;
    outline: none;
    touch-action: none;  /*  Prevents default touch actions like scrolling and double-tap zooming  */
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

div.jigex-promo {
    z-index: 1;
}

input[type='file'] {
    color: transparent;   /*  Hides "No file chosen" label  */
}

.jigex-empty-hand-cursor {
    cursor: pointer;        /* fallback: no `url()` support or images disabled */
    cursor: -webkit-grab;   /* Chrome 1-21, Safari 4+ */
    cursor: -moz-grab;      /* Firefox 1.5-26 */
    cursor: grab;           /* W3C standards syntax, should come least */
}

.jigex-full-hand-cursor {
    cursor: pointer;
    cursor: -webkit-grabbing;
    cursor: -moz-grabbing;
    cursor: grabbing;
}

.jigex-none-cursor {
    cursor: none;
}

.jigex-tbl {
    padding: 3px;
    border: 1px solid silver;
    border-collapse: collapse;
}

#jigex-support-tools-par {
    width: calc(100% - 20px);
    text-align: right;
    font-size: 14px;
    color: GrayText;
}

#jigex-support-tools-link:link, #jigex-support-tools-link:visited {
    color: GrayText;
}

#jigex-support-tools-panel {
    display: none;
    background-color: #f8f8f8;
    border: 1px solid #c0c0c0;
    padding: 0 1em 1.5em 1em;
    margin-top: 20px;
}

div.jigex-tool-btns-box {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
}

button.jigex-support-tool-btn {
    margin: 10px 10px;
    font-size: 14px;
}

#jigex-verbose-chkbox {
    margin-top: 15px;
}

#jigex-import-rec-dlg {
    font-size: 16px;
    width: 100%;
    max-width: 500px;
    height: 217px;
    font-family: 'Roboto', sans-serif;
    z-index: 51;
}

#jigex-import-wrapper {
    width: 100%;
    height: 130px;
    padding: 15px 20px 10px 20px;
}

#jigex-puzzle-rec {
    width: calc(100% - 40px);
    height: 60px;
}

a.jigex-copy-button {
    font-size: 14px;
    background-color: #5ca4db;
    color: white;
    padding: 2px 15px 3px 15px;
    border: 1px solid #49799d;
    border-radius: 12px;
    -moz-box-shadow: 3px 3px 7px -2px #888;
    -webkit-box-shadow: 3px 3px 7px -2px #888;
    box-shadow: 3px 3px 7px -2px #888;
    text-decoration: none;
    margin: 0 10px 0 20px;
    cursor: default;
}

a.jigex-copy-button:hover {
    background-color: #70aade;
    border: 1px solid #5e84a6;
    text-decoration: none;
}

a.jigex-copy-button:visited {
    color: white;
}

/**/
/*  Responsive Design  */
/**/

@media only screen and (max-width: 600px) {
    #jigex-start-dlg {
        width: 220px;
        padding-left: 12px;
        padding-right: 10px;
        max-width: 100%;
    }

    div.jigex-start-btns {
        margin: 0;
    }

    #jigex-ok-btn {
        width: 48px;
        margin-left: 12px;
    }
}
