/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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, img, 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, header, 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*
=====================================================
Many thanks to the tutorials at learn.shayhowe.com.
Accessed 1/2/15.
=====================================================
*/

/*
======================================================
Custom styles
======================================================
*/

body {
  
  font: 300 16px/22px "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  height: 100%;
}

/*

======================================================

Grid

======================================================
*/

*,
*:before,
*:after {
   -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
           box-sizing: border-box;
}

.container {
  margin: 0 auto;
  width: 960px;
  padding-left: 30px;
  padding-right: 30px;
  background-color: #cc9;
}

/*
===================================================
Clearfix
===================================================
*/

.group:before,
.group:after {
  content: "";
  display: table;
}
.group:after {
  clear: both;
}
.group {
  clear: both;
  }




/*
======================================================
Horizontal rule with flairs.  Credit: css-tricks.com/examples/hrs.
              Flaired edges, by Tomas Theunissen 
              Accessed 1/1/15 
======================================================
*/
hr {        
  height:30px;
  border-style:solid;
  border-color:black;
  border-width:1px 0 0 0;
  border-radius:20px;
}
hr:before {   /* Not really supposed to work, but does. */
  display:block;
  content:"";
  height:30px;
  margin-top:-31px;
  border-style:solid;
  border-color:black;
  border-width:0 0 1px 0;
  border-radius:20px;
}




/*
======================================================
Typography
======================================================
*/

h1, h3, h4, h5, p {
  margin-bottom: 22px;
}

h1, h2, h3, h4 {
  color: #648880;
}



h1, h3, h4, h5, h6 {
  font-family: "Times New Roman", serif;
  color: #39845e;
}

h1{
  font-size: 36px;
  line-height: 44px;
}

h2{
  font-size: 24px;
  line-height: 44px;
}	
h3 {	  
  font-size: 21px;
}
h4 {	  
  font-size: 18px;
}
h5{
  color:#39845e;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
}

strong {
  font-weight: 400;
}
cite, em {
  font-style: italic;
}


p{
	font-family: Arial, Helvetica, sans-serif;
	color: #16431a;
	font-size: 100%;
	} 

/*
===================================================
Links
===================================================
*/

a:hover {
  color: #a9b2b9;
  text-decoration: none;
}
a {
  color: #648880;
}
p a {
  border-bottom: 1px solid #dfe2ef;
}

/*
==================================================
Section styles
==================================================
*/

.site-title {
    text-align: center;
}

.logo img {
  display: inline-block;
  margin: auto;
}

.tagline {
  text-align:center;
  font-size: 12px;
  line-height: 10px;
  }

/* ================================================
I constructed the navigation menu based on the tutorial at 
   http://www.htmlgoodies.com/beyond/css/how-to-create-horizontal-navigation-with-css3.html
   Accessed 1/2/2015.
===================================================   */

/* This code formats the navigation panel. */

.primary-nav {
  width: 100%;
  height: 30px;
  font-size: 11px;
  font-family: Tahoma, Geneva, sans-serif;
  font-weight: bold;
  letter-spacing: .5px;
  text-transform: uppercase;
  text-align: center;
  border-radius: 20px;
  position: relative;
  top: -37px;
}


/* This code removes the default padding and bullets. */
.primary-nav ul {
  height:auto;
  padding: 8px 0px;
  margin: 0px;
}

/* This code makes the list display horizontally. */
.primary-nav li {
  display:inline;
  padding:15px;
}

/* This code removes the underlines and defines the text color.  */
.primary-nav a{
  text-decoration: none;
  color: #648880;
  padding: 8px 8px 8px 8px;
}

/* This code sets the hover effects, so users will know there is a link. */
.primary-nav a:hover {
  color: #f90;  
  background-color:#fff;
}

/*
============================================================================
Element rules
The css reset "cleaned" all of the standard formatting. This gets some of them back.
============================================================================
*/



q, blockquote {
  font-style: italic;
  quotes: "\201C" "\201D" "\2018" "\2019";
}


/*
======================================================
Two columns
Wrap contains the two columns. The main column is the substance, the right-nav column is navigation.
To get the faux-pillar, I used the tutorial at http://webdesign.tutsplus.com/tutorials/quick-tip-solving-the-equal-height-column-conundrum--cms-20403
Accessed 2/23/15.
======================================================
*/

.wrap {
   width: 960px;
   margin: 0 auto;
   background-color: #cc9;
   position: relative;
}
.wrap:before,
.wrap:after {
     content:"";
	 display:table;
}
.wrap:after {
     clear:both;
}

.main, .main:before {
    width:67%;
}
.main {	
    float: left;	
    background-color: inherit;	
}
.main:before {
     content: '';
	 position: absolute;
	 top: 0;
	 bottom: 0;
	 z-index: -1;
	 left:0;
	 background: inherit;
	 }

.right-nav, .right-nav:before {
  width: 33%;
}	 
.right-nav {
  float: left;
  text-align:center;
    padding: 25px 0px 25px 0px;
  background-color: inherit;	  
}
.right-nav:before {
     content: '';
	 position: absolute;
	 top: 0;
	 bottom: 0;
	 z-index: -1;
	 left:67%;
	 background-color: inherit;
     }

.right-nav img {
    width: 75%;
	margin: 5px;
	border: 1px solid black;
}

#no-border {
    border: 0px;
}


/* 
==============================================
The content section has photographs alternating left and right with text opposite. 
================================================
*/

.content {
  margin: 10px auto;
  padding: 10px;
  display: table;
}
.content:before {
     content: "";
	 position: absolute;
	 top: 0;
	 bottom: 0;
	 z-index: -1;
	 left:0;
	 background: #444;
}


.content:nth-of-type(odd) img {
  display: table;
  float: left;
  width: 75%;
  margin: 10px;
  border: 1px solid black;
  vertical-align: middle;
  
  
}
.content:nth-of-type(even) img {
  display: table;
  float:right;
  width: 75%;
  margin: 10px;
  border: 1px solid black;
}


/*
=======================================
Result section will display the small logo, a declaration related to
the content section, then a large photo, all centered and on their own lines.
===========================================
*/

.result {
  
  padding: 10px;
  display: inline-block;
  text-align:center;
  margin-left: auto;
  margin-right: auto;
}









/*
=============================================
Primary footer
=============================================
*/

.primary-footer {
  color: #648880;
  font-size: 14px;
  padding-bottom: 44px;
  padding-top: 44px;
}

.primary-footer small{
    font-weight:400;
}

footer	{
	max-width:100%;
	display:block;
	text-align:center;
	padding:10px 0 10px;
	font-family:"Times New Roman", serif;
	}

