/*----------------------------------------------------------------------------
 *
 * 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 1em 0;
    }

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