/*
Theme Name: Jasmyne
Theme URI: //www.jasmynechung.co.nz/
Description: Custom built photography gallery theme
Version: 1.0
Author: Ben McKeown
Author URI: //www.benmckeown.co.nz/
*/

/* testing */

.vwidth {
	display: none;
	position: fixed;
	min-height: 35px;
	z-index: 200;
}


/* Webfonts */

@font-face {
    font-family: 'ModernPictogramsNormal';
    src: url('fonts/modernpics-webfont.eot');
    src: url('fonts/modernpics-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/modernpics-webfont.woff') format('woff'),
         url('fonts/modernpics-webfont.ttf') format('truetype'),
         url('fonts/modernpics-webfont.svg#ModernPictogramsNormal') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'OpenSansLight';
    src: url('fonts/OpenSans-Light-webfont.eot');
    src: url('fonts/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/OpenSans-Light-webfont.woff') format('woff'),
         url('fonts/OpenSans-Light-webfont.ttf') format('truetype'),
         url('fonts/OpenSans-Light-webfont.svg#OpenSansLight') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'OpenSansRegular';
    src: url('fonts/OpenSans-Regular-webfont.eot');
    src: url('fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/OpenSans-Regular-webfont.woff') format('woff'),
         url('fonts/OpenSans-Regular-webfont.ttf') format('truetype'),
         url('fonts/OpenSans-Regular-webfont.svg#OpenSansRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'OpenSansBold';
    src: url('fonts/OpenSans-Bold-webfont.eot');
    src: url('fonts/OpenSans-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/OpenSans-Bold-webfont.woff') format('woff'),
         url('fonts/OpenSans-Bold-webfont.ttf') format('truetype'),
         url('fonts/OpenSans-Bold-webfont.svg#OpenSansBold') format('svg');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'OpenSansExtrabold';
    src: url('fonts/OpenSans-ExtraBold-webfont.eot');
    src: url('fonts/OpenSans-ExtraBold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/OpenSans-ExtraBold-webfont.woff') format('woff'),
         url('fonts/OpenSans-ExtraBold-webfont.ttf') format('truetype'),
         url('fonts/OpenSans-ExtraBold-webfont.svg#OpenSansExtrabold') format('svg');
    font-weight: normal;
    font-style: normal;

}



body {
	background: #F2F2F2;
	padding-left: 0;
	padding-right: 0;
	font-size: 100%;	
	max-height:100%;
    font-family: 'OpenSansRegular', Arial, sans-serif;
}

.testbg {
	background-color: #FFF;
}

.clear {
	clear: both; 
}

p {
	font-family: 'OpenSansRegular', Arial, sans-serif;	
}

strong, b {
	font-family: 'OpenSansBold', Arial, sans-serif;	
}



/* PINNED NAV */

.pinned-nav {
	width: 110%;
	left: -5%;
	position: fixed;
	z-index: 300;
    background-color: #333333;
	background-color: rgba(30, 30, 30, 0.85);
	height: 2.5em;
	overflow: hidden;
}

.mobile-extra-nav {
	display: none;
}

.categories {
	width: 100%;
	height: 100%;
}

.categories ul {
	list-style-type: none; 
	margin: 0 auto; 
	padding: 0;
}

.categories li {
	display: inline-block;
	margin-right: 0.5em;
}

.categories li a {
	display: inline-block;
	font-family: 'OpenSansBold', Arial, sans-serif;
	font-weight: normal;
	color: #BABABA;
	text-decoration: none;
	font-size: 0.95em;
	padding: 0.75em 10px 1em 10px;
	line-height: 1em;
	background-color: transparent;
	/*-moz-border-radius: 6px;
	border-radius: 6px;*/
}

.categories li a:hover, .categories li a:focus {
	color: #fff;
	background-color: #0B9A98;
}

.nav-top {
	float: right;
}

.nav-top ul {
	list-style-type: none; 
	margin: 0 auto; 
	padding: 0;
}

.nav-top li {
	display: inline-block;
	margin-right: 0.5em;
}

.nav-top li a {
	display: inline-block;
	font-family: 'OpenSansBold', Arial, sans-serif;
	font-weight: normal;
	color: #BABABA;
	text-decoration: none;
	font-size: 0.95em;
	padding: 0.75em 10px 1em 10px;
	line-height: 1em;
	background-color: transparent;
}

#single-page .nav-top li a {
    background-color: #333;
    background-color: rgba(0, 0, 0, 0.8);
}

.nav-top li a:hover {
	color: #fff;
	background-color: #0B9A98;
}


.nav-top span, .mobile-extra-nav span {
	line-height: 0.5em;
	font-size: 120%;
}

#navbar li.active a {
	background-color: red;	
}


/* THE FIRST BLOCK */

.tophead-small {
	display: none;
}

.tophead {
	padding-top: 3.5em;
	/* background-color: #6B6B6B;*/
	background-color: #e1e5e7;
	background-image: url("../../images/page/Debbie_Fish_2010_0306-2-1900x1024.jpg");
	background-repeat:no-repeat;
	/* background-attachment:fixed; */
	background-position: center top; 
	width: 100%;
	min-height: 520px;
	max-height: 1004px;
}

.logo {
	text-align: left;
	padding: 25px 0 30px 0;
}


/* intro category list */

.big-categories {
	/*padding-left: 1em;*/
	width: 320px;
}

.big-categories p {
    font-family: 'OpenSansLight', Arial, sans-serif;
    border-bottom: 1px solid #999;
    padding-bottom: 1em;
}

/*.big-categories h2 {
	text-transform: uppercase;
	font-size: 1em;
	line-height: 2em;
	font-family: 'OpenSansExtraBold', Arial, sans-serif;
	font-weight: normal;	
	border-bottom: 1px solid #999;
	padding-bottom:  0em;
	padding-top: 0.5em;
	margin: 0;
	color: black;
} */

.big-categories ul {
	padding-top: 0.2em;
	margin: 0;
}

.big-categories li {
	text-align: left;
	display: block;
	margin-bottom: 0em;
}

.big-categories li a {
	font-family: 'OpenSansLight', Arial, sans-serif;
	font-size: 2em;
	color: #0B9A98;
	font-weight: normal;
	text-decoration: none;
	background: none;
	margin: 0;
	padding: 0;
	line-height: 1.4em;
}

.big-categories li a:hover {
	color: #0088CC;
}

.symbol-font {
	font-family: 'ModernPictogramsNormal', Arial, sans-serif;	
	font-size: 70%;
}

span .symbol-font {
	padding-right: 0.1em;
}

/* FOOTER */

.the-footer {
	padding: 3.5em 0;
	/* background-color: #6B6B6B;*/
	background-color: #333;
	background-repeat:no-repeat;
	/* background-attachment:fixed; */
	background-position: 0% 0%; 
	width: 100%;
}

.the-footer ul.footer-nav li {
    list-style: none;
    display: inline-block;
    margin-right: 1em;
}

.the-footer ul.footer-nav li a {
    color: #fff;
    font-size: 0.75em;
    line-height: 150%;
}

.the-footer .footer-copyright p {
    font-size: 0.75em;
    line-height: 150%;
    color: #bbb;
}


/* CATEGORY BLOCKS */

.category-block {
	padding-top: 3em;
	display: block;
	clear: both;
	background-color: #FFF;
}	

.category-block:nth-child(even) {
	background-color: #F2F0F1;
}

.category-block h2 {
	/*text-transform: uppercase;*/
	font-family: 'OpenSansLight', Arial, sans-serif;
	font-weight: Normal;
	font-size: 5em;
	color: #0b9a98;
	line-height: 2.3em;
	text-align: center;
	position: relative;
	display: block;
	letter-spacing: -3px
	/* border-top: 1px solid red */
}

.category-block a:hover {
	text-decoration: none;
}

.category-block h2:before {
    content: "";
    display: block;
    border-top: solid 1px #0b9a98;
    width: 80%;
    height: 1px;
    position: absolute;
    top: 55%;
	left: 10%;
    z-index: 1;
}

h2.one span {
    background: #fff;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}

.category-block:nth-child(even) h2.one span {
	background: #F2F0F1;
}

.category-block .span3 {
    min-height: 200px;
}

.post_home {
	box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
	display: block;
	margin-bottom: 1.5em;
	/*padding-bottom: 20px;*/
	/*background-color: #9F0;*/
	-webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
	background-position: center;
	max-width: 500px;
	min-height: 200px;
    height: auto !important;
    border:2px solid #F2F0F1;
	overflow: hidden;
	position: relative;
}

/* .post_home:hover {
	border: 2px solid #E20F8B;	
}*/

.inner-correct {
    position: absolute;
    left: -140px;
	float: left;
    position: relative;
    margin: auto;
}

.post_home .entry-hover {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: #0b9a98;
    background-color: rgba(11, 154, 152, 0.8);
    z-index: 200;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s;
    -webkit-transition: opacity 0.3s;
}

.post_home .entry-hover:hover {
    opacity: 1;
}

.post_home .entry-hover-outer {
    position: absolute;
    display: table;
    width: 100%;
    height: 100%;
}

.post_home .entry-hover-inner {
    display: table-cell;
    vertical-align: middle;
}

.post_home .entry-hover-inner h3 {
    clear: both;
    margin: 0;
    color: #fff;
    font-family: "OpenSansBold", Arial, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 1em;
}


.post_home img {
	min-width: 500px;
	height: 200px;
	display: block;
}

.category-block:nth-child(even) .post_home {
	border:2px solid #FFF;
}

.backtotop {
    text-align: center;
    margin: 20px 0 100px;
}

.backtotop ul {
	display: inline-block;
	list-style: none;
    margin: 0;
}

.backtotop li a {
    position: absolute;
    text-align: center;
	background-color: #bbb;
    color: #fff;
	font-size: 40px;
	line-height: 22px;
	height: 40px;
    width: 40px;
    -moz-border-radius: 50%;
    border-radius: 50%;
	overflow: hidden;
}

.backtotop li a:hover {
	background-color: #0088CC;
}

.mobile-backtotop {
    display: none;
}

.tophead a {
	color: #B3E8E7;
}

/* CONTACT FORM */
 
/* Add curved borders to various elements */

#contactModal, #thanksModal {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

#contactModal .modal-header, #thanksModal .modal-header {
    border-bottom: none;
    padding: 15px 15px 10px 30px;
}

#contactModal .modal-header h3, #thanksModal .modal-header h3 {
    color: #0b9a98;
    font-size: 2em;
    font-family: "OpenSansLight", Arial, sans-serif;
}

#contactModal .modal-body, #thanksModal .modal-body {
    padding: 0 30px 30px;
}

#contactForm, .statusMessage, input[type="submit"], input[type="button"] {
  /* -moz-border-radius: 10px;
  -webkit-border-radius: 10px;  
  border-radius: 10px; */
}


/* Style for the contact form and status messages */

/*#contactForm, */
.statusMessage {
    color: #666;
    background-color: #fff;
    /* background: -webkit-gradient( linear, left bottom, left top, color-stop(0,#dfe1e5), color-stop(1, #ebedf2) );
    background: -moz-linear-gradient( center bottom, #dfe1e5 0%, #ebedf2 100% ); */
    border: none;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.statusMessage img {
    display: block;
    margin: 10px auto;
}

.statusMessage p {
    color: #333;
}


/* The form dimensions */

#contactForm {
  /* width: 40em;
  height: 33em;
  padding: 0 1.5em 1.5em 1.5em;
  margin: 0 auto; */
}


/* Position the form in the middle of the window (if JavaScript is enabled) */

#contactForm.positioned {
  /* position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin-top: auto;
  margin-bottom: auto; */
}


/* Dimensions and position of the status messages */

.statusMessage {
    z-index: 999;
    display: none;
    margin: auto;
    width: 200px;
    height: 100px;
    padding: 1.5em;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.statusMessage p {
  text-align: center;
  margin: 0;
  padding: 0;
}


/* The header at the top of the form */

/* #contactForm h2 {
  font-size: 2em;
  font-style: italic;
  letter-spacing: .05em;
  margin: 0 0 1em -.75em;
  padding: 1em;
  width: 19.5em;  
  color: #aeb6aa;
  background: #dfe0e5 url('images/stamp.jpg') no-repeat 15em -3em;
  border-bottom: 1px solid #aaa;
  -moz-border-radius: 10px 10px 0 0;
  -webkit-border-radius: 10px 10px 0 0;  
  border-radius: 10px 10px 0 0;
} */


/* Give form elements consistent margin, padding and line height */

#contactForm .l-modal-rh-column,
#orderForm .l-modal-rh-column {
    float: right;
    width: 50%;
}

#contactForm ul,
#orderForm ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#contactForm p.l-modal-lh-column,
#orderForm p.l-modal-lh-column {
    float: left;
    width: 40%;
    padding-top: 10px;
    font-size: 0.75em;
}

#thanksModal p,
#orderThanksModal p {
    padding: 10px 0;
    font-size: 0.75em;
}


#contactForm ul li,
#orderForm ul li {
    margin: 0 0 8px;
    padding: 0;
}

#contactForm input, #contactForm label,
#orderForm input, #orderForm label {
  line-height: 100%;
}


/* The field labels */

label {
    display: block;
    float: left;
    clear: left;
    text-align: left;
    width: 90%;
    padding: 5px 0;
    margin: 0;
    font-family: 'OpenSansBold', Arial, sans-serif;
    font-size: 0.75em;
    color: #333;
}


/* The fields */

input[type="text"], input[type="email"],
textarea {
    display: inline-block;
    margin: 0;
    padding: 8px;
    width: 90%;
    font-family: "OpenSansRegular", Arial, sans-serif;
    font-size: 0.75em;
    color: #333;
    border: 1px solid #84C2C1;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;    
    border-radius: 0;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    background: #F0FCFC;
    line-height: 120%;
}

textarea {
  height: 100px;
  resize: none;
}


/* Place a border around focused fields, and hide the inner shadow */

#contactForm *:focus,
#orderForm *:focus {
  border: 1px solid #66f;
  outline: none;
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
}


/* Display correctly filled-in fields with a green background */

input:valid, textarea:valid {
  background: #dfd;
}


/* The Send and Cancel buttons */

input[type="submit"], #thanksButton, input[type="button"] {
    float: left;
    border: none;
    padding: 12px 30px;
    font-family: 'OpenSansBold', Arial, sans-serif;
    color: #fff;
    background-color: #0b9a98;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-appearance: none;
    -moz-transition: opacity .5s;
    -webkit-transition: opacity .5s;
    -o-transition: opacity .5s;
    transition: opacity .5s;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    opacity: 0.8;
    margin-top: 10px;
    text-shadow: none;
    /* margin: 2em 1em 0 1em;
    width: 10em;
    padding: .5em;
    border: 1px solid #666;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;  
    border-radius: 10px;
    -moz-box-shadow: 0 0 .5em rgba(0, 0, 0, .8);
    -webkit-box-shadow: 0 0 .5em rgba(0, 0, 0, .8);
    box-shadow: 0 0 .5em rgba(0, 0, 0, .8);
    color: #fff;
    background: #0a0;
    font-size: 1em;
    line-height: 1em;
    font-weight: bold;
    opacity: .7;
    -webkit-appearance: none;
    -moz-transition: opacity .5s;
    -webkit-transition: opacity .5s;
    -o-transition: opacity .5s;
    transition: opacity .5s; */
}

input[type="submit"]:hover,
input[type="submit"]:active,
#thanksButton, input[type="button"]:hover,
#thanksButton, input[type="button"]:active {
  cursor: pointer;
  opacity: 1;
}

input[type="submit"]:active, #thanksButton, input[type="button"]:active {
  background: #00C2BF;
  /* -moz-box-shadow: 0 0 .5em rgba(0, 0, 0, .8) inset;
  -webkit-box-shadow: 0 0 .5em rgba(0, 0, 0, .8) inset;
  box-shadow: 0 0 .5em rgba(0, 0, 0, .8) inset; */
}

.extra-field {
    display: none; /* the field for tricking spammers */
}


/*****************************/


/* SINGLE.PHP */

#image-loader-graphic {
    width: 31px;
    height: 31px;
    position: absolute;
    left: 50%;
    top: 50%; 
    margin-left: -15px;
    margin-top: -15px;
    z-index: 0;
}

.single-copyright-message {
    color: #aaa;
    font-size: 0.5em;
    padding: 5px;
    background-color: #000;
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 500;
}

.single-copyright-message p {
    padding: 0;
    margin: 0;
}

.the-big-image img {
    z-index: 1;
}

.the-big-image .image-missing {
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -100px;
    width: 200px;
    height: 200px;
    background-color: #111;
    border-radius: 50%;
}

.the-big-image .image-missing p.none-error {
    color: #fff;
    padding: 58px 30px;
    text-align: center;
    line-height: 28px;
    font-size: 20px;
    
}

#image-cover{
    position: absolute;
    width: 100%;
    height: 100%;
}

#image-cover img.wrapper-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
}


/* SINGLE PINNED NAV */

.single-pinned-nav {
	width: 110%;
	left: -5%;
	position: fixed;
	z-index: 300;
}

.single-pinned-nav .categories li a {
	color: #999;
    background-color: #333;
    background-color: rgba(0, 0, 0, 0.8);
}

.single-pinned-nav .categories li a:hover, .single-pinned-nav .categories li a:focus {
	color: #fff;
	background-color: #0B9A98;
}

/* REST OF SINGLE.PHP */

#single-page {
	background-color: #000;	
	overflow: hidden;
}

.image-wrapper {
	/*text-align: center;*/
}

.caption-wrapper {
 	margin: 0;
 	position: fixed;
	bottom: 50px;
    left: 50px;
	/*left: 20px;*/
    width: 300px;
    z-index: 100;
}

.image-caption {
	margin: 0 0;
	text-align: left;
	padding: 15px;
    background-color: #333333;
	background-color: rgba(90, 90, 90, 0.8);
	color: #fff;
}

.image-caption h2 {
    text-transform: uppercase;
	font-size: 1em;
	line-height: 125%;
	font-family: 'OpenSansExtraBold', Arial, sans-serif;
	font-weight: normal;	
	border-bottom: 1px solid #444;
	padding-bottom: 8px;
	padding-top: 0;
	margin: 0;
	color: white;
}

.image-caption p {
    margin-top: 0.8em;
    font-size: 0.8em;
}

.image-nav {
    position: absolute;
    top: 45%;
    list-style-type: none; 
    margin: 0;
    z-index: 150;
}

.image-nav li a {
    display: inline-block;
    color: #999;
    text-align: left;
    margin: 0;
    padding: 30px 20px 35px;
    background-color: rgba(90, 90, 90, 0.3);
    font-size: 300%;
}

.image-nav li a:hover, .image-nav li a:focus {
    color: #fff;
    background-color: rgba(90, 90, 90, 0.7);
    text-decoration: none;
}

.image-nav .prev {
    position: fixed;
    left: 0;
}

.image-nav .next {
    position: fixed;
    right: 0;
}

.image-nav .nav-word {
    display: none;
}

/* NZDN stuff */
body.post-type-archive-nzdn {
    background-color: #fff;
}

.post-type-archive-nzdn .noJS-message {
    display: none;
}

#nzdn-total-holder {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #0b9a98;
    z-index: 800;
    border-top: 3px solid #49C4C3;
    border-top: 3px solid rgba(11, 154, 152, 0.5);
    -webkit-background-clip: padding-box; /* for Safari */
    background-clip: padding-box;
}

#nzdn-total-holder p {
    padding: 12px 0;
    margin: 0;
    text-align: center;
    font-family: 'OpenSansBold', Arial, sans-serif;
    font-size: 0.9em;
    line-height: 100%;
    color: #fff;
}
#nzdn-total-holder p a#orderBottom {
    padding: 9px 20px 12px;
    background-color: #BFFFFE;
    margin: 0 20px 0 0;
    color: #0088cc;
}

#nzdn-total-holder p a#emptyBottom {
    font-family: 'OpenSansLight';
    color: #DEDEDE;
    font-size: 0.75em;
    margin: 0 0 0 20px;
}

.post-type-archive-nzdn .tophead {
    background-image: none;
    min-height: 0;
    background-color: #fff;
    text-align: center;
}

.post-type-archive-nzdn .tophead h1 {
    font-family: 'OpenSansBold', Arial, sans-serif;
    font-weight: Normal;
    font-size: 3.5em;
    color: #0b9a98;
    line-height: 100%;
    margin: 0 0 20px;
    text-align: center;
    position: relative;
    display: block;
    letter-spacing: -3px
}

.post-type-archive-nzdn #head-underline {
    background-color: #5FDEDC; 
    min-height: 1px; 
    max-height: 1px; 
    min-width: 150px; 
    max-width: 150px; 
    margin: 0 auto 30px;
}

.post-type-archive-nzdn .tophead p {
    font-family: 'OpenSansLight', Arial, sans-serif;
    font-size: 0.9em;
    line-height: 170%;
    text-align: left;
}

.post-type-archive-nzdn .tophead .logo {
    text-align: center;
    margin: 0;
    padding: 10px 0 30px;
}

.post-type-archive-nzdn .tophead .logo a img {
    opacity: 0.3;
}

.post-type-archive-nzdn .tophead .logo a img:hover {
    opacity: 0.8;
}

.post-type-archive-nzdn .tophead ul.nzdn-cats {
    list-style: none;
    margin: 0;
}

.post-type-archive-nzdn .tophead ul.nzdn-cats li {
    margin: 0 0 10px;
}

.post-type-archive-nzdn .tophead ul.nzdn-cats li a {
    font-size: 1.5em;
    color: #0088cc;
    line-height: 120%;
    margin: 0 0 0.5em;
    text-align: left;
    font-family: 'OpenSansLight', Arial, sans-serif;
}

.post-type-archive-nzdn #nzdn-main {
    margin: 30px 0 50px;
    background-color: #fff;
}

.post-type-archive-nzdn #nzdn-main h2 {
    text-align: center;
    margin: 20px 0 10px;
    font-family: 'OpenSansBold', Arial, sans-serif;
    font-weight: normal;
    color: #555;
}

.post-type-archive-nzdn #nzdn-main #head-underline {
    background-color: #ddd;
}

.post-type-archive-nzdn #nzdn-main .no-nzdn-thumb {
    background-color: #ddd;
    position: relative;
    height: 170px;
    margin: 0 0 40px;
}

.post-type-archive-nzdn #nzdn-main .no-nzdn-thumb p {
    text-align: center;
    margin: 0;
    padding: 80px 0 0 0;
    line-height: 10px;
}

.post-type-archive-nzdn #nzdn-main .nzdn-thumb {
    text-align: center;
    margin: 0 0 40px;
}

.post-type-archive-nzdn #nzdn-main h3.item_name {
    display: none;
}

.post-type-archive-nzdn #nzdn-main a.add-button {
    background-color: #0088cc;
    color: #fff;
    padding: 8px 20px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #fff;
}

.post-type-archive-nzdn #nzdn-main a.add-button:hover,
.post-type-archive-nzdn #nzdn-main a.add-button:focus {
    text-decoration: none;
    background-color: #2BA4E0;
}

.post-type-archive-nzdn #nzdn-main a.add-button:active {
    text-decoration: none;
    background-color: #1B9DDE;
}

.post-type-archive-nzdn #nzdn-main .hidden {
    display: none;
}

.post-type-archive-nzdn #nzdn-main a.remove-button {
    background-color: #8C8C8C;
    color: #fff;
    padding: 8px 20px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #fff;
}

.post-type-archive-nzdn #nzdn-main a.remove-button:hover,
.post-type-archive-nzdn #nzdn-main a.remove-button:focus {
    text-decoration: none;
    background-color: #A8A8A8;
}

.post-type-archive-nzdn #nzdn-main a.remove-button:active {
    text-decoration: none;
    background-color: #999;
}

.post-type-archive-nzdn #nzdn-main .hidden {
    display: none;
}

/**** Empty state ****/
.post-type-archive-nzdn p.l-page-empty {
    text-align: center;
    background-color: #FFFBD4;
    padding: 20px;    
}

/**** NO JS ****/

.post-type-archive-nzdn.noJS .noJS-message {
    display: block;
    width: 100%;
    background-color: #FFFBD4;
    padding-top: 50px;
}

.post-type-archive-nzdn.noJS .noJS-message p {
    padding: 20px;
    text-align: center;
}

.post-type-archive-nzdn.noJS #nzdn-total-holder {
    display: none;
}

.post-type-archive-nzdn.noJS .shop-buttons {
    display: none;
}

.post-type-archive-nzdn.noJS #nzdn-main h3.item_name {
    display: block;
    font-size: 1em;
    font-family: 'OpenSansBold', Arial, sans-serif;
    font-weight: normal;
    line-height: 130%;
}

/* MEDIA QUERY STUFF */

/* Landscape phones and down */
@media (max-width: 480px) {

    html, body { 
        width:100%;  
        overflow-x:hidden; 
    }
    
    body {
        font-size: 90%;
    }
    
    .big-categories {
        width: 300px;
    }
	
    .post_home {
        padding-left: 20px;
        padding-right: 20px;	
        margin-left: 0;
        margin-right: 0;
        display: inline-block;
        width: 100%;
        max-width: 300px;
    }
}

/* higher than phone res */


@media (max-width: 767px) {

    .nav-top {
        display: none;
    }
    
    .pinned-nav, .single-pinned-nav {
        width: 100%;
        left: 0;
    }
    
    .tophead {
        display: none;
        background-image: none;
    }

    .post-type-archive-nzdn .tophead {
        display: block;
    }
    
    .tophead-small {
        text-align: center;
        display: block;
        background-color: #e1e5e7;
    }
    
    .logo, .message, .categories {
        margin-left: 20px;
        margin-right: 20px;	
    }
    
    .logo {
        text-align: center;
        padding-top: 55px;	
        padding-bottom: 20px;
    }
    
    .categories {
        margin: 0;
    }
    
    .nav, .mobile-extra-nav {
        display: inline-block;
    }
    
    .categories ul.nav {
        float: left;
        padding-left: 20px;
    }
    
    .mobile-extra-nav {
        float: right;
    }
        
    .categories li {
        display: inline-block;
        margin-right: 0.5em;
    }
    
    .categories li a {
        display: inline-block;
        font-family: 'OpenSansBold', Arial, sans-serif;;
        font-weight: normal;
        color: #BABABA;
        text-decoration: none;
        font-size: 0.95em;
        padding: 0.75em 5px 1em 5px;
        line-height: 1em;
        background-color: transparent;
        /*-moz-border-radius: 6px;
        border-radius: 6px;*/
    }
    
    .symbol-font {
        padding-right: 0;
    }
    
    .nav-top {
        margin-top: 1em;
        margin-bottom: 1em;
        float: none;
    }
    
    .big-categories {
        margin: auto;
        text-align: center;
        padding-bottom: 35px;
    }
    
    .big-categories li {
        text-align: center;
    }
    
    .category-block h2 {
        font-size: 3em;
    }
    
    .pinned-nav {
        /*display: none;*/	
    }
    
    .post_home {
        margin-left: 20px;
        margin-right: 20px;	
        display: inline-block;
        width:100%;
        max-width: 300px;
    }
    
    .inner-correct {
        position: absolute;
        left: -100px;
    }
    
    .category-block {
        padding-top: 1em;
        padding-bottom: 3em;
        text-align: center;
    }
    
    .backtotop {
        display: none;
    }
        
    .mobile-backtotop {
        display: block;
        position: fixed;
        bottom: 55px;
        right: 60px;
        z-index: 999;
        opacity: 0.6;
    }
    
    .mobile-backtotop ul {
        display: inline-block;
        list-style: none;
    }
    
    .mobile-backtotop ul li {
        display: none; 
    }
    
    .mobile-backtotop li a {
        position: absolute;
        text-align: center;
        background-color: #bbb;
        color: #fff;
        font-size: 40px;
        line-height: 22px;
        height: 40px;
        width: 40px;
        -moz-border-radius: 50%;
        border-radius: 50%;
        overflow: hidden;
    }
    
    .mobile-backtotop li a:hover {
        background-color: #0088CC;
    }
    
    .mobile-backtotop li a:hover {
        text-decoration: none;
    }
        
    footer {
        padding-bottom: 50px;
    }
    
    .the-footer .footer-copyright, .footer-copyright {
        padding: 25px;
    }
    
    .caption-wrapper {
        margin: 0 25%;
        position: absolute;
        width: 50%;
        bottom: 40px;
        left: 0;
    }
    
    .single-copyright-message {
        width: 100%;
    }
    
    .single-copyright-message p {
        text-align: center;
    }

    #contactForm p.l-modal-lh-column {
        display: none;
    }

    #contactForm .l-modal-rh-column {
        float: none;
        width: 100%;
    }

    .post-type-archive-nzdn #nzdn-main .nzdn-thumb {
        max-width: 170px;
        margin: 0 auto 30px;
    }

    .post-type-archive-nzdn .tophead p,
    .post-type-archive-nzdn .tophead ul.nzdn-cats {
        padding-left: 20px;
        padding-right: 20px;
        text-align: center;
    }

    .post-type-archive-nzdn .tophead ul.nzdn-cats {
        margin: 20px 0 0;
    }

    #nzdn-total-holder p a#orderBottom {
        padding: 9px 10px 12px;
        margin: 0 10px 0 0;
    }

    #nzdn-total-holder p a#emptyBottom {
        margin: 0 0 0 10px;
    }

    .post-type-archive-nzdn .tophead h1 {
        font-size: 2.5em;
    }

}


/* Landscape phone to portrait tablet */
@media (min-width: 481px) and (max-width: 767px) { 

    body {
    	font-size: 95%;
    }

    .big-categories {
    	width: 430px;
    }

    .inner-correct {
        position: absolute;
        left: -100px;
    }

}


@media (min-width: 768px) and (max-width: 979px) { 

    body {
    	font-size: 96%;
    }

    .inner-correct {
        position: absolute;
        left: -167px;
    }

}

@media (min-width: 768px) and (max-width: 861px) { 

    .inner-correct {
        position: absolute;
        left: -167px;
    }

}


@media (min-width: 980px) and (max-width: 1209px) { 

    body {
    	font-size: 98%;
    }

}


@media (min-width: 1210px) and (max-width: 1320px) { 

    body {
    	font-size: 102%;
    }

    .inner-correct {
        position: absolute;
        left: -115px;
    }

}

@media (min-width: 1321px) {

    body {
    	font-size: 105%;	
    }

    .inner-correct {
        position: absolute;
        left: -115px;
    }
}
