/*
Theme Name: Hume Coal  
Description: Custom WP theme.
Version: 1.0
Author: Matt Heyes, The Creative Collective
Author URI: http://www.thecreativecollective.com.au/
*/

ul.eis-docs li{
	display: inline-block;
	width: 21%;
	margin-right: 4%;
	float:left;
	margin-bottom: 15px;
}
ul.eis-docs li:nth-child(4n){
	margin-right:0;
}
ul.eis-docs li:nth-child(4n+1){
	clear:both;
}
input, [type="text"], input[type="text"] {
	background: #f2f2f2 !important;
}

input[type="submit"] {
	background: #464646 !important;
}
/*
body.page-template-tpl-parent-page .column {
	float: left;
	width: 32% !important;
	margin: 20px 2% 0px 0;
	padding: 0;
}

body.page-template-tpl-parent-page .column:nth-child(3n) {
	margin-right: 0 !important;
}

body.page-template-tpl-parent-page .column:last-child {
	margin-bottom: 20px !important;
}
*/
body.page-template-tpl-parent-page .post-grid div.filler .text {
	display: block;
	position: absolute;
	width: 100%;
	top: 40%;
	left: 0;
	bottom: none;
	height: auto;
	min-height: auto;
	padding: 0 40px;
	background: none;
	font-size: 20px;
	font-weight: 700 !important;
	text-align: center;
	vertical-align: middle !important;
	color: #fff; 
	-webkit-transition: all 300ms ease-in-out;
	-moz-transition: all 300ms ease-in-out;
	-o-transition: all 300ms ease-in-out;
	-ms-transition: all 300ms ease-in-out;
	transition: all 300ms ease-in-out;
	text-shadow: -1px 2px 4px rgba(0, 0, 0, 0.65);
}

body.page-template-tpl-parent-page  .post-grid a .post-meta, .post-grid div .post-meta {
	bottom: none;
	right: none;
}

.colfirst {
	clear: left;
}

.column.half {
	width: 50%;
}

.column.third {
	width: 33%;
}

.small-12.medium-4.columns {
	margin-top: 38px;
}

.pdfs {
	margin-top: 40px;	
}

.pdf-image {
	background-size: 60px 85px;
	background-repeat: no-repeat;
	display: block;
	min-height: 85px;
	width: 24%;
	margin-right: 1%;
	padding-left: 70px;
	float: left;
	font-size: 18px;
	line-height: 120%;
	margin-bottom: 60px;
}

.pdf-image:nth-child(4n+1) {
	clear: left;
}

/* Posco Page */

body.page-id-612 header.page-header:after, body.page-id-1475 header.page-header:after {
    background-color: rgba(0,86,136,0.6);
}

a.hotspot-5 {
	display: none !important;
}

.project-map-desktop .map-hotspots a.hotspot-4 span.infowindow {
	z-index: 3 !important;
}

body.page-template-tpl-sub-page .medium-4 {
    width: 33.33333%;
    padding-right: 2.5rem;
}

body.page-id-634 .main-content-section .row, body.page-id-1711 .main-content .row {
	margin-bottom: 80px;
}

.read-more {
	display: none;
}

body.page-id-634 .main-content-section h4 a {
	color: #9dad40;
}

.releases-date {
	font-size: 14px;
}

.releases-more, body.page-id-1711 a.app-form {
	color: #9dad40;
	font-weight: bold;
}

body.page-id-1711 a.app-form {
	display: inline-block;
	margin-top: 30px;
}

body.page-id-1711 a.app-form:hover {
	color: #58595b !important;
}

#gform_wrapper_6 .name_first label, #gform_wrapper_6 .name_last label,
#gform_wrapper_5 .name_first label, #gform_wrapper_5 .name_last label, #gform_wrapper_5 #field_5_7 .gfield_label {
	display: none;
}

/*
body.page-id-648 .page-header, body.page-id-125 .page-header {
	padding: 40px 0 95px;
}

body.page-id-648 header.page-header:after, body.page-id-125 header.page-header:after {
    background-color: rgba(157,173,64,0);
}
*/

div.post-image-grid {
	float: left;
	width: 49%;
	height: 200px;
	padding-right: 2%;
	margin-bottom: 15px;
	overflow: hidden;
}

div.post-image-grid.last {
	padding-right: 0%;
}

div.post-image-grid img {
	width: 100%;
}

body.page-id-640 tbody {
	border: none;
}

body.page-id-640 tbody tr:nth-child(even) {
	background-color: #fff !important;
}
body.page-id-640 tbody tr td:first-child {
	text-align: right;
}

/* Timeline */

td.wag-first, td.wag-last {
	width: 40%;
	padding: 0;
}

td.wag-middle {
	width: 20%;
	padding: 0 15px;
	background-image: url(http://www.humecoal.com.au/wp-content/uploads/2016/02/dot.jpg);
	background-position: center top;
	background-size: 1px 100%;
	background-repeat: no-repeat;
}

td.wag-middle.first {
	background-position: center bottom;
	background-size: 1px 50%;
}

td.wag-middle.last {
	background-position: center top;
	background-size: 1px 50%;
}

.innertable {
	width: 100%;
	margin-bottom: 0;
}

table .innertable tbody {
	background-color: none !important;
}

.wag-inner {
	position: relative;
	width: 50%;
	padding: 0;
}

.wag-hr {
	position: absolute;
	top: 50%;
	height: 1px;
	width: 100%;
	background: #000;
}

.wag-dot {
	height: 10px;
	width: 10px;
	background: #000;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-o-border-radius: 5px;
	border-radius: 5px;
}

.wag-dot.right {
	float: right;
}

.wag-dot.left {
	float: left;
}

li.parentpage {
	margin-top: 20px;
	list-style-type: square;
}

li.childpage {
	margin-left: 30px;
	list-style-type: square;
}

#home-slider h2 {
/* 	display: none; */
}

.wp-caption-text {
	font-size: 11px;
	font-style: italic;
}

/* Sliders
------------------------------------------- */
body#top.home .wrapper #home-slider,
body#top.home .wrapper #home-slider .rsOverflow,
body#top.home .wrapper #home-slider .rsOverflow .rsSlide {
	background-color: #7D7D7D;
}


/* Forms
------------------------------------------- */

/* Homepage subscribe */
body#top.home .wrapper .content-block.subscribe-block .row .small-12.columns .entry {
	max-width: 100%;
}

#gform_wrapper_1 #gform_1 .gform_body ul#gform_fields_1 li {
	width: 20%;
}

/* Homepage and connect form in side shortcodes */

#gform_wrapper_3 #gform_3 .gform_heading h3.gform_title {
	font-weight: bold;
	font-size: 18px;
}

#gform_wrapper_3 #gform_3 .validation_error {
	border-top: 1px solid;
	border-bottom: 1px solid;
	margin-bottom: 4px;
	max-width: 212px;
	padding: 5px 0;
}

#gform_wrapper_3 #gform_3 .validation_error,
#gform_wrapper_3 #gform_3 .gform_body #gform_fields_3 li .validation_message {
	font-size: 10px;
}

#gform_wrapper_3 #gform_3 .gform_body #gform_fields_3 li .validation_message {
	margin-top: 0;
	padding-top: 0 !important;
	font-weight: normal;
}

#gform_wrapper_3 #gform_3 .gform_body #gform_fields_3 li.gfield.gfield_error.gfield_contains_required {
	margin-top: 4px;
	margin-bottom: 4px !important;
}

#gform_wrapper_3 #gform_3 .gform_body #gform_fields_3 li .gfield_label {
	display: none;
}

#gform_wrapper_3 #gform_3 .gform_body #gform_fields_3 li .ginput_container {
	margin-top: 7px;
}

#gform_wrapper_3 #gform_3 .gform_body #gform_fields_3 li .ginput_container input {
	padding: 5px 4px;
	font-size: 14px;
	height: auto;
	margin-bottom: 4px;
}

.project-wheel img.project-background {
    /*width: 98%!important;*/
}

.project-wheel h4 {
    margin: 28px 0 -3px!important;
}
.home .project-wheel h4 {
    line-height: 58px;
    /*bottom: -7px;*/
}
.home .project-wheel h4 a{
	background: #9DAD40;
}
.home .project-wheel h4 a:hover{
	background: #9DAD40;
	opacity: 0.7;
}
/* Environmental Assessment */

#envass_process_button,
#envass_humecoal_button,
#envass_berrimarail_button {
	display: inline-block;
	width: 32%;
	height: 34px;
	margin: 0 0 0 2%;
	padding: 0 10px;
	border: solid 1px #9dad40;
	border-radius: 3px;
	color: #9dad40;
	line-height: 34px;
	font-weight: 700;
	text-transform: uppercase;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
	cursor: pointer;
}
#envass_process_button {
	margin: 0 0 0 0;
}

#envass_process,
#envass_humecoal,
#envass_berrimarail {
	display: none;
	width: 100%;
	padding: 30px;
}

#envass_process .sub-button,
#envass_humecoal .sub-button,
#envass_berrimarail .sub-button {
	display: inline-block;
	width: 100%;
	height: 34px;
	margin: 10px 0px;
	padding: 0 10px;
	border: solid 1px #9dad40;
	border-radius: 3px;
	color: #9dad40;
	line-height: 34px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
	cursor: pointer;
}

.fa.fa-arrow-circle-o-down,
.fa.fa-arrow-circle-o-up {
	margin-left: 15px;
	font-size: 22px;
	line-height: 34px;
}

#envass_process .envass-links,
#envass_humecoal .envass-links,
#envass_berrimarail .envass-links {
	display: none;
	padding: 10px 0;
}

#envass_process .envass-links {
	display: block;
}

#envass_process .envass-links a,
#envass_humecoal .sub-button a,
#envass_berrimarail .sub-button a {
	color: #9dad40;
}

/* Responsive
------------------------------------------- */



@media screen and (min-width: 1500px) {
	.home .project-wheel h4 {
		bottom: -9px;
	}
}
@media screen and (min-width: 1800px) {
	.home .project-wheel h4 {
		bottom: -10px;
	}
}
@media screen and (min-width: 1900px) {
	.home .project-wheel h4 {
		bottom: -11px;
	}
}
@media screen and ( max-width: 800px ) {
	.pdf-image:nth-child(4n+1) {
		clear: none;
	}
	.pdf-image:nth-child(3n+1) {
		clear: left;
	}
	.pdf-image {
		width: 32%;
	}
}

@media screen and ( max-width: 800px ) {
	.pdf-image {
		width: 32%;
	}
}

@media screen and ( max-width: 768px ) {
	#envass_process_button,
	#envass_humecoal_button,
	#envass_berrimarail_button {
		width: 100%;
		margin: 0 0 20px 0;
	}

	#envass_process,
	#envass_humecoal,
	#envass_berrimarail {
		display: none;
		width: 100%;
		padding: 30px;
	}
	
	#envass_process .sub-button,
	#envass_humecoal .sub-button,
	#envass_berrimarail .sub-button {
		display: inline-block;
		width: 100%;
		height: 34px;
		margin: 10px 0px;
		padding: 0 10px;
		border: solid 1px #9dad40;
		border-radius: 3px;
		color: #9dad40;
		line-height: 34px;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		-ms-box-sizing: border-box;
		-o-box-sizing: border-box;
		box-sizing: border-box;
		cursor: pointer;
	}
	
	#envass_process .envass-links,
	#envass_humecoal .envass-links,
	#envass_berrimarail .envass-links {
		display: none;
		padding: 10px 0;
	}
}
@media screen and ( max-width: 600px ) {
	.feature-blocks-main .block-item {
		min-height: 0px!important;
	}
	.project-wheel h4 a {
	    padding: 9px!important;
	}
	#gform_wrapper_1 #gform_1 .gform_body ul#gform_fields_1 li {
	    width: 99%;
	}
	.pdf-image:nth-child(3n+1) {
		clear: none;
	}
	.pdf-image:nth-child(2n+1) {
		clear: left;
	}
	.pdf-image {
		width: 49%;
	}
	ul.eis-docs li{
		width:47%;
		margin-right: 4%;
		float:left;
		margin-bottom: 15px;
	}
	ul.eis-docs li:nth-child(2n),
	ul.eis-docs li:nth-child(4n){
		margin-right:0;
	}
	ul.eis-docs li:nth-child(2n+1){
		clear:both;
	}
}

.file-group .item{text-align:center; margin-bottom:20px;}
.file-group .download-link{margin-bottom:10px;;}
.file-group .download-title{text-align:center; font-size:14px;}

