input { margin: 0.1em; }

input.invalid,
textarea.invalid,
select.invalid { background-color: #FFE813; border: 0.1em; border-color: #BB0000 !important; border-style: solid; margin: 0.1em !important; }

input.invalid:focus,
textarea.invalid:focus,
select.invalid:focus { background-color: #FFE813; border: 0.2em; border-color: #BB0000 !important; border-style: solid; margin: 0 !important; }

input:focus,
textarea:focus,
select:focus { background-image: none; border: 0.2em; border-color: #384C60; border-style: solid; margin: 0; }

input[type="checkbox"]:focus,
input[type="radio"]:focus { border: 0; margin: 0.1em; }

.boxes { border: none; }

.required { background-image: url(../../images/icons/icon-required.gif); background-position: right; background-repeat: no-repeat; }

/* Form message boxes */

div.tmtFormMessage,
div.tmtFormErrorMessage { border: 1px; border-style: solid; padding: 5px; margin: 10px; }

div.tmtFormMessage { background-color: #A4BFF0; border-color: #12387A; }

div.tmtFormErrorMessage { background-color: #F9D400; background-image:url(../../images/icons/icon-alert.gif); background-position: 20px 23px; background-repeat: no-repeat; border-color: #BB0000; padding-left: 30px; }

div.tmtFormMessage ul,
div.tmtFormErrorMessage ul { list-style-type: square; margin-top: 0px; margin-bottom: 0px; margin-left: 10px; padding-left: 10px; }