/*
Theme Name: NZCF
Theme URI: http://underscores.me/
Author: Tim Brown
Author URI: http://www.cheersdigital.co.nz
Description: Custom development for NZCF
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: nzcf
Tags:
*/







html, html a {
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.001);
	-webkit-font-smoothing: antialiased;
}



body {
	font-family: 'Open Sans', sans-serif;
	color: #7b7b7b;
	font: 15px;
	line-height: 1.6;
}

h1, h2, h3 { color: #0a0e16; }

h3 {
	font-size: 20px;
	margin: 0 0 15px 0;
}

a {
	color: #0a0e16;
	-webkit-transition: all .25s ease;
		 -moz-transition: all .25s ease;
			-ms-transition: all .25s ease;
			 -o-transition: all .25s ease;
					transition: all .25s ease;
}

a:visited {
	color: #0a0e16;
}

a:hover,
a:focus,
a:active {
	color: #0a0e16;
}

a:focus {
	outline: 0;
}

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

table, td, th {
	border-collapse: collapse;
	border-spacing: 0;
	border: 1px solid #e4e4e4;
}
td, th {
	padding: 10px;
}

strong, b {
	color: #0a0e16;
}

/* Header */

.site-header {
	height: 100px;
	width: 100%;
	position: relative;
}

.site-header .logo {
	padding: 20px 0 0 0;
	display: inline-block;
	width: 235px;
}
.navigation {
	display: inline-block;
	float: right;
}

.navigation ul {
    font-size: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
    width: 100%;
}
.navigation li {
    display: inline-block;
    margin: 0;
    padding: 30px 10px;
    position: relative;
}
.navigation li.register a {
    border: 2px solid #0a0e16;
}
.navigation li.register a:hover {
    background: #ff1744;
		border: 2px solid #ff1744;
		color: #ffffff;
}
.navigation a {
    display: block;
		padding: 6px 12px;
		font-size: 12px;
		font-weight: 700;
		text-transform: uppercase;
    text-align: center;
    text-decoration: none;
}
.navigation a:hover {
	color: #ff1744;
}
.navigation ul li.menu-item-has-children > a:after {
    content: '\25bc';
		font-size: 9px;
		padding: 0 0 0 5px;
}
.navigation li:hover a {
    /* background: blue; */
}
.navigation li ul {
    left: 0;
		top: 98px;
    opacity: 0;
    position: absolute;
		min-width: 220px;
    visibility: hidden;
    z-index: 1;
    -webkit-transition: all .25s ease;
       -moz-transition: all .25s ease;
        -ms-transition: all .25s ease;
         -o-transition: all .25s ease;
            transition: all .25s ease;
}
.navigation li:hover ul {
    opacity: 1;
    visibility: visible;
}
.navigation li ul li {
	  padding: 0;
		margin: 0;
		width: 100%;
		display: inline-block;
		background: #ffffff;
}
.navigation li ul a {
	  padding: 20px;
		text-align: left;
}
.navigation li ul a:hover {
    background: #ff1744;
		color: #ffffff;
}

/* Hero */

.hero {
	background: #1a2337;
	display: block;
	position: relative;
	width: 100%;
	height: 200px;
}
.hero-image {
	background: #1a2337;
	display: block;
	position: relative;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 450px;
	background-size: cover;
	background-position: center center;
}

.hero .table {
	height: 200px;
	width: 100%;
}

.hero h1 {
	color: #ffffff;
}
.home .hero {
	height: 450px;
}
.home .hero .table {
	height: 450px;
	width: 100%;
}
.home .hero h1 {
	margin: 25px 0 15px 0;
}
.home .hero p {
	color: #fff;
}
.home .hero a.btn {
	margin: 25px 0 0 0;
	border-color: #fff;
	color: #fff;
}
.home .hero a.btn:hover {
	border-color: #ff1744;
}
.home .hero-circle {
    background:#ff1744;
    width:100px;
    height:100px;
    text-align:center;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
		color: #ffffff;
		font-weight: 700;
		text-transform: uppercase;
		padding-top: 3%;
		margin: 0px auto;
}
.home .hero-circle span {
	  display: block;
		font-size: 30px;
		line-height: 1;
}

/* Global */

.table {
	display: table;
	width: 100%;
	margin: 0;
}
.table-cell {
	display: table-cell;
	vertical-align: middle;
}

.btn {
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 2px solid #0a0e16;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 12px;
    line-height: 1.42857143;
		font-weight: 700;
		text-transform: uppercase;
    border-radius: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.btn:hover {
	 background: #ff1744;
	 border: 2px solid #ff1744;
	 color: #ffffff;
}

/* Breadcrumb */

.breadcrumb-wrap {
	background: #ff1744;
	display: inline-block;
	margin: 0;
	padding: 10px 20px;
	font-size: 12px;
	color: #ffffff;
}
.breadcrumb-wrap a {
	color: #ffffff;
	text-decoration: none;
}


/* Introduction */

.home .introduction {
	padding: 100px 0;
}

.introduction {
	padding: 50px 0;
}

.introduction p {
	font-size: 20px;
	color: #0a0e16;
}

.acf-map {
	width: 100%;
	height: 400px;
	border: #ccc solid 1px;
	margin: 20px 0;
}

/* fixes potential theme css conflict */
.acf-map img {
   max-width: inherit !important;
}

/* Featured */

.featured {
	margin: 0 0 100px 0;
}
.featured img {
	margin: 0 0 30px 0;
}
.featured .btn {
	margin: 25px 0 0 0;
}


/* Date */

.date {
	position: absolute;
	top: 30px;
	right: 30px;
	background:#ff1744;
	width:50px;
	height:50px;
	text-align:center;
	-webkit-border-radius: 25px;
	-moz-border-radius: 25px;
	border-radius: 25px;
	color: #ffffff;
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	line-height: 1;
}

.date .table {
	height: 50px;
}
.date span {
	display: block;
}


/* News */

.news {
	padding: 50px 0;
	background: #f7f7f7;
}
.news .introduction {
	padding: 0 0 50px 0;
}

.news h1 {
	margin: 0 0 50px 0;
}
.news h3 {
	margin: 0 0 50px 0;
}

.news-item {
	display:block;
	background: #fff;
	padding:15px;
	position: relative;
	margin: 0 0 30px 0;
}

.news-item a {
	text-decoration: none;
}

.news-item a:hover {
	color: #ff1744;
}

.news-item h3 {
	margin: 15px 0 15px 0;
	padding: 0 !important;
}

.news-date {
	position: absolute;
	bottom: -25px;
	left:49%;
  display:block;
	background:#ff1744;
	width:50px;
	height:50px;
	text-align:center;
	-webkit-border-radius: 25px;
	-moz-border-radius: 25px;
	border-radius: 25px;
	color: #ffffff;
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	line-height: 1;
	z-index: 1;
}

.news-date .table {
	height: 50px;
}
.news-date span {
	display: block;
}

.news-social { background: #ffffff; margin: 0 0 50px 0; display:block; padding:15px; }

.news-summary {
	padding: 50px 0;
	background: #1a2337;
}
.news-summary h1 {
	color: #ffffff;
	margin: 0 0 15px 0;
}

.news-summary span {
	color: #ffffff;
	font-size: 12px;
	text-transform: uppercase;
	line-height: 1;
	font-weight: 700;
}

.news-single {
	padding: 50px 0;
	background: #ffffff;
}
.news-image {
	margin: 0 0 50px 0;
}

.news-share {
	padding: 35px 0 0 0;
}

.news-share .ssba > div {
    text-align: center !important;
}

.news-other {
	padding: 50px 0;
	background: #f7f7f7;
}
.news-other h3 {
	padding: 0 0 35px 0;
}


/* Sponsors */

.sponsors {
	border-top: 3px solid #ff1744;
	padding: 50px 0 0 0;
}

.sponsors-primary {
	padding: 100px 0;
}

.sponsors-primary h3 {
	margin: 0 0 85px 0;
}




/* Events */

.events {
	padding: 50px 0;
	background: #f7f7f7;
}
.events-single {
	padding: 0 0 50px 0;
	background: #ffffff;
}
.events-item {
	display:block;
	background: #fff;
	padding:15px;
	position: relative;
	margin: 0 0 30px 0;
}

.events-item a {
	text-decoration: none;
}

.events-item a:hover {
	color: #ff1744;
}

.events-item h3 {
	margin: 15px 0 15px 0;
}

.events-summary {
	padding: 15px;
}
.events-placeholder {
	background: #e4e4e4;
	height: 200px;
}

.events-content {
	border-top: 3px solid #ff1744;
	padding: 50px 0 0 0;
}
.events-content hr {
	background-color: #e4e4e4;
	border: 0;
	height: 1px;
	margin: 50px 0 50px 0;
}
.events-maps h3 {
	margin: 0 0 35px 0;
}
.events-maps img {
	margin: 15px 0 0 0;
}

.events-circle {
    position:relative;
    background:#ff1744;
    width:100px;
    height:100px;
    text-align:center;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
		float: right;
		color: #ffffff;
		font-weight: 700;
		text-transform: uppercase;
}
.events-circle .table {
	  height: 100px;
}
.events-circle span {
	  display: block;
		font-size: 30px;
		line-height: 1;
}

.events-widget {
	margin: 0 0 25px 0;
	padding: 15px;
	border: 1px solid #e4e4e4;
}
.events-widget strong {
	display: block;
	font-weight: bold;
	color: #ff1744;
}
.events-widget span {
	display: block;
	margin: 0 0 10px 0;
}
.events-widget a.btn {
	margin: 25px 0 0 0;
}
.events-widget hr {
	margin: 20px 0 15px 0;
}
.events-widget hr:last-child {
	display: none;
}
.events-widget a {
	color: inherit;
}
.events-entry {
	display: inline-block;
	width: 100%;
	clear: both;
}
.events-entry strong {
	float: left;
}
.events-entry span {
	float: right;
	margin: 0;
}
.events-share .ssba img {
  padding: 5px 8px 5px 0px !important;
}


/* Contact */
.contact {
	padding: 50px 0;
}
.contact .introduction {
	padding: 0;
}
.contact span {
	display: block;
}
.contact span a {
	color: inherit;
}
.contact hr {
	background-color: #ff1744;
	border: 0;
	height: 3px;
	margin: 50px 0;
}

/* Default */
.default {
	padding: 50px 0;
}
.default .introduction {
	padding: 0 0 50px 0;
}
.default-content {
	border-top: 3px solid #ff1744;
	padding: 50px 0 0 0;
}
.default-sidebar {
	border-top: 3px solid #ff1744;
	padding: 50px 0 0 0;
}
.default-item {
	display: inline-block;
	clear: both;
}
.default-date {
	display: inline-block;
	float: left;
	background:#ff1744;
	width:50px;
	height:50px;
	text-align:center;
	-webkit-border-radius: 25px;
	-moz-border-radius: 25px;
	border-radius: 25px;
	color: #ffffff;
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	line-height: 1;
	clear: both;
}
.default-date .table {
	height: 50px;
}
.default-date span {
	display: block;
}
.default-title {
	margin: 0 0 0 70px;
}
.default-title .table {
	height: 50px;
}
.default-title h3 {
	margin: 0;
}
.default-title a {
	text-decoration: none;
}

.default-title a:hover {
	color: #ff1744;
}

/* Follow Us */

.follow {
	padding: 50px 0;
	background: #f7f7f7;
	cursor: pointer;
}
.follow:hover {
	padding: 50px 0;
	background: #ff1744;
}
.follow:hover h3 {
	color: #ffffff;
}
.follow h3 {
	margin: 0;
}

/* Footer */

.site-footer {
	background: #1a2337;
	padding: 50px 0;
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
}
.site-footer span {
	display: block;
	padding: 25px 0 0 0;
}

/* Forms */
.nf-form-fields-required {
	display: none;
}
.nf-error .ninja-forms-field {
    border: 1px solid #ff1744 !important;
}
.nf-error-msg {
    color: #ff1744 !important;
}

/* Unslider */
.unslider{overflow:auto;margin:0;padding:0}.unslider-wrap{position:relative}.unslider-wrap.unslider-carousel>li{float:left}.unslider-vertical>ul{height:100%}.unslider-vertical li{float:none;width:100%}.unslider-fade{position:relative}.unslider-fade .unslider-wrap li{position:absolute;left:0;top:0;right:0;z-index:8}.unslider-fade .unslider-wrap li.unslider-active{z-index:10}.unslider li,.unslider ol,.unslider ul{list-style:none;margin:0;padding:0;border:none}.unslider-arrow{position:absolute;left:5%;top:45%;z-index:2;cursor:pointer}.unslider-arrow.next{left:auto;right:5%}

.unslider-arrow img:hover {opacity:0.5}

.unslider-nav ol {
	display: none;
  list-style: none;
  text-align: center;
}
.unslider-nav ol li {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 4px;
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
  text-indent: -999em;
  cursor: pointer;
	background: #cccccc;
}
.unslider-nav ol li.unslider-active {
  background: #ff1744;
  cursor: default;
}
.unslider-nav {
    padding: 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: #e4e4e4;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

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

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

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

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. */
}

figure {
	margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
}

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

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	display: inline-block;
	margin-bottom: 0;
	font-weight: normal;
	text-align: center;
	vertical-align: middle;
	-ms-touch-action: manipulation;
	touch-action: manipulation;
	cursor: pointer;
	background-image: none;
	background: none;
	border: 2px solid #0a0e16;
	white-space: nowrap;
	padding: 6px 12px;
	font-size: 12px;
	color: #0a0e16;
	line-height: 1.42857143;
	font-weight: 700;
	text-transform: uppercase;
	border-radius: 0;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: #ff1744;
	border: 2px solid #ff1744;
	color: #ffffff;
}

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 {
	background: #ff1744;
	border: 2px solid #ff1744;
	color: #ffffff;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #7b7b7b;
	border: 1px solid #e4e4e4;
	border-radius: 0;
	padding: 7px;
}

select {
	border: 1px solid #e4e4e4;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #7b7b7b;
}

textarea {
	width: 100%;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #7b7b7b;
	opacity: 1;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #7b7b7b;
	opacity: 1;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #7b7b7b;
	opacity: 1;
}
:-moz-placeholder { /* Firefox 18- */
  color: #7b7b7b;
	opacity: 1;
}

/*--------------------------------------------------------------
# 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: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. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 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;
}

/*--------------------------------------------------------------
# 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;
	table-layout: fixed;
}

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

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

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

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## 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: 1.5em 0 0;
}

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



/*--------------------------------------------------------------
# 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%;
}

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

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

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

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



/*--------------------------------------------------------------
## Responsive
--------------------------------------------------------------*/


	 /* Medium Devices, Desktops */
	 @media only screen and (max-width : 992px) {

     .site-header .mobile {}
     .site-header .navigation {
			 display: none;
		 }


		 .home .hero-circle {

    width: 50px;
    height: 50px;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
    padding-top: 1.5%;
		line-height: 1;

}.home .hero-circle span {
		font-size: 13px;
		font-weight: 700px;
}
.featured .col-md-4 {
	margin-bottom: 50px;
}
.featured .col-md-4:last-child {
	margin-bottom: 0;
}


	 }

	 /* Small Devices, Tablets */
	 @media only screen and (max-width : 768px) {

	 }

	 /* Extra Small Devices, Phones */
	 @media only screen and (max-width : 480px) {
		 .unslider-arrow { display: none; }




	 }

	 /* Custom, iPhone Retina */
	 @media only screen and (max-width : 320px) {

	 }
