@font-face {
    font-family: 'NotoSansCJK-KR';
    src: url('../data/fonts/NotoSansCJKkr-Regular.otf') format('opentype');
}

@font-face {
    font-family: 'D2Coding';
    src: url('../data/fonts/D2Coding.ttf') format('truetype');
}

* {
    padding: 0;
    margin: 0;
}

ul,
li {
    margin-left: 10px;
}

html {
    scroll-behavior: smooth;
    overflow: hidden;
}

body {
    color: white;
    font-family: 'NotoSansCJK-KR', '맑은 고딕', '나눔고딕', 'Open Sans', 'sans-serif';
    font-size: 1em;
    line-height: 21px;
    background: #939E7F;
    background-image: url("https://www.haxball.com/PFj3geCw/__cache_static__/g/images/bg.png");
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.loading_bar {
    display: inline-block;
    position: absolute;
    width: 50px;
    height: 50px;
    left: 50%;
    bottom: 50%;
    border: 8px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.5s ease-in-out infinite;
    -webkit-animation: spin 0.5s ease-in-out infinite;
    z-index: 11;
}

@keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}

a {
    color: #FFB89C;
    text-decoration: none;
}


button,
button[data-theme='classic'] {
    margin: 2px;
    padding: 2px;
    font-weight: 550;
    font-size: 0.8em;
    word-break: break-all;
    -moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
}

button {
    color: white;
    background: #283238;
    border: 2px solid #2F3C43;
    border-radius: 8px;
    font-family: 'NotoSansCJK-KR', '맑은 고딕', '나눔고딕', 'Open Sans', 'sans-serif';
}

button[data-theme='classic'] {
    color: white;
    background: #a9c2d1;
    border: 2px solid #2F3C43;
    border-radius: 80px;
    font-family: 'NotoSansCJK-KR', '맑은 고딕', '나눔고딕', 'Open Sans', 'sans-serif';
}

button img {
    height: 16px;
    width: 16px;
    padding: 0 2px;
    float: left;
}

button a,
button a:hover,
button a:active {
    color: #FFFFFF;
    padding: 0 12px;
}

button:hover {
    background: #244967;
    border: 2px solid #2F5E85;
}

button:active,
button.btn_active {
    background: #18374E;
    border: 2px solid #304C63;
}

button.btn_accnt {
    color: white;
    background: #382832;
    border: 2px solid #432F3C;
    border-radius: 8px;
    font-family: 'NotoSansCJK-KR', '맑은 고딕', '나눔고딕', 'Open Sans', 'sans-serif';
    font-weight: 550;
    font-size: 0.8em;
    word-break: break-all;
    -moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
}

button.btn_accnt:hover,
button.btn_close:hover,
button.btn_del:hover {
    background: #752E2E;
    border: 2px solid #A53D3D;
}

button.btn_close:hover {
    background: #B83A3A;
}

button.btn_accnt:active,
button.btn_close:active,
button.btn_del:active {
    background: #5A1D1D;
    border: 2px solid #752E2E;
}

img.btn_act,
img.show,
img.hide,
img.close {
    height: 16px;
    width: 16px;
    float: none;
}

img.erase {
    height: 12px;
    width: 12px;
    float: none;
    padding: 0;
}

#button_redo img.btn_act,
#button_undo img.btn_act {
    opacity: 0.5;
}

a:hover {
    color: #FFD5C4;
}

.gadget-layer .gadget-container {
    padding: 0 2px;
    min-width: 256px;
    min-height: 96px;
}

.gadget-layer p.ctxt {
    color: #fff;
    line-height: 25px;
    margin: 16px 0;
}

.gadget-layer {
    position: absolute;
    display: block;
    /*
    top: 50%;
    right: 24px;
    */
    max-width: 372px;
    min-width: 180px;
    height: auto;
    background: #1A2125E0;
    border: 1px solid #2F3C43;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 0 2px #1A2125;
    border-radius: 10px;
    margin: 0;
    /*padding: 0 4px;*/
    z-index: 10;
}


.pop-layer .pop-container {
    padding: 2px;
    min-width: 256px;
    min-height: 96px;
}

.pop-layer p.ctxt {
    color: #fff;
    line-height: 25px;
    margin: 12px 4px;
}

.pop-layer {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 360px;
    min-width: 180px;
    height: auto;
    background: #1A2125;
    border: 3px solid #2F3C43;
    border-radius: 10px;
    margin: 0;
    padding: 0;
    z-index: 10;
    -moz-transition: all .1s ease-in;
    -o-transition: all .1s ease-in;
    -webkit-transition: all .1s ease-in;
    transition: all .1s ease-in;
}

#header {
    width: 100%;
    height: 46px;
    line-height: 46px;
    font-size: 1em;
    font-family: 'Noto Sans CJK KR Light', '맑은 고딕 Semilight', '나눔고딕 Light', 'Noto Sans CJK KR Regular', 'Open Sans', 'sans-serif';
    text-shadow: 1px 1px 0 black;
    background: #1A2125;
}

.header {
    width: 100%;
    height: 35px;
    line-height: 35px;
    background: black;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
}

.header .title {
    display: inline-block;
    height: 35px;
    background: #244967;
    padding: 0 15px;
    color: #fff;
    font-family: 'NotoSansCJK-KR', '맑은 고딕', '나눔고딕', 'Nobile', arial, sans-serif;
    font-size: 1em;
    font-weight: 600;
}

.header>* {
    margin-right: 16px;
    font-size: 1em;
}

#titlebar {
    z-index: 9;
}

.headerDiv {
    display: flex-root;
    z-index: 10;
}

.contents-area {
    display: table;
    background: #1A2125;
    border-radius: 8px;
}

ul.menu {
    display: block;
    margin: 0;
    padding: 0;
    list-style-type: none;
    text-align: left;
}

ul.menu li {
    display: inline;
    margin: 0 10px;
    list-style-type: none;
}

ul.menu li a:active {
    color: #D2C2B8;
}

/*
ul.menu li a {
    text-decoration: none;
    color: #FFF;
}
*/

ul.menu li a:visited {
    color: white;
}

.hidden {
    display: none;
}

#taskbar {
    display: table;
}

#topbox,
#leftbox,
#rightbox {
    border-radius: 0;
    padding: 0;
    overflow: auto;
}

#leftbox {
    display: table-row;
}

#box-container {
    width: 100%;
    height: 100%;
    position: absolute;
}

#box-background {
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: #73885C80;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

#box {
    width: 50vw;
    min-width: 900px;
    background: #1A2125;
    border: 1px solid #2F3C43;
    border-radius: 8px;
    margin: 36px auto;
    padding: 0 2px;
    justify-content: center;
    position: relative;
}

#boximport {
    min-height: 192px;
}

#boxoptions {
    min-height: 192px;
    height: 90vh;
}

#boxproperties {
    min-height: 192px;
    height: 90vh;
}

#boximport,
#boxproperties,
#boxhelp,
#boxoptions {
    width: 100%;
}

#screen-layout {
    width: 100%;
    height: 100%;
    top: 0;
    position: absolute;
}

#bottomboxes {
    /*width: 100%;
    height: 104px;
    */
    position: relative;
    display: table;
    padding: 0 2px;
    margin: 20px auto;
    border: 1px solid #2F3C43;
    border-radius: 8px;
    justify-content: center;
    z-index: 8;
    background-color: #1A2125E0;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 0 2px #1A2125;
}

#tools {
    height: 50px;
    overflow: auto;
}

#rightbox {
    width: 20vw;
}

#titleline {
    display: flex;
    border-bottom: 3px solid #C13535;
    justify-content: center;
    margin: 0 2px;
}

#titleline .button {
    float: right;
}

#titleline .img {
    float: left;
    height: 16px;
    width: 16px;
}

.dialog {
    border: 3px solid #222C31;
    border-radius: 8px;
    background: #1A2125;
    overflow: auto;
    padding: 10px;
    margin: 10px;
    padding-top: 0;
    float: center;
    max-width: 240px;
}

.dialog_title {
    /*background: #1A2125;*/
    position: relative;
    padding: 8px 0;
    border-bottom: 3px solid #C13535;
    text-align: center;
    font-size: 1.25em;
}

.dialog_context {
    position: relative;
    margin: 4px;
    font-family: 'NotoSansCJK-KR', '맑은 고딕', '나눔고딕', 'Open Sans', 'sans-serif';
    font-size: 1em;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
    cursor: pointer;
}

.dialog_list {
    font-family: 'NotoSansCJK-KR', '맑은 고딕', '나눔고딕', 'Open Sans', 'sans-serif';
    font-size: 1em;
    text-align: center;
    margin: 2px;
    padding: 2px 0;
    display: grid;
}

#popups,
#loading_screen {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    background-color: #73885C80;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10;
}

#layer_sp_pointsRed,
#layer_sp_pointsBlue {
    width: 192px;
    height: 25vh;
    min-height: 192px;
    position: relative;
    overflow: auto;
    padding: 8px 2px;
    margin: 2px;
    border: 1px solid #2F3C43;
    border-radius: 8px;
}

.dialog_select,
.dialog_confirm {
    width: 100%;
    height: 2rem;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
}

#layer_lang .dialog_select {
    text-align: center;
    margin: 2px;
    padding: 2px auto;
}

#layer_objl {
    /*display: table;*/
    position: relative;
    z-index: 9;
    margin: 4px auto;
}

.dialog_answer,
.button_apply,
.button_cancel {
    width: 50%;
    font-family: 'NotoSansCJK-KR', '맑은 고딕', '나눔고딕', 'Open Sans', 'sans-serif';
    font-size: 0.75em;
    min-width: 96px;
    padding: 0 1px;
    text-align: center;
    clear: both;
    float: right;
}

.dialog_answer a {
    color: #FFFFFF;
    padding: 16px 0;
}

#layer_lang .dialog_answer {
    width: 100%;
    font-size: 0.8rem;
}


.act {
    visibility: hidden;
}

button.btn_act,
button.btn_show,
button.btn_hide,
button.btn_close {
    min-width: 36px;
    height: 20px;
    border-radius: 4px;
    border: 0px;
    background: transparent;
    word-break: break-all;
}

#button_properties_spawnDist {
    position: absolute;
    right: 0;
}

#button_include_vertexes,
#button_include_segments,
#button_include_discs {
    float: right;
}

button.prop_erase {
    width: 20px;
    height: 18px;
    display: table-cell;
    position: absolute;
    border-radius: 10px;
    border: 2px solid transparent;
    margin: 3px 4px;
    background: transparent;
    word-break: break-all;
    right: 0;

    /*
    width: 18px;
    height: 18px;
    position: absolute;
    margin: 3px 8px;
    border: 0;
    right: 0;
    */
}

.pop-container button.prop_erase {
    margin: 5px 8px;
}

button.btn_show,
button.btn_hide,
button.btn_close {
    float: right;
}

button.btn_act:hover,
button.btn_show:hover,
button.btn_hide:hover {
    background: #3A4952;
}

button.prop_erase:hover {
    background: #752E2E;
}


button.btn_act:active,
button.btn_show:active,
button.btn_hide:active {
    background: #6A747C;
}

button.btn_close {
    position: absolute;
    border: 2px solid transparent;
    height: 28px;
    margin: 0;
    right: 0;
}

.button_header {
    height: 28px;
}

details {
    font-family: 'Noto Sans CJK KR Light', '맑은 고딕 Semilight', '나눔고딕 Light', 'Noto Sans CJK KR Regular', 'Open Sans', 'sans-serif';
    font-size: 1rem;
    margin: 0 auto;
    background: #111619;
    margin-bottom: .1rem;
    box-shadow: 0 .1rem 1rem -.1rem rgba(0, 0, 0, .4);
    border-radius: 8px;
    overflow: hidden;
}

summary {
    padding: 4px;
    display: block;
    background: #1B2327;
    padding-left: 2rem;
    position: relative;
    cursor: pointer;
}

summary:before {
    content: '';
    border-width: .4rem;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    transform: rotate(0);
    transform-origin: .1rem 50%;
    transition: .25s transform ease;
}

/* THE MAGIC 🧙‍♀️ */
details[open]>summary:before {
    transform: rotate(90deg);
}


details summary::-webkit-details-marker {
    display: none;
}

details>ul {
    padding-bottom: 1rem;
    margin-bottom: 0;
}

.underline {
    display: table;
    position: relative;
    justify-content: center;
    margin: 8px auto;
    background-color: #1A2125E0;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 0 2px #1A2125;
    padding: 2px;
    border: 1px solid #2F3C43;
    border-radius: 8px;
    /* width: 99vw; */
    height: 36px;
    z-index: 9;
}

div.titleContent {
    /*float: left;*/
    width: 100%;
    min-width: 320px;
    display: flex;
    position: relative;
    text-align: center;
    margin: 2px auto;
    font-size: 1.5rem;
    height: 36px;
    border-bottom: 3px solid #c13535;
    /*margin-bottom: 3px;*/
}

pre.titleContent {
    width: 100%;
    position: absolute;
    float: left;
    bottom: 25%;
}

.button_close {
    float: right;
    color: #fff;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    border-bottom: 3px solid #244967;
    margin-top: 20px;
}

#input_name {
    border: 2px solid transparent;
    font-size: 1.5em;
    text-align: center;
    width: 50vw;
    min-width: 480px;
    padding: 0 8px;
    color: rgb(197, 197, 197);
    background: transparent;
    outline: none;
}

#input_name:hover,
#input_name:focus {
    background: #1A2125;
    color: #FFFFFF;
    -moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
}

#input_name:focus {
    border: 2px solid #2E5C81;
}

::-webkit-input-placeholder {
    font-style: italic;
}

:-moz-placeholder {
    font-style: italic;
}

::-moz-placeholder {
    font-style: italic;
}

:-ms-input-placeholder {
    font-style: italic;
}

.centered {
    margin-left: auto;
    margin-right: auto;
}


textarea {
    width: 100%;
    height: 1.5rem;
    font-family: 'Noto Sans CJK Mono KR', 'D2Coding', 'mono';
    font-size: 0.9em;
    color: #c5c5c5;
    background: #111619;
    border: 2px solid #2F3C43;
    border-radius: 8px;
    padding: 2 10px;
    clear: both;
    overflow: auto;
    outline: none;
    resize: none;
}

textarea:focus {
    color: #FFFFFF;
    border: 2px solid #2E5C81;
}

#editor-container {
    position: relative;
}

#textarea_import {
    height: 80vh;
    min-height: 600px;
    position: relative;
    color: #c5c5c5;
    font-size: 15px;
    caret-color: #00a2ff;
    margin: auto;
    padding: 5px;
    line-height: 20px;
    z-index: 1;
}

::-webkit-scrollbar {
    overflow: scroll;
}

::-webkit-scrollbar-track {
    /*background-color: #1A2125;*/
    border-radius: 8px;
}

::-webkit-scrollbar-thumb {
    width: 2px;
    height: 2px;
    background-color: #283238dc;
    border: 1px solid #2F3C43dc;
    border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
    background: #294155dc;
    border-color: #2f5e85;
}

::-webkit-scrollbar-thumb:active {
    width: 16px;
    height: 16px;
    background-color: #3f5261;
    border-color: #5181a5dc;
}

::-webkit-scrollbar-corner {
    background-color: #283238;
    /* 우측 하단의 코너 부분 */
}

#canvas {
    display: block;
    height: 150px;
    width: 300px;
    margin: 0 auto;
    position: relative;

    /*border: 10px dashed blue;*/

    cursor: default;
    padding: 0 0;
    overflow: overlay;
    -moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
}

#canvas_div {
    position: absolute;
    top: 8px;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: auto;
    overflow: auto;
}

#canvas_div_placeholder {
    width: 100%;
    height: 100%;
    position: absolute;
}

#helpcontents,
#settingcontents {
    clear: both;
    height: 80vh;
    min-height: 600px;
    padding: 16px;
    overflow-x: hidden;
}

#diagArea {
    overflow: auto;
    width: 100%;
    margin: 16px 0;
}

#diagArea div.property_prop {
    height: 3rem;
    margin: 4px auto;
    background: #C2CEDF;
    border: 1px solid transparent;
    border-radius: 8px;
    display: table;
    position: relative;
}

#diagArea label {
    color: #175A8D;
}

#settingcontents pre.prop,
#settingcontents pre.diagGreat,
#settingcontents pre.diagGood,
#settingcontents pre.diagBad {
    width: 140px;
    height: 1.5rem;
    text-shadow: 0 0 2px black;
    text-align: center;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid #175A8D;
}


#settingcontents pre.diagGreat {
    background-color: #5F9B5A;
}

#settingcontents pre.diagGood {
    background-color: #eba640;
}

#settingcontents pre.diagBad {
    background-color: #eb5248;
}

#st_labplus {
    width: 184px;
}

#st_labplus .color_palette,
#boxproperties .color_palette {
    display: table-cell;
}

#helpcontents pre,
#helpcontents li {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

#mousepos,
#mouseposClone {
    font-family: 'Noto Sans CJK Mono KR', 'D2Coding', 'mono';
    font-size: 0.8rem;
    /*width: 150px;*/
    width: 120px;
    min-height: 24px;
    background-color: #1A2125E0;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-shadow: 0 0 2px #1A2125;
    color: rgb(197, 197, 197);
    border: 1px solid #222C31;
    border-radius: 8px;
    /*position: absolute;*/
    /*bottom: 180px;*/
    margin: 4px;
    padding: 0 8px;
    line-height: 24px;
    text-align: right;
    z-index: 9;
}

#mousepos {
    display: none;
    position: fixed;
}

#mouseposClone {
    display: block;
}

#mousepos.left {
    right: 16px;
}

#mousepos.right {
    left: 16px;
}

#stadium_properties {
    width: 100%;
    height: 90%;
    border-radius: 8px;
    margin: auto;
    overflow: auto;
}

#dialog_window {
    width: 100%;
}

#traits {
    clear: left;
}

pre {
    font-size: 0.9em;
    font-family: 'NotoSansCJK-KR', '맑은 고딕', '나눔고딕', 'Open Sans', 'sans-serif';
    white-space: pre-wrap;
}

label.prop,
label.prop_size,
label.prop_sel {
    height: 1.5rem;
    font-size: 0.8rem;
    clear: left;
    margin: auto;
    padding: 0 10px;
    display: table-row;
}

label.prop {
    float: initial;
    text-align: center;
    /*
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border: 1px solid #2F3C43;
    background: #283238;
    */
}

label.prop_size {
    width: 160px;
    text-align: center;
    float: inherit;
    /*
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border: 1px solid #2F3C43;
    background: #283238;
    */
}

label.prop_sel {
    float: left;
    min-width: 100px;
    border: 2px solid #2F3C43;
    border-radius: 8px;
    background: #283238;
}


#prop_bg_width,
#prop_width,
#prop_cameraWidth {
    border-bottom-left-radius: 8px;
}

#prop_bg_height,
#prop_height,
#prop_cameraHeight {
    border-bottom-right-radius: 8px;
}

pre.prop,
input.prop,
select.prop,
input.prop_size,
select.prop_size,
input.prop_sel,
select.prop_sel,
input.color_palette {
    height: 1.5rem;
    width: 168px;
    display: table-row;
    float: left;
    font-family: 'Noto Sans CJK Mono KR', 'D2Coding', 'mono';
    font-size: 1rem;
    color: rgb(197, 197, 197);
    background: #1A2125;
    border: 2px solid #2F3C43;
    border-radius: 8px;
    clear: right;
    padding: 0 14px;
    outline: none;
}

pre.prop {
    text-align: center;
}

input.prop,
select.prop {
    text-align: center;
    /*
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    margin-bottom: 8px;
    */
}

input.prop_size,
select.prop_size {
    width: 84px;
    text-align: center;
}

input.prop_sel,
select.prop_sel {
    text-align: left;
}

input.prop:focus,
select.prop:focus,
input.prop_size:focus,
select.prop_size:focus,
input.prop_sel:focus,
select.prop_sel:focus,
input.color_palette:focus {
    /*background: #1A2125;*/
    border: 2px solid #2E5C81;
    color: #FFFFFF;
}

/*
label.prop.error {
    color: #FF6161;
    background: #682828;
    border: 2px solid #B63636;
}
*/
input.prop.error,
select.prop.error {
    border: 2px solid #B63636;
}

#popups input.prop {
    width: 100%;
    height: 1.5rem;
    font-size: 1em;
    background: #111619;
    margin: 2px auto;
    border-radius: 4px;
    text-align: left;
    display: flex;
    justify-content: center;
}

#layer_sp_pointsRed input.prop,
#layer_sp_pointsBlue input.prop {
    width: 100%;
    text-align: center;
    margin: 0 4px;
}

#layer_sp_pointsRed button.btn_del,
#layer_sp_pointsBlue button.btn_del {
    width: 18px;
    height: 18px;
    position: absolute;
    margin: 3px 8px;
    border: 0;
    right: 0;
}

div.spinptArea {
    display: none;
    position: relative;
    width: 100%;
    margin: 4px auto;
}

#spawnPoints_red_add,
#spawnPoints_blue_add {
    display: flex;
    justify-content: center;
    margin: 4px auto;
}

#layer_sp_pointsRed img.del,
#layer_sp_pointsBlue img.del {
    width: 12px;
    height: 12px;
}

.prop_erase img.del {
    width: 12px;
    height: 12px;
}

#popups textarea {
    height: 100px;
    background: #111619;
    border-radius: 4px;
    outline: none;
}


#left_tabs,
#tab_parent,
#right_tabs {
    height: 115px;
    padding: 3px 10px;
    border-radius: 8px;
    display: table-cell;
}

#left_tabs,
#right_tabs {
    overflow: auto;
    margin: auto;
}

#left_tabs {
    border-right: 2px solid #808080;
    width: 120px;
    float: left;
}

#tab_parent {
    width: 50vw;
    float: left;
}

#right_tabs {
    width: 360px;
    float: right;
    border-left: 3px solid #222C31;
    border-radius: 0;
}

.secondToolSelector {
    display: table;
    background: #3A4952;
    padding: 0 0 8px 0;
    margin: 4px;
    border-radius: 4px;
}

.secondToolSelector.hidden {
    display: none;
}

.color_preview {
    width: 16px;
    height: 16px;
    -webkit-appearance: none;
    padding: 0;
    border: none;
    border-radius: 10px;
    margin: 4px;
    position: absolute;
    float: left;
}

.color_preview::-webkit-color-swatch {
    border: none;
    border-radius: 10px;
    padding: 0;
}

.color_preview::-webkit-color-swatch-wrapper {
    border: none;
    border-radius: 10px;
    padding: 0;
}

input.color_palette {
    text-align: center;
}


#tab_properties {
    height: 100%;
    width: 100%;
    overflow: auto;
}

#tab_advanced {
    position: fixed;
    overflow: auto;
}

#tab_sub {
    height: 32px;
    min-width: 560px;
    border-radius: 8px;
    margin: auto;
    padding: 8px;
    /*display: flex;*/
    display: table-cell;
    justify-content: center;
    overflow: auto;
}

#left_tabs button,
#right_tabs button {
    margin: 3px 0;
    line-height: 24px;
}

#left_tabs button {
    min-width: 115px;
    min-height: 48px;
}

#right_tabs button {
    font-size: 0.75rem;
    width: 108px;
    height: 32px;
}

#right_tabs button.active,
.secondToolSelector .btn_toggle.active {
    background: #244967;
    border: 2px dotted #6A747C;
}

.property {
    display: none;
    float: left;
    margin: 1px 2px;
}

.property_prop {
    height: 3rem;
    margin: 4px auto;
    background: #283238;
    border: 2px solid #2F3C43;
    border-radius: 8px;
    display: table;
    position: relative;
}

table.center-content {
    width: 100%;
    height: 100%;
}

table.center-content td {
    vertical-align: middle;
    text-align: center;
}

#boxlogin,
#boxregister {
    width: 100%;
    height: 100%;
}

label.form {
    display: inline-block;
    text-align: right;
    height: 22px;
    border: 2px solid #244967;
    border-radius: 8px;
    background: #244967;
    padding: 0 10px;
    width: 150px;
    margin-bottom: 5px;
    font-size: 17px;
}

input.form,
select.form {
    display: inline-block;
    height: 24px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    background: #1A2125;
    width: 300px;
    border: 2px solid #244967;
    color: white;
    padding: 0 10px;
    margin-bottom: 5px;
    font-size: 17px;
}

input.form.error,
select.form.error {
    border: 2px solid #dd0000;
}

body.logged-in .anonymous {
    display: none;
}

body.logged-out .valid-user {
    display: none;
}

#button_save.modified {
    background: #a05451;
}

#library_list {
    display: flex;
}

#library_list tr.active {
    background: #705451;
}

#library_list td {
    padding-right: 20px;
    border-top: 2px solid black;
}

#librarytable {
    width: 100%;
    height: 90%;
    border-radius: 8px;
    margin: auto;
    overflow: auto;
}

/*#boxlibrary, #boxlibrary * {border: 1px solid red;}*/

#librarytop {
    margin: 4px 0;
}

#library_button_public,
#library_button_saved {
    float: left;
}

#button_library_new,
#button_library_edit,
#button_library_delete {
    float: right;
}

#librarybottom {
    height: 80vh;
    min-height: 600px;
    display: flex;
    position: relative;
    border: 2px solid #2F3C43;
    border-radius: 8px;
    background: #111619;
    color: #c5c5c5;
    font-size: 15px;
    caret-color: #00a2ff;
    margin: 0 4px;
    padding: 0 2px;
    line-height: 20px;
}

#library_list_header {
    display: flex;
    width: 100%;
}

#librarybottom pre {
    display: table;
}

#boxlibrary.owner button.owner {
    display: inline;
}

#boxlibrary button.owner {
    display: none;
}


button.btn_toggle,
button.btn_add,
button.btn_del,
button.btn_include {
    margin: 2px;
    width: 32px;
    height: 32px;
    background: #3A4952;
    border: 2px solid #3A4952;
}

button.btn_include {
    background: #523B3A;
    border: 2px solid #796464;
    border-radius: 16px;
    float: right;
}

button.btn_add,
button.btn_del {
    width: 24px;
    height: 24px;
    display: flex;
    border-radius: 16px;
}

button.btn_add {
    width: 75%;
}


button.btn_del {
    background-color: transparent;
}

button.btn_toggle:hover,
button.btn_add:hover {
    background: #6A747C;
    border: 2px solid #ffffff;
}

button.btn_include:hover {
    background: #3a4252;
    border: 2px dotted #ffffff;
}

button.prop_erase:active {
    background: #5A1D1D;
}

button.btn_toggle.active {
    background: #6A747C;
    border: 2px dotted #FFFFFF;
}

button.btn_include.active {
    background: #3a4252;
    border: 2px solid #646b79;
}

.btn_toggle img,
.btn_include img {
    height: 16px;
    width: 16px;
    float: none;
}

.btn_add img,
.btn_del img {
    padding: 0;
    margin: auto;
}

.contextmenu {
    display: none;
    position: absolute;
    margin: 0;
    padding: 0;
    background: #1A2125;
    border: 1px solid #2F3C43;
    border-radius: 5px;
    list-style: none;
    font-size: 0.9rem;
    line-height: 1.2rem;
    box-shadow:
        0 15px 35px rgba(50, 67, 90, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    z-index: 10;
}

.contextmenu li {
    /*border-left: 3px solid transparent;*/
    height: 18px;
    margin: 0;
    padding: 6px 12px;
    -moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
}

.contextmenu img {
    height: 18px;
    width: 18px;
    float: left;
}

.contextmenu li a {
    display: block;
    height: 18px;
    margin: 0px;
    padding: 0 4px;
    /*color: #B0BEC5;*/
    color: #C2C2C2;
    text-decoration: none;
    -moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
}

.contextmenu li:hover {
    background: #3A4952;
    /*border-left: 3px solid #9C27B0;*/
}

.contextmenu li:active {
    background: #6A747C;
    /*border-left: 3px solid #9C27B0;*/
}

.contextmenu li:hover a {
    /*color: #FFFFFF;*/
}

.contextmenu .cm_index {
    float: left;
}

.contextmenu .cm_shortcut {
    float: right;
}


.news {
    overflow: auto;
    margin: 4px 16px;
}

.prop_group {
    background: #1A2125;
    border: 3px solid #222C31;
    border-radius: 8px;
    overflow: auto;
    padding: 10px;
    margin: 10px;
    padding-top: 0;
    position: relative;
    float: left;
}

.prop_group_title {
    min-width: 64px;
    font-family: 'NotoSansCJK-KR', '맑은 고딕', '나눔고딕', 'Open Sans', 'sans-serif';
    font-weight: 550;
    font-size: 1rem;
    text-align: center;
    background: #3A4952;
    border-radius: 8px;
    padding: 4px;
    margin: 2px 0 12px 0;
    padding-top: 8px;
    position: relative;
    float: initial;
}

.prop_changelog {
    width: 100%;
    border-radius: 8px;
    overflow: auto;
    padding: 4px 2px;
    margin: 8px 2px;
    position: relative;
    float: left;
}

.prop_element {
    overflow: auto;
    width: 100%;
    margin: 16px 0;
}

.prop_element_title {
    width: 100%;
    font-family: 'Noto Sans CJK KR Light', '맑은 고딕 Semilight', '나눔고딕 Light', 'Noto Sans CJK KR Regular', 'Open Sans', 'sans-serif';
    font-size: 1em;
    margin-bottom: 4px;
    border-bottom: 2px solid #808080;
}

#popups .prop_element_title {
    font-size: 1.2rem;
    border: 0;
}

#librarybottom .prop_element {
    margin: 2px 1px;
}

#librarybottom .prop_element_title {
    display: flex;
    position: relative;
    padding: 4px 12px;
    background: #3A4952;
    border: none;
    border-radius: 4px;
}

.prop_help {
    font-size: 0.8em;
    overflow-x: hidden;
    margin: 16px 2px;
    padding: 4px;
    border: 2px solid #3E3E3E;
}

.prop_help_title {
    font-family: 'NotoSansCJK-KR', '맑은 고딕', '나눔고딕', 'Open Sans', 'sans-serif';
    font-weight: 550;
    font-size: 1.5em;
    background-color: #3E3E3E;
    border-radius: 0 4px;
    margin-bottom: 12px;
    padding: 0 4px;
}

.shortcut {
    color: #FFF;
}

.shortcut:hover {
    color: #BFCFE1;
}


.category {
    width: 100%;
    display: table;
    position: relative;
    border-radius: 8px;
    margin: 1px 0;
    padding: 2px 0;
}

.prop_group>.category {
    width: 168px;
    background: #283238;
    border: 2px solid #2F3C43;
    display: table;
    position: relative;
    border-radius: 8px;
    margin: 1px 0;
    padding: 2px 0;
}


.category-item {
    font-size: 0.8rem;
    display: table-cell;
    padding: 0 8px;
    white-space: pre-wrap;
}

/*  
    The switch - the box around the slider
    source: https://www.w3schools.com/howto/howto_css_switch.asp
*/
.switch {
    position: relative;
    display: table-cell;
    width: 44px;
    height: 16px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #1A2125;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    margin: 2px 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #2F5E85;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2F5E85;
}

input:checked+.slider:before {
    -webkit-transform: translateX(150%);
    -ms-transform: translateX(150%);
    transform: translateX(150%);
}

/* Rounded sliders */
.slider.round {
    border-radius: 16px;
    border: 1px solid #425D75;
    height: 18px;
}

.slider.round:before {
    border-radius: 50%;
    border: 1px solid #425D75;
}


/*
playback timings (ms):
  LoadShardBlock: 50.429 (3)
  esindex: 0.006
  captures_list: 69.231
  CDXLines.iter: 10.165 (3)
  PetaboxLoader3.datanode: 96.201 (5)
  exclusion.robots: 0.152
  exclusion.robots.policy: 0.142
  RedisCDXSource: 6.203
  PetaboxLoader3.resolve: 62.735 (2)
  load_resource: 235.817
*/