﻿.form {
    background: #F7F7F9;
    padding: 15px 30px;
    height: 0.01%; /* IE bug fix */
    overflow: auto;
    border: 1px solid #D7D7DE;
    border-radius: 24px;
    margin: 24px 0;
}

    .form .formrow {
        margin-bottom: 16px;
    }

    .form label {
		display: inline;
    }

    .form input, .form select {
		display: inline;
    }

.inlineleft {
    display: inline;
    float: left;
}

.formsection {
    float: left;
    clear: both;
    margin: 14px 0;
    padding: 0;
}

.required {
    color: Red;
    font-weight: bold;
}

/* ########### FORM STYLES ############# */
label {
    font-size: .85em;
    margin-bottom: 2px;
    font-weight: normal;
    color: #333;
}

.form textarea {
    width: 100%;
    height: 10em;
}

.form [class*="span"] {
    /*float:left;*/
    margin-bottom:16px;
}

input[type=text],
textarea,
select,
input[type=password] {
    background: #fff url("/Content/themes/toolbox_1_0/images/input_bg.gif") repeat-x;
    border-color: #B0B0B0 #CCCCCC #CCCCCC;
    border-style: solid;
    border-width: 1px;
    color: #333;
    /*width:90%;*/
}

.field-validation-error {
    color: Red;
    display: block;
    float: left;
    clear: both;
}

.field-validation-valid {
    display: none;
}

/* ############### Field Group (label on top) ################ */
.fieldGroup {
    /*margin-right: 15px;*/
}

    .fieldGroup label {
        display: block;
    }

    .fieldGroup input {
        margin: 2px 0 0 0;
    }

    .fieldGroup select {
        margin: 3px 0 0 0;
    }

    .fieldGroup input[type=checkbox] {
        margin: 0 3px 0 0;
        padding: 0;
    }

/* ########### File Group Inline (label on left) ############## */

.fieldGroupInline label {
    display: inline;
    float: left;
    margin-right: 8px;
}

.fieldGroupInline input[type=text],
.fieldGroupInline textarea,
.fieldGroupInline select {
    display: inline;
    float: left;
    margin-right: 8px;
}

/* ########## All form elements ########### */
input[type=text]:focus,
textarea:focus,
select:focus {
    border: 1px solid #777;
}

input[type=checkbox] {
    margin: 0px 5px 0 0;
}

input[type=button], input[type=submit], input[type=reset], button{
    background: #1C5BA2;
    color: #ffffff;
    border: 2px outset #777777;
    padding: 8px 12px;
    float: none;
    clear: both;
}

    input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover, button:hover {
        border: 2px inset #333333;
    }

    input[type=button]:active, input[type=submit]:active, input[type=reset]:active, button:active {
        border: 2px groove #00A05F;
    }

.tiny {
    width: 20px;
}

.short {
    width: 50px;
}

.medium {
    width: 100px;
}

.long {
    width: 200px;
}

.date {
    width: 85px;
}

.integer {
    width: 50px;
}

.shortinteger {
    width: 30px;
}

.longinteger {
    width: 75px;
}

.percent {
    width: 25px;
    margin-right: 0;
}

.state {
    width: 30px;
}

/* ############# CHECKBOX ################ */
/* ######################################### */
.cblistlabel {
    /* should closely match regular label style */
    display: block;
    font-size: .85em;
    margin-bottom: 4px;
    font-weight: normal;
    color: #333;
}

.cbgroup label {
    display: inline;
}

.cbgroup input[type='checkbox'] {
    display: inline;
}

.cblisthorizontal {
    margin-left: 10px;
}

    .cblisthorizontal .cbgroup {
        float: left;
        display: inline;
    }

.cblistvertical {
    margin-left: 10px;
}

    .cblistvertical .cbgroup {
        clear: both;
        margin: 4px 0;
    }

.cbtable {
    padding: 0 10px;
}

    .cbtable label {
        margin-right: 15px;
        display: inline;
    }

/* ######### DROPDOWN LIST ################ */
/* ######################################### */
.dlstlabel {
    /* should closely match regular label style */
    display: block;
    font-size: .85em;
    margin-bottom: 4px;
    font-weight: normal;
    color: #333;
}

/* ######### WNT DUAL LIST BOX ############# */
/* ######################################### */
.mbDualList select {
    margin: 0;
}

/* ######### RADIO BUTTONS ################ */
/* ######################################### */
.rblistlabel {
    /* should closely match regular label style */
    display: block;
    font-size: .85em;
    margin-bottom: 4px;
    font-weight: normal;
    color: #333;
}

.rblisthorizontal label,
.rblistvertical label {
    margin-right: 10px;
    display: inline;
}

.rblisthorizontal input[type=radio],
.rblistvertical input[type=radio] {
    margin: 0 3px 0 0;
    padding: 0;
}

.rblisthorizontal {
    margin-left: 8px;
}

.rbgroup label {
}

.rbgroup input[type='radio'] {
}

    /*.rblisthorizontal .rbgroup {
        float: left;
        display: inline;
    }

.rblistvertical {
    margin-left: 8px;
}

    .rblistvertical .rbgroup {
        clear: both;
        margin: 4px 0;
    }*/

/*USE RepeatColumns Property on the Radio Button List Control to set number of columns in the table i.e. RepeatColumns="4"*/

.rbtable {
    padding: 0 10px;
}

    .rbtable label {
        margin-right: 10px;
        display: inline;
    }

    .rbtable input[type=radio] {
        margin: 0 3px 0 0;
        padding: 0;
    }

.disabled {
    background: #CCCCCC;
    color: #777;
    font-style: italic;
}
