/* Header */

div#widget-building-header {
	position: relative;
}

div#widget-building-header div#widget-building-header-address-container {
	width: 450px;
	float: left;
}

div#widget-building-header h1#widget-building-header-address {
	font-family: MuseoSlab-500, Tahoma, Verdana, sans-serif;
	position: relative;
	overflow: hidden;
	white-space: nowrap;
}

div#widget-building-header div#widget-building-header-earmark-container {
	width: 315px;
	margin: 0 0 0 15px;
	float: left;	
}

div#widget-building-header div#widget-building-header-earmark-container .box {
	position: relative;	
}

div#widget-building-header div#widget-building-header-earmark-container .box .pin {
	position: absolute;
	right: 8px;
	top: -13px;
	width: 41px;
	height: 36px;
	background-image: url('building/header/pin.png');
	background-repeat: no-repeat;
}

div#widget-building-header div#widget-building-header-facebook {
	position: absolute;
	left: 345px;
	top: 30px;
	height: 21px;
	width: 130px;
}





/* Image */

div#widget-building-image {
	width: 550px;
	height: 450px;
	overflow: visible;
}

div#widget-building-image div#widget-building-image-media-container {
	width: 535px;
	height: 400px;
	padding: 8px;
}

div#widget-building-image div#widget-building-image-medias {
	position: relative;	
	width: 100%;
	height: 100%;
}

div#widget-building-image div#widget-building-image-medias .media {
	display: none;
	position: absolute;
	border: 8px solid #e4e4e4;
	background-color: #e4e4e4;
	max-width: 100%;
	max-height: 100%;
	margin: -8px;
	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.5);
}

div#widget-building-image div#widget-building-image-medias .media.selected {
	display: block;
}

div#widget-building-image div#widget-building-image-medias .media.oblique-map {
	display: block;
	margin: -8px -8px -8px -1008px; /* Move away - can not be hidden because otherwise iframe would not load */
	width: 100%;
	height: 100%;
}

div#widget-building-image div#widget-building-image-medias .media.selected.oblique-map {
	margin: -8px;
}

div#widget-building-image div#widget-building-image-medias .media img {
	border: 0;
	cursor: pointer;	
}

div#widget-building-image div#widget-building-image-medias .media iframe {
	border: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

div#widget-building-image div#widget-building-image-medias .media .iframe-blocker {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;	
}

div#widget-building-image div#widget-building-image-medias .media.placeholder img {
	cursor: default;	
}





/* Thumbnails */

div#widget-building-thumbnails {
	overflow: hidden;
	width: 180px;
	padding: 0 5px;
}

div#widget-building-thumbnails div#widget-building-thumbnails-medias {
	overflow: hidden;
	width: 200px;
	margin: 0 -20px 0 0;
}

div#widget-building-thumbnails div#widget-building-thumbnails-medias .media {
	float: left;
	width: 72px;
	height: 52px;
	border: 4px solid #e4e4e4;
	margin: 0 20px 15px 0;
	background-color: #e4e4e4;
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.5);
}

div#widget-building-thumbnails div#widget-building-thumbnails-medias .media img {
	width: 72px;
	height: 52px;
	border: 0;
	cursor: pointer;
}





/* Prices */

#widget-building-prices {
	color: #fff;
	width: 290px;
}

#widget-building-prices h3.heading3-2 {
	color: #fff;
}





/* Price estimates */

#widget-building-price-estimates {
	position: relative;
	padding: 70px 0 0 320px;
	width: 460px;
	overflow: visible;
}

img#widget-building-price-estimates-magnifier,
#widget-building-price-estimates h2 {
	position: absolute;
	left: 0;
}

#widget-building-price-estimates h2 {
	top: 5px;
}

#widget-building-price-estimates h4#widget-building-price-estimates-additional-header {
	position: absolute;
	left: 0;
	top: 35px;
	padding: 0 2px;
}

#widget-building-price-estimates #widget-building-price-estimates-explain {
	position: absolute;
	right: 0;
	top: 30px;
}

img#widget-building-price-estimates-magnifier {
	position: absolute;
	left: -20px;
	top: 75px;
}

#widget-building-price-estimates div.box-heading {
	margin-bottom: 0;
}

#widget-building-price-estimates-table-header {
	line-height: 26px;	
}

#widget-building-price-estimates table td,
#widget-building-price-estimates table th {
	line-height: 26px;
	font-size: 14px;
}





/* Brokers */

div#widget-building-brokers ul#widget-building-brokers-list {
	display: block;
	list-style: none;
	padding: 0;
	margin: 0 -15px;
	overflow: hidden;
	width: 810px;
}

div#widget-building-brokers ul#widget-building-brokers-list li.broker {
	display: block;
	margin: 0;
	padding: 18px;
	float: left;
	width: 126px;
	height: 230px;
}

div#widget-building-brokers div.broker-image-container {
	position: relative;
	overflow: hidden;
	width: 120px;
	height: 120px;
	margin: 0 0 15px 0;
	border: 3px solid #fff;
	border-radius: 2px;
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}

div#widget-building-brokers div.company-logo-container {
	position: absolute;
	width: 120px;
	height: 20px;
	left: 0;
	top: 90px;
}

div#widget-building-brokers div.company-logo-container img {
	display: block;
	margin: 0 auto;	
}

div#widget-building-brokers div.broker-information {
	height: 64px;
	overflow: hidden;
}

div#widget-building-brokers div.broker-name {
	font-weight: bold;
}

div#widget-building-brokers a#widget-building-brokers-banner {
	display: block;
	width: 780px;
	height: 72px;
	position: relative;
	margin: 20px 0 0 0;
}

div#widget-building-brokers a#widget-building-brokers-banner span {
	display: block;
	position: absolute;
	left: 1px;
	top: -20px;
	width: 778px;
	height: 111px;
}

div#widget-building-brokers a#widget-building-brokers-banner.sell span {
	background-image: url('building/brokers/banner.png'); 
}

div#widget-building-brokers a#widget-building-brokers-banner.sahko span {
	background-image: url('building/brokers/sahko.png'); 
}

/* add carusel elements here */


/* Price history development */

div#widget-building-price-history-development {
	position: relative;	
}

div#widget-building-price-history-development #widget-building-price-history-development-explain {
	position: absolute;
	right: 30px;
	top: 50px;
}

div#widget-building-price-history-development-graph {
	height: 400px;	
}

div#widget-building-price-history-development-data {
	margin: 20px 0 0 0;
}
div#widget-building-price-history-development-data .data-title{
	font-weight: bold;
}




/* Price history */

div#widget-building-price-history {
	position: relative;	
}

div#widget-building-price-history #widget-building-price-history-explain {
	position: absolute;
	right: 30px;
	top: 50px;
}

div#widget-building-price-history .information-table-box th,
div#widget-building-price-history .information-table-box td {
	width: 150px;
}




/* Map */

#widget-building-map div#widget-building-map-map-container {
	position: relative;
	overflow: hidden;
	height: 280px;
	width: 764px;
	background-color: #000;
	margin: 0 0 15px 0;
	border: 8px solid #fff;
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.5);
}

#widget-building-map div#widget-building-map-map {
	height: 280px;
	width: 764px;
	overflow: hidden;
}

#widget-building-map a.widget-building-map-map-link {
	display: block;
	height: 280px;
	width: 764px;
	overflow: hidden;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 1000000;
}





/* Information title */

#widget-building-information-title {
	width: 780px;	
}





/* Nearest services */

div#widget-building-nearest-services ul#widget-building-nearest-services-list {
	display: block;
	list-style: none;
	padding: 0;
	margin: 0 -5px;
	overflow: hidden;
	width: 790px;
}

div#widget-building-nearest-services ul#widget-building-nearest-services-list li.service {
	position: relative;
	display: block;
	margin: 0;
	padding: 25px 20px 25px 165px;
	float: left;
	width: 210px;
	height: 110px;
}

div#widget-building-nearest-services div.service-image-container {
	position: absolute;
	left: 5px;
	top: 5px;
	overflow: hidden;
	width: 120px;
	height: 120px;
	background-color: #fff;
	border: 3px solid #fff;
	border-radius: 2px;
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}

div#widget-building-nearest-services div.service-image-container a {
	display: block;
	width: 120px;
	height: 120px;
}

div#widget-building-nearest-services div.service-image-container a img {
	border: 0;
}





/* Other information */

div#widget-building-other-information .box + .box {
	margin-top: 20px !important;
}

div#widget-building-other-information a#provide-additional-info {
	width: 340px;
	text-align: center;
}





/* Services */

#widget-building-services ul#widget-building-services-tabs {
	display: block;
	list-style: none;
	width: 800px;
	height: 140px;
	margin: 20px -20px 20px 0;
	padding: 0;
}
	
#widget-building-services ul#widget-building-services-tabs .tab {
	display: block;
	margin: 0 20px 0 0;
	padding: 0;
	float: left;
	width: 140px;
	height: 140px;
}

#widget-building-services ul#widget-building-services-tabs .tab .tab-service {
	width: 140px;
	height: 140px;
	background-color: #313131;
	border-radius: 8px;	
	-moz-border-radius: 8px;	
	-webkit-border-radius: 8px;	
	cursor: pointer;
	overflow: hidden;
	background-image: linear-gradient(top, #313131 0%, #1e1e1e 100%);
	background-image: -o-linear-gradient(top, #313131 0%, #1e1e1e 100%);
	background-image: -moz-linear-gradient(top, #313131 0%, #1e1e1e 100%);
	background-image: -webkit-linear-gradient(top, #313131 0%, #1e1e1e 100%);
	background-image: -ms-linear-gradient(top, #313131 0%, #1e1e1e 100%);
	user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
}

#widget-building-services ul#widget-building-services-tabs .tab .tab-service-inner {
	width: 140px;
	height: 140px;
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAYAAABWKLW/AAAAFUlEQVQImWNggIL///874GAwMDAAAMDzCbh21A5TAAAAAElFTkSuQmCC);	
}

#widget-building-services ul#widget-building-services-tabs .tab .tab-service-innest {
	background-position: 0 0;
	background-repeat: no-repeat;
	width: 130px;
	height: 40px;
	padding: 90px 5px 10px 5px;
	text-align: center;
	color: #fff;
	font-weight: bold;
	line-height: 18px;
}

#widget-building-services ul#widget-building-services-tabs #tab-service-1 .tab-service-innest {
	background-image: url('building/services/service1.png');
}

#widget-building-services ul#widget-building-services-tabs #tab-service-2 .tab-service-innest {
	background-image: url('building/services/service2.png');
}

#widget-building-services ul#widget-building-services-tabs #tab-service-3 .tab-service-innest {
	background-image: url('building/services/service3.png');
}

#widget-building-services ul#widget-building-services-tabs #tab-service-4 .tab-service-innest {
	background-image: url('building/services/service4.png');
}

#widget-building-services ul#widget-building-services-tabs #tab-service-5 .tab-service-innest {
	background-image: url('building/services/service5.png');
}

#widget-building-services ul#widget-building-services-tabs .tab.selected .tab-service {
	background-color: #f48300;
	background-image: linear-gradient(top, #f48300 0%, #d95100 100%);
	background-image: -o-linear-gradient(top, #f48300 0%, #d95100 100%);
	background-image: -moz-linear-gradient(top, #f48300 0%, #d95100 100%);
	background-image: -webkit-linear-gradient(top, #f48300 0%, #d95100 100%);
	background-image: -ms-linear-gradient(top, #f48300 0%, #d95100 100%);
	cursor: default;
}

#widget-building-services ul#widget-building-services-tabs .tab.selected .tab-service-innest {
	background-position: -140px 0;
}

#widget-building-services #widget-building-services-container {
	min-height: 485px;
	position: relative;
}

#widget-building-services #widget-building-services-container h3,
#widget-building-services #widget-building-services-container table th {
	font-family: Arial, sans-serif;
	font-size: 16px;
	font-weight: bold;
	color: #333;
	line-height: 22px;	
}

#widget-building-services .widget-building-services-heading {
	padding: 5px 0;
}

#widget-building-services #widget-building-services-list {
	/* width: 290px; */
}

#widget-building-services #widget-building-services-list .tab-content {
	margin-left: -15px;
	margin-right: -15px;
}

#widget-building-services #widget-building-services-list table {
	/*width: 305px;*/
	width: 100%;
	/*margin: 0 0 0 -15px;*/
}

#widget-building-services #widget-building-services-map {
	width: 445px;
	height: 485px;
	position: absolute;
	top: 15px;
	right: 20px;
}

#widget-building-services #widget-building-services-map-map {
	width: 445px;
	height: 445px;
	position: relative;
	overflow: hidden;
}
	
#widget-building-services #widget-building-services-list tr.selected td {
	background-color: #fb8f2b !important;
}

#widget-building-services #widget-building-services-map-map .marker5.selected {
	box-shadow: 0 0 5px 5px #fb8f2b;
	-moz-box-shadow: 0 0 5px 5px #fb8f2b;
	-webkit-box-shadow: 0 0 5px 5px #fb8f2b;
	z-index: 1500;
}

#widget-building-services #widget-building-services-list th.title {
	width: 285px;
}





/* BuildingTransportation */

#widget-building-transportation .traveltime div {
	display: inline-block;
	width: 230px;
	height: 50px;
	vertical-align: bottom;
}

#widget-building-transportation .heatmap {
	width: 810px;
	margin: 30px -15px 0 -15px;
}

#widget-building-transportation .heatmap img {
	border: 0;	
}

/* Electricity comparison */

#widget-building-electricity-comparison .widget-building-electricity-comparison-box-mini {
	width: 335px;
	height: 125px;
	padding: 19px;
	background-color: #fff;
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.25);
	-moz-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.25);
	-webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.25);
}

#widget-building-electricity-comparison img {
	float: right;
	border: 0px;
}