@media only screen and (max-width: 800px) {
	
	#flip-scroll .cf:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
	#flip-scroll * html .cf { zoom: 1; }
	#flip-scroll *:first-child+html .cf { zoom: 1; }
	
	#flip-scroll table { width: 100%; border-collapse: collapse; border-spacing: 0; }
 
	#flip-scroll th,
	#flip-scroll td { margin: 0; vertical-align: top; }
	#flip-scroll th { text-align: left; }
	
	#flip-scroll table { display: block; position: relative; width: 100%; }
	#flip-scroll thead { display: block; float: left; }
	#flip-scroll tbody { display: block; width: auto; position: relative; overflow-x: auto; white-space: nowrap; }
	#flip-scroll thead tr { display: block; }
	#flip-scroll th { display: block; text-align: right; }
	#flip-scroll tbody tr { display: inline-block; vertical-align: top; }
	#flip-scroll td { display: block; min-height: 1.25em; text-align: left; }
 
 
	/* sort out borders */
 
	#flip-scroll th { border-bottom: 0; border-left: 0; }
	#flip-scroll td { border-left: 0; border-right: 0; border-bottom: 0; }
	#flip-scroll tbody tr { border-left: 1px solid #babcbf; }
	#flip-scroll th:last-child,
	#flip-scroll td:last-child { border-bottom: 1px solid #babcbf; }
}
				
	


/* Space out content a bit */
body {
  padding-bottom: 20px;
}
#logoimage
{
    display: block;
    float: left;
    margin: 5px;
    z-index: 1000;
    position: fixed;
}
/* Everything but the jumbotron gets side spacing for mobile first views */
.header,
.marketing,
.footer {
  padding-right: 15px;
  padding-left: 15px;
}

/* Custom page header */
.header {
  border-bottom: 1px solid #e5e5e5;
}
/* Make the masthead heading the same height as the navigation */
.header h3 {
  padding-bottom: 19px;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 40px;
}

/* Custom page footer */
.footer {
  padding-top: 0px;
  color: #777;
  border-top: 0px solid #e5e5e5; text-align:center;
}

/* Customize container */
@media (min-width: 768px) {
  .container {
    /*max-width: 730px;*/
  }
}
.container-narrow > hr {
  margin: 30px 0;
}

/* Main marketing message and sign up button */
.jumbotron {
  text-align: center;
  border-bottom: 1px solid #e5e5e5;
}
.jumbotron .btn {
  padding: 5px;
  font-size: 12px;width: 100%;
}

/* Supporting marketing content */
.marketing {
  margin: 40px 0;
}
.marketing p + h4 {
  margin-top: 28px;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
  /* Remove the padding we set earlier */
  .header,
  .marketing,
  .footer {
    padding-right: 0;
    padding-left: 0;
  }
  /* Space out the masthead */
  .header {
    margin-bottom: 30px;
      margin-top: 0px;
      height: 40px;
  }
  /* Remove the bottom border on the jumbotron for visual effect */
  .jumbotron {
    border-bottom: 0;
  }
}
#savetype,#textresource,#resourcevalueadd,.labour,.material,.editresourcename,.saveacntsubgrpsbutton,.saveacntgrpsbutton,.saveaccountsbutton,.editresourceunit,.editresourcerate,.saveresourcebutton,.savelabourbutton,.savematerialbutton,.saveprojectbutton,.editproject,#workgroupsdiv,#itemofworksdiv,#addworkgrouptable,.editworkgroupname,.saveworkgroupbutton,#productsection,#transportsection,#constructionsection,.editvendore,.editresourcetype,.editresourcevendor,#listresource,#step2,#prodhead,#vendorvalueadd,#resourcetable,.editbillpurpose,.editbillamount,.savebillbutton
{
    display: none;
}
#workgroupadd,#iowpadd,#activityedit
{
    display: none;
}
.vendorpopup
{
    border: solid 1px #afafaf;
    padding: 5px;
    background-color: #EEEEEE;
    position: absolute;
    width: 200px;
    display: none;
}
#textresource
{
    margin-bottom: 2px;
}
.topmenu
{
    float: left;
}
.topmenu li
{
    display: inline;
}
.small75
{
 width: 100px!important;
}
.small55
{
 width: 70px!important;
}
.small85
{
 width: 100px!important;
}
.small200
{
 width: 200px!important;
}
.saveiowbutton,.editiowname,.editiowunit,.editquantity,.editactivityname,.saveactivitybutton,.scheduleactivities
{
    display: none;
}
#restypeaddsection,.editresourtypename,.saveresourcetypebutton,.editresourtypesubgrp,.editresourtypeunit
{
    display: none;
}
#resourceeaddsection,#vendoraddsection,#productaddsection
{
    display: none;
}
.preloaderitems
{
    display: none;
}
