/*
 * Override some settings from YUI fonts/base/reset:
 */

html
{
    background: none;
}

div, p, h1, h2, h3, h4, h5, h6
{
    text-align: left;    /* YUI sets all these to center alignment */
}

h4, h5, h6
{
    margin-bottom: 0.5em;
}

table
{
    margin: 0;
    border-collapse: collapse;
}

td, th
{
    border: 0px solid black;
    margin: 0;
    padding: 0;
}

p
{
    line-height: 1.3;
}

img
{
    display: block;
}

/**********************************************************/

body
{
    margin: 0;
    padding: 10px;
    background-color: #666666;
    background-image: url(../images/bg-grey-gradient.png);
    background-repeat: repeat-x;
}

#doc
{
    background-color: #ffffff;
    height: 100%;
    background-image: url(../images/blue-sky-background.png);
    background-repeat: no-repeat;
    background-position: 0px -30px;
}

/**********************************************************/

#doc .blackborder
{
    border: 1px solid black;
}

#doc .bold
{
    font-weight: bold !important;
}

#doc .center    /* for inline elements */
{
    text-align: center !important;
}

#doc .centered    /* for block elements */
{
    margin-left: auto;
    margin-right: auto;
}

#doc .inline
{
    display: inline !important;
}

#doc h1
{
    color: #520093;
}

.closebutton
{
    float: right;
    color: #9999ff;
    font-size:  85%;
}

#doc .no-top-margin
{
    margin-top: 0;
}

/**********************************************************/

/* From YUI fonts docs: */

#doc .fontminus3 { font-size:  77% }
#doc .fontminus2 { font-size:  85% }
#doc .fontminus1 { font-size:  93% }
#doc .fontplus1  { font-size: 108% }
#doc .fontplus2  { font-size: 116% }
#doc .fontplus3  { font-size: 123.1% }

/**********************************************************/

#doc .red       { color: red     }
#doc .orange    { color: #ea6500 }
#doc .blue      { color: #23287f }
#doc .lightblue { color: #3658C5 }
#doc .purple    { color: #520093 }

/**********************************************************/

#hd
{
    padding-top: 40px;
    text-align: center;
    position: relative;
}

#hd #top_menu_left,
#hd #top_menu_right
{
    color: white;
    font-weight: bold;
    position: absolute;
    top: 14px;
}

#hd #top_menu_left
{
    left: 0;
    margin-left: 10px;
}

#hd #top_menu_right
{
    right: 0;
    margin-right: 10px;
}

#hd #top_menu_left  a,
#hd #top_menu_right a
{
    color: white;
    padding: 8px;
}

#hd #top_menu_left  a:hover,
#hd #top_menu_right a:hover
{
    background-image: url(../images/heart-25x25.png);
    background-repeat: no-repeat;
    background-position: 0px 6px;
}

#hd #top_menu_left  a.disabled,
#hd #top_menu_right a.disabled
{
    cursor: default;
    background: none;
    text-decoration: none;
}

/**********************************************************/

#bd
{
    Xmargin-top: 55px;
}

#bd div.leftcolumn
{
    margin-left: 5px;
    position: relative;
}

#bd div.maincolumn
{
    width: 30em;         /* 31 assumes YUI "doc" (750px) and "yui-t1" */
    padding-left: 0.5em;
    padding-right: 0.5em;
}

#bd div.rightcolumn
{
    margin-right: 5px;
    width: 12.3077em;    /* assumes right column YUI "yui-t1" */
    position: relative;
}

#bd.singlecolumn
{
    margin-left: auto;
    margin-right: auto;
    width: 61.803399%;    /* golden */
}

#ft
{
    padding: 10px;
}

p.moreinfo
{
    padding: 0.5em;
    background-color: #ffffbb;
    border: 1px solid #666666;
    text-align: center;
}

p.underconstruction
{
    padding: 1em;
    padding-left: 2em;
    padding-right: 2em;
    font-style: italic;
    font-weight: bold;
    text-align: center;
}

p.copyright
{
    margin: 0;
    text-align: center;
    font-weight: bold;
}

/**********************************************************/

#purchase_sidebar
{
    color: #333333;
    background-color: #ffffee;
    font-size:  93%;
    border-top: 1px solid #9999ff;
}

#purchase_sidebar .sidebarsection
{
    border-bottom: 1px solid #9999ff;
    padding: 10px;
    padding-bottom: 0;
}

#purchase_sidebar h1
{
    font-size:  116%;
    margin-top: 0;
    margin-bottom: 0.5em;
}

#purchase_sidebar form
{
    margin-left: 2em;
    margin-bottom: 1em;
}

/**********************************************************/

#purchase
{
    margin-left: auto;
    margin-right: auto;
}

#purchase table
{
    border-top: 1px solid #9999ff;
    margin-bottom: 1em;
}

#purchase td
{
    padding: 1em;
    border-bottom: 1px solid #9999ff;
    vertical-align: top;
}

#purchase td.options
{
    text-align: right;
}

#purchase select
{
    width: 10em;
    margin-bottom: 1em;
}

#purchase .name
{
    float: left;
    font-weight: bold;
}

#purchase .price
{
    float: right;
    margin-left: 1em;
    color: #666666;
    font-weight: bold;
}

#purchase .desc
{
    clear: both;
    white-space: nowrap;
    font-size:  85%;
}

#purchase .tagopts
{
    text-align: right;
    margin-bottom: 1em;
}

#purchase-instructions
{
    position: relative;
}

#purchase-instructions ul
{
    margin-top: 0;
}

#purchase-instructions li
{
    margin-bottom: 0.5em;
}

#purchase-instructions form
{
    display: inline;
}

#purchase-instructions div.purchase-instructions
{
    padding: 1em;
    position: absolute;
    cursor: pointer;
    z-index: 50;
    background-color: #ffffcc;
    border: 1px solid black;
}

#purchase-instructions .instruction-link
{
    font-size: 93%;
    float: left;
    margin-left: 1em;
    margin-right: 1em;
    margin-bottom: 1.5em;
    text-align: center;
}

/**********************************************************/

table.shipping
{
    margin-bottom: 1em;
    margin-left: auto;
    margin-right: auto;
    width: 70%;
}

table.shipping th,
table.shipping td
{
    width: 33%;
    text-align: left;
    font-size: 93%;
}

table.shipping tr.types th
{
    text-align: right;
}

table.shipping .region
{
    color: #520093;
}

table.shipping .orders
{
    color: #23287f;
    padding-left: 0.3em;
}

table.shipping td.amount
{
    text-align: right;
}

/**********************************************************/

#storycontainer
{
    text-align: center;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

#storycontainer .story
{
    height: 300px;
    border: 1px solid #999999;
    padding: 0.5em;
    background-color: #eeeeff;
}

#storycontainer .story .storyimages
{
    text-align: center;
}

#storycontainer .story img
{
    display: inline;
    margin-left: 0.5em;
    margin-right: 0.5em;
    border: 1px solid black;
    height: 200px;
}

#storycontainer .story .storytext
{
    margin-top: 0.5em;
}

#storycontrols
{
    text-align: center;
    margin-top: 0.5em;
}

#storycontrols img
{
    display: inline;
    margin-left: 0.5em;
    margin-right: 0.5em;
}


