/*****************************************/
/* superfix for mozilla wrong input height */
/*****************************************/
select::-moz-focus-inner,
input::-moz-focus-inner
{
	border: 0;
	padding: 0;
}

/*****************************************/
/* form fields */
/*****************************************/

.field{}/*Only for IDE*/
.form .field
{
	position: relative;
	width: 100%;
	margin-top: 26px;
	font-size: 1.4rem;
	/*line-height: 1.5;*/
}
.form .field input[type='text'],
.form .field input[type='password'],
.form .field textarea,
.form .field select
{
	display: inline-block;
	outline: none;
	background-color: #FFFFFF;
	box-shadow: none;
	padding: 0 12px;
	font-size: 1.4rem;
	width: 100%;
	line-height: 1.42857143;
	height: 36px;
	border: 1px solid #D2D6DE;
	border-radius: 2px;
	color: #555555 !important;
	transition: all 0.3s ease 0s;
}
.form .field label input[type='text'],
.form .field label input[type='password'],
.form .field label textarea,
.form .field label select
{
	display: block;
}
.form .field select
{
	visibility: hidden;
	display: block;
}
.form .field textarea
{
	padding-top: 9px;
}
.form .field input[type='text'],
.form .field input[type='password'],
.form .field textarea
{
	-webkit-touch-callout: text; /* iOS Safari */
	-webkit-user-select: text; /* Chrome/Safari/Opera */
	-khtml-user-select: text; /* Konqueror */
	-moz-user-select: text; /* Firefox */
	-ms-user-select: text; /* Internet Explorer/Edge */
	user-select: text; /* Non-prefixed version, currently not supported by any browser */
}
.form .field textarea
{
	height: 60px;
	min-height: 60px;
	overflow: hidden;
}
.form .field select
{
	background-color: #FFFFFF;
	padding-top: 10px;
	padding-bottom: 10px;
}
.form .field select[multiple]
{
	height: 42px;
}
.form .field select option
{
	padding-left: 15px;
}
.form .field select optgroup
{
	padding-left: 15px;
}
.form .field select option:disabled
{
	color: #BBBBBB !important;
}
.form .field select[multiple] optgroup,
.form .field select[multiple] option
{
	padding-left: 0;
}
.form .field select[multiple] optgroup option
{
	padding-left: 15px;
}
.field-file{}/* Only for IDE */
.form .field-file input[type='file']
{
	position: absolute;
	left: -10000px;
}

.form .field input[type='text']:focus,
.form .field input[type='password']:focus,
.form .field textarea:focus
{
	outline: none;
	transition:0.2s ease all;
	border: 1px solid #3C8DBC;
}
.form .field input[type='text']:hover,
.form .field input[type='password']:hover,
.form .field textarea:hover
{
	outline: none;
}
.form .field input[type='text'] ~ i,
.form .field input[type='password'] ~ i,
.form .field textarea ~ i,
.form .field select ~ i
{
	color: #BBBBBB !important;
	font-size: 1.4rem;
	font-weight: normal;
	position: absolute;
	pointer-events: none;
	left: 15px;
	top: 15px;
	line-height: 1.2;

	/* Эти правила необходимы, чтобы ограничить ширину строки текста и, если он вылазит за нее, то автоматически поставится троеточие вконце */
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	max-width: 90%;
}
.form .field input[type='text'] ~ i.transition,
.form .field input[type='password'] ~ i.transition,
.form .field textarea ~ i.transition,
.form .field select ~ i.transition
{
	transition: 0.2s ease all;
	-moz-transition: 0.2s ease all;
	-webkit-transition: 0.2s ease all;
}

/*Специальный класс not-empty, присваиваемый в JS, означающий, что поле является заполненным значением*/
.form .field input[type='text'].not-empty ~ i,
.form .field input[type='password'].not-empty ~ i,
.form .field textarea.not-empty ~ i,
/*При фокусе*/
.form .field input[type='text']:focus ~ i,
.form .field input[type='password']:focus ~ i,
.form .field textarea:focus ~ i,
/*Для всех селектов*/
.form .field select ~ i,
/*Для текстовых полей, у которых есть атрибут value и он не пуст*/
/*ВНИМАНИЕ! Указание свойств, которые затрагивают атрибут value не имеет должного эффекта, так как значение меняется в DOM в процессе работы, а вот сам атрибут, на который реагирует CSS, не меняет свое состояние.
НО, если указать их, используя специальный класс formFieldFix (для body), а при загрузе страницы, удалять этот класс, то такой трюк сработает*/
.formFieldFix .form .field input[type='text']:not([value='']) ~ i,
.formFieldFix .form .field input[type='password']:not([value='']) ~ i,
.formFieldFix .form .field textarea:not(:empty) ~ i
{
	top: 6px;
	font-size: 1.2rem;
	color: #3C8DBC !important;
}
/*Для текстовых полей, которые не имеют атрибут value*/
/*ВНИМАНИЕ! Указание свойств, которые затрагивают атрибут value не имеет должного эффекта, так как значение меняется в DOM в процессе работы, а вот сам атрибут, на который реагирует CSS, не меняет свое состояние.
НО, если указать их, используя специальный класс formFieldFix (для body), а при загрузе страницы, удалять этот класс, то такой трюк сработает*/
.formFieldFix .form .field input[type='text']:not([value]) ~ i,
.formFieldFix .form .field input[type='password']:not([value]) ~ i
{
	top: 15px;
	font-size: 1.4rem;
	color: #BBBBBB !important;
}

.form .field input[type='text'].error,
.form .field input[type='password'].error,
.form .field textarea.error,
.form .field select.error
{
	border-color: #DB930F;
}
.form .field input[type='text'].error ~ i,
.form .field input[type='password'].error ~ i,
.form .field textarea.error ~ i
{
	color: #DB930F !important;
}

/*****************************************************/

.field-fiction{}/*Only for IDE*/

.form .field label,
.form .field-fiction label
{
	display: inline-block;
	width: 100%;
	position: relative;
	font-size: 1.4rem;
	font-weight: 400;
	color: #333333 !important;
	cursor: default;
}
.form .field label small
{
	color: #b7b7b7;
}
.form .field.field-checkbox,
.form .field.field-radio
{
	/*Only for SDK autocomplete */
}
.form .field.field-checkbox label,
.form .field.field-radio label
{
	min-width: 16px;
	min-height: 16px;
	padding-left: 22px;
	font-weight: 400;
	cursor: pointer;
}
.form .super-field .field.col > label input[type='text'],
.form .super-field .field.col > label select,
.form .super-field .field.col > label select ~ .select2,
.form .super-field .field.col > label textarea,
.form .super-field .field-fiction.col > label .field-fiction-text
{
	margin-top: 0;
}
.form .field label input[type='text'],
.form .field label input[type='password'],
.form .field label select,
.form .field label select ~ .select2,
.form .field label textarea,
.form .field label textarea ~ .cke,
.form .field-fiction label .field-fiction-text
{
	margin-top: 5px;
}
.form .field label select ~ .select2
{
	display: block;
}
.form .field label select ~ .select2,
.form .field label select ~ .select2-container--open
{
	font-weight: 400;
}
.required
{
	/*Создан лиш для подсказки в SDK*/
}
.form .field-title.required:first-letter,
.form .field.required label:first-letter
{
	color: #F56954;
	font-weight: 700;
}

.form .field input[type='checkbox'],
.form .field input[type='radio']
{
	position: absolute;
	z-index: -1;
	opacity: 0;
}
.form .field input[type='checkbox'] ~ i,
.form .field input[type='radio'] ~ i
{
	position: absolute;
	left: 0px;
	top: -1px;
	display: inline-block;
	background-color: #FFFFFF;
	border: 1px solid #D2D6DE;
	border-radius: 0;
	color: transparent !important;
	width: 16px;
	height: 16px;
	background-position: center center;
	background-repeat: no-repeat;
}
.form .field input[type='checkbox'] ~ i
{
	border-radius: 2px;
}
.form .field input[type='radio'] ~ i
{
	border-radius: 8px;
	background-color: #FFFFFF;
}

/*****************************************************/

.form .field input[type='checkbox']:checked ~ i
{
	background-color: #3C8DBC;
	border-color: #3C8DBC;

	/* Если использовать url("data:image/svg+xml;............"), то минимизатор файла бъет значение данного атребута, убирая важные пробелы. Так что было принято решение использовать base64, который оказался даже меньше по размеру для данного изображения */
	background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAuklEQVRIie3Tqw3CUBiAUUQFAsEISAZhgAoGqWAHJAKJQCIYhgEYAFmBRBxEgTRNeuk7hPTz/z33kTuZjI39QohxwmoILEEqK0XSN1bsgfVQ2LsU06EwuA6J3bAsG46wxx0HRH1ic+wKA0csAliqvAvi0G73JYPn4klbnSx3lffAAh+0NZZDT18WOmPTCfYCF7I3a1r4zTpG62Mt0OZYA7Q9VgPtDquAdo8F0P6wHDrDVvZXq/2zsb/tCaGZQa7zJXNLAAAAAElFTkSuQmCC");
	background-size: 85%;
}
.form .field input[type='checkbox']:active ~ i
{
	background-color: #66B4DB;
	border-color: #66B4DB;
}
.form .field input[type='checkbox']:focus ~ i
{
	border-color: #66B4DB;
}
.form .field input[type='checkbox']:disabled ~ i
{
	opacity: 0.6;
}

/*****************************************************/

.form .field input[type='radio']:checked ~ i
{
	background-color: #3C8DBC;
	border-color: #3C8DBC;

	/* Если использовать url("data:image/svg+xml;............"), то минимизатор файла бъет значение данного атребута, убирая важные пробелы. Так что было принято решение использовать base64, который оказался даже меньше по размеру для данного изображения */
	background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHpFAACAgwAA+5IAAIIWAABmvAAA7FAAADtfAAAdscIJUBQAAAC5SURBVHjavNa9DcIwEIZhj5GCgiXYIlOkpiCbkFkyCEgpGQAKEEiUFA+Ni0hISYBcXsmNZd1n369TGgBrbNHihGdep7y3xSp9CzZocDPONZ/dTDVeofM9Haox4zv/sxu6+WMGgcfHS1Dk4M3FHUVfoDE/TT8VXwECL6wSanHUKRdMFG3CMVDgkHAJFDgnnKMFIl10XCTI4WkaW2jhrWKRZhferhcZOD2R8kd33VFGDf395KE/97flPQA+1WZLKzo/HwAAAABJRU5ErkJggg==");
	background-size: 60%;
}
.form .field input[type='radio']:active ~ i
{
	background-color: #66B4DB;
	border-color: #66B4DB;
}
.form .field input[type='radio']:focus ~ i
{
	border-color: #66B4DB;
}
.form .field input[type='radio']:disabled ~ i
{
	opacity: 0.6;
}

/*****************************************************/

.form .field.field-alone-checkbox label,
.form .field.field-alone-radio label
{
	padding-left: 0;
	height: 16px;
	width: 16px;
}
.form .field.field-alone-checkbox input[type='checkbox'] ~ i,
.form .field.field-alone-radio[type='radio'] ~ i
{
	position: absolute;
	top: 50%;
	margin-top: -6px;
	left: 0;
}

/*****************************************************/

.form .field.field-labeled-input
{
	border: 1px solid #D2D6DE;
	border-radius: 2px;
	transition:0.2s ease all;
}
.form .field.field-labeled-input.focus
{
	border-color: #3C8DBC;
	transition:0.2s ease all;
}
.form .field.field-labeled-input .field-labeled-label
{
	width: 1%;
	vertical-align: middle;
	padding-left: 12px;
}
.form .field.field-labeled-input input
{
	border: none;
	padding-left: 5px;
	height: 34px;
}
.form .field.field-labeled-input input:focus
{
	border: none;
}

/*****************************************************/

.form .field-fiction
{
	margin-top: 26px;
	font-size: 1.4rem;
	line-height: 1;
}
.form .field-fiction .field-fiction-text
{
	display: inline-block;
	outline: none;
	background-color: #FFFFFF;
	padding: 7px 12px;
	font-size: 1.4rem;
	width: 100%;
	line-height: 1.42857143;
	min-height: 36px;
	border: 1px dotted #D2D6DE;
	border-radius: 2px;
	color: #969696 !important;
	font-weight: normal;
	cursor: default;
}
.form .field-fiction label .field-fiction-text
{
	display: block;
}
/*****************************************************/

.form .field-switch
{
	width: 100%;
	margin-top: 26px;
	font-size: 1.4rem;
	line-height: 1;
}
.form .field-switch label
{
	padding-left: 38px;
	position: relative;

	display: inline-block;
	cursor: pointer;
	font-size: 1.4rem;
	font-weight: 400;
	min-width: 32px;
	min-height: 16px;

	color: #333333 !important;

	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none; /* Chrome/Safari/Opera */
	-khtml-user-select: none; /* Konqueror */
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* Internet Explorer/Edge */
	user-select: none; /* Non-prefixed version, currently not supported by any browser */
}
.form .field-switch.field-switch-right label
{
	padding-left: 0;
	padding-right: 38px;
}

.form .field-switch .field-switch-container
{
	position: absolute;
	top: -1px;
	left: 0;
}
.form .field-switch.field-switch-right .field-switch-container
{
	left: auto;
	right: 0;
}
.form .field-switch .switch
{
	display: inline-block;
	width: 32px;
	height: 16px;
	position: relative;
	cursor: pointer;
}
.form .field-switch .switch-track
{
	position: absolute;
	left: 0;
	top: 0;
	background-color: #D2D6DE;
	display: inline-block;
	border-radius: 8px;
	width: 100%;
	height: 100%;
}
.form .field-switch input
{
	position: absolute;
	z-index: -1;
	opacity: 0;
}
.form .field-switch .switch-pointer
{
	position: absolute;
	left: 0;
	top: 0;
	display: inline-block;
	background-color: #FFFFFF;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 3px solid #D2D6DE;
	transition: left .15s ease-out;
}
.form .field-switch input:checked ~ .field-switch-container .switch-track
{
	background-color: #3C8DBC;
}
.form .field-switch input:checked ~ .field-switch-container .switch-pointer
{
	left: 16px;
	border-color: #3C8DBC;
}

.form .field-switch input:disabled ~ * .switch
{
	opacity: 0.6;
}

/*****************************************************/

.form .field-color-selector
{
	margin-top: 26px;
	min-height: 26px;
}
.form .field-color-selector-item
{
	display: inline-block;
	margin-left: 10px;
	margin-top: 7px;
	width: 26px;
	height: 26px;
	border-radius: 2px;
	cursor: pointer;
}
.form .field-color-selector-item:first-of-type
{
	margin-left: 0;
}
.form .field-color-selector-item:hover
{
	opacity: 0.8;
}
.form .field-color-selector-item.selected
{
	background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAuklEQVRIie3Tqw3CUBiAUUQFAsEISAZhgAoGqWAHJAKJQCIYhgEYAFmBRBxEgTRNeuk7hPTz/z33kTuZjI39QohxwmoILEEqK0XSN1bsgfVQ2LsU06EwuA6J3bAsG46wxx0HRH1ic+wKA0csAliqvAvi0G73JYPn4klbnSx3lffAAh+0NZZDT18WOmPTCfYCF7I3a1r4zTpG62Mt0OZYA7Q9VgPtDquAdo8F0P6wHDrDVvZXq/2zsb/tCaGZQa7zJXNLAAAAAElFTkSuQmCC");
	background-size: 85%;
	background-repeat: no-repeat;
	background-position: center;
}

/*****************************************************/

.form .super-field-label
{
    border: 1px dotted #D2D6DE;
    border-radius: 2px;
    cursor: default;
    display: inline-block;
    font-size: 1.4rem;
    font-weight: 400;
    /*line-height: 2.5;*/
    margin-bottom: 0;
    padding-left: 12px;
    padding-right: 12px;
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
    outline: none;
	position: relative;
	color: #969696;
}

/*****************************************************/

.field-group {}/* Only for IDE*/
.field-group-full {}/* Only for IDE*/
.form .field-group
{
	border-left: 3px solid #DDDDDD;
	padding-left: 13px;
}
.form .field-group-full
{
	border: 3px solid #DDDDDD;
	padding: 13px;
}

/*****************************************************/

.some-field {}/* Only for IDE*/
.form .some-field
{
	margin-top: 26px;
}
.form .some-field .some-field-col
{
	width: auto;
}
.form .some-field .some-field-col-separator
{
	width: 0.1%;
}
.form .some-field .some-field-col-separator > *
{
	width: 13px;
}
.form .some-field .some-field-row-separator > *
{
	height: 26px;
}

/*****************************************************/

.form .super-field
{
	margin-top: 26px;
}

.form .super-field .field
{
	margin-top: 0;
}
.form .super-field .field.w50
{
	width: 50px;
	min-width: 50px;
}
.form .super-field .field.w60
{
	width: 60px;
	min-width: 60px;
}
.form .super-field .field.w100
{
	width: 100px;
	min-width: 100px;
}
.form .super-field-col
{
	width: 1%;
	vertical-align: middle !important;
}
.form .super-field-col.btn
{
	min-width: 20px;
}
.form .super-field .field > input,
.form .super-field .field > select,
.form .super-field .field > textarea
{
	border-radius: 0 !important;
}
.form .super-field .field:first-child > input,
.form .super-field .field:first-child > select,
.form .super-field .field:first-child > textarea
{
	border-top-left-radius: 2px !important;
	border-bottom-left-radius: 2px !important;
}
.form .super-field .field:last-child > input,
.form .super-field .field:last-child > select,
.form .super-field .field:last-child > textarea
{
	border-top-right-radius: 2px !important;
	border-bottom-right-radius: 2px !important;
}
.form .super-field .super-field-col
{
	border-right-width: 0;
	border-radius: 0 !important;
}
.form .super-field .field + .super-field-col
{
	border-left-width: 0;
}
.form .super-field .super-field-col:last-of-type
{
	border-right-width: 1px;
	border-top-right-radius: 2px !important;
	border-bottom-right-radius: 2px !important;
}
.form .super-field .super-field-col:first-of-type
{
	border-top-left-radius: 2px !important;
	border-bottom-left-radius: 2px !important;
}

.form .super-field .super-field-col-separator
{
	width: 0.1%;
}
.form .super-field .super-field-col-separator > *
{
	width: 13px;
}

.form .super-field .super-field-row-separator > *
{
	height: 26px;
}

/*****************************************************/

.form .super-field.several-field .field
{
	width: auto;
}
.form .super-field.several-field .field > input,
.form .super-field.several-field .field > select,
.form .super-field.several-field .field > textarea
{
	border-radius: 2px !important;
}

/*****************************************************/

.field-header{}/*Only for IDE*/
.form .field-header
{
	font-size: 1.6rem;
	font-weight: 500;
	/*margin-bottom: 26px;*/
	margin-top: 39px;
}

/*****************************************************/

.form .field-title
{
	margin-top: 26px;
	font-size: 1.4rem;
	font-weight: 400;
	color: #333333 !important;
	position: relative;
}
/* Следующий элемент формы после .field-title должен иметь не стандартный отступ сверху */
.form .field-title + .field,
.form .field-title + .super-field,
.form .field-title + .field-color-selector,
.form .field-title + .comment,
.form .field-title + .field-text,
.form .field-title + .field-switch,
.form .field-title + .some-field,
.form .field-title + .field-image
{
	margin-top: 5px;
}

/*****************************************************/

.form .comment
{
	position: relative;
	font-size: 1.2rem;
	line-height: 1.42857143;
	color: #737373 !important;
	margin-top: 5px;
	cursor: default;
}
.form .comment strong
{
	font-size: 1.2rem;
	color: #737373;
}
.form .comment a
{
	color: #737373;
	text-decoration: underline;
}

/*****************************************************/
/*****************************************************/

.form .field-text
{
	position: relative;
	font-size: 1.4rem;
	color: #777777 !important;
	margin-top: 26px;
	line-height: 1.42857143;
	cursor: default;
}
.form .field-text strong
{
	font-size: 1.4rem;
	color: #777777;
}
.form .field-text a
{
	color: #777777;
	text-decoration: underline;
}
/*****************************************************/
/*****************************************************/

.form .field-message-note,
.form .field-message-ok,
.form .field-message-attention,
.form .field-message-error
{
	position: relative;
	font-size: 1.3rem;
	color: #333333 !important;
	margin-top: 26px;
	line-height: 1.42857143;
	padding: 10px;
	padding-left: 33px;
	border-radius: 2px;
	border: 1px solid;
	border-left: 5px solid;
}
.form .field-message-note strong,
.form .field-message-ok strong,
.form .field-message-attention strong,
.form .field-message-error strong
{
	font-size: 1.3rem;
	color: #333333;
}
.form .field-message-note a,
.form .field-message-ok a,
.form .field-message-attention a,
.form .field-message-error a
{
	color: #3C8DBC;
	text-decoration: underline;
}

.form .field-message-note > .icon,
.form .field-message-ok > .icon,
.form .field-message-attention > .icon,
.form .field-message-error > .icon
{
	color: #333333;
	margin-right: 10px;
	position: absolute;
	left: 10px;
	top: 9px;
	font-size: 1.5rem;
}

.form .field-message-note
{
	border-color: #00C0EF;
	border-left-color: #0097BC;
}
.form .field-message-note > .icon
{
	color: #0097BC;
}
.form .field-message-ok
{
	border-color: #00A65A;
	border-left-color: #00733E;
}
.form .field-message-ok > .icon
{
	color: #00733E;
}

.form .field-message-attention
{
	border-color: #F39C12;
	border-left-color: #C87F0A;
}
.form .field-message-attention > .icon
{
	color: #C87F0A;
}

.form .field-message-error
{
	border-color: #DD4B39;
	border-left-color: #C23321;
}
.form .field-message-error > .icon
{
	color: #C23321;
}

/*****************************************/

.form .field-image
{
	position: relative;
	margin-top: 26px;
}
.form .field-image .field-image-content
{
	border: 2px dashed #D2D6DE;
	line-height: 100px;
	text-align: center;

	background-image: none;
	background-position: center center;
	background-size: auto 100%;
	background-repeat: no-repeat;
}
.form .field-image .field-image-content .field-image-content-cover
{
	display: none;
	position: absolute;
	left: 2px;
	top: 2px;
	bottom: 2px;
	right: 2px;
	background-color: #FFFFFF;
	opacity: 0.6;
}

.form .field-image .field-image-content .buttons
{
	margin-top: 0;
}
.form .field-image .field-image-content .field-image-remove-btn
{
	display: none;
}
.form .field-image .field-image-content.field-image-content-with-image .btn
{
	display: inline-block;
	visibility: hidden;
	transition: none;
}
.form .field-image .field-image-content:hover .btn
{
	visibility: visible;
}
.form .field-image .field-image-content.field-image-content-with-image:hover .field-image-content-cover
{
	display: block;
}

.form .field-image .fileUploadDropZone
{
	display: none;
	position: absolute;
	padding: 10px;
	z-index: 999;
	left: 0;
	top: 0;
	background-color: black;
	width: 100%;
	height: 100%;
	opacity: 0.5;
}
.form .field-image.fileUploadDragover .fileUploadDropZone
{
	display: block;
}
.form .field-image .fileUploadDropZone > div
{
	border: 3px dashed white;
	color: white;
	width: 100%;
	height: 100%;
	position: relative;
}

.form .field-image .fileUploadDropZone > div > div
{
	position: absolute;
	line-height: 1;
	width: 100%;
	color: white;
	font-size: 2.2rem;
	margin-top: -1.1rem;
	text-align: center;
	top: 50%;
}

/*****************************************/

.form .field-image .fileUploadProgressBar
{
	display: none !important;
	position: absolute;
	z-index: 996;
	width: 100%;
	bottom: 0;
	left: 0;
	background-color: #0F1114;
	opacity: 0.9;
}

.form .field-image.fileUploadProcess .fileUploadProgressBar
{
	display: block !important;
}

.form .field-image .fileUploadProgressLineContent
{
	height: 16px;
	line-height: 16px;
	text-align: center;
	position: relative;
}

.form .field-image .fileUploadProgressLine
{
	position: absolute;
	height: 100%;
	width: 0;
	background-color: #3C8DBC;
	top: 0;
	left: 0;
}
.form .field-image .fileUploadProgressText
{
	position: relative;
	color: #FFFFFF;
	font-size: 1.1rem;
}

/*****************************************/

.form .panel
{
	margin-top: 26px;
}

/*****************************************/

.form .fieldset
{
	margin-top: 26px;
}
.form .fieldset fieldset
{
	border: 1px solid #D2D6DE;
	padding: 20px;
}
.form .fieldset fieldset > legend
{
	/*margin-top: 26px;*/
	color: #333333;
	font-weight: 500;
	font-size: 1.4rem;
}

/*****************************************************/

.form .separator
{
	border-top: 1px solid #F4F4F4;
	margin-top: 26px;
}
.panel.form .separator,
.panel .form .separator,
.form.panel .separator,
.form .panel .separator
{
	margin-left: -15px;
	margin-right: -15px;
}
/*****************************************************/

.form .buttons
{
	margin-top: 16px;
}

.form .buttons > a
{
	display: inline-block;
	white-space: nowrap;
}
.form .buttons .btn,
.form .buttons > a
{
	margin-right: 10px;
	margin-top: 10px;
}
.form .buttons.tar .btn,
.form .buttons.tar > a
{
	margin-right: 0;
	margin-left: 10px;
}
.form .buttons > a
{
	font-size: 1.3rem;
	text-decoration: underline;
	color: #3C8DBC;
}

/*****************************************/
/* simple form */
/*****************************************/

.form-simple .field,
.form-simple .super-field
{
	margin-top: 26px;
}
.form-simple .field input[type='text'],
.form-simple .field input[type='password'],
.form-simple .field textarea,
.form-simple .field select
{
	padding: 9px 10px 9px 10px;
	font-size: 1.4rem;
	width: 100%;
	border: 1px solid #D2D6DE;
	outline: none;
	border-radius: 2px;
	color: #444444 !important;
}
.form-simple .field textarea
{
	height: 100px;
	min-height: 100px;
}

.form-simple .field input::-webkit-input-placeholder,
.form-simple .field textarea::-webkit-input-placeholder
{color:#BBBBBB; opacity: 1; text-overflow:ellipsis;}
.form-simple .field input::-moz-placeholder,
.form-simple .field textarea::-moz-placeholder
{color:#BBBBBB; opacity: 1; text-overflow:ellipsis;}/* Firefox 19+ */
.form-simple .field input:-moz-placeholder,
.form-simple .field textarea:-moz-placeholder
{color:#BBBBBB; opacity: 1; text-overflow:ellipsis;}/* Firefox 18- */
.form-simple .field input:-ms-input-placeholder,
.form-simple .field textarea:-ms-input-placeholder
{color:#BBBBBB; opacity: 1; text-overflow:ellipsis;}

.form-simple .field select option
{
	padding-left: 10px;
}
.form-simple .field select optgroup
{
	padding-left: 10px;
}

/*****************************************************/

.form-simple .field.field-labeled-input .field-labeled-label
{
	width: 1%;
	vertical-align: middle;
	padding-top: 9px;
	padding-bottom: 9px;
	padding-left: 10px;
}
.form-simple .field.field-labeled-input input
{
	border: none;
	padding-left: 5px;
}
.form-simple .field.field-labeled-input input:focus
{
	border: none;
}


/*****************************************/
/** field with icons */
/*****************************************/

.form .field.field-icon-left input
{
	padding-left: 42px;
}
.form .field.field-icon-left input ~ i
{
	left: 47px;
}
.form .field.field-icon-right input
{
	padding-right: 42px;
}
.form .field.field-icon-left .icon,
.form .field.field-icon-right .icon
{
	position: absolute;
	bottom: 8px;
	cursor: text;
	z-index: 1;
}
.form .field.field-icon-left .icon i,
.form .field.field-icon-right .icon i
{
	font-size: 2rem;
	color: #BBBBBB !important;
}
.form .field.field-icon-left .icon
{
	left: 12px;
}
.form .field.field-icon-right .icon
{
	right: 12px;
}

/*****************************************/

.form-simple .field.field-icon-left input
{
	padding-left: 37px;
}
.form-simple .field.field-icon-left input ~ i
{
	left: 37px;
}
.form-simple .field.field-icon-right input
{
	padding-right: 37px;
}
.form-simple .field.field-icon-left .icon,
.form-simple .field.field-icon-right .icon
{
	top: 11px;
}
.form-simple .field.field-icon-left .icon i,
.form-simple .field.field-icon-right .icon i
{
	color: #BBBBBB !important;
}
.form-simple .field.field-icon-left .icon
{
	left: 10px;
}
.form-simple .field.field-icon-right .icon
{
	right: 10px;
}

/*****************************************/

.form .field:first-of-type,
.form .field-fiction:first-of-type,
.form .super-field:first-of-type,
.form .field-color-selector:first-of-type,
.form .comment:first-of-type,
.form .field-text:first-of-type,
.form .field-message-note:first-of-type,
.form .field-message-ok:first-of-type,
.form .field-message-attention:first-of-type,
.form .field-message-error:first-of-type,
.form .field-title:first-of-type,
.form .field-switch:first-of-type,
.form .some-field:first-of-type,
.form .field-header:first-of-type,
.form .panel:first-of-type,
.form .field-image:first-of-type,
.form .fieldset:first-of-type,
.form .buttons:first-of-type
{
	margin-top: 0 !important;
}

/* Если элемент формы скрыт, то следующий за ним не должен иметь отступ */
.form .field.hidden:first-of-type + *,
.form .super-field.hidden:first-of-type + *,
.form .field-color-selector.hidden:first-of-type + *,
.form .comment.hidden:first-of-type + *,
.form .field-text.hidden:first-of-type + *,
.form .field-message-note.hidden:first-of-type + *,
.form .field-message-ok.hidden:first-of-type + *,
.form .field-message-attention.hidden:first-of-type + *,
.form .field-message-error.hidden:first-of-type + *,
.form .field-title.hidden:first-of-type + *,
.form .field-switch.hidden:first-of-type + *,
.form .some-field.hidden:first-of-type + *,
.form .field-header.hidden:first-of-type + *,
.form .panel.hidden:first-of-type + *,
.form .field-image.hidden:first-of-type + *,
.form .fieldset.hidden:first-of-type + *,
.form .buttons.hidden:first-of-type + *
{
	margin-top: 0 !important;
}
/*****************************************/

.form .field input[type='text']:disabled,
.form .field input[type='password']:disabled,
.form .field textarea:disabled,
.form .field select:disabled
{
	background-color: #EEEEEE;
	color: #BBBBBB !important;
}
.form .field select:disabled option
{
	color: #BBBBBB !important;
}

/*****************************************/

.form .field-sub
{
	padding-top: 26px;
	padding-left: 26px;
}

/*****************************************/

.form .field-s
{
	font-size: 1.3rem;
}
.form .field-s label
{
	font-size: 1.2rem;
}
.form .field-s input[type='text'],
.form .field-s input[type='password'],
.form .field-s textarea,
.form .field-s select
{
	padding: 5px;
	font-size: 1.2rem;
	height: 28px;
}

.form .field-s input[type='text'] ~ i,
.form .field-s input[type='password'] ~ i,
.form .field-s textarea ~ i,
.form .field-s select ~ i
{
	left: 10px;
}

/*****************************************/

.form .field-color-select-color-btn,
.form .field-color-select-color-btn:active,
.form .field-color-select-color-btn:focus,
.form .field-color-select-color-btn:hover
{
	transition: none;
	border-color: #D2D6DE !important;
}
.form .field-color-select-color-btn .icon
{
	visibility: hidden;
}

/*****************************************/

.form .field .select2-container
{
	line-height: 1;
	min-width: 100%;
}

.select2CreateOption
{
	line-height: 1.42;
}
.select2CreateOption > span
{
	white-space: nowrap;
}
.select2CreateOption > span > span
{
	font-weight: 700;
	color: #00A65A;
}
.select2CreateOption > span > i
{
	display: inline-block;
	margin-right: 5px;
	color: #00A65A;
}
.select2-results__option
{
	line-height: 1.42857143;
}
.select2-results__option--highlighted .select2CreateOption > span > span,
.select2-results__option--highlighted .select2CreateOption > span > i
{
	color: #0FE14B;
}

/*****************************************/

/* Используется для ограничения максимальной ширины произвольных объектов в формах (например во всплывающих формах или плавающих) */
.form-max-width
{
	max-width: 500px;
}
/* Используется для ограничения максимальной ширины произвольных объектов в формах (250px) */
.form-max-width250
{
	max-width: 250px;
}

/* Используется для ограничения минимальной ширины произвольных объектов в формах (например во всплывающих формах или плавающих) */
.form-min-width
{
	min-width: 500px;
}

/*****************************/

.form .formHelpOpenButton
{
	margin-top: 26px;
}
.form .formHelpOpenButton a
{
	display: inline-block;
	font-size: 1.3rem;
	color: #AA457C;
	margin-left: 3px;
	margin-right: 3px;
}
.form .formHelpOpenButton a:hover
{
	text-decoration: underline;
}
.form .formHelpOpenButton i
{
	display: inline-block;
	font-size: 1.3rem;
	color: #AA457C;
	position: relative;
	top: 1px;
}
.form .formHelp
{
	display: none;
	margin-top: 26px;
	background-color: #F8F8D4;
	padding: 10px;
	border: 1px solid #D2D6DE;
	border-radius: 2px;
}
.form .formHelp .formHelpVariablesTable
{
	margin-top: 10px;
}
.form .formHelp .formHelpVariablesTable:first-child
{
	margin-top: 0;
}
.form .formHelp .formHelpVariablesTable table > tbody > tr:nth-child(even)
{
	background-color: #F4F4BA;
}
.form .formHelp .formHelpVariablesTable table > tbody > tr:hover
{
	background-color: #E3F0F6;
}
.form .formHelp .formHelpVariablesTable th,
.form .formHelp .formHelpVariablesTable td
{
	padding: 5px;
	font-size: 1.3rem;
}
.form .formHelp .formHelpVariablesTable td .copyText,
.form .formHelp .formHelpVariablesTable td .insertText
{
	font-size: 1.3rem;
	cursor: pointer;
}
.form .formHelp .formHelpVariablesTable td .copyText:hover,
.form .formHelp .formHelpVariablesTable td .insertText:hover
{
	text-decoration: underline;
}
.form .formHelp .formHelpText
{
	font-size: 1.3rem;
	margin-top: 10px;
	line-height: 1.2;
}
.form .formHelp .formHelpText:first-child
{
	margin-top: 0;
}

/*****************************/

.form .formAdditionalFieldsOpenButton
{
	margin-top: 26px;
}
.form .formAdditionalFieldsOpenButton a
{
	display: inline-block;
	font-size: 1.4rem;
	color: #3C8DBC;
	margin-left: 3px;
	margin-right: 3px;
}
.form .formAdditionalFieldsOpenButton a:hover
{
	text-decoration: underline;
}
.form .formAdditionalFieldsOpenButton i
{
	display: inline-block;
	font-size: 1.4rem;
	color: #3C8DBC;
	position: relative;
	top: 1px;
}
.form .formAdditionalFields
{
	display: none;
	margin-top: 26px;
}
.form .formAdditionalFields .formAdditionalFieldsText
{
	font-size: 1.4rem;
	margin-top: 10px;
	line-height: 1.2;
}
.form .formAdditionalFields .formAdditionalFieldsText:first-child
{
	margin-top: 0;
}

/*****************************/
/* Изменение оформления плагина ckeditor */
/*****************************/

.form .field.richtext
{
	visibility: hidden;
	min-height: 257px;
	min-width: 600px;
}
.form .field.richtext > .cke
{
	box-sizing: border-box;
	border-color: #D2D6DE;
}

.form .field.richtext > .cke > .cke_inner > .cke_top,
.form .field.richtext > .cke > .cke_inner > .cke_bottom
{
	background-color: #F5F5F5;
	border-color: #D2D6DE;
}
/*****************************/

/* Запрещаем отображение текста на кнопке "Источник" на панели инструментов CKEditor */
.cke_button__source_label,
.cke_button__sourcedialog_label
{
	display: none !important;
}

/*****************************/

.select2Dropdown
{
	width: 500px !important;
}

/*****************************/

/*.form .field[data-hot-help],*/
/*.form .comment[data-hot-help],*/
/*.form .field-title[data-hot-help],*/
/*.form .field-text[data-hot-help]*/
/*{*/
	/*padding-right: 20px;*/
/*}*/

/*****************************/

.form .form-margin-top {margin-top: 26px;}
.form .form-margin-bottom {margin-bottom: 26px;}

/****************************************************/

.form .select2-selection__choice,
.form .select2-results__option
{
	position: relative;
}
.form .select2-selection__choice img,
.form .select2-results__option img
{
	position: absolute;
	left: 20px;
	top: 2px;
	width: 20px;
	height: 20px;
}
.form .select2-results__option img
{
	left: 13px;
	top: 10px;
}
.form .select2-selection__choice .text,
.form .select2-results__option .text
{
	display: inline-block;
	padding-left: 25px;
}

.form .markSelect .select2-selection__choice .markItem,
.form .markSelect .select2-results__option .markItem
{
	display: inline-block;
	position: relative;
	padding-left: 25px;
}
.form .markSelect .select2-selection__choice .markItem > span,
.form .markSelect .select2-results__option .markItem > span
{
	position: absolute;
	display: block;
	top: 50%;
	left: 0px;
	border-radius: 100%;
	width: 20px;
	height: 20px;
	-webkit-transform: translate(0, -50%);
	-ms-transform: translate(0, -50%);
	transform: translate(0, -50%);
}
.form .formula
{
	border: 1px dotted #D2D6DE;
	padding: 5px;
	display: inline-block;
	color: #777777 !important;
}