/*
Theme Name: NGHEnvironmental
Author: Patrick Smith
Author URI: http://www.patricksmith.id.au/
Description: Modified from BLANKSLATE base theme 4.0.2
License: GNU General Public License
License URI: https://www.gnu.org/licenses/gpl.html
*/

/* CSS RESET OF CROSS-BROWSER INCONSISTENCIES */
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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}





/* DECLARE WEBFONTS */
/*
@font-face {
    font-family: 'designiomedium';
    src: url('../fonts/designiomedium.eot');
    src: url('../fonts/designiomedium.eot?#iefix') format('embedded-opentype'),
         url('../fonts/designiomedium.woff') format('woff'),
         url('../fonts/designiomedium.ttf') format('truetype'),
         url('../fonts/designiomedium.svg#designiomedium') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'designiobold';
    src: url('../fonts/designiobold.eot');
    src: url('../fonts/designiobold.eot?#iefix') format('embedded-opentype'),
         url('../fonts/designiobold.woff') format('woff'),
         url('../fonts/designiobold.ttf') format('truetype'),
         url('../fonts/designiobold.svg#designiobold') format('svg');
    font-weight: normal;
    font-style: normal;
} 
*/





/* GENERAL FORMATTING */

p {
	margin-bottom:1em;
	line-height:1.5em;
}

h1 {
	font-family: designiomedium, Arial, Helvetica, sans-serif;
	font-size:2.25em;
	line-height:1.25em;
	color:#993333;
	margin-top:0.5em;
	margin-bottom:0.5em;
}

h2 {
	font-family: designiomedium, Arial, Helvetica, sans-serif;
	font-size:1.6em;
	line-height:1.25em;
	color:#993333;
	margin-top:0.5em;
	margin-bottom:0.5em;
}

h3 {
	font-family: designiomedium, Arial, Helvetica, sans-serif;
	font-size: 1.25em;
	line-height:1.25em;
	color:#993333;
	margin-top:0.5em;
	margin-bottom:0.5em;
}

h1 a:link,
h1 a:visited,
h2 a:link,
h2 a:visited,
h3 a:link,
h3 a:visited{
	text-decoration:none;
	color:#993333;
}

h1 a:hover,
h1 a:active,
h1 a:focus,
h2 a:hover,
h2 a:active,
h2 a:focus,
h3 a:hover,
h3 a:active,
h1 a:focus{
	text-decoration:underline;
}

a:link,
a:visited {
	color: #42413C;
	text-decoration: underline; 
}

a:hover, 
a:active, 
a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
	text-decoration: none;
}

ul {
	margin: 1em 0 1em 1em;
	list-style-type:disc;
}

ol {
	margin: 1em 0 1em 1em;
	list-style-type:lower-alpha;
}

li {
	line-height:1.5em;
}

strong {
	font-weight:bold;
}

sup {
	vertical-align: super;
	font-size: smaller;
}

.clear {
	clear:both;
	height:0;
	font-size: 1px;
	line-height: 0px;
}
















/*	==================================================================================
	================================================================================== */
	
	
	
	
	

	

/* LAYOUT */

html {
	height:100%;
}






/* DESKTOP LAYOUT */

@media only screen 
and (min-width : 768px) {

body {
	height:100%;
	min-width:960px;
/*	background:url(../images/background.jpg) top repeat-x; */
	font: 14px Helvetica, Arial, sans-serif;
	color: #333;
}

#wrapper {
   position:relative;
   width:100%;
}

#header-wrapper {
	position:relative;
	height:110px;
	width:960px;
	margin: 0 auto 0 auto;
}

#nav-wrapper {
	position:relative;
	background:url(images/nav-background.png) repeat #993333;
	box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.25);
	z-index:1;
}

#nav-wrapper > div {
	width:960px;
	margin: 0 auto 0 auto;
}

#feature-wrapper {
	position:relative;
	background-position: center top;
	background-repeat:no-repeat;
	background-size:cover;
	overflow:hidden;
}

#content-wrapper  {
	font-size: 1em;
	overflow:hidden;
	padding:1em 0 2em 0;
	width:960px;
	margin: 0 auto 0 auto;
}

#content-wrapper #content {
	float:left;
	width:72.916666666666666666666666666667%;	
	margin:0 1.0416666666666666666666666666667%;
}

#content-wrapper #sidebar {
	float:right;
	width:22.916666666666666666666666666667%;
	margin:0 1.0416666666666666666666666666667%;
}

#pre-footer-wrapper {
	background:url(images/pre-footer-background) repeat-x;
	background-size: 20px 100%;
}

#pre-footer-wrapper #pre-footer {
	width:960px;
	margin: 0 auto 0 auto;
	color:#fff;
}

#footer-wrapper #footer {
	width:960px;
	margin: 0 auto 0 auto;
}

#footer-wrapper {
	background:url(images/footer-grey-background.png) repeat #efefef;
}

#post-footer-wrapper {
	height:45px;
	background:url(images/footer-red-background.png) repeat #993333;
}

#post-footer-wrapper #post-footer {
	width:960px;
	margin: 0 auto 0 auto;
}

}





/* MOBILE LAYOUT */

@media only screen 
and (max-width : 767px) {

body {
	height:100%;
	width:100%;
/*	background:url(../images/background.jpg) top repeat-x; */
	font: 14px Helvetica, Arial, sans-serif;
	color: #333;
}

#wrapper {
   position:relative;
   width:100%;
}

#header-wrapper {
	position:relative;
	height:80px;
	width:100%;
}

#nav-wrapper {
	position:relative;
	background:url(images/nav-background.png) repeat #993333;
	box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.25);
	z-index:1;
}

#nav-wrapper > div {
	width:100%;
}

#feature-wrapper {
	position:relative;
	background-position: center top;
	background-repeat:no-repeat;
	background-size:cover;
	overflow:hidden;
	height:150px !important;
}

#content-wrapper  {
	font-size: 1em;
	overflow:hidden;
	padding:1em 0 2em 0;
	width:95%;
	margin: 0 2.5% 0 2.5%;
}

#content-wrapper #content {
	width:95%;	
	margin:0 2.5%;
}

#content-wrapper #sidebar {
	display:none;
}

#pre-footer-wrapper {
	width:95%;
	padding:0 2.5%;
	background:url(images/pre-footer-background) repeat-x;
	background-size: 20px 100%;
	color:#fff;
}

#pre-footer-wrapper #pre-footer {
	width:95%;
	margin: 0 2.5% 0 2.5%;
}

#footer-wrapper {
	width:100%;
	background:url(images/footer-grey-background.png) repeat #efefef;
}

#footer-wrapper #footer {
	width:95%;
	margin: 0 2.5% 0 2.5%;
}

#post-footer-wrapper {
	height:80px;
	width:100%;
	background:url(images/footer-red-background.png) repeat #993333;
}

#post-footer-wrapper #post-footer {
	width:95%;
	margin: 0 2.5% 0 2.5%;
}

}







/* OLD

body.front #content-wrapper #content {
	float:none;
	width:97.91666666666665%;	
	margin:0 1.0416666666666666666666666666667%;
}

body.front #content-wrapper #sidebar { 
	display:none;
}


#content div.column {
	float:left;
	width:31.42857142857143%;
	margin:0 1.42857142857143%;
}

#content div.column:first-of-type {
	margin-left:0;
	background-color:grey;	
}

#content div.column:last-child {
	margin-right:0;
	background-color:blue;	
}

#content div.column.first {
	margin-left:0;	
}

/*





/* HEADER */

@media only screen 
and (min-width : 768px) {

#header-wrapper #logo {
	position:absolute;
	top:18px;
	left:0;
	display:block;
}

#header-wrapper #badges {
	position:absolute;
	top:9px;
	right:0;
	display:block;
}

}

@media only screen 
and (max-width : 767px) {
	
#header-wrapper #logo {
	position:absolute;
	top:13px;
	left:10px;
	width:200px;
	display:block;
}
	
#header-wrapper #badges {
	position:absolute;
	width: 100px;
	top: 17px;
	right: 10px;
}

}







/* FEATURE */

@media only screen 
and (min-width : 768px) {

#feature-wrapper #curves {
	position: absolute;
	bottom: 0;
	min-width: 1600px;
	width: 100%;
	height: 58px;
}

}

@media only screen 
and (max-width : 767px) {
	
#feature-wrapper #curves {
	position: absolute;
	bottom: 0;
	width: 100%;
}

}






/* TOP NAVIGATION - DESKTOP */

@media only screen 
and (min-width : 768px) {

#nav-wrapper div ul.menu{
	list-style-type:none;
	display:block;
	height:45px;
	padding:0;
	margin:0;
}

#nav-wrapper div ul.menu > li {
	display:block;
	position:relative;
	float:left;
	margin:0;
	padding:0;
}

/* 2015 menu style, single line only */
/*
#nav-wrapper div ul.menu > li > a {
	display:block;
	height:45px;
	color:#fff;
	font-size:1em;
	line-height:45px;
	text-decoration:none;
	padding:0 0.65em;
}
*/

/* New 2016 menu style, supports double line seperated by break */
#nav-wrapper div ul.menu > li > a {
	color: #fff;
	font-size: 1em;
	line-height: 0.7em;
	text-decoration: none;
	padding: 0.7em 0.75em;
	display: inline-block;
	vertical-align: middle;
	height: 45px;
	box-sizing: border-box;
	text-align: center;
}

#nav-wrapper div ul.menu > li > a::after {
	display: inline-block;
	vertical-align: middle;
	width: 0;
	content: "\00A0";
	overflow: hidden;
	padding: 0.5em 0;
}
/* end new 2016 style */

#nav-wrapper div ul.menu > li > a:hover {
	color:#fff;
	background:rgba(255,255,255,0.1);
}

#nav-wrapper div ul.menu > li.current-menu-item {
	background:#881111;	
}

/* desktop drop menu */

#nav-wrapper div ul.menu > li > ul {
	display: none;
	position:absolute; 
	top:45px; 
	right:-40px; 
	z-index:2;
	height:auto;
	width:170px;
	margin:0;
	padding:0;
	background:#fff;
	box-shadow: 0px 10px 10px rgba(0,0,0,0.25);
}

#nav-wrapper div ul.menu > li:hover > ul {
	display:block; 
}

#nav-wrapper div ul.menu > li:hover > ul > li {
	display:block;
	width:170px;
	height:45px;
	line-height:45px;
	padding:0;
}

#nav-wrapper div ul.menu > li:hover > ul > li > a {
	display:block;
	width:140px; 
	height:45px;
	line-height:45px;
	padding:0 15px;
	text-decoration:none;
}

#nav-wrapper div ul.menu > li:hover > ul > li > a:hover {
	background:#993333;
	color:#fff;
}

#menu-toggle{
	display:none;		
}

}






/* TOP NAV - MOBILE */

@media only screen 
and (max-width : 767px) {

#nav-wrapper div ul.menu{
	list-style-type:none;
	display:block;
	padding:0;
	margin:0;
	overflow:hidden;
}

#nav-wrapper div ul.menu li {
	display:block;
	position:relative;
	margin:0;
	padding:0;
}

#nav-wrapper div ul.menu li a {
	display:block;
	height:44px;
	color:#fff;
	font-size:1em;
	line-height:45px;
	text-decoration:none;
	padding:0 5%;
	background:#993333;
	border-top: 1px solid #aa5555;
}

#nav-wrapper div ul.menu li a br {
	display:none;
}

#nav-wrapper div ul.menu li a:hover {
	color:#fff;
	background:#aa5555;
}

#nav-wrapper div ul.menu li.current-menu-item {
	background:#881111;	
}

#nav-wrapper div ul.menu > li > ul {
	margin:0;	
}

#menu-toggle {
	display:block;	
	height:45px;
	margin-left:3%;
}

#nav-wrapper .menu-top-navigation-container {
	display:none;	
}

}

	







/* SEARCH AND LOGIN */

@media only screen 
and (min-width : 768px) {

#nav-wrapper #search-icon {
	position: absolute;
	left: 50%;
	top: 0px;
	margin-left: 440px;	
}

#nav-wrapper #search-toggle:hover,
#nav-wrapper #search-toggle:active,
#nav-wrapper #search-toggle:focus {
	 filter: brightness(1.15);
	-webkit-filter:brightness(1.15);
}

#nav-wrapper #search-box {
	display:none;
	position: absolute;
	left: 50%;
	top: 45px;
	margin-left: 240px;
	width: 220px;
	height: 25px;
	background: #993334;
	padding: 10px;
}

#nav-wrapper #search-box #searchform input#s {
	padding: 0 5px;
	width: 150px;
	border: none;
	height: 20px;
	line-height: 20px;	
}

}

@media only screen 
and (max-width : 767px) {

#nav-wrapper #search-icon {
	display:none;	
}

#nav-wrapper #search-box {
	display:none;
}

}





/* HOMEPAGE */

body.home article header h1 {
	display:none;	
}

table.home-table {
	width:100%;
}

table.home-table tr td {
	width:45%;
	padding:0 5% 2em 0;
}

div.home-grid-section {
	overflow: auto;
	width: 100%;	
	padding:0;
	margin:0;
}

@media only screen 
and (min-width : 768px) {
	
div.home-grid-column {
	float:left;
	width:45%;
	padding:0 5% 2em 0;
	margin:0;
}

}

@media only screen 
and (max-width : 767px) {
	
div.home-grid-column {
	width:100%;
	padding:0 0 2em 0;
	margin:0;
}
	
}

div.home-grid-column > a > img:first-child {
	width: 100%;
	height:auto;
}







/* SIDEBAR WIDGETS */

#sidebar .widget-wrapper {
	position:relative;
	margin-bottom:1em;	
}





/* FOOTER */

#pre-footer {
	padding:30px 0 45px 0;
	font-size:1em;
	color:#333;
	overflow:hidden;
}




/* PRE FOOTER */

.rpwe-block li {
	border-bottom: 1px solid rgba(255,255,255,0.15) !important;
}

#pre-footer-wrapper #pre-footer a {
	color:#fff;
}

#pre-footer-wrapper #pre-footer > div:first-child {
	font-size:1.5em;
	color:#fff;
}



/* FOOTER */

#footer {
	padding:30px 0 45px 0;
	font-size:0.8em;
	color:#333;
	overflow:hidden;
}

#footer1,
#footer2 {
	overflow:auto;	
}

@media only screen 
and (min-width : 768px) {
	
#footer .column {
	float:left;
	width:22.5%;
	padding:0 2.5% 1em 0;	
}

#footer {
	background:url(images/footer-nsw-qld-map.png) no-repeat;
	background-position:700px 20px;
}

}






/* POST FOOTER */

#post-footer {
	padding-top:15px;
	font-size:1em;
	color:#fff;
}

#post-footer p, 
#post-footer ul, 
#post-footer ul li {
	color:#fff;
	margin:0;
	padding:0;
	display:inline;
	font-size:0.8em;
}

#post-footer p a:link,
#post-footer p a:visited,
#post-footer ul li a:link,
#post-footer ul li a:visited {
	color:#fff;
	text-decoration:none;	
}

#post-footer p a:hover,
#post-footer p a:active,
#post-footer p a:focus,
#post-footer ul li a:hover,
#post-footer ul li a:active,
#post-footer ul li a:focus {
	text-decoration:underline;
}

@media only screen 
and (max-width : 767px) {
#post-footer #watermark {
	
}
}

@media only screen 
and (min-width : 768px) {
#post-footer #watermark {
	float:right;
	text-align:right;
}
}






/* WORDPRESS ASSORTED */

article {
	margin-bottom: 2.5em;	
}


nav .nav-previous,
nav .nav-next {
	margin-bottom:1em;
}

nav .nav-previous a:link,
nav .nav-previous a:visited,
nav .nav-next a:link,
nav .nav-next a:visited {
	color:#993333;
	text-decoration:none;
	margin-bottom:1em;
}

/*
nav .nav-previous a span,
nav .nav-next a span{
	display: inline-block;
	background: #993333;
	height: 30px;
	width:16px;
	line-height: 30px;
	padding: 0 7px;
	border-radius: 3px;
	color: #fff;
	margin-right: 15px;
	text-decoration:none;
}*/

nav .nav-previous a:hover,
nav .nav-previous a:active,
nav .nav-previous a:focus,
nav .nav-next a:hover,
nav .nav-next a:active,
nav .nav-next a:focus {
	text-decoration:underline;
}


/* contect us */

table.contact {
	width:100%	
}

table.contact tr td {
	width:45%;
	padding-bottom:2em;
		
}

table.contact tr td strong {
	color:#993333;
}





/* TWITTER WIDGET */

ul.really_simple_twitter_widget {
	list-style-type: none;
	margin: 0;
	font-size: 0.875em;
}

ul.really_simple_twitter_widget li {
	margin-bottom:1.5em;
}

ul.really_simple_twitter_widget li > img {
	float: left;
	margin: 0 15px 0 0;
}

ul.really_simple_twitter_widget li a {
	color:#993333;	
}

ul.really_simple_twitter_widget li span.twitter-timestamp {
	display:block;
	color:#bbb;
	font-size: 0.9em;
}

a.twitter_title_link {
	width: 180px;
	display: block;
	margin-bottom:1em;
}






/* SHARE WIDGET */

#s-share-buttons.s-share-w-c a {
	margin-right:10px !important;	
}
