@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i|Playfair+Display:400,400i,700,700i');
@import url('https://fonts.googleapis.com/css?family=Quicksand');
@import url('https://fonts.googleapis.com/css?family=Tangerine');
@import url('https://fonts.googleapis.com/css?family=Yantramanav:300');

/*
Theme name: OptimalBI
Author: Scott Willan
Date: 27/June/2017
Version: 0.0.1
*/

/* Admin toolbar */
#wpadminbar {
	background-color: #faa61a;
}

#wpus_response .post {
    margin-bottom: 5rem;
}

.responsive-menu-search-box{
    width: 100%;
    margin-bottom: 2rem;
    height: 2rem;
    padding: 0.5rem;
    border: 1px solid #aaaaaa;
    border-radius: 4px;
}

.comment-form-author label, .comment-form-email label, .comment-form-url  {
    display: none;
}

.comment-form-author, .comment-form-email {
    width: 50%;
    min-width: 250px;
}

.comment-form-author input, .comment-form-email input, .comment-form-comment textarea, .VS-search-box-wrapper.VS-search-box {
    width: 100%;
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid #aaa;
}

.VS-search-box-wrapper.VS-search-box {
    padding: 0.1rem;
    height: 1.5rem;
}

.VS-icon.VS-icon-search {
    display: none;
}

.VS-placeholder, .VS-search-inner {
    margin-left: 0.5rem !important;
}

.comment-form-author input {

}

.footer-nav {
	color: white !important;
}

html {
    padding: 0;
    margin: 0;
	/* font-size: 19px; */
}

p{
	/* font-size: 1.2rem; */
}

@media screen and (max-height: 850px) {

	html {
	}

}

.su-tabs-pane {
	font-size: 100% !important;
}

.su-tabs-pane ul li {
}

.transparent {
	background-color: rgba(250, 250, 250, 0.1)!important;
}

body {
    /* font-family: 'Arial', sans-serif; */
    margin: 0;
    padding: 0;
    color: #363636;
    width: 100%;
}

button {
    padding: 10px 20px;
    background-color: #8bc34a;
    color: white;
    border-radius: 3px;
    border: none;
    text-decoration: none;
}

.button {
    padding: 10px 20px;
    background-color: #8bc34a;
    color: white;
    border-radius: 3px;
    border: none;
    text-decoration: none;
}

.post-color-block {
	height: 55vh;
	width:100%;
}

.member-profile-color-block {
	height: 35vh;
	width:100%;
}

.gradient-block {
	height: 100%;
	width: 100%;
    display: flex;
    align-content: center;
    overflow-y: hidden;
	background: red; /* For browsers that do not support gradients */
  	background: -webkit-linear-gradient(top ,rgba(255,255,255,0),rgba(0,0,0,0.3)); /*Safari 5.1-6*/
  	background: -o-linear-gradient(top ,rgba(255,255,255,0),rgba(0,0,0,0.3)); /*Opera 11.1-12*/
  	background: -moz-linear-gradient(top ,rgba(255,255,255,0),rgba(0,0,0,0.3)); /*Fx 3.6-15*/
  	background: linear-gradient(to top , rgba(255,255,255,0), rgba(0,0,0,0.3)); /*Standard*/
}

.member-profile-image-block {
	width: 10rem;
	height: 6rem;
	background-color: rgb(250, 250, 250);
	padding: 1rem;
	margin-top: -5rem;
	border-radius: 8px;
	margin-left: -75px;
}

.member-profile-content-pane {
	background-color: rgb(250, 250, 250);
}

.widget-item button {
    padding: 10px 10px;
    background-color: #8bc34a;
    color: white;
    border-radius: 3px;
    border: none;
    text-decoration: none;
}


.search-form.full {
	width: 60%;
	margin: 100px auto;
}

.widget-item .form_field_wrap{
	width: 100%;
}

.widget-item .form_field_wrap .form-control{
	width: inherit;
	margin: 0;
	padding: 0.5rem 0;
}

.search-form.full .search-field{
	max-width: 80%;
	height: 3rem;
	color: #606060;
	display: inline;
	border: solid 1px <?php echo get_theme_mod('NZR_theme_color');?>;
}

.search-form.full .search-submit{
	width: 15%;
	height: 3rem;
	display: align;
}

.search-form.full label{
	margin: 0;
	padding: 0;
}

a:link,
a:visited {
    text-decoration: none;
    /* font-weight: bold; */
}

p{
    line-height: 1.1em;
	/* font-family: 'Yantramanav', sans-serif; */
}

div {
	/* font-family: 'Yantramanav', sans-serif; */
	/* font-size: 1.2rem; */
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1em 0;
    /* font-weight: normal; */
    /* font-family: 'Open Sans', sans-serif; */
}

h1, h2 {
    /* font-family: 'Open Sans', sans-serif; */
}

/*Site Header*/
nav.site-home,
nav.site-nav {
    height: 100%;
}

nav.site-home {
    display: inline-block;
    float: left;
}

nav.site-nav {
    display: inline-block;
    float: right;
}

.site-logo-container {
	height: 2.2rem;
	width: auto;
	display: flex;
	align-content: center;
}

.site-logo {
	height: 100%;
	width: auto;
	align-self: center;
	margin: auto;
}

.site-logo img{
	height: 100%;
	width: auto;
}

/* Navigation Menus */

.su-tabs-nav span {
    /* font-family: 'Open Sans', sans-serif;	 */
	min-height: 2rem !important;
	padding: 17px 18px !important;	
	/* font-size: 1rem !important; */
}

.site-nav ul {
    margin: 0;
    padding: 0;
}

.site-nav ul:before, .site-nav ul:after {
    content: " ";
    display: table;
}

.site-nav ul:after {
    clear: both;
}

.site-nav ul {
    *zoom: 1;
}

.site-nav li {
    list-style: none;
    float: left;
}

/* Header */
.site-header {
    padding: 0;
    border: none;
    position: fixed;
    width: 100%;
    /* font-weight: 600; */
    z-index: 100;
}

.NZR-title-block {
    position: absolute !important;
    width: 60%;
    height: auto;
    align-self: center;
    margin: auto 20%;
    background-color: #8bc34a;
    opacity: 0.89;
    border-radius: 5px;
    display: flex;
    align-content: center;
}

.NZR-title-block h1 {
    align-self: center;
    margin: auto;
    color: white;
    text-align: center;
    max-width: 80%;
    padding: 50px;
}

.header-gap {
    padding-top: 50px;
    display: block;
}

.site-header h1 {
    margin: 0;
}

.site-header h1 a:link,
.site-header h1 a:visited {
    text-decoration: none;
}

.site-header h5 {
    margin: 0;
}

.site-header {
    background-color: rgba(250,250,250,0.2);
	padding-bottom: 0.2rem;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.site-header.active {
    background-color: #8bc34a;
}

/* Anchors */
.NZR-anchor-title h4{
    /* font-weight: 100; */
    color: #999999;
}
.NZR-anchor-title {
    align-self: center;
    text-align: center;
    margin-top: 25px;
    width: 100%;
}

.NZR-anchor-image {
    width: 35px;
    height: 35px;
    display: flex;
    margin-top: 50px;
}

.NZR-anchor-image img {
    height: 100%;
    width: auto;
}

/* Header Links */
.site-header nav {
    margin-top: 20px;
}

.site-header nav ul li {
    margin-left: 5px;
    float: right;
}

.site-header nav ul li a:link,
.site-header nav ul li a:visited {
    display: block;
    padding: 10px 18px;
    text-decoration: none;
    border-radius: 4px;
	background-color: rgba(20,20,20,0.2);
}

.site-header nav ul li.menu-item-80 a {
    background-color: #8bc34a;
}

.site-header nav ul li.current_page_item a:hover {
    color: #FFFFFF;
}

.site-header nav ul li a:hover {
    background-color: #2697c7;
    border-radius: 4px;
}

.site-header.active nav ul li a:hover {
    background-color: #719f40;
    border-radius: 0;
}

.site-header nav ul li.current-menu-item a:link,
.site-header nav ul li.current-menu-item a:visited,
.site-header nav ul li.current-page-ancestor a:link,
.site-header nav ul li.current-page-ancestor a:visited {
    background-color: #8bc34a;
    color: white;
    border-radius: 4px;
}

/* Front Page Banner Image */
.front-page-image-container {
    width: 100%;
    height: 550px;
    display: flex;
    align-content: center;
    overflow: hidden;
    position: relative !important;
}

.event-page-image-container {
    max-height: 350px;
}

.event-page-image-container:first-of-type {
    max-height: 450px;
}

.front-page-image-container img {
    object-fit: cover !important;
    min-height: 100%;
    min-width: 100%;
    object-position: 50% 50%;
    margin: 0 auto;
}

.front-page-image-container .front-page-image {
    object-fit: cover;
    align-self: center;
    margin: 0 auto;
}

/* General Layout */

div.NZR-flex-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

div.NZR-flex-item {
    flex-grow: 1;
    flex-basis: 20%;
    align-self: flex-start;
    text-align: center;
    margin: 0 20px;
}

div.NZR-flex-item div.img-container {
    height: 200px;
    width: auto;
    max-width: 100%;
    margin-bottom: 50px;
}

div.NZR-flex-item div.img-container img {
    max-width: 100%;
    height: 100%;
}

div.NZR-recent-activity {

}

div.NZR-recent-activity-intro {
    text-align: center;
}

div.NZR-get-a-voice-intro {
    text-align: center;
}

div.NZR-get-a-voice h1 {
    color: #67a83c;
}

div.NZR-recent-activity-tile {
    width: 28%;
    margin: 20px 10px;
    background-color: #ffffff;
    padding: 3px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}

div.NZR-recent-activity-tile-contents {
    margin: 15px;
}

div.NZR-recent-activity-tile-contents h2 {
    margin: 0;
}

div.NZR-recent-activity-tile-contents p {
    padding-top: 15px;
    border-top: solid 1px #d1d1d1;
}

div.NZR-recent-activity-tile div.img-container {
    width: 100%;
    height: 200px;
    overflow-y: hidden;
    display: flex;
    align-items: center;
    background-color: #fefefe;
}

@media screen and (max-height: 450px){
	
	div.NZR-recent-activity-tile div.img-container {
		height: 100px;
	}

}

div.NZR-recent-activity-tile div.img-container img {
    height: auto;
    object-fit: cover;
    align-self: center;
    margin: auto;
}

div.page-break {
    padding: 50px;
}

div.container {
    max-width: 920px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.site-content {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
	margin-top: 0;
	padding-top:0;
	padding-bottom: 0;
	margin-bottom: 0;
}

.site-content-small {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    padding-right: 75px;
    padding-left: 75px;
	margin-top: 0;
	padding-top:0;
	padding-bottom: 0;
	margin-bottom: 0;
}

.float-content {
	padding: 35px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
	border-radius: 2px;
}

.lower-page {
    background-color: #dfdfdf;
    width: 100%;
    padding-top: 150px;
    padding-bottom: 150px;
}

.lower-page h1 {
    color: #616161;
    /* font-weight: 500; */
}

.lower-page p {
    color: #616161;
}

.NZR-partners-section {
    text-align: center;
}

.NZR-partners-section h1 {
    border-bottom: solid 1px slategrey;
    padding-bottom: 45px;
    margin-bottom: 45px;
}

.NZR-partners-flex-container {
    width: 100%;
    display: flex;
    align-content: center;
    justify-content: space-around;
    flex-wrap: wrap;
}

.NZR-partners-block {
    width: 26%;
    margin: 10px;
    display: flex;
    align-content: center;
    padding: 30px;
}

.NZR-partners-block img {
    margin: auto;
    width: 100%;
    max-height: 100%;
    height: auto;
}

/* Content Area */
article.post {
    border-bottom: 1px dotted #DDD;
    margin-bottom: 50px;
}

article.post:last-of-type {
    border-bottom: none;
}

/*Aside Styles */
article.post-aside,
article.post-link {
    background-color: #aabbff;
    border-radius: 4px;
    padding: 20px 100px;
}



article.post-link {
    padding: 0;
    background-color: #8bc34a;
}

article.post-link a {
    display: block;
    padding: 20px;
}

article.post-gallery {
    color: #DDD;
    background-color: #ffffff;
    padding: 3px;
}

article.post-gallery .gallery {
    color: #696969;
    padding: 0;
    margin: 0;
    height: 10rem;
    overflow-y: hidden;
}

article.post-gallery img {
    border: none !important;
    width: 99%;
    height: auto;
    padding: 1px;
}

article.post-gallery h2 {
    text-align: center;
}

article.post-gallery p {
    border: none !important;
    margin: 0.6em 10% 2em 10%;
}

.mini-meta {
    color: #696969;
}

/*Main Column*/
.main-column {
    width: 66%;
    float: left;
}

/*Secondary Column*/
.secondary-column {
    width: 20%;
    float: right;
    padding-left: 2rem;
    margin-left: 2rem;
    border-left: solid 1px #ddd;
}

/* Widgets */
.widget-item {
    margin-bottom: 2rem;
}

.widget-item .screen-reader-text {
    display: none;
}

.widget-item ul {
    list-style-type: none;
	padding: 0;
}

.widget-item ul li {
    padding: 0.5rem;
	border-top: 1px solid #bbbbbb;
}

.widget-item ul li a {
    /* font-weight: 200; */
	/* font-family: 'Yantramanav', sans-serif; */
	line-height: 1;
	margin-bottom: 0.5rem;
}

.widget-item label input, .widget-item select {
    width: auto;
    padding: 10px 5px;
    border-radius: 3px;
    border: solid 1px #aaa;
}

.widget-item input {
    width: auto;
    padding: 10px 5px;
    border-radius: 3px;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
    border: solid 1px #8bc34a;
    margin: 0;
	display: inline-flex;
}

.widget-item .search-form label .search-field {
	width: 100%;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}
.widget-item .search-form label {
	width: auto;
	display: inline-flex;
}

.widget-item .search-form {
	display: flex;
	align-content: center;
	width: 100%;
}

.widget-item .search-submit {
    background-color: #8bc34a;
    /*border: none;*/
    color: white;
}

.widget-item select {
    width: 100%;
}

/* Footer */
.site-footer {
    background-color: #8bc34a;
    margin-left: 0;
    margin-right: 0;
    height: 500px;
    display: flex;
    align-content: center;
}

.site-footer-content {
    align-self: center;
    margin: auto;
    text-align: center;
}

.site-footer-content div {
    margin: 15px;
}

.site-footer-content h5 {
    color: #fff;
}

.site-footer nav ul li {
    margin-right: 10px;
    padding-right: 10px;
    border-right: 1px solid #DDD;
}

.site-footer nav ul li:last-of-type {
    border-right: none;
}

/* Pages Layout */
article.page h2 {

}

/*Post Columns*/
.home-columns {
    padding-top: 30px;
}

.one-half {
    width: 45%;
    float: left;
    margin-right: 10%;
}

.last {
    margin-right: 0;
}

/* Clearfix */
.clearfix:before, .clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* Two Column Title Text Layout */
div.title-column {
    width: 30%;
    float: left;
}

div.text-column {
    width: 70%;
    float: right;
}

/* Info-Box */
div.info-box {
    width: 30%;
    float: right;
    margin: 0 0 30px 30px;
    background-color: #efefef;
}

div.info-box h4 {
    margin-bottom: 6px;
}

div.info-box p {
}

/* Children Links */
.children-links {
    margin-bottom: 20px;
}

.children-links a:link,
.children-links a:visited {
    text-decoration: none;
}

.children-links ul {
    float: left;
}

.children-links li {
    margin-right: 20px;
}

.children-links .parent-link {
    float: left;
    margin-right: 20px;
    padding-right: 20px;
    border-right: 1px solid #ddd;
    /* font-weight: bold; */
    color: #333;
}

.children-links .parent-link a:link,
.children-links .parent-link a:visited {
    color: #333;
}

.children-links .current_page_item a:link,
.children-links .current_page_item a:visited {
    border-bottom: 1px solid #DDD;
    color: #333;
    cursor: default;
}

/*Post Styles*/
.post h2 {
    margin-bottom: 0;
}

p.post-info {
    color: #696969;
}

p.post-info a:link,
p.post-info a:visited {
    color: #696969;
    /* font-weight: bold; */
    text-decoration: none;
}

/* Image Styles */
img {
    max-width: 100%;
}

.has-thumbnail {
    position: relative;
    padding-left: 200px;
}

.post-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
}

/* Search */
.hd-search {
    float: right;
}

div.hd-search .screen-reader-text {
    position: absolute;
    left: -99990px;
}

div.hd-search .search-submit {
    background-color: #8bc34a;
    color: #fff;
    /* font-weight: bold; */
    padding: 5px 14px;
    border: none;
    border-radius: 5px;
    vertical-align: top;
}

div.hd-search .search-field {
    vertical-align: top;
    padding: 3px;
}

/*Footer Callout */
.footer-callout {
    background-color: grey;
    padding: 20px;
    margin: 0;
}

.footer-callout-image {
    float: left;
    width: 30%;
}

.footer-callout-text {
    float: right;
    width: 60%;
}

.footer-callout-text h2 {
    margin: 0 0 .35rem 0;
}

.footer-callout-text p {
}

/* Form Styling*/
.form-container {
    width: 100%;
    display: flex;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
}

.form-container > div {
    display: block;
    align-self: center;
    width: 100%;
}

.form-container .form-title {
    width: 100%;
    display: inline;
}

.form-container form {
    align-self: center;
    margin: auto;
}

.form-container input {
    /*max-width: 700px;*/
    width: 100%;
    padding: 10px 5px;
    border-radius: 3px;
    border: solid 1px #aaa;
}

.form-container textarea {
    width: 100%;
    max-width: 100%;
    padding: 10px 5px;
    border-radius: 3px;
    border: solid 1px #aaa;
    min-height: 4rem;
}


/**
 * 5.12 Comments
 * ----------------------------------------------------------------------------
 */

.comment-respond{
	width: 100%;
	padding-top: 5rem;
	padding-bottom: 5rem;
}

.comment-respond .logged-in-as {
	display: none;
}

.comment-respond .comment-form-comment textarea {
	width: 100%;
	max-width: 100%;
	border-radius: 4px;
}

.comment-respond .comment-form-comment label {
	display: none;
}


.comments-area .form-submit {
	display : none;
}

.comment-list {
	padding: 0;
}

.comment-list .comment {
	padding: 2rem;
	border-top: 1px solid #bbbbbb;
}

.comment-list .comment p {
	margin: 0.5rem 0;
}

.comment-list .comment a {
}




/* ----------- Non PC devices ----------- */

/* Landscape & Portrait*/
@media only screen 
  and (max-device-width: 1024px) {
    .NZR-title-block {
        display: none !important;
    }

    .main-column {
        width: 100%;
    }

    .secondary-column {
        display: none;
    }

    body {
    }
    

}

/* Landscape */
@media only screen 
  and (max-device-width: 1024px)
  and (orientation: Landscape) {

    div.NZR-recent-activity-tile {
        width: 46% !important;
    }

    .front-page-image-container {
        max-height: 300px;
    }

    .site-header {
        padding-bottom: 15px;
    }
    

}

/* Portrait */
@media only screen 
  and (max-device-width: 1024px)
  and (orientation: Portrait) {

    div.NZR-recent-activity-tile {
        width: 100% !important;
    }

    .front-page-image-container {
        max-height: 350px;
    }
    
    .site-header {
        padding-bottom: 15px;
    }
}

img {
    height: auto;
    max-width: 100%;
}