@import url(https://fonts.googleapis.com/css?family=Fjalla+One);
@import url(https://fonts.googleapis.com/css?family=Oswald);
@import url(https://fonts.googleapis.com/css?family=Open+Sans);

html {
    margin: 0; padding: 0;
    min-height: 100%;
    position: relative;
}

body {
    margin: 0; padding: 0;
    background: #f3f3f3;
    font-family: "Open Sans", sans-serif;
}

a {
    color: #379;
    text-decoration: none;
    xfont-style: italic;
    xborder-bottom: 1px #fff dotted;
}

q::before { content: "\201c" }
q::after { content: "\201d" }
q { font-style: italic }

audio { display: block; margin: 0.8em 0 0.3em }

.clear {clear: both;}
*:focus {outline: none;}
.toggle {cursor: pointer;}

h1, h2, h3 {
    font-weight: normal;
    font-family: "Fjalla One", Oswald, sans-serif;
    margin: 0.5em 0 0.2em;
    padding: 0;
    text-align: center;
}

h1 { font-size: 5em; text-transform: uppercase; }
h2 { font-size: 3em; }
h3 { font-size: 1.3em; font-style: italic }

p.byline { font-style: italic; text-align: center }



#subtitle {
	font-size: 16px;
	padding: 0 0 10px 0;
	text-transform: uppercase;
}

#nav {
    xheight: 180px;
/*    background: url(/img/tangaroa-raft-header.jpg) #1F2B33 no-repeat;*/
    background: url(/img/newbg.jpg) #1F2B33 no-repeat;
    padding: 20px 0 0 0;
    box-sizing: border-box;
    z-index: 2;
}

#nav a { text-decoration: none; color: white }

#nav #logo { float: left; background: #0b4253; padding: 2px 4px 10px; margin: 0 0 20px 2%; border: 3px solid white; border-radius: 3px;  }

#nav #motto { 
  font-size: 20px;
  clear: left; background: #3ab588; 
  background: #0b4253; 
  padding: 4px 10px 4px 20px; 
  margin: 0 0 0 0; font-weight: bold; 
  text-wrap: balance 
}

#nav ul {
    margin: 0;
    text-align: right;
}

#nav li {
    display: inline;
    font-size: 14px;
    list-style: none;
    padding: 5px; 
    margin: 3px; 
    background: #f52; background: #38a9a2;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    transition: 0.2s;
    border-radius: 3px;
}

#nav li:hover {
    background: #1F2B33; 
}

#nav #social { 
    position: absolute; top: 52px; right: 0%;
    background: white; background: #0b4253;
    padding: 5px 20px 0 0;
}

#nav #social a {
    margin-left: 5px;
}

#wrapper {
    padding: 10px 10px 10px 20px;
    font-size: 15px;
    background: white;
    margin: 0px 0px 150px 0;
    line-height: 1.3;
    border: 1px solid #fff;
    min-height: 800px;
}

.home #wrapper {
    margin-left: 25%;
}


#wrapper:after { display: block; content: " "; clear: both }

form { padding: 100px }

aside.right {
    width: 25%;
    position: absolute; top: 90px; right: 0px;
    z-index: 3;
    font-size: 14px;
    margin: 0;
    padding: 0;
    color: white;
    background: transparent; /* #1ab; */
}

aside.left {
    width: 33%;
    float: left;
    margin-right: 1em;
}


aside * { margin: 0; padding: 0 }

span.editText {
	display: block;
	cursor: pointer;
}

span.editText textarea {
	border: 0;
	padding: 0;
	width: 100%;
	resize: none;
	color: inherit;
	display: block;
	overflow: hidden;
	font-size: inherit;
	line-height: inherit;
	font-family: inherit;
	background-color: transparent;
}

.border {
	border-radius: 5px;
	margin-bottom: 10px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

.hide {
	margin: 0;
	width: 100%;
	display: none;
}

.change {
	width: 100%;
	height: auto;
	padding: 20px;
	margin-top: 5px;
	background: #1F2B33;
}

.change select {
	width: 20%;
	color: #fff;
	border: none;
	padding: 10px;
	font-weight: bold;
	background: #16a6b6;
}

.settings {
	width: 100%;
	clear: both;
	color: #fff;
	height: auto;
	padding: 5px 0;
	text-align: center;
	background: #16a6b6;
}

div.settings div.change {
	width: 52%;
	text-align: left;
	margin-left: 10%;
}

footer {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    min-height: 10px;
    background: #1F2B33;
    background: white;
    text-align: center;
    color: #ddd;
    color: black
    padding: 3px 2% 0;
    font-size: 13px;
    margin: 0; 
    border-top: 10px solid #f3f3f3;
}

blockquote { margin: 0; padding: 0.5em 1em 0.5em 1em; font-style: italic;  }

/* news */

/* for home and new page, are these general enough? */

article { width: 100%; max-width: 50em; margin: 0 auto; padding-bottom: 0.5em; border-bottom: thin solid #eee; min-height: 100px;  }
article p { margin: 0.5em 0 0 0; padding: 0; }


figure { width: 100%;  margin: 10px 0; padding: 0; text-align: center }
figure.one { width: auto; xfloat: left; margin: 0; padding: 0 10px 0px 0; text-align: center }

figure img { width: 14%; margin: 0 1% 0 0 }
xfigure.one img { width: 9em; margin: 0 5px 0 0 }

figure img { margin: 5px; padding; 0; box-shadow: 2px 2px 2px 0px gray; transition: 0.2s }
figure img:hover { box-shadow: 4px 4px 4px 0px gray }

/* small screens */

@media all and (max-width: 1000px) { 
  .sponsors aside { display: none }
  .sponsors #wrapper { margin-right: 0 }
}

/* links */
.links #wrapper a { text-decoration: none; border: none; display: list-item; margin-left: 1.5em; }
.links #wrapper td { vertical-align: top }
/*
.links #wrapper a::before { content: ' | ' }
.links #wrapper h2 + a::before { content: '' }
.links #wrapper a:first-child::before { content: '' }
*/

/* twitter */

.twitter-follow-button, .fb-share-button { float: right; padding-right: 10px }
.timeline { border-radius: 0 !important }


th, td { vertical-align: top }

/* crew */

/*
.crew aside { display: none }
.crew #wrapper { margin: 20px 50px; }
*/

.crew table { width: 100% }
.crew table td { width: 48%; padding: 0 10px 20px 0 }
.crew table img { float: left; padding: 0 10px 10px 0 }

/* sponsor */

.sponsors { text-align: center }
.sponsors table tr td { vertical-align: bottom; padding: 0 1em; text-align: center }
.sponsors table tr + tr td { vertical-align: top }
.sponsors td img { padding: 10px; box-sizing: border-box; width: 100%; max-width: 350px }

span.ab { display: none }
.home span.ab { display: inline}

p.q { font-style: italic }

.map nav, .map1 nav, .map footer, .map aside, .map1 footer, .map1 aside { display: none }

#map-canvas {
    position: relative;
    width: 100%;
    height: 300px;
    background: transparent;
    z-index: 1;
}

.home #map-parent {
    float: left;
    width: 25%;
    xheight: 400px;
    background: #f52;
    background: #38a9a2;
    z-index: 1;
}

.home #map-links {
    padding: 0.2em 0.5em;
}

.home #map-links a {
    text-transform: uppercase;
    font-weight: bold;
    color: white;
    transition: 0.2s;
}

.home #map-links a:hover {
    background: #1F2B33; 
}
