/*
	Theme Name: Dental Sedation
	Theme URI: http://www.evolve.co.nz
	Description: Dental Sedation theme, based on EVOLVE eStandard template, based on Legacy from appfinite.com
	Author: Philip Allfrey for EVOLVE Marketing
	Author URI: http://www.evolve.co.nz

	Version: 1.3
	
	Template: genesis
	Template Version: 1.9.2

*/

/* Table of Contents

* Import Fonts (Customise if not Open Sans 400 weight)
* Defaults
* Hyperlinks
* Body
* Wrap
* Header
* Image Header - Partial Width
* Image Header - Full Width
* Navigation Constants
* Header / Primary / Secondary Navigation
* Primary Navigation Extras
* Inner
* Breadcrumb
* Home Bottom
* Portfolio
* Taxonomy Description
* Content-Sidebar Wrap
* Content
* Column Classes
* Featured Post Grid
* Headlines
* Ordered / Unordered Lists
* Post Info
* Post Meta
* Author Box
* Sticky Posts
* Archive Page
* Post Icons
* Images
* Post Navigation
* Primary / Secondary Sidebars
* Tag Cloud
* Dropdowns
* Featured Page / Post
* User Profile
* Buttons
* Message Boxes
* Search Form
* eNews & Updates Widget
* Calendar Widget
* Latest Tweets Widget
* Footer Widgets
* Back to Top button
* Footer
* Comments
* Gravity Forms
* Genesis Slider Plugin
* Pretty Photo Tweaks
* Gallery
* NZSSD Customisations
* Customisation (This is the main section for customisation)
* Responsive Design
*/


/* Import Fonts
------------------------------------------------------------ */

@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400);

/* Defaults
------------------------------------------------------------ */

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
select,
textarea {
	color: #000; /*PDA #333 */
	font-family: Verdana, sans-serif;
	font-size: 15px;/*PDA 16px*/
	font-weight: 300;
	line-height: 25px;
	margin: 0;
	padding: 0;
	text-decoration: none;
        word-wrap:break-word;/*PDA*/
}

b,
strong {
	font-weight: 600;
}

blockquote,
input,
select,
textarea,
.author-box,
.sticky,
.taxonomy-description,
.wp-caption {
	background-color: #f5f5f5;
	border: 1px solid #ddd;
}

input,
select {
	color: #333;
	font-family: Verdana, sans-serif;
	font-size: 0.875em;
	font-weight: 300;
}

.sidebar input,
.sidebar select {
	font-size: inherit;
}

li,
ol,
ul {
	margin: 0;
	padding: 0;
}

ol li {
	list-style-type: decimal;
}

/* Hyperlinks
------------------------------------------------------------ */

a,
a:visited {
	text-decoration: underline;
}

a:hover {
	text-decoration: underline;
}

a img {
	border: none;
}

.widget a{
 text-decoration:none;
 font-weight:bold;
}

.widget h2 a, .widget h4 a{
 font-weight:normal;
}

.widget a:after{
 content: ' \00bb';
}

.widget a[class="alignnone"]:after, .widget h2 a:after{
 content: '';
}


/* Body
------------------------------------------------------------ */

body {
	background-color: #f1f1f1;
	-webkit-font-smoothing: antialiased;
}

::-moz-selection {
	background-color: #0d72c7;
	color: #fff;
}

::selection {
	background-color: #0d72c7;
	color: #fff;
}


/* Wrap
------------------------------------------------------------ */

#wrap {
	background-color: transparent; /*PDA #fff*/;
	margin: 0 auto;
	padding: 0;
}


/* Header
------------------------------------------------------------ */

#header {
	margin: 0 auto;
    overflow: hidden;	
    width: 100%; /*PDA 960px;*/
    background:#fff no-repeat center top; /*PDA*/
}

#header .wrap {
    margin: 0 auto;
    width: 1000px;
}

#title-area {
	float: left;
	overflow: hidden;
        position:relative;
}

#title {
	font-size: 38px;
	line-height: 1.5;
	margin: 0;
}

#title a,
#title a:hover {
	color: #222;
	text-decoration: none;
}

#description {
    font-size: 14px;
    font-style: italic;
    line-height: 20px;
}

#header .widget-area {
	float: right;
	padding: 20px 0 0;
	width: 510px;
}

#header .widget {
	margin: 0 0 10px;
    overflow: hidden;	
}


/* Image Header - Partial Width
------------------------------------------------------------ */

.header-image #title,
.header-image #title a {
	display: block;
	float: left;
	overflow: hidden;
	padding: 0;
	position:absolute;
        top:0;
        height:100%;
}
.header-image #title {
	text-indent: 100%;
        white-space: nowrap;
}


.header-image #description {
	display: block;
	overflow: hidden;
}


/* Image Header - Full Width
------------------------------------------------------------ */

.header-full-width #title-area,
.header-full-width #title,
.header-full-width #title a {
	width: 100%;
}


/* Navigation Constants
------------------------------------------------------------ */

li:hover ul ul,
li.sfHover ul ul {
	left: -9999px;
}

li:hover,
li.sfHover {
	position: static;
}

li a .sf-sub-indicator {
	position: absolute;
	text-indent: -9999px;
}


/* Header / Primary / Secondary Navigation
------------------------------------------------------------ */

.menu {
	clear: both;
	color: #333;
	margin: 0 auto;
	overflow: hidden;
}

#header .menu { 
    float: right;
}

#header .menu a { 
	background: none;
    font-size: 13px;
    font-weight: bold;	
	padding: 0 15px;
}

#header .menu li a:active,
#header .menu li a:hover,
#header .menu .current_page_item a,
#header .menu .current-cat a,
#header .menu .current-menu-item a {
	color: #000;
}

#nav {
	background:#000; /*PDA removed gradient*/
	clear: both;
	color: #fff;
	margin: 0 auto;
	/*overflow: hidden; RESPONSIVE*/
	width: auto;
        border-top:solid 1px;
        border-bottom:solid 1px;
}

#nav .wrap {
	margin: 0 auto;
	width: 1000px;
}
	
.menu-primary { }

.menu-secondary { }

#subnav {
	background: #222;
}

#subnav .wrap {
	margin: 0 auto;
	width: 1000px;
}

.menu ul {
	float: left;
	width: 100%;
}

.menu li {
	float: left;
	list-style-type: none;
}

.sidebar .menu li,
#footer-widgets .menu li {
	float: none;
}

#nav .menu a, .breadcrumb {
	display: block;
	font-size: 13px;
        line-height:48px;
	padding: 0 20px;
	position: relative;
	text-decoration: none;
	font-weight:bold;
	font-family:Arial, Helvetica Neue, Nimbus Sans L, sans-serif;
}

.sidebar .menu a,
#footer-widgets .menu a {
	padding: 0;
}

#nav .menu a {
	color: #fff;	
}	


#nav li ul { }

#nav .menu li a:active,
#nav .menu li a:hover,
.menu .current_page_item a,
.menu .current-cat a,
.menu .current-menu-item a {  
    background: #000;
    color: #fff;
}

.sidebar .menu li a:active,
.sidebar .menu li a:hover,
.sidebar .menu .current_page_item a,
.sidebar .menu .current-cat a,
.sidebar .menu .current-menu-item a {  
	background: none;
    color: #000;
    text-decoration: underline;
}

#footer-widgets .menu li a:active,
#footer-widgets .menu li a:hover,
#footer-widgets .menu .current_page_item a,
#footer-widgets .menu .current-cat a,
#footer-widgets .menu .current-menu-item a  {  
	background: none;
    text-decoration: none;
}

#header .menu li a:active,
#header .menu li a:hover,
#header .menu .current_page_item a,
#header .menu .current-cat a,
#header .menu .current-menu-item a  { }

#header .menu li li a,
#header .menu li li a:link,
#header .menu li li a:visited {
	color: #333;
	font-size: 0.75em;
	padding: 5px 10px;
	position: relative;
	text-transform: none;
	width: 138px;
}

.menu li li a,
.menu li li a:link,
.menu li li a:visited {
	color: #333;
	font-size: 12px; /*PDA 0.75em;*/
	padding: 5px 10px;
	position: relative;
	text-transform: none;
	width: 138px;
}

.sidebar .menu li li a,
.sidebar .menu li li a:link,
.sidebar .menu li li a:visited {
	color: #fff;
	font-size: 0.75em;
	padding: 2px 10px;
	position: relative;
	text-transform: none;
	width: 138px;
}


#footer-widgets .menu li li a,
#footer-widgets .menu li li a:link,
#footer-widgets .menu li li a:visited {
	color: #fff;
	font-size: 0.75em;
	padding: 2px 10px;
	position: relative;
	text-transform: none;
	width: 138px;
}

#subnav .menu li li a,
#subnav .menu li li a:link,
#subnav .menu li li a:visited {
    font-size: 13px;
	width: 122px;
}

#subnav  .menu a {
    color: #fff;
    font-size: 13px;	
    padding: 3px 18px;
}


#header .menu li ul {
	background: #eee;
}

.menu li ul {
	background: #000;
	height: auto;
	left: -9999px;
	margin: 0;
	position: absolute;
	width: 159px;
	z-index: 9999;
}

#footer-widgets .menu li ul {
	background: #222;
}

.menu li ul a {
	width: 140px;
}

.menu li ul ul {
	margin: -35px 0 0 160px;
}

.sidebar .menu li ul ul {
	margin: -25px 0 0 160px;
}

#footer-widgets .menu li ul ul {
	margin: -26px 0 0 160px;
}

#subnav .menu li ul ul {
	margin: -31px 0 0 160px;
}

.menu li:hover ul ul,
.menu li.sfHover ul ul {
	left: -9999px;
}

.menu li:hover,
.menu li.sfHover {
	position: static;
}

ul.menu li:hover>ul,
ul.menu li.sfHover ul,
#header .menu li:hover>ul,
#header .menu li.sfHover ul {
	left: auto;
}

#header .menu li a.sf-with-ul {
    padding-right: 25px;
}

.menu li a.sf-with-ul {
	padding-right: 25px;
}

#header .menu li a .sf-sub-indicator,
#header .menu li li a .sf-sub-indicator,
#header .menu li li li a .sf-sub-indicator {
	background: url(images/header-arrow-down.png) no-repeat;
	height: 16px;
	position: absolute;
	right: 0px;
	text-indent: -9999px;
	top: 8px;
	width: 16px;
}

.menu li a .sf-sub-indicator,
.menu li li a .sf-sub-indicator,
.menu li li li a .sf-sub-indicator {
	background: url(images/arrow-down.png) no-repeat;
	height: 16px;
	position: absolute;
	right: 0;
	text-indent: -9999px;
	top: 18px;
	width: 16px;
}

.sub-menu .sf-with-ul .sf-sub-indicator {
	top: 12px;
}

#subnav .menu li a .sf-sub-indicator,
#subnav .menu li li a .sf-sub-indicator,
#subnav .menu li li li a .sf-sub-indicator {
	background: url(images/arrow-down.png) no-repeat;
	height: 16px;
	position: absolute;
	right: 0;
	text-indent: -9999px;
	top: 12px !important;
	width: 16px;
}

#wpadminbar li:hover ul ul {
	left: 0;
}


/* Primary Navigation Extras
------------------------------------------------------------ */

.menu li.right {
    color: #aaa;
    float: right;
    font-size: 0.875em;
    margin: 5px 0 0;
    padding: 5px 0 4px;
}

.menu li.right a {
	background: none;
	border: none;
	color: #333;
	display: inline;
	font-size: inherit;
	text-decoration: none;
}

.menu li.right a:hover {
	color: #000;
	text-decoration: none;
}

.menu li.search {
	padding: 0;
}

.menu li.rss a {
	background: url(images/rss.png) no-repeat center left;
	margin: 0 0 0 10px;
	padding: 0 0 0 16px;
}

.menu li.twitter a {
	background: url(images/twitter-nav.png) no-repeat center left;
	padding: 0 0 0 20px;
}


/* Inner
------------------------------------------------------------ */

#inner {
    margin: 0 auto; /*PDA 40px auto*/
    padding: 45px 30px 25px; /*PDA*/
    max-width: 940px; /*1000px, to account for extra padding PDA*/
    overflow: hidden;
    background-color: #fff; /*PDA*/
    -webkit-box-shadow:0 0 15px;
    box-shadow:0 0 15px;
}

.home #inner {
	margin: 0 auto;
}

#inner p {
	margin: 0 0 20px;
}


/* Breadcrumb
------------------------------------------------------------ */

.breadcrumb {
 display:none;
}

.breadcrumb a, .breadcrumb a:visited{
 color:#fff;
 text-decoration:none;
}

/* Home Bottom
------------------------------------------------------------ */
#home-bottom{
 display:none;/*PDA*/
}

#home-bottom {
	margin: 0 auto 0;
	padding: 40px 0 0;
	overflow: hidden;
}

#home-bottom .wrap {
	margin: 0 auto;
	width: 1000px;
}
	
#home-bottom a,
#home-bottom a:visited {
	text-decoration: none;
}
	
#home-bottom a:hover {
	text-decoration: underline;
}
	
#home-bottom p {
	margin: 0;
	padding: 0 0 10px;
}
	
#home-bottom h2,
#home-bottom h2 a,
#home-bottom h2 a:visited {
	color: #222;
    font-size: 20px;
    font-weight: normal;
    line-height: 28px;
	margin: 0 0 5px;
	padding: 0;
	text-decoration: none;
}

#home-bottom h2 a:hover {
	color: #888;
	text-decoration: none;
}
	
#home-bottom h4 {
	color: #222;
	font-size: 18px;
	margin: 15px 0 10px;
	padding: 0;
}
	
#home-bottom ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
	
#home-bottom ul li {
	list-style-type: none;
	margin: 0 0 5px;
	padding: 0 0 5px;
}

#home-bottom ul ul {
	list-style-type: none;
	margin: 0;
	padding: 0 0 10px;
}

#home-bottom ul li ul li {
	margin: 0;
	padding: 5px 0 0;
}
	
#home-bottom .widget {
	margin: 0;
	padding: 0;
}
	
#home-bottom .textwidget {
	margin: 0;
	padding: 0;
}
	
#home-bottom .featuredpost .post,
#home-bottom .featuredpage .page {
	clear: both;
}
	
#home-bottom .featuredpost,
#home-bottom .featuredpage {
	clear: both;
}
	
#home-bottom .featuredpost img,
#home-bottom .featuredpage img {
    background: #eee;
    border: 1px solid #bbb;
    margin: 0 0 10px;	
    padding: 4px;
}
	
#home-bottom .user-profile .avatar {
	background: #fff;
	border: 4px solid #eee;
	margin: 0 0 -5px;
	padding: 1px;
}

.home-bottom-1,
.home-bottom-2 {
	float: left;
	margin: 0 30px 0 0;
	width: 300px;
}

.home-bottom-3 {
	float: right;
	width: 300px;
}	


/* Home Bottom Message
------------------------------------------------------------ */

.home-bottom-message {
    border-top: 1px solid #eee;
    clear: both;
	color: #666;
	line-height: 30px;
    margin: 0;
    padding: 40px 0 0;	
}


/* Portfolio
------------------------------------------------------------ */

#content .portfolio {
    float: left;
    margin: 0 20px 40px 0 !important;
    overflow: hidden;
    width: 220px;
}
	
.page-template-pageportfolio-php #content .portfolio p {
	margin: 0;
	padding: 0;
}
	
#content .portfolio .entry-title a{
	font-size: 18px;
	line-height: 26px;
	margin: 0;
}

#content .portfolio .more-link {
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
	background: url(images/button.png) repeat-x;
	border: 1px solid #000;
	color: #fff;
	display: block;
    font-size: 14px;	
	padding: 2px 0 3px;
    margin-top: 15px;
	text-align: center;
	text-decoration: none;
    text-shadow: 1px 1px #555;	
	width: 100px;
}
	
#content .portfolio .more-link:hover {
	background: #000;
}


/* Taxonomy Description
------------------------------------------------------------ */

.taxonomy-description {
	background-color: #fff;
	margin: -10px 0 30px;
}

.taxonomy-description p {
	font-size: 0.875em;
	line-height: 1.5em;
	padding: 15px;
}


/* Content-Sidebar Wrap
------------------------------------------------------------ */

#content-sidebar-wrap {
	float: left;
	width: 750px;
}

.content-sidebar #content-sidebar-wrap,
.full-width-content #content-sidebar-wrap,
.sidebar-content #content-sidebar-wrap {
	width: 100%;
}

.sidebar-content-sidebar #content-sidebar-wrap,
.sidebar-sidebar-content #content-sidebar-wrap {
	float: right;
}


/* Content
------------------------------------------------------------ */

#content {
	float: left;
	width: 410px;
        text-align:justify;
        -webkit-hyphens: none;
        -moz-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: none;
}

.home #content {
	padding: 0; /*40px 0 0 PDA */
}

.content-sidebar #content,
.sidebar-content #content {
	width: 663px;
}

.sidebar-content #content,
.sidebar-sidebar-content #content {
	float: right;
}

.full-width-content #content {
	width: 1000px;
}

.post {
	margin: 0 0 50px;
}

.entry-content {
	overflow: hidden;
}

.entry-content h1{
	font-weight: 400;
}

.entry-content p {
	margin: 0 0 20px;
}

#inner .entry-content p:last-child{
	margin: 0;
}

blockquote {
    border: 1px solid #e6e6e6;
    margin: 5px 5px 20px;
    padding: 20px;
}

blockquote p {
	color: #333;
	font-style: italic;
}

.quote {
	padding: 0 0 10px 60px;
	line-height: 24px;
	background: url(images/quote.png) no-repeat top left;
	color: #888;
}

.quote strong {
    color: #333;    
}

code {
	background: #f5f5f5;
	font-size: 12px;
	overflow: auto;
}

pre {
	background: #f5f5f5;
	border: 1px solid #ddd;
	display: block;
	font-size: 12px;
	margin: 0 10px 20px 10px;
	overflow: auto;
	padding: 10px;
}

p.subscribe-to-comments {
	padding: 20px 0 10px;
}

.clear {
	clear: both;
}

.clear-line {
	border-bottom: 1px solid #ddd;
	clear: both;
	margin: 0 0 25px;
}

.clear-space {
	clear: both;
	margin: 0 0 25px;
}


/* Column Classes
------------------------------------------------------------ */

.five-sixths,
.four-fifths,
.four-sixths,
.one-fifth,
.one-fourth,
.one-half,
.one-sixth,
.one-third,
.three-fifths,
.three-fourths,
.three-sixths,
.two-fifths,
.two-fourths,
.two-sixths,
.two-thirds {
	float: left;
	margin: 0 0 20px;
	padding-left: 3%;
}

.one-half,
.three-sixths,
.two-fourths {
	width: 48%;
}

.one-third,
.two-sixths {
	width: 31%;
}

.four-sixths,
.two-thirds {
	width: 65%;
}

.one-fourth {
	width: 22.5%;
}

.three-fourths {
	width: 73.5%;
}

.one-fifth {
	width: 17.4%;
}

.two-fifths {
	width: 37.8%;
}

.three-fifths {
	width: 58.2%;
}

.four-fifths {
	width: 78.6%;
}

.one-sixth {
	width: 14%;
}

.five-sixths {
	width: 82%;
}

.first {
	clear: both;
	padding-left: 0;
}


/* Featured Post Grid
------------------------------------------------------------ */

.genesis-grid-even,
.genesis-grid-odd {
	margin: 0 0 20px;
	padding: 0 0 15px;
	width: 48%;
}

.genesis-grid-even {
	float: right;
}

.genesis-grid-odd {
	clear: both;
	float: left;
}


/* Headlines
------------------------------------------------------------ */

h1,
h2,
h3,
h4,
h5,
h6 {
	color: #222;
	line-height: 1.25em;
	margin: 48px 0 10px;
	font-weight: 600;
}

h1 {
	font-size: 2em; /*PDA 1.875em;*/
}

h1.entry-title,
h2.entry-title  {
	margin: 0 0 10px;
}

.taxonomy-description h1 {
	margin: 0;
}

h2 {
	font-size: 1.75em;
}

.widget-area h2,
.widget-area h2 a {
	font-size: 16px;
	line-height: 24px;
	margin: 0 0 5px;
}

h2 a,
h2 a:visited {
	color: #222;
	font-size: inherit;
	line-height: inherit;
}

h2 a:hover {
	color: #666;
	text-decoration: none;
}

h3 {
	font-size: 1.5em;
}

h4 {
	font-size: 1.25em;
}

.taxonomy-description h1,
.widget-area h4 {
	border-bottom: 1px solid #ddd;
    font-size: 18px;
    line-height: 26px;
	padding: 0 0 10px;
}

.widget-area h4 {
	border-bottom: none;
	margin: 0 0 5px;
}

.widget-area h4 a {
	color: #333;
	text-decoration: none;
}

#footer-widgets h4 {
	background: none;
    border-bottom: 1px solid #444;
	color: #fff;
    font-size: 18px;
    line-height: 26px;
    margin: -6px 0 10px;
    padding: 0 0 10px;
}

h5 {
	font-size: 1.125em;
}

h6 {
	font-size: 1.0em;
}


/* Ordered / Unordered Lists
------------------------------------------------------------ */

.entry-content ol,
.entry-content ul {
	margin: 0;
	padding: 0 0 25px;
}

.archive-page ul li,
.entry-content ul li {
	list-style-type: disc;
	margin: 0 0 0 30px;
	padding: 0;
}

.entry-content ol li {
	margin: 0 0 0 35px;
}

.archive-page ul ul,
.entry-content ol ol,
.entry-content ul ul {
	padding: 0;
}


/* Post Info
------------------------------------------------------------ */

.post-info {
    border-bottom: 1px solid #e6e6e6;
	font-size: 12px;
    margin: 15px 0;
    padding-bottom: 5px;
    text-transform: uppercase;	
}

.sidebar .post-info,
#footer-widgets .post-info {
	font-size: 11px;
	margin: 8px 0;
}


/* Post Meta
------------------------------------------------------------ */

.post-meta {
    border-top: 3px solid #666;
	clear: both;
	font-size: 12px;
    margin-bottom: 20px;	
	padding: 5px 0 0;
}


/* Author Box
------------------------------------------------------------ */

.author-box {
	background-color: #f5f5f5;	
	margin: 0 0 40px;
	overflow: hidden;
	padding: 10px;
}

.author-box strong {
    font-size: 16px;	
    font-weight: bold;
}

.author-box p {
	font-size: 0.875em;
	line-height: 1.5em;
}


/* Sticky Posts
------------------------------------------------------------ */

.sticky {
	background-color: #f5f5f5;
	margin: -10px 0 40px;
	padding: 20px;
}


/* Archive Page
------------------------------------------------------------ */

.archive-page {
	float: left;
	padding: 20px 0 0;
	width: 45%;
}


/* Post Icons
------------------------------------------------------------ */

.post-comments,
.tags {
	background: url(images/icon-dot.png) no-repeat left;
	margin: 0 0 0 3px;
	padding: 0 0 0 10px;
}


/* Images
------------------------------------------------------------ */

img {
	height: auto;
	max-width: 100%;
}

.avatar,
.featuredpage img,
.featuredpost img,
.post-image {
	background-color: #f5f5f5;
	border: 1px solid #ddd;
	padding: 4px;
}

.author-box .avatar {
	background-color: #fff;
	float: left;
	margin: 0 10px 0 0;
}

.post-image {
	margin: 0 10px 10px 0;
	padding: 0;
}

.comment-list li .avatar {
	background-color: #fff;
	float: right;
	margin: 0 5px 0 10px;
}

img.centered,
.aligncenter {
	display: block;
	margin: 0 auto 10px;
}

img.alignnone {
	display: inline;
	margin: 0 0 10px;
}

img.alignleft {
	display: inline;
	margin: 0 10px 10px 0;
}

img.alignright {
	display: inline;
	margin: 0 0 10px 15px;
}

.alignleft {
	float: left;
	margin: 0 15px 10px 0;
}

.alignright {
	float: right;
	margin: 0 0 10px 15px;
}

.wp-caption {
	padding: 5px;
	text-align: center;
}

p.wp-caption-text {
	font-size: 0.875em;
	line-height: 1.5em;
	padding: 5px 0;
}

.wp-smiley,
.wp-wink {
	border: none;
	float: none;
}

.gallery-caption {
}


/* Post Navigation
------------------------------------------------------------ */

.navigation {
	font-size: 0.875em;
	line-height: 1.5em;
	overflow: hidden;
	padding: 20px 0;
	width: 100%;
}

.navigation li {
	display: inline;
}

.navigation li a,
.navigation li.disabled,
.navigation li a:hover,
.navigation li.active a {
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
	background: #f5f5f5;
	border: 1px solid #ccc;
	padding: 5px 8px;
}

.navigation li a:hover,
.navigation li.active a {
	background-color: #444;
	border: 1px solid #000;
	color: #fff;
}


/* Primary / Secondary Sidebars
------------------------------------------------------------ */

.sidebar {
	display: inline;
	float: right;
	font-size: 0.875em;
	line-height: 2em;
	width: 232px;
}

.home .sidebar {
	padding: 0; /*40px 0 0 PDA */
}

#sidebar-alt {
	float: left;
	width: 150px;
}

.sidebar-content #sidebar,
.sidebar-sidebar-content #sidebar {
	float: left;
}

.content-sidebar-sidebar #sidebar-alt {
	float: right;
}

.sidebar p {
	font-size: inherit;
	line-height: inherit;
}

.sidebar .widget {
	margin: 0 0 15px;
	padding: 0 0 15px;
	/*background: url(images/cta-shadow.png) center bottom no-repeat*/
}

.widget-area .textwidget {
	padding: 0 0; /*PDA 5px 0 0*/
}

.sidebar .widget-area ol,
.sidebar .widget-area ul {
	padding: 5px 0 0;
}

.sidebar.widget-area ul li {
	list-style-type: none;
	margin: 0;
	padding: 0 0 5px;
	word-wrap: break-word;
}

#footer-widgets .widget-area ul li {
	list-style-type: none;
	margin: 0;
	padding: 0 0 5px;
	word-wrap: break-word;
}

.sidebar .widget-area ul ul li,
.footer-widgets .widget-area ul ul li {
	border: none;
	margin: 0;
}


/* Tag Cloud
------------------------------------------------------------ */

.widget_tag_cloud div div {
	padding: 5px 15px 0;
}


/* Dropdowns
------------------------------------------------------------ */

.widget_archive select,
#cat {
	display: inline;
	margin: 10px 15px 0 0;
	padding: 3px;
	width: 98%;
}


/* Featured Page / Post (including EVOLVE widgets)
------------------------------------------------------------ */
.sidebar.widget-area .widgettitle{
 text-align:center;
 font-weight:normal;
 padding:18px 0;
 margin:0;
 border-bottom:solid 3px
}

.sidebar.widget-area .widget-wrap{
 border:solid 1px;
 border-radius:6px;
 overflow:hidden;
 margin:0;
 padding:0;
}

.sidebar.widget-area p{
 padding:15px 15px;
}

.featuredpage,
.featuredpost {
	clear: both;
	margin: 0 0 15px;
	overflow: hidden;
}

.featuredpage .page,
.featuredpost .post {
/*    margin: 0; /*0 0 30px PDA
    overflow: hidden;
    padding: 0;
    background-color: #f5f5f5; /*PDA
    border: 1px solid #ddd; /*PDA*/
}

.featuredpage .page img,
.featuredpost .post img {
	margin: 0 0 10px;
	width: 100%;
	background-color: transparent;
	border: none;
	padding: 0;
}

#sidebar .featuredpage .page > p:last-child,
#sidebar .featuredpost .post > p:last-child {
 margin-bottom:0;
}

.sidebar .featuredpage .page img,
.sidebar .featuredpost .post img {
	margin: 0 0 -7px; /*0 0 15px PDA */
	width: 100%; /*96% PDA*/
}

#footer-widgets .featuredpage .page,
#footer-widgets .featuredpost .post {
	margin: 0 0 10px;
	padding: 0;
}

.more-from-category {
	padding: 5px 15px 0;
}

.featuredpage .rounded{
 border-radius:6px;
}


/* User Profile
------------------------------------------------------------ */

.user-profile {
	overflow: hidden;
}

.user-profile p {
	padding: 10px 15px 0;
}

.user-profile .posts_link {
	padding: 0 15px;
}


/* Buttons
------------------------------------------------------------ */

input[type="button"],
input[type="submit"] {
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	background-color: #222;	
	background-image: url(images/button.png);
	background-repeat: repeat-x;
	border: 1px solid #000;
	color: #fff;
	cursor: pointer;
	font-size: 13px;	
	font-weight: normal;	
	line-height: 19px;
	padding: 6px 12px 5px;
	text-decoration: none;	
    text-shadow: 1px 1px #000;	
}

.sidebar input[type="button"],
.sidebar input[type="submit"] {
	font-size: inherit;
}

input:hover[type="button"],
input:hover[type="submit"] {
	background: #000;
}

a.button {
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    box-shadow: 0 1px 1px #eee;
    -moz-box-shadow: 0 1px 1px #eee;
    -webkit-box-shadow: 0 1px 1px #eee;
    display: inline-block;

    font-size: 13px;
    font-weight: normal;	
    line-height: 13px;
    margin: 0 5px 10px;
    padding: 8px 14px;
    text-decoration: none;
    text-shadow: 1px 1px #444;	
    text-transform: uppercase;	
}

a.button:hover {
	opacity: .8;
	-moz-transition:all .5s ease;	
	-o-transition:all .5s ease;	
	-webkit-transition:all .5s ease;
	transition:all .5s ease;
    text-shadow: 1px 1px #000;		
}

a.button.small {
	background-image: url(images/button-small-bg.png);
	font-family: Verdana,sans-serif;
    font-size: 13px;
    font-weight: bold;	
    line-height: 13px;
    padding: 10px 12px;
}

a.button.medium {
	background-image: url(images/button-medium-bg.png);
    font-size: 18px;
    line-height: 18px;
    padding: 12px 20px;
}

a.button.large {
	background-image: url(images/button-large-bg.png);
    font-size: 24px;
    line-height: 24px;
    padding: 16px 32px;
}

a.button.black {
	color: #fff !important;
	background-color: #000;
	border: 1px solid #000;
}

a.button.blue {
	color: #fff !important;
	background-color: #274d70;
	border: 1px solid #274d70;
}

a.button.green {
	color: #fff !important;
	background-color: #3d5302;
	border: 1px solid #3d5302;
}

a.button.orange {
	color: #fff !important;
	background-color: #b94f00;
	border: 1px solid #b94f00;
}

a.button.purple {
	color: #fff !important;
	background-color: #770777;
	border: 1px solid #770777;
}


a.button.red {
	color: #fff !important;
	background-color: #770000;
	border: 1px solid #a90505;
}

a.button.silver {
	color: #fff !important;
	background-color: #888;
	border: 1px solid #888;
}


.big_button_right {
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    background: #333;
    border: 1px solid #222;
    color: #fff !important;
    display: inline-block;
    float: right;
    margin-left: 20px;
    margin-right: 4px;	
    padding: 8px 10px;
    position: relative;
    text-decoration: none;
    text-shadow: 1px 1px #444;	
}


/* Message Boxes
------------------------------------------------------------ */

.download-box {
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
    box-shadow: 0 2px 2px 0 #ddd;	
    -moz-box-shadow: 0 2px 2px 0 #ddd;	
    -webkit-box-shadow: 0 2px 2px 0 #ddd;	
	background: #d9eca5 url(images/download-arrow.png) no-repeat 10px 15px;
	border: 1px solid #c0d192;
    color: #3d5302;
	margin: 0 2px 20px;
	padding: 20px 15px 20px 55px;
    text-shadow: 1px 1px #fff;	
}	

.info-box {
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
    box-shadow: 0 2px 2px 0 #ddd;	
    -moz-box-shadow: 0 2px 2px 0 #ddd;	
    -webkit-box-shadow: 0 2px 2px 0 #ddd;	
	background: #cae0ec url(images/info-button.png) no-repeat 10px 15px;
	border: 1px solid #aec3ce;
    color: #08557e;
	margin: 0 2px 20px;
	padding: 20px 15px 20px 55px;
    text-shadow: 1px 1px #fff;	
}	

.alert-box {
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
    box-shadow: 0 2px 2px 0 #ddd;	
    -moz-box-shadow: 0 2px 2px 0 #ddd;	
    -webkit-box-shadow: 0 2px 2px 0 #ddd;	
	background: #ffadb9 url(images/alert-button.png) no-repeat 10px 15px;
	border: 1px solid #e8929f;
    color: #c8001c;
	margin: 0 2px 20px;
	padding: 20px 15px 20px 55px;
    text-shadow: 1px 1px #eee;	
}	

.note-box {
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
    box-shadow: 0 2px 2px 0 #ddd;	
    -moz-box-shadow: 0 2px 2px 0 #ddd;	
    -webkit-box-shadow: 0 2px 2px 0 #ddd;	
	background: #ffec97 url(images/note-button.png) no-repeat 10px 15px;
	border: 1px solid #ded5af;
    color: #776827;
	margin: 0 2px 20px;
	padding: 20px 15px 20px 55px;
    text-shadow: 1px 1px #eee;	
}	


/* Search Form
------------------------------------------------------------ */

#header .searchform {
	float: right;
	padding: 12px 0 0;
}

.sidebar .searchform {
	padding: 5px 0 0 0;
}

.s {
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	box-shadow: inset 0 1px 1px 1px #eee;	
	-moz-box-shadow: inset 0 1px 1px 1px #eee;	
	-webkit-box-shadow: inset 0 1px 1px 1px #eee;	
    background: #fff;
    margin: 10px 0 0;
    padding: 6px 5px 7px 12px;
	width: 170px;
}

#nav .s {
	box-shadow: inset 0 1px 1px 1px #eee;	
	-moz-box-shadow: inset 0 1px 1px 1px #eee;	
	-webkit-box-shadow: inset 0 1px 1px 1px #eee;	
	background-color: #fff;
	font-size: 13px;	
	margin: 2px 2px 0 0;
}


/* eNews and Update Widget
------------------------------------------------------------ */

.enews p {
	padding: 5px 15px;
}

.enews #subscribe {
	padding: 0;
}

.enews #subbox {
	margin: 5px 0 0;
	padding: 6px 5px;
	width: 75%;
}


/* Calendar Widget
------------------------------------------------------------ */

#wp-calendar {
	width: 100%;
}

#wp-calendar caption {
	font-size: 0.75em;
	font-style: italic;
	padding: 2px 5px 0 0;
	text-align: right;
}

#wp-calendar thead {
	background-color: #f5f5f5;
	font-weight: bold;
	margin: 10px 0 0;
}

#wp-calendar td {
	background-color: #f5f5f5;
	padding: 2px;
	text-align: center;
}


/* Latest Tweets Widget
------------------------------------------------------------ */

.latest-tweets ul {
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	box-shadow: 0 1px 4px #aaa;
	-moz-box-shadow: 0 1px 4px #aaa;
	-webkit-box-shadow: 0 1px 4px #aaa;
	background: #222;
	color: #fff;
	margin: 3px;
	padding: 0 12px !important;
}

.latest-tweets ul li {
	border-bottom: 1px solid #555;
	margin: 0 0 10px !important;
	padding: 10px 10px 20px !important;
}

.latest-tweets ul li:last-child {
	border: none;
}

.latest-tweets .widgettitle {
	background: url(images/twitter-bird.png) no-repeat left;
	border: none;
	padding: 0 0 5px 40px;
	margin: 0 0 10px;
}

.latest-tweets ul li a {
	color: #fff;
	font-weight: bold;
	text-decoration: underline;
}

#footer-widgets .latest-tweets ul {
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	background: none;
	color: inherit;
	margin: 3px;
	padding: 0 !important;
}

#footer-widgets .latest-tweets ul li {
	padding: 0 0 20px !important;
}

#footer-widgets .latest-tweets .widgettitle {
	background: url(images/twitter-bird.png) no-repeat left;
	border: none;
	padding: 0 0 5px 40px;
	margin: 0 0 10px;
}

/* Footer Widgets
------------------------------------------------------------ */

#footer-widgets {
    border-bottom: 1px solid;				
	clear: both;
	color: #eee;
    font-size: 14px;
    line-height: 22px;
	margin: 0 auto;
	overflow: hidden;
	padding: 25px 0;
}

#footer-widgets .wrap {
	margin: 0 auto;
	width: 1000px;
}

#footer-widgets .widget {
	background: none;
	border: none;
	margin: 0 0 15px;
	padding: 0;
}

#footer-widgets .textwidget {
	padding: 0;
}

#footer-widgets .widget_tag_cloud div div {
	padding: 0;
}

#footer-widgets p {
    color: inherit;
	font-size: inherit;
	line-height: inherit;
	padding: 0 0 10px;
}

#footer-widgets a {
}	

#footer-widgets ul {
	margin: 0;
}

#footer-widgets ul li {
	margin: 0 0 0 20px;
}

#footer-widgets #wp-calendar thead,
#footer-widgets #wp-calendar td {
	background: none;
}

.footer-widgets-1 {
    float: left;
    padding: 0 0 0 35px;
    width: 407px;
}

.footer-widgets-2 {
    float: left;
    padding: 0 0 0 35px;
    width: 407px;
}

.footer-widgets-3 {
    float: left;
    padding: 0 20px 0 0;
    width: 200px;
}

.footer-widgets-4 {
    float: right;
    width: 300px;
}

/* Back to Top button
------------------------------------------------------------ */
.gototop{
 height:68px;
 background:#181818 url('images/top-arrow.png') no-repeat center 15px;
 position:relative;

 margin:0;
 width:68px;
 float:left;
 border:solid 1px;
 border-top-color:#999;
 border-right-color:#999;
 border-bottom-color:#000;
 border-left-color:#000;

}

#footer-widgets .gototop p{
 padding:35px 0 15px 0;
 text-align:center;
 text-transform:uppercase;
 font-size:18px;
}

.gototop a, .gototop a:hover, .gototop a:visited{
 text-decoration:none;
 font-weight:bold;
 color:#fff;
}

/* Footer
------------------------------------------------------------ */

#footer {
    background: #333;
    border-top: 1px solid #191919;	
    clear: both;
    color: #666;	
    font-size: 12px;
    margin: auto;
    overflow: hidden;
    padding: 12px 0;
}

#footer .wrap {
	margin: 0 auto;
	width: 1000px;
}

#footer p {
    color: #aaa;
	font-size: 10px;/*PDA 12px*/
}

#footer a,
#footer a:visited {
	color: #fff;
	text-decoration:none;
}

#footer a:hover {
	color: #666;
	text-decoration: none;
}

#footer .gototop {
	float: left;
	width: 200px;
}

#footer .creds {
 text-align:left;
}


/* Comments
------------------------------------------------------------ */

#comments,
#respond {
	margin: 0 0 15px;
	overflow: hidden;
}

#author,
#comment,
#email,
#url {
	margin: 10px 5px 0 0;
	padding: 5px;
	width: 250px;
}

#comment {
	height: 150px;
	margin: 10px 0;
	width: 98%;
}

.ping-list {
	margin: 0 0 40px;
}

.comment-list ol,
.ping-list ol {
	padding: 10px;
}

.comment-list li,
.ping-list li {
	font-weight: bold;
	list-style-type: none;
	margin: 15px 0 5px;
	padding: 10px 5px 10px 10px;
}

.comment-list li ul li {
	background: #eaeaea;
	list-style-type: none;
	margin-left: 10px;
	margin-right: -6px;
}

.comment-content p {
	font-size: 0.875em;
	line-height: 1.5em;
	padding: 0 0 20px;
}

.comment-list cite,
.ping-list cite {
	font-style: normal;
}

.commentmetadata {
	font-size: 0.75em;
	margin: 0 0 5px;
}

.reply {
	font-size: 0.875em;
	font-weight: 300;
	line-height: 1.5em;
}

.nocomments {
	text-align: center;
}

#comments .navigation {
	display: block;
}

.bypostauthor {
}

.thread-alt,
.thread-even {
	background-color: #f7f7f7;
}

.alt,
.depth-1,
.even {
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border: 1px solid #ccc;
}


/* Gravity Forms
------------------------------------------------------------ */

div.gform_wrapper input,
div.gform_wrapper select,
div.gform_wrapper textarea {
	box-sizing: border-box;
	color: #333;
	font-family: Verdana, sans-serif;
	font-size: 0.875em !important;
	padding: 4px 5px !important;
}

div.gform_footer input.button {
	color: #fff;
	padding: 4px 14px !important;
}

div.gform_wrapper .ginput_complex label {
	font-size: 0.875em;
}

div.gform_wrapper li,
div.gform_wrapper form li {
	margin: 0 0 10px;
}

div.gform_wrapper .gform_footer {
	border: none;
	margin: 0;
	padding: 0;
}


/* Genesis Slider Plugin
------------------------------------------------------------ */

.slider-wrap {
	background: #000;            /* PDA removed gradient */
	border-bottom: 1px solid;	
}

.slider-inner {
    /*background-image: url(images/slide-shadow.png);
    background-position: center bottom;
    background-repeat: no-repeat;
    padding: 0 0 1px !important; */
    margin: 0 auto;
    width: 1000px;	
}

#genesis-responsive-slider {
	background: none !important;
	border: none !important;
	margin: 0 auto;
	padding: 0 !important;
	position: relative;
}

#genesis-responsive-slider .flex-control-nav{
	top:-50px;
	margin-bottom:-50px;
}

/*PDA changes resulting from reduced image size */
#genesis-responsive-slider .flex-direction-nav li a {
	width: 36px;
	height: 36px;
	margin: -20px 0 0;
	background: url(images/bg_direction_nav.png) no-repeat 0 0;
}

#genesis-responsive-slider .flex-direction-nav li .next {
	background-position: -36px 0;
	right: -60px;
}

#genesis-responsive-slider .flex-direction-nav li .next:hover {
	background-position: -36px -34px;
}

#genesis-responsive-slider .flex-direction-nav li .prev:hover {
	background-position: 0 -34px;
}
 
.flex-direction-nav li .prev {
	left: 0 !important;
}

.flex-direction-nav li .next {
	right: 0 !important;
}

#genesis-slider {
    background-color: #fff !important;
    border: medium none !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.slider-previous, .slider-previous:hover {
	margin-left: 10px !important;
}

.slider-next, .slider-next:hover {
	margin-right: 10px !important;
}

/* Pretty Photo Tweaks
------------------------------------------------------------ */

p.currentTextHolder{
 line-height:15px;
}

/* Gallery
------------------------------------------------------------ */

.gallery {
 margin: auto;
}
.gallery .gallery-item {
 float: left;
 margin-top: 10px;
 text-align: center;
}

.gallery img {
 border: 2px solid #cfcfcf;
}

.gallery .gallery-caption {
 margin-left: 0;
}

.gallery-columns-0 .gallery-item { width: 100%; }
.gallery-columns-1 .gallery-item { width: 100%; }
.gallery-columns-2 .gallery-item { width: 50%; }
.gallery-columns-3 .gallery-item { width: 33.33%; }
.gallery-columns-4 .gallery-item { width: 25%; }
.gallery-columns-5 .gallery-item { width: 20%; }
.gallery-columns-6 .gallery-item { width: 16.66%; }
.gallery-columns-7 .gallery-item { width: 14.28%; }
.gallery-columns-8 .gallery-item { width: 12.5%; }
.gallery-columns-9 .gallery-item { width: 11.11%; }
.gallery-columns-10 .gallery-item { width: 10%; }

/* Testimonials Widget
------------------------------------------------------------ */
.widget.Testimonials_Widget_Widget .widget-wrap{
 background:#222;
 color:#000;
}

.widget.Testimonials_Widget_Widget .entry{
 padding:15px;
}

.Testimonials_Widget_Widget h4{
 color:#fff;
}

/* NZSSD Customisations
------------------------------------------------------------ */
#header .widget-area{
 position: relative;
 top: -120px;
 margin-bottom: -50px;
 margin-right:30px;
 padding:0;
}

.widget .menu{
 padding:10px;
}

.full-width-content #content {
 width: 940px;
}

.avatar-14{
 display:none;
}

input[type="button"][id*="qt"]{
 text-shadow:none;
}

.society-members dt{
 float: left;
 width: 10em;
 clear: left;
 text-align: left;
}

.society-members dd{
 margin-left:12em;
}

.society-members .last-field{
 margin-bottom:1.5em;
}

.loginout{
 float:right;
}

.loginout{
 color:#fff;
}

a.loginout:after{
 content:'';
}

.bbp-user-edit-link{
 display:none;
}

.bbp-user-subscriptions > h2:first-child{
 display:none;
}

.bbp-user-subscriptions > h2:first-child + .bbp-user-section{
 display:none;
}

.ninja-forms-field-description p{
 font-size:85%;
 font-style:italic;
 color:#999;
}
@media only screen and (max-width: 400px){
 .society-members dt{
  float:none;
  width:auto;
 }
 .society-members dd{
  margin-left:40px;
 }
}

@media only screen and (max-width: 1000px){
 .sidebar .widget .menu li {
  display: block;
 }
}


/* Customisation
------------------------------------------------------------ */
/** Masthead */
#header{
 background-color:#006699; /* Full-width background colour; to use an image instead, go to Appearance > Header */
 background-image:none;
 /* 5000px masthead image, use syntax background-image:url(http://mysite.co.nz/path/to/image.jpg); */
}

.header-image #title a{
  width: 100%; /* Width of image to link to homepage; 100% if only one masthead image; width in px / 10 otherwise */
}

/** Navigation Bar */
#nav, #nav .menu.menu-primary {
 background-color:#424950; /* Nav bar background colour */
}

#nav, #nav .menu.menu-primary > li a{
 border-top-color:#666;    /*Light rule at top of nav bar */
 border-right-color:#666;  /*Light rule between elements */
 border-bottom-color:#000; /*Dark rule at top of nav bar */
 border-left-color:#000;   /*Dark rule between elements */
}

#nav .menu.menu-primary > li:first-child, #nav .menu.menu-primary > li:last-child {
 border-left-color:#666;   /*Light rule before first menu element */
 border-right-color:#000;  /*Dark rule after last menu element */
}
#nav .menu a{
 color:#fff;        /* Text colour */
}

#nav ul.menu li.current-menu-item > a, #nav ul.menu > li.current-menu-parent > a {
 background-color:#333;  /* Background colour for current menu item */
 color:#fff;             /* Text colour for current menu item */
}

/** Slider */
.slider-wrap {
 background-color:#000;    /* Background colour for Slider region */
 border-bottom-color:#666; /* Rule below slider */	
}

/** Background */
/*NB Set background colour/image for the page (outside the content area) under Appearances > Background */
#inner{
 background-color:#fff;    /* Background for content area */
}

/** Fonts */
body,p,select,textarea {
	font-family: Verdana, sans-serif;    /* Font for body content */
}

#title, #content .portfolio .more-link, h1, h2, h3, h4, h5, h6, a.button, .big_button_right {
 font-family: Open Sans, sans-serif; /* Font for headings */
}

/** Link colours */
a{
 color:#006699; /* Link colour; default blue is #0000ff */
}

a:visited{
 color:#800080; /* Visited link colour; default purple is #800080 */
}

a:hover {
 color:#ff0000; /* Link hover colour; default red is #ff0000 */
}

/** Calls to action */
.sidebar.widget-area .widgettitle a, .sidebar.widget-area .widgettitle{
 color:#fff;    /* Headline text colour */
}

.sidebar.widget-area .widgettitle{
 background-color:#006699;          /* Headline background colour */
 border-bottom-color:#006699;       /* Headline rule colour */
 padding:18px 0;                    /* Headline padding */
}

.sidebar.widget-area .widgettitle, .sidebar.widget-area .widgettitle a{
 font-size:24px;              /* Headline font size*/
 line-height:1.25;            /* Headline line height; should be >1 in case of two-line headlines */
}

.sidebar.widget-area .widget-wrap{
 background-color:#dddddd;   /* Call to action background colour */
 border-color:#006699; /* Call to action border colour */
 border-radius:6px;    /* Call to action border radius; set to 0 for square corners */
 font-size:12px;       /* Call to action text size */
 line-height:2;        /* Call to action line-height */
}

.sidebar.widget-area a:hover{
 color:#000; 		/* Call to action link hover colour */
 text-decoration:underline; 	/* Call to action link hover style */
}

/** Footer widgets */
#footer-widgets{
 background-color: #006699;    /* Footer widgets background colour */
 border-bottom-color: #666666; /* Footer widgets bottom rule colour */
 color:#fff;                   /* Footer widgets text color */
}

#footer-widgets h4{
 font-size:28px;               /* Footer widgets headline text size */
 line-height:1.2;              /* Footer widgets headline line-height */
 border-bottom-color: #cccccc; /* Footer widgets rule colour */ 
}

#footer-widgets a:hover{
 color:#99ffff; 		/* Footer widgets link hover colour */
 text-decoration:underline; 
}

#footer-widgets a{
 color:#fff; 			/* Footer widgets Link colour */
}
.gototop{
 background-color:#333;     /*Go to top button background colour */
}

#footer .creds, #footer .creds a{
 color:#ccc; /*Copyright text and links colour */
}

/** Ninja Forms */
.nf-form-title {
	font-family: Open Sans, sans-serif;
	font-size: 15px;
	font-weight: bold;
	text-align: left;
}

.nf-field {
	font-family: Verdana, sans-serif;
	font-size: 15px;
	font-weight: 300;
	line-height: 25px;
}

.nf-form-fields-required {
	font-family: Verdana, sans-serif;
	font-size: 15px;
	font-weight: 300;
    font-style: italic;
}


/* Responsive Design
------------------------------------------------------------ */

@media only screen and (max-width: 600px) {

	body {
		width: 100%;
		margin: 0 auto;
	}

	#wrap {
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
		box-shadow: none;
		margin: 0;
	}	

	.archive-page,
	.content-sidebar #content,
	.content-sidebar-sidebar #content,
	.footer-widgets-1,
	.footer-widgets-2,
	.footer-widgets-3,
	.footer-widgets-4,	
	.full-width-content #content,
	.sidebar,
	.sidebar-content #content,
	.sidebar-content-sidebar #content,
	.sidebar-sidebar-content #content,
	#content-sidebar-wrap,
	#footer .creds,
	#footer .gototop,
	#footer-widgets .wrap,
	#header,
        #header .wrap,
	#header .widget-area,
	#sidebar-alt,
	#title-area,
	#wrap {
		width: 100%;
	}

	#description,
	#footer .creds,
	#footer .gototop,
	#title,
	#title-area {
		float: none;
		text-align: center;
	}

	#title-area {
		/*padding: 20px 0;*/
	}

	#header .widget-area {
		/*margin-bottom: 20px;
		padding: 0 0 10px;*/
                position:absolute;
                top:100%;
	}

	#header .searchform {
		float: none;
		padding: 0;
		text-align: center;
	}

	#header .s {
		margin: 0 2px 0 0;
	}
	
	#header .menu {
		float: none;	
		text-align: center;
	}
	
	#header .menu li {
		display: inline-block;	
		float: none;
	}
	
	#header .menu li li a, 
	#header .menu li li a:link, 
	#header .menu li li a:visited {
		text-align: left;
	}
	
	.menu li.right {
		display: none;
	}
	
	.menu li ul ul {
		/*margin: -35px 0 0 158px; RESPONSIVE MENU*/
                margin:0;
	}
	
	#nav {
	    background-repeat: repeat;
	}
	
	#nav .wrap {
		text-align: center;
		width: 100%;
	}
	
	#subnav .wrap {
		text-align: center;
		width: 100%;
	}
	
	.menu li {
		float: none;
		display: inline-block;
	}
	
	.sidebar .menu li {
		float: none;
		display: inline;
	}
	
	.menu a {
		padding: 12px 18px;
		text-align: left;
	}
		
	.slider-wrap {
		border: none;
	}
	
	.slider-inner {
		padding: 0 !important;
		overflow: hidden;
		width: 100%;
	}
	
	.flex-control-nav {
		margin: 20px 0 6px !important;
	}	
	
	#genesis-slider, #slides, .genesis-slider-wrap {
		width: 100% !important;
	}	

	.welcome-inner {
		text-align: center;
		width: 96%;
	}	
	
	#home-bottom {
		text-align: center;	
		width: 100%;
	}
	
	#home-bottom .wrap {
		width: 96%;
	}
	
	.home-bottom-1,
	.home-bottom-2,
	.home-bottom-3	{
		width: 100%;
	}
	
	.home-bottom-1, 
	.home-bottom-2 {
		margin-bottom: 20px;
	}
	
	.home-bottom-3 {
		float: left;
	}	

	#home-bottom .featuredpost img, #home-bottom .featuredpage img {
		width: 96%;
	}
	
	#inner {
		padding: 20px 0 0;
		/*width: 96%;*/
	}

	#content {
		padding: 0;
	}

	.navigation,
	.taxonomy-description {
		margin: 0 20px 20px;
	}

	.sidebar .widget{
                max-width:232px;
                margin:0 auto;
        }

	.page .page,
	.post,
	#comments,
	#respond {
		padding: 0 20px;
	}
	
	.featuredpage .page,
	.featuredpost .post{
		padding: 0;
	}

	.featuredpage .page img, 
	.featuredpost .post img {
		margin: 0 0 10px;
	}

	.author-box {
		margin: 0 20px 40px;
	}
	
	.post-image {
		width: 96%;
	}

	#content .portfolio {
		float: none;
		margin: 0 auto !important;
		padding: 0 !important;
		text-align: center;
		width: 94%;
	}	
	
	#content .portfolio h2 {
		margin: 0 0 10px;
	}	
	
	#content .portfolio .entry-title a {
		font-size: 24px;
		line-height: 32px;
	}
	
	#content .portfolio .more-link {
		margin: 12px auto 0;		
	}
	
	.s {
		width: 60%;
	}

        #footer-widgets{
                padding:0;
        }

	.footer-widgets-1,
	.footer-widgets-2,
	.footer-widgets-3 {
		margin: 0;
                width:80%;
                padding:0 10%;
	}
	
	.footer-widgets-4 {
		float: left;
	}	

	#footer-widgets .widget {
		padding: 20px 0 0;
	}
	
	#footer-widgets .wrap {
		padding: 0;
		width: 100%;
	}
	
	#footer .wrap {
		width: 94%;
	}

	#footer .creds,
	#footer .gototop {
		text-align: center;
	}

        #footer-widgets .gototop{
         width:100%;
         float:none;
         border:none;
        }						
	
}


@media only screen and (min-width: 600px) and (max-width: 1000px) {

	body {
		width: 100%;
		margin: 0 auto;
	}

	#wrap {
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
		box-shadow: none;
		margin: 0;
	}	

	.archive-page,
	.content-sidebar #content,
	.content-sidebar-sidebar #content,
	.footer-widgets-1,
	.footer-widgets-2,
	.footer-widgets-3,
	.footer-widgets-4,	
	.full-width-content #content,
	.sidebar,
	.sidebar-content #content,
	.sidebar-content-sidebar #content,
	.sidebar-sidebar-content #content,
	#content-sidebar-wrap,
	#footer .creds,
	#footer .gototop,
	#footer-widgets .wrap,
	#header,
        #header .wrap,
	#header .widget-area,
	#sidebar-alt,
	#title-area,
	#wrap {
		width: 100%;
	}

	#description,
	#footer .creds,
	#footer .gototop,
	#title,
	#title-area {
		float: none;
		text-align: center;
	}

	#title-area {
		/*padding: 20px 0;*/
	}

	#header .widget-area {
		/*margin-bottom: 20px;
		padding: 0 0 10px;*/
                position:absolute;
                top:0;
	}

	#header .searchform {
		float: none;
		padding: 0;
		text-align: center;
	}

	#header .s {
		margin: 0 2px 0 0;
	}
	
	#header .menu {
		float: none;	
		text-align: center;
	}
	
	#header .menu li {
		display: inline-block;	
		float: none;
	}
	
	#header .menu li li a, 
	#header .menu li li a:link, 
	#header .menu li li a:visited {
		text-align: left;
	}
	
	.menu li.right {
		display: none;
	}
	
	.menu li ul ul {
		margin: -35px 0 0 158px;
	}
	
	#nav {
	    background-repeat: repeat;
	}
	
	#nav .wrap {
		width: 100%;
	}
	
	#subnav .wrap {
		width: 100%;
	}
	
	#nav .menu li {
		float: none;
		display: inline-block;
	}

	.menu > li {
                margin-left:-5px;
	}
	
	.sidebar .menu li {
		float: none;
		display: inline;
	}
	
	.menu li li a {
		padding: 12px 18px;
                padding: 0.42857em 0.85714em;
	}
	
	.slider-wrap {
		/*border: none;*/
	}
	
	.slider-inner {
		padding: 0 !important;
		overflow: hidden;
		width: 100%;
	}
	
	.flex-control-nav {
		/*margin: 20px 0 7px !important;*/
	}
	
	#genesis-slider, #slides, .genesis-slider-wrap {
		width: 100% !important;
	}

	#home-bottom {
		width: 100%;
	}
	
	#home-bottom .wrap {
		width: 96%;
	}
	
	.home-bottom-1, 
	.home-bottom-2 {
		margin-bottom: 20px;
	}	
	
	.home-bottom-3 {
		float: left;
	}
	
	.welcome-inner {
		text-align: center;
		width: 96%;
	}

	#inner {
		/*width: 96%;*/	
                padding:4.5% 3%;	
	}

	#content {
		padding: 0;
                width:663px;
                max-width:66%;
	}

        #sidebar{
                padding:0 0 0 3%;
                width:30.8%;
                max-width:232px;
        }

	.navigation,
	.taxonomy-description {
		margin: 0 20px 20px;
	}

	.page .page,
	.post,
	#comments,
	#respond {
		padding: 0 20px;
	}
	
	.featuredpage .page,
	.featuredpost .post{
		padding: 0;
	}

	.post-image {
		max-width: 100% !important;
	}
	
	.featuredpage .page img, 
	.featuredpost .post img {
		margin: 0 0 10px;
		width: auto;
	}

	.author-box {
		margin: 0 20px 40px;
	}
	
	#content .portfolio {
		margin: 0 20px 40px 0 !important;
		padding: 0;		
	}		

	.footer-widgets-1{
                clear:left;
         }

	.footer-widgets-1,
	.footer-widgets-2,
	.footer-widgets-3 {
		margin: 0;
		padding: 0 1%;
                width: 48%;
	}
	
	.footer-widgets-4 {
		float: left;
	}

	#footer-widgets .widget {
		padding: 20px 0 0;
	}
	
	#footer-widgets .wrap {
		padding: 0;
		width: 96%;
	}
	
	#footer .wrap {
		width: 96%;
	}	

	#footer .creds,
	#footer .gototop {
		text-align: center;
	}

	
}


/* Responsive Menus
------------------------------------------------------------ */
#nav .menu li.current-menu-item > a,
#nav .menu > li.current-menu-parent > a {
  color: #fff;
  background:#333;
}

@media screen and (min-width: 750px) {

 #menu-trigger {
  display : none;
 }

 .breadcrumb{
  display:none;
 }

  #nav .menu > li:first-child {
    border-left: solid 1px;
  }
  #nav .menu > li:last-child {
    border-right: solid 1px;
  }
  #nav .menu > li > a {
    /*padding: 0.42857em 0.85714em;*/
    border-left: 1px solid;
    border-right: 1px solid;
  }

  #nav .menu > li li a {
    padding: 0.42857em 0.85714em;
  }
}
@media screen and (max-width: 750px) {
 #nav{
  overflow:hidden;
 }

 /** Responsive menu */
 #menu-trigger{
  display:block;
  position:relative;
  float:right;
  width:1.5em;
  font-size:24px;
  font-size:1.5rem;
  line-height:1.5;
  overflow:hidden;
  text-indent:100%;
  white-space:nowrap;
 }
 
 #menu-trigger:before {
   content: "";
   position: absolute;
   top: 0.65em;
   left: 0;
   width: 1em;
   height: 0.125em;
   border-top: 0.375em double #fff;
   border-bottom: 0.125em solid #fff; 
 }

 .menu-open #menu-trigger{
  text-align:right;
 }

 .menu.menu-primary{
  color: #fff;
 }

 .menu.menu-primary {
  list-style: none;
  margin: 0;
  padding: 0;
 }

 .menu.menu-primary a {
  padding:12px;
  border-top:solid 1px #606c77;
  border-bottom:solid 1px #272c30;
  color: inherit;
  display: block;
  text-decoration: none;
 }

 .menu.menu-primary li:last-child{
   border-bottom:solid 1px #606c77;
 }

 #nav .menu li {
   display: block;
 }

 .menu ul{
   float:none;
 }

 .menu li ul {
  left: auto;
  position: static;
  width: 100%;
  background:transparent;
 }

 .menu li ul ul{
  margin:0;
 }

 .menu li:hover ul ul,
 .menu li.sfHover ul ul {
	left: auto;
 }

 .menu li:hover,
 .menu li.sfHover {
	position: static;
 }

 ul.menu li:hover>ul,
 ul.menu li.sfHover ul,
 #header .menu li:hover>ul,
 #header .menu li.sfHover ul {
	left: auto;
 }

 .menu li li a, .menu li li a:link, .menu li li a:visited{
  width:100%;
 }

 #nav .menu li li a{
  padding-left:25px;
 }

 #nav .menu li li li a{
  padding-left:30px;
 }

 #nav .menu li li li li a{
  padding-left:35px;
 }

 /** Breadcrumbs */
 .breadcrumb{
  display:block;
  float:left;
  padding-left:8px;
  color:#fff;
 }

 .yah-long{
  display:none;
 }

 .breadcrumb-long{
  display:none;
 }
}