.palette {
    background: #e9e9e9;
    padding: 8px;
    font: normal 14px Arial, sans-serif;
    position: relative;
}

.palette abbr {
    border-bottom: 1px dotted #999;
    cursor: help;
}

.palette ul.preview {
    list-style: none;
    margin: 0px;
}

.palette ul.preview li {
    float: left;
    width: 56px;
    height: 28px;
    outline: 1px solid #bbb;
    border: 1px solid #fff;
    margin: 5px;
}

.palette .drag-handle {
    width: 10px;
    height: 10px;
    border: 1px solid #fff;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    -webkit-box-shadow: inset 0 0 1px #000, inset 0 0 2px #000;
    -moz-box-shadow: inset 0 0 1px #000, inset 0 0 2px #000;
    box-shadow: inset 0 0 1px #000, inset 0 0 2px #000;
    position: absolute;
    left: 0;
    top: 0;
}

.palette input[type="text"] {
    background: #fff;
    padding: 5px 8px;
    border: 1px solid #ddd;
    width: 60px;
    text-transform: uppercase;
}

.palette input[type="text"]:focus {
    outline: 1px solid #c32e10;
}

.palette input[type="button"] {
    background: #c32e10;
    color: #fff;
    padding: 5px 12px;
    width: 77px;
    float: right;
    border: 1px solid #911e0f;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.palette table {
    border-collapse: collapse;
}

.palette table th {
    padding: 8px;
}

.palette table td {
    padding: 5px 0;
}

.palette canvas, .palette .drag-handle {
    cursor: crosshair;
}

.color-picker,
.color-spectrum {
    border: 2px solid #ccc;
    float: left;
}

.color-picker-wrap {
    float: left;
    position: relative;
    margin-right: 10px;
}

.color-spectrum {
    margin: 0 8px 0 0;
    position: relative;
}

.color-spectrum .ui-slider {
    position: absolute;
    text-align: left;
    top: 0px;
    background: none;
}

.color-spectrum canvas {
    margin-bottom: -3px;
}

.ui-slider .ui-slider-handle {
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 3px;
    cursor: default;
    background: #000;
    outline: none;
}

.ui-slider-horizontal .ui-slider-handle {
    width: 3px;
    height: 100%;
    background: #000;
    border-right: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
}

#current {
    border: 2px solid #ccc;
    margin: 5px 0;
    width: 360px;
    height: 30px;
}

#previous {
    border: 2px solid #ccc;
    margin: 5px 0;
    width: 360px;
    height: 30px;
}