body {
    font-family: sans-serif;
    margin: 1em;
    box-sizing: border-box;
}

header {
    margin-bottom: 1em;
    border-bottom: 1px solid #ccc;
    padding-bottom: 0.5em;
    min-height: 63px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: space-between;
    align-items: flex-start;
}

header > div {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

main {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    max-width: 100%;
}

footer {
    margin-top: 2em;
    border-top: 1px solid #ccc;
    padding-top: 0.5em;
    max-width: 100%;
    overflow: hidden;
}

header h1 {
    font-size: 18px;
}

.navigation-menu ul {
    list-style-type: none;
    list-style-position: inside;
    margin-left: 0;
    padding-left: 0;
}

.navigation-menu ul li {
    display: inline-block;
}

.navigation-menu a,
.navigation-menu a:visited,
.navigation-menu a:hover,
.navigation-menu a:active {
    text-decoration: none;
    color: #056199;
}

button {
    background-color: transparent;
    border: 1.5px solid #8e8e8e;
    border-radius: 4px;
    /* text-transform: uppercase; */
    /* font-size: 0.9em; */
    appearance: none;
    box-shadow: none;
    user-select: none;
    cursor: pointer;
    color: #333;
}

button[disabled] {
    opacity: 0.6;
}

.configuration-widget button.del-btn {
    color: red;
}

.color-picker-container {
    position: absolute;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    padding: 1em;
    box-shadow: 0px 0px 3px 0px #000000ba;
    z-index: 999;
}

.color-picker-container.hidden {
    display: none;
}

.color-picker-container .field {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    line-height: 27px;
    vertical-align: middle;
}

.color-picker-container .field.hidden {
    display: none;
}

.color-picker-container .cs-color-container {
    line-height: 27px;
    height: 27px;
    vertical-align: middle;
}

.color-picker-container .field output {
    margin-left: 1em;
    font-size: 0.92em;
    vertical-align: middle;
    display: inline-block;
    line-height: 27px;
}

.color-picker-container .field label {
    font-size: 0.9em;
    /* min-width: 50%; */
    margin-right: 1em;
}

.color-picker-container .field select {
    font-size: 0.9em;
    /* min-width: 50%; */
    flex: 2;
    padding: 0;
}

.color-picker-container .cs-color-picker {
    display: inline-block;
    width: 3em;
    height: 1em;
    border: 1px solid #000;
    cursor: pointer;
}

.color-picker-container .cs-color-table {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 14em;
    height: 14em;
    overflow: scroll;
    margin: auto;
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    justify-content: center;
    /* box-shadow: inset 0px 0px 6px 5px #0000004d;*/
}

.color-picker-container .cs-color-table.hidden {
    display: none;
}

.cs-color-table .cs-color {
    display: inline-block;
    width: 1em;
    height: 1em;
    border: 1px solid #000;
    cursor: pointer;
}

.cs-color-table .cs-color.selected {
    border: 1px dashed #fff;
}

.color-picker-container .set-color-btn {
    margin-left: 1em;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}
