
:root
{
	--vBgColorBody: #FFFFFF ; /* #F0F0F0 */
	
	--vBgColorTop:  #032157 ; /* #171717 */
	
	--vBgColorWin:  #009B1D ; /* #9C9C9C */
	
	--vBgColorBtn:  #032157 ; /* #797979 */
	
	--vBgColorBtn_Hover: #3E5F92 ; /* #797979 */
}

body {
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: var( --vBgColorBody ) ;
    font-family: sans-serif;
    font-size: 13px;
}
h1 {
    position: absolute;
    display: block;
    font-size: 1.5em;
    font-weight: 700;
    top: 5px;
    margin: 0;
    padding: 0 10px;
    color: #fff;
}
h2 {
    display: block;
    text-decoration: none;
    color: #fff;
    text-align: center;
    font-size: 1.3em;
    font-weight: 400;
    margin-top: 3px;
    margin-bottom: 0;
}
a {
    text-decoration: none;
}
br {
    content: "";
    margin: 2em;
    display: block;
    font-size: 24%;
}
.bold {
    font-weight: 700;
    color: #a50020;
}
#mobilemenubar {
    display: none;
}
#menubar {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: var( --vBgColorTop ) ;
    -webkit-appearance: none;
    -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
}
#menubar li {
    float: left;
}
#menubar li a {
    display: block;
    color: #fff;
    text-align: center;
    padding: 10px;
    text-decoration: none;
    cursor: pointer;
}
#menubar li a:hover:not(.active) {
    background-color: #545454;
}
#silemenubutton {
    display: none;
}
#sidemenubar {
    float: left;
    background-color: var( --vBgColorTop ) ;
    display: none;
}
#sidemenubar li {
    list-style-type: none;
}
#sidemenubar li a {
    display: block;
    color: #fff;
    text-align: center;
    padding: 10px;
    text-decoration: none;
}
#sidemenubar li a:hover:not(.active) {
    background-color: #545454;
}
#container {
    display: inline-block;
    margin: 10px auto;
    -webkit-appearance: none;
    -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
    border-radius: 2px;
    z-index: 2;
}
#container > * {
    display: block;
}
#adsense {
    margin: auto;
    background-color: transparent;
    display: block;
    width: 400px;
    text-align: center;
    z-index: 1;
}
.card,
.control {
    position: absolute;
    background-color: var( --vBgColorWin ) ;
    top: 47px;
    -webkit-appearance: none;
    -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
    overflow: hidden;
    text-align: left;
    border-radius: 12px;
    padding: 8px;
    z-index: 3;
}
.card {
    z-index: 30;
    display: none;
}
#copyright,
#guide,
#intro {
    left: 437px;
    width: 250px;
}
#about {
    right: 450px;
    width: 250px;
}
#drink {
    right: 450px;
    width: 191px;
    background-color: #c9191d;
}
#buysimoncoffee {
    right: 450px;
    width: 250px;
    background-color: #6f4e37;
}
.card p {
    display: block;
    background-color: #fff;
    margin: 15px 0 0;
    padding: 5px;
    border: none;
    border-radius: 8px;
}
.control.left {
    left: 10px;
    width: 400px;
}
.control.right1 {
    right: 230px;
    width: 190px;
    padding-bottom: 15px;
}
.control.right2 {
    right: 10px;
    width: 190px;
    padding-bottom: 15px;
}
.draggable {
    cursor: move;
}
#map-canvas {
    width: 100%;
    height: 330px;
}
hr {
    margin: 12px 0 0;
    padding: 0;
    border: none;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.2);
}
label {
    color: #fff;
    padding: 12px 4px 0 4px;
    display: block;
}
input[type="date"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
select,
textarea {
    display: block;
    background-color: #fff;
    margin: 5px 0;
    padding: 5px 8px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-family: sans-serif;
}
::placeholder {
    color: #bcbcbc;
}
#reader__dashboard_section_swaplink,
.button,
.custom-file-upload,
button {
    text-align: center;
    color: #fff;
    display: block;
    background-color: #545454;
    margin: 15px 0 0 0;
    padding: 8px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    width: 100%;
}
#download,
#scanlink,
.button,
.custom-file-upload {
	 background-color: var( --vBgColorBtn ) ;
    width: calc(100% - 16px);
}
#reader__dashboard_section_swaplink:hover,
.button:hover,
.custom-file-upload:hover,
button:hover {
    background-color: var( --vBgColorBtn_Hover ) ;
}
.buttonDisable,
.buttonDisable:hover {
    cursor: default;
    color: #9d9d9d;
    background-color: #545454;
}
#reader__dashboard_section_swaplink {
    width: calc(100% - 17px);
}
#reader__camera_permission_button {
    width: 100%;
}
input[type="file"] {
    display: none;
}
input[type="color"] {
    display: block;
    margin: 5px -2px;
    border: none;
    border-radius: 8px;
    background-color: transparent;
    width: calc(100% - -5px);
    height: 20px;
    cursor: pointer;
}
input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}
input[type="color"]::-webkit-color-swatch {
    border: none;
    border-radius: 8px;
}
input[type="date"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
textarea {
    height: 20px;
    width: calc(100% - 15px);
}
select {
    height: 30px;
    width: calc(100% - 0px);
    cursor: pointer;
    padding: 0 5px;
}
textarea {
    height: 48px;
    font-family: inherit;
    font-size: inherit;
}
#rawtext {
    height: 100px;
}
#fillimg-buffer,
#img-buffer {
    display: none;
}
input[type="range"] {
    -ms-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    width: 100%;
    height: 5px;
    border-radius: 8px;
    width: calc(100% - 3px);
}
input[type="range"]::-webkit-slider-thumb {
    height: 18px;
    width: 18px;
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
}
input::-webkit-slider-thumb {
    -ms-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 2px;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #aaa), color-stop(1, #aaa));
}
.gird {
    display: grid;
    grid-template-columns: 80px 1fr;
    padding-top: 10px;
}
input[type="checkbox"],
input[type="radio"] {
    height: 14px;
}
.font-select * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.font-select {
    width: 100%;
    position: relative;
    display: inline-block;
    margin: 5px 0;
    cursor: pointer;
}
.font-select .fs-drop {
    position: absolute;
    top: 30px;
    left: 0;
    z-index: 999;
    background: #fff;
    color: #000;
    width: 100%;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 8px 8px;
}
.font-select > span {
    outline: 0;
    border-radius: 8px;
    border: none;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    height: 30px;
    line-height: 22px;
    padding: 3px 8px 3px 8px;
    background: #fff url("data:/image//svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23303030' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 0.75rem center/8px 10px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.font-select-active > span {
    background-color: #eee;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.font-select .fs-results {
    max-height: 120px;
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    padding: 0;
}
.font-select .fs-results li {
    line-height: 80%;
    padding: 8px;
    margin: 0;
    list-style: none;
    font-size: 1.5em;
    white-space: nowrap;
}
.font-select .fs-results li.active {
    background-color: #3875d7;
    color: #fff;
    cursor: pointer;
}
.font-select .fs-search {
    border-bottom: 1px solid #aaa;
    padding: 4px;
}
.font-select .fs-search input {
    padding: 7px;
    width: 100%;
    border: 1px solid #aaa;
    font: 1.2em Helvetica, Sans-serif;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
    border-radius: 0.1875rem;
}
#qrr-overlay {
    position: fixed;
    top: 0;
    left: 0;
    background: #000;
    opacity: 0.6;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 20000;
}
#qrr-container {
    font-family: sans-serif;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    padding: 10px;
    width: 90%;
    height: 90%;
    margin: auto;
    display: none;
    z-index: 20001;
    border-radius: 10px;
}
#qrr-container h1 {
    margin-top: 0;
}
#qrr-close {
    position: absolute;
    right: 0;
    top: 0;
    margin-right: 10px;
    margin-top: -5px;
    font-size: 3em;
    cursor: pointer;
    color: grey;
}
#qrr-loading-message {
    text-align: center;
    padding: 15px;
    background-color: #eee;
    width: 90%;
    margin: 30px auto 0;
}
#qrr-canvas {
    display: block;
    height: 65%;
    max-width: 90%;
    overflow-x: scroll;
    cursor: pointer;
    margin: 30px auto 10px;
}
#qrr-canvas.hidden {
    display: none;
}
#qrr-output {
    width: 90%;
    max-height: 15%;
    margin: 20px auto 10px;
    background: #eee;
    padding: 10px;
    overflow-y: auto;
}
#qrr-ok {
    display: none;
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 10px 50px;
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
    background-color: green;
    color: #fff;
    border-radius: 10px;
}
#qrr-output-data {
    display: none;
}
.ctime,
input[type="time"] {
    display: none;
}
.floatright {
    float: right;
}
#optionpanel {
    display: none;
}
@media only screen and (max-width: 890px) {
    body {
        overflow-x: hidden;
        font-size: 1em;
    }
    .control {
        position: unset;
        background-color: var( --vBgColorWin ) ;
        top: unset;
        -webkit-box-shadow: unset;
        box-shadow: unset;
        overflow: hidden;
        border-radius: unset;
        padding: 8px;
    }
    .card {
        background-color: var( --vBgColorWin ) ;
        -webkit-box-shadow: unset;
        box-shadow: unset;
        overflow: hidden;
        border-radius: unset;
        padding: 8px;
    }
    #reader__dashboard_section_swaplink,
    .button,
    button {
        font-size: 0.9em;
    }
    .card p {
        font-size: 1em;
    }
    #about,
    #buysimoncoffee,
    #copyright,
    #drink,
    #guide,
    #intro {
        left: 0;
        top: 52px;
        width: calc(100% - 16px);
        z-index: 240;
        position: absolute;
    }
    .control.left {
        margin-top: 52px;
        left: unset;
        width: unset;
        position: unset;
        border-radius: unset;
    }
    #sidemenubar,
    .control.right1,
    .control.right2 {
        right: unset;
        width: unset;
        display: none;
        box-sizing: border-box;
        width: 240px;
        color: rgba(0, 0, 0, 0.87);
        box-shadow: rgb(0 0 0 / 20%) 0 8px 10px -5px, rgb(0 0 0 / 14%) 0 16px 24px 2px, rgb(0 0 0 / 12%) 0 6px 30px 5px;
        overflow-y: auto;
        height: 100%;
        flex-direction: column;
        flex: 1 0 auto;
        z-index: 300;
        position: fixed;
        top: 0;
        outline: 0;
        left: 0;
    }
    #sidemenubar,
    .menuright {
        float: unset;
    }
    #sidemenubar ul {
        padding: unset;
    }
    #sidemenubar li {
        list-style-type: none;
    }
    #sidemenubar li a {
        display: block;
        color: #fff;
        text-align: center;
        padding: 10px;
        margin: 20px 0;
        text-decoration: none;
        font-size: 1em;
    }
    input[type="date"],
    input[type="email"],
    input[type="number"],
    input[type="tel"],
    input[type="text"],
    input[type="time"],
    input[type="url"],
    label,
    select,
    textarea {
        font-size: 1m;
    }
    label {
        padding-top: 10px;
    }
    #togglepanel {
        display: none;
        width: 100%;
        height: 100%;
        position: fixed;
        z-index: 299;
        filter: blur(5px);
    }
    #menubar {
        display: none;
    }
    #mobilemenubar {
        width: 100%;
        display: flex;
        margin-top: 0;
        height: 52px;
        top: 0;
        position: fixed;
        z-index: 300;
        background-color: var( --vBgColorTop ) ;
        z-index: 250;
        -webkit-appearance: none;
        -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
        box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
    }
    #silemenubutton {
        display: block;
        position: absolute;
        padding-top: 11px;
        padding-left: 30px;
    }
    h1 {
        font-size: 1.4em;
        margin-top: 4px;
        padding: unset;
        margin-left: 85px;
    }
    h2 {
        font-size: 1.2em;
    }
    #container {
        display: inline-block;
        margin: 10px auto;
        -webkit-appearance: none;
        -webkit-box-shadow: unset;
        box-shadow: unset;
        border-radius: unset;
        z-index: 2;
    }
    #optionpanel {
        display: block;
        margin: 0 0 20px 0;
        padding: 0;
        background-color: var( --vBgColorWin ) ;
        padding: 2px 10px 0 10px;
        height: 44px;
    }
    #optionpanel li,
    #optionpanel ul {
        all: unset;
    }
    #optionpanel li {
        float: right;
        display: block;
        padding: 10px 30px;
    }
    #adsense {
        all: unset;
    }
}
