html {
    height: 100%;
    font-family: "Trebuchet MS", sans-serif;
    font-size: 11pt;
}
body {
    background: white;
    margin: 0;
    padding: 0;
    height: 100%;
    }

#container {
    position: relative;
    background: url(images/rice-paper-bgd.jpg) repeat;
    min-width: 780px;
    max-width: 950px;
    width: 80%;
    _width: 780px;
    margin: auto;
    min-height: 100%;
    _height: 100%;
    }
    #shadow-left-standards {
        /* In this case, the fx/standards version is almost more of a hack.
         * fx/standards don't really like min-height% inside a min-height%
         * so we use 100% window height to make the shadow fill the window,
         * and fixed positioning to make it look as if the shadow goes
         * down the whole page even when the page is bigger than the window.
         */
        position: fixed;
        top: 0;
        background: url(images/shadow-left.png) repeat-y;
        width: 100px;
        height: 100%;
        _display: none;
        }
    #shadow-right-standards {
        /* See above re fx/standards */
        position: fixed;
        top: 0;
        background: url(images/shadow-right.png) repeat-y;
        background-position: right top;
        min-width: 780px;
        max-width: 950px;
        width: 80%;
        _width: 780px;
        height: 100%;
        _display: none;
        }
    #shadow-left-ie6 {
        /* IE6 doesn't like position fixed, but fortunately it does what
         * you'd expect with a min-height-inside-min-height div
         * ('height' is more-or-less 'min-height' in IE6)
         * so we can do with IE6 what we would've liked to do with fx/standards
         */
        _position: relative;
        _background: url(images/shadow-left.png) repeat-y;
        _height: 100%;
        _width: 100%;
        }
    #shadow-right-ie6 {
        _position: relative;
        _background: url(images/shadow-right.png) repeat-y;
        _background-position: right top;
        _height: 100%;
        _width: 100%;
        }

.nav {
    position: absolute;
    top: 85px;
    right: 20px;
    font-size: 10pt;
    font-weight: bold;
    z-index: 2;
    }
    .nav ul {
        margin: 0; padding: 0;
        }
        .nav a {
            text-decoration: none;
            }
        .nav a:hover {
            text-decoration: underline;
            }
        .nav li {
            display: block;
            text-align: center;
            width: 99px;
            _width: 97px;
            list-style-type: none;
            margin: 0; padding: 0;
            float: left;
            background: url(images/verticalbar.png) no-repeat;
            background-position: center right;
            }
        .nav li.last {
            background: none;
            }
        .nav ul.menu {
            display: none;
            position: relative;
            left: -1px;         /* a result of li.active's border-image hack */
            background: url(images/menu-gradient.png) repeat-y;
            _background: url(images/menu-gradient-ie6.png) repeat-y;
            border-left: 1px solid #8b3030;
            border-right: 1px solid #8b3030;
            border-bottom: 1px solid #8b3030;
            padding: 13px 0 7px 0;
            font-weight: normal;
            width: 97px;
            }
        .nav li.active a:hover {
            text-decoration: none;
            }
        .nav li.active {
            position: relative;
            background: url(images/menu-topcurve.png) no-repeat;
            _background: url(images/menu-topcurve-ie6.png) no-repeat;
            left: -1px;         /* minor hack to cover up*/
            padding-left: 1px;  /* border-image when active */
            padding-right: 0;
            height: 16px;
            line-height: 16px;
            }
        .nav li.active ul.menu {
            display: block;
            }
            .nav li.active ul.menu li {
                text-align: left;
                float: none;
                background: none;
                width: 97px;
                padding: 0;
                margin: 0;
                line-height: 9pt;
                }
            .nav li.active li a {
                display: block;
                width: 85px;
                padding: 4px 6px 4px 6px;
                color: #333;
                }
            .nav li.active li a:hover {
                font-weight: bold;
                background: white;
                }

#logo {
    position: absolute;
    right: 30px;
    top: 30px;
    width: 322px;
    height: 40px;
    background: url(images/logo.png) no-repeat;
    outline: none;
    cursor: pointer;
    _background: none;
    _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/logo.png');
    }

#tapestry {
    position: absolute;
    left: 80px;
    top: 143px;
    width: 28px;
    height: 280px;
    background: url(images/tapestry.png) no-repeat;
    z-index: 1;
    }

#jiujitsu-throw {
    position: absolute;
    left: 120px;
    top: 34px;
    width: 180px;
    height: 174px;
    background: url(images/jiujitsu-throw.png) no-repeat;
    _background: url(images/jiujitsu-throw-ie6.png) no-repeat;
    z-index: 1;
    }

#sakura {
    position: absolute;
    top: 137px;
    width: 169px;
    height: 336px;
    right: 8px;
    background: url(images/sakura.png) no-repeat;
    _background: url(images/sakura-ie6.png) no-repeat;
    z-index: 1;
    _z-index: 0;
    }

#sakura-spacer {
    position: relative;
    float: right;
    width: 70px;
    height: 150px;
    z-index: 2;
    }

.info #sakura-spacer {
    width: 40px;
    }

a {
    color: #ab1212;
    }

#content {
    position: relative;
    top: 159px;
    _top: 158px;
    margin-bottom: 269px;   /* take account of our top offset, & the footer */
    z-index: 0;
    left: 130px;
    width: 70%;
    min-height: 200px;  /* make sure we don't leave gaps in very short windows */
    _height: 200px;
    line-height: 13.5pt;
    }

#editor {
    width: 99%;
    background: #dfdcce;
    }
    #editor .info {
        margin-right: 0;
        margin-left: 10px;
        left: 0;
        }


#content a {
    }

#content a:hover {
    color: #500;
    }

#content h1.first {
    position: relative;
    left: -80px;
    margin: 0 0 30px 0;
    padding: 0 9% 0 0;
    font-size: 10pt;
    font-weight: bold;
    text-align: right;
    background: url(images/titlebar.png) no-repeat;
    background-position: right top;
    height: 14px;
    line-height: 14px;
    width: 100%;
    color: white;
    _background: url(images/titlebar-ie6.png) no-repeat;
    _left: -108px;
    _padding-right: 20px;
    _width: 562px;
    }
    #content h1.first img {
        display: inline;
        }
    
.sessions {
    font-size: 10pt;
    }
    .sessions table {
        border-collapse: collapse;
        }
    .sessions td {
        padding: 3px 14px;
        padding-left: 0;
        vertical-align: top;
        }

.club {
    width: 80%;
    margin-top: 50px;
    }
    .club th, .club td {
        text-align: left;
        vertical-align: top;
        }
    .club h2 {
        margin-top: 0;
        }

.contacts {
    }
    .contacts th, .contacts td {
        text-align: left;
        vertical-align: top;
        }
    .contacts table {
        padding-right: 40px;
        }
    .contacts .name {
        color: #666;
        }

#techniques .thumb img {
    display: inline;
    }

#home .display {
    width:auto;
    margin: auto;
    }
    #home .thumb {
        display: inline;
        text-align: center;
        }
        

.bios .thumb {
    float: left;
    margin-top: 15px;
    margin-bottom: 5px;
    }
    
h1, .h1 {
    font-size: 14pt;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 5px;
    color: black;
    }

h2, .h2 {
    font-size: 12pt;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 5px;
    color: #ab1212;
    }

h3, .h3 {
    font-size: 11pt;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 5px;
    }

option.h1, option.h2, option.h3 {
    margin: 0;
    }

.info {
    float: right;
    width: 250px;
    font-size: 9pt;
    background: white;
    padding: 10px;
    border: 1px solid #ab1212;
    position: relative;
    margin-left: -60px;
    right: -70px;
    line-height: 11pt;
    }
    .info h3 {
        color: #444;
        font-size: 10pt;
        font-weight: bold;
        margin: 0;
        margin-top: 0px;
        margin-bottom: 0px;
        }
    .info ul {
        list-style-type: none;
        padding: 0 10px 0 18px;
        margin: 10px 0;
        }
    .info li {
        margin: 3px 0;
        }

ul .label {
    color: #ab1212;
    font-weight: bold;
    position: relative;
    left: -6px;
    }

ul.arrows {
    padding-left: 15px;
    margin-left: 0;
    }
    ul.arrows li {
        background: url(images/list-arrow.png) no-repeat;
        background-position: left 0.4em;
        list-style-type: none;
        padding-left: 14px;
        margin-left: 0;
        }

a:hover img {
    opacity: 0.75;
    filter: alpha(opacity=75);
    }
.thumb, .thumblink {
    left: 0;
    top: 0;
    margin: 5px 15px 30px 15px;
    text-align: center;
    position: relative;
    outline: none;
    }
a.thumb, a.thumblink {
    text-decoration: none;
    }
    .thumb img, .thumblink img {
        border: 1px solid black;
        }
    .thumb .caption, .thumblink .caption {
        display: block;
        font-size: 10pt;
        line-height: 11pt;
        }
    .thumb .date, .thumblink .date {
        display: block;
        font-size: 10pt;
        color: #777;
        line-height: 11pt;
        }
.popup {
    position: relative;
    top: 0; left: 0;
    padding: 5px;
    border: 2px solid black;
    background: white;
    text-align: right;
    font-weight: bold;
    color: #777;
    cursor: pointer;
    }
    .popup img {
        display: block;
        padding-bottom: 5px;
        }
    .popup .tl, .popup .tr, .popup .bl, .popup .br {
        position: absolute;
        width: 7px;
        height: 7px;
        _display: none; // easier not to have rounded corners in IE6
        }
    .popup .tl {
        left: -2px;
        top: -2px;
        background: url(images/popup-tl.png) no-repeat;
        }
    .popup .tr {
        right: -2px;
        top: -2px;
        background: url(images/popup-tr.png) no-repeat;
        }
    .popup .bl {
        left: -2px;
        bottom: -2px;
        background: url(images/popup-bl.png) no-repeat;
        }
    .popup .br {
        right: -2px;
        bottom: -2px;
        background: url(images/popup-br.png) no-repeat;
        }

.info-message {
    background: white;
    border: 1px solid #ab1212;
    padding: 3px 5px;
    margin-bottom: 15px;
    font-weight: bold;
    color: #666;
    }
    .info-message p {
        margin: 5px 0;
        }

#footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80%;
    color: #666;
    padding-bottom: 20px;
    text-align: right;
    }
#social {
    color: #666;
    margin-top: 30px;
    bottom: 0;
    width: 350px;
    }
#mounttaranaki {
    position: absolute;
    bottom: 0;
    left: 30px;
    background: url(images/mounttaranaki.png) no-repeat;
    width: 359px;
    height: 125px;
    _background: none;
    _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/mounttaranaki.png');
    }
    
form th {
    text-align: left;
    }
form th .message {
    font-size: smaller;
    }
form .error .message {
    color: red;
    }

input.string, textarea {
    border: 1px solid #ab1212;
    background: white;
    }

/* === Textbox === */

.textbox {
    position: relative;
    min-height: 20px;
    _height: 20px;
    border: 1px dashed #765;
    background: #dfdcce;
    margin: 10px 0 10px 0;
    padding: 5px 7px;
    z-index: 0;
    }
.list-button ul, .list-button li {
    margin: 0;
    padding: 0;
    }
    .list-button li {
        margin-left: 10px;
        }
.spacer {
    padding-left: 50px;
    }
.buttons, .save-buttons {
    padding: 6px 16px;
    z-index: 1;
    }
    .buttons button, .buttons input, .buttons select,
     .buttons .file {
        border: 1px solid #777;
        background: white;
        margin: 4px 0;
        .margin: 4px 3px;
        cursor: pointer;
        .padding: 0 3px;
        }
.buttons {
    top: 150px;
    left: 15px;
    .width: 190px;
    }

.buttons, .editbar {
    border: 1px solid #ddd;
    background: #f5f5f5;
    }

.message {
    margin-top: 30px;
    }
    .message p  {
        font-style: italic;
        margin-bottom: 3px;
        }
    .message .quotes {
        font-size: 25pt;
        color: #666;
        float: left;
        padding-right: 3px;
        padding-top: 2px;
        height: 1pt;
        }
    .author {
        padding-left: 25px;
        font-weight: bold;
        color: #666;
        }
    .moderate, .delete {
        font-size: smaller;
        font-weight: bold;
        }

