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

body.dark {
    background-color: #000;
    color: #fff;
}

#settings {
    margin-bottom: 1em;
    border-bottom: 1px solid #ccc;
    padding-bottom: 1em;
}

#color-list, #ral-colors, #ncs-colors {
    /*width: 100%;*/
    border-collapse: collapse;
}


#color-list td,
#ral-colors td,
#ncs-colors td,
#color-list th,
#ral-colors th,
#ncs-colors th {
    padding: 0.2em;
    border: 1px solid #333;
}

#color-list td.color-id,
#ral-colors td.code,
#ncs-colors td.code {
    width: 10em;
    font-weight: bold;
}

#color-list td.color-css {
    width: 15em;
}

#color-list td.color {
    width: 4em;
}

#color-list td.color-sample {
    width: 4em;
    background-repeat: no-repeat;
    background-size: cover;
}

#color-list td.color-saturation,
#color-list td.color-lightness {
    text-align: right;
}

#window-demo {
    position: absolute;
    width: 500px;
    height: 600px;
    top: 50px;
    left: 55%;
    box-shadow: 0px 0px 19px 4px #00000057;
    background-image: url(/textures/persiana.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    display: none;
}

#window-demo .close {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-block;
    background-color: #333333c4;
    color: #fff;
    width: 16px;
    height: 16px;
    text-align: center;
    padding: 0.25em;
    border-radius: 1em;
    cursor: pointer;
}

.demo-info {
    position: absolute;
    width: 100%;
    bottom: 0;
    text-align: center;
    padding: 0.25em;
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
}
