.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
 
.clearfix {
	display: inline-block;
}

.desktop {
	display: block;
}

.mobile {
	display: none;
}

._hidden {
	display: none;
}

.visible {
	visibility: visible;
}

.invisible {
	visibility: hidden;
}

.mobile {
	display: none;
}

.left {
	float: left;
}

.right {
	float: right;
}

.row {
	position: relative;
	clear: both;
	width: 100%;
}

.last {
	margin: 0!important;
}

img {
	max-width: 100%;
	height: auto;
}
#map_canvas img { max-width: none; } /* fix the google map issue */

/* custom styling */
body {
	background: #ccc;
}

.background {
	position: fixed;
	top: 0;
	left: 0; 
	width: 100%; 
	height: 100%; 
	z-index: -1; 
}

#background_gradient {
	width: 100%;
	height: 300px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
	background: -webkit-linear-gradient(bottom, rgba(255,255,255,0), rgba(255,255,255,1));
	background: -o-linear-gradient(bottom, rgba(255,255,255,0), rgba(255,255,255,1));
	background: -moz-linear-gradient(bottom, rgba(255,255,255,0), rgba(255,255,255,1));
	background: linear-gradient(bottom, rgba(255,255,255,0), rgba(255,255,255,1));
}

.wrapper, 
footer p {
	max-width: 1101px;
	margin: 0 auto;
}

header.grid {
	position: relative;
	z-index: 0;
}

header.grid {
	width: 100%;
	padding-top: 30px;
}

header.grid #logo {
	margin-left: 20px;
}

header.grid #logo a {
	background: url(../images/logo_2x.png) no-repeat 0 0 / 307px 80px;
	text-indent: -999px;
	overflow: hidden;
}

header.grid nav {
	margin-right: 40px;
	display: block;
}

header.grid #logo, 
header.grid #logo a, 
header.grid #logo img {
	display: block;
	width: 307px;
	height: 80px;
}

header.grid nav a {
	margin-right: 24px;
}

header.grid nav a.social_icon, 
header.grid nav a.social_icon img {
	width: 21px;
	height: 20px;
	display: inline-block;
	margin-right: 6px;
}

section.content {
	margin: 40px 0;
	position: relative;
}

footer {
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	color: #fff;
	background: rgba(0,0,0,0.4);
	padding: 0 20px;
	box-sizing: border-box;
	z-index: 0;
}

/* common styling */
section.content .panel {
	padding: 40px;
	/*opacity: 0.8;*/
	box-sizing: border-box;
}

section.content .left.grid {
	width: 549px;
}

section.content .left.grid .panel.row {
	margin-bottom: 0.2%;
}

section.content .left.grid {
	overflow: auto;
	position: relative;
}

section.content .panel.grey {
	/*background: #333333;*/
	background: rgba(51,51,51,0.8);
}

section.content .panel.grey li {
	border-bottom: 1px solid #B3B3B3;
}

section.content .panel.black {
	/*background: #000;*/
	background: rgba(0,0,0,0.2);
}

section.content .panel.white {
	background: rgba(255,255,255,0.8);
}

section.content .modal {
	z-index: 99;
}

section.content.home {
	padding-left: 40px;
}

section.content.home h1 {
	/*padding: 30px;*/
	/*background: rgba(255,255,255,0.4);*/
}

section.content.our_approach .row .panel.left, 
section.content.our_approach .row .panel.right {
	width: 49.956%;
	overflow: auto;
}

section.content.our_approach .row ul {
	border-top: 1px solid #B3B3B3;
	width: 50%;
}

section.content.about_us {
	/*width: 549px;*/
	width: 100%;
}

section.content.about_us .left.grid figure img {
	max-height: 380px;
	min-height: 110px;
}

section.content.about_us .left.grid, 
section.content.about_us .right.grid {
	width: 49.956%;
}

section.content.about_us .left.grid .row {
	height: 49.99%;
}

section.content.about_us .left.grid .row#paul-hanley {
	position: absolute;
	
}
section.content.about_us .left.grid .row#paul-hanley2 {
	position: absolute;
}

section.content.about_us .left.grid .row#damian-pilat {
	position: absolute;
}
section.content.about_us .left.grid .row#damian-pilat2 {
	position: absolute;
}
section.content.about_us .left.grid .row#damian-pilat3 {
	position: absolute;
}

section.content.about_us .arrow {
	position: absolute;
	bottom: 40px;
	right: 40px;
}

section.content.about_us .arrow a {
	display: block;
	width: 21px;
	height: 26px;
	overflow: hidden;
	text-indent: -99px;
}

section.content.about_us .arrow a.arrow_right {
	background: url(../images/double_arrow_right.png) no-repeat 0 0 / 21px 26px;
}

section.content.about_us .arrow a.arrow_left {
	background: url(../images/double_arrow_left.png) no-repeat 0 0 / 21px 26px;
}

section.content.about_us .right.grid .panel.text {
	overflow: auto;
}

section.content.markets {
	width: 100%;
}

section.content.markets dd {
	color: #000;
}

section.content.markets dd:after {
	content: " | ";
	color: #fff;
}
section.content.markets dd.last:after {
	content: " ";
}

section.content.markets .panel.google_map {
	padding: 0;
	display: block;
	z-index: 0;
	/*height: 456px;*/
}

section.content.markets .panel .left p {
	font-size: 1.4em;
}

section.content.markets .google_map #map_canvas {
	top: 0;
	left: 0;
	z-index: 0;
	height: 450px;
}


section.content.markets .text.row .left, 
section.content.markets .text.row .right {
	width: 49%;
}

section.content.markets dd {
	display: inline-block;
	margin-right: 3px;
}

section.content.markets .google_map {
	position: relative;
	/*padding-bottom: 35%; /* This is the aspect ratio *!/*/
	/*height: 0;*/
	overflow: hidden;
}

section.content.markets .google_map iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}

section.content.markets .modal {
	overflow: scroll;
	-webkit-overflow-scrolling: touch;
}

section.content.markets .modal-content h1 {
	height: 40px;
	padding: 0 40px;
	line-height: 45px;
	text-align: center;
	margin-bottom: 0;
	float: left;
	background: #000;
}

section.content.markets .modal-header figure {
	display: block;
	width: 100%;
	max-height: 530px;
}
section.content.markets .modal-header figure img {
	/*display: none;*/
}

section.content.markets .modal-body {
	-webkit-column-count: 2; /* Chrome, Safari, Opera */
	-moz-column-count: 2; /* Firefox */
	column-count: 2;
	padding: 40px;
}

section.content.markets .modal-footer {
	position: relative;
}

section.content.markets .modal-footer, 
section.content.markets .modal-footer .prev, 
section.content.markets .modal-footer .next {
	height: 44px;
}

section.content.markets .modal-footer .prev, 
section.content.markets .modal-footer .next {
	width: 49.956%;
	text-align: center;
}

section.content.markets .modal-footer .prev {
	position: absolute;
	left: 0;
	bottom: 0;
}

section.content.markets .modal-footer .next {
	position: absolute;
	right: 0;
	bottom: 0;
}

section.content.markets .modal-footer .prev a, 
section.content.markets .modal-footer .next a {
	width: 100%;
	height: 44px;
	line-height: 50px;
	display: block;
}

section.content.markets .modal-footer .prev a {
	background: #000 url("../images/arrow_left.png") no-repeat scroll left 6px top 10px / 14px 25.5px;
}

section.content.markets .modal-footer .next a {
	background: #000 url("../images/arrow_right.png") no-repeat scroll right 6px top 10px / 14px 25.5px;
}

section.content.markets .gm-style-iw #content {
	width: 150px;
	height: 30px;
	padding-left: 10px;
	background: #fff;
}

section.content.contact_us .left.grid {
	width: 100%;
}

section.content.contact_us .left.panel, 
section.content.contact_us .right.panel {
	width: 49.956%;
}

section.content.contact_us dt {
	display: block;
}

section.content.contact_us dd {
	display: inline-block;
}

section.content.contact_us dd.icon_telephone img {
	position: relative;
	top: 5px;
	margin-right: 7px;
}

section.content.contact_us dd.icon_email img {
	position: relative;
	top: 2px;
	margin-right: 7px;
}






















section.content.about_us .modal {
	overflow: auto;
	
	background: #000;
	box-sizing: border-box;
	left: 0!important;
	padding: 40px;
	position: fixed;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 99;
}

#modal_background {
	background:#fff;opacity:0.8;position:fixed;width:100%;height:100%;top:0;left:0;z-index: 0;
}
