#feedback,
#close,
#minimize,
#maximize_restore,
#caption #help
{
    behavior:button; 
    background-repeat:stretch; 
    width:14dip; 
    height:14dip;
    margin-top:8dip;
}

html[product^="avg"] #feedback,
html[product^="avg"] #close,
html[product^="avg"] #help,
html[product^="avg"] #minimize,
html[product^="avg"] #maximize_restore
{
	width: 20dip !important;
	height: 20dip !important;
}
html[product^="avg"] #close:hover
{
	background-image: url(res:img_page_title/icon_menu_paid_close.png) !important;
	background-image-transformation: color-schema(gray, gray, gray, gray, white) !important;
}
html[product^="avg"] #help:hover
{
	background-image: url(res:img_page_title/icon_menu_paid_help.png) !important;
	background-image-transformation: color-schema(gray, gray, gray, gray, white) !important;
}
html[product^="avg"] #minimize:hover
{
	background-image: url(res:img_page_title/icon_menu_paid_min.png) !important;
	background-image-transformation: color-schema(gray, gray, gray, gray, white) !important;
}

html:not([product^="avg"]) #feedback,
html:not([product^="avg"]) #minimize,
html:not([product^="avg"]) #maximize_restore,
html:not([product^="avg"]) #caption #help,
html:not([product^="avg"]) #close                  
{
	margin: 0px !important;
	height: 42px;
	width: 42px;
	background-repeat: no-repeat !important;
	background-position: center center;
	background-image-transformation: color-schema(#959aa5, #959aa5, #959aa5, #959aa5, #959aa5) !important;
	transition:blend;
	
}

#caption > #close:nth-child(2){background:url(res:img_page_title/icon_menu_paid_close.png);}

#minimize               {background:url(res:img_page_title/icon_menu_paid_min.png); }
#feedback               {background:url(res:img_page_title/icon_menu_paid_feedback.png); }
#close					{background:url(res:img_page_title/icon_menu_paid_close.png); }
#maximize_restore       {background:url(res:img_page_title/max.png);}
#maximize_restore[image="restore"] {background:url(res:img_page_title/restore.png);}

#maximize_restore:hover
{
	background-image-transformation: color-schema(gray, gray, gray, gray, white) !important;
}

#caption #help               {background:url(res:img_page_title/icon_menu_paid_help.png); }

html:not([product^="avg"]) #feedback:hover,
html:not([product^="avg"]) #minimize:hover,
html:not([product^="avg"]) #caption #help:hover,
html:not([product^="avg"]) #maximize_restore:hover
{
	background-color: rgba(255,255,255,0.15);
	background-image-transformation: color-schema(white, white, white, white, white) !important;
}

html:not([product^="avg"]) #close:hover,
html:not([product^="avg"]) #caption > #close:nth-child(2):hover 
{
	background-color: #f5203e;
	background-image-transformation: color-schema(white, white, white, white, white) !important;
}

#break
{
    width:10dip;
    height:14dip;
}

body{
  padding:0px;
}


/*common list view styling */
table > tr > th
{ 	
	foreground-position-top:50%;
    foreground-position-right:4px;
    foreground-position-left:auto;
    foreground-repeat:no-repeat;

    height:20dip;
	padding:8dip;
	text-align:left;
	overflow:hidden; 
	white-space:nowrap;
	text-overflow:ellipsis;
	font-weight:normal;
	font-size:1.0em;
}
.list > table > tr  th
{
	padding-right:8dip;
}
.list > table tr th {
	min-width:min-intrinsic; 
}
table > tr > th:rtl
{
	text-align:right;
    foreground-position-left:4px;
    foreground-position-right:auto;
}
table[sortable] > tr > th:hover{color:@COLOR_ORANGE_DARKER;}

table[checkbox_select] > tr:hover {cursor: pointer;}

/*header row*/
.list:not(.list[no_header]) > table > tr:nth-child(1)
{
	background-color:@COLOR_LIST_HEADER_BG;
}


.list th > div{height:min-intrinsic;vertical-align:middle;}
table[sortable] > tr > th {foreground-image-transformation: color-schema(black, black, black, black, black);}
table[sortable] > tr > th[sortdir="down"]{foreground:url(res:images/arrowlit_down.png);}
table[sortable] > tr > th[sortdir="up"]{foreground:url(res:images/arrowlit_up.png);}

/*first and last header items (rounded corners)*/
table > tr > th:nth-child(1)
{
	flow:horizontal;
}
table > tr > th:nth-last-child(1)
{
	flow:horizontal;
	border-right:none;
}

.list table {overflow:auto; height:100%%;}
.list table[resizable]{behavior:~column-resizer;}

.list table > tr
{
	border:solid 1px #EFEFF0;
	border-left:solid 1px transparent;
	border-right:solid 1px transparent;
	//background-color:White;
}

html[product^="avg"] .list table > tr
{
	border-color:@COLOR_SELECTION;
}

.list table[fixedrows="1"] >tr:nth-child(2){	border-top:none;}
.list table[fixedrows="1"] >tr:current:nth-child(2){	border-top:none;}
.list
{
	width:100%%; 
	height:200px;     
	background-color:@COLOR_LIST_BG;
    margin-bottom:8px;
}
.property_list
{
	behavior:AvBehav_PropertyList;
}
.list[no_header]{padding-top:8px;}
.list[no_header] table > tr:nth-child(2){border-top:none;}

.list tr:checked/*,
.list tr:current */
{
    background-color:@COLOR_SELECTION;
  	border-top:solid 1px @COLOR_SELECTION;
	border-bottom:solid 1px @COLOR_SELECTION;
}
html[product^="avg"] .list tr:checked,
html[product^="avg"] .list table[multiple] > tr:current 
{
	color: black;
}
.list table[multiple] > tr:current 
{
    background-color: @COLOR_SELECTION;
}

.list table > tr > td 
{ 
	height:40px;/*fixed height improve performence*/ 
	padding:2px;
    border:none; 
	text-align:left;
	padding-left:4px;
	text-overflow:ellipsis;
	font-weight:normal;
}
.list table[resizable] th,
.list table[resizable] td
{
	  overflow:hidden;
	  height:1.4em;
}
.property_list table[resizable] td {height:min-intrinsic;}

.list table > tr > td:rtl
{
	text-align:right;
}

/* property list view - with 'edit in place' controls*/
.list .edit{  width:min-intrinsic;}
.list .edit_cur_item
{
	white-space:nowrap;
    background:none;
    padding:2px;
    padding-bottom:2px;
    width:100%%;
	height:min-intrinsic;
    text-align: left;
    cursor:text;
    overflow:hidden;
    font:inherit;
    context-menu:url(res:behavior-edit-menu.htm);
    white-space:nowrap;
	text-overflow:ellipsis;
}
.list .edit_cur_item:rtl
{
	text-align: right;
}
/*data slot div */
.list td > div.data
{
	visibility:collapse;
}
.list tr:current .edit_cur_item,
.list tr:current[empty] .edit_cur_item
{
    behavior:edit;
}

/*controls which are visible only for the current row */
.list tr .show_if_cur_row{	visibility:hidden; assigned! : self:disabled = true;}
.list tr:current .show_if_cur_row{visibility:visible; assigned! : self:disabled = false;}

 /*last empty row , if it's not current should be shown only as a hint for user */
.list tr:nth-last-child(1)[empty] .edit_cur_item
{
	behavior:edit; color:orange;
}
.list tr:nth-last-child(1)[empty] td {  opacity:0.3; } 
.list tr:nth-last-child(1)[empty] .show_if_cur_row{visibility:visible;}
.list tr:current:nth-last-child(1)[empty] td{  opacity:1.0;}
.list tr:hover:nth-last-child(1)[empty] td {  opacity:1.0;} 
.list tr:current[empty] .show_if_cur_row{ assigned! : self:disabled = true;}
.list tr[opaque][empty] td {  opacity:1.0;} 
.list tr[opaque] td {  opacity:1.0;}

.list:disabled > table > tr {background-color:transparent;}

.list tr:current div[name="browse_exe"],
.list tr:current div[name="browse"],
.list tr:hover div[name="browse"],
.list tr:hover div[name="browse_exe"],
.list tr[empty]:hover div[name="browse_exe"],
.list tr:current:nth-last-child(1)[empty] div[name="browse_exe"],
.list tr:current:nth-last-child(1)[empty] div[name="browse"],
.list tr[empty]:hover div[name="browse"]{assigned! : self:disabled = false;}
.list:disabled tr[empty]{display:none;}/*hide the help text*/

select popup{behavior:select; background-color:white;border:1px solid black;}

/*show the combo box only for the current item*/
.list:disabled *, /*y.o review ( checkboxes? )*/
.list tr .av_combobox > .btn:hover,
.list tr .av_combobox > .btn,
.list tr div.av_combobox,
.list tr widget[type="select-dropdown"] > button,
.list tr widget[type="select-dropdown"]
{
	background:none;
	foreground:none;
}
.list tr:nth-last-child(1)[empty] .edit_cur_item,
.list tr:current .edit_cur_item,
.list tr:current[empty] .edit_cur_item,
.list tr:nth-last-child(1)[empty] div.av_combobox,
.list tr:nth-last-child(1)[empty] widget[type="select-dropdown"],
.list tr:current div.av_combobox,
.list tr:current widget[type="select-dropdown"] 
{
    background-color:white;
    border:1px solid #D6D6D6;
}
.list:disabled > table > tr:current 
{
	background-color:transparent;
  	border-top:solid 1px transparent;
	border-bottom:solid 1px transparent;
}
.list:disabled tr:nth-last-child(1)[empty] .edit_cur_item,
.list:disabled > table > tr:current .edit_cur_item, 
.list:disabled > table > tr .edit_cur_item{background:none; color:#6D6D6D;} 
.list:disabled
{
	background-color:#F5F5F5;
	color:#6D6D6D;
}

html[product^="avg"] .list:disabled
{
	background-color: #697281;
}

.list tr:nth-last-child(1)[empty] widget[type="select-dropdown"] > button,
.list tr:nth-last-child(1)[empty] .av_combobox > .btn,
.list tr:current .av_combobox > .btn,
.list tr:current widget[type="select-dropdown"] > button
{
	foreground:url(res:images/arrowlit_down.png);
}
.list tr:nth-last-child(1)[empty] .av_combobox > .btn:hover,
.list tr:current .av_combobox > .btn:hover,
.list tr:nth-last-child(1)[empty] widget[type="select-dropdown"] > button:hover,
.list tr:current widget[type="select-dropdown"] > button:hover
{
    background:url(theme:toolbar-button-hover);
    foreground:url(res:images/arrowlit_down.png);
}
/*bugfix - outline is not drawn on dynamically create items. why?*/
.list > table > tr > td  *:tab-focus
{
	border:1px dotted #555555;
}

.list_button {
	background-image: none;
	background-color: #808080;
    text-align:center;
    vertical-align:middle;
    min-width:min-intrinsic;
    width:16px;
	height:16px;
    white-space:nowrap;
}

.list_button:hover {
	background-color: @COLOR_LIGHT_BLUE;
}
.list table >tr:current .list_button{	background-color: @COLOR_LIGHT_BLUE;}

.input_box {
	width:100%%;
	padding-top:4px;
	padding-bottom:3px
}
.input_box .edit_cur_item {
	width:100%%; 
	height:1.5em;
	margin-top:3px;
}
.input_box  .av_button {
	margin-left:12px;
} 