/*----------------------------------------------------------------------------
 * 
 * common.css: global reset styles and helper classes used EVERYWHERE
 *
 *---------------------------------------------------------------------------*/


/*----------------------------------------------------------------------------
 * Reset styles
 *---------------------------------------------------------------------------*/

* {
	margin: 0px;
	padding: 0px;
}

html, body {
	min-height: 100%;
	height: 100%;
	font-family: arial, helvetica, sans-serif;
	font-size: 0.9em;
}

html>body, html>body #container {
    height: auto;
}

body { 
	text-align: left;
}

p {
	margin: 0 0 1em 0;
}

img, iframe { 
    border: none;
}

a, a:link {}
a:visited {}
a:hover {}
a:active {}

h1, h2, h3, h4, h5, h6 {
	font-family: "trebuchet ms", arial, helvetica, sans-serif;
	font-weight: bold;
	font-size: 100%;
	clear: left;
}

em {
	font-style: italic;
}
	
input, textarea, select {
	margin: 0;
	padding: 1px;
	font-size: 100%;
	font-family: inherit;
}
	
select { padding: 0; }

strong, b { font-weight: bold; }


/*----------------------------------------------------------------------------
 * Global helper classes
 *---------------------------------------------------------------------------*/

ul.inline {
	list-style-type: none;
	margin: 0;
}

ul.inline li {
	display: inline;
	margin-right: 1em;
}

.hidden {
	display: none;
}

.clear {
    clear: both;
    display: block;
    }
    
.clear_left {
    clear: left;
    display: block;
    }
    
.clear_right {
    clear: right;
    display: block;
    }
    
.float_left {
    float: left;
    }
    
.float_right {
    float: right;
    }

.text_left {
    text-align: left;
    }
    
.text_center {
    text-align: center;
    }
    
.text_right {
    text-align: right;
    }

br.clear {
    height: 1px;
    }

.print {
	display: none;
	}


/*----------------------------------------------------------------------------
 * Pagination
 *
 * Should this be here? Probably not.  It could perhaps be in a pagination.css
 * file, or we could create a folder of pagination stylesheets for import.
 *
 * Credits: Dynamic Drive CSS Library
 * URL: http://www.dynamicdrive.com/style/csslibrary/item/css-pagination-links/ 
 *---------------------------------------------------------------------------*/

.pagination {
    padding: 0;
    margin: 0;
    }

.pagination ul {
    margin: 0; padding: 0;
    text-align: left; /*Set to "right" to right align pagination interface*/
    font-size: 0.9em;
    }

.pagination li {
    list-style-type: none;
    display: inline;
    padding-bottom: 0;
    }

.pagination a, .pagination a:visited {
    padding: 2px 5px;
    background: #e7e7e7;
    text-decoration: none; 
    color: #666;
    }

.pagination a:hover, .pagination a:active {
    color: #000;
    background: #ccc;
    }

.pagination li.currentpage {
    font-weight: bold;
    padding: 2px 5px;
    background-color: #999;
    color: #fff;
    }

.pagination li.disablepage {
    padding: 2px 5px;
    background: transparent;
    color: #ccc;
    }

.pagination li.nextpage {
    font-weight: bold;
    }

/* IE 6 and below. Adjust non linked LIs slightly to account for bugs */
* html .pagination li.currentpage, * html .pagination li.disablepage { 
    margin-right: 5px;
    padding-right: 0;
    }

.pagination.bottom {
	margin-bottom: 1em;
}


/*----------------------------------------------------------------------------
 * Terms
 *---------------------------------------------------------------------------*/

div#terms_container_1 {
	border: 1px solid #ccc;
}

div#terms_container_2 {
	margin: 2px;
	padding: 10px;
	width: auto;
	height: 260px;
	overflow: auto;
}

.terms_content {
	font-family: monospace;
	font-size: 1.1em;
	text-align: left;
	line-height: 1.25em;
	color: #666;
	margin-bottom: 1em;
}

.terms_content * {
	font-family: monospace;
}

#content .terms_content a {
	color: #666;
}

.terms_content h1, h2, h3, h4, h5 {
	margin-bottom: 0.5em;
}

.terms_content p {
	margin-bottom: 1em;
}

.terms_content h2 {
	font-size: 1.5em;
	line-height: 1.1em;
	margin: 0 0 0.5em 0;
}

.terms_content h3 {
	font-size: 1.2em;
	line-height: 1.3em;
	margin: 1em 0 0.5em 0;
}

.terms_content dt {
	width: 4em;
	float: left;
	clear: left;
}

.terms_content dd {
	margin: 0 0 1em 4.5em;	
}

.terms_content ul, ol {
	margin-top: 0.75em;
	margin-bottom: 1em;
	margin-left: 5em;
}

.terms_content li {
	margin-bottom: 0.5em;
}

.terms_content ul {
	list-style: disc;
}

.terms_content ol {
	list-style: lower-roman;
}



/*----------------------------------------------------------------------------
 * 
 * common/layout.css: cross-theme stylesheet for layout styles applicable to all agencies.
 * 
 * This stylesheet should be incorporated by all themes to provide styling
 * for core layout components.
 *
 *---------------------------------------------------------------------------*/
 
 
  
  
 	
/*----------------------------------------------------------------------------
 * Logo
 *---------------------------------------------------------------------------*/

h1 a {
	text-decoration: none;
	font-size: 2.2em;
}


/*----------------------------------------------------------------------------
 * 
 * common/content.css: cross-theme stylesheet for content styles applicable to all agencies.
 * 
 * This stylesheet should be incorporated by all themes to provide styling
 * for core content components (e.g. login, registration).
 *
 *---------------------------------------------------------------------------*/
 
 
/*----------------------------------------------------------------------------
 * User info area
 *---------------------------------------------------------------------------*/

div#header_right {
    text-align: right;
    }


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

#sidebar #uhome_module {
    text-align: center;
    }
    
#sidebar #uhome_module p {
    margin: 1em;
    }

	
/*----------------------------------------------------------------------------
 * Industry logos
 *---------------------------------------------------------------------------*/

#site_industry_logos_content {
	text-align: center;
	margin-top: 10px;
	padding: 10px;
}

#site_industry_logos_content li {
	padding: 10px 10px 25px 10px;
	display: inline;
}

#site_industry_logos_content li img { 
	vertical-align: middle;
}


/*----------------------------------------------------------------------------
 * 
 * common/controllers.css: cross-theme stylesheet for content styles applicable to all agencies.
 * 
 * This stylesheet should be incorporated by all themes to provide styling
 * for core controller components (e.g. login, registration).
 *
 *---------------------------------------------------------------------------*/
 
 
 /*----------------------------------------------------------------------------
 * Registration
 *---------------------------------------------------------------------------*/

dl#area_tree_selector dd {
    border: 1px solid #ccc;
    background: #eee;
    display: inline-block;
    }

dl#area_tree_selector dd div {
    padding: 1em;
	}
	
ul.tree {
    }
    
ul.tree input {
    margin-left: 0.5em;
    }
    
ul.tree li {
    }
    
ul.tree ul {
    margin-bottom: 0.5em;
    }
    
    
/*----------------------------------------------------------------------------
 * Profile: Saved searches
 *---------------------------------------------------------------------------*/

table {
    width: 100%;
    }
    
table tr {
    vertical-align: top;
    }
    
table th {    
    text-align: left;
    }
    
table thead th {
    border-bottom: 1px solid #ccc;
    padding: 0.25em;
    }
    
table tbody th {
    font-weight: normal;
    }
    
table tbody th,
table td {
    padding: 0.25em;
    }
    
    
/*----------------------------------------------------------------------------
 * Account: Registration
 *---------------------------------------------------------------------------*/

body.account_register .item {
    margin-bottom: 0;
    }
    
	
/*----------------------------------------------------------------------------
 * Search: results
 *---------------------------------------------------------------------------*/

.search_header {
	margin-bottom: 0.5em;
	}
	
.search_footer {
	margin-top: 0.5em;
	}
	
ul.search_actions {
	margin: 0.25em 0 0.75em 0;
	}
	
#search_header .pagination,
#search_footer .pagination {
	margin: 0 0 1em 0;
	}

	
/*----------------------------------------------------------------------------
 * Search: results
 *---------------------------------------------------------------------------*/

body.contact select {
	width: 90%;
	}
	
body.contact textarea {
	width: 90%;
	height: 10em;
	}


/*----------------------------------------------------------------------------
 * Branches
 *---------------------------------------------------------------------------*/

body.branches div#gmap {
    height: 300px;
    margin-bottom: 1em;
    }
    
body.branches .contact_details {
	font-size: 0.9em;
	margin-bottom: 8px;
	}
	
body.branches .contact_details ul {
	list-style: none;
	list-position: inside;
	margin-left: 0px;
	}

body.branches .contact_details .photo {
	float: right;
	border:none;
        margin-left: 5px;
}

body.branches p.more {
	float: right;
	margin: 0 0 1em 0;
	}
	
body.branches #main p.more a {
	font-size: 0.85em;
	display: block;
	padding: 3px 22px 6px 0;
	margin-right: 4px;
	background: right 50% no-repeat url(/global/images/icons_small/navigate_right2_grey.png);
	}	

/*----------------------------------------------------------------------------
 * 
 * common/layout.css: cross-theme stylesheet for layout styles applicable to all site types eg portal & agency.
 * 
 * This stylesheet should be incorporated by all themes to provide styling
 * for core layout components.
 *
 *---------------------------------------------------------------------------*/
 
 .png_fix { behavior: url(/global/stylesheets/iepngfix.htc) }
 
 
 /*----------------------------------------------------------------------------
 * Administration toolbar
 *---------------------------------------------------------------------------*/
 
#admin_container {
    font-size: 0.85em;
    }

#admin_container p {
    display: block;
    padding: 0.5em;
    background: #ccc;
    position: absolute;
    top: 0; left: 0;
    border-bottom: 1px solid #bbb;
    border-right: 1px solid #bbb;
    opacity: 0.8;
    filter: alpha(opacity=80);
    -moz-opacity: 0.8;
    }

body #admin_container a {
    color: #fff;
    }
    
#admin {
    padding: 0.5em 0 0 0.5em;
    margin: 0;
    background: #ccc;
    color: #fff;
    border-bottom: 1px solid #bbb;
    }

#admin.hover {
    background: #aaa;
    border-bottom-color: #999;
    }

body #admin_container a:hover {
    color: black;
    }
    
#admin ul {
    margin: 0 0 0.5em 0;
    }

#admin li.sep {
	padding-right: 1.2em;
	border-right: 1px solid #999;
	}
	
#admin h3 {
    margin: 0 1em 0.5em 0;
    float: left;
    }

	
 /*----------------------------------------------------------------------------
 * Administration toolbar
 *---------------------------------------------------------------------------*/
 
 #slideshow div#slideshow_overlay {
    opacity: 0.6;
    filter: alpha(opacity=60);
	-moz-opacity: 0.6;
    bottom: 0px;
    top: auto;
    left: 0px;
    font-family: trebuchet, "trebuchet MS", helvetica, sans-serif;
    position: absolute;
    z-index: 999;
    color: black;
    background: #fff; 
    width: 100%; 
    font-size: 1.3em; 
    font-weight: bold;
    padding: 0.25em 0;
    margin: 0;
    }

#slideshow_overlay p {
	margin: 0 0.5em;
	}


	

/*----------------------------------------------------------------------------
 * 
 * common/content.css: cross-theme stylesheet for content styles applicable to all sites.
 * 
 * This stylesheet should be incorporated by all themes to provide styling
 * for core content components (e.g. login, registration).
 *
 *---------------------------------------------------------------------------*/
 
 
/*----------------------------------------------------------------------------
 * General
 *---------------------------------------------------------------------------*/

ul {
    margin: 0 0 1em 2em;
    }

h2, h3, h4, h5, h6 {
	line-height: 1.25em;
	}
	

/*----------------------------------------------------------------------------
 * Icons
 *---------------------------------------------------------------------------*/

td.icon_with_filename a.pdf {
    display: block;
    padding: 58px 17px 6px 20px;
    background: 50% 6px url(/global/images/icons_misc/document_pdf_48x48.png) no-repeat;
    font-size: 0.8em;
	color: #666;
    text-decoration: none;
    color: #666;
	}


/*----------------------------------------------------------------------------
 * Maps
 *---------------------------------------------------------------------------*/
 
#gmap {
	height: 300px;
	}
 
#gmap .bubble {
	padding: 0;
	color: #333;
	font-size: 0.9em;
	}

html body #gmap .bubble h3 {
	color: #666;
	margin: 0 1em 0.25em 0; 
	padding: 0;
	border: none;
	font-size: 1.1em;
	}
	
#gmap .bubble p.thumbnail {
	float: left;
	margin: 0 10px 0 0;
	}

#gmap .bubble p.thumbnail img {
	width: 80px; height: 60px;
	border: none;
	}
	
#gmap .bubble ul {
	float: left;
	list-style: none;
	margin: 0;
	}
	
#gmap .bubble ul li {
	margin: 0 0 0.25em 0;
	}
	
#gmap .bubble ul li.more {
	font-size: 0.9em;
	color: #666;
	margin-top: 0.75em;
	}

#gmap .bubble p.short_description {
	clear: left;
}


/*----------------------------------------------------------------------------
 * Forms
 *---------------------------------------------------------------------------*/
 
dd ul {
 	margin: 0;
	list-style-type: none;
	}


/*----------------------------------------------------------------------------
 * Trees
 *---------------------------------------------------------------------------*/

ul.tree li input {
	line-height: 1.5em;
}


/*----------------------------------------------------------------------------
 * Photos
 *---------------------------------------------------------------------------*/

div.media_block {
    margin-bottom: 20px;
}

div.media_block p {
 	margin: 0 0 0.1em;
    font-size: 0.9em;
}
	

