body {
	font-family: "Helvetica Neue", Arial, sans-serif;
	font-size: 62.5%;
	background: #eee repeat fixed 50% 0;
	color: #333;
}

/* Global Typography */

@font-face {
	font-family: 'Ayita';
	src: url('fonts/ayitapro-semibold-webfont.eot');
	src: local('☺'), url('fonts/ayitapro-semibold-webfont.woff') format('woff'), url('fonts/ayitapro-semibold-webfont.ttf') format('truetype'), url('fonts/ayitapro-semibold-webfont.svg#webfontiAjjmQf7') format('svg');
	font-weight: normal;
	font-style: normal;
}

* {  }

a {
	color: #428ce7;
	text-decoration: none;
	outline: none;
}

a img { border: none; outline: none; }

a:hover, a:active { color: #428ce7; }

h1 { font-size: 24px; letter-spacing: -1px; }
h2 { font-size: 18px; }

h1, h2, h3, h4, h5, h6 {
    font-family: "Ayita", "Helvetica Neue", Arial, sans-serif;
    font-weight: normal;
}

a#more-link {
    width: 100%;
    margin: 20px 0 10px 0;
    padding: 10px 0;
    text-align: center;
    display: block;
    background: #fff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}

/* End Global Typography */

/* Block Elements */

hr {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border: none;
    border-bottom: 1px solid #ddd;    
}

.main {
	width: 950px;
	margin: 20px auto;
	padding: 20px;
	background: #fff;
	font-size: 1.1em;
	text-shadow: 1px 1px 0px #fff;
	-moz-border-radius: 15px;
	-webkit-border-radius: 15px;
}

.header {
	width: 950px;
	height: 120px;
	float: left;
	background: transparent url(../images/headerbg.png) no-repeat 0 -10px;
	color: #222222;
    position: relative;
}

.img { margin-bottom: 20px; }
.img img { margin-right: 20px; }
.img p { margin: 0px 0px 2px 0px; }

/* Flickr Style Menu */

#navigation {
	width: 950px;
	height: 29px;
	position: absolute;
    bottom: 0;
	background-color: #f5f5f5;
	border-top: 3px solid #d6d6d6;
	color: #6a6a6a;
	font-size: 11px;
}

#navigation li a {
	color: #6a6a6a;
	text-decoration: none;
	border: none;
	height: 15px;
	margin: 0;
	padding: 7px 6px 7px 6px;
	display: block;
	float: left;
}
#navigation li a:hover {
	color: #fff;
	background-color: #428ce7;
    background: -webkit-gradient(linear, left bottom, left top, from(#267ad4), to(#428ce7));
    background: -moz-linear-gradient(top, #267ad4, #428ce7);
	text-decoration: none;
	border: none;
	text-shadow: none;
}
#navigation li a strong {
	font-weight: 900;
}

#navigation ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

#navigation ul li {
	color: #0066cc;
	float: left;
	position: relative;
	margin: 0;
}

#navigation li.nolink {
	color: #6a6a6a;
	text-decoration: none;
	border: none;
	height: 16px;
	margin: 0;
	padding: 7px 6px 7px 6px;
	display: block;
}

#navigation li.nolink span {
	color: #111;
}

#navigation ul li .unread-count {
	font-weight: bold;
}

#quicksearch {
	margin-top: 28px;
	float: right;
	text-align: right;
}

#advert {
    position: absolute;
    top: 0;
    right: 0;
}

.maincontainer, .maincontainertall, .maincontainerxl, .maincontainersearch {
	min-height: 500px;
	background-color: #fff;
	padding-bottom: 20px;
	float: left;
}

.mainleft {
	width: 420px;
	float: left;
}
.mainright {
	width: 420px;
	float: right;
}

.maintext {
	width: 610px;
	margin-top: 20px;
	padding: 1px 20px 10px 20px;
	background: #f1f1f1;
	float: left;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

.mainsidebar {
	width: 280px;
	padding: 0 0 10px 20px;
	float: right;
}

.narrowcolumn {
	width: 200px;
	padding-top: 10px;
	float: left;
}

.widecolumn {
	width: 380px;
	float: right;
}

.narrowcolumn ul {
	margin: 0px 0px 10px 0px;
	padding: 0;
}

.narrowcolumn li {
	list-style: none;
	border-top: 1px solid #ddd;
}

.narrowcolumn li.last { border-bottom: 1px solid #ddd; }

.narrowcolumn #house-actions a,
.narrowcolumn #preference-actions a {
	padding: 3px 0 3px 24px;
	display: block;
	background: transparent no-repeat 3px 50%;
	color: #333; 
}

.narrowcolumn #house-actions a:hover,
.narrowcolumn #preference-actions a:hover { background-color: #eaeaea; }

.narrowcolumn #house-actions a.save-listing { background-image: url(../images/icons/save-listing.png); }
.narrowcolumn #house-actions a.contact-seller { background-image: url(../images/icons/contact-seller.png); }  
.narrowcolumn #house-actions a.add-note { background-image: url(../images/icons/add-note.png); }
.narrowcolumn #house-actions a.report-listing { background-image: url(../images/icons/report-listing.png); }
.narrowcolumn #house-actions a.edit-info { background-image: url(../images/icons/edit-info.png); padding-left: 25px; }
.narrowcolumn #house-actions a.edit-images { background-image: url(../images/icons/edit-images.png); padding-left: 25px; }

.narrowcolumn #preference-actions a.information { background-image: url(../images/icons/save-listing.png); }
.narrowcolumn #preference-actions a.notifications { background-image: url(../images/icons/save-listing.png); }

.whysell li {
	margin-left: -20px;
	padding: 5px 0px 5px 25px;
	list-style: none;
	background: url(../images/tick.png) no-repeat 0px 4px;
}

#featured-properties {
    margin-top: 20px;
    width: 100%;
    overflow: hidden;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.5); 
    -moz-box-shadow: 0 0 5px rgba(0,0,0,0.5); 
}

#featured-properties .featured {
    position: relative;
}

#featured-properties img {
    position: absolute;
    top: 0;
    left: 0;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}

#featured-properties .details {
    position: absolute;
    top: 0;
    right: 0;
    width: 240px;
    height: 280px;
    padding: 10px 20px;
    background: #111;
    background: rgba(0,0,0,0.9);
    border-left: 1px solid #222;
    -webkit-border-top-right-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -moz-border-radius-topright: 5px;
    -moz-border-radius-bottomright: 5px;
}

#featured-properties a {
    color: #ddd;
    text-shadow: none;
    display: block;
    height: 300px;
}

#featured-properties p {
    line-height: 1.5em;
}

#search-criteria {
    margin: 20px 0;
    padding: 1px 20px;
    color: #eee;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.2);
    background: #8db205;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#8db205), to(#75ac00));
    background: -moz-linear-gradient(top,#8db205, #75ac00);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.5);
    -moz-box-shadow: 0 0 5px rgba(0,0,0,0.5);
}

#search-criteria h2 { letter-spacing: -1px; /* Strange, looks better */ }

#search-criteria .box-container {
    width: 33%;
    float: left;
}

#search-criteria input {
    width: 208px;
    border: none;
}

#search-criteria input:focus {
	-webkit-box-shadow: 0 0 5px rgba(0,0,0,0.8);
	-moz-box-shadow: 0 0 5px rgba(0,0,0,0.8);
}

#search-criteria .smallbox {
    width: 50px;
    min-width: 50px;
}

#search-criteria #search {
    width: 65px;
    min-width: 65px;
    margin: 5px 0 !important;
    background: #111;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#111), color-stop(0.5, #222), color-stop(0.5, #111), to(#111));
    color: #ddd;
    font-family: "Ayita", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    border: #111;
    float: left;
}

#search-criteria #search:hover { cursor: pointer; }

#search-criteria .list-own {
    padding: 11px;
    display: block;
    float: left;
}

#search-criteria .list-own a {
    color: #eee;
    filter: alpha(opacity=50);
    opacity: 0.5;
}

#search-criteria .list-own a:hover {
    filter: alpha(opacity=100);
    opacity: 1;    
}

ul#tweets {
    margin: 0;
    padding: 0;
}

#tweets li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    list-style: none;
    border-bottom: 1px solid #eee; 
}

#pictures {
	padding-bottom: 5px;
	border-bottom: 1px solid #ddd;
}

.houseimage { padding: 0px 10px 10px 0px; }
img.morelikethis { padding: 5px 5px 0px 0px; }

.popular-searches ul { padding-left: 0; } 
.popular-searches li {
    width: 33%;
    padding-bottom: 3px;
    display: block;
    float: left;
}

/* Search results */

ul.sortby {
	height: 10px;
	list-style: none;
	font-size: 10px;
	display: block;
	padding: 0px 0px 15px 0px;
	margin: 0;
}

ul.sortby li {
	display: inline;
	float: left;
	padding: 2px 0;
}

ul.sortby li a {
	padding: 4px;
	margin: 0;
}

ul.sortby li a:hover {
	background-color: #428ce7;
	color: #fff;
	text-decoration: none;
	border: none;
	padding: 4px;
	text-shadow: none;
}

#results {
	margin-left: 0;
    padding-left: 0;
}

#results li.result {
	min-height: 85px;
	list-style: none;
	padding: 10px 0px; 
	border-bottom: 1px solid #ddd;
    border-top: 1px solid #fafafa;
}

#results li.result:first-child { border-top: none; }
/*#results li.result:last-child { padding-bottom: 0; border-bottom: none; }*/

#results li.result:hover { background-color: #fafafa; }

#results li.result img {
    margin: 0 15px 0 0;
    float: left;
}

#results li.result .infosnippet {
	color: #888;
	line-height: 1.5em;
	padding: 5px 0 10px;
	display: block;
}

#results li.result .tagslist {
    color: #666;
}

#results li.result .tagslist li {
    margin-right: 2px;
    padding: 3px 5px;
    display: inline-block;
    background: #fafafa;
    border: 1px solid #ddd;
    
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
}

#results li.result .actions {
    max-width: 68px;
    margin-top: -6px;
    float: right;
}

#results li.result .actions a {
    width: 16px;
    height: 16px;
    margin-left: -4px;
    padding: 3px;
    display: inline-block;    
    background-position: 50% 50%;
    background-repeat: no-repeat;
    border: 1px solid transparent;
    text-indent: -9999px;
    opacity: 0;
    
    -webkit-border-radius: 4px;    
    -moz-border-radius: 4px;    
}

#results li.result .actions a:hover {
    background-color: #eee;
    border: 1px solid #ddd;
    opacity: 1;    
}

#results li.result .actions a.save-listing { background-image: url('../images/icons/save-listing.png'); }
#results li.result .actions a.saved { background-image: url('../images/icons/save-house.png'); }
#results li.result .actions a.hide-listing { background-image: url('../images/icons/hide-house.png'); }
#results li.result .actions a.add-note { background-image: url('../images/icons/add-note.png'); }

#results li.result .actions a.ticked,
#results li.result:hover .actions a {
    opacity: 1;   
}

/* End search results */


.footercontainer {
	width: 950px;
	color: #b7b7b7;
	float: left;
}

.footer {
	font-size: 9px;
}

.footer a { margin-left: 5px; padding-left: 5px; border-left: 1px solid #ddd; }
.footer a:first-child { margin: 0; padding: 0; border: none; }
.footer a:link {color: #888; text-decoration: none;}
.footer a:visited {color: #888; text-decoration: none;}  
.footer a:hover, a:active {color: #b7b7b7; text-decoration: none;}

/* Forms */

.maincontainer input, .maincontainer textarea, .maincontainer select, .message input, .message textarea, .message select {
	margin: 0 0 10px 0 !important;
	padding: 5px 7px;
	font-family: "Helvetica Neue", Arial, sans-serif;
	font-size: 11px;
	color: #333;
	background: #fafafa;
	border: 1px solid #ccc;
	outline: none;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
    -webkit-background-clip: padding-box;
	text-shadow: none;
}

.maincontainer option, .message option { text-shadow: none; }
.maincontainer input, .message input { min-width: 160px; }
.maincontainer textarea, .message textarea { width: 400px; }
.maincontainer .details textarea { width: 365px; }
.maincontainer .moreinfo textarea { width: 300px; }

.maincontainer label {	
	width: 55px;
	margin-right: -10px;
	padding: 6px 15px 6px 9px;
	display: inline-block; 	
	vertical-align: top; 
	background: #ddd;
	text-shadow: 1px 1px 0 #eee;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
}

.maincontainer label.error { 
	margin-left: 10px;
	display: inline;
}

.maincontainer label.focused {
	background: #ccc;
}

.maincontainer #search-criteria label {
	width: 100%;
	margin: 0;
	padding: 0 0 4px 0;
	display: block;
	background: none;
	text-shadow: none;
}

#sell-form label,
#edit-form label,
#reply-form label,
.message label {
	width: 100%;
	margin: 0;
	padding: 0 0 4px 0;
	display: block;
	background: none;
	text-shadow: none;
} 

#next {    
    min-width: 0px;
    margin-top: 5px !important;
    padding: 5px 10px;
    background: #8db205;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#75ac00), color-stop(0.5, #8db205), color-stop(0.5, #75ac00), to(#75ac00));
    border: none;
    color: #fff;
    font-family: "Ayita", "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    display: block;
    -webkit-transition-duration: 0.5s;
    -moz-transition-duration: 0.5s;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px; 
    -moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px; 
}

#next:hover{
	cursor: pointer;
	-webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px;
	-moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px;
}

input.number {
	width: 40px;
	min-width: 40px;
	margin-right: 5px !important;
}

input:hover, textarea:hover, select:hover {
	background: #fff;
}

input:focus, textarea:focus, select:focus {
	background: #fff;
	border: 1px solid #bbb;
}

input[disabled='disabled'] {
  	color: #333;
	background: #ddd;
	border: 1px solid #ccc;
}

.disabled {
	color: #333;
	background: #ddd;
	border: 1px solid #ccc;
}

table.search td {
	border-bottom: 1px solid #DDDDDD;
}

table#notification-table {}

table#notification-table td.input-col {
    width: 15px;
} 

table#notification-table td.input-col input {
    min-width: 0;
    margin: 5px !important;
}

table#notification-table td label { padding: 0; }

.pricefont {
	color: #428ce7;
}

large {
	font-size: 24px;
}

.help { background: #e7ffe3; border: 1px solid #84da67; padding: 10px; margin-bottom: 10px; }
.toggletip { width: 390px; background: #e7ffe3; border: 1px solid #84da67; padding: 10px; }
.info { background: #ffffe0; border: 1px solid #f6f45c; padding: 10px; margin-bottom: 10px; }
.warn { background: #ffd4d4; border: 1px solid #cd2525; padding: 10px; margin-bottom: 10px; }
.faqq { width: 70%; padding-bottom: 10px; font-size: 18px; }
.faqa { width: 70%; padding-bottom: 50px; }

.tip { width: 928px; background: #ffffe0; border: 1px solid #f6f45c; }  
.tip-top {}  
.tip-title { color:#222222; padding: 10px; }  
.tip-text { color:#222222; padding:10px 30px 20px 50px; }  
.tip-bottom {}

/* Uploadify */

#hideupload {
    padding-top: 60px;
    position: relative;
}

#hideupload button,
#hideupload #uploadUploader {
    position: absolute;
    top: 20px;
    left: 0;
}

.uploadifyQueueItem {
	border: none;
	background-color: #fafafa;
	margin-top: 5px;
	padding: 10px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
.uploadifyError {
	border: 2px solid #FBCBBC !important;
	background-color: #FDE5DD !important;
}
.uploadifyQueueItem .cancel {
	float: right;
}
.uploadifyProgress {
	background-color: #FFFFFF;
	border-top: 1px solid #808080;
	border-left: 1px solid #808080;
	border-right: 1px solid #C5C5C5;
	border-bottom: 1px solid #C5C5C5;
	margin-top: 10px;
	width: 100%;
}
.uploadifyProgressBar {
	background-color: #59a4ff;
	width: 1px;
	height: 3px;
}

#uploadifybutton {
	height: 10px;
	padding-bottom: 25px;
	border-bottom: 1px solid #ddd;
	position: relative;
}

#uploadifybutton span {
	position: absolute; 
	top: 0px;
	left: 0px;
	z-index: 0;
}

#uploadifybutton object {
	position: absolute; 
	top: 0px;
	left: 0px;
	z-index: 1000;
}

.galleryimage {
	float: left;
	margin: 5px;
}

.houseimage {
	position: relative;
	float: left;
}

/* Messages */

#messages {
	margin: 0;
	padding: 0;
}

#messages .message {
	margin: 0;
    padding: 5px; 
    list-style-type: none;
    border-bottom: 1px solid #ddd;
}

#messages .message p { margin: 5px 0; }

#messages .message .message-title {}
#messages .message .message-title.unread { font-weight: bold; }

#messages .message .message-date,
#messages .message .message-excerpt { color: #888; }

#reply-form { margin-top: 10px; }
#reply-form textarea { width: 595px; }

/* Friend search */

#friend-search-container {
	margin: 0 0 10px 0 !important;
	font-family: "Helvetica Neue", Arial, sans-serif;
	font-size: 11px;
	color: #333;
	background: #fafafa;
	border: 1px solid #ccc;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
    -webkit-background-clip: padding-box;
	text-shadow: none;	
}

#friend-search-container.focused {
	background: #fff;
	border: 1px solid #666;
}

#friend-search-container input {
	margin: 0 !important;       
	border: none;
	background: transparent !important;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
    -webkit-background-clip: padding-box;	
}

#friend-search-container .friend {
	padding: 2px 4px;
	margin: 0 2px;
	background: #f1f1f1;
	border: 1px solid #ccc;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
    -webkit-background-clip: padding-box;	
}

#friend-list {
	margin: -10px 0 0 0;
	padding: 0;
	position: absolute;
	background: #fafafa;
	list-style-type: none;
	border: 1px solid #ccc;
	border-top: none;
	z-index: 1000;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
    -webkit-background-clip: padding-box;
    text-shadow: none;		
}

#friend-list li {
	padding: 5px 7px;	
}

/* Modal content */

.inlinecontent {
	/*min-width: 360px;*/
	padding: 0px 20px 10px 20px;
	background: #f1f1f1;
	position: absolute;
	top: 100px;
	left: 50%;
	margin-left: -20px;
	font-size: 1.1em;
	-moz-box-shadow: 0px 0px 30px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0px 0px 30px rgba(0,0,0,0.5);
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

.inlinecontent.loading {
	margin-left: -40px; 
	padding: 40px;
	background: #f1f1f1 url(../images/loader.gif) no-repeat 50% 50%;
}

.inlinecontent img.close {
	position: absolute;
	top: -12px;
	right: -15px;
}

.inlinecontent img.close:hover { cursor: pointer; }

.inlinecontent .message img, .inlinecontent .message #video {
	padding: 20px 0px 10px 0px;
}

.inlinecontent .message form {
    width: 416px;
}

/* Tables */

table {
    width: 100%;
    margin-bottom: 10px;
    border-collapse: collapse;
}

tr:nth-child(even) {
    background-color: #fafafa;   
}

th, td {
    margin: 0;
    padding: 5px; 
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table#hidden_houses td {
    color: #888;
}

/* Misc */

.left { float: left; }
.right { float: right; }
.clearer { clear: both; }
.hidden { display: none; }
