#banner {
	background-color: #49004F;
	background-image: url(../img/bannerBG.jpg);
	background-repeat: repeat-x;
}

.center {
	margin: 0 auto;
}

h1,h2,h3,h4,h5,h6 {
  color:#152732;
  font-weight: normal;
  line-height: 1.3;
  margin:0.5rem 0;  
}

h1 {font-size:2rem;}
h2 {font-size:1.8rem;}  
h3 {font-size:1.6rem;}  
h4 {font-size:1.4rem;}  
h5 {font-size:1.1rem;}  
h6 {font-size:0.9rem;}

h1 {
	margin-top: 0;
	padding-top: 0;
}

#second-block {
padding: 0 .5rem;
}

.box {
	background-color: #d3d3d3;	
}

.box2 {
  background:none repeat scroll 0 0 #fff;
  display:block;
  padding:1.25rem;
  width:100%;
}

.marginright {
	margin-right: 10px;	
}

.marginleft {
	margin-left: 10px;
}

a.black {
	color: #000000;	
}

a.un {
	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;
    	}
    }