@font-face {
    font-family: 'BoomBox2';
    src: url('/apps-shared/fonts/boombox2-webfont.woff2') format('woff2');
}

:root {
    --en-z-index-max: 2147483647;
    --en-blue: #015cd9;
}

body {
    margin: 0 0 50px 0;
    background: #ffffff;
    color: #222222;
    font-family: "Helvetica";
    font-size: 18px;
    line-height: 1.4;
 }

h1 {
    margin: 30px 0 0 0;
    font-size: 24px;
    color: #000000;
}

a {
    color: #222222;
}

button {
    padding: 7px 14px;
    font-size: 15px;
    font-family: Arial;
    border: none;
    background: #e8e8e8;
    border-radius: 4px;
    cursor: pointer;
    outline: none;
}


.endoc-title {
    width: 1100px;
    text-align: center;
    font-size: 30px;
    background: #f4f4f4;
    border: 2px solid #888888;
    color: #111111;
    margin: 16px auto 30px auto;
    padding: 3px 0;
    border-radius: 10px;
    font-weight: 600;
}

.endocs-header {
    box-sizing: border-box;
    position: sticky;
    top: 0;
    left: 0;
    padding: 14px 20px;
    width: 100%;
    text-align: center;
    margin-bottom: 8px;
    background: #f8f8f8;
    color: #111111;
    border-bottom: 1px solid #cccccc;
    box-shadow: 0 4px 4px #f0f0f0;
    z-index: calc(var(--en-z-index-max) - 1);
}

.endocs-header button.nav-open-button {
    position: absolute;
    top: 4px;
    left: 10px;
    font-size: 26px;
    border: none;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    z-index: inherit;
    padding: 2px 7px 4px 7px;
    background: transparent;
}

.endocs-header button.nav-open-button:hover {
    background: #e0e0e0;
}

@keyframes endocs_nav_visible {
    0%		{ transform: translateX(-110%); }
    100%	{ transform: translateX(0%); }
}

@keyframes endocs_nav_hidden {
    0%		{ transform: translateX(0%); }
    100% 	{ transform: translateX(-110%); }
}

.endocs-nav {
    position: fixed;
    top: 0;
    left: 0;
    max-width: 300px;
    height: 100%;
    background: #ffffff;
    padding: 12px 40px 12px 12px;
    border-right: 1px solid #888888;
    box-shadow: 0px 10px 15px #888888;
    #z-index: var(--en-z-index-max);
    animation-duration: 0.5s;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
    transform: translateX(-110%);
}

.endocs-nav-visible {
    animation-name: endocs_nav_visible;
}

.endocs-nav-hidden {
    animation-name: endocs_nav_hidden;
}

.endocs-nav button.nav-close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 20px;
    border: none;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    z-index: inherit;
    padding: 4px 7px;
    background: transparent;
}

.endocs-nav button.nav-close-button:hover {
    background: var(--en-blue);
    color: #ffffff;
}

.endocs-nav > ul {
    margin-top: 60px;
    list-style: none;
    padding-inline-start: 3px;
}

.endocs-nav  ul {
    list-style: none;
    padding-inline-start: 10px;
}

.endocs-nav ul li {
    margin: 0;
    font-size: 15px;
    font-family: Sans-Serif;
}

.endocs-nav ul li:hover {
    background: #e0e0e0;
}

.endocs-nav ul li a {
    display: block;
    padding: 5px 30px 5px 8px;
    text-decoration: none;
    border-radius: 4px;
}

.endocs-nav ul li a:hover {
    background: var(--en-blue);
    color: #ffffff;
}

.endocs-content {
}

.endocs {
    width: 1100px;
    margin: 10px auto;
    position: relative;
    #border: 1px solid #0000ff;
}

.enlogo {
    font-family: BoomBox2;
    font-size: 12px;
    color: #ffffff;
    background: var(--en-blue);
    padding: 8px;
}


.endocs-footer {
    position: fixed;
    left:0;
    bottom:0;
    padding: 10px 20px;
    width: 100%;
    font-family: Sans-Serif;
    text-align: center;
    background: var(--en-blue);
    color: #ffffff;
    z-index: calc(var(--en-z-index-max) - 1);
}

code.encode {
    display: block;
    box-sizing: border-box;
    margin: 14px 100px 14px 0px;
    width: min-content;
    min-width: 500px;
    border: 1px solid #888888;
    background: #f4f4f4;
    padding: 0 12px;
    color: #111111;
    font-size: 15px;
    font-weight: normal;
    font-family: Monospace, Consolas, "Courier New";
    white-space: nowrap;
}

span.warning {
    background: #ffe8e8;
    color: #d00000;
    padding: 0 10px;
}

span.warning:before {
    content: "\279c";
    margin-right: 10px;
    color: #ff0000;
    font-weight: bold;
}

span.param-optional
,span.param-required {
    font-size: 16px;
    font-weight: normal;
    font-style: italic;
}

code.inlinecode {
    display: inline-block;
    color: #aa0000;
    background: #f0f0f0;
    min-width: min-content;
    padding: 0 2px;
}

.endocs-instructions li {
    margin-top: 14px;
}

ol > li::marker {
    font-weight: bold;
}

table.params {
    margin: 20px 0 20px 0;
    border: 1px solid #cccccc;
    border-collapse: collapse;
    max-width: 100%;
    font-size: 18px;
    line-height: 1.40;
}

table.params caption {
    font-size: 24px;
    margin-bottom: 10px;
}

table.params td {
    position: relative;;
    border: 1px solid #888888;
    padding: 8px 12px;
    vertical-align: top;
}

table.params td.param-name {
    font-weight: bold;
    white-space: nowrap;
}


@media all and (max-width: 1100px) {
    .ul {
        box-sizing: border-box;
    }

    .endocs {
        box-sizing: border-box;
        width: 100%;
        padding: 0 20px;
    }

    .endoc-title {
        width: initial;
        margin-left: 20px;
        margin-right: 20px;
    }

    code.encode {
        max-width: 100%;
        min-width: initial;
        #width: clamp(0, 100%, 100px);
        overflow-x: auto;
    }
}