/*
Theme Name: NZFF Responsive
Description: NZFF Responsive theme
Version: 1.0
Author: Andy
*/

/* General styles                                   */
/* ------------------------------------------------ */

/* latin */
@font-face {
  font-family: 'Droid Serif';
  font-style: italic;
  font-weight: 400;
  src: local('Droid Serif Italic'), local('DroidSerif-Italic'), url(https://fonts.gstatic.com/s/droidserif/v8/tDbK2oqRg1oM3QBjjcaDkOr4nAfcHg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'Droid Serif';
  font-style: italic;
  font-weight: 700;
  src: local('Droid Serif Bold Italic'), local('DroidSerif-BoldItalic'), url(https://fonts.gstatic.com/s/droidserif/v8/tDbX2oqRg1oM3QBjjcaDkOr4lLz5CwOnSA.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'Droid Serif';
  font-style: normal;
  font-weight: 400;
  src: local('Droid Serif Regular'), local('DroidSerif-Regular'), url(https://fonts.gstatic.com/s/droidserif/v8/tDbI2oqRg1oM3QBjjcaDkOr9rAU.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'Droid Serif';
  font-style: normal;
  font-weight: 700;
  src: local('Droid Serif Bold'), local('DroidSerif-Bold'), url(https://fonts.gstatic.com/s/droidserif/v8/tDbV2oqRg1oM3QBjjcaDkOJGiRD7OwE.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

td {
	vertical-align: top;
}

a {
	color: #1a6eb7;
	text-decoration: underline;
	outline: none;
}

a:hover {
	color: #ff9900;
}

ul {
	margin: 8px 0 18px 18px;
	padding: 0;
}

li {
	padding-left: 4px;
	line-height: 180%;
}

h1, h1 a, h2, h2 a, h3, h3 a, h4, h4 a {
	line-height: 120%;
}

h1 {
	font-size: 2.0em;
	margin-top: 0;
}

h2 {
	font-size: 1.6em;
}

h3 {
	font-size: 1.4em;
}

h4 {
    font-size: 1.2em;
}

hr {
	height: 1px;
	border: 0;
	width: 100%;
	background: #81aad2;
	color: #81aad3;
	margin: 30px 0;
}



/* Content                                          */
/* ------------------------------------------------ */
.content {
	padding: 30px 0 100px 0;
	overflow: hidden;
	font-size: 1.1em;
	min-height: 200px;
}

.content, .content p, .content li {
	line-height: 160%;
}

.content img {
	max-width: 100%;
	height: auto;
}


a.readmore, input[type="submit"] {
	background: #ffe100;
	color: #005a9c !important;
	padding: 12px 25px 12px 25px;
	border-radius: 8px;
	text-decoration: none;
	display: inline-block;
	margin: 15px 0;
	font-size: 16px;
	text-transform: uppercase;
	font-weight: 700;
	text-shadow: none;
	line-height: 100%;
	border: 0;
	cursor: pointer;
}

a.readmore:hover, input[type="submit"]:hover {
	background: #eb6227;
	color: #fff !important;
}

a.readmore, .homepagebox-image img, input[type="submit"] {
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

.ngg-gallery-thumbnail-box {
    float: left !important;
    width: 24.5%;
    margin: 2% 1.5%;
}

.ngg-gallery-thumbnail img {
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    height: auto;
}

/* Footer                                           */
/* ------------------------------------------------ */
#footer {
	font-size: 0.9em;
	padding: 60px 0;
	text-align: center;
	background: #8cb3c2;
}

#footer a, #footer, #footer p {
	color: #fff;
}

a.scrollup {
	width: 53px;
	height: 53px;
	position: fixed;
	bottom: 50px;
	right: 20px;
	display: none;
	text-indent: -9999px;
	background: url('images/top.png') no-repeat;
	opacity: 0.7;
}

#footer-content {
    margin-left: 153px;
}

#footer-tagline {
    font-size: 1.8em;
    font-style: italic;
    font-weight: 400;
    margin-bottom: 10px;
}

#footer-logo {
    float: right;
    margin-top: -10px;
    background: url(images/nzpfga-logo-over.png);
    width: 153px;
    height: 184px;
}

#footer-logo img {
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

#footer-logo img:hover {
    opacity: 0.0;
    filter: alpha(opacity=070);
}

#copyright {
    font-size: 14px;
    clear: right;
    margin: 30px 0 30px -153px;
}

#copyright, #copyright a {
    color: #fff;
}

#cookie-notice {
    background: #0070aa !important;
    padding: 5px 0;
}

#cookie-notice, #cookie-notice a {
    color: #fff !important;
}
/* Responsive elements                              */
/* ------------------------------------------------ */
/*
@media screen and (min-width: 1280px) {
	.wrapper {
		width: 1200px;
	}
}
*/

@media screen and (max-width: 1280px) {
	.wrapper {
		width: auto;
	}
}

@media screen and (max-width: 970px) {
    .ngg-galleryoverview {
        width: auto !important;
    }

    .ngg-gallery-thumbnail-box {
        width: 29%;
        margin: 1% 2%;
    }

    .ngg-gallery-thumbnail {
        width: 100%;
    }

    .ngg-gallery-thumbnail img {
        width: 100%;
        height: auto;
    }

    #lightbox-container-image-box img {
        max-width: 100% !important;
        height: auto !important;
    }
}

@media screen and (max-width: 800px) {
    #footer-logo {
        float: none;
        margin-bottom: 30px;
        display: inline-block;
    }

    #footer-content, #copyright {
        margin-left: 0;
    }
}

@media screen and (max-width: 680px) {
    .ngg-gallery-thumbnail-box {
        width: 45%;
        margin: 2%;
    }

    #cboxTitle {
        display: none !important;
    }

    #header-logo img {
        width: 130px;
    }
}

@media screen and (max-width: 480px) {
	#header {
		padding-top: 40px;
		min-height: 80px;
		font-size: 16px;
	}

	#header a {
		font-size :28px;
	}

	#footer img {
		width: 150px;
		height: auto;
	}
}


/* WP Common Styles */
ol.commentlist {
	margin:0;
	padding:0;
	}

.commentlist li {
	list-style:none;
	margin-bottom:14px;
	}

.commentlist cite {
	padding: 7px;
	display:block;
	font-style:normal;
	border-top:1px solid #d6e4c1;
	border-bottom:1px solid #779d42;
	color:#596e3b;
	}

.commentlist a:link, .commentlist a:visited {
	color:#596e3b;
	}

.commentlist a:hover, .commentlist a:active {
	color:#8ec343;
	}

.commentlist cite img {
	padding:1px;
	border:1px solid #aab59a;
	float:left;
	margin-right:9px;
	}

.commentlist .author {
	font: small-caps bold 1.2em Georgia, "Times New Roman", Times, serif;
	text-decoration:underline;
	}

.commentlist .time {
	padding-left:13px;
	}

.commenttext {
	border-top:1px solid #c5f386;
	padding: 0 20px 10px 20px;
	color:#fafcf6;
	}

.editLink {
   margin-top: 30px;
   text-align: center;
   padding: 5px 0 15px 0;
}
.editLink a, a.editLink {
   background: #777;
   color: #fff;
   font-size: 18px;
   text-decoration: none;
   padding: 8px 15px;
   -moz-border-radius: 5px;
   -webkit-border-radius: 5px;
   border-radius: 5px;
}
.editLink a:hover, a.editLink:hover {
   background: #444;
   text-decoration: none !important;
}
.postmetadata {
   color: #999;
   font-size: 10px;
   margin: 2px 0;
}

img.aligncenter {
   display: block;
   text-align: center;
   margin: 0 auto;
   padding-bottom: 10px;
}
img.alignright {
   text-align: right;
   display: block;
   float: right;
   margin: 0 0px 5px 15px;
   border: 10px solid #fff;
}
img.alignleft {
   text-align: left;
   display: block;
   float: left;
   margin: 0 20px 5px 0px;
   border: 10px solid #fff;
}
.wp-caption-text,.wp-caption-dd {
   margin: 0;
   font-weight: bold;
   font-size: smaller;
   text-align: center;
}
.wp-caption {
   margin-right: 5px;
}

.wp-caption img {
	padding-bottom: 5px;
}

.alignleft, .alignright {
	margin-bottom: 20px;
}

.more-link {
   display:block;
}
.linklove {
   display:none;
}
.aligncenter,
dl.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignleft {
	float: left;
}
.alignright {
	float: right;
}


@media screen and (max-width: 600px) {
    img.alignleft, img.alignright {
        float: none;
        display: block;
        margin: 20px auto;
    }
}