modal.main-content {
	padding: 0;
}

.block-content1 .content-inner {
    padding-bottom: 34%;
    text-align: center;
}
.block-content1 h2 {padding-bottom: 26px;}
.block-content1 h3 {padding-bottom: 30px; line-height: 32px;}

.block-buying .content-inner, .block-selling .content-inner,
.block-agent .content-inner, .block-ownership .content-inner {
    position: absolute;
    left: 85px;
    bottom: 106px;
}
.block-buying h2, .block-selling h2,
.block-agent h2, .block-ownership h2 {
    padding-bottom: 8px;
}
.block-buying h3, .block-selling h3,
.block-agent h3, .block-ownership h3 {
    padding-bottom: 40px;
}

.block-content2 {clear: both;}
.block-content2 .content-inner {
    padding-bottom: 21%;
    text-align: center;
}
.block-content2 h2 {font-size: 15px; text-transform: uppercase;}
.block-content2 h3 {font-size: 40px; padding-bottom: 30px;}
/* Map block styles */
.block-map {
    background-color: #5577a8;
    clear: both;
}
.block-map .content-text {
    text-align: center;
}
.block-map .content-text h2, .block-map .content-text h3 {
    margin: 0;
    color: #FFFFFF;
    font-family: 'Ubuntu_light';
    font-weight: normal;
}
.block-map .content-text h2 {
    padding-top: 68px;
    font-size: 40px;
}
.block-map .content-text h3 {
    padding: 24px 0 36px 0;
    font-size: 22px;
    line-height: 32px;
}
.block-map .map-frame {
    width: 100%;
    position: relative;
    padding: 0 6% 70px 6%;
}
.block-map .map-frame-pin {
    width: 18px;
    height: 39px;
    background: url('../img/map-pin-with-shadow-green.png');
    position: absolute;
    z-index: 4;
}
.block-map .map-frame-pin.btm-left-pin {
    bottom: 77px;
    margin-left: 9px;
}
.block-map .map-frame-pin.btm-right-pin {
    bottom: 77px;
    right: 6%;
}
.block-map .map-frame-pin.top-left-pin {
    top: 0;
    margin-left: 8px;
}
.block-map .map-frame-pin.top-right-pin {
    top: 0;
    right: 6%;
}
.block-map .map-frame .map-background {
    position: relative;
    width: 100%;
    z-index: 2;
}
#mapContainer {
    height: 82%;
    position: absolute;
    right: 7%;
    top: 3%;
    width: 86%;
    z-index: 3;
}
/* Homepage Carousel */
.searchBar {
	z-index: 2;
}
.content-block .flexslider .slides {
	margin-bottom: -1px;
}
.content-block .flexslider {
	border: none;
	margin: 0;
	border-radius: 0;
	box-shadow: none;
}
.direction-nav span {
	display: block;
	font-size: 50px;
	/* This is perfectly centered but it doesn't look it due to the layout */
	/*margin: -25px 0 0; */
	margin: -50px 0 0;
	position: absolute;
	top: 50%;
	z-index: 2;
	color: #fff;
}
.direction-nav span:hover {
	cursor: pointer;
}
.direction-nav span.icon-arrow-back {
	left: 25px;
}
.direction-nav span.icon-arrow-forward {
	right: 12px;
}
.item-location {
	position: absolute;
	right: 75px;
	bottom: 45px;
	opacity: 0.9;
	text-shadow: 0px 4px 3px rgba(0, 0, 0, 0.4), 0px 8px 13px rgba(0, 0, 0, 0.6), 0px 18px 23px rgba(0, 0, 0, 0.7);
}
.item-location:hover {
	text-decoration: none;
}
.item-location h2,
.item-location ul > li {
	font-family: 'Ubuntu_light';
	color: #fff;
	font-size: 22px;
	line-height: 24px;
	text-shadow: 4px 4px 3px rgba(0, 0, 0, 0.4), 8px 8px 13px rgba(0, 0, 0, 0.6), 18px 18px 23px rgba(0, 0, 0, 0.7);
}
.item-location h2 {
	margin: 0 0 9px;
	text-align: right;
}
.item-location ul > li {
	font-size: 16px;
	line-height: 18px;
	float: left;
	display: inline-block;
	padding: 0 5px;
	text-shadow: 0px 4px 3px rgba(0, 0, 0, 0.4), 0px 8px 13px rgba(0, 0, 0, 0.6), 0px 18px 23px rgba(0, 0, 0, 0.7);
}
.item-location ul > li.last {
	padding-right: 0;
}
.item-location ul > li + li {
	border-left: 1px solid #fff;
}
.item-location ul {
	float: right;
	margin: 0;
}
/* Fixes the flexslider flash issue */
.flexslider.loading .slides > .item:first-child {
	opacity: 1 !important;
}
h2.map-info-title {
    font-family: 'Ubuntu_regular';
    font-size: 18px;
    color: #4077cd;
    font-weight: normal;
    margin: 0;
    padding: 0;
}
p.map-info-text {
    font-size: 12px;
    font-family: arial, helvetica, sans-serif;
    color: #002a76;
    display: block;
    width: 250px;
    margin-bottom: 5px;
}
.tooltip-modal-trigger {
    position: absolute;
    left: -50px;
}
.item-location {
	display: none;
}
@media only screen and (max-width:1283px){
	.main-content {
		padding: 0;
	}
}
@media all and (min-width: 768px)	{
	/* logo */
	.brand {
		background: url(../../images/CBDHR_logo_white.png) no-repeat;
		background-size: 157px 105px ;
		height: 105px;
		width: 157px;
		position: relative;
		top: 20px;
		left: 20px;
		z-index: 10;
	}
	.search-form-home h1 {
	font-size: 54px; /* was set to 64 but I think it needs a different font */
	line-height: 68px;
	display: inline-block;
	/*margin-right: 344px;*/
	}
	.search-form h1{
	margin: 0 0 8px;
	color: #fff;
	font: 54px/60px 'Ubuntu_light', Arial, Helvetica, sans-serif;
	text-shadow: 0px 4px 3px rgba(0, 0, 0, 0.6), 0px 8px 13px rgba(0, 0, 0, 0.3), 0px 18px 23px rgba(0, 0, 0, 0.3)
	}
}
@media all and (min-width: 578px)and (max-width: 767px)	{
	.brand {
		background: url(../../images/CBDHR_logo_white.png) no-repeat;
		background-size: 75px 50px ;
		height: 50px;
		width: 75px;
		position: relative;
		top: 2vw;
		left: 2vw;
		z-index: 10;
	}
	.search-form-home h1 {
	font-size: 54px; /* was set to 64 but I think it needs a different font */
	line-height: 68px;
	display: inline-block;
	/*margin-right: 344px;*/
	}
	.search-form h1{
	margin: 0 0 8px;
	color: #fff;
	font: 54px/60px 'Ubuntu_light', Arial, Helvetica, sans-serif;
	text-shadow: 0px 4px 3px rgba(0, 0, 0, 0.6), 0px 8px 13px rgba(0, 0, 0, 0.3), 0px 18px 23px rgba(0, 0, 0, 0.3)
	}
}

@media all and (max-width: 577px)	{
	.brand {
		background: url(../../images/CBDHR_logo_white.png) no-repeat;
		background-size: 45px 30px ;
		height:30px;
		width: 45px;
		position: relative;
		top: 2vw;
		left: 2vw;
		z-index: 10;
	}
	.search-form-home h1 {
	font-size: 54px; /* was set to 64 but I think it needs a different font */
	line-height: 68px;
	display: inline-block;
	/*margin-right: 344px;*/
	}
	.search-form h1{
	margin: 0 0 8px;
	color: #fff;
	font: 54px/60px 'Ubuntu_light', Arial, Helvetica, sans-serif;
	text-shadow: 0px 4px 3px rgba(0, 0, 0, 0.6), 0px 8px 13px rgba(0, 0, 0, 0.3), 0px 18px 23px rgba(0, 0, 0, 0.3)
	}
}