/*
* core.css
* Jason Murray Cole ( http://jasoncole.ca )
* April - June 2007
*/

/** General  **/

body {
    background-color: #fff;
    color: #333;
    font: 100% Verdana, Tahoma, Arial, sans-serif;
    margin: 0;
    text-align: center;
}

/**  Basic Styles  **/

form,
fieldset {
    border: none;
    line-height: 1em;
    width: 800px;
    margin: 0 auto;
}

.contactleft {
    width: 25%;
    text-align: right;
    clear: both;
    float: left;
    display: inline;
    padding: 5px 0;
}

.contactright {
    width: 70%;
    text-align: left;
    float: right;
    display: inline;
    padding: 5px 0;
}

input {
    border: 1px solid #ccc;
}

textarea {
    background: #fff url(../images/gradient2.png) bottom left repeat-x;
    border: 1px solid #ccc;
}

blockquote {
    background: url(../images/quote_open.gif) top left no-repeat;
    margin: 10px 0;
}

blockquote p {
    padding: 10px 30px;
    margin: 0;
}

blockquote .final {
    background: url(../images/quote_close.gif) bottom right no-repeat;
}

table {
    border: none;
    /** font-size: 0.8em; **/
    width: 100%;
}

caption {
    border-bottom: 1px solid #666;
    border-top: 1px solid #666;
    padding: 5px 0;
    margin: 5px 0;
}

td,
th {
    margin: 1px;
    border: 1px solid #666;
}

/**  Classes   **/

.clear {
    clear: both;
}

.left {
    float: left;
    margin: 10px;
}

.right {
    float: right;
    margin: 10px;
}

/** Main Layout **/

#container {
    text-align: left;
}

#header {
    position: relative;
    padding-bottom: 30px;
    /* Space for corner */
}

#header h1 {
    background: url(../images/corner_tl.gif) top left no-repeat;
    font-size: 3em;
    margin: 0;
    text-align: center;
}

#header h1 span {
    background: url(../images/corner_tr.gif) top right no-repeat;
    display: block;
    padding-top: 20px;
}

#header ul {
    margin: 0;
    padding: 0 10px 20px;
    text-align: right;
}

#header li {
    display: inline;
    list-style: none;
}

#header .bottom-right {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background: url(../images/corner_br.gif) bottom right no-repeat;
    padding: 0;
    margin: 0;
    z-index: 10;
}

#header .bottom-left {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 30px;
    background: url(../images/corner_bl.gif) bottom left no-repeat;
    padding: 0;
    margin: 0;
    z-index: 10;
}

#nav {
    background: #eee url(../images/corner_br.gif) bottom right no-repeat;
    border-bottom: 20px solid #FFF;
    color: #222;
    padding: 0 0 20px;
}

#nav .first {
    background: url(../images/corner_tl.gif) top left no-repeat;
    margin: 0;
}

#nav .first span {
    background: url(../images/corner_tr.gif) top right no-repeat;
    display: block;
    padding-top: 20px;
}

#nav h2 {
    text-align: center;
}

#extra {
    background: #eee url(../images/corner_bl.gif) bottom left no-repeat;
    border-bottom: 20px solid #FFF;
    color: #222;
    padding: 0 0 20px;
}

#extra .first {
    background: url(../images/corner_tl.gif) top left no-repeat;
    margin: 0;
}

#extra .first span {
    background: url(../images/corner_tr.gif) top right no-repeat;
    display: block;
    padding-top: 20px;
}

#extra h2 {
    margin: 0 10px;
    text-align: center;
}

#extra p {
    margin: 10px;
}

#content {
    background: #ddd url(../images/corner_bl_alt.gif) bottom left no-repeat;
    border-bottom: 20px solid #FFF;
    color: #000;
    padding: 20px 20px 70px;
}

#content .first {
    background: url(../images/corner_tl.gif) top left no-repeat;
    margin: -20px -20px 0;
}

#content .first span {
    background: url(../images/corner_tr.gif) top right no-repeat;
    display: block;
    padding: 20px 0 0;
}

#content h2,
#content h3,
#content h4,
#content h5,
#content h6,
#content p {
    text-align: center;
}

#content th {
    color: #ff0000;
}

#content .table {
    display: table;
    /* width: 50%;*/
    table-layout: auto;
    margin: auto;
}

#content .t2 {
    display: table-cell;
    width: 2%;
}

#content .t3 {
    display: table-cell;
    width: 3%;
}

#content .t5 {
    display: table-cell;
    width: 5%;
}

#content .t15 {
    display: table-cell;
    width: 15%;
}

#content .t20 {
    display: table-cell;
    width: 20%;
}

#content .t30 {
    display: table-cell;
    width: 30%;
}

#content .t40 {
    display: table-cell;
    width: 40%;
}

#content .t50 {
    display: table-cell;
    width: 50%;
}

#content .t60 {
    display: table-cell;
    width: 60%;
}

#footer {
    background: #eee url(../images/corner_br.gif) bottom right no-repeat;
    border-bottom: 20px solid #FFF;
    color: #333;
    font-size: 0.8em;
    text-align: center;
}

#footer p {
    background: url(../images/corner_bl.gif) bottom left no-repeat;
    margin: 0;
}

#footer p span {
    background: url(../images/corner_br.gif) bottom right no-repeat;
    display: block;
    padding: 20px 0;
}

/** Link Colours **/
a,
a:link,
a:visited,
a:hover,
a:active {
    color: #039;
}

a:hover,
a:focus,
a:active {
    background-color: #039;
    color: #fff;
    text-decoration: none;
}