html, button, input, select, textarea,
.pure-g [class *= "pure-u"] {
    /* Set your content font stack here: */
    font-family: 'Open Sans', sans-serif;
    color: #333;
}


body {
	display: -webkit-flex;
	display: flex;
	min-height: 100vh;
	-webkit-flex-direction: column;
					flex-direction: column;
	margin:0;
}

.main {
	-webkit-flex: 1;
				flex: 1;
}

.footer {
  background-color: #898d99;
}

.footer-strip-sow {
	color: white;
	padding: 30px;
}

.footer-strip {
	color: white;
	padding: 20px;
}

.right {
	text-align: right;
}

.footer-strip a {
	display: inline-block;
	padding:10px;
	text-decoration:none;
	color:white;
}

.footer-strip a:hover {
	text-decoration:underline;
}

.mountains-footer {
  max-width: 100%;
}


.wrapper {
  margin:0 auto;
  max-width:100%;
  width:1024px;
}

.sow {
  margin: 10px;
}

.logo {
  max-width: 100%;
}

.banner {
  height: 190px;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-image:url(../img/wanaka1024.jpg);
}

.news-link {
  text-decoration: none;
  color: black;
  font-weight: bold;
  font-size: 1.1em;
}

.news-thumb {
  border:0;
  padding-bottom: 10px;
}

/* Navigation Menu */

#navContainer {
  text-align: right;
}

#menu {
  margin: 0 0 0 0;
  -moz-padding-start: 0;
  -webkit-padding-start: 0;
  list-style: none;
}

#menu li {
  display: inline-block;
  margin: 0.4em;
  font-size: 1em;
  text-transform: uppercase;
  letter-spacing: 1px;
}

li.active {
  color: #20549d;
  font-weight: bold;
}

#menu li a {
  display: inline-block;
  text-decoration: none;
  padding: 1em 0.5em;
  color: #302c2d;
  font-size: 15px;
}

.black #menu li a {
  text-decoration: none;
  padding: 1em 0.5em;
  color: white;
}

#menu li a:hover {
  text-decoration: none;
  color: #20549d;
}

.top {
  max-width: 1000px;
  margin: 0 auto;
}

.navbar-toggle {
  border: 1px solid rgba(0, 0, 0, 0);
  float: right;
  padding: 0 5px;
  position: relative;
  margin: 0 5px 0 0;
  background-color: silver;
}

.icon-bar {
  border-radius: 10px;
  display: block;
  height: 4px;
  width: 30px;
  background-color: #000;
}

.navbar-toggle .icon-bar + .icon-bar {
  margin-top: 4px;
}

.navbar-header {
    display:none;
}

.navbar-header:before, .navbar-header:after {
    content: " ";
    display: table;
}

.navbar-header:after {
    clear: both;
}

ul.secondary {
  padding-left: 0;
}

.secondary li {
  display:block;
  border-bottom: 1px solid #898d99;
  text-align: left;
}

.secondary li.heading {
  font-size: 1.5em;
  font-weight: bold;
  border-bottom: 2px solid #20549d;
}

.secondary li a {
  width: calc(100% - 20px);
  padding: 1em 0 1em 20px;
  text-decoration: none;
  color: black;
  display: inline-block;
  font-weight: bold;
}

.secondary li.heading a:hover {
  text-decoration: underline;
  background-color: white;
}

.secondary li a:hover {
  background-color: gainsboro;
}

.secondary li.active {
  background-color: gainsboro;
}

.pad-right {
  padding: 0 40px 0 0;
}

.pad {
  padding: 0 20px;
}

b {
  color: #20549d;
}


.sow img {
  margin: 0 auto;
}

#navContainer {
  text-align: center;
}

@media screen and (max-width: 1024px) {





  .footer-strip, .footer-strip-sow {
    text-align: center;
  }

  .wrapper {
    margin:0;
  }

}

@media screen and (max-width: 769px) {

  .left-column {order:2;}
  .right-column {order:1;}

  .pad-right {
    padding: 0;
  }

  #navContainer {
    padding-bottom: 0;
    text-align:left;
    }

  .navbar-header {
    cursor:pointer;
    background-color: silver;
    display: block;
    float: none;
    margin-left: 0;
    width: 100%;
    padding: 17px 0 17px 1.2em;
    font-weight:bold;
    font-size: 1.1em;
    border-bottom: 1px solid white;
  }

  #menu {display: none;}

  #menu li {
    display:block;
    border-bottom: 1px solid white;
    margin:0;
    background-color: gainsboro;
    text-align: left;
  }

	#menu li a {
    width:100%;
    padding:1.2em 0 1.2em 1.2em;
    display: inline-block;
    color: #302c2d;
    background-color: gainsboro;
  }

  #menu li a:hover {
    background-color:lightgray;
    color: #302c2d;
    }

  #menu li.active a {

    background-color: lightgray;
    color: #302c2d;
  }

}
