/* poormans reset */

*,
html {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
}

/* some defaults */

a {
    color: #bbb;
}

body {
    background-color: #252525;
    color: #ddd;
    font-family: Oswald, Monaco, sans-serif;
    font-size: 14px;
    font-weight: 300;
}

/* footer */

#sidebar p.info {
    font-size: 10px !important;
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #777;
}

input[type="text"] {
    border: 1px solid #ddd;
}

/* this corrects an issue where a scroll bar appears on the page */

svg {
    display: block;
}

/* normal buttons */

button {
    margin: 5px;
    padding: 6px 18px;
    font-size: 14px;
    font-family: 'Oswald', Arial, sans-serif;
    border: none;
    color: #000;
    background-color: #0cf;
    transition: all 0.5s ease;
}

button:hover {
    background-color: #999;
}

/* the circle buttons, like + and - for the neutrals */

button.circle {
    background-color: #333;
    width: 25px;
    height: 25px;
    border: 1px solid #666;
    border-radius: 30px;
    color: #ddd;
    transition: all 0.5s ease;
}

button.circle:hover {
    background-color: #ccc;
}

button.small {
    background-color: #0CF;
    color: #000;
    border: none;
    cursor: pointer;
}

button.small .fa {
    position: relative;
    top: -6px;
    left: -6px;
}

/* left-hand side... this is where the svg goes */

#content {
    position: absolute;
    left: 0;
    right: 300px;
    top: 0;
    bottom: 0;
    text-align: center;
}

/* buttons to download the png/svg of the wheel */

#download-buttons {
    position: absolute;
    z-index: 1;
    bottom: 0;
    right: 300px;
    margin: 10px;
}

/* the sidebar with the controls */

#sidebar {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 300px;
    margin: 0;
    overflow-y: auto;
    padding: 5px;
    text-align: center;
    background-color: #2a2a2a;
}

/* accordion */

.accordion-section {
    background-color: #222;
    margin: 10px 0;
    border-radius: 5px;
}

/* the accordion buttons */

.accordion-section>button {
    width: 100%;
    margin: -5px;
    color: #ddd;
    cursor: pointer;
    text-align: left;
    font-weight: 300;
    background: #333;
    border: none;
    border-top: 1px solid #555;
    border-bottom: 2px solid #111;
}

.accordion-section>.content {
    max-height: -1;
    /* determined programatically */
    overflow-y: hidden;
    margin-bottom: 10px;
    margin-top: 5px;
    background-color: #272727;
    background: -webkit-linear-gradient(#333, #222);
    background: linear-gradient(#333, #222);
    transition-property: all;
    transition-duration: .3s;
    transition-timing-function: ease;
}

.accordion-section>.content.hidden {
    max-height: 0;
    margin: 0;
}

#sidebar p {
    font-size: 12px;
    margin: 3px 20px;
}

#interpolation-content {
    text-align: left;
    font-size: 12px;
    padding: 0 10px;
}

#interpolation-content input[type="radio"] {
    margin-right: 5px;
    margin-bottom: 5px;
}

/* color preview as a big div */

#color-preview {
    margin-right: auto;
    margin-left: auto;
    border: 1px solid #222;
    border-radius: 3px;
    width: 200px;
    height: 100px;
}

/* the hex value of the color picked */

input#color-preview-rgb {
    margin-top: 10px;
    font-size: 20px;
    width: 180px;
    background-color: #222;
    text-align: center;
    color: #ddd;
    border: none;
}

/* the neutrals / compliment of the color picked */

#color-preview-neutrals {
    text-align: center;
    display: table;
    table-layout: fixed;
    height: 20px;
    width: 200px;
    margin-top: 10px;
    margin-right: auto;
    margin-left: auto;
}

/* the different stroke colors to pick from */

#stroke-color-previews {
    text-align: center;
    display: table;
    table-layout: fixed;
    height: 40px;
    width: 200px;
    margin-top: 10px;
    margin-right: auto;
    margin-left: auto;
}

/* the values of the sliders, ie "360&deg;" */

span.value {
    font-size: 10px;
}

/* sliders */

input[type="range"] {
    /* -webkit-appearance: none !important; */
    width: 100%;
    height: 4px;
    background-color: #444;
    border-radius: 10px;
    transition: all 0.3s ease;
}

input[type="range"]:hover {
    background-color: #333;
}

::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    background-color: #333;
    width: 15px;
    height: 15px;
    border: 1px solid #666;
    border-radius: 30px;
    transition: all 0.5s ease;
}

::-webkit-slider-thumb:hover {
    background-color: #222;
}