/* Global styling: */
form, table, td, tr, button, br, img, p
{
    margin: 0;
    padding: 0;
}
img
{
    border: 0;
}
body 
{ 
    margin:0px 0px 0px 0px;
    padding:0px 0px 0px 0px;
    font-family: Arial, sans-serif;
    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
{
    margin: 0;
    padding: 0;
    font-family: Arial, 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:4px 0px 16px 0px;
    font-size: 32px;
    color: #944D5C;
    font-weight: bold;
}
.pb_subHeading 
{
    margin:10px 0px 6px 0px;
    font-size: 16px;
    /*color: #944D5C;*/
    color:#444;
    font-weight: bold;
}
.pc_year
{
    width:160px;
    text-align:center;
    font-weight:bold;
}
.pb_body
{
    padding-left:10px;
    font-size: 16px; 
    color: #333; 
}
.pb_body2
{
    padding-left:10px;
    font-size: 12px; 
    color: #333; 
}
.pb_quote
{
    padding-left:40px;
    padding-right:40px;
    font-size: 16px; 
    font-weight:bold;
    font-style:italic;
    color: #944D5C; 
}

.pb_body b
{
    color: #944D5C;
}
.pb_table
{
    width:96%;
}
.pb_table td
{
    vertical-align:top;
}

.pb_bullets
{
    font-size: 12px;
    color: #444; 
    list-style: none;
    background: url(images/bullet.gif) no-repeat center left;
    min-height:21px;
    height:auto !important;
    height:21px;
    padding-left:30px;
    padding-top:5px;
}
.pb_bulletsStandard
{
    font-size: 12px;
    color: #444; 
}
.pb_bulletsInset
{
	font-size: 12px;
    color: #444;
	margin-left:64px;
}
.pb_bulletsNone
{
    font-size: 12px;
    color: #444; 
    list-style: none;
}
.clickableBullet
{
    text-decoration:underline;
    cursor:pointer;
}

.BulletBubble_callout
{
    position:absolute;
    padding-left:15px;
    background:url(images/callout.gif) no-repeat 0px 10px;
}
.BulletBubble_container
{
    width:200px;
    cursor:default;
    border:2px solid #8B3D4D;
}
.BulletBubble
{
    background-color:#FFD;
    padding:10px 20px 10px 20px;
    cursor:default;
    border:3px solid #FAC659;
}


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

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

    background-color:#000;
    color: #FFF;
    font-family: Helvetica, sans-serif;
    font-size: 13px; 
    font-weight: bold; 
}
.sxb_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: 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: Helvetica, sans-serif;
    font-size: 12px;  
}
.selTabContent
{
    position:absolute;
    top:0px;
    left:0px;
    width:100%;

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

/* Other general stylings */

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

#bodyContent td
{
    padding:0px 5px 0px 5px;
}

/* Sidebars */
.pageListItemSel
{
    padding:0px 0px 8px 15px;
}
.pageListItemUnsel
{
    padding:0px 0px 8px 15px;
}
.pageListItemUnsel a
{
    color:#666;
}
.pageListItemSel a
{
    color:#000;
}
/* 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: Helvetica, sans-serif; 
    color: #666666;
}

/* Calendar stuff */
.calendar
{
    font-size: 13px;
    font-family: 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 */
.sxb_cartItemContainer
{
    color:#666;
    background-color:#D5BDFF;
    border:1px solid #AAA;
}
.sxb_cartItem
{
    background-color:#FFF;
    padding:10px 20px 8px 20px;
    margin:3px 3px 3px 3px;
    border:1px solid #AAA;
}
.sxb_cartItemImage
{
    float:left;
    margin:3px 20px 3px 3px;
}
.sxb_cartItemTitle
{
    font-size: 14px;
    color: #592F4F;
    font-weight:bold;
    margin-bottom:5px;
}
.sxb_cartItemDescription
{
    clear:right;
}
.sxb_cartItemAddToCart
{
    float:right;
}
.sxb_cartItemBuyNow
{
    float:right;
}

/* Saxonbury Styling */
body
{
    background-color:#FFF;
}

#content
{
    position:relative;
    top:10px;

    margin:0px auto 10px auto;
    width:70%;

    border:3px solid #8B3D4D;
    /*border:2px solid #FAC659;*/
    /*background-color:rgb(255,255,250);
    
    opacity:0.5;
    filter:alpha(opacity=50);*/
}

/* Topbar */
#topbar
{
    z-index:1;
    position:relative;
    color:#000;
    width:100%;
    height:68px;
    /*background-color:#FAC659;
    border-bottom:2px solid #7F2838;*/
}

#loginLabel
{
}
.loginButton
{
    float:left;
    padding-right:10px;
    padding-left:10px;
    border-right:1px solid #FFF;
    cursor:pointer;
}
.registerButton
{
    float:left;
    padding-left:10px;
    cursor:pointer;
}

/* Menu bar */
#menubar
{
    position:relative;
    padding-top:5px;
    width:100%;
}
#menubarInner
{
    position:absolute;
    left:0px;
    top:0px;
}

#sidebar
{
    padding:10px 10px 10px 10px;
}

/* Main content: */
#main
{
    z-index:2;
    position:relative;
    padding:10px 5px 5px 5px;
    overflow-y:auto;

    border:2px solid #FAC659;

/*    border-top:5px solid #8B3D4D;
    border-bottom:5px solid #8B3D4D;
    border-left:8px solid #8B3D4D;
    border-right:8px solid #8B3D4D;
*/
}

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

#logo
{
    margin-left:auto;
    margin-right:auto;
    position:relative;
    z-index:2;
    background: url(images/logo.gif) no-repeat top left;
    width:300px;
    height:97px;
}
#tandcs
{
    position:relative;
    z-index:1;
    color:#7F2838;
    text-align:center;
}
#tandcs div
{
    padding:2px 10px 2px 10px;
}

/* Saxonbury new */
.clearFloats
{
    clear:both;
}

/* Menubar */
#menubar .buttonLeft
{
    float:left;
    width:20px;
    height:40px;
    background:url(images/ml.gif) no-repeat top right;
}
#menubar .buttonRight
{
    float:left;
    width:20px;
    height:40px;
    background:url(images/mr.gif) no-repeat top left;
}
#menubar .pageListItemSel
{
    float:left;
    padding:9px 12px 0px 12px;
    height:31px;
    background:url(images/mc.gif) repeat-x top right;
}
#menubar .pageListItemUnsel
{
    float:left;
    padding:9px 12px 0px 12px;
    height:31px;
    background:url(images/mc.gif) repeat-x top right;
}
/*TODO: Sort out button styles*/
#menubar .pageListItemSel a
{
    color:#FFF;
    font-size:14px;
}
#menubar .pageListItemUnsel a
{
    color:#EEE;
    font-size:14px;
}

/* Submenus */
.submenuSurround
{
    position:relative;
}
.submenuContainer
{
    position:absolute;
    width:250px;
}

.pageListItemUnsel .submenuSurround
{
    display:none;
}

/* Have to fight css a bit here: */
#menubar .pageListItemSel .submenuSurround .pageListItemUnsel,
#menubar .pageListItemSel .submenuSurround .pageListItemSel
{
    padding-top:15px;
    background:none;
    left:0px;
}

#menubar .pageListItemSel .submenuSurround .pageListItemUnsel a
{
    color:#994F65;
}
#menubar .pageListItemSel .submenuSurround .pageListItemSel a
{
    color:#8B3D4D;
    text-decoration:underline;
}

/* End menubars */
#splashHolder
{
    /*z-index:-1;*/
    position:absolute;
    left:0px;
    top:0px;
    width:100%;
    overflow:visible;
}
#splashOverlapper
{
    position:relative;
    width:600px;
    height:400px;
    margin-left:auto;
    margin-right:auto;
}
#splashBackground
{
    position:absolute;
    top:0px;
    left:0px;
    display:block;
    width:600px;
    height:400px;
}
#splashContent
{
    position:absolute;
    top:0px;
    left:0px;
    width:600px;
    height:400px;
}

.publicationsTable
{
    font-size:14px;
    color:#222;
}
.publicationsTable td b
{
    color:#000;
    font-weight:bold;
}

.publicationsTable td
{
    padding:4px 6px 4px 6px;
}
.publicationsTable td i
{
    display:block;
    margin-left:20px;
}

/* Links block */
#tandcs a
{
    font-family: serif;
    font-weight:normal;
    font-size: 14px;
    color: #944D5C;
}
#tandcs a:link
{
    text-decoration: none;
    color: #944D5C;
}
#tandcs a:visited
{
    text-decoration: none;
    color: #944D5C;
}
#tandcs a:hover
{
    text-decoration: underline;
    color: #944D5C;
}
#tandcs a:active
{
    text-decoration: none;
    color: #944D5C;
}


/*Quotes*/
.quote_start
{
    position:relative;
    overflow:visible;
}

.quote_start .quote_int
{
    position:absolute;
    z-index:-5;
    top:-14px;
    left:-19px;
    width:23px;
    height:40px;
    background:url(images/quoteStart.gif) no-repeat top left;
}

.quote_end
{
    position:relative;
    overflow:visible;
}

.quote_end .quote_int
{
    position:absolute;
    z-index:-5;
    top:-10px;
    left:-3px;
    width:23px;
    height:40px;
    background:url(images/quoteEnd.gif) no-repeat top left;
}