* { 
	
}

#maincontent {
	margin: 20px;
}

body {
	/* width: 800px; */
}

#dev {
	background-color: orange;
	color: #FFF;
	padding: 10px;
	font-family: 'futura_ltHeavy';
	text-align: center;
	letter-spacing: 2px;
	font-size: 18px;
}

/* html > body #db-search {
	position: relative;
	width: auto;
	margin: 0px;
	padding: 0px;
	margin-left: 0px;
	padding-left: 0px;
	font-size: 15px;
	color: #777;
	font-family: 'futura_ltBook','Arial';
} */

#db-search {
	position: relative;
}

/* #db-search * {
	font-family: 'futura_ltBook','Arial';
} */

#db-search b, #db-search strong, #db-search strong a {
	/* font-family: 'futura_ltheavy';
	font-weight: normal; */
}

#db-search i, #db-search em {
	/* font-family: 'futura_ltbookoblique';
	font-style: normal; */
}

#db-search strong i,
#db-search strong em,
#db-search b i,
#db-search b em {
	/* font-family: 'futura_ltheavyoblique';
	font-style: normal;	*/
}

#db-search h1 {
	color: #999;
	font-size: 36px;
	font-family: 'futura_ltlight';
	font-weight: normal;
	letter-spacing: 2px;
	margin-top: 0px;
}	

#db-search h2 {
	font-family: "futura_ltlight";
	font-weight: normal;
	font-size: 28px;
}

#db-search h2 a, 
#db-search h2 span {
	font-family: "futura_ltlight;
}

#db-search a {
	color: #4680D0;
	color: #549ad8;
	text-decoration: none;
}

#db-search a:visited {
	color: #4680D0;
}

#db-search a:hover {
	color: #333;
	color: #444;
	text-decoration: none; 
}

#db-search a.selected {
	color: #747474;
	font-family: "futura_ltregular";
}

#db-search a.download {
	display: block;
	float: left;
	margin-left: -5px;
	margin-bottom: 10px;
	padding-top: 22px;
	padding-bottom: 22px;
	padding-left: 70px;
	background-image: url('/images/design/xls_icon.png');
	background-repeat: no-repeat;
}

#db-search .clear {
	clear: both;
}

#db-search .clear.left {
	clear: none;
	clear: left;
}

#db-search .clear.right {
	clear: none;
	clear: right;
}

#db-search hr {
	display: none;
}

div#test {
	position: absolute;
	top: -1px;
	left: 0px;
	float: left;
	padding: 1px 10px 0px 15px;
	color: #FFF;
	background-color: orange;
	z-index: 1000;
	opacity: 0.8;
} 

#db-search .dv {
	color: #c2c2c2;
}

#db-search .price a.request {
	cursor: pointer;
} 

/* MAIN CONTENT
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#db-search {
	position: relative;
	border-top: 1px solid transparent;
	min-height: 460px;
	padding-left: 15px;
	padding-right: 15px;
}

body.iframe #db-search {
	margin-left: 0px;
	margin-right: 0px;
	/* margin-left: -10px;
	margin-right: -10px; */
}

#db-search h3 {
	font-family: 'futura_ltlight';
	font-weight: normal;
}

#db-search ul {
	padding-left: 20px;
}

#db-search ul li {
	margin-bottom: 5px;
}

#db-search .article h2 {
	font-size: 16px;
}

#db-search p {
	text-align: justify;
	font-family: 'futura_ltbook';
	font-size: 16px;
}

/* * * * * * * * * * * * * * * * * * * * * * * * */

table {
	border-collapse: collapse; 
	clear: left;
}

td,th {
	padding: 5px 20px 5px 5px;
}

th {
	border-bottom: 1px solid grey; 
	text-align: left; 
	vertical-align: bottom;
}

th.area {
	min-width: 100px;
}

table th.detailed {
	min-width: 100px;
}

table th.description {
	min-width: 200px;
}

th span { 
	color: #999; 
	font-weight: normal; 
	float: right; 
	font-size: 10px; 
	padding-top: 2px; 
	padding-left: 5px; 
	letter-spacing: 1px;
}

table.sort-id th.id a,
table.sort-new th.updated a,
table.sort-address th.address a,
table.sort-market th.market a,
table.sort-built th.built a,
table.sort-height th.height a,
table.sort-size th.size a,
table.sort-floor th.floor a,
table.sort-spaces th.spaces a {
	text-decoration: underline;	
}

table.sort-num th.address,
table.sort-lng th.address {
	text-decoration: underline;	
}

td {
	vertical-align: top;
} 

td.error {
	color: red;
}

tr.odd td { 
	background-color: #DDD;
} 

td.area {
	white-space: nowrap;
}

td.area span.type {
	color: #999; 
	float: right; 
	display: block; 
	font-size: 10px; 
	padding-top: 2px; 
	letter-spacing: 1px;
} 

td span.empty {
	color: #999;
}

td span.check {
	color: green;
}

td.id { 
	width: 40px;
}

td.name { 
	width: 200px;
}

td.address {
	width: 170px;
}

td.market {
	width: 120px;
}

td.site {
	width: 120px;
}

td.comment {
	width: 300px;
}

tr.odd td.main-image {
	background-color: #999;
}

tr.even td.main-image {
	background-color: #AAA;
}

/* * * * * * * * * * * * * * * * * * * * * * * * */

p.result {
	position: absolute;
	left: 32px;
	top: -8px;
}

/* FORMS 
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

form {
	display: block;
	padding-bottom: 15px;
}

form input.text {
	width: 250px;
	font-size: 16px;
	padding: 3px 6px;
}

form select {
	width: 266px;
	font-size: 16px;
}

form input.submit {
	font-size: 16px;
	width: 85px;
}

form p {
	margin-bottom: 8px;
	margin-top: 0px;
}

form.error-name    	input#name,
form.error-email   	input#email,
form.error-phone   	input#phone,
form.error-message	textarea#message,
form.error-captcha 	input#captcha {
	border-top: 1px solid #eb2e16;
	border-left: 1px solid #eb2e16;	
}

/* FORM SUBMIT */

form div.button.show {
	display: block;
	letter-spacing: 1px;
	background-image: url('../images/button-bg.png');
	background-position: center left;
	margin-top: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 15px;
	padding: 4px 1px 4px 40px; 
	color: #FFF;
	-moz-box-shadow: 1px 1px 1px rgba(0,0,0,0.5);
  	-webkit-box-shadow: 1px 1px 1px rgba(0,0,0,0.5);
  	box-shadow: 1px 1px 1px rgba(0,0,0,0.5);
  	cursor: pointer;
}

form div.button.show:hover {
	background-position: center right;
}

/* THANKS POPUP
 * * * * * * * * * * * * * * * * * * * * * * * * * * */
 
 #thanks {
	display: block;
	position: fixed;
	top: 150px;
	left: 50%;
	z-index: 50;
	color: #FFF;
	background-color: #777;
	width: 400px;
	margin-left: -200px;
	padding: 0px;
	-webkit-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.50);
	-moz-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.50);
	box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.50);
}

#thanks .content {
	margin: 20px;
}

#thanks h2 {
	margin-bottom: 10px;
}

#thanks p {
	text-align: left;
}

#thanks p a {
	color: #FFF;
}

#thanks a.button.close {
	float: right;
	color: #FFF;
	background-color: rgba(160,160,160,0.40);
}

#thanks a.button.close:hover {
	background-color: rgba(160,160,160,0.60);
}

/* PRICE REQUEST
 * * * * * * * * * * * * * * * * * * * * * * * * * * */

#db-search .popup {
	display: none;
	position: fixed;
	top: 200px;
	left: 50%;
	width: 275px;
	padding: 15px;
	margin-left: -152px;
	color: #FFF;
	border: 0px solid #CCC;
	background-color: #638096;
	-webkit-box-shadow: 1px 1px 4px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 1px 1px 4px 0px rgba(0,0,0,0.3);
	box-shadow: 1px 1px 4px 0px rgba(0,0,0,0.3);
	z-index: 1000;
}

#db-search #price-request {
	display: none;
	height: 220px; 
}

#db-search #contact-broker {
	height: 210px; 
}

#db-search .popup > a.close {
	position: absolute;
	top: 5px;
	right: 5px;
	padding: 0px 5px;
	font-size: 16px;
	color: rgba(256,256,256,0.6);
	background-color: transparent;
}

#db-search .popup > a.close:hover {
	color: rgba(256,256,256,1.0);
}

#db-search .popup .thanks a.close {
	border: 0px;
	display: inline-block;
	margin-top: 10px;
	padding: 3px 10px;
	border-radius: 0px;
	background-color: rgba(256,256,256,0.4);
	color: #FFF;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 14px;
}

#db-search .popup .thanks a.close:hover {
	background-color: rgba(256,256,256,0.6);
	cursor: pointer;
}

#db-search .popup p {
	font-size: 12px;
	margin-top: 0px;
	font-family: "Spectral", serif;
	line-height: 16px;
}

#db-search .popup form {
	margin-top: 10px;
}

#db-search .popup .thanks {
	margin-left: 40px;
	margin-top: 50px;
}

#db-search .popup .thanks p {
	font-size: 14px;
	margin-top: 10px;
	font-style: italic;
}

#db-search .popup form .label {
	display: none;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 2px;
	padding-left: 10px;
}

#db-search .popup form input.text {
	font-size: 12px;
	padding: 3px 10px;
	font-family: 'futura_ltHeavy';
}

#db-search .popup form button.submit {
	border: 0px;
	padding: 3px 10px;
	border-radius: 0px;
	background-color: rgba(256,256,256,0.4);
	color: #FFF;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 14px;
	font-family: 'futura_ltheavy';
	font-weight: normal;
	cursor: pointer;
}

#db-search .popup form button.submit:hover {
	background-color: rgba(256,256,256,0.6);
	cursor: pointer;
}

#db-search .popup form span.call {
	font-size: 12px;
	padding-left: 10px;
}

#db-search .popup.success > p {
	display: none;
}

#db-search .popup.success > form {
	display: none;
}

#db-search .popup.success .thanks {
	display: block;
}

/* PRICE REQUEST HELP */

#db-search .price {
	position: relative;
}

#db-search .price .help {
	position: absolute;
	top: -15px;
	right: -9px;
	width: 15px;
	height: 15px;
}

#db-search .price .help .button.open {
	position: absolute;
	top: -2px;
	left: 0px;
	width: 15px;
	height: 15px;
	z-index: 3;
	font-size: 14px;
	font-weight: 400;
	border: 2px solid #FFF;
	background-color: #bdbdbd;
	-webkit-box-shadow: 0px 0px 1px 1px rgba(0,0,0,0.06);
	-moz-box-shadow: 0px 0px 1px 1px rgba(0,0,0,0.06);
	box-shadow: 0px 0px 1px 1px rgba(0,0,0,0.06);
	color: #FFF;
	text-align: center;
	border-radius: 12px;
	opacity: 1;
	cursor: pointer;
	line-height: 16px;
}

#db-search .price .help:hover .button.open {
	opacity: 1.0;
}

#db-search .price .help .content {
	position: absolute;
	display: none;
	opacity: 0;
	top: -1px;
	top: 12px;
	right: -14px;
	width: 220px;
	height: 273px;
	height: 180px;
	z-index: 4;
	background-color: rgba(47,47,47,0.95);
	border-radius: 5px;
	-webkit-box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.3);
	box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.3);	
}

#db-search .price .help .content .text {
	position: absolute;
	top: 0px;
	right: 0px;
	bottom: 0px;
	left: 0px;
	padding: 5px 15px 15px 15px;
	overflow: auto;
	color: #FFF;
	font-size: 12px;
	text-align: left;
	line-height: 14px;
}

#db-search .price .help .content .button.close {
	position: absolute;
	width: 15px;
	height: 15px;
	font-size: 16px;
	font-weight: 400;
	line-height: 15px;
	border: 2px solid #FFF;
	text-align: center;
	border-radius: 14px;
	background-color: #474747;
	z-index: 5;
	cursor: pointer;
	transform: rotate(45deg);
	top: -14px;
	right: 10px;
	color: #FFF;
}

#db-search .price .help .content .text p {
	font-size: 12px;
	line-height: 18px;
	padding-top: 0px;
	margin-top: 0px;
	margin-bottom: 8px;
	font-family: "Spectral", serif;
	text-align: left;
}

#db-search .price .help .content .text ul {
	list-style: square;
	list-style-position: inside;
	margin-left: 0px;
}

#db-search .price .help .content .text ol {
	list-style-position: inside;
	list-style: decimal;
	margin-left: 20px;
	margin-top: 10px;
}

#db-search .price .help .content .text li {
	font-size: 13px;
	font-family: "Spectral", serif;
}

#db-search .price span.price-request {
	position: relative;
}

#db-search .price span.price-request .help {
	position: absolute;
	top: -12px;
	right: 0px;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

a.edit {
	display: inline-block;
	background-color: #FE8709;
	color: #FFF;
	font-size: 12px;
	text-transform: uppercase;
	padding: 3px 0px 1px 0px;
	letter-spacing: 2px;
	width: 40px;
	text-align: center;
}

a.edit:hover {
	background-color: #999;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

.gradient {
  /* fallback */
  background-color: #1a82f7;
  background: url(images/linear_bg_2.png);
  background-repeat: repeat-x;

  /* Safari 4-5, Chrome 1-9 */
  background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#1a82f7), to(#2F2727));

  /* Safari 5.1, Chrome 10+ */
  background: -webkit-linear-gradient(top, #2F2727, #1a82f7);

  /* Firefox 3.6+ */
  background: -moz-linear-gradient(top, #2F2727, #1a82f7);

  /* IE 10 */
  background: -ms-linear-gradient(top, #2F2727, #1a82f7);

  /* Opera 11.10+ */
  background: -o-linear-gradient(top, #2F2727, #1a82f7);
}

/* MOBILE 
 * * * * * * * * * * * * * * * * * * * * * * * * * * */

@media screen and (max-width: 780px) {

	html > body {
		width: auto;
	}
	
	html > body #db-search h2 {
		font-size: 31px;
	}
}

@media screen and (max-width: 500px) {
	
	/* html > body {
		padding: 20px;
		padding-bottom: 0px;
		width: auto;
	} */
	
	html > body #content {
		/* margin-left: -20px;
		margin-right: -20px; */
	}
	
	html > body.iframe {
		padding-bottom: 0px;
	}
	
	html > body #db-search h1 {
		font-size: 31px;
	}
	
	html > body #db-search h2 {
		font-size: 29px;
	}
	
	#db-search .popup {
		top: 50px;
		left: 0px;
		right: 0px;
		width: auto;
	}
	
	#thanks {
		top: 50px;
		left: 0px;
		right: 0px;
		width: auto;
		margin-left: 0px;
	}
}

@media screen and (max-width: 380px) {
	
	html > body #db-search h1 {
		font-size: 27px;
	}
	
	html > body #db-search h2 {
		font-size: 26px;
	}
}

@media screen and (max-width: 320px) {
	
	html > body #db-search h1 {
		font-size: 24px;
		letter-spacing: 1px;
	}
	
	html > body #db-search h2 {
		font-size: 23px;
	}
	
	#thanks h2 {
		font-size: 18px;
	}

	#thanks p {
		font-size: 14px;
	}

}
