input.widgetupload,
input.widgetinputfield {
    height: auto;
    font-size: 1em;
    line-height: 1em;
}

textarea.widgettextarea {
    font-size: 1em;
}

select.widgetselectbox {
    font-size: 1em;
}

fieldset.widgetfieldset {
    padding: 5px;
    clear: both;
}

hr.widgetseparator {
    color: transparent;
    height: 1px;
    clear: both;
    float: none !important;
}

input.widgetcheckbox {
    height: 15px;
    width: 15px;
}

input.widgetcheckbox + label {
    padding-left: 2px;
    display: inline;
}

div.widgetcheckboxgroup input.widgetcheckbox {
    float: left;
    clear: both;
    height: 15px;
    width: 15px;
}

div.widgetcheckbox {
    float: left;
    clear: both;
    width: 1em;
    height: 1em;
    background-repeat: no-repeat;
    background-position: center center;
    line-height: 1px;
}

div.widgetcheckbox-on {
    background-image: url("images/widgetform/widgetcheckbox_black_on.gif");
}

div.widgetcheckboxgroup-horz input.widgetcheckbox {
    clear: none;
}

div.widgetcheckboxgroup label {
    float: left;
    padding-left: 2px;
    display: inline;
}

div.widgetradiogroup {
    float: left;
}

div.widgetradiogroup input.widgetradiobutton {
    float: left;
    clear: both;
}

div.widgetradiogroup-horz input.widgetradiobutton {
    clear: none;
}

div.widgetradiogroup label {
    float: left;
    padding-top: 2px;
    display: inline;
}

dl.widgetform {
    margin: 0;
    padding: 0;
}

dl.widgetform dt {
    width: 170px;
    padding: 0 0 2px 0 !important;
    padding: 2px 0;
    clear: both;
    margin: 0 0 6px 0;
    _margin: 0 !important;
    height: auto !important;
    height: 1em;
    line-height: normal;
    min-height: 1em;
}

dl.widgetform dt label {
    display: inline;
}

dl.widgetform dt.widgetform-horz {
    float: left;
}

dl.widgetform dt.widgetform-vert {
    padding: 0;
    width: auto;
}

dl.widgetform dt dfn {
    font-size: 0.8em;
    color: #828790;
    clear: both;
    display: block;
    font-style: normal;
    font-weight: normal;
}

dl.widgetform dd {
    padding: 0 0 2px 0 !important;
    padding: 2px 0;
    margin: 0 0 4px 0px !important;
    _margin: 0;
    height: auto !important;
    height: 1em;
    min-height: 1em;

    /* Floats needed for the Validator warning icons */
    _float: left !important;
    float: left !important;
    float: none;
}

dl.widgetform dd.widgetform-help {
    z-index: 2;
}

dd.widgetform-vert {
    clear: both;
    float: none !important;
    padding: 0;
}

dl.widgetform dd.widgetform-horz {
    float: none;
    position: relative;
}

dd.widgetform-horz > * {
    float: left;
}

/* IE7-only hack */
html>body dl.widgetform dd.widgetform-horz {
    *float: none !important;
}

dd.widgetform-nolabel {
    clear: both;
    float: none;
    width: 100%;
}

html body dl.widgetform dt.discard,
html body dl.widgetform dd.discard {
    display: none !important;
}

span.widgetupload {
    padding-left: 5px;
}

div.helpicon {
    position: absolute;
    right: -20px;
    top: 0px;
    display: block;
    z-index: 999;
    margin-left: 5px;
    margin-top: 2px;
    cursor: pointer;
}

div.helpicon div.containerHelp {
    display: none;
    left: 20px;
    top: -4px;
    padding: 3px;
    position: absolute;
    border: 1px solid #CCCCCC;
    background-color: #FFFFD7;
    width: 140px;
    font-size: 11px;
}

@media print {
    textarea.widgettextarea {
        overflow: visible;
        height: auto !important;
        border: none !important;
        resize: none;
    }

    input.widgetinputfield {
        overflow: visible;
        height: auto;
        border: none !important;
        white-space: normal;
    }

    select.widgetselectbox {
        overflow: hidden;
        width: auto;
        border: 0px !important;
        padding: 0;
        -moz-appearance: none;
        -webkit-appearance: none;
        appearance: none;
    }
}