/* -- RESET -- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size:100%;
  font: inherit;
  vertical-align: baseline;
  }

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
  }
  
html { 
  overflow-y: scroll;
  background: #FFF;
  }

img, embed, object, video { max-width: 100%; }
.ie6 img.full, .ie6 object.full, .ie6 embed, .ie6 video { width: 100%; }


/* -- Basic Typography and Layout -- */
body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1em;
    color: #222;
  }

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.809em;
    line-height: 1em;
  }

p, ul, ol, dl, blockquote {
    font-size: 1em;
    line-height:1.5em;
    margin-bottom: 1.5em; 
  }
    
p:first-child {
    margin-top:0.5em;
  }
p:last-child {
    margin-bottom:0;
  }
  
ul { list-style-type: disc; margin-left: 1.6em; }
ol { list-style-type: decimal; margin-left: 1.6em; }
nav ul, nav ol { list-style: none; margin: 0; padding: 0;}

b, strong { font-weight: bold; }
i, em { font-style: italic; }
small { font-size: 80%; }

.nowrap {
  white-space: nowrap;
}

/* -- Links -- */
a, a:visited, a:hover, a:focus { outline: none; }
a, a:visited { color: #3953a4; text-decoration: underline; }  
a:visited { color: #60a3e1; }
a:hover { color: #ccc; text-decoration:none; }  
a:active, a:focus { color: #f99; }
a img {border: none 0px;}

/* -- Layout & Typography -- */
html { 
    background: rgb(242, 250, 254);
  }

#container {
    width:960px;
    background-color:#fff;
    margin:0 auto 1em auto;
    padding-bottom:1.5em;
  }

#main {
    padding-top:0.5em;
    padding-left:24px;
    padding-right:24px;
  }

h1 { 
    font-size:1.5em;
    font-weight:bold;
    color: rgb(8,80,156);
    color:#fff;
    background-color: rgb(8,80,156);
  }

h1 a, h1 a:link, h1 a:visited, h1 a:focus, h1 a:hover, h1 a:active {
  color:#fff;
}

h1 .subhead {
    font-size:0.66em;
  }

/* Levin Alexander's graphic headers image replacement for the title */
header h1, header h1 span {
	  width:960px;
	  height:149px;
	  background-image: url("../images/bnrMPC.png");
	  background-repeat: no-repeat;
  }

h2 {
    text-align:center;
    font-weight:bold;
    font-size:1.16em;
    padding:1em;
    color:#fff;
    background-color: rgb(8,80,156);
  }

h3 a {
    color:#33669a;
    font-weight: bold;
    text-decoration: none;
  }

h3 a:visited {
    color:#60a3e1;
    text-decoration: none;
  }

section {
    background-color: #f6f6f6;
    float:left;
    margin-right:24px;
    width:444px;
  }  

.ie8 section {
    margin-right:0px;
  }

.ie8 section:first-child {
    margin-right:24px;
  }

.fakeColumnBkg {
    background: transparent url("../images/bkgColumns960.png") repeat;
  }

section:last-child {
    margin-right:0;
  }  
  
section h2 {
    margin-bottom: 1.5em;
  }
  
.projectDescription {
  margin:0 20px 1.4em 20px
}  
  
.projectDescription img {
  float:left;
}

.projectDescription h3 {
  margin-left:125px;
  margin-bottom:0.3em;
  line-height:1.4em;
  }

.projectDescription p {
  margin-left:125px;
  font-size:0.9em;
}
  
footer {
    margin-top:2em;
    text-align:center;
    font-size:0.83em;
  }
  
div.shadow {
    -webkit-box-shadow: 5px 5px 6px 0px rgba(0, 0, 0, 0.35);
    -moz-box-shadow:    5px 5px 6px 0px rgba(0, 0, 0, 0.35);
    box-shadow:         5px 5px 6px 0px rgba(0, 0, 0, 0.35);
  }
  

/* Medium sized */

@media screen and (max-width: 950px) {
  body {
    font-size:0.75em;
  }
  
  #container {
    width:704px;
  }
  
  #main {
    padding-left:20px;
    padding-right:20px;
  }
  
  header h1, header h1 span {
    width:704px;
    height:110px;
    background-size:cover;
  }
  
  section { 
    margin-right:20px;
    width:322px;
  }
  
  .fakeColumnBkg {
    background: transparent url("../images/bkgColumns704.png") repeat;
  }
}

@media screen and (max-width: 700px) {
  #container {
    width:100%;
  }
  
  header h1, header h1 span {
    width:100%;
    height:110px;
    background-position: 12% 0%;
  }
  
  section, section:last-child {
    float:none;
    width:100%;
    margin:0 auto;
    max-width:550px;
  }
  .fakeColumnBkg {
    background:transparent;
  }
  
  .projectDescription {
    font-size:1.2em ;
    padding-bottom:1em;
  }
}

@media screen and (max-width: 440px) {
  #main {
    padding-right:0;
    padding-left:0;
  }
  #main > p { 
    padding-left:1em;
    padding-right:1em;
  }
}

@media screen and (max-width:400px) {
  header h1, header h1 span {
    width:100%;
    height:auto;
    background-image:none;
    text-align:center;
  }
  header h1.replace {
    padding-bottom:0.25em;
  }
}

@media screen and (max-width:300px) {
  .projectDescription img {
    float:none;
    margin-bottom:0.5em;
  }
  .projectDescription h3, .projectDescription p {
    margin-left:1em;
  }
}
/* -- Browser styling and hacks -- */
.cf:before, .cf:after { content: ""; display: block; }
.cf:after { clear: both; }
.ie6 .cf { zoom: 1 }

/* Levin Alexander's graphic headers image replacement markup from
	http://levinalex.net/files/20030809/alternatefir.html

	Note, non-standard markup to support IE5/Mac is omitted.
	Note, z-index to support Opera 5 and 6 is omitted.

	See Also:
	http://www.mezzoblue.com/archives/2003/12/12/accessible_i/#c002804
*/
.replace {
	position:relative;
	margin:0;
	padding:0;
}

.replace span {
	display: block;
	position:absolute;
	top:0px;
	left:0px;
}
/* end levin's graphic header image replacement.  to use, add the following css:
	#myh1, #myh1 span { height:XXXpx; width:XXXpx; background-image: url(XXX); }

	where myh1 is id of element being replaced declared as such:

	<tag class="replace" id="myh1">Text to be replaced.<span></span></tag>
*/
