/* Global styling: */
form, table, td, tr, button, br, img, p
{
	margin: 0;
	padding: 0;
}
img
{
	border: 0;
}
body 
{ 
	margin:20px 20px 20px 20px;
	padding:0px 0px 0px 0px;
	font-family: Arial, sans;
	font-size:12px;
	color:#000;
}
input.text, textarea, select
{
	font-size:12px;
	padding:1px 1px 1px 1px;
    border-top:1px solid #777;
    border-left:1px solid #ccc;
    border-right:1px solid #ccc;
    border-bottom:1px solid #ddd;
    background-color:#fff;
}
table
{
    border-collapse:collapse;
}
td
{
	vertical-align:top;
}

a
{
	padding: 0;
	font-family: Arial, Helvetica, sans-serif; 
	font-size: 12px;
	color: #666;
	font-weight: bold; 
}
a:link 
{ 
	text-decoration: none;
	color: #888;
}
a:visited 
{
	text-decoration: none;
	color: #888;
}
a:hover
{
	text-decoration: underline;
	color: #888;
}
a:active
{
	text-decoration: none;
	color: #888;
}
hr
{
	color:#888;
	background-color:#888;
	border:0px;
	height:2px;
	width:95%;
}

/* Styles used in page builder */
.pb_tinyComment
{
	font-size: 10px;
	color: #036;
}
.pb_heading
{
    margin:10px 0px 6px 0px;
	font-size: 16px;
	color: #8B4A8D;
	font-weight: bold;
    border-bottom:2px solid #8D678B;
    padding:1px 0px 1px 10px;
    background:#FFF url('headingCallout.gif') repeat-y left top;
    clear:both;
}
.pb_subHeading 
{
    margin:10px 0px 6px 0px;
    font-size: 12px;
    color: #666;
    font-weight: bold;
    border:1px solid #AAA;
    padding:1px 0px 1px 10px;
    background:#FFF url('subheadingCallout.gif') repeat-y left top;
    clear:both;
}
.pb_body, .pb_link
{
    padding-left:10px;
	font-size: 12px; 
	color: #444; 
}

#bodyContent .pageListItemUnsel, #bodyContent .pageListItemSel
{
    margin-left:20px;
}

.pb_bullets
{
	font-size: 12px;
	color: #777; 
}
.pb_imageCaption 
{
	color: #592F4F;
	font-size: 12px; 
	font-weight: bold; 
}

/* Dialog styles */
.slf_dialog
{
	border:2px solid #FFF;
	background-color:#FFF;
	overflow-x:hidden;
	
	color: #5B7196;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;  
}
.slf_titlebar
{
	cursor:default;
	clear:both;
	padding:3px 10px 0px 10px;

	background-color:#000;
	color: #FFF;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px; 
	font-weight: bold; 
}
.slf_dialog_content
{
    border:1px solid #000;
    background-color:#FFFFFF;
}
.editButton
{
	/*float:right;*/
    position:absolute;
    right:0px;
	margin-right:3px;
	cursor:pointer;
}

/* Edit interface */
.unselTab
{
	cursor:pointer;
	background-color:#EEEEEE;
	border-bottom:1px solid blue;
	padding:2px 10px 2px 10px;
	text-align:center;

	color: #5B7196;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;  
}
.unselTabContent
{
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	display:none;
}
.selTab
{
	cursor:pointer;
	background-color:#FFFFFF;
	border-top:1px solid blue;
	border-left:1px solid blue;
	border-right:1px solid blue;
	padding:2px 10px 2px 10px;
	text-align:center;

	color: #592F4F;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;  
}
.selTabContent
{
	position:absolute;
	top:0px;
	left:0px;
	width:100%;

	color: #592F4F;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;  
}

/* Other general stylings */

#bodyContent
{
    padding:0px 10px 10px 10px;
}

/* Sidebars */
.pageListItemSel
{
    padding:0px 0px 8px 15px;
    background: url('images/arrowSel.gif') no-repeat 0px 2px;
}
.pageListItemUnsel
{
    padding:0px 0px 8px 15px;
    background: url('images/arrow.gif') no-repeat 0px 2px;
}
.pageListItemUnsel a
{
	color:#666;
}
.pageListItemSel a
{
	color:#000;
}

.pageListDesc
{
    display:none;
}
/* End sidebars */

.ulImg
{
	text-align:center;
	margin:9px 9px 9px 25px;
}
.divider
{
	clear:both;
}
.dividerHidden
{
	clear:both;
	visibility:hidden;
}
.editPreview
{
	margin:5px 5px 5px 5px;
	border:1px solid blue;
	width:460px;
	height:110px;
	overflow-y:auto;
}

/* Login stuff */
.mi
{	
	font-style:italic;
	font-size: 13px;
	font-family: Arial, Helvetica, sans-serif; 
	color: #666666;
}

/* Calendar stuff */
.calendar
{
	font-size: 13px;
	font-family: Arial, Helvetica, sans-serif; 
}
.calSelected
{
	background-color:#FFFF33;
	color:red;
	font-weight:600;
	cursor:default;
}

.calInMonth
{
	background-color:#FFAA66;
	color:black;
	cursor:default;
}
.calOutMonth
{
	background-color:#66AAFF;
	color:grey;
	cursor:default;
}

.tableHeader td
{
	padding:4px 4px 4px 4px;
}
.tableRowOdd td, .tableRowEven td
{
	padding:1px 4px 1px 4px;
}

.tableHeader
{
	background-color:#E5CDFF;
}
.tableRowOdd 
{
	background-color:#C5ADEF;
}
.tableRowEven
{
	background-color:#D5BDFF;
}

/* Cart items */
.slf_cartItemContainer
{
	color:#666;
	background-color:#D5BDFF;
	border:1px solid #AAA;
}
.slf_cartItem
{
	background-color:#FFF;
	padding:10px 20px 8px 20px;
	margin:3px 3px 3px 3px;
	border:1px solid #AAA;
}
.slf_cartItemImage
{
	float:left;
	margin:3px 20px 3px 3px;
}
.slf_cartItemTitle
{
	font-size: 14px;
	color: #592F4F;
	font-weight:bold;
	margin-bottom:5px;
}
.slf_cartItemDescription
{
	clear:right;
}
.slf_cartItemAddToCart
{
	float:right;
}
.slf_cartItemBuyNow
{
	float:right;
}


/* RSS container */
#rssContainer
{
	float:right;
	position:relative;
	width:488px;
	height:1.5em;
	top:0px;
	overflow:hidden;
	border-right:2px solid #AAA;
	border-left:2px solid #AAA;
}
#rssContent
{
	position:absolute;
	top:0px;
	color:#888;
	font-size:12px;
}

/* Smart Law styling */

body
{
    background-color:#8D678B;
}

#content
{
    margin-left:auto;
    margin-right:auto;
    width:950px;

    border:1px solid #000;
    background-color:#FEF;
}

/* Topbar */
#topbar_container
{
    background-color:#222;
}
#topbar
{
    width:100%;
    height:120px;
    position:relative;
}
#logo
{
    background:url(hd_logo.gif) no-repeat top left;
    position:absolute;
    left:20px;
    top:17px;

    width:314px;
    height:65px;
}
#loginLabel
{
    position:absolute;
    top:10px;
    right:20px;
    color:#FFF;
}
.loginButton
{
    float:left;
    padding-right:10px;
    padding-left:10px;
    border-right:1px solid #FFF;
    cursor:pointer;
}
.registerButton
{
    float:left;
    padding-left:10px;
    cursor:pointer;
}
#loginError
{
    position:absolute;
    top:32px;
    right:20px;
    color:#F00;
    font-style:italic;
    font-weight:bold;
}
#tagThisPage
{
    position:absolute;
    bottom:32px;
    right:20px;
    color:#FFF;
    cursor:pointer;
}
#menubar
{
    position:absolute;
    width:100%;
    bottom:0px;
    background-color:#444;
}

/* Menu bar */
#menubar .item
{
    float:left;
    border-right:1px solid #666;
}

/* Submenus */
.subMenu
{
    z-index:9;
    position:relative;
    top:0px;
    left:0px;
    padding:5px 5px 5px 5px;
    background-color:#444;
    border:1px solid #000;
}

/* Menu items */
.item
{
    /*font-style:italic;*/
    text-decoration:underline;

    color:#FFF;
    padding:3px 15px 4px 15px;
    cursor:pointer;
}

/* Sidebar */
#sidebar_container
{
    background-color:#FFF;
    border-right:1px solid #CCC;
}
#sidebar
{
    padding:10px 10px 10px 10px;
    width:180px;
}
#sidebar .item
{
    background:url(sb_item.gif) no-repeat bottom right;
    color:#000;
}
#sidebar .selected
{
    color:#FF0;
}

/* Funky sidebar colouring */
#sidebar div.pageListItemSel
{
    background-image:none;
    text-align:right;
    padding:4px 8px 4px 8px;
    background-color:#C04ACB;
    border-top:1px solid #000;
    border-bottom:1px solid #FFF;
}
#sidebar div.pageListItemUnsel
{
    background-image:none;
    text-align:right;
    padding:4px 8px 4px 8px;
    background-color:#CB94C8;
    border-top:1px solid #FFF;
    border-bottom:1px solid #000;
}

/* My Smart Law bar */
#rightbar_container
{
    background-color:#FFF;
    border-left:1px solid #CCC;
}
#rightbar
{
    padding:10px 10px 10px 10px;
    width:180px;
}

/* Contact us pane: */
.inlineMessage input
{
    width:128px;
}
.inlineMessage textarea
{
    margin-left:10px;
    width:90%;
}

#messageHistory select
{
    width:100%;
}

/* Main content: */
#main_container
{
    background-color:#FFF;
}
#main
{
    padding:10px 0px 0px 0px;
    width:508px;
    min-height:200px;
    height:auto !important;
    height:200px;
    margin:0px 20px 10px 20px; 
}

/* Helper blocks */
#menuLayer
{
    z-index:5;
    position:absolute;
    left:0px;
    top:0px;
}


/* Specific pages */
#main #photoBox
{
    background:url(demo/user.jpg) no-repeat top left;
    margin-right:20px;
    margin-bottom:10px;
    float:left;
    border:1px solid #000;
    width:200px;
    height:235px;
}
#main .editableBlock
{
    padding:10px 10px 10px 10px;
}

.editableBlock .name
{
    display:inline-block;
    padding:1px 5px 1px 0px;
    vertical-align:top;
    width:80px;
    color:#006;
    font-weight:bold;
}
.editableBlock .value
{
    display:inline-block;
    vertical-align:top;
    padding:1px 5px 1px 10px;
    width:170px;
}
.editableBlock .valueEditor
{
    display:none;
    vertical-align:top;
    padding:0px 5px 0px 10px;
    width:170px;
}
.editableBlock .edit
{
    display:inline-block;
    vertical-align:top;
    padding:1px 5px 1px 10px;
    width:20px;
    cursor:pointer;
    visibility:hidden;
}

#main div
{
    margin-top:5px;
    margin-bottom:6px;
}

#tandcs, #tandcs a:link, #tandcs a:hover, #tandcs a:visited
{
    margin-left:0px;
    margin-top:20px;
    color:#FFF;
    text-align:center;
}
#tandcs div
{
    display:inline-block;
    padding:2px 10px 2px 10px;
}

/* Mock news items */
.newsItem
{
}
.newsItem .title
{
    margin-bottom:0px;
    color:#000;
    font-weight:bold;
}
.newsItem .preview
{
    margin-top:0px;
    color:#888;
    margin-left:20px;
}

/* Search */
#searchProgress
{
    color:#888;
    font-style:italic;
}

.searchResult .item
{
    margin-bottom:0px;
    color:#000;
    font-weight:bold;
}
.searchResult .preview
{
    margin-top:0px;
    color:#888;
    margin-left:20px;
}

/* Newslist stuff: This is hard-coded list 23...*/
#bodyContent #linkListContent_23 .pageListItemUnsel
{
    float:left;
    margin-top:0px;
    margin-bottom:0px;
    background-image:none;
    padding-left:10px;
    background-color:#FFF;
    border-right:1px solid #AAA;
    width:230px;
}
#bodyContent #linkListContent_23 .pageListItemUnsel a:link,
#bodyContent #linkListContent_23 .pageListItemUnsel a:visited
{
    color:#000;
}
#bodyContent #linkListContent_23 .pageListDesc
{
    display:block;
    padding-left:15px;
    color:#888;
}

