@media print {
  div#IS_Order h2 { display: none; }

  div#IS_Order div.IS_Button_Expanded { background-image: none; }
  div#IS_Order div.IS_Room div.RoomHead div.IS_Button_Contract { background-image: none; }
  div#IS_Order div.IS_Button_Contract { background-image: none; }

  #menu,
  div#IS_Order h1 span.helper,
  div#IS_Order a.IS_Button_Add,
  div#IS_Order div.SeporatorButtons,
  div#IS_Order td.remove,
  div#IS_Order td.RemoveCell,
  div#IS_Order tbody.addproduct,
  div#IS_Order a.IS_Box_Button_Go,
  div#IS_Order div.IS_Button_Add, 
  div#content table tr#CrumbRow,
  div#content table tr#OptionsRow { display: none } 
  /* hide elements by on as there are inline css 'display: block' and cannot override it for IE6*/
  div#IS_MaterialOrderList { border: none }
  div#IS_MaterialOrderList div.ScrollArea,
  div#IS_MaterialOrderList div.GridHeader,
  div#IS_MaterialOrderList div.GridFooter { display: none }
  div#IS_Order table#IS_JobDetails { width: auto; }
  div#IS_Order table.IS_OrderForm tbody tr td span, 
  div#IS_Order table.IS_OrderForm tbody tr td.CompanyCell span,
  div#IS_Order table.IS_OrderForm tbody tr td.PhoneCell span,
  div#IS_Order table.IS_OrderForm tbody tr td.PhoneCell2 span { float: none; }

  div#IS_Order table.IS_OrderForm tbody tr td.CompanyCell span,
  div#IS_Order table.IS_OrderForm tbody tr td.PhoneCell span,
  div#IS_Order table.IS_OrderForm tbody tr td.PhoneCell2 span,
  div#IS_Order table.IS_OrderForm tbody tr td.NotesCell textarea,
  div#IS_Order table.IS_OrderForm tbody tr td input { border: none }
  div#IS_Order table.IS_OrderForm tbody tr td.Install { border: none !important }
  div.HelpBox h3 { background-image: none }
  div#container { width: auto; margin: 0 auto; padding: 0; }
  div#contentHolder { width: auto; padding: 0; }
  div#contentHolder { border: none; }
  div#container > div#contentHolder { border: 1px solid #623008; }
  div#IS_Order { padding: 10px; }
  div#IS_Order table#IS_QuoteHeader,
  div#IS_Order table#IS_QuoteItems,
  div#IS_Order table#IS_QuoteExtras { width: 100%; }
  div#IS_Order textarea#QuoteComments { width: 90%; }

  /*don't why, but it works, padding should be 0 or 1 px otherwise a part 
    of page would be сutted. So padding should be transformed to margin of child element*/


  table.TableDocHeader { display: none; }
  div#doctree { display: none; } 
  
  div#IS_Order table.IS_OrderForm tbody tr td.OrderLegend { width: 9.25%; }
  div#IS_Order table.IS_OrderForm tbody tr td.CustomerNameCell { width: 18.51%; }
  div#IS_Order table.IS_OrderForm tbody tr td.NotesCell { width: 36%; }
  div#IS_Order table.IS_OrderForm tbody tr td.OrderLegend2 { width: 6.17%; }
  div#IS_Order table.IS_OrderForm tbody tr td.CompanyCell { width: 90%; clear: both;}
  div#IS_Order table.IS_OrderForm tbody tr td.CompanyCell span, 
  div#IS_Order table.IS_OrderForm tbody tr td.PhoneCell span { width: 10%; clear: both; padding: 0;}/*{ width: 14.02%; }*/
  div#IS_Order table.IS_OrderForm tbody tr td#JobNoCell { width: 15.642%; } 
  div#IS_Order table.IS_OrderForm tbody tr td#JobNoCell.input { width: 9.179%; }
  div#IS_Order table.IS_OrderForm tbody tr td.PhoneCell2 span { width: 18.878%; }
  div#IS_Order table.IS_OrderForm tbody tr td.DateCell { width: 9.169%; }
  div#IS_Order table.IS_OrderForm tbody tr td.DateCell input { width: auto !important; }
  div#IS_Order table.IS_OrderForm tbody tr td.AddressCell { width: 35.598%; }
  div#IS_Order table.IS_OrderForm tbody tr td.AddressCell input { width: 92.42%; }
  div#IS_Order table.IS_OrderForm tbody tr td.CityCell { width: 18.338%; }
  div#IS_Order table.IS_OrderForm tbody tr td.CityCell input { width: auto; }  
  div#IS_Order table.IS_OrderForm tbody tr td.StateCell { width: 9.70%; }
  div#IS_Order table.IS_OrderForm tbody tr td.StateCell select { width: 83.33% !important; }
  div#IS_Order table.TableForm { width: auto; margin: 0; }
  div#IS_Order table.IS_OrderForm tbody tr td.NotesCell textarea { width: 100%; overflow: auto; } 
  div#IS_Order table.IS_RoomProducts tbody tr td.NotesCell textarea { width: 100%; overflow: auto;}
  
  div#IS_Order div.IS_Room { width: auto; }
  div#IS_Order table.IS_RoomProducts { width: auto; padding: 0; margin: 0; }
  /*div#content { overflow: hidden; }*/
  /*div.HelpBox { display: none } */
  div#IS_Order { padding: 0; }
  div#content { padding: 10px; }

  div.TreeNavSelect { display: none; }

  div#IS_Order table.IS_RoomProducts thead.MainHead tr td.group { width: auto }
  div#IS_Order table.IS_RoomProducts thead.MainHead tr td.product { width: auto }
  div#IS_Order table.IS_RoomProducts thead.MainHead tr td.qty { width: auto }
  div#IS_Order table.IS_RoomProducts thead.MainHead tr td.unit { width: auto }
  div#IS_Order table.IS_RoomProducts thead.MainHead tr td.comments { width: auto }
  div#IS_Order table.IS_RoomProducts thead.MainHead tr td.remove { width: auto }
  /*
  div#IS_Order table.IS_RoomProducts tbody tr td.ProdNameCell { display: none; }
  div#IS_Order table.IS_RoomProducts tbody tr td.QtyCell { display: none; }
  div#IS_Order table.IS_RoomProducts tbody tr td.UnitCell { display: none; }
  div#IS_Order table.IS_RoomProducts tbody tr td.CommentsCell { display: none; }
  div#IS_Order table.IS_RoomProducts tbody tr td.RemoveCell { display: none; }
  div#IS_Order table.IS_RoomProducts tbody.comments { display: none; }
  */
  /*div#IS_Order table.IS_RoomProducts tbody tr td.QtyCell input { border: none; float: none; height: auto; line-height: auto; padding: 0; width: auto; font-size: auto; line-height: auto; margin-left: 20px;}*/

  /*div#IS_Order table.IS_RoomProducts tbody tr td.CommentsCell input { width: auto; }*/

  div#IS_Order div.IS_Room, 
  div#IS_Order div.IS_Room div.RoomHead,
  div#IS_Order div.IS_Room div.RoomFoot,
  div#IS_Order h2,
  div#IS_Order div.IS_Button_RoomEdit { background-image: none; }

  div#IS_Order table.IS_RoomDetails tbody { display: none; }

  div#IS_Order table.IS_RoomProducts tbody tr td.QtyCell input,
  div#IS_Order table.IS_RoomProducts tbody tr td.CommentsCell input,
  div#IS_Order table.IS_RoomProducts tbody tr td.NotesCell textarea { border: none; }

  div.HelpBox { width: 150%; background-image: none; }
  div.HelpBox h3 { width: auto; padding: 0 !important; margin: 0 !important;}
