/* =b-field
Элементы управления */
.b-field {
	width:auto;
	height:30px;
	padding:0 10px;
	position:relative;
	background:0 -286px;
}

.b-field input, .b-field textarea {
	width:100%;
	height:30px;
	margin:0;
	padding:0;
	border:0;
	outline:0;
	background:none;
	font-size:1em;
	font-family:Arial,sans-serif;
}

.b-field input {
	height:16px;
	padding:7px 0;
}

.b-field textarea {
	height:100px;
	line-height:17px;
	resize:none;
}

.b-field-side {
	width:8px;
	height:100%;
	top:0;
	position:absolute;
	background:0 -256px no-repeat;
}

.b-field, .b-field-side,
.b-textarea--top, .b-textarea--bottom,
.b-textarea--topleft, .b-textarea--topright,
.b-textarea--bottomleft, .b-textarea--bottomright {
	background-image:url(data:image/png;base64, );
	*background-image:url(../../img/ui/ui-sprite.png);
}

.b-textarea--left, .b-textarea--right {
	background-repeat:repeat-y;
	background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAKCAYAAACJxx+AAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAABtJREFUGNNjmDlz5n9cYObMmf+ZGAiAUQUQAAApKB2PBneejQAAAABJRU5ErkJggg==);
	*background-image:url(../../img/ui/ui-sprite-vertical.png);
}

.b-field-side--left {
	left:0;
}

.b-field-side--right {
	right:0;
	background-position:-8px -256px;
}

/* =b-field--textarea
Текстовое поле */
.b-field--textarea {
	height:auto;
	padding-top:8px;
	padding-bottom:8px;
	margin-bottom:11px;
	background:none;
}

.b-field--textarea .b-field-side {
	background-position:0 -156px;
}

.b-field--textarea .b-field-side--right {
	background-position:-8px -156px;
}

.b-textarea--top, .b-textarea--bottom {
	width:100%;
	height:4px;
	left:0;
	position:absolute;
}

.b-textarea--top {
	top:0;
	background-position:0 -286px;
}

.b-textarea--bottom {
	bottom:0;
	background-position:0 -312px;
}

.b-textarea--left, .b-textarea--right {
	width:4px;
	height:100%;
	top:0;
	position:absolute;
}

.b-textarea--left {
	left:0;
}

.b-textarea--right {
	right:0;
	background-position:-4px 0;
}

.b-textarea--topleft, .b-textarea--topright,
.b-textarea--bottomleft, .b-textarea--bottomright {
	width:4px;
	height:4px;
	top:0;
	position:absolute;
}

.b-textarea--topleft, .b-textarea--bottomleft {
	left:0;
}

.b-textarea--topright, .b-textarea--bottomright {
	right:0;
}

.b-textarea--topleft {
	background-position:0 -256px;
}

.b-textarea--topright {
	background-position:-12px -256px;
}

.b-textarea--bottomleft {
	background-position:0 -282px;
}

.b-textarea--bottomright {
	background-position:-12px -282px;
}


/* =b-field--select
Выпадающий список */
.b-field--select {
	padding:0;
	background-position:0 -488px;
}

.b-field--select .b-field-side--left {
	background-position:0 -458px;
}

.b-field--select .newListSelected,
.b-field--select .selectedTxt {
	height:30px;
	position:relative !important;
	line-height:30px;
}

.b-field--select .newListSelected {
	background:100% 0 no-repeat;
	background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAQtJREFUSMfllr1KA1EQhb8N9y1C1hTKxiUPYAp/0gRTCIISi8QExCgm1ha+xwrRyhXBQgtJuhRqUpgHMIhWhjyEaZaxC4pV1lkQdtqBjzNz5lyutbG9JyhU1nU4PTnGCoJABXhz2+Zl+KYHBNjcqZNAuYyIqALVFcZwZKMsEAMSrcKP0RiA9Fzq7wofes94LR+A5mGV/EouvMveuc9jbzBteC2f4es7zYPqTEDrczJRW2Kp0sAgEZlydnHFU3/wo7m6vESjvhtuh0f7FdJ2ksvrOwBq5S2KhTyzJsnIN5fXC2vYdhIAN7OAhLjRX1ledOYBCJtxg/zz1yYCIBK7kWPj8n2nS9Z1sLQ/S1/svHcAcKpWawAAAABJRU5ErkJggg==);
	*background-image:url(../../img/ui/select.png);
}

.b-field--select .selectedTxt {
	padding:0 11px;
	cursor:default;
	color:#999;
}

.b-field--select .selectedTxt.noplaceholder {
	color:#000;
}

.b-field--select ul.newList {
	width:100%;
	max-height:202px;
	margin:0;
	margin-left:-1px;
	padding:4px 0;
	position:absolute;
	overflow:auto;
	border:1px solid #5f6776;
	border-radius:3px;
	  -moz-border-radius:3px;
	  -webkit-border-radius:3px;
	background:#fff;
	z-index:2;
}
.b-select-custom-wrapper--up ul.newList {
	bottom: 30px;
}

.b-field--select_time ul.newList {
	width:55px;
}

.b-field--select ul.newList li {
	margin:0;
	padding:0 8px;
}

.b-field--select ul.newList li:hover {
	background-color:#e8effa;
}

.b-field--select ul.newList li a, .b-field--select ul.newList li a:link, .b-field--select ul.newList li a:visited,
.b-field--select ul.newList li a:hover, .b-field--select ul.newList li a:active {
	line-height:20px;
	display:block;
	color:#525866;
	text-decoration:none !important;
}

.b-field--select_time ul.newList li a, .b-field--select_time ul.newList li a:link, .b-field--select_time ul.newList li a:visited,
.b-field--select_time ul.newList li a:hover, .b-field--select_time ul.newList li a:active {
	font-size:1.27em;
}

.b-field--select .b-field-side--right {
	background:none;
}


/* =b-field--button
Кнопка */
.b-field--button {
	*width:160px;
	height:39px;
	padding:0 20px;
	display:inline-block;
	background-position:0 -39px;
}

.b-field--button input {
	height:34px;
	padding:0;
	cursor:pointer;
	color:#fff;
	font-size:1.23em;
}

.b-field--button  .b-field-side {
	background-position:0 0;
}

.b-field--button .b-field-side--right {
	background-position:-8px 0;
}

.b-field--button_disabled {
	background-position:0 -117px;
}

.b-field--button_disabled input {
	cursor:default;
}

.b-field--button_disabled  .b-field-side {
	background-position:0 -78px;
}

.b-field--button_disabled .b-field-side--right {
	background-position:-8px -78px;
}

/* placeholder */
input.inactive, textarea.inactive {
	color:#7c828c !important;
}

/* =b-field--error
Обработка ошибок */
.b-field--error input, .b-field--error textarea,
.b-field--error .selectedTxt {
	color:#f00 !important;
}

