/**
 * Label component
 */
.input-label {
}

/**
 * Button component
 */
BUTTON.input-button, BUTTON.input-button-cancel {
    border:0 none;
    color:#085397;
    font-family:Arial;
    font-size:12px;
    font-style:normal;
    font-variant:normal;
    font-weight:normal;
    height:25px;
    line-height:normal;
    padding:2px 8px 3px 0;
    text-align:center;

    background:transparent url(http://www.mosenergosbyt.ru:80/mes_portal_site/resource/theme/input/images/short-btn.gif) no-repeat scroll 0% 50%;
    padding-left:8px;
    width:95px;
}

BUTTON.input-button-disabled {
    border:0 none;
    color:#085397;
    font-family:Arial;
    font-size:12px;
    font-style:normal;
    font-variant:normal;
    font-weight:normal;
    height:25px;
    line-height:normal;
    padding:2px 8px 3px 0;
    text-align:center;

    background:transparent url(http://www.mosenergosbyt.ru:80/mes_portal_site/resource/theme/input/images/short-btnr.gif) no-repeat scroll 0% 50%;
    padding-left:8px;
    width:95px;
}

BUTTON.input-button-small {
    border:0 none;
    color:#085397;
    font-family:Arial;
    font-size:12px;
    font-style:normal;
    font-variant:normal;
    font-weight:normal;
    height:25px;
    line-height:normal;
    padding:2px 8px 3px 0;
    text-align:center;

    background:transparent url(http://www.mosenergosbyt.ru:80/mes_portal_site/resource/theme/input/images/small-btn.gif) no-repeat scroll 0% 50%;
    padding-left:6px;
    width:65px;
}
BUTTON.input-button-small-disabled {
    border:0 none;
    color:#085397;
    font-family:Arial;
    font-size:12px;
    font-style:normal;
    font-variant:normal;
    font-weight:normal;
    height:25px;
    line-height:normal;
    padding:2px 8px 3px 0;
    text-align:center;

    background:transparent url(http://www.mosenergosbyt.ru:80/mes_portal_site/resource/theme/input/images/small-btnr.gif) no-repeat scroll 0% 50%;
    padding-left:6px;
    width:65px;
}

BUTTON.input-button-medium {
    border:0 none;
    color:#085397;
    font-family:Arial;
    font-size:12px;
    font-style:normal;
    font-variant:normal;
    font-weight:normal;
    height:25px;
    line-height:normal;
    padding:2px 8px 3px 0;
    text-align:center;

    background:transparent url(http://www.mosenergosbyt.ru:80/mes_portal_site/resource/theme/input/images/med-btn.gif) no-repeat scroll 0% 50%;
    padding-left:0;
    width:130px;
}
BUTTON.input-button-medium-disabled {
    border:0 none;
    color:#085397;
    font-family:Arial;
    font-size:12px;
    font-style:normal;
    font-variant:normal;
    font-weight:normal;
    height:25px;
    line-height:normal;
    padding:2px 8px 3px 0;
    text-align:center;

    background:transparent url(http://www.mosenergosbyt.ru:80/mes_portal_site/resource/theme/input/images/med-btnr.gif) no-repeat scroll 0% 50%;
    padding-left:0px;
    width:130px;
}
BUTTON.input-button-send {
    border:0 none;
    color:#085397;
    font-family:Arial;
    font-size:12px;
    font-style:normal;
    font-variant:normal;
    font-weight:normal;
    height:25px;
    line-height:normal;
    padding:2px 8px 3px 0;
    text-align:center;

    background:transparent url(http://www.mosenergosbyt.ru:80/mes_portal_site/resource/theme/input/images/send-btn.gif) no-repeat scroll 0%;
    width:95px;
}
BUTTON.input-button-send-disabled {
    border:0 none;
    color:#085397;
    font-family:Arial;
    font-size:12px;
    font-style:normal;
    font-variant:normal;
    font-weight:normal;
    height:25px;
    line-height:normal;
    padding:2px 8px 3px 0;
    text-align:center;

    background:transparent url(http://www.mosenergosbyt.ru:80/mes_portal_site/resource/theme/input/images/send-btnr.gif) no-repeat scroll 0%;
    width:95px;
}
BUTTON.input-button-delete {
	border:0 none;
	width:17px;
	height:17px;
    background: url(http://www.mosenergosbyt.ru:80/mes_portal_site/resource/theme/input/images/delete_item.gif) no-repeat scroll 0%;
    position: relative;
    top: -3px;
    left: 5px;
}



/**
 * Link component
 */
A.input-link {
    cursor:pointer;
    text-decoration: none;
}

A.input-link:HOVER {
    text-decoration: underline;
}



/**
 * String component
 */
.input-string {
    width: 300px;
    height: 20px;
    border: 1px solid #739EC4;
}
.input-string-view {
    width: 300px;
    height: 20px;
    border: 1px solid #CED0D8;
}


/**
 * Text component
 */
.input-text {
    width: 300px;
    border: 1px solid #739EC4;
}
.input-text-view {
    width: 300px;
    border: 1px solid #CED0D8;
}


/**
 * Integer component
 */
.input-integer {
    width: 100px;
    height: 20px;
    border: 1px solid #739EC4;
}
.input-integer-view {
    width: 100px;
    height: 20px;
    border: 1px solid #CED0D8;
}


/**
 * Float component
 */
.input-float {
    width: 100px;
    height: 20px;
    border: 1px solid #739EC4;
}
.input-float-view {
    width: 100px;
    height: 20px;
    border: 1px solid #CED0D8;
}


/**
 * Currency component
 */
.input-money {
    width: 100px;
    height: 20px;
    text-align: right;
    border: 1px solid #739EC4;
}
.input-money-view {
    width: 100px;
    height: 20px;
    text-align: right;
    border: 1px solid #CED0D8;
}


/**
 * Date component
 */
.input-date {
    white-space: nowrap;
}
.input-date INPUT {
    width: 80px;
    height: 20px;
    border:1px solid #739EC4;
}
.input-date IMG {
    margin-left: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}
.input-date-view {
    white-space: nowrap;
}
.input-date-view INPUT {
    width: 80px;
    height: 20px;
    border: 1px solid #CED0D8;
}
.input-date-view IMG {
    display: none;
}


.input-datetime {
    white-space: nowrap;
}
.input-datetime INPUT {
    width: 110px;
    height: 20px;
    border: 1px solid #739EC4;
}
.input-datetime IMG {
    margin-left: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}
.input-datetime-view {
    white-space: nowrap;
}
.input-datetime-view INPUT {
    width: 110px;
    height: 20px;
    border: 1px solid #CED0D8;
}
.input-datetime-view IMG {
    display: none;
}



/**
 * Boolean component
 */
.input-boolean {
}
.input-boolean[indeterminate="true"] {
    background-image: url(http://www.mosenergosbyt.ru:80/mes_portal_site/resource/theme/input/images/bkg_chb-disabled.png);
}
.input-boolean-view {
}
.input-boolean-view[indeterminate="true"] {
    background-image: url(http://www.mosenergosbyt.ru:80/mes_portal_site/resource/theme/input/images/bkg_chb-disabled.png);
}


/**
 * ChoiceList component
 */
.input-choicelist-select SELECT {
    width: 300px;
    border: 1px solid #739EC4;
}
.input-choicelist-select INPUT {
    display: none;
}
.input-choicelist-select-view SELECT {
    display: none;
}
.input-choicelist-select-view INPUT {
    width: 300px;
    border: 1px solid #CED0D8;
}


.input-choicelist-radio {
    display: table;
}
.input-choicelist-radio TABLE {
    border: none;
    width: 300px;
}
.input-choicelist-radio TR {
    padding: 3px 0;
    vertical-align: middle;
}
.input-choicelist-radio TR.input-choicelist-radio-item TD {
    font-weight: bold;
    white-space: nowrap;
    padding: 4px 0 0 10px;
}
.input-choicelist-radio TR.input-choicelist-radio-item TD LABEL {
    height: 12px;
    cursor: pointer;
}
.input-choicelist-radio TR.input-choicelist-radio-desc TD {
    border-top: 1px solid #5C5C5C;
    padding: 0 0 4px 24px;
}
.input-choicelist-radio INPUT.input-choicelist-radio-outview {
    display: none;
}
.input-choicelist-radio-view TABLE {
    display:  none;
}
.input-choicelist-radio-view INPUT.input-choicelist-radio-outview {
    width: 300px;
    border: 1px solid #777777;
}



.input-choicelist-radio2 {
    display: table;
}
.input-choicelist-radio2 TABLE {
    border: none;
    width: 270px;
}
.input-choicelist-radio2 TR {
    padding: 3px 0 3px 0;
    vertical-align: middle;
}
.input-choicelist-radio2 TR.input-choicelist-radio-item TD {
    font-weight: bold;
/*    white-space: nowrap;  */
    padding: 4px 0 0 0;
}
.input-choicelist-radio2 TR.input-choicelist-radio-item TD LABEL {
    height: 12px;
    cursor: pointer;
}
.input-choicelist-radio2 TR.input-choicelist-radio-desc TD {
    border-top: 1px solid #5C5C5C;
    padding: 0 0 4px 24px;
}
.input-choicelist-radio2 INPUT.input-choicelist-radio-outview {
    display: none;
}
.input-choicelist-radio2-view TABLE {
    display:  none;
}
.input-choicelist-radio2-view INPUT.input-choicelist-radio-outview {
    width: 300px;
    border: 1px solid #777777;
}



/**
 * MultiChoiceList component
 */
.input-multichoicelist-select {
    width: 300px;
    border: 1px solid #739EC4;
}
.input-multichoicelist-select-view {
    width: 300px;
    border: 1px solid #777777;
}


.input-multichoicelist-checkbox {
    display: table;
}
.input-multichoicelist-checkbox  TABLE {
    border: none;
    width: 300px;
}
.input-multichoicelist-checkbox  TR {
    padding: 3px 0;
    vertical-align: middle;
}
.input-multichoicelist-checkbox  TR.input-multichoicelist-checkbox-item TD {
    font-weight: bold;
    white-space: nowrap;
}
.input-multichoicelist-checkbox  TR.input-multichoicelist-checkbox-item TD LABEL {
    height: 12px;
    cursor: pointer;
}
.input-multichoicelist-checkbox  TR.input-multichoicelist-checkbox-desc TD {
    border-top: 1px solid #5C5C5C;
    padding: 0 0 4px 24px;
}
.input-multichoicelist-checkbox  INPUT.input-multichoicelist-checkbox-outview {
    display: none;
}
.input-multichoicelist-checkbox-view TABLE {
    display:  none;
}
.input-multichoicelist-checkbox-view  INPUT.input-multichoicelist-checkbox-outview {
    width: 300px;
    border: 1px solid #777777;
}




/**
 * YearList component
 */
.input-yearlist SELECT {
    width: 100px;
    border: 1px solid #739EC4;
}
.input-yearlist INPUT {
    display: none;
}
.input-yearlist-view SELECT {
    display: none;
}
.input-yearlist-view INPUT {
    width: 100px;
    border: 1px solid #CED0D8;
}


/**
 * MonthList component
 */
.input-monthlist SELECT {
    width: 100px;
    border: 1px solid #739EC4;
}
.input-monthlist INPUT {
    display: none;
}
.input-monthlist-view SELECT {
    display: none;
}
.input-monthlist-view. INPUT {
    width: 100px;
    border: 1px solid #CED0D8;
}

/**
 * MonthYear component
 */
.input-monthyear {
    white-space: nowrap;
}
.input-monthyear SELECT {
    width: 100px;
    margin-right: 3px;
    border: 1px solid #739EC4;
}
.input-monthyear INPUT {
    display: none;
}
.input-monthyear-view {
    white-space: nowrap;
}
.input-monthyear-view SELECT {
    display: none;
}
.input-monthyear-view INPUT {
    width: 100px;
    border: 1px solid #CED0D8;
}


/**
 * LookupInput component
 */
.input-lookup {
    white-space: nowrap;
}
.input-lookup INPUT {
    width: 300px;
    height: 20px;
    border: 1px solid #739EC4;
}
.input-lookup IMG {
    margin-left: 3px;
    cursor: pointer;
}
.input-lookup-view {
    white-space: nowrap;
}
.input-lookup-view INPUT {
    width: 300px;
    height: 20px;
    border: 1px solid #CED0D8;
}
.input-lookup-view IMG {
    display: none;
}


/**
 * File component
 */
.input-file {
}
.input-file TR TD.input-file-display {
}
.input-file TR TD.input-file-buttons IMG {
    margin-left: 3px;
}
.input-file TR.input-file-container TD INPUT{
    width: 200px;
    height: 20px;
    border: 1px solid #739EC4;
}
.input-file-view {
}
.input-file-view TR TD.input-file-display {
}
.input-file-view TR TD.input-file-buttons IMG {
    display: none;
}
.input-file-view TR.input-file-container {
    display: none;
}


/**
 * Period component
 */
.input-period {
    width: 300px;
}
.input-period TR TD.input-period-selector {
    padding-left: 0;
    width: 0;
}
.input-period TR.input-period-items-row TD {
    padding-top: 7px; 
}
.input-period TR.input-period-items-row TD SELECT {
    width: 233px;
    border: 1px solid #739EC4;
}

.input-period-view {
    width: 300px;
}
.input-period-view TR TD.input-period-selector {
    width: 0;
}
.input-period-view TR.input-period-items-row TD {
    padding-top: 7px;
}
.input-period-view TR TD.input-period-selector INPUT {
    display: none;
}
.input-period-view TR.input-period-items-row {
    display: none;
}



INPUT.input-common-readonly, TEXTAREA.input-common-readonly, SELECT.input-common-readonly, .input-common-readonly INPUT, .input-common-readonly SELECT {
    background-color: #E0E0E0;
}
.input-common-error {
    border: 2px solid red !important;
}
.input-common-warning {
    border: 2px solid navy !important;
}

