/*
Theme Name: MBGS
Description: Semantic, SEO Optimised, Custom Wordpress Theme for MBGS
Author: Hopping Mad Design
Author URI: http://www.hoppingmad.com.au/
*/

/* Reset */
a, abbr, acronym, address, area, b, bdo, big, blockquote, body, button, caption, cite,
code, col, colgroup, dd, del, dfn, div, dl, dt, em, fieldset, form, h1, h2, h3, h4,
h5, h6, hr, html, i, images, ins, kbd, label, legend, li, map, object, ol, p, param, pre,
q, samp, small, span, strong, sub, sup, table, tbody, td, textarea, tfoot, th, thead,
tr, tt, ul, var {margin:0;padding:0;vertical-align:baseline}
* { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;  }

input[type=number] { -moz-appearance:textfield; }
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {  -webkit-appearance: none;  margin: 0; }
input[type="search"] {	-webkit-appearance: textfield; -moz-box-sizing: content-box;-webkit-box-sizing: content-box;box-sizing: content-box;}
input[type=submit]{-webkit-appearance: none;}

/* Defaults */
html,body{height:100%;margin:0; }
body{
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	color:#58595b; 
	font: 14px/17px 'Cabin', sans-serif; 
	position:relative; 
}
img{border-style:none}
a{text-decoration:none;color:#95b645;margin:0;}
a:hover{text-decoration:underline; color:#95b645;}
input,textarea,select{font:100% 'Cabin', sans-serif; vertical-align:middle}
form,fieldset{border-style:none;margin:0;padding:0;font:100% 'Cabin', sans-serif;}

img.alignleft {margin: 0 10px 10px 0;}
.alignleft {float: left;}
img.alignright {margin: 0 0 10px 10px;}
.alignright {float: right;}
.aligncenter {margin:10px auto;}


.clear{clear: both;}

/* header */
.language{
	display:inline-block;
	float:right;
	margin:10px 0 0;
	min-width:370px;
	text-align:right;
}
.language a{
	display:inline-block;
	padding-left:26px;
	color:#000;
	margin-right:20px;
}
.language a:last-child{
	margin-right:0;
}
.language a:nth-child(1){
	background:url(images/AU.png) no-repeat left center;
}
.language a:nth-child(2){
	background:url(images/MN.png) no-repeat left center;
}
.language a:nth-child(3){
	background:url(images/ES.png) no-repeat left center;
}
.language a:nth-child(4){
	background:url(images/CN.png) no-repeat left center;
}
#masthead{
	max-width:1064px;
	margin:auto;
	padding:0 20px 0 ;
}
#header-logo{
	width:294px;
	display:block;
	float:left;
	margin-top:35px;
}	
#header-logo img{
	display:block;
	width:100%;
	height:auto;
}
.header-info{
	float:right;
	width:365px;
	margin:10px 0 0;
}	
.header-info h2{
	font: italic 26px/32px 'Cabin';
	color:#414042;
	text-align:right;
	margin-bottom:17px;
}
.search-form input[type='search']{
	height:32px;
	font:16px/32px 'Cabin';
	background:#e8e8e8;
	border:none;
	width:215px;
}
.search-form{
	width:270px;
	border:1px solid #e3e3e3;
	padding:0 0 0 35px;
	position:relative;
	background:#e8e8e8;
	border-radius:30px; 
	-moz-border-radius:30px; 
	-webkit-border-radius:30px;
}
.search-form input[type='submit']{
	width:26px;
	height:26px;
	border:none;
	background:url(images/search-icon.png) no-repeat;
	position:absolute;
	left:4px;
	top:4px;
}
.search-form input[type='search']::-webkit-input-placeholder,.search-form input[type='search']:-moz-placeholder,.search-form input[type='search']::-moz-placeholder,.search-form input[type='search']:-ms-input-placeholder {
	color:#909090;
}
#search-container{
	float:right;
}
.linkedin{
	display:inline-block;
	width:35px;
	height:35px;
	background:url(images/linked.png) no-repeat;
	background-size:100% 100%;
	margin-right:15px;
	vertical-align:top;
}
.search-box{
	display:inline-block;
}

/* navigation */
.nav-menu li a{
	font:14px Cabin;
	color:#58595b;
	text-transform:uppercase;
	padding:0 20px 7px;
	display:inline-block;
}
.nav-menu li {
	list-style:none;
	display:inline-block;
	margin-right:48px;
	height:40px;
	position:relative;
}
.nav-menu li:last-child {
	margin-right:0;
}
.nav-menu li:hover a, .nav-menu .current-menu-item a, .nav-menu .current-menu-parent a{
	border-bottom:5px solid #95b645;
	text-decoration:none;
}
#primary-navigation{
	margin:20px 0 0;
}
.nav-menu .sub-menu{
	position:absolute;
	top:40px;
	left:0;
	width:150px;
	display:none;
	z-index:500;
}
.nav-menu li:nth-child(3) .sub-menu{
	width:280px;
}
.nav-menu .sub-menu li {
	background:#fff;
	padding:0 0 0 10px;
	height:auto;
	display:block;
	margin:0 0 2px;
}
.nav-menu .sub-menu li a{
	font:14px/24px Cabin;
	color:#414042;
	border:none;
	text-transform:none;
	padding:0;
	display:block;
}
.nav-menu .sub-menu li:hover, .nav-menu .sub-menu .current-menu-item{
	background:#95b645;
}
.nav-menu .sub-menu li:hover a, .nav-menu .sub-menu .current-menu-item a{
	color:#fff;
}
.nav-menu li:hover .sub-menu{
	display:block; 
}

/* home slider */
.slide{
	width:100%;
	height:364px;
	background-repeat:no-repeat;
	background-position:center top;
	background-size:auto 100%;
	float:left;
}
.slide-content{
	max-width:1024px;
	margin:auto;
	padding-top:90px;
}
.slide-content p{
	display:inline-block;
	font:600 26px/50px 'Cabin';
	color:#414042;
	background-color:rgba(246,244,238,0.8);
	margin:0 0 7px 0;
	padding:0 10px;
}
.slide-content a{
	display:block;
	width:167px;
	background:#95b645 url(images/arrow-white.png) no-repeat right 18px center;
	color:#fff;
	font: 500 17px/36px Cabin;
	padding-left:25px;
}
.slide-content a:hover{
	text-decoration:none;
}
#slide-nav-wrapper{
	position:absolute;
	z-index:100;
	top:0;
	left:0;
	width:100%;
}
#slide-nav{
	max-width:1024px;
	margin:auto;
	position:relative;
}
#slideshow-wrapper{
	position:relative;
	width:100%;
	height:364px;
	overflow:hidden;
}
#slide-prev{
	width:57px;
	height:56px;
	background:url(images/arrow-left.png) no-repeat ;
	position:absolute;
	left:-158px;
	top:155px;
	cursor:pointer;
}
#slide-next{
	width:57px;
	height:56px;
	background:url(images/arrow-right.png) no-repeat ;
	position:absolute;
	right:-158px;
	top:155px;
	cursor:pointer;
}
#slide-pagination a{
	display:inline-block;
	width:10px;
	height:10px;
	background:#fff;
	text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
	margin-right:5px;
}
#slide-pagination a.selected{
	background:#95b645;
}
#slide-pagination{
	position:absolute;
	top:243px;
	left:0;
}

/* home content*/
.site-content{
	max-width:1064px;
	padding:0 20px;
	margin:auto;
}
#home-our-services{
	float:left;
	width:345px;
	margin:25px 25px 0 0;
}
#home-our-services .content{
	background:#1f82c3;
	color:#fff;
	font:17px/24px 'Cabin';
	padding:30px 10px;
	min-height:480px;
}
#home-our-services .content ul li{
	list-style:none;
	position:relative;
	padding-left:16px;
	margin-bottom:7px;
}
#home-our-services .content ul li:before{
	content:' ';
	width:7px;
	height:7px;
	border-radius:100%; 
	-moz-border-radius:100%; 
	-webkit-border-radius:100%;
	background:#95b645;
	position:absolute;
	top:8px;
	left:0;
}
.grey-button{
	display:block;
	line-height:47px;
	height:47px;
	color:#414042;
	background:#e4e5e6;
	text-align:center;
}
.grey-button span{
	display:inline-block;
	width:20px;
	height:19px;
	background:url(images/arrow-dark.png) no-repeat;
	vertical-align:top;
	margin:13px 0 0 8px;
}
.box-heading{
	font:28px 'Cabin';
	color:#414042;
	border-bottom:2px solid #95b645;
	margin-bottom:12px;
	padding-bottom:4px;
}	
#home-who-we-are{
	float:left;
	width:315px;
	margin:25px 25px 0 0;
}
.entry-content p{
	margin:10px 0;
}
.entry-content img{
	max-width:100%;
	height:auto;
}
#home-who-we-are .content{
	height:480px;
}
#home-brochure{
	float:left;
	width:300px;
	margin:25px 0 0 0;
}
.brochure img{
	display:block;
	width:100%;
	height:auto;
}
.brochure .image{
	width:300px;
	height:195px;
	overflow:hidden;
}
#home-brochure .brochure:nth-child(2){
	margin-bottom:43px;
}
#brochures-wrapper .brochure{
	float:left;
	width:300px;
	margin-bottom:35px;
}
#brochures-wrapper .brochure header{
	height:30px;
}
#brochures-wrapper .brochure:nth-child(odd){
	margin-right:34px;
}

/* footer */
#colophon{
	background:#404041;
	padding:25px 0 30px;
	margin-top:70px;
}
#copyright{
	color:#fff;
	font-size:12px;
}
#copyright a{
	color:#fff;
	display:inline-block;
	margin:0 5px;
}
#copyright span{
	display:inline-block;
	margin-right:5px;
}
#footer-menu .sub-menu{
	display:none;
}
#footer-menu li{
	list-style:none;
	display:inline-block;
	border-right:1px solid #fff;
	margin:0 5px 0 0;
	padding-right:7px;
}
#footer-menu ul li:last-child{
	border-right:none;
}
#footer-menu li a{
	color:#fff;
	font-size:12px;
	text-transform:uppercase;
}
#footer-menu{
	margin-top:20px;
}
#design-by a{
	color:#fff;
	font-size:12px;
}
#design-by{
	font-size:12px;
	color:#fff;
	margin-top:15px;
}
.green-button{
	display:block;
	background:#8b9f5c;
	color:#fff;
	font:500 17px/35px 'Cabin';
	text-align:center;
}
.green-button:hover{
	color:#fff;
	text-decoration:none;
}	
.f-right{
	float:right;
	max-width:195px;
	margin-top:15px;
	width:100%;
}
.f-left{
	max-width:500px;
	float:left;
}

/* about */
#header-image{
	width:100%;
	height:360px;
	background-repeat:no-repeat;
	background-position:center top;
	margin-bottom:25px;
	background-size:auto 100%;
}
.side-menu{
	float:left;
	width:33.69%;
}
.right-content{
	float:right;
	width:62.01%;
}	
.side-menu ul li a{
	color:#fff;
	font:17px/24px 'Cabin';
}
.side-menu ul .current_page_item a{
	font-weight:700;
}
.side-menu ul li{
	list-style:none;
	position:relative;
	padding-left:15px;
	margin-bottom:7px;
}
.side-menu ul li:before{
	content:' ';
	width:7px;
	height:7px;
	border-radius:100%; 
	-moz-border-radius:100%; 
	-webkit-border-radius:100%;
	background:#95b645;
	position:absolute;
	top:8px;
	left:0;
}
.side-menu ul{
	background:#1f82c3;	
	padding:15px 10px;
}
h3{
	font-size:18px;
	line-height:24px;
	font-weight:700;
}
.entry-content h3{
	margin:15px 0 7px;
}
.entry-content table{
	border-collapse: collapse;
	width:100%;
	margin:0 0 10px;
}
.entry-content table td{
	border:1px solid #d1d3d4;
	vertical-align:middle;
	margin:0;
	line-height:28px;
}	
.entry-content table tr td:first-child{
	border-left:none;
}
.entry-content table tr td:last-child{
	border-right:none;
}
.highlight{
	background:#e6e7e8;
}
.entry-content table .highlight{
	height:100%;
	display:block;
}
.entry-content ul li{
	list-style:none;
	position:relative;
	padding-left:15px;
	margin-bottom:7px;
}
.entry-content ul li:before{
	content:' ';
	width:7px;
	height:7px;
	border-radius:100%; 
	-moz-border-radius:100%; 
	-webkit-border-radius:100%;
	background:#95b645;
	position:absolute;
	top:5px;
	left:0;
}
.entry-content ul{
	margin:10px 0 10px 5px;
}
.expand-content{
	color:#1f82c3;
	font-size:16px;
	line-height:20px;
	cursor:pointer;
	background: url(images/arrow-down.png) no-repeat 80px center ;
}
.expand-content.active{
	background: url(images/arrow-up.png) no-repeat 80px center ;
}
.more-content{
	display:none;
}	
.more-content.active{
	display:block;
}

/* service */
#service-wrapper{
	margin-top:40px;
}
#service-wrapper li{
	display:block;
	width:200px;
	float:left;
	margin:0 4px 35px 0;
}	
.service-thumb{
	display:block;
	width:100%;
	height:160px;
	overflow:hidden;
	position:relative;
}
.service-thumb img{
	display:block;
	width:100%;
	height:auto;
}	
.service-title{
	color:#1f82c3;
	text-align:center;
	display:block;
	height:50px;
	padding-top:15px;
}

/* gallery */
#gallery .image{
	width:200px;
	height:145px;
	float:left;
	margin: 0 15px 15px 0;
}
#gallery .image:nth-child(3n){
	margin-right:0;
}

/* news */
#archive{
	margin-top:22px;
}
#archive li{
	list-style:none;
	padding-left:15px;
	position:relative;
	margin:0 0 10px 10px;
}
#archive li a{
	font-size:18px;
	line-height:auto;
	color:#333645;
}
#archive li:before{
	content:' ';
	position:absolute;
	left:0;
	top:5px;
	width:7px;
	height:7px;
	border-radius:100%; 
	-moz-border-radius:100%; 
	-webkit-border-radius:100%;
	background:#95b645;
}
.news-thumb{
	width:31.5%;
	float:left;
}
.news-thumb img{
	width:100%;
	height:auto;
	display:block;
}
.news-right{
	float:right;
	width:66.14%;
	border-bottom:2px solid #d1d3d4;
	min-height:160px;
}
.news-right header{
	font:700 14px/17px 'Cabin';
}
.news{
	margin-bottom:20px;
}
.page-numbers{
	display:inline-block;
	width:15px;
	font:13px/15px 'Cabin';
	background:#dcddde;
	color:#333645;
	text-align:center;
	vertical-align:top;
	height:15px;
}
.page-numbers:hover, .page-numbers.current{
	background:#c1c2c2;
	color:#333645;
	text-decoration:none;
}
.page-numbers.next,.page-numbers.prev{
	font-size:20px;
	line-height:12px;
	font-weight:700;
}
#news-pagination{
	text-align:right;
}
.news-single header{
	font:700 14px/17px 'Cabin';
}
.news-image{
	margin-bottom:15px;
}
.news-image img{
	max-width:100%;
	height:auto;
	display:block;
}

/* apply now */
#content .gform_wrapper{
	max-width:345px;
}
.gform_wrapper li{
	list-style:none !important;
}
.gform_wrapper li:before{
	display:none !important;
}
#content .gform_wrapper .blue{
	list-style:none;
	background:#1f82c3;
	margin:0;
	padding:0 15px 12px;
}
#content .gform_wrapper ul .blue:first-child{
	padding-top:20px;
}
#content .gform_wrapper ul .blue:nth-child(5){
	padding-bottom:20px;
}
#content .gform_wrapper .blue .gfield_label{
	color:#fff;
	font:400 14px/30px 'Cabin';
	width:75px;
	margin:0;
}
.gfield_required{
	color:#fff !important;
}
.ginput_container{
	margin: 0 !important;
}
#content .gform_wrapper input[type='text'],#content .gform_wrapper input[type='email']{
	width:240px;
	border:none;
	height:30px;
}
#content .gform_wrapper textarea{
	width:240px;
	border:none;
	height:160px;
}
#content .gform_wrapper ul li{
	padding:0;
	margin:15px 0;
}
#content .gform_wrapper .gfield_label{
	width:115px;
	margin:0;
	font:400 14px/20px 'Cabin';
	color:#414042;
}
#content .gform_wrapper input[type='file']{
	width:220px;
}
#content .gform_wrapper input[type='submit']{
	width:100%;
	border:none;
	height:30px;
	font:400 14px/30px 'Cabin';
	color:#414042;
	background:#e4e5e6 url(images/arrow-dark.png) no-repeat right 70px center;
	cursor:pointer;
}
#content .gform_wrapper .gform_footer{
	padding:0;
	margin:30px 0 0;
	width:100%;
}

/* contact */
#contact-form{
	width:345px;
	float:left;
}
#header-map iframe{
	height:360px;
	width:100%;
}
#right-contact{
	float:right;
	width:635px;
}
#content #contact-form .gform_wrapper .gform_footer{
	margin-top:0;
}
#content #contact-form .gform_wrapper input[type='submit']{
	background-position:right 115px center;
}
.office-address{
	margin-bottom:20px;
}
#clients-map{
	position:relative;
	width:990px;
}
#clients-map img{
	display:block;
	width:100%;
}
#qld-area{
	position:absolute;
	top:404px;
	right:100px;
	z-index:10;
	display:block;
	width:30px;
	height:35px;
}
#nsw-area{
	position:absolute;
	top:440px;
	right:102px;
	z-index:10;
	display:block;
	width:20px;
	height:200px;
}
article {
	margin:20px 0;
}
#mini-map{
	display:none;
}

/* management team */
.management-heading{
	color:#1f82c3;
	margin: 15px 0 7px;
}
.team header{
	border-top:1px solid #d1d3d4;
	padding:7px 0;
	cursor:pointer;
}
.team.active header{
	background:#e6e7e8;
}
.management-wrapper .team:last-child header{
	border-bottom:1px solid #d1d3d4;
}
.team .introduction{
	display:none;
}
.team.active .introduction{
	display:block;
}

#mobile-menu-wrapper,#mobile-menu,#menu-open-wrapper .linkedin{display:none;}

/* 1024 */
@media screen and (max-width:1024px){
	.nav-menu li {
		margin-right:20px;
		text-align:left;
	}
	.nav-menu li a {
		padding-left:15px;
		padding-right:15px;
	}
	.nav-menu{
		text-align:center;
	}
	#slide-next,#slide-prev{
		display:none !important;
	}
	.slide-content {
		padding-left:20px;
	}
	.slide-content p {
		font-size:22px;
	}
	#slide-pagination{
		left:20px;
	}
	#right-contact{
		width:345px;
		float:left;
	}
	#contact-form{
		margin-right:30px;
	}
	#gallery .image {
		margin:0 7px 15px !important;
	}
}

@media screen and (max-width:860px){
	.nav-menu li {
		margin-right:10px;
	}
	.nav-menu li a {
		padding-left:10px;
		padding-right:10px;
	}
	.header-info h2 {
		font-size:24px;
		line-height:30px;
		margin-bottom:10px;
	}
	.header-info {
		width:325px;
	}
	#header-image {
		height:300px;
	}
	#header-logo{
		width:250px;
		margin-top:15px;
	}
	#masthead{
		padding-top:0;
	}
	#right-contact{
		width:280px;
	}
	#contact-form{
		margin-right:20px;
	}
	#home-our-services .content {
		font-size:14px;
		line-height:17px;
		min-height:440px;
	}
	#home-who-we-are .content {
		min-height:440px;
	}
	#home-our-services,#home-who-we-are,#home-brochure{
		width:300px;
		float:none;
		display:inline-block;
		vertical-align:top;
		text-align:left;
	}
	#home-who-we-are{
		margin-right:0;
	}
	body{
		font-size:13px;
		line-height:16px;
	}
	.f-right,.f-left {
		float:none;
		margin-left:auto;
		margin-right:auto;
	}
	#design-by{
		text-align:center;
	}
	#clients-map{
		width:100%;
	}
	#mini-map{
		display:block;
	}
	#mini-map h3{
		margin:20px 0 5px;
	}
	#mini-map img{
		width:100%;
		display:block;
	}
}

@media screen and (max-width:700px){
	
	#primary-navigation{
		display:none;
	}
	#contact-form ,#right-contact{
		float:none;
		width:300px;
		margin-left:auto;
		margin-right:auto;
	}
	#content #contact-form .gform_wrapper input[type="submit"]{
		background-position: right 95px center;
	}
	#content .gform_wrapper input[type="text"], #content .gform_wrapper input[type="email"], #content .gform_wrapper textarea{
		width:205px;
	}
	#content .gform_wrapper .blue {
		padding:0 10px 10px;
	}
	#header-image{
		height:285px;
	}
	.slide {
		height:285px;
	}
	.slide-content{
		display:none;
	}
	#slideshow-wrapper{
		height:285px;
	}
	#mobile-menu-wrapper{
		position:relative;
	}
	#menu-open-wrapper {
		padding:0 20px;
	}
	#menu-open-wrapper .linkedin{
		float:right;
		margin-top:10px;
	}
	#mobile-menu-wrapper{
		display:block;
	}
	#mobile-menu-open{
		display:block;
		float:right;
		margin:10px 0 0;
	}
	.menu-toggle{
		width:40px;
		padding:4px;
		background:#000;
		border-radius:5px; 
		-moz-border-radius:5px; 
		-webkit-border-radius:5px;
	}
	.menu-toggle span{
		display:block;
		height:4px;
		background:#fff;
		margin:4px 0;
		border-radius:5px; 
		-moz-border-radius:5px; 
		-webkit-border-radius:5px;
	}
	#mobile-menu{
		position:absolute;
		top:46px;
		left:0;
		width:100%;
		background:#fff;
		z-index:500;
	}
	#mobile-menu.active{
		display:block;
	}
	#mobile-menu .sub-menu{
		display:none;
	}
	#mobile-menu .sub-menu.active{
		display:block;
	}
	#mobile-menu li{
		list-style:none;
		background:#000;
		margin-bottom:1px;
		position:relative;
	}
	#mobile-menu .current-menu-item{
		background:#95b645 !important;
	}
	#mobile-menu li a{
		color:#fff;
		display:block;
		text-transform:uppercase;
		font:16px/38px 'Cabin';
		margin:auto;
		text-align:center;
		max-width:300px;
	}
	#mobile-menu .sub-menu li{
		background:#333132;
		border-top:1px solid #fff;
		min-height:38px;
	}
	#mobile-menu  ul li:nth-child(3) .sub-menu  li a{
		line-height:19px;
	}
	#mobile-menu  ul li:nth-child(3) .sub-menu  li{
		padding:5px 0;
	}
	#mobile-menu .sub-menu-open{
		position:absolute;
		right:100px;
		top:0;
		z-index:1;
		width:50px;
		height:38px;
		background:url(images/arrow-white.png) no-repeat center center;
		background-size:20px auto;
	}
	#header-map iframe{
		height:280px;
	}
	
}

@media screen and (max-width:640px){
	.language{
		min-width:auto;
		float:none;
		display:block;
		text-align:center;
	}
	.header-info{
		display:none;
	}
	#header-logo{
		float:none;
		margin:15px auto 10px;
		width:200px;
	}
	#menu-open-wrapper .linkedin{
		display:block;
	}
	#menu-open-wrapper {
		max-width:340px;
		margin:0 auto;
	}
	#home-content{
		text-align:center;
	}
	#home-our-services,#home-who-we-are,#home-brochure{margin-right:0;}
	.side-menu{
		float:none;
		width:auto;
	}
	.right-content {
		width:100%;
		float:none;
	}
	#service-wrapper li {
		float:none;
		display:inline-block;
		text-align:left;
	}
	#service-wrapper{
		text-align:center;
	}
	.news-thumb {
		float:none;
		width:100%;
		max-width:200px;
		margin:0 0 15px;;
	}
	.news-right{
		float:none;
		width:100%;
		border-bottom:none;
		min-height:auto;
	}
	.news{
		margin-left:auto;
		margin-right:auto;
		width:100%;
	}
	#news-content .right-content{
		max-width:300px;
		margin:auto;
	}
	#gallery .image {
		display:inline-block;
		float:none;
	}
	#gallery{
		text-align:center;
	}
}

@media screen and (max-width:480px){
	#mobile-menu .sub-menu-open{
		right:60px;
	}
}

















