
html
{
    height: 100%;
}

body
{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100%;

}

@keyframes blink-shadow {
    0%   { box-shadow: 0 0 32px #DDD; }
    50%  { box-shadow: none; }
    100% { box-shadow: 0 0 32px #DDD; }
}

#mainpnl
{
    box-shadow: 0 0 32px #DDD;
    width: 87%;
    min-width: 300px;
    max-width: 900px;
    position: relative;
    min-height: 525px;

    background: var(--form-back-color);
    color: var(--form-fore-color);
    border: .0625rem solid var(--form-border-color);
    border-radius: var(--universal-border-radius);
    margin: 32px .5rem;
    padding: calc(2 * var(--universal-padding)) var(--universal-padding) var(--universal-padding);
}

.red-code
{
    border-left: .25rem solid #E53935;
}

.yellow-code pre
{
    border-left: .25rem solid #FFCB05;
}

#mainpnl input,
#mainpnl textarea
{
    width: 100%;
}

.responsive-label {
    align-items:center;
}
@media (min-width: 768px) {
    .responsive-label .col-md-3 {
        text-align:right
    }
}

#mainpnl h1
{
    text-align: center;
    margin-top: 0;
    margin-bottom: 24px;
    font-weight: bold;
    color: #FFF;
    text-shadow: #000 0 0 2px, #888 0 0 8px;
}
@media (max-width: 600px) {
    #mainpnl h1 {
        font-size: calc(0.85rem * var(--heading-ratio) * var(--heading-ratio) * var(--heading-ratio) * var(--heading-ratio));
        margin-top: 40px;
    }
}

#mainpnl button
{
    width: 100%;
    margin-left: 4px;
    margin-right: 4px;
}

#copyinfo
{
    margin: 4px;
    position: fixed;
    bottom: 0;
    right: 0;
    //z-index: -999;
    display: flex;
    flex-direction: column;
    text-align: right;
}

#copyinfo a,
#copyinfo a:visited,
#copyinfo a:active
{
    font-family: "Courier New", monospace;
    color: #AAA;
    text-decoration: none;
    display: block;
    line-height: 1em;
}

#copyinfo a:hover
{
    font-family: "Courier New", monospace;
    color: #0288D1;
}

.edge-btn {
    position: absolute;
}

#tr_link
{
    top: 0;
    right: 0;
    margin: -1px -1px 0 0;
    border-top-left-radius: 0;
    border-bottom-right-radius: 0;
    min-width: 40px;
    text-align: center;
}

#tl_link1
{
    top: 0;
    left: 0;
    margin: -1px 0 0 -1px;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0;
    padding: 4px 4px 0 4px;
}

#tl_link2
{
    top: 0;
    left: 48px;
    margin: -1px 0 0 -1px;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0;
    padding: 4px 4px 0 4px;
}

#tl_linkDocs
{
    top: 0;
    left: 0;
    margin: -1px 0 0 -1px;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0;
    padding: 4px;
    display: flex;
}

.tl_btntxt
{
    margin-left: 0.66rem;
    margin-right: 0.33rem;
    margin-top: -1px;
    align-self: center;
}

.icn-google-play {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHg9IjBweCIgeT0iMHB4IgogICAgIHdpZHRoPSI1MCIgaGVpZ2h0PSI1MCIKICAgICB2aWV3Qm94PSIwIDAgNDggNDgiCiAgICAgc3R5bGU9ImZpbGw6IzAwMDAwMDsiPjxnIGlkPSJzdXJmYWNlMSI+PHBhdGggc3R5bGU9IiBmaWxsOiM0REI2QUM7IiBkPSJNIDcuNzAzMTI1IDQuMDQyOTY5IEMgNy4yOTI5NjkgNC4xNDg0MzggNyA0LjUwNzgxMyA3IDUuMTIxMDk0IEMgNyA2LjkyMTg3NSA3IDIzLjkxNDA2MyA3IDIzLjkxNDA2MyBDIDcgMjMuOTE0MDYzIDcgNDIuMjgxMjUgNyA0My4wODk4NDQgQyA3IDQzLjUzNTE1NiA3LjE5NTMxMyA0My44MzU5MzggNy41IDQzLjk0NTMxMyBMIDI3LjY3OTY4OCAyMy44ODI4MTMgWiAiPjwvcGF0aD48cGF0aCBzdHlsZT0iIGZpbGw6I0RDRTc3NTsiIGQ9Ik0gMzMuMjM4MjgxIDE4LjM1OTM3NSBMIDI0LjkyOTY4OCAxMy41NjI1IEMgMjQuOTI5Njg4IDEzLjU2MjUgOS42ODM1OTQgNC43NjE3MTkgOC43ODkwNjMgNC4yNDIxODggQyA4LjQwMjM0NCA0LjAxOTUzMSA4LjAxOTUzMSAzLjk2MDkzOCA3LjcwMzEyNSA0LjA0Mjk2OSBMIDI3LjY4MzU5NCAyMy44ODI4MTMgWiAiPjwvcGF0aD48cGF0aCBzdHlsZT0iIGZpbGw6I0QzMkYyRjsiIGQ9Ik0gOC40MTc5NjkgNDMuODAwNzgxIEMgOC45NDkyMTkgNDMuNDkyMTg4IDIzLjY5OTIxOSAzNC45NzY1NjMgMzMuMjgxMjUgMjkuNDQ1MzEzIEwgMjcuNjc5Njg4IDIzLjg4MjgxMyBMIDcuNSA0My45NDUzMTMgQyA3Ljc0NjA5NCA0NC4wMzkwNjMgOC4wNjY0MDYgNDQuMDAzOTA2IDguNDE3OTY5IDQzLjgwMDc4MSBaICI+PC9wYXRoPjxwYXRoIHN0eWxlPSIgZmlsbDojRkJDMDJEOyIgZD0iTSA0MS4zOTg0MzggMjMuMDcwMzEzIEMgNDAuNjAxNTYzIDIyLjY0MDYyNSAzMy4yOTY4NzUgMTguMzk0NTMxIDMzLjI5Njg3NSAxOC4zOTQ1MzEgTCAzMy4yMzgyODEgMTguMzU5Mzc1IEwgMjcuNjc5Njg4IDIzLjg4MjgxMyBMIDMzLjI4MTI1IDI5LjQ0NTMxMyBDIDM3LjcxNDg0NCAyNi44ODY3MTkgNDEuMDQyOTY5IDI0Ljk2NDg0NCA0MS4zMzk4NDQgMjQuNzkyOTY5IEMgNDIuMjg1MTU2IDI0LjI0NjA5NCA0Mi4xOTUzMTMgMjMuNSA0MS4zOTg0MzggMjMuMDcwMzEzIFogIj48L3BhdGg+PC9nPjwvc3ZnPg==') 50% 50% no-repeat;
    background-size: 100%;
}

.icn-app-store {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: url('data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTAwMCAxMDAwIj4KCTxwYXRoIGZpbGw9IiM0NDQiIGQ9Ik05MjEuMiw3MjljLTIzLDUxLTM0LjEsNzMuOC02My43LDExOC45Yy00MS4zLDYyLjktOTkuNiwxNDEuMy0xNzEuOSwxNDJjLTY0LjIsMC42LTgwLjYtNDEuOC0xNjcuOC00MS4zYy04Ny4xLDAuNS0xMDUuMyw0Mi0xNjkuNSw0MS40Yy03Mi4yLTAuNy0xMjcuNS03MS41LTE2OC44LTEzNC40QzYzLjksNjc5LjYsNTEuOCw0NzMsMTIzLjEsMzYzLjJjNTAuNy03OCwxMzAuNy0xMjMuNywyMDUuOS0xMjMuN2M3Ni42LDAsMTI0LjcsNDIsMTg4LDQyYzYxLjQsMCw5OC44LTQyLDE4Ny4zLTQyYzY2LjksMCwxMzcuOCwzNi40LDE4OC4zLDk5LjRDNzI3LjEsNDI5LjUsNzU0LDY2NS44LDkyMS4yLDcyOXogTTYzNy4xLDE2OS4xYzMyLjItNDEuMyw1Ni42LTk5LjYsNDcuNy0xNTkuMWMtNTIuNSwzLjYtMTE0LDM3LTE0OS45LDgwLjZjLTMyLjYsMzkuNS01OS40LDk4LjItNDksMTU1LjJDNTQzLjQsMjQ3LjYsNjAyLjcsMjEzLjMsNjM3LjEsMTY5LjF6Ii8+Cjwvc3ZnPg==') 50% 50% no-repeat;
    background-size: 100%;
}

.icn-openapi {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: url('data:image/svg+xml;base64,[encoded data, 18392 characters]');
    background-size: 100%;
}

#btnSend
{
    height: 42px;
}

#btnSend .spinnerbox .spinner
{
    margin: 0;
    padding: 0;
    height: 16px;
    width: 16px;
}

#btnSend .spinnerbox
{
    margin: -8px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
}

input[type='number'] {
    -moz-appearance:textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.input-invalid,
.input-invalid:hover,
.input-invalid:active
{
    border-color: var(--input-invalid-color) !important;
    box-shadow: none !important;
}

.card.success {
    --card-back-color: rgb(48, 135, 50);
    --card-border-color: rgba(0, 0, 0, 0.3);;
}

.fullcenterflex
{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    pointer-events: none;
}

.fullcenterflex .card
{
    pointer-events: auto;
}

a.card,
a.card:active,
a.card:visited,
a.card:hover
{
    color: #000;
    text-decoration: none;
}

a.card:hover
{
    box-shadow: 0 0 16px #AAA;
}

table.scode_table {
    max-height: none;
    overflow: hidden;
}

table.scode_table td:nth-child(2) {
    flex-grow: 3;
}

table.scode_table th:nth-child(2) {
    flex-grow: 3;
}

#mainpnl h2 {
    margin-top: 1.75rem;
}

.linkcaption:hover,
.linkcaption:focus {
    text-decoration: none;
}

pre, pre span
{
    font-family: Menlo, Consolas, monospace;
    background: #F9F9F9;;
}

.display_none {
    display: none;
}

#theme-switch {
    position: fixed;
    top: 0.75rem;
    right: 0.75rem;
    cursor: pointer;
    fill: #000;
}

#theme-switch:hover {
    filter: blur(1px);
    fill: #008;
}

code {
    background: #F9F9F9;
    border: .0625rem solid var(--secondary-border-color);
}