/*
Theme Name: NZ Whale and Dolphin Trust
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nz-whale-and-dolphin-trust
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

NZ Whale and Dolphin Trust is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Normalize
2.0 Typography
3.0 Elements
4.0 Forms
5.0 Navigation
	5.1 Links
	5.2 Menus
6.0 Accessibility
7.0 Alignments
8.0 Clearings
9.0 Widgets
10.0 Content
	10.1 Posts and pages
	10.2 Asides
	10.3 Comments
11.0 Infinite scroll
12.0 Media
	12.1 Captions
	12.2 Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 Normalize
--------------------------------------------------------------*/
html {
	font-family: "Open Sans", "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
 	background-color: #001423;
}

#background {
	background: url(/wp-content/uploads/bg-main.jpg) center top no-repeat fixed;
}

#background-home {
	background: url(/wp-content/uploads/homepage-background-image.jpg) center top no-repeat fixed;	
}

body {
	margin: 0;
}



#page {
  	background: url(/wp-content/uploads/bg-sub-repeat.gif) repeat;
	padding-right: 3px;
}

#banner {
	margin-right: auto;
	margin-left: auto;
	position: relative;
	display: block;
	margin-bottom: 0px;
	max-width: 1440px;
}

#site-branding-home {
	width: 40%;
	position: relative;
	display: block;
	float: left;
	padding-bottom: 4px;
	background-image: url(/wp-content/uploads/bg-home-intro.png);
	padding-top: 30px;
	padding-left: 30px;
	
}

#site-branding {
	width: 40%;
	position: relative;
	display: block;
	float: left;
	padding-bottom: 8px;
}

#masthead {
	max-width: 980px;
	margin-right: auto;
	margin-left: auto;
	 }

#content-home {
  	background: none;	       
	max-width: 980px;
	margin-right: auto;
	margin-left: auto;
}

.page-title {
	background-color: #011c2c;
	color: #fff;
	padding: 10px 18px 10px 38px;
	margin-top: -35px;
	position: absolute;
	display: block;
	float: left;
	font-size: 90%;
	text-transform: uppercase;
	font-weight: 300;
	letter-spacing: .1em;
}

.gallery-page-title {
	background-color: #011c2c;
	color: #fff;
	padding: 10px 18px 10px 38px;
	margin-top: -37px;
	position: absolute;
	display: block;
	float: left;
	font-size: 90%;
	text-transform: uppercase;
	font-weight: 300;
	letter-spacing: .1em;
}

#page-image {
	max-width: 980px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 0;
	padding-bottom: 0;
}

#page-image img {
	margin-bottom:  -8px;
}



#content {
  	background: url(/wp-content/uploads/bg-pagecontainer.gif) repeat;	       
	max-width: 980px;
	margin-right: auto;
	margin-left: auto;
	padding-right: 40px;
	padding-left: 40px;
	padding-top: 40px;
}



#primary-home {
	width: 100%;
	display: block;
	float: left;
	position: relative;
}

#primary {
	width: 70%;
	display: block;
	float: left;
	position: relative;
	margin-right: 4%;
}

#secondary {
	width: 26%;
	display: block;
	float: right;
	position: relative;
	margin-top: 0px;
	min-width: 180px;
	max-width: 230px;
}


#wrapper {
	max-width: 980px;
	margin-right: auto;
	margin-left: auto;
}




#colophon {
	font-size: 70%;
 	background-color: #011c2c;
    color: #597d91;
    padding-top: 28px;
    padding-bottom: 28px;
}

#colophon a {
    color: #597d91;
    text-decoration: none;
}

#colophon a:hover {
    color: #597d91;
    text-decoration: underline;

}

#black {
	background-color: #001423;
	color: #34576a;
	padding-top: 12px;
	padding-bottom: 28px;
	display: block;
	width: 100%;
	letter-spacing: .4px;
	font-size: 70%;
	position: relative;
}

#column {
	width: 20%;	
	position: relative;
	display: block;
	float: left;
	min-width: 120px;
}


#column-homepage {
	width: 60%;
	display: block;
	position: relative;
	float: left;
}

.homepage-image {
	width: 48%;
	margin-right: 2%;
	display: block;
	position: relative;
	float: left;
	}

#column-facebook {
	width: 38%;
	display: block;
	position: relative;
	float: left;
	background-color: #e5e9eb;
	border: 1px solid #fff;
	height: 305px;
}

.home-link {
	margin-bottom: 16px;
	border: 1px solid #65899a;
}


#widget-research {
	padding: 10px;
	background-color: #b1a88e;
	line-height: .94em;
	max-width:  231px;

}

#widget-research a {
	font-size: .8em;
	color: #fff;
}

#widget-research a:hover {
	color: #e8e2d9;
	text-decoration: none;
}


#post {
	display: block;
	float: left;
	position: relative;
}

.entry-meta {
	font-size: .8em;
	text-transform: uppercase;
	margin-top: 4px;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0 0 0.67em;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
	margin: 0;
	padding: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"] {
	-webkit-appearance: textfield;
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #404040;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

h1 {
	font-weight: 300;
	line-height: 1.24em;
}

h1 a:hover {
	text-decoration: none;
}

h2 {
	font-weight: 600;
	font-size: 1.1em;
	text-transform: uppercase;
}

h2.entry-title {
	color: #011c2c;
	margin-top: 0px;
	margin-bottom: 0;
	text-transform: none;
}

h2.entry-title a {
	color: #011c2c;
}

h2.entry-title a:hover {
	color: #11729e;
	text-decoration: none;
}



h3 {
	font-weight: 400;
	font-size: 1em;	
	letter-spacing: .04em;
}

h3.widget-title {
	display:  none;
	padding-bottom: 8px;
}

h4.widget-rtitle {
	color:#fff;
	margin-bottom: 8px;
	padding: 0px;
}

h4 {
	font-weight: bold;
	margin-bottom: 0;
	padding-bottom: 0;
	padding-top: 4px;
	margin-top: 0;
}

 .collapseomatic {
    background-image: url(/wp-content/uploads/collapse-plus.png) !important;
}
.colomat-close {
    background-image: url(/wp-content/uploads/collapse-minus.png) !important;
}



.collapseomatic
{
  background-repeat: no-repeat;
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 10px;
  padding-left: 16px;
  cursor: pointer;
}

.colomat-hover
{
	text-decoration: none;
}

p {
	margin-bottom: 1.5em;
}

.front-page {
	color: #fff;
	font-size: 1em;
	padding-right: 10%;
	line-height: 1.4em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
3.0 Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 0em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: .5em;
}

.no_bullet {
	list-style: none;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
4.0 Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 3px;
}

textarea {
	padding-left: 3px;
	width: 100%;
}

/*--------------------------------------------------------------
5.0 Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
5.1 Links
--------------------------------------------------------------*/
a {
	color: #11729e;
	text-decoration: none;
}

a:visited {
	color: #11729e;
	text-decoration: none;
}

a:hover,
a:focus,
a:active {
	color: #11729e;
	text-decoration: underline;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/*--------------------------------------------------------------
5.2 Menus
--------------------------------------------------------------*/


#menu {
	position: relative;
	display: block;
	float: right;
	padding-top: 10px;
	width: 60%;
	padding-right: 16px;
}

#menu ul {
	list-style: none;
	margin: 0 0 20px;
	padding-left: 0;
	float: right;
}

#menu li {
	float: left;
	position: relative;	
	margin-right: 4px;
	font-size: .8em;
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: .6px;
}

#menu li a {
	color: #68cad9;
	text-decoration: none;
}

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


.main-navigation {
	clear: both;
	display: block;
	width: 100%;
	float: right;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
	float: right;
}

.main-navigation li {
	margin-left: 0px;
	float: left;
	position: relative;
	margin-right: 0px;
	text-transform: uppercase;
	font-size: .8em;
	font-weight: 400;
	background-color: #0a3850;
	border: 1px solid #4d7f91;
	letter-spacing: .08em;
}

.main-navigation a {
	display: block;
	text-decoration: none;
	color: #68cad9;
	padding-top: 4px;
	padding-right: 20px;
	padding-left: 20px;
	padding-bottom: 4px;
}

.main-navigation a:hover {
	color: #fff;
	text-decoration: none;
	background-color: #011c2c;
}

li.current_page_item {
	background-color: #011c2c;
}

li.current_page_item a {
	color: #fff;
}


.main-navigation ul ul {
	float: left;
	position: absolute;
	top: 28px;
	left: -999em;
	z-index: 99999;
	margin-left: 0;
}

.main-navigation ul li ul li a {
	font-size: 1.2em;
	font-weight: 300;
	letter-spacing: .08em;
	padding-top: 8px;
	padding-bottom: 8px;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul li {
	border: 0px solid #4d7f91;
	
}

.main-navigation li:hover > a {
}

.main-navigation ul ul :hover > a {
}

.main-navigation ul ul a:hover {
}

.main-navigation ul li:hover > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul {
	left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a {
}

/* Small menu. */
.menu-toggle {
	display: none;
}



.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
6.0 Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/*--------------------------------------------------------------
7.0 Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
8.0 Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
9.0 Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 .2em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/* Search widget. */
.widget_search .search-submit {
	display: none;
}

/*--------------------------------------------------------------
10.0 Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
10.1 Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
10.2 Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
10.3 Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
11.0 Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
12.0 Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
12.1 Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0 auto;
}

.wp-caption-text {
	text-align: center;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

/*--------------------------------------------------------------
12.2 Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}


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

#page {
	padding-right: 0px;
}

#content {
	padding-right: 24px;
	padding-left: 0px;
}

#wrapper {
	padding-left: 28px;
	padding-right: 14px;
}

.homepage-image {
	width: 46%;
	margin-right: 4%;
	display: block;
	position: relative;
	float: left;
	}

}

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

.main-navigation a {
	padding-right: 12px;
	padding-left: 12px;
}

.front-page {
	font-size: .9em;
	line-height: 1.3em;
}



}




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

#site-branding-home {
	width: 80%;
	background-image: none;
	margin-left: 0;
	padding-left: 0;
	margin-left: 30px;
}

.front-page {
	padding-left: 0;
	font-size: 1.4em;
	font-weight: 300;
}

#menu {
	display: none;
}

.main-navigation ul {
	display: none;
 }

#column-homepage {
	width: 80%;
}


#column-facebook {
	width: 76%;
}

#primary {
	width: 66%;
	margin-right: 4%;
}

#secondary {
	width: 30%;
	min-width: 120px;
}



}




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

#column-homepage {
	width: 100%;
}


#column-facebook {
	width: 96%;
}

#wrapper {
	padding-right: 8px;
}

#primary {
	width: 100%;
	margin-right: 0%;
}

#secondary {
	display:  none;
}


}


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

.homepage-image {
	width: 100%;
	margin-right: 0%;

	}
	}
