/*----------------------------------------------------------------------------
 *
 * Layout stylesheet for theme: Delgado
 *
 * This covers layout styles and default colours for the default layout.
 *
 *---------------------------------------------------------------------------*/
 

/*----------------------------------------------------------------------------
 * Main layout
 *---------------------------------------------------------------------------*/

body {
    background: #ddd url(/global/images/patterns/bg-3x3-light-grey.png);
    padding-bottom: 10px;
    text-align: center;
    }

#header {
    border-bottom: 1px solid #ccc;
    padding: 0;
    margin: 0 0 10px 0;
    }
        
#container {
    padding: 10px 20px;
    background-color: white;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    width: 730px;
    margin: 0 auto 20px auto;
    text-align: left;
    }

#sidebar_container {
    border-top: 2em solid #666;
    font-size: 1.1em;
    width: 220px;
    float: left;
	clear: left;
    }

#sidebar {
    font-size: 0.9em;
    }
    
#main {
    width: 500px;
    float: right;
    }

#footer_container {
    padding: 5px 0;
    border-top: 1px solid #ccc;
    }
    

/*----------------------------------------------------------------------------
 * Header
 *---------------------------------------------------------------------------*/

#account_info {
    padding: 5px 0;
    text-align: right;
    border-bottom: 1px solid #ccc;
    margin: 10px 0;
    font-size: 0.85em;
    }

#agency_subtitle {
    padding-right: 1em;
    margin-right: 1em;
    border-right: 1px solid #ccc;
    }
    
#header_left {
    position: relative;
    width: 220px;
    height: 250px;
	margin-bottom: 10px;
    float: left;
	text-align: center;
    }

#header_left_bottom {
    position: absolute;
	text-align: center;
	left: 0;
	bottom: 0;
    }
    
#header_left_bottom p {
    margin: 0.25em 0 0 0;
    font-size: 0.9em;
    color: #666;
    font-weight: bold;
    }
    
#header_right {
    float: right;
    width: 500px;
    height: 250px;
	margin: 0 0 10px 0;
    }
    

/*----------------------------------------------------------------------------
 * When banner is suppressed...
 *---------------------------------------------------------------------------*/

#left {
	float: left;
}


/*----------------------------------------------------------------------------
 * Primary navigation
 *---------------------------------------------------------------------------*/

#navigation {
	clear: left;
	}
	
#navigation ul {
    margin: 0 0 10px 0;
    }
    
#navigation ul li {
    list-style-type: none;
    margin: 0;
    }
    
#navigation ul li a {
    display: block;
    padding: 4px 4px 4px 6px;
	text-decoration: none;
    }

#navigation ul li a.current {
    font-weight: bold;
    }
    
#navigation ul li a:hover {
    }

#navigation ul li {
    margin-top: 1px;
	}
	

/*----------------------------------------------------------------------------
 * Section navigation (profile, property details)
 *---------------------------------------------------------------------------*/

.section_navigation {
    margin: 1px 0 1em 0;
    padding: 0;
	height: 1%; /* IE6 fix */
    }
    
.section_navigation ul {
    list-style-type: none;
    margin: 0;
    float: left;
    }

.section_navigation ul li {
	float: left;
	}
	
#main .section_navigation a {
    display: block;
    float: left;
    margin: 0;
    padding: 0 0.65em;
    line-height: 2em;
    font-size: 0.9em;
    border-right: 1px solid #fff;
    text-decoration: none;
    }

#details_navigation {
	background-color: #E7E7E7;
}
   	
#details_navigation ul li {
	font-size: 1.1em;
}

#details_navigation ul li a {
	background-color: #CCCCCC;
}

/*----------------------------------------------------------------------------
 * Sidebar
 *---------------------------------------------------------------------------*/

#uhome_module {
    margin: 2em 0;
    text-align: center;
    }

#sidebar_footer_content {
    margin: 2em 0;
    text-align: center;
    }

#sidebar_footer_content p {
    margin: 2em 0;
	}
        

/*----------------------------------------------------------------------------
 * Footer
 *---------------------------------------------------------------------------*/

#site_footer_content {
    float: left;
    font-size: 0.9em;
    font-weight: bold;
    color: #666;
    }

#site_footer_content p {
    margin: 0;
    }

#footer {
    text-align: right;
    float: right;
    }
        
#footer ul {
    list-style-type: none;
    }
    
#footer ul li {
    display: inline;
    margin-left: 10px;
    }

#footer ul li a {
    font-size: 0.85em;
    text-decoration: none;
    }
    
#footer ul li a:hover {
    text-decoration: underline;
    }
	
	
/*----------------------------------------------------------------------------
 * Industry logos
 *---------------------------------------------------------------------------*/

#site_industry_logos_content {
    border-top: 1px solid #ccc;
}


/*----------------------------------------------------------------------------
 *
 * Content stylesheet for theme: montague
 *
 * This covers general styles for content (main and sidebar)
 *
 * REMEMBER: Anything that gets added in here and affects colours 
 * probably also needs an entry in the dynamic agency stylesheet for this layout,
 * which can be found at app/views/stylesheets/<theme>.rcss.
 *
 *---------------------------------------------------------------------------*/
 

/*----------------------------------------------------------------------------
 * General
 *---------------------------------------------------------------------------*/

#container {
    font-size: 1em;
    font-family: verdana, trebuchet, "trebuchet MS", helvetica, sans-serif;
    }
    
#main h2 {
    font-size: 1.1em;
	margin: 0 0 0.5em 0;
    padding: 0 0.5em;
    line-height: 2em;
    font-family: trebuchet, "trebuchet MS", arial, sans-serif;
    }

#main h3 {
    font-size: 1.1em;
    border-bottom: 1px solid #ccc;
    padding: 0.75em 0 0.15em 0;
    margin: 0 0 1em 0;
    font-family: trebuchet, "trebuchet MS", arial, sans-serif;
    }

/*----------------------------------------------------------------------------
 * Listings
 *---------------------------------------------------------------------------*/
.item img.asset {
    float: right;
    }
	
/*----------------------------------------------------------------------------
 * Search
 *---------------------------------------------------------------------------*/

.home_index #search dl {
    margin: 0;
    padding: 0;
    }
    
.home_index #search dt {
    width: 100px;
	margin-right: 0;
    }
    
.home_index #search dd {
    width: 150px;
    float: right;
    margin: 0 0 0.5em 0;
    padding-right: 0;
    }

.home_index #search dd select {
    width: 150px;
    margin-right: 0
    }
        

/*----------------------------------------------------------------------------
 * Sidebar
 *---------------------------------------------------------------------------*/

#sidebar .module ul {
    list-style-type: none;
    margin: 0 0 0.5em 0;
    }
    
#sidebar .module {
	margin-bottom: 10px;
    }

#sidebar p {
    margin: 0.25em 0;
    }
    
#sidebar .module .content {
	clear: both;
	padding: 8px;
	font-size: 11px;
    }

#sidebar .content a {
	font-weight: bold;
	text-decoration: none;	
    }

#sidebar .tabs a {
	font-size: 11px;
    }

.tabs {
	margin: 0;
	position: relative;
    }

.tabs li {
	list-style-type: none;
    float: left;
    margin-right: 2px;
    }

.tabs a {
	background: none;
	border-bottom: 0;
	top: 1px;
	position: relative;
	display: block;
    padding: 3px 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85em;		
    }

.tabs a:hover, .content a:hover  {
	text-decoration: underline;
    }

.tabs a.current {
	top: 1px;
	position: relative;
    }

.tabs a.current:hover {
    text-decoration: none;
    }
    

/*----------------------------------------------------------------------------
 * Sidebar: search
 *---------------------------------------------------------------------------*/

#sidebar #search_module_content div.content {
    padding-left: 30px;
    padding-right: 30px;
    text-align: right;
    }
    
#search_module select {
    width: 100%;
    }
    

/*----------------------------------------------------------------------------
 * Sidebar: branches
 *---------------------------------------------------------------------------*/

#sidebar .branch {
    border-top: 1px solid #ccc;
    padding-top: 0.5em;
    float: left;
    }
    
#sidebar .branch.first {
    padding-top: 0;
    border-top: none;
    }

#sidebar .branch h3 {
    float: left;
    }
    
#branch_module .branch_address {
    clear: both;
    }
        
p.branch_map_link {
    margin-left: 1em;
    float: right;
    clear: right;
    }
    
/*----------------------------------------------------------------------------
 * Sidebar: properties
 *---------------------------------------------------------------------------*/

#sidebar img.asset {
    margin: 10px;
    }
    

/*----------------------------------------------------------------------------
 * Sidebar: actions
 *---------------------------------------------------------------------------*/

#sidebar #property_links .module .content {
    padding: 0;
    }
    
#sidebar ul.actions {
    list-style-type: none;
    margin: 0;
    }

#sidebar ul.actions li a {
    display: block;
    text-align: center;
    font-size: 13px;
    padding: 3px 8px;
    }
    

/*----------------------------------------------------------------------------
 * Sidebar: favourites/saved searches module
 *---------------------------------------------------------------------------*/

#account_module .content p {
    text-align: center;
    margin: 0;
    }

#account_module .content ul {
    list-style: none;
    margin: 0;
    }

#account_module .content ul ul li {
    display: block;
    list-style-type: none;
    margin: 0.1em 0;
    }

#account_module .content ul li {
    margin: 0.25em 1em;
    }


/*----------------------------------------------------------------------------
 * Forms
 *---------------------------------------------------------------------------*/

div#error_explanation {
    padding: 1em;
    background: #fff;
    border: 1px solid #ccc;
    margin: 0 0 1em 0;
    }

div#error_explanation ul {
    color: red;
    margin: 0 2em;
    }

dl {
    clear: both;
    padding: 0.5em 0;
    }
    
dl dt {
    float: left;
    width: 150px;
    margin-right: 10px;
    }

dl dd {
    float: left;
    width: 280px;
    }

dl dt label {    
    font-size: 0.9em;
    color: #666;
    }
    
ul.tree { 
    margin: 0;
    }
    
ul.tree li { 
    padding-bottom: 0.25em;
    }
    
#main div.buttons {
    clear: both;
    margin: 1em 0;
    }
    
#main div.buttons {
    font-weight: bold;
    font-size: 0.85em;
    }
    
#main form h3.tab {
    margin: 0;
    padding: 0.35em 0.75em;
    float: left;
    border: none;
    }

.hideable_help {
    color: #666;
    font-size: 0.85em;
    }

dd input, textarea, select {
    border: 1px solid #ccc;
    padding: 0.25em;
    margin: 0 0 0.25em 0;
    }

dd select {
    font-size: 0.9em;
    }
           
textarea.street_address {
    width: 90%;
    }
       
fieldset {
    clear: left;
    padding: 6px 12px;
    margin: 0 0 1em 0;
    background: #fff bottom left url(/global/images/patterns/bg_h_form_bottom_grey.png) repeat-x
    }

fieldset fieldset {
    border: 0;
    padding: 0;
    margin: 0.5em 0;
    background: transparent;
    }

fieldset fieldset dt label,
fieldset fieldset dt .label {
    margin-left: 15px;
    }

.required {
    color: red;
    font-weight: bold;
    margin: 0 0.25em 0 0;
    }

.tabbed {
    clear: both;
    padding: 1em;
	zoom: 1;
    }
        

/*----------------------------------------------------------------------------
 * Flash messages
 *---------------------------------------------------------------------------*/

#messages {
    padding: 0.5em 1em;
    background: #eee;
	margin: 0 0.4em 2em 0;
    }

#messages p {
    margin: 0.25em 0;
    font-weight: bold;
    }
    
#messages .notice {
    color: green;
    }
    
#messages .warning,
#messages .error {
    color: red;
    }

/*----------------------------------------------------------------------------
 * Register Page Tweaks
 *---------------------------------------------------------------------------*/

#your_property_situation dl dd {
	width: 20px;
	clear: none;
	float: left;
	margin-right: 15px;
	display: inline;
}

#your_property_situation dl {
	clear: none;
	display: inline;
}

#your_property_situation label {
	color: #656565;
	font-size:0.9em;
}

#your_property_situation .checkbox {
	margin-right: 10px;
}

#your_property_situation .label_container {
	width: 160px;
	float: left;
	margin-right: 10px;
}

#your_property_situation .checkbox_container {
	margin-right: 15px;
	float: left;
}


/*----------------------------------------------------------------------------
 *
 * Controller overrides stylesheet for theme: montague
 *
 * This overrides styles in the controller stylesheets found in
 * the folder hierarchy below /public/stylesheets
 *
 *---------------------------------------------------------------------------*/
 


/*----------------------------------------------------------------------------
 * Home
 *---------------------------------------------------------------------------*/

#home_header {
	zoom: 1; /* IE bug fix to stop color flowing past the bottom */
}
    
body.home_index #search {
    float: left;
    width: 279px;
}

#home_header h2 {
	border: none;
	margin: 0;
	}
	
body.home_index #search .content {
    border-right: 1px solid #ccc;
    }

body.home_index #search .buttons {
    margin: 0;
    text-align: right;
    }
    
#home_header .content {
	margin: 0.5em 0;
    padding: 0.5em 0.5em 0.5em 1em;
    }

#welcome_content {
    float: right;
    width: 220px;
    }

.property_photo {
    width: 160px;
    height: 120px;
    position: relative;
    margin-bottom: 2px;
    }
    
.property_price { 
    position: absolute;
    bottom: 6px;
    right: 0;
    text-align: right;
    margin: 0;
    background: #fff;
    padding: 0.25em;
    font-weight: bold;
    color: black;
    opacity: 0.75;
    filter: alpha(opacity=75);
	-moz-opacity: 0.75;
    }

.property_more_link {
    font-size: 0.9em;
    font-weight: bold;
    color: #999;
    margin: 0.25em 0;
    }

#featured_properties {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ccc;
    }
    
.featured_property {
	overflow: hidden;    /* IE hack for issue with clearing used in conjunction with zoom:1 */ 
	zoom: 1; /* see above */
    float: left;
    width: 160px;
    margin-right: 6px;
    font-size: 0.85em;
    }


/*----------------------------------------------------------------------------
 * Profile: general
 *---------------------------------------------------------------------------*/

body.profile #main h2 {
    margin: 0;
    }

.profile_info span {
    font-weight: bold;
    }

body.profile h2 span {
	color: #666666;
}
       
    
/*----------------------------------------------------------------------------
 * Profile: details
 *---------------------------------------------------------------------------*/

.account_details .buttons.top {
    float: right;
    }
    
#required_info {
    float: left;
    }
    

/*----------------------------------------------------------------------------
 * Property details
 *---------------------------------------------------------------------------*/

#main #display_address {
    margin: 0;
    }
	

/*----------------------------------------------------------------------------
 * Property downloads
 *---------------------------------------------------------------------------*/

#property_assets {
	border-collapse: collapse;
	border-bottom: 1px solid #ccc;
	margin: 1em 0;
	}
	
#property_assets td {
	padding: 0.5em;
	border-top: 1px solid #ccc;
    }

#property_assets td.icon_with_filename {	
	text-align: center;
	vertical-align: middle;
	border-right: 1px solid #ccc;
	}
	
#property_assets td.icon_with_filename span {
	display: none;
}

#property_assets td h3 {	
	border: none;
	margin: 0 0 0.5em 0;
	padding: 0;
	}

#property_assets td h3 a {
	text-decoration: none;
	}
	
	

/*----------------------------------------------------------------------------
 * Property listings
 *---------------------------------------------------------------------------*/

.search_form select {
    width: 145px;
	margin-right: 2px;
    }

.search_form #search_price_max {
	margin-right: 0;
    }

.search_form #result_format_selector {
    display: none;
    }
    
#gmap {
    clear: both;
    margin-bottom: 2em;
    }
    
.item {
    margin-bottom: 1em;
    }
    
.item .property_description {   
    clear: left;
    }
    
.item .property_footer_short {
	margin-top: 0.5em;
    font-size: 0.85em;
	color: #333;
	font-weight: bold;
    }
    
body.search .item img {
    float: right;
    margin: 0 0 2em 2em;
    }
    
#main .item h3 {
    margin: 0 0 0.5em 0;
    border: none;
    line-height: 2em;
    padding: 0 0.5em;
    }

#main .item h3 a {
    color: white;
    text-decoration: none;
    }
    
.item h3 a:hover {
    text-decoration: underline;
    }

.item .marker {
	margin: 0 0 0 10px;
	float: right;
	}
	
ul.actions {
    list-style-type: none;
	margin: 0.5em 0;
	}
	
ul.actions li {
    display: inline;
    padding: 0 0.5em;
    border-left: 1px solid #ccc;
    font-size: 0.85em;
    color: #666;
    font-weight: bold;
    }

ul.actions li.first {    
	border-left: none;
	padding-left: 0;
	}

#main ul.actions li a.current {
	color: #666;
	text-decoration: none;
	}
	
.item ul li.show {
    border-left: none;
    padding-left: 0;
    }
    
ul.property_summary {
    font-size: 0.85em;
    font-weight: bold;
    color: #666;
    margin: 1em 0;
    clear: left;
    }

#main ul.property_summary li {
	padding-left: 12px;
    background: left 50% url(/global/images/bullets/square-7x7.png) no-repeat;
	margin: 0 1em 0.5em 0;
	white-space: nowrap;
	float: left;
	list-style-type: none;
	}

#search_footer {
	padding-top: 6px;
	}
	
#default_photo {
	margin: 1em 0;
}
    
/*----------------------------------------------------------------------------
 * Registration
 *---------------------------------------------------------------------------*/

#your_property_requirements select {
    width: 10em;
    }
    
