/* Rim pad grid (Views/BrakePadGridOC.cshtml): filter menu, tiles, loader. Linked right after
   styleM.css; the bare element rules (button, fieldset) are meant for this page only. */

/* Form & Checkbox Styles */

button {
    display: inline-block;
    vertical-align: top;
    padding: .4em .8em;
    margin: 0 0 .8em 0;
    border: 0;
    font-size: 14px;
    font-weight: 600;
    border-radius: 0;
    cursor: pointer;
}

button:focus {
    outline: 0 none;
}

fieldset {
    display: inline-block;
    vertical-align: top;
    margin: 0 0 1em 0;
    background: #fff;
    padding: .5em;
    width: 100%;
}

.checkbox {
    display: block;
    position: relative;
    cursor: pointer;
    margin-bottom: 8px;
}

.checkbox input[type="checkbox"] {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    cursor: pointer;
    margin: 0;
    opacity: 0;
    z-index: 1;
}

.checkbox label {
    display: inline-block;
    vertical-align: top;
    text-align: left;
    padding-left: 1.5em;
}

.checkbox label:before,
.checkbox label:after {
    content: '';
    display: block;
    position: absolute;
}

.checkbox label:before {
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    margin-right: 10px;
    background: #e6e6e6;
    border-radius: 3px;
}

.checkbox label:after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    background: #444;
    opacity: 0;
    pointer-events: none;
}

.checkbox input:checked ~ label:after {
    opacity: 1;
}

.checkbox input:focus ~ label:before {
    background: #e6e6e6;
}

/* Container/Target Styles */

.container {
    min-height: 400px;
}

.container .mix,
.container .gap {
    display: inline-block;
}

.container .mix {
    background: white;
}

/* Fail message styles */

.container .fail-message {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    -webkit-transition: 150ms;
    -moz-transition: 150ms;
    transition: 150ms;
}

.container .fail-message:before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

.container .fail-message span {
    display: inline-block;
    vertical-align: middle;
    font-size: 20px;
    font-weight: 700;
}

.container.fail .fail-message {
    opacity: 1;
    pointer-events: all;
}

#productGrid {
    min-width: 100%;
}

#productGrid td {
    max-width: 15%;
    min-width: 15%;
}

table#productGrid tr.even,
table#productGrid tr.alt,
table#productGrid tr:nth-of-type(even) {
    background: #fff;
}

table#productGrid {
    border: none;
    border-color: #fff;
}

.productList h5 {
    display: inline-block;
    width: 100%;
    background: #282828;
    color: #fff;
    padding: 4px 6px;
    margin: 0 0;
}

.productList h5 small {
    font-size: 60%;
    color: #e6e6e6;
}

ul.productList li {
    border-right: 6px solid #fff;
}

.productName {
    z-index: 9998;
}

.compoundLogo {
    width: 80%;
    margin-left: 10%;
}

/* centred vertically by its cell, .effects li.pad-model-cell (styleM.css) */
.modelLogo {
    width: 68%;
    margin-left: 16%;
}

.row.effects {
    margin: 0 0;
}

