body {
    font-family: Helvetica, sans-serif;
    padding: 25px;
}

h1, #help {
    font-family: Georgia, "Times New Roman", serif;
}

form, label, input, select, button {
    font-size: 18px;
}

label {
    font-weight: bold;
}

option, li {
    font-size: 20px;
}

li {
    margin-left: 0;
    list-style: none;
}

#form {
    margin-top: 1em;
    padding: 10px;
    background-color: #efefef;
    background: -webkit-linear-gradient(#eee, #ddd);
    border: 6px solid #999;
    border-radius: 10px;
}

#form, #help, #options table, h1, #disclaimer {
    width: 75%;
    max-width: 850px;
}

input#optionCodes {
    width: 45%;
    max-width: 650px;
}

/* Smaller screens */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 1024px) {
    body {
        font-size: larger;
    }

    #form, #help, #options table, h1, #disclaimer {
        width: 100%;
    }

    input#optionCodes {
        width: 60%;
        max-width: 800px;
    }
}


input, select {
    position: absolute;
    left: 240px;
}

fieldset {
    border: none;
    margin: 15px 10px 15px 10px;
}

#paintColorDisplay {
    margin-top: 2em;
}

#options table {
    margin-top: 2em;
    /*width: 75%;*/
    border-collapse: collapse;
}

#options table tr:nth-child(even) td {
    background-color: #eee;
}

#options table tr:hover {
    font-weight: bold;
}

td, th, #paintColorDisplay {
    font-size: 120%;
}

th {
    font-weight: bold;
    text-align: left;
}

.code, .nomatch {
    color: #777;
}

#swatch {
    border: solid 1px #ddd;
    border-radius: 5px;
    -moz-border-radius: 2px;
}

#buttons {
    text-align: center;
    margin-bottom: 0;
}

.button {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #f9f9f9), color-stop(1, #e9e9e9));
    background: -moz-linear-gradient(center top, #f9f9f9 5%, #e9e9e9 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#f9f9f9', endColorstr = '#e9e9e9');
    background-color: #f9f9f9;
    -webkit-border-top-left-radius: 20px;
    -moz-border-radius-topleft: 20px;
    border-top-left-radius: 20px;
    -webkit-border-top-right-radius: 20px;
    -moz-border-radius-topright: 20px;
    border-top-right-radius: 20px;
    -webkit-border-bottom-right-radius: 20px;
    -moz-border-radius-bottomright: 20px;
    border-bottom-right-radius: 20px;
    -webkit-border-bottom-left-radius: 20px;
    -moz-border-radius-bottomleft: 20px;
    border-bottom-left-radius: 20px;
    text-indent: 0;
    border: 3px solid #aaa;
    display: inline-block;
    color: #777;
    font-family: Helvetica, sans-serif;
    font-size: 15px;
    font-weight: bold;
    font-style: normal;
    height: 35px;
    line-height: 35px;
    width: 111px;
    text-decoration: none;
    text-align: center;
    text-shadow: 1px 1px 0 #ffffff;
}

.defaultBtn {
    color: #222;
}

.button:hover {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #e9e9e9), color-stop(1, #f9f9f9));
    background: -moz-linear-gradient(center top, #e9e9e9 5%, #f9f9f9 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#e9e9e9', endColorstr = '#f9f9f9');
    background-color: #e9e9e9;
}

.button:active {
    position: relative;
    top: 1px;
}

#disclaimer {
    margin-top: 2em;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 70%;
}

#credits {
    font-size: 75%;
    color: #666;
    position: fixed;
    bottom: 0;
    right: 25px;
}
