﻿
/* ------- Таблица для форм --------- */
					
	table.bar{
		width:100%;
		height:19px;
		padding:0px;
		margin:0px;
	}
	
	    table.window table.bar td{
	        border:0px none;
	    }
	    
		/* Строки выше в форме добавления по номеру, чтобы был отступ между ними */	
		div.artikulpole table.bar td{height:22px;}
			
/* Левое  скругление */	
		table.bar td.barleft{
			width:6px;
			height:19px;
			background:transparent url(../Background/parts/bar/whleft.gif) no-repeat 0px 100%;
			//background-position: 100% 100%;			
			font-size: 1px;
            margin:0px;
            padding:0px;
		}

			div.gradblock table.bar td.barleft{background-image: url(../Background/parts/bar/left.gif);}
			div.coltop table.bar td.barleft{background-image: url(../Background/parts/bar/left.gif);}
			div.filtline table.bar td.barleft{background-image: url(../Background/parts/bar/fltleft.gif);}

/* Правое  скругление */
		table.bar td.barright{
			width:6px;
			height:19px;
			background: url(../Background/parts/bar/whright.gif) no-repeat 100% 100%;
			font-size: 1px;
            margin:0px;
            padding:0px;
		}

			div.gradblock table.bar td.barright{background-image: url(../Background/parts/bar/right.gif);}
			div.coltop table.bar td.barright{background-image: url(../Background/parts/bar/right.gif);}
			div.filtline table.bar td.barright{background-image: url(../Background/parts/bar/fltright.gif);}

		table.bar td.barrightcross{
			width:19px;
			height:19px;
			background: url(../Background/parts/bar/rightcross.gif) no-repeat 0px 100%;
			font-size: 1px;
			padding:0px;
			margin:0px;
			cursor: pointer;
			//cursor:hand;
		}

            div.filtline table.bar td.barrightcross{background-image: url(../Background/parts/bar/fltrightcross.gif);}

            table.bar td.barrightcross img{
              margin:3px;
              border:1px solid #ffffff;
            }


/* Кнопка поиска */
		table.bar td.searchbutton{
			width:64px;
			height:19px;
			padding: 0px 0px 0px 5px;
		}

/* 5px пробел */
		table.bar td.space{
			width:5px;
		}
		
/* 10px пробел */
		table.bar td.bigspace{
			width:10px;
			background:transparent none;
		}

/* 1крутилка */
		table.bar td.spinner{
			width:11px;
            background: url(../Background/parts/bar/back.gif) repeat-x 0px 100%;
		}

            table.bar td.spinner img{
              margin:3px 0px;
            }

		
/* Ячейка с текстом */		
		table.bar td.txt{
			font:normal 12px Tahoma;
			color:#999999;
            width:1px;
			vertical-align: top;
			padding: 2px 5px 0px 4px;
		}

/* Ячейка с нормальным текстом */
		table.bar td.normtxt{
			font:normal 12px Tahoma;
			color:#666666;
			vertical-align: bottom!important;
			padding-bottom: 3px;
			border:0px none;
		}

/* Ячейка с небольшим текстом */
		table.bar td.smalltxt{
			font:normal 11px Tahoma;
			color:#999999;
			vertical-align: bottom!important;
			padding-bottom: 3px;
			border:0px none;
		}

/* Ячейка с мелким текстом */
		table.bar td.seltext{
			font:normal 10px Tahoma;
			color:#999999;
			text-align:right;
			line-height: 8px;
			margin:0px;
			padding:1px 5px 0px 0px ;
			width:50px;
		}


		table.bar td.date{
			width:69px;
			font:normal 12px Tahoma;
			background: url(../Background/parts/bar/data.gif) no-repeat 0px 0px;
			padding:0px;
			margin:0px;
		}

              div.gradblock table.bar td.date{background: url(../Background/parts/bar/datagray.gif) no-repeat 0px 0px;}
              div.coltop table.bar td.date{background: url(../Background/parts/bar/datagray.gif) no-repeat 0px 0px;}

			table.bar td.date input{
				width:100%;
				font:normal 12px Tahoma;
				color:#000000;
				border:0px;
				//height:14px;
				margin: 0px 0px 0px 3px;
				background: none;
				padding:2px 1px;
                //padding:1px;
			}

                div.artikulpole table.bar td.date input
                {
				    margin:7px 0px 0px 4px;
                }

        table.bar td.calimg
        {
             background:transparent none!important;
             vertical-align:top!important;
			 border: 0px none;
             margin:0px;
             padding:0px;
             width:25px;
             font-size:1px;
        }                

/* 20% поле ввода    (для добавления кол-ва товаров в форме добавления по номеру)  */
        table.bar td.pole{
            background: url(../Background/parts/bar/back.gif) repeat-x 0px 100%;
            width:auto;
        }

		table.bar td.pole.smallinc{
			width:20%;
		}		
			
			table.bar td.pole input{
				width:100%;
				font:normal 12px Tahoma;
				color:#000000;			
				border:0px;
                margin-top:1px;
				//height:14px;
				//margin-top:0px;
				padding:0px 2px;
				background: none;
			}
			
            div.gradblock table.bar td.pole{padding:0px;}
            div.coltop table.bar td.pole{padding:0px;}
            div.artikulpole table.bar td.pole{
                padding:1px;
            }


            div.artikulpole table.bar td.pole input
            {
				padding:4px 0px 0px 0px;
				//padding:5px 0px 0px 0px;
            }

/* Стиль содержимого ошибки */			
			table.bar tr.error td.pole input{
				color:#ff2200;
			}
				
/* Поле SELECT */			
			table.bar td.poleselect{
				font:normal 12px Tahoma;
				margin:0px;
				padding:2px 0px 0px 0px;
                background: url(../Background/parts/bar/back.gif) repeat-x 0px 100%;
			}

				/* Выбраный вариант в SELECTе */
				table.bar td.poleselect	input{
					width:100%;
					height:14px;
					font:normal 12px Tahoma;
					color:#000000;
					border:0px none;
					margin-top:-1px;
					//margin-top:-2px;					
				}
				
				/* Хаки */
					div.artikulpole td.poleselect input{
						margin-top:2px;
						//margin-top:5px;		
					}				
				
				
				/* Всплывающее окно SELECTа */
				table.bar td.poleselect div.selects_on{
					padding:0px;
					overflow:auto;
					position:absolute;
					z-index: 5;
					border: 1px solid #cccccc;
					border-top: 0px;
					margin-top:1px;
					background: url(../Background/parts/bar/whitedot.png) repeat;
					//background:#ffffff none;
					//filter:alpha(opacity=80);
				}
	
					table.bar td.poleselect div.selects{display: none;}			
					table.bar td.poleselect div.selects_on{display: block;}			
				
				/* Текст всплывающего окна SELECTа */
				table.bar td.poleselect div.selects_on a{
					display: block;
					padding:5px;				
					font:normal 12px Tahoma;
					color:#000000;
					text-decoration:none;
				}
				
				/* Курсор всплывающего окна SELECTа */
				table.bar td.poleselect div.selects_on a:hover{
					display: block;
					font:normal 12px Tahoma;
					color:#000000;
					text-decoration:none;
					background-color: #0099ff;
				}			
		
		/* Кнопка SELECTа */
			table.bar td.select{
				width:20px;
				height:19px;
				padding:0px;
			}

    			table.bar td.select div.selectbut, table.bar td.select div.selectbut_on{
    				width:22px;
    				height:19px;
    				cursor: pointer;
    				//cursor:hand;
    				background-repeat: no-repeat;
    				padding:0px;
                    margin:0px;
    			}
			
			table.bar td.select div.selectbut{background-position: 0px 100%;}
			table.bar td.select div.selectbut_on{background-position: 100% 100%;}

			td.select div.selectbut, td.select div.selectbut_on{background-image: url(../Background/parts/bar/select.gif);}
			div.gradblock td.select div.selectbut, div.gradblock td.select div.selectbut_on{background-image: url(../Background/parts/bar/grselect.gif);}
			div.coltop td.select div.selectbut, div.coltop td.select div.selectbut_on{background-image: url(../Background/parts/bar/grselect.gif);}
			div.filtline td.select div.selectbut, div.filtline td.select div.selectbut_on{background-image: url(../Background/parts/bar/filselect.gif);}

/* Значки поисковых строк */


		/* - Лупа - */		
		table.bar td.search{
			width:19px;
			height:19px;
			background: url(../Background/parts/bar/search.gif) no-repeat 0px 100%;
			//background-position: 100% 100%;
		}

		/* - Плюс - */
		table.bar td.plus{
			width:19px;
			height:19px;
			background: url(../Background/parts/bar/plus.gif) no-repeat 0px 100%;
			//background-position: 100% 100%;
		}

        /* - Пароль - */
		table.bar td.passlock{
			width:19px;
			height:19px;
			background: url(../Background/parts/bar/passlock.gif) no-repeat 0px 100%;
			//background-position: 100% 100%;
		}

/* ----------- TEXT-area ------------- */

textarea.textcomments{
	width:100%;
	height:30px;
	border: 1px solid #cccccc;
	font:normal 12px Tahoma;
	color:#000000;
    overflow: auto;
}
			
/* --------- ERROR-стили ------------- */

		/* - Бэк ERROR - */		
		table.bar tr.error{
			background-image: url(../Background/parts/bar/erback.gif);
		}
			/* - ERROR правая граница - */
			table.bar tr.error td.barright{background-image: url(../Background/parts/bar/erright.gif);}
			
			/* - ERROR левая граница - */
			table.bar tr.error td.barleft{background-image: url(../Background/parts/bar/erleft.gif);}				

			/* - ERROR плюс - */
			table.bar tr.error td.plus{background-image: url(../Background/parts/bar/erplus.gif);}