/*
Theme Name: Pacific Prime Wines
*/

/* ============================================================================================================= BASE STYLES & FIXES */


html {
    overflow-y: scroll;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}



body {
    font-size: 16px;
    line-height: normal;
    margin: 0;
	color: #444;
}



body,
input,
button,
textarea,
select {
    font-family: Palatino,"Palatino Linotype",Georgia,"Times New Roman", serif;
}



img {
    border: 0;
    -ms-interpolation-mode: bicubic;
}

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

.alignleft {
	float: left;
	margin: 0 20px 20px 0;
}
.alignright {
	float: right;
	margin: 0 0 20px 20px;
}

/* ............................................................................................................. Links */

a {
    color: #111;
	text-decoration: none;
}



a:focus {
    outline: thin dotted;
}



a:hover,
a:active {
    outline: 0;
	color: #009EDD;
}

.button {
	background: #f7f6f2;
	display: inline-block;
	font-size: 1.2em;
	padding: 1em;
	border-radius: .25em;
	box-shadow: inset 0 -2px rgba(0,0,0,.05), 0 1px 5px rgba(0,0,0,.025);
	cursor: pointer;
	font-weight: bold;
}
.button:hover { opacity: .9; }

/* ............................................................................................................. General typography */

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	line-height: 1;
	margin: 0 0 16px;
	color: #111;
}

h1 {
	font-weight: bold;
	font-size: 218%;
}
	.home h1 {
		font-size: 164%;
	}

h2 {
	font-weight: bold;
	font-size: 164%;
}

h3 {
	font-size: 145%;
}

h4 {
	font-size: 118%;
	margin: 0 0 5px
}


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



b,
strong {
    font-weight: bold;
}


small {
    font-size: 75%;
}



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

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

/* ............................................................................................................. Lists */

ul,
ol {
    margin: 0;
    padding: 0 0 0 30px;
}

dd {
    margin: 0 0 0 30px;
}

nav ul,
nav ol {
    list-style: none;
}

/* ............................................................................................................. Form elements */


form {
    margin: 0;
}



fieldset {
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}



legend {
    *margin-left: -7px;
}



button,
input,
select,
textarea {
    font-size: 100%;
    margin: 0;
    vertical-align: baseline;
    *vertical-align: middle;
}



button,
input {
    line-height: normal;
    *overflow: visible;
}



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



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



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



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



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



textarea {
    overflow: auto;
    vertical-align: top;
}

/* ............................................................................................................. Table elements */



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

th,
td {
    padding: 0;
    text-align: left;
    vertical-align: middle;
}


/* =
----------------------------------------------- */



#branding .inner,
#access,
#main {
	width: 975px;
	margin: 0 auto;
}

#main {
	padding: 0 0 30px;
}

#branding {
	border-bottom: 1px solid #e5e5e5;
	padding: 15px 0;
	margin: 0 0 30px;
	height: 90px;
	-webkit-box-shadow: 0 0 20px rgba(0,0,0,0.05);
	-moz-box-shadow: 0 0 20px rgba(0,0,0,0.05);
	box-shadow: 0 0 20px rgba(0,0,0,0.05);
}
.home #branding {
	margin: 0;
	border: 0;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}
#branding hgroup {
	width: 300px;
	position: relative;
	z-index: 1000;
}
#site-title {
	display: block;
	text-indent: -9999px;
	background: url("/images/logo.gif") no-repeat;
	width: 300px;
	height: 76px;
	margin: 0;
	padding: 0;
	cursor: pointer;
}

#access .menu-main-menu-container {
	margin: -56px 0 0;
	overflow: hidden;
}
#access .menu {
	float: right;
	padding: 0;
	margin: -7px 0 0;
	overflow: hidden;
	width: 660px;
	line-height: 30px;
}
#access .menu li {
	float: left;
	margin: 0 0 0 40px;
	font-size: 15px;
	text-transform: uppercase;
}








#intro {
	background: #f7f6f2 url('/images/intro-container-bg.gif') repeat-x;
	height: 264px;
	margin: 0 0 30px;
}
#intro .inner {
	background: #f7f6f2 url('/images/intro-bg.jpg') no-repeat;
	width: 975px;
	height: 100%;
	margin: 0 auto;
}
#intro .copy {
	font-size: 15px;
	line-height: 1.5;
	color: #403e37;
	width: 460px;
}
#intro h1 {
	font-size: 24px;
	margin: 0;
	color: #000;
	font-style: italic;
	line-height: 1;
}
#intro .logos {
	height: 230px;
	padding: 20px 0 20px;
	position: relative;
}
#intro .logos a {
	float: left;
	display: inline;
	height: 111px;
	text-indent: -9999px;
	overflow: hidden;
}
.nav-carrick { width: 143px }
.nav-forrest { width: 108px }
.nav-the-doctors { width: 140px }
.nav-maimai { width: 130px }
.nav-seifried { width: 130px }
.nav-old-coach { width: 130px }






.home #primary {
	float: left;
	display: inline;
	width: 630px;
}
#secondary {
	display: none;
}
.home #secondary {
	float: left;
	display: inline;
	margin: 0 0 0 30px;
	width: 315px;
}




.entry-content {
	line-height: 1.5;
}







.by-author,
.entry-meta,
*[class*='comment'],
*[id*='comment'],
#comments,
#respond,
#nav-above,
#nav-below,
.nav-previous,
.nav-next {
	display: none !important
}







.management-team-button {
	display: block;
	text-indent: -9999px;
	background: url('/images/btn-management-team.gif') no-repeat;
	width: 315px;
	height: 68px;
	margin: 0 0 20px;
}




#twitter {
	background: #f7f6f2;
	padding: 15px;
	margin: 0 0 30px;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.12);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.12);
	box-shadow: 0 1px 2px rgba(0,0,0,0.12);
}
#twitter h2 {
	margin: 5px 0 7px 10px;
	padding: 0 0 7px;
	border-bottom: 1px solid #EAE7DD;
}
#twtr-widget-1 {
	font-family: Georgia !important;
	font-size: 68% !important;
}
.twtr-doc {
	border-radius: 0 !important;
}
.twtr-hd{
	display: none !important;
}
.twtr-ft {
	margin: 10px 0 0;
	background: #e4e0d2;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}












.social {
	line-height: 41px;
	padding: 0 20px;
	margin: 0
}
.social a {
	display: block;
	padding-left: 50px;
}
.facebook a {
	background: url('/images/facebook-color.png') no-repeat;
}
.twitter a {
	background: url('/images/twitter-color.png') no-repeat;
}
.instagram a {
	background: url('/images/instagram-color.png') no-repeat;
}




.video-box {
	background: #f7f6f2;
	padding: 15px;
	margin: 0 0 30px;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.12);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.12);
	box-shadow: 0 1px 2px rgba(0,0,0,0.12);
}

.video-box h2 {
	margin: 10px 0;
}

.video-list {
	width: 630px;
	margin: 0 auto;
}
.video-list .video {
	max-width: 600px;
}






/* =Our Wineries */
.wineries h2 {
	padding: 12px 0 10px;
	margin: 10px 0 10px;
	border-top: 1px solid #eae7dd;
	border-bottom: 1px dashed #eae7dd;
	background: #fbfbfb;
	padding-left: 10px;
}
.wineries .copy {
	overflow: hidden;
}
.wineries .copy img.alignleft {
	margin: 0 20px 40px 0;
}
.wineries .map {
	background: url('/images/wineries-july-2016.png') no-repeat;
	width: 975px;
	height: 683px;
	position: relative;
	margin-top: -15px;
}
.wineries .map a {
	display: block;
	position: absolute;
	overflow: hidden;
	text-indent: -9999px;
	min-width: 110px;
}
	.map .hawkes-bay {
		top: 123px;
		left: 117px;
		width: 529px;
		height: 131px;
	}
	.map .nelson {
	    top: 259px;
	    left: 117px;
	    width: 407px;
		height: 163px;
	}
	.map .marlborough {
		top: 296px;
		left: 556px;
		width: 385px;
		height: 255px;
	}
	.map .central-otago {
		top: 425px;
		left: 157px;
		width: 385px;
		height: 254px;
	}





/* =Our Wines / Our Distributors */
/*#post-10 .list,
#post-12 .list {
	padding: 0;
	margin: 0;
}
#post-10 .list > li,
#post-12 .list > li {
	list-style-type: none;
	padding: 20px 20px 0 0;
	margin: 0 0 20px;
	border-top: 1px solid #EAE7DD;
	font-size: 80%;
	width: 31%;
	min-height: auto;
	display: -moz-inline-stack;
	display: inline-block;
	vertical-align: top;
	zoom: 1;
	*display: inline;
	_height: auto;
}
	#post-10 .list {
		margin: -20px 0 0;
	}
	#post-10 .list > li {
		border: 0;
		padding: 0 20px 0 0;
		width: 31%;
	}
	#post-10 .list ul {
		margin: -15px 0;
		padding: 0 0 0 15px;
	}
	#post-10 .list ul li {
		list-style-type: none;
		background: url('/images/pdf.png') no-repeat;
		padding: 0 0 5px 25px;
	}

#post-10 .entry-content li em {
	font-size: 16px;
	font-style: normal;
	font-weight: bold;
}

#post-10  li strong {
	font-size: 130%;
	border-bottom: 1px solid #EAE7DD;
	display: block;
	padding: 20px 0 5px;
	margin: 0 0 -20px;
	color: #111;
}
#post-12 li strong {
	font-size: 118%;
}
.page-id-7 #content a,
#post-10 a,
#post-12 a {
	color: #009EDD
}
.page-id-7 #content a:hover,
#post-10 a:hover,
#post-12 a:hover {
	text-decoration: underline;
}*/

.distributor-list,
.wine-list {
	overflow: hidden;
}
.distributor {
	/*padding: 20px 20px 0 0;
	border-top: 1px solid #EAE7DD;
	font-size: 80%;
	width: 31%;
	min-height: auto;
	display: -moz-inline-stack;
	display: inline-block;
	vertical-align: top;
	zoom: 1;
	*display: inline;
	_height: auto;*/
}
.distributor a,
.wine a,
.page-id-7 #content a,
.page-id-557 #content a {
	color: #009EDD
}
.distributor a:hover,
.wine a:hover,
.page-id-7 #content a:hover {
	text-decoration: underline;
}


.wine {
	padding: 0 20px 0 0;
	font-size: 80%;
	width: 31%;
	line-height: 23px;
}
.wine h3 {
	border-top: 1px solid #EAE7DD;
	font-weight: bold;
	padding: 15px 0 0;
	margin: 0;
}
.wine strong {
	font-size: 118%;
}
.wine a {
	/*background: url('/images/pdf.png') no-repeat;*/
	display: inline-block;
	margin: 0 0 0 10px;
}

.page-id-557 #content h2 {
	margin-top: 1.5em;
}
.page-id-557 #content a {
	margin: 0 7px;
}

/* =Points of Sale - Downloadable PDFs */
.page-id-696 article h2,
.page-id-35 article h2 {
	border-bottom: 1px solid #e5e5e5;
	margin-top: 1.25em;
}
.page-id-696 article h3,
.page-id-35 article h3 {
	font-weight: bold;
	margin: 0;
	font-size: 1.2em;
}






#foot {
	background: #f7f6f2;
	padding: 30px 0;
}
#foot .inner {
	width: 975px;
	margin: 0 auto;
}
#foot h4 {
	font-weight: bold;
	padding: 0 0 10px;
	margin: 0 0 10px;
	border-bottom: 1px solid #eae7dd;
}
.address {
	float: right;
	width: 315px;
}
.contact-details {
	float: left;
	width: 630px;
}
.contact-details ul {
	padding: 0;
	margin: 0 0 20px;
}
.contact-details li {
	float: left;
	width: 33%;
	list-style-type: none;
	margin: 0 0 10px;
}
.copyright  {
	text-align: center;
	border-top: 1px solid #eae7dd;
	margin: 20px auto 0 !important;
	padding: 20px 0 0;
}













/* ............................................................................................................. Distributor Map */
#us-map {
	width: 600px;
	height: 400px;
	position: relative;
	float: left;
	margin: 0 0 20px;
}
/*.svg #us-map .codes {
	position: absolute;
	width: 600px;
	height: 400px;
	background: url('/images/us-map-codes.png') no-repeat 0 1px;
	z-index: 2;
	pointer-events: none;
}*/
.svg #us-map .codes {
	position: absolute;
	width: 600px;
	height: 400px;
	background: url('/images/us-map-codes.gif') no-repeat 0 1px;
	z-index: 0;

}
#us-map svg,
#us-map rvml {
	position: absolute;
	z-index: 1 !important;
}
#us-map path {
	cursor: pointer;
}
.jvectormap-label {
    position: absolute;
    display: none;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: #292929;
    color: white;
    font: inherit;
    padding: 3px 6px;
	z-index: 5;
}

.jvectormap-zoomin, .jvectormap-zoomout {
    display: none
}

.jvectormap-zoomin {
    left: 10px;
    top: 10px;
}

.jvectormap-zoomout {
    left: 10px;
    top: 30px;
}





.distributor-info {
	float: right;
	width: 360px;
	min-height: 400px;
	margin: 0 0 20px;
}
.instructions {
	margin: 30px 0 0;
}
.state {
	margin: 0 0 20px;
}
.js .state {
	display: none;
}
.state h3 {
	border-bottom: 1px solid #e5e5e5;
	padding: 0 0 5px;
	margin: 0 0 10px;
	font-size: 26px;
}
.state h4 {
	margin: 0 0 -10px;
	font-weight: bold;
}

.js .active-state {
	display: block;
}


.xdebug-error {
	display: none
}






/* Assistive text */
.assistive-text {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}
#access a.assistive-text:active,
#access a.assistive-text:focus {
	background: #eee;
	border-bottom: 1px solid #ddd;
	color: #1982d1;
	clip: auto !important;
	font-size: 12px;
	position: absolute;
	text-decoration: underline;
	top: 0;
	left: 7.6%;
}




/* ............................................................................................................. Gallery */
.gallery img {
	border: 1px solid #111 !important;
}





/* ............................................................................................................. Clearfix */


/* For modern browsers */
.cf:before,
.cf:after,
#post-7 .entry-content p:before,
#post-7 .entry-content p:after,
#main:before,
#main:after {
    content:"";
    display:table;
}

.cf:after,
#post-7 .entry-content p:after,
#main:after {
    clear:both;
}

/* For IE 6/7 (trigger hasLayout) */
.cf,
#post-7 .entry-content p,
#main {
    zoom:1;
}