/***** HTML ELEMENTS *****/

body,
form,
html {
    margin: 0;
    padding: 0;
}

a, a:active {
    -moz-outline-style: none;
    outline: none;
}

b, strong {
    font-weight: bold;
}

h4 {
    margin: 1em 0 0 0;
    padding: 0;
}
h6 {
    margin: 0 0 .2em 0;
    padding: 0;
}

hr {
    border: none;
    clear: both;
    height: 1px;
    margin: 0.5em 0;
}

i, cite, em, var, address, dfn {
    font-style: italic;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0 auto;
}
th {
    font-size: 14px;
    font-weight: bold;
    padding-bottom: 4px;
    text-align: left;
}
th div,
th div a {
    font-size: 11px;
    font-weight: normal;
}

/***** PAGE ELEMENTS *****/

#timer {
    font-size: xx-small;
    left: 5px;
    padding: 5px;
    position: absolute;
    top: 32px;
    z-index: 99;
}
#noJs,
#noJs td {
    color: #f00;
    font-weight: bold;
    border-style: none;
}


/***** settingsNav *****/

#settingsNav {
    background-position: 100% 0;
    background-repeat: repeat-y;
    padding-right: 2em;
    vertical-align: top;
}
#settingsNav ul {
    margin: 0 1em 0 0;
    padding: 0;
}
#settingsNav li {
    line-height: 1.8em;
    list-style-type: none;
    margin-left: 0;
    padding-left: 0;
}


/***** userCode *****/

#userCode {
    bottom: 10px;
    left: 10px;
    position: fixed;
    z-index: 1;
}
#userCode img {
    border: none;
}


/***** FORMS *****/
form {
    margin: 0 auto;
}
form td {
    vertical-align: top;
}
label {
    font-weight: bold;
    margin-right: .2em;
    vertical-align: top;
    white-space: nowrap;
}
input[type=radio],
input[type=checkbox] { /* Align radio buttons and checkboxes with label */
    padding: 0;
    margin: 0 .3em 0 0;
    vertical-align: middle; /* was BOTTOM */
    position: relative;
    top: -1px;
    *overflow: hidden; /* IE <= 7 */
}
input[type=radio] ~ label, /* label preceded by radio button */
input[type=checkbox] ~ label, /* label preceded by radio button */
label.smallText { 
    font-weight: normal;
}
.box label {
    display: block;
    float: none;
    font-weight: normal;
}
.instruction {
    display: block;
    font-size: 10px;
    margin-bottom: 6px;
}
input[disabled="disabled"] {
    color: #999;
}
input[disabled="disabled"].redText {
    color: #a55;
}

form input,
form textarea,
form .trumbowyg-editor {
    -webkit-touch-callout: text;
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    -o-user-select: text;
    user-select: text;
}

/***** TRUMBOWYG *****/

div.trumbowyg-box {
    min-height: 0;
    box-sizing: border-box;
    margin: 0;
    background-color: #fff;
}
div.trumbowyg-box .trumbowyg-editor,
div.trumbowyg-box .trumbowyg-textarea {
    min-height: 0;
    color: #000;
    padding: 5px;
}
div.trumbowyg-box .trumbowyg-editor a {
    color: #000 !important;
    text-decoration: underline;
}
div.trumbowyg-box form input {
    width: 75%; 
}
div.trumbowyg-box optgroup option {
    margin-left: 20px;
}
div.trumbowyg-box .trumbowyg-dropdown {
    z-index: 999;
}

/***** msg.php, main.php *****/

#msgBox {
    border: 1px solid #666;
    padding: 10px 30px 30px;
    width: 320px;
    margin: 100px auto 0;
}

#itemEdit a {
    font-weight: bold;
}

#confirm {
    background-color: #060;
    border: 4px solid #0f0;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    height: 80px;
    left: 50%;
    line-height: 80px;
    margin-left: -150px;
    position: absolute;
    text-align: center;
    top: 200px;
    width: 300px;
}


/***** SPECIALS *****/

.instruction.mono {
    font: 13px/1 "Courier New", Courier, monospace;
}


.item h3:first-child {
    border-style: solid;
    border-width: 0 0 1px;
    color: #0f0;
    font-size: 12px;
    margin: 0 0 1em;
    padding: 0 0 .3em;
}

.material-icons,
.material-icons:hover {
    text-decoration: none !important;
}

.smallText {
    font-size: 10px;
    font-weight: normal;
    vertical-align: text-top;
}

#banner {
    border-style: none;
    margin: 0 auto;
}

p#msg {
    margin: 3em auto;
    width: 400px;
}

ul.auto {
    margin-top: 0;
}

/***** TOOLBOX *****/

.clear { clear: both; }

.left { text-align: left }
.right { text-align: right }
.center { text-align: center }

.wide { width: 100% }

.floatL { float: left }
.floatR { float: right }
