.wm4-form .wm4-form-in {
    background-color: #788599;
    padding: 10px 5px 1px 12px;
    clear: both;
}


.wm4-form .wm4-form-caption {
    background-color: #788599;
    margin: 0 0 0 15px; padding: 0;
    background-image: url(../img/forms/wm4-form-caption.gif);
    background-position: left top;
    background-repeat: no-repeat;
    overflow: hidden;
    float: left;
}
.wm4-form .wm4-form-caption-right-corner {
    background-image: url(../img/forms/wm4-form-caption-right-corner.gif);
    background-position: right top;
    background-repeat: no-repeat;
    overflow: hidden;
}
.wm4-form .wm4-form-caption h2 {
    font-size: 1.3em;
    color: #FFF;
    margin: 0; padding: 6px 12px 0 12px;
}
.wm4-form .wm4-form-caption a {
    color: #FFF;
    text-decoration: none;
}
.wm4-form .wm4-form-caption a:hover {
    text-decoration: none;
}
.wm4-form .wm4-form-submit {
    background-color: #788599;
    margin: 0 15px 10px 0; padding: 0;
    background-image: url(../img/forms/wm4-form-submit.gif);
    background-position: left bottom;
    background-repeat: no-repeat;
    overflow: hidden;
    float: right;
}
.wm4-form .wm4-form-submit-right-corner {
    background-image: url(../img/forms/wm4-form-submit-right-corner.gif);
    background-position: right bottom;
    background-repeat: no-repeat;
    overflow: hidden;
    padding: 0 12px 8px 12px;
}

.wm4-form .wm4-form-top {
    clear: both;
    background-color: #788599;
    background-image: url(../img/forms/wm4-form-top.gif);
    background-position: left top;
    background-repeat: no-repeat;
    height: 2px;
}
.wm4-form .wm4-form-top-right-corner {
    background-color: #788599;
    background-image: url(../img/forms/wm4-form-top-right-corner.gif);
    background-position: left top;
    background-repeat: no-repeat;
    width: 2px;
    height: 2px;
    float: right;
    overflow: hidden;
}
.wm4-form .wm4-form-bottom {
    background-color: #788599;
    background-image: url(../img/forms/wm4-form-bottom.gif);
    background-position: left top;
    background-repeat: no-repeat;
    height: 2px;
    overflow: hidden;
}
.wm4-form .wm4-form-bottom-right-corner {
    background-color: #788599;
    background-image: url(../img/forms/wm4-form-bottom-right-corner.gif);
    background-position: left top;
    background-repeat: no-repeat;
    width: 2px;
    height: 2px;
    float: right;
    overflow: hidden;
}

.wm4-form .wm4-form-fieldset {
    background-position: 0 0;
    background-repeat: no-repeat;
    margin: 0 0 4px 0;
}
.wm4-form-editable .wm4-form-fieldset {
    background-image: url(../img/forms/wm4-form-fieldset.gif);
    background-color: #CBD370;
}
.wm4-form-readonly .wm4-form-fieldset {
    background-color: white;
}
    
    
.wm4-form .wm4-form-fieldset-left-border {
    background-image: url(../img/forms/wm4-form-fieldset-left-border.gif);
    background-position: left top;
    background-repeat: repeat-y;
}
.wm4-form .wm4-form-fieldset-right-border {
    background-image: url(../img/forms/wm4-form-fieldset-right-border.gif);
    background-position: right top;
    background-repeat: no-repeat;
}
.wm4-form .wm4-form-fieldset-title {
    font-size: 1.4em;
    margin: 0 16px 0 15px; padding: 8px 0 8px 0;
    font-weight: bold;
    border-bottom: 1px solid #A4A77D;
}
.wm4-form .wm4-form-fieldset-actions {
    margin: 0; padding: 8px 16px 0 0;
    float: right;
    overflow: hidden;
}
.wm4-form .wm4-form-fieldset-actions input {
    width: 15px;
    height: 15px;
    margin: 0; padding: 0;
    border: none;
    text-indent: 15px;
    cursor: pointer; /* hand-shaped cursor */
    cursor: hand; /* for IE 5.x */
    overflow: hidden;
    line-height: 0;
    border-style: none;
}
.wm4-form .wm4-form-fieldset-actions input.button-remove-item {
    background: url(../img/forms/delete.gif) no-repeat 0 top;
}
.wm4-form .wm4-form-fieldset-actions input.button-move-begin {
    background: url(../img/forms/begin.gif) no-repeat 0 top;
}
.wm4-form .wm4-form-fieldset-actions input.button-move-up {
    background: url(../img/forms/up.gif) no-repeat 0 top;
}
.wm4-form .wm4-form-fieldset-actions input.button-move-down {
    background: url(../img/forms/down.gif) no-repeat 0 top;
}
.wm4-form .wm4-form-fieldset-actions input.button-move-end {
    background: url(../img/forms/end.gif) no-repeat 0 top;
}
.wm4-form .wm4-form-fieldset-actions input.button-help {
    background: url(../img/forms/help.gif) no-repeat 0 top;
}
.wm4-form .wm4-form-fieldset-actions input:hover {
    background-position: -15px top;
}
.wm4-form .wm4-form-fieldset-top {
    height: 2px;
    background-image: url(../img/forms/wm4-form-fieldset-top.gif);
    background-position: left top;
    background-repeat: no-repeat;
    overflow: hidden;
}
.wm4-form .wm4-form-fieldset-top-right-corner {
    float: right;
    height: 2px;
    width: 9px;
    background-image: url(../img/forms/wm4-form-fieldset-top-right-corner.gif);
    background-position: left top;
    background-repeat: no-repeat;
    overflow: hidden;
}
.wm4-form .wm4-form-fieldset-bottom {
    height: 9px;
    background-image: url(../img/forms/wm4-form-fieldset-bottom.gif);
    background-position: left top;
    background-repeat: no-repeat;
    overflow: hidden;
}
.wm4-form .wm4-form-fieldset-bottom-right-corner {
    float: right;
    height: 9px;
    width: 9px;
    background-image: url(../img/forms/wm4-form-fieldset-bottom-right-corner.gif);
    background-position: left top;
    background-repeat: no-repeat;
    overflow: hidden;
}
.wm4-form .wm4-form-fieldset-body {
    margin: 8px 8px 0 7px; padding: 0 8px 8px 8px;
}
.wm4-form .wm4-form-fieldset-body textarea {
    width: 99%;
}
.wm4-form .wm4-form-fieldset-body iframe {
    background-color: #fff;
}


.wm4-form-error {
    color: red;
}



/* tables in forms */
.wm4-form table {
    border-collapse: collapse;
    text-align: left;
    width: 100%;
}
.wm4-form th {
    vertical-align: top;
    text-align: center;
    margin: 0; padding: 3px 5px;
}
.wm4-form td {
    vertical-align: top;
    margin: 0; padding: 3px 5px;
}
.wm4-form-editable th {
    background-color: #BBC360;
    border: solid 1px #AB5;
}
.wm4-form-editable td {
    border: solid 1px #AB5;
}
.wm4-form-readonly th {
    background-color: #EEE;
    border: solid 1px #DDD;
}
.wm4-form-readonly td {
    border: solid 1px #DDD;
}



/* widgets */

div.wm4-form-widget-date {
    white-space:nowrap;
}
