html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  avertical-align:baseline;
  background:transparent;
} 

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { 
    display:block;
}

nav ul, nav li { margin: 0; } 
nav ul, ul { list-style:none; }

.span1, .span2, .span3, .span4, .span5, .span6, .span7, .span8, .span9, .span10, .span11, .span12{
    float:left;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
}

body.cf {
	max-width: 781px;
	margin: 0px auto;
}

.col{
  margin-left: 0.6402%;
}

.col:first-child {
  margin-left:0;
}

aside {
	background: url('/images/back_b.jpg');
	background-repeat: no-repeat;
}
article {
	background: url('/images/back_o1.gif');
	background-repeat: no-repeat;
}

.span1{
  width: 78.3611%;
  padding: 0px 2%;
}
.span1 h2 {
	font-weight: normal;
	letter-spacing: -1px;
	text-align: center;
	margin-bottom: 5px;
}
.span2{
  width: 20.9987%;
  float: right;
  
}
.span3{
  width: 100%;
}

#site-menu-mini {
	display: none;
}
#site-menu-maxi {
	display: inline;
}


body{ 
  font-size: 87.5%;
  color: #252e35; 
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; 
  line-height: 1.5em;
  background: #f6f6f6;  
}

h1{
    font-size: 1.714285714em; /* 24 / 14 */
    line-height: 1.5em; /* 21 / 14 */
}

h2{
  font-size: 1.5em; /* 21 / 14 */
  line-height: 1.5em; /* 21 / 14 */
}

p{
    font-size: 1em; /* 14 / 14 */
    line-height: 1.5em; /* 21 / 14 */
    margin-bottom: 1.5em; /* 21 / 14 */
}

#container, .inner{
  margin: 0 auto;
}



header h1{
  background: url('/images/header_o1.gif') no-repeat;
  text-indent: -9999px;
  line-height: 110px;
  display: block;
}
header h1 a {
	display: block;
}
header h2{
  background: url('/images/header_b.gif') no-repeat;
  text-indent: -9999px;
  line-height: 110px;
}

#container{
  clear: both;
}
.footer_login_table{
	display: none;
}

.alt{
  color: #fff;
  color: rgba(255,255,255, 0.9);
  letter-spacing: 0.05em;
}

/* NAVIGATION */

nav{
  margin: 7px 0 7px 0;
}

nav ul{
  text-align: right;
  overflow: auto;
  width: 100%;
}

nav ul li{
  margin: 0 0 0 0;
  text-align: center;
  overflow: hidden;
}

nav a{
  color: #496795;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  margin: 0;
  display: block;
  padding: 7px 0 7px 5%;
}
nav a:hover{
	background-color: #fff;
}

.login_table, .minicart	{font-size: 11px; margin-bottom: 20px; border-collapse: collapse; width: 93%; background: URL(/images/back_cart.gif) repeat-x bottom; margin: 0 auto;}

table.parts-enquiry		{font-size: 12px; width: 70%; border-collapse: collapse; margin: 0 auto;}
.show612				{display: none;}

div.ml-code				{float: left; width: 10%; padding: 0% 1%; font-size: 9px; color: #666;}
div.ml-name				{float: left; width: 61%;}
div.ml-parts			{float: left; width: 25%; padding: 0% 1%; text-align: right;}

div.pa-image			{float: left; width: 20px; padding: 0;}
div.pa-code				{float: left; width: 78px; padding: 0; font-size: 9px; color: #666;}
div.pa-name				{float: left; width: 344px; font-size: 11px;}
div.pa-stock			{float: left; width: 26px; padding: 0; text-align: center;}
div.pa-price			{float: left; width: 60px; padding: 0 2px 0 0; font-size: 11px; text-align: right;}
div.pa-qty				{float: left; width: 49px;}


div.table-head 			{height: 20px; line-height: 20px; font-size: 11px; font-weight: bold; background: URL(https://www.apinz.com/images/back_order.gif) repeat-x bottom; padding: 5px 10px; border-bottom: 1px solid brown;}
div.table-head-left 	{width: 66%; float: left;}
div.table-head-right	{width: 34%; float: left; text-align: right;}
div.table-head-full		{width: 100%;}

/* MEDIA QUERIES */

/* Responsify Defaults */

@media screen and (max-width: 780px){
	aside {
		background: url('/images/back_o1.gif');
		background-repeat: no-repeat;
	}
	article {
		background: transparent;
	}
	#site-menu-mini {
		display: inline;
		width: 96%;
		margin: 0 2%;
	}
	.footer_login_table {
		display: table;
		margin: 10px auto !important;
		width: 200px !important;
	}
	#site-menu-maxi {
		display: none;
	}
	.login_table, .minicart	{margin-bottom: 20px; border: 1px solid #444; width: 96%; background: URL(/images/back_cart.gif) repeat-x bottom; margin: 0 2%;}
	h2.span2, .maxi, #new-product-slider {
		display: none;
	}
	
  nav .span1{
    width: 100%;
  }

  .span1, article{
    width: 100%;
  }

  .span2, aside{
    width: 100%;
    margin-left: 0;
  }

  #container, .inner{
    width: 612px;
    padding: 0 auto;
  }
}
@media screen and (max-width: 612px){
	header h1{
	  background: url('/images/apinz_logo_mini.png') no-repeat;
	  background-size: 100%;
	}

	#container, .inner{
		width: 100%;
	}
	.hide612 {
		display: none;
	}
	.show612 {
		display: inline;
	}
	div.pa-image			{display: none;}
	div.pa-code				{float: left; width: 14.2%; font-size: 8px;}
	div.pa-name				{float: left; width: 60.2%; font-size: 11px;}
	div.pa-stock			{display: none;}
	div.pa-price			{width: 13.7%}
	div.pa-qty				{float: left; width: 10.8%;}
	
	/*img {
		width: 100%;
	}*/
	article iframe {
		width: 100% !important;
	}
}
@media screen and (max-width: 480px){
	header h1{
	  background: url('/images/apinz_logo_mini1.png') no-repeat;
	  background-size: 480px;
	  background-position: center top;
	}
	div.table-head-left {
		width: 100%;
	}
	div.table-head-right {
		display: none;
	}
	div.ml-name {
		width: 82% !important;
	}
	div.ml-parts {
		display: none;
	}
	table.parts-enquiry		{width: 100%;}
	nav ul li{
		width: 100%;
		margin: 0 0 5px 0;
	}
	nav a{
		margin: 0;
		padding: 14px 0 14px 0;
	}
}

/* Custom Breakpoints */

@media screen and (max-width: px) {
 /* Add your styles for devices with a maximum width of  */
}


// Micro Clearfix 

/* For modern browsers */
.cf:before,
.cf:after {
    content:"";
    display:table;
}

.cf:after {
    clear:both;
}

/* For IE 6/7 (trigger hasLayout) */
.cf {
    *zoom:1;
}
.ie7 .col1 {background: #f6f6f6;}
.ie7 .span2 {}

/* Homepage Sidebar Image */
.maxi img {
   max-width: 100%; 
   height: auto;
}