/*
Theme Name: Drugs
Theme URI: http://underscores.me/
Author: Jessica
Author URI: http://creativem.co.nz
Description: Alcohol & Drugs Association New Zealand
Version: 1.0
License: GNU General Public License
License URI: license.txt
Text Domain: drugs
Domain Path: /languages/
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

 Drugs is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 - Reset
2.0 - Typography
3.0 - Elements
4.0 - Forms
5.0 - Navigation
	5.1 - Links
	5.2 - Menus
6.0 - Accessibility
7.0 - Alignments
8.0 - Clearings
9.0 - Widgets
10.0 - Content
	10.1 - Posts and pages
	10.2 - Asides
	10.3 - Comments
11.0 - Infinite scroll
12.0 - Media
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 - Reset
--------------------------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	aoverflow-y: scroll; /* Keeps page centered in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust:     100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}
*,
*:before,
*:after { /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
	-webkit-box-sizing: border-box; /* Not needed for modern webkit but still used by Blackberry Browser 7.0; see http://caniuse.com/#search=box-sizing */
	-moz-box-sizing:    border-box; /* Still needed for Firefox 28; see http://caniuse.com/#search=box-sizing */
	box-sizing:         border-box;
}
body {
	background: #fff;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
	display: block;
}
ol, ul {
	list-style: none;
}
table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a:focus {
	outline: thin dotted;
}
a:hover,
a:active {
	outline: 0;
}
a img {
	border: 0;
}

/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: "Myriad Pro", helvetica, arial, sans-serif;
	font-size: 14px;
	font-size: 1.4rem;
	line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 {
	clear: both;
}
b, strong {
	font-weight: bold;
}
dfn, cite, em, i {
	font-style: italic;
}
blockquote {
	margin: 0 1.5em;
}
address {
	margin: 0 0 1.5em;
}
pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}
code, kbd, tt, var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
mark, ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
small {
	font-size: 75%;
}
big {
	font-size: 125%;
}

/*--------------------------------------------------------------
3.0 Elements
--------------------------------------------------------------*/
hr {
	background-color: #ccc;
	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: 0;
}
table {
	margin: 0 0 1.5em;
	width: 100%;
}
th {
	font-weight: bold;
}

/*--------------------------------------------------------------
4.0 Forms
--------------------------------------------------------------*/
button,
input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
	*vertical-align: middle; /* Improves appearance and consistency in IE6/IE7 */
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid #ccc;
	border-color: #ccc #ccc #bbb #ccc;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
	-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa #bbb;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}
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 {
	border-color: #aaa #bbb #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}
input[type="checkbox"],
input[type="radio"] {
	padding: 0; /* Addresses excess padding in IE8/9 */
}
input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
	-moz-box-sizing:    content-box;
	box-sizing:         content-box;
}
input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
	border: 0;
	padding: 0;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 3px;
}
textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	padding-left: 3px;
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 98%;
}

/*--------------------------------------------------------------
5.0 Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
5.1 Links
--------------------------------------------------------------*/
a:visited,
a:link,
a:active {
	color: #00b4ed;
	text-decoration: none;
}
a:hover,
a:focus {
	color: #97c93d;
	text-decoration: underline;
}

/*--------------------------------------------------------------
5.2 Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}
.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
.main-navigation li {
	float: left;
	position: relative;
}
.main-navigation a {
	display: block;
	text-decoration: none;
}
.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	background: #fff;
	display: none;
	float: left;
	left: 0;
	position: absolute;
	top: 1.75em;
	z-index: 99999;
}
.main-navigation ul ul ul {
	left: 100%;
	top: 0;
}
.main-navigation ul ul a {
	width: 200px;
}
.main-navigation ul ul li {
}
.main-navigation li:hover > a {
}
.main-navigation ul ul :hover > a {
}
.main-navigation ul ul a:hover {
}
.main-navigation ul li:hover > ul {
	display: block;
}
.main-navigation .current_page_item a,
.main-navigation .current-menu-item a {
}
/* Small menu */
.menu-toggle {
	cursor: pointer;
	display: none;
}
@media screen and (max-width: 600px) {
	.menu-toggle,
	.main-navigation.toggled .nav-menu {
		display: block;
	}

	.main-navigation ul {
		display: none;
	}
}
.site-main .comment-navigation,
.site-main .paging-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}
.comment-navigation .nav-previous,
.paging-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}
.comment-navigation .nav-next,
.paging-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
6.0 Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.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-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 */
}

/*--------------------------------------------------------------
7.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: 0 auto;
}

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

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

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

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

/* Search widget */
.widget_search .search-submit {
	display: none;
}

/*--------------------------------------------------------------
10.0 Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
10.1 Posts and pages
--------------------------------------------------------------*/
.sticky {
}
.hentry {
	margin: 0 0 1.5em;
}
.byline,
.updated {
	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;
}

/*--------------------------------------------------------------
10.2 Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
10.3 Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}
.bypostauthor {
}

/*--------------------------------------------------------------
11.0 Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .paging-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}
/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
12.0 Media
--------------------------------------------------------------*/
.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.wp-caption {
	border: 1px solid #ccc;
	margin-bottom: 1.5em;
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 1.2% auto 0;
	max-width: 98%;
}
.wp-caption-text {
	text-align: center;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}
.site-main .gallery {
	margin-bottom: 1.5em;
}
.gallery-caption {
}
.site-main .gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}
.site-main .gallery dd,
.site-main .gallery figcaption {
	margin: 0;
}
.site-main .gallery-columns-4 .gallery-item {
}
.site-main .gallery-columns-4 .gallery-item img {
}
/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
13.0 Theme
--------------------------------------------------------------*/
/*body, html {
	height: 98%;	
} */

/*body {
	abackground-color: #F7F7F7;
	abackground-image: url(images/GrayStrip.png);
	abackground-repeat: repeat-x;
	min-height: 459px;
}*/

.hentry,
.entry-content {
	margin: 0;	
}

/* -- Globals -- */
h1,
h2,
h3,
h4 {
	color: #cb0079;	
	margin-bottom: 0.5em;
}

h1 a,
h2 a,
h3 a {
	color: #cb0079 !important;	
}

#p-content h1:before,
#s-content h1:before,
#q-content h1:before,
#se-content h1:before {
	content: url(images/before.png);
	margin-left: -25px;
	position: absolute;
	margin-top: 5px;
}

h1 {
	font-size: 2.1em;	
}

h2 {
	font-size: 1.5em;	
}

h3 {
	font-size: 1.3em;	
}

h4 {
	font-size: 1.15em;
}

p {
	margin-bottom: 1em;	
}


#breadcrumbs {
	font-size: 0.9em;	
}

select {
	border: 1px solid #ccc;	
}

/* For if width of content needs adjusting */
.site-info,
#inner-header,
#content {
	max-width: 990px;
	margin: 0 auto;	
}

/* -- Header -- */
#koru {
	abackground: url(images/ADANZ-Header.png) bottom repeat-x;
	height: 146px;
}

#header-img {
	max-width: 990px;	
	height: 100%;
	margin: 0 auto;
}

#outer-header {
	width: 100%;
	height: 100%;
	background-image:url(images/ADANZ-Header.png);
	background-repeat:none;
}

#inner-header {
	height: 100%;	
}

#inner-header img {
	margin-left: 55px;
	margin-top: 5px;	
}

#inner-header #stuff-box {
	float: right;
	display: block;
	width: 175px;
	margin-right: 65px;
	margin-top: 92px;
}

#adanz img {
	float:left;
	margin: 5px 9px;
}

#adanz p {
	font-size: 1.1em;
	float:left;
	margin-top: 5px;
	margin-bottom: 4px;
}

#adanz p a {
	color: #000;	
}

#stuff-box form {
	clear:both;
	margin-left: 3px;	
}

#stuff-box p#search {
	clear:both;
	font-size: 1em;
	margin-bottom: 2px;
	margin-left: 5px;
}

#feedback {
	width: 150px;
	padding: 5px;
	position: absolute;
	right: 0;
	font-size: 1.2em;
	background: #97c93d;
}

#feedback a {
	color: #fff;
	font-size: 0.9em;	
}

.fb-like {
	margin-top: 5px;	
}

.fb-like .pluginButton {
	background: #00b4ed !important;
	background: -webkit-gradient(linear, center top, center bottom, from(#00b4ed), to(#01a4d8)) !important;
	background: -webkit-linear-gradient(#00b4ed, #01a4d8) !important;	
}

#stuff-box label {
	max-width: 170px;
}

#stuff-box input[type="search"] {
	border: 1px solid #000;
	border-right: none;
	border-radius: 0px;
	max-width: 165px;
	height: 23px\9;
}

/* -- Because search boxes are fickle, here's some browser hacks! -- */

#stuff-box .search-field { /* IE 8 + below */
	height: 29px\9;	
}

@-moz-document url-prefix() { /* Mozilla */
    #stuff-box input[type="search"] {
        height: 23px;
    }
}

#stuff-box input[type="submit"] {
	background: transparent url(images/SearchIcon.png) top left no-repeat;
	width: 29px;
	padding-bottom: 8px;
	position: absolute;
	border: none;
	border-radius: 0;
	box-shadow: none;
	text-indent: -9999px;
	border: 1px solid #000;
	border-left: none;
}

#site-navigation {
	
}

.menu-header-container {
	max-width: 990px;
	margin: 0 auto;
	background: #fff;
	atext-transform: uppercase;
}

.menu-header-container ul#menu-header {
	clear:left;
	float:left;
	list-style:none;
	margin:0;
	padding:0;
	width: 100%;
	padding-bottom: 4px;
	font-size: 1.2em;
	background: url(images/menu-line-2.jpg) bottom left repeat-x;
	background-color: #fff;
}

.menu-header-container ul#menu-header li a {
	padding: 4px 10px;
	/*color: #01b3f3;*/
	color: #000;
}

.menu-header-container ul#menu-header li.current-menu-item a,
.menu-header-container ul#menu-header li.current-page-parent a,
.menu-header-container ul#menu-header li.current-page-ancestor a,
.menu-header-container ul#menu-header li.custom-post-parent a,
.menu-header-container ul#menu-header li a:hover {
	/*background: #01b3f3;*/
	color: #fff; 
	background: #000;
}

.main-navigation ul ul {
	top: 1.99em;
	/*background: #01b3f3;*/
	background: #000;
}

.main-navigation ul#menu-header ul.sub-menu li a {
	color: #fff;	
}

.main-navigation ul#menu-header ul.sub-menu li.current-menu-item a,
.main-navigation ul#menu-header ul.sub-menu li a:hover {
	background: #fff;
	/*color: #01b3f3;*/
	color: #000;	
}

.main-navigation ul#menu-header li.home-nav.current-menu-item a,
.main-navigation ul#menu-header li.home-nav a:hover {
	background: url(images/house.png) /*#01b3f3*/ #000 center no-repeat;
	width: 50px;
	text-indent: -9999px;
}

.main-navigation ul#menu-header li.home-nav a {
	background: url(images/house_black.png) center no-repeat;
	width: 50px;
	text-indent: -9999px;
}

/* -- Sidebar -- */
#wp_views-2 {
	margin-top: 325px;
	position: absolute;
}

#wp_views-2 a[title="Edit view"] {
	display: none;	
}



/* -- Buttons -- */
#buttons {
	width: 28.724%;
	height: 330px;
	float: left;	
	display: block;
}

#buttons ul {
	list-style: none;
	margin: 0;
}

#buttons li a:active,
#buttons li a:link,
#buttons li a:visited {
	width: 100%;
	height: 100px;
	float: left;
	display: block;
	background-color: transparent;
	margin-bottom: 15px;
	font-size: 1.2em;
	font-weight: bold;
	color: #cb0079;
	padding-top:25px;
	padding-left: 100px;
	padding-right: 26px;
}

#buttons li.problem a {
	background:url(images/Problem_button.png) no-repeat;	
}

#buttons li.service a {
	background:url(images/Service_button.png) no-repeat;
	margin-bottom: 0;
}

#buttons li.help a {
	padding-top:35px;
	background:url(images/Help_button.png) no-repeat;	
}

#secondary #buttons {
	width: 91.53%;
	height: 330px;
	margin-bottom: 15px;	
}

/* -- Content -- */
#primary {
	max-width: 990px;
	min-height: 820px;
	background-color: #fff;
	margin: 0 auto;
}

#secondary {
	max-width: 295px;
	padding-top: 2.02020202%;
	display:block;
	float:left;
}

#p-content,
#s-content {
	width: 695px;
	display:block;
	float: left;
	padding: 2.02020202% 2.52525252%;
}

#survey-click {
	position: fixed;
	right: 0;
	top: 200px;	
	font-size: 1.4em;
	background: #97c93d;
	display: block;
	padding: 2px 40px 2px 6px;
}

#survey-click a {
	color: #fff;	
}

.f-page {
	padding: 10px;	
}

/* -- Front Page -- */
#fp-content {
	width: 100%;
	padding: 2.02020202% 2.52525252%;
}

#fp-content #slider-cont {
	width: 70.213%;
	height: 330px;
	float: left;
	display: block;
	margin-right: 1.064%;
	margin-bottom: 30px;
}

#fp-content #slider {
	width: 100%;
	height: 100%;
}

.flex-control-nav {
	text-align: left !important;	
}

#fp-text {
	margin-top: 30px;
}

#fp-img {
	width: 29.8%;
	height: 185px;
	display:block;
	margin-right: 2%;
	margin-bottom: 45px;
	float:left;	
}

#fp-welcome {
	width: 68.086%;
	display: block;
	float: left;
}


#fp-welcome header {
	margin-bottom: -20px;	
}

#fp-container hr,
#primary hr,
.site-info hr,
#p-content #drug-search hr,
#buttons hr {
	display: block;
	clear: left;
	margin: -0.66em 0;
	visibility: hidden;	
}

#fp-container {
	width: 100%;	
}

.fp-item {
	display:block;
	width: 31.49%;
	min-height: 260px;
	float: left;
}

#middle {
	margin: 0 2.767%;
}

/* -- Default Page -- */
#p-content #thumb {
	display:block;
	min-width: 200px;
	float: left;
}

body.page-id-10 h6 {
	font-size: 2em;
	text-align:center;
	margin-bottom: 20px;
}

/* -- Drug Specific -- */
#drug-search {
	height: 40px;
	margin-bottom: 20px;
}

#drug-search img {
	width: 40px;
	display: block;
	float: left;
	margin-right: 10px;	
	margin-left: 20px;
}

#drug-search span {
	width: 200px;
	display: block;
	float: left;
	font-size: 1.5em;
	margin-top: 4px;
}

#drug-search form {
	width: 300px;
	display: block;
	margin-top: 11px;
	float: left;	
}

#info {
	margin-top: 10px;	
}

#info ul#tabs {
	list-style: none;	
	margin: 0;
}

#info ul#tabs li.inactive a {
	width: 140px;
	height: 40px;
	float: left;
	display: block;
	border: 1px solid #DEDEDE;
	background-color: #EFEFEF;
	background: -webkit-linear-gradient(#F7F7F7, #E1E1E1); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(#F7F7F7, #E1E1E1); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(#F7F7F7, #E1E1E1); /* For Firefox 3.6 to 15 */
	background: linear-gradient(#F7F7F7, #E1E1E1); /* Standard syntax */
	margin-right: 5px;
	color: #000;
	font-size: 1.3em;
	padding-left: 30px;
	line-height: 40px;
}

#info ul#tabs li.current a,
#info ul#tabs li.inactive a:hover {
	width: 140px;
	height: 40px;
	float: left;
	display: block;
	border: 1px solid #3abdea;
	background: -webkit-linear-gradient(#54cbf3, #00b4ed); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(#54cbf3, #00b4ed); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(#54cbf3, #00b4ed); /* For Firefox 3.6 to 15 */
	background: linear-gradient(#54cbf3, #00b4ed); /* Standard syntax */
	background-color: #00b4ed;
	margin-right: 5px;
	color: #fff;
	font-size: 1.3em;
	padding-left: 30px;
	line-height: 40px;
}

#info ul#tabs li.inactive a:hover,
#info ul#tabs li.current a:hover {
	text-decoration: none;	
}

#info ul#tabs li.current a:after {
	content: "";
	border-width: 8px 21px 0;
	border-style: solid;
	border-color: #00b4ed transparent;
	margin-top: -2px;
	margin-left:17px;
	display: block;
	width: 0;	
}

#drug-photo {
	float: right;
	padding-left: 5px;	
}

#drug-photo {
	width: 300px;	
}


#info-content {
	width: 100%;
	clear:both;
	display: block;	
}

#clickTab1,
#clickTab2,
#clickTab3,
#clickTab4 {
	clear:both;
	width: 100%;
	border: 1px solid #DEDEDE;
	padding: 10px;
}

#clickTab1 {
	display:block;	
}

#clickTab2,
#clickTab3,
#clickTab4 {
	display: none;	
}

/* -- Stories -- */

.story {
	width: 300px;
	display: inline-block;
	vertical-align: top;
	margin-left: 10px;
	margin-right: 10px;
	margin-bottom: 30px;
	background-color: #F7F7F7;	
}

.story h2,
.story p {
	margin-left: 10px;	
}

#story-img {
	float: left;
	margin-right: 5px;
	width: 200px;
}

/* -- Sub Page -- */
#s-sidebar {
	float:left;
	width: 28%;
	display:block;
	padding-right: 20px;
}

#s-sidebar ul {
	list-style: none;
	margin: 0;	
}

#s-sidebar ul li {
	padding-top: 5px;
	padding-bottom: 10px;
	border-bottom: 1px solid #000;	
}

#s-sidebar ul li.first {
	padding-top: 0;	
}

#s-sidebar ul li.last {
	padding-bottom: 0;
	border-bottom: none;	
}

#s-sidebar ul li.current-menu-item {
	font-weight: bold;	
}

#s-sidebar ul li a:link,
#s-sidebar ul li a:visited,
#s-sidebar ul li a:active {
	color: #000;	
}

#s-text {
	float: left;
	max-width: 72%;
	display:block;	
}

#qsm-content #s-text {
	max-width: 90%;
}

#s-text .gform_body li.first-name,
#s-text .gform_body li.last-name,
#s-text .gform_body li.name-service,
#s-text .gform_body li.type-service,
#s-text .gform_body li.phone,
#s-text .gform_body li.post,
#s-text .gform_body li.pass,
#s-text .gform_body li.pass-confirm {
	float: left;
	width: 227px;
}

#s-text .gform_body li.first-name .ginput_container,
#s-text .gform_body li.last-name .ginput_container,
#s-text .gform_body li.name-service .ginput_container,
#s-text .gform_body li.type-service .ginput_container,
#s-text .gform_body li.phone .ginput_container,
#s-text .gform_body li.post .ginput_container,
#s-text .gform_body li.pass .ginput_container,
#s-text .gform_body li.pass-confirm .ginput_container {
	width: 95%;	
}

#s-text .gform_body li.post {
	width: 200px;	
}

#s-text .gform_body li.gfield {
	clear:left;	
}

.page-id-105 #s-text .gform_body li.gfield,
.page-id-107 #s-text .gform_body li.gfield,
.page-id-971 #s-text .gform_body li.gfield {
	border: 10px solid #CACAD9;
	padding: 11px 16px;
}

.page-id-105 #s-text .gform_body li.gfield:hover,
.page-id-107 #s-text .gform_body li.gfield:hover,
.page-id-971 #s-text .gform_body li.gfield:hover {
	border: 10px solid #b1df5e;
}

#s-text .gfield_label {
	color: #00b4ed;
}

#s-text .gfield_required {
	color: #cb0079;
}

#s-text .gform_body ul.gfield_radio {
	padding-top: 20px;
	padding-left: 10px;
}

.gform_wrapper .left_label .gfield_label {
	width: 66% !important;
}

#s-text .gform_body li.post {
	clear:left;	
}

#s-content #disclaimer {
	clear:both;	
}

/* -- FAQs -- */
.accords h3 {
	border-bottom: 1px solid #DEDEDE;	
	border-top: 1px solid #DEDEDE;
	cursor: pointer;
	margin-bottom: 0;
	padding-left: 10px;
}

.accords {
	border: 1px solid #DEDEDE;
	border-top: none;
	margin-bottom: 20px;
}

.accords h3.ui-state-active,
.accords h3.ui-state-hover {
	border: 1px solid #3abdea;
	background: -webkit-linear-gradient(#54cbf3, #00b4ed) !important; /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(#54cbf3, #00b4ed) !important; /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(#54cbf3, #00b4ed) !important; /* For Firefox 3.6 to 15 */
	background: linear-gradient(#54cbf3, #00b4ed) !important; /* Standard syntax */
	background-color: #00b4ed !important;
	color: #fff !important;
	font-weight: bold;
}

.accords h3.ui-state-default {
	color: #000;
	background-color: #EFEFEF;
	background: -webkit-linear-gradient(#F7F7F7, #E1E1E1); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(#F7F7F7, #E1E1E1); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(#F7F7F7, #E1E1E1); /* For Firefox 3.6 to 15 */
	background: linear-gradient(#F7F7F7, #E1E1E1); /* Standard syntax */
}

.accords .accords-li {
	padding: 10px;
}

/* -- Quiz Page -- */

#q-content,
#qsm-content {
	width: 	990px;
	padding: 2.02020202% 2.52525252%;
}

#qsm-content {
	width: 600px;
}

.#q-content li.quiz ul.gfield_radio li {
	float: left;
	margin-right: 10px;	
	clear: right;
}

#q-content #s-sidebar {
	float:left;
	width: 19.5%;
	display:block;
	padding-right: 20px;
}

.page-id-105 #q-content table,
.page-id-971 #q-content table {
	border-collapse: collapse;
}

#q-content .gfield_required,
#qsm-content .gfield_required {
	display: none;
}

#q-content table,
#qsm-content table {
	border: 5px solid #b1df5e;	
}

#q-content td,
#qsm-content td  {
	border: 1px solid #b1df5e;
}

#q-content tr.noborder, #q-content td.noborder,
#qsm-content tr.noborder, #q-content td.noborder {
	border: none;
}

#q-content td#s,
#qsm-content td#s {
	width: 10%;	
}

#q-content td#ys,
#qsm-content td#ys {
	width: 15%;	
}

#q-content td#e,
#q-content td#d,
#qsm-content td#e,
#qsm-content td#d {
	width: 35%;		
}

#q-content td#s,
#qsm-content td#s  {
	width: 25%;	
}

#q-content td#r
#qsm-content td#r {
	width: 40%;	
}

#q-content td,
#qsm-content td {
	padding: 3px;	
}

#q-content td a,
#qsm-content td a {
	color: #000;	
}

td.red,
tr.high {
	background: #f47bb4;	
}

td.green,
tr.low {
	background: #b1df5e;	
}

tr.no {
	background: #E0E0E0;	
}

tr.mod {
	background: #5acada;	
}

/* -- Footer -- */
#colophon {
	clear: both;
	font-size: 0.8em;
	padding-bottom: 50px;
}

.site-info {
	background-color: #fff;
	padding: 0 25px;
	height: 25px;
	padding-bottom: 15px;
	margin-bottom: 15px;
}

.site-info p {
	margin-bottom: 0;
	width: 460px;
	display:block;
}

.site-info p#left {
	float: left;	
}

.site-info p#right {
	float: right;
	text-align: right;	
}

/* -- Splash Screen -- */
.simple_overlay {
	background-color: #fff;
	border: none;
}

#miesSPLASH {
	color: #000 !important;	
}

#splash {
	margin-top: 25px;	
}

#splash p {
	width: 340px;
	margin: 0 auto;
	margin-bottom: 25px;
	font-size: 1.3em;
}

#splash span {
	font-size: 1.4em;
	amargin-bottom: 18px;	
}

#splash ul#splash-ul {
	list-style: none;
	margin: 0;
	margin-left: 65px;
	width: 314px;
	margin-bottom: 30px;
	margin-top: 18px;
}

#splash ul#splash-ul li a {
	background-image: url(images/SplashButton.png);
	width: 314px;
	height: 64px;
	display: block;
	text-align: left;
	padding-left: 20px;
	padding-top: 20px;
	font-size: 1.2em;
	margin-bottom: 8px;
	color: #E10B00;
}

#splash span#help {
	font-size: 1.6em;
	color: #E70000;	
}

/* -- Buttons -- */
input[type="submit"]#more {
	background: #de1313;
	font-size: 1.5rem;
	text-shadow: none;
	box-shadow:none;
	color: #fff;
}

/* -- Pagination -- */

#pagination {
	text-align: center;	
	clear: both;
}

#pagination .wpv_pagination_dots {
	display: block;
	width: 50px;
	margin: 0 auto;
}

#pagination a:link,
#pagination a:active,
#pagination a:visited {
	color: #257FCD;
	text-decoration: none;	
}

#pagination a:hover {
	color: #000;
	text-decoration: underline;	
}

#pagination .wpv-filter-previous-link {
	float:left;	
}

#pagination .wpv-filter-next-link {
	float: right;	
}

/* -- Media Queries -- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
	#p-content,
	#s-content {
		width: 60.8%;	/*Seems to fix stuff for no apparent reason */
	}
	
	#drug-search {
		width: 100%;	
	}
	
	#drug-search form {
		width: 30%;	
	}
	
	#info ul#tabs li.current a,
	#info ul#tabs li.inactive a {
		width: 32%;	
	}
	
	#buttons li a:link,
	#buttons li a:active,
	#buttons li a:visited {
		font-size: 1em;	
	}
	
	#adanz img {
		display:none;	
	}
	
	#adanz {
		margin-right: 10px;	
	}
	
	.menu-header-container ul#menu-header {
		position:relative;
		left:0%;
	}
	
	.menu-header-container ul#menu-header li.menu-item-object-page,
	.menu-header-container ul#menu-header li.menu-item-object-custom {
		position:relative;
		right:0%;
	}
	
	.menu-header-container ul#menu-header li a {
		font-size: 0.8em;	
	}
}

@media all
and (device-width: 768px)
and (device-height: 1024px) 
and (orientation:landscape) {
	#adanz img {
		display:none;  
	}
	
	.menu-header-container ul li a {
		font-size: 1.15em !important;	
	}
	
	.menu-header-container ul#menu-header {
		position:relative;
		left:0%;
	}
	
	.menu-header-container ul#menu-header li.menu-item-object-page,
	.menu-header-container ul#menu-header li.menu-item-object-custom {	
		position:relative;
		right:0%;
	}
}

/* IE 6, 7, and 8 */
@media \0screen\,screen\9 {
     .menu-header-container ul#menu-header {
		position:relative;
		left:0%;
	}
	
	.menu-header-container ul#menu-header li.menu-item-object-page,
	.menu-header-container ul#menu-header li.menu-item-object-custom {	
		position:relative;
		right:0%;
	}
} 

/* IE 9 and 10 */
@media screen and (min-width:0\0) {  
    #stuff-box input[type="search"] {
        height: 21px;
    }
	
	.menu-header-container ul#menu-header {
		position:relative;
		left:0%;
	}
	
	.menu-header-container ul#menu-header li.menu-item-object-page,
	.menu-header-container ul#menu-header li.menu-item-object-custom {	
		position:relative;
		right:0%;
	}
}  

/*--------------------------------------------------------------
14.0 Directory
--------------------------------------------------------------*/

#se-content {
	width: 100%;
	padding: 2.02020202% 2.52525252%;
}

#dir-s,
#dir-as {
	background-color: #BEBEBE;
	display: block;	
}

#dir-s {
	height: 197px;
	margin-bottom: 18px;	
}

#dir-as {
	height: 273px;	
}

.search-white {
	width: 242px;
	position: absolute;
	display: block;
	background: #fff;
	margin-left: 16px;
	margin-top: 19px;
	border-radius: 3px;	
	padding: 13px 11px;
	box-shadow: 5px 4px 13px rgba(0,0,0,0.3);
}

#start-form form[name="searchForm"],
#adv-form form[name="advForm"] {
	width: 246px;
	margin-left: 324px;	
	position: absolute;
	margin-top: 19px;
}

#start-form select[name="areas"] {
	width: 100%;
	border-radius: 2px;
	margin-bottom: 70px;	
}

#adv-form select[name="areas"],
#adv-form select[name="types"],
#adv-form select[name="categories"],
#adv-form select[name="names"],
#DHB {
	width: 100%;
	border-radius: 2px;
	margin-bottom: 10px;
}

#DHB {
	height: 22px;
	background: #00b4ed;
	padding-left: 8px;
	color: #fff;	
}

#adv-form select[name="names"] {
	margin-bottom: 40px;	
}

#start-form input[name="dir-s-s"],
#start-form input[name="dir-s-r"],
#adv-form input[name="dir-a-s"],
#adv-form input[name="dir-a-r"] {
	border-color: #fff;
	box-shadow: none;
	color: #fff;
	text-shadow: none;
}

#start-form input[name="dir-s-s"],
#adv-form input[name="dir-a-s"] {
	background: #97c93d;
}

#start-form input[name="dir-s-r"],
#adv-form input[name="dir-a-r"] {
	background: #000;	
}

.search-service {
	width: 100%;
	border: 10px solid #CACAD9;	
	padding: 11px 16px;
	margin-bottom: 14px;
}

.search-service:hover {
	border: 10px solid #b1df5e;
	background: #fff;	
}

#start-here-icon h2 {
	margin-left: 33px;	
}

#start-here-icon img {
	position: absolute;	
}

.service-left {
	width: 550px;	
	float: left;
	display: block;
	margin-right: 30px;
}

.service-right {
	width: 308px;
	float: left;
	display: block;
	/*background: #fff;
	border-left: 2px solid #CACAD9;
	color: #000;*/
	background: #424252;
	color: #fff;
	border-radius: 3px;
	clear:right;
	margin-bottom: 11px;
	padding-left: 18px;
	padding-top: 15px;
}

.service-right td {
	word-break: break-all;
	word-break: break-word;
}

#main-info {
	width: 565px;
	float: left;
	margin-left: 15px;
	margin-right: 50px;
}

#main-info .info {
	border-bottom: 2px solid #C1C1C1;
	margin-bottom: 0.5em;	
}

.cost-box {
	width: 100px;
	float: left;
	margin-bottom: 10px;	
}

.cost-box img {
	padding-top: 1px;
	position: absolute;	
}

.cost-box p {
	margin-left: 24px;	
}

#contact-info {
	width: 300px;
	float: left;	
}

#contact-cont {
	width: 100%;
	border-top: 5px solid #72D5DE;
	border-bottom: 5px solid #72D5DE;
	padding: 20px 15px;
	background: url(images/contact-grad.png) no-repeat;	
}

#contact-cont table td img,
.service-right table td img {
	vertical-align: bottom;	
}

.service-right table td img {
	width: 23px;	
}

#contact-cont img {
	margin-right: 10px;	
}

#se-content h1 img {
	margin-left: -13px;
	margin-top: 6px;
	vertical-align:top;
}

#start-here-box {
	height: 50px;
	margin-bottom: 20px;	
}

#start-here-box img.start-left {
	float: left;
	margin-right: 20px;
}

/*-- Product Page -- */

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	width: 29.05%;
	float: none;
	display: inline-block;
	vertical-align: top;
}

.woocommerce #content div.product div.images img, .woocommerce div.product div.images img, .woocommerce-page #content div.product div.images img, .woocommerce-page div.product div.images img {
	width: auto;	
}

.woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images,
.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
	display: inline-block;
	vertical-align: top;	
}

.post-type-archive-product .woocommerce-breadcrumb {
	display: none;
}

#nochat {
    display: none;
}