body {
    margin-left: 5%;
    margin-right: 5%;
}

.box {
    float: left;
    width: 100%;
    display: inline;
}

.search-container {
    float: left;
    margin-left: 24px;
    padding: 16px;
    width: 60%;
    clear: both;
}

.result-container {
    float: left;
    margin-left: 24px;
    padding: 16px;
    width: 35%;
}

.edit-container {
    float: right;
    margin-right: 24px;
    padding: 16px;
    width: 50%;
}

#modellist {
    float: left;
    background: #ccc;
    width: 96%;
}

#modellist table {
    width: 100%;
}

.model {
    filter: contrast(60%);
    -webkit-filter: contrast(60%);
    cursor: pointer;
}

.modelinfo {
    color: black;
    text-align: left;
    line-height: 1.8em;
}

.modelinfo h4 {
    color: black;
    font-weight: bold;
    font-size: 1.66em;
    cursor: pointer;
}

.modelinfo h5 {
    color: #9e9e9e;
    font-weight: bold;
    font-size: 1.66em;
    cursor: pointer;
}

.modelinfo p {
    margin: 0px;
    line-height: 1em;
    cursor: pointer;
}

.edit-container h4 {
    color: black;
    font-weight: bold;
    font-size: 1.66em;
    cursor: pointer;
}

.edit-container h5 {
    color: #9e9e9e;
    font-weight: bold;
    font-size: 1.66em;
    cursor: pointer;
}

p {
    margin-bottom: 24px;
}

td {
    padding: 2px;
}

.prod-id, .prod-name {
    padding-right: 8px;
    text-align: right;
    white-space: nowrap;
}

#text {
    width: 98%;
    margin-bottom: 8px;
    height: 300px;
}

#submit {
    float: right;
}

td.thumb {
    width: 90px;
}

img.thumb {
    width: 80px;
    height: 80px;
}

table.small_input {
    width: 49%;
    margin-bottom: 36px;
}

table.med_input {
    width: 100%;
    margin-bottom: 36px;
}

table.small_input td {
   width: 33%;
}

table.small_input td.first {
   width: 15%;
   text-align: right;
}

table.input {
    width: 100%;
}

.textfield {
    width: 96%;
    border: 1px solid black;
    padding: 2px;
    background: white;
    color: black;
}

.textfield_master {
    width: 96%;
    border: 1px solid black;
    padding: 2px;
    background: #838383;
    color: #363636;
}

input[readonly], textarea[readonly] {
    background: #838383;
}

.modelhover {
    filter: contrast(85%);
    -webkit-filter: contrast(85%);
    background-color: #fff;
}

.modelselected {
    filter: none;
    -webkit-filter: none;
    background-color: white;
}

table#detail_header {
    margin-bottom: 16px;
}

table#detail_header h4 {
    color: white;
}

img#header_thumb {
    margin-right: 12px;
    padding: 4px;
    border: 1px solid black;
    background: white;
}

.save_button {
    font-size: 1.2em;
    font-weight: bold;
    border: 1px solid black;
    padding: 4px;
    cursor: pointer;
    margin-bottom: 24px;
    width: 90px;
}

#flasher {
    display: inline;
    height: 30px;
    padding: 4px 12px;
    margin-left: 16px;
    color: black;
    font-weight: bold;
    font-size: 1.2em;
    cursor: pointer;
}

.flasher_error {
    background: #ff7901;
}

.flasher_happy {
    background: #59eb01;
}

.flasher_info {
    background: #018beb;
}

.wait, .wait * { cursor: wait !important; }
