#banner {
	background-image: url(../img/fencerepeat2.gif);
	background-repeat: repeat-x;
	background-position: left top;
}

body {
	background-color:#ffffff;
}

.aside-nav li a {
  padding:.5em;
}

h1 {font-size:2em;padding-bottom:10px;}
h2 {font-size:1.8em;}  

h1, h2, h3, h4, h5, h6 {
  color:#0095c8;
}

.marginright {
	margin-right: 10px;	
}

.marginleft {
	margin-left: 10px;
}

.small {
	font-size: 0.8em;	
}

a.u {
	text-decoration: underline;
}

/* Rig columns for desktop - general rules */
    
    ul.rig {
    	list-style: none;
    	font-size: 0px;
    	margin-left: -2.5%; /* should match li left margin */
    }
    ul.rig li {
    	display: inline-block;
    	padding: 10px;
    	margin: 0 0 2.5% 2.5%;
    	background: #fff;
    	border: 1px solid #ddd;
    	font-size: 16px;
    	font-size: 1rem;
    	vertical-align: top;
    	box-shadow: 0 0 5px #ddd;
    	box-sizing: border-box;
    	-moz-box-sizing: border-box;
    	-webkit-box-sizing: border-box;
    }
    ul.rig li img {
    	max-width: 100%;
    	height: auto;
    	margin: 0 0 10px;
    }
    ul.rig li h3 {
    	margin: 0 0 5px;
    }
    ul.rig li p {
    	font-size: .9em;
    	line-height: 1.5em;
    	color: #333;
    }
    /* class for 2 columns */
    ul.rig.columns-2 li {
    	width: 47.5%; /* this value + 2.5 should = 50% */
    }
    /* class for 3 columns */
    ul.rig.columns-3 li {
    	width: 30.83%; /* this value + 2.5 should = 33% */
    }
    /* class for 4 columns */
    ul.rig.columns-4 li {
    	width: 22.5%; /* this value + 2.5 should = 25% */
    }
	
/* —– iPad Landscape —– */ 
@media (max-width: 1024px) { /* 3 columns */ ul.rig li { width: 30.83% !important; } }

/* —– iPad Portrait —– */ 
@media (max-width: 768px) { /* 2 columns */ ul.rig li { width: 47.5% !important; } }	

/* -- mobile phones - small screens - 1 column -- */
@media (max-width: 480px) {
    	ul.grid-nav li {
    		display: block;
    		margin: 0 0 5px;
    	}
    	ul.grid-nav li a {
    		display: block;
    	}
    	ul.rig {
    		margin-left: 0;
    	}
    	ul.rig li {
    		width: 100% !important; /* over-ride all li styles */
    		margin: 0 0 20px;
    	}
    }