/*----------------------------------------------------------------------------
 *
 * Layout stylesheet for theme:  montague
 *
 * This covers layout styles and default colours for the default layout.
 *
 * 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.
 *
 *---------------------------------------------------------------------------*/
 

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

#header {
	margin: 0 auto 0px auto;
    padding: 0.75em 0 0.5em 0;
	width: 815px;
	font-size: 11px;
    }

#account_info {
    clear: both;
	margin: 0;
	text-align: right;
    }

#content_container {
	padding: 4.5em 0 2em 0;
    }

#main {
	float: right;
	width: 500px;
    }

#sidebar {
	float: left;
	width: 245px;
    }


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

#header h1 {
    float: left;
    margin-top: 20px;
    }

#header h1 em {
    display: block;
    }

/*----------------------------------------------------------------------------
 * Navigation
 *---------------------------------------------------------------------------*/

#navigation {
	clear: both;
    }

#navigation div {
	margin: 0 auto;
	position: relative;
	width: 815px;
    }

#navigation ul {
	width: 815px;
	position: absolute;
	top: -8px;
	margin: 0;
    }

#navigation ul li {
    display: block;
    float: left;
    list-style-type: none;
    }
    
#navigation ul li a span.link {
    display: block;
    float: left;
    padding: 4px 4px 4px 10px;
    font-size: 1.0em;
    }

#navigation ul li a {
	float: left;
    clear: none;
	height: 100%;
	padding-right: 6px;
	text-decoration: none;
	font-weight: bold;
	margin-right: 5px;
    }

#navigation ul li a:hover {
	text-decoration: underline;
    }

    
/*----------------------------------------------------------------------------
 * Footer
 *---------------------------------------------------------------------------*/
 
#footer_container {
	background: url(../images/dropshadow.jpg) top left repeat-x;
    }

#footer {
	padding: 10px 17px;
	text-align: center;
	width: 815px;
	margin: 0px auto;	
    }

#footer ul {
    list-style-type: none;
    }
    
#footer ul li {
    display: inline;
    }

#footer ul li a {
    font-size: 0.85em;
    text-decoration: underline;
    padding: 0 0.75em;
    }

#footer ul li.first a {
    border-left: none;
    padding-left: 0;
    }
    


/*----------------------------------------------------------------------------
 *
 * 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
 *---------------------------------------------------------------------------*/

#main h2 {
    font-size: 1.75em;
	margin: 0.25em 0 0.5em 0;
    }

#main h3 {
    margin: 0 0 0.5em 0;
    }


/*----------------------------------------------------------------------------
 * Assets
 *---------------------------------------------------------------------------*/

img.asset {
  padding: 4px;
  background: #fff;
  border-width: 2px;
  border-style: solid;
}

#gmap_container {
  border-width: 2px;
  border-style: solid;
}

p.asset.pdf {
    display: block;
    height: 30px;
    line-height: 30px;
    padding-left: 34px;
    }
    
p.asset.pdf {
    background: 6px 50% no-repeat url(/global/images/icons_misc/document_pdf_24x24.png);
    }
    

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

#sidebar .module ul {
    list-style-type: none;
    margin: 0 0 0.5em 0;
    }
    
#sidebar .module {
    clear: left;
	width: 245px;
	width: 100%;
	margin-bottom: 10px;
    }

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

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

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

.tabs {
	margin: 0;
	display: block;
    }

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

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

#sidebar h3.tab {
    background: #fff;
    float: left;
    }

#sidebar h3.tab a {
    text-decoration: none;
    }
        
.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 {
    text-align: right;
    }
    
#search_module select {
    width: 100%;
    }
    

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

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

#sidebar .branch h4 {
    float: left;
    }
    
#branch_module .branch_address {
    float: left;
    }
        
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;
    }


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

.item {
    margin-bottom: 1em;
    }
    
.item .property_description {   
    clear: left;
    }
    
.item img {
    float: right;
    margin: 0 0 2em 2em;
    }
    
.item h3 {
    float: left;
    font-size: 1.3em;
    margin: 0 0 0.5em 0;
    }
    
body.branches .item h3 {
    float: none;
    }

.item h3 a {
    text-decoration: none;
    }
    
.item h3 a:hover {
    text-decoration: underline;
    }
    
.item ul {
    list-style-type: none;
    margin: 0.5em 0;
    }
    
.item ul.actions li {
    display: inline;
    padding: 0 0.5em;
    border-left: 1px solid #ccc;
    font-size: 0.85em;
    }

.item ul.actions li.details {
	border-left: none;
	padding-left: 0;
	}
	
.item ul li.show {
    border-left: none;
    padding-left: 0;
    }

    
    
/*----------------------------------------------------------------------------
 * 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: 1em 0.5em 1em 0.5em;
    }
    
dl dt {
    float: left;
    width: 150px;
    margin-right: 10px;
    }

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

dl dd textarea {
    width: 100%;
    }
    
p.hideable_help {
    font-size: 0.85em;
    color: #666;
    }
    
#main .buttons {
    margin: 1em 0;
    }
    
#main form h3.tab {
    margin: 0;
    padding: 0.35em 0.75em;
    border: 1px solid #ccc;
    border-bottom: 1px solid #fff;
    background: #fff;
    float: left;
    position: relative;
    top: 1px;
    }
    
fieldset {
    clear: left;
    border: 1px solid #ccc;
    padding: 0.5em 0.5em 1.5em 0.5em;
    background: #fff;
    margin: 0 0 1em 0;
    }

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

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

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

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

#messages {
    padding: 0.5em 1.5em;
    background: #fff;
    border: 1px solid #ccc;
    margin: 0 0 2em 0;
    }

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


/*----------------------------------------------------------------------------
 * Maps
 *---------------------------------------------------------------------------*/

#gmap_container {
    clear: both;
    margin: 0.5em 0 2.0em 0;
    padding: 6px;
    background: #fff;
    }
    
#gmap {
    border: 1px solid #ccc;
    width: 100%;
    height: 300px;
    }


/*----------------------------------------------------------------------------
 * 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 {
	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
 *
 * 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.
 *
 *---------------------------------------------------------------------------*/
 

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

#content {
	margin: 0 auto;
	width: 815px;
    }
    
ul.property_summary {
    clear: left;
	margin-bottom: 0.75em;
    }

#property_description, .property_summary, #property_short_description {
	font-size: 12px;
    }
    
#property_short_description, .property_summary {
	font-weight: bold;
    }


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

body.account_profile #content h2 {
    margin-bottom: 0.25em;
    }
    
ul#form_tabs {
    list-style-type: none;
    margin: 0 0 1em 0;
    }

ul#form_tabs li {
    display: inline;
    padding: 0 0.5em;
    border-left: 1px solid #ccc;
    }
        
ul#form_tabs li.first {
    padding-left: 0;
    border-left: none;
    }

ul#form_tabs li a {
    color: #999;
    }

ul#form_tabs li.current a {
    color: #333;
    }

div.tabbed {
    padding: 1em;
    border: 1px solid #ccc;
    background: #fff;
    }
    

/*----------------------------------------------------------------------------
 * Profile: details
 *---------------------------------------------------------------------------*/

body.account .buttons.top {
    display: none;
    }
    
body.account textarea {
    height: 3em;
    margin-bottom: 0.25em;
    }

    
/*----------------------------------------------------------------------------
 * Properties: search
 *---------------------------------------------------------------------------*/

#select_bedrooms select,
#select_sales_price select,
#select_lettings_price select {
    width: 10em;
    }
    
#list_count {
    color: #999;
    }
    
#search_details {
    margin-bottom: 1em;
    }
    

