﻿/*	CajButton
-------------------------------------------------------------------------------- */
.imageSubmit,
.imageSubmitDisabled {
	white-space: nowrap;
}
/* высота кнопки */
.imageSubmit input,
.imageSubmitDisabled input {
	float: none;
	height: 20px;
	overflow: visible;
	padding: 0;
	margin: 0;
	border: none;
}
/* ширина дверей */
.imageSubmitLeft,
.imageSubmitRight {
	width: 8px;
}
/* картинки enabled-кнопки */
.imageSubmitLeft {
	background: url(../img/b_left.gif) no-repeat;
}
.imageSubmitRight {
	background: url(../img/b_right.gif) no-repeat;
}
.imageSubmitContent {
	background: url(../img/b.gif) repeat-x;
}
/* картинки disabled-кнопки */
.imageSubmitDisabled .imageSubmitLeft {
	background: url(../img/b_left_disabled.gif) no-repeat;
}
.imageSubmitDisabled .imageSubmitRight {
	background: url(../img/b_right_disabled.gif) no-repeat;
}
.imageSubmitDisabled .imageSubmitContent {
	background: url(../img/b_disabled.gif) repeat-x;
	color: #FFFFFF;
	font-weight: bold;
}
.imageTitledSubmit {
	padding-left: 20px;
	overflow: visible;
	border: none;
	background-position: left top;
	background-repeat: no-repeat;
	background-color: #FFF;
}


.button, .buttonDisabled { display:inline-block; height:24px; vertical-align:top; padding:0; }
.button input, .buttonDisabled input { padding:0 10px; margin:0; display:inline-block; height:23px; background:none; border:0; font:bold 11px Arial, Helvetica, sans-serif; color:#fff; }

.button { background:url('../img/input-text.gif') 0 0 no-repeat; cursor:pointer; }
.buttonDisabled { background:url('../img/input-text_disabled.gif') 0 0 no-repeat; cursor:pointer; }

.button input { background:url('../img/input-text.gif') 100% 100% no-repeat; cursor:default; }
.buttonDisabled input { background:url('../img/input-text_disabled.gif') 100% 100% no-repeat; cursor:default; }


.dateTimeControlCalendarImg {
	vertical-align:bottom;
	margin:-2px auto;
}

/* BaseList
-------------------------------------------------------------------------------- */
.listTable th
{
	/* отключение перевода строк между названием колонки и картинкой направления сортировки */
	white-space: nowrap;
}
/* Отступы ссылки на новый элемент и пейджера */
.listAddNewItem a#create-list-item
{
	margin: 10px 0;
	display: block;
}
.pagerMenu
{
	margin-bottom: 10px;
}

/* LinkObjectControl
-------------------------------------------------------------------------------- */
.linkObjectControlContainer
{
	white-space: nowrap;
}
.linkObjectControlContainer img
{
	cursor: pointer;
	/* чтобы контрол не занимал по высоте больше, т.к. картинки везде одинаковые, сделано здесь */
	vertical-align: bottom;
}

/* DateTimeControl
-------------------------------------------------------------------------------- */
.dateTimeControl
{
	width: 65px;
}

/* Spin Control
-------------------------------------------------------------------------------- */
.spinControlContainer
{
	white-space: nowrap;
}



/* ClientMultiSelectControl
-------------------------------------------------------------------------------- */
.clientMultiSelectControl img
{
	cursor: pointer;
}

/* FileControl
-------------------------------------------------------------------------------- */
div.fakeFileInput  { width:325px; }

div.fakeFileInput {
	position: relative;
	height: 20px;
	border: none;
}

.fakeFileInput .fileContainer{
	z-index: 2;
	position: absolute;
	right: 0;
	height: 20px;
	width: 75px;
	overflow: hidden;
}

div.fakeFileInput input.fakeFileInput_file {
	position: absolute;
	right: 0;
	z-index: 2;
	opacity: 0;
	filter: alpha(opacity = 0);
	height: 20px;
	font-size: 50px;
}

.fakeFileInput .fakeFileInput_file { cursor:pointer; }

div.fakeFileInput input.fakeFileInput_input {
	position: absolute;
	top: 0;
	left: 0;
}

.fakeFileInput_input { width:240px; }

.fakeFileInput .button, .fakeFileInput .hover {
	position: relative;
	top: 0;
	left:250px;
}

div.fakeFileInput .imageSubmit {
	position: absolute;
	top: 0;	
	left: 250px;
}

/* ImageCropper
-------------------------------------------------------------------------------- */
#imageHolder {
	position: relative;
	background-repeat: no-repeat;
}
#icCroppingArea {
}
#icDragbar {
	background: url(../img/ic_dragbar.gif) 0 0 no-repeat;
	cursor: move;
}

/*	TreeControl
-------------------------------------------------------------------------------- */
.tree {
	padding: 9px;
}
.tree input[type='checkbox'] {
	height: 14px;
	width: 14px;
	vertical-align: bottom;
}
.tree ul {
	padding: 0;
	margin: 0;
	list-style-type: none;
}
.tree li img {
	vertical-align: text-bottom;
}
.tree li a, .tree li span {
	padding: 0 2px;
	vertical-align: top;
}
*html .treeEditorTree,
*html #popupPage {
	height: 1%;
}
.control
{
	padding: 0 0 0 3px;
}
/*	ColorPicker
-------------------------------------------------------------------------------- */
.colorPicker 
{
	white-space: nowrap;
}
.colorPicker img 
{
	height: 20px;
	width: 20px;
	
	margin: 1px;
	vertical-align: bottom;
}
/* list .............................. */
.colorPicker ul
{
	display: none;
	position: absolute;
	width: auto;
	
	margin: 0;
	padding: 0;
	
	border: 1px solid #AAA;
	background-color: #EEE;
	
	list-style-type: none;
}
.colorPicker ul li
{
	margin: 0 0 1px;
	padding: 0;
	
	cursor: pointer;
}
.colorPicker ul li div
{
	padding: 0 5px;
	margin-left: 20px;
	line-height: 20px;
	
	border-left: 1px solid #EEE;
	
	color: #000;
	background-color: #FFF;
}
/* table .............................. */
.colorPicker table
{
	display: none;
	position: absolute;
	width: auto;
	
	border: 1px solid #AAA;
	background-color: #CCC;
}
.colorPicker table td
{
	width: 20px;
	height: 20px;
	
	border: 1px solid #FFF;
	cursor: pointer;
}
.colorPicker table td.blankColorCell
{
	border: 1px solid #CCC;
	cursor: default;
}
.radioControl {
	white-space: nowrap;
}

/* CAPTCHA 
-------------------------------------------------------------------------------- */
div.captchaImageContainer
{
	position: relative;
	height: 60px;
	padding-bottom: 5px;
}

.captchaContainer span
{
	position: absolute;
	top: 20px;
	left: 205px;
}

.required {
	background:url(../img/bg_required.gif) no-repeat top right;
	padding-right:10px !important;
}

.hint
{
	font-style: italic;
}

/*	Misc
-------------------------------------------------------------------------------- */
.formControlsTable td 
{
	padding: 0 5px 5px 0;
	vertical-align: middle;
}

.formControlsTable td .imageFileControlUpload
{
	vertical-align: top;
}

.selectOptionHighlighted 
{
	background-color: #EEF4F9;
}

/* сворачиваемая группа */
.optionalControlsTrigger
{
	cursor: pointer;
}

.optionalControlsTrigger span
{
	border-bottom: dashed 1px;
}

/*	arrayPropertyEditor
-------------------------------------------------------------------------------- */
/* строка таблицы, после котрой переместится выбранная */
table.arrayPropertyEditor tr.arrayPropertyEditorMoveAfter td 
{
	border-bottom: 3px solid #FFAB10;
	cursor: pointer;
}
	
/* стиль для контрола, на который повещен onclick */
.txtLink 
{
	text-decoration: underline;
	cursor: pointer;
	padding-bottom: 2px;
}

.textControlDisabled
{
	border: solid 1px;
	background-color: #F6F5F4;
}

/* Error */
.errorclass {
	border: 2px solid #A90F02;
	padding: 2px;
}
.selectValidationErrorContainer {
	border:2px solid #A90F02;
	padding:3px 0;
}
.errorCheckboxClass {
	border: 2px solid #A90F02;
	padding: 0 2px 2px;
	position: relative;
	vertical-align: bottom;
}
.errorCheckboxClass input
{
	padding: 0;
	vertical-align: bottom;
}

.errorCheckboxClass label.forCheckbox
{
	margin: 0;
	line-height: 13px;
	vertical-align: bottom;
}
