/****************************************************************************
/* PAGE BACKGROUND
/***************************************************************************/
body {
    background: url('/images/site/page-bg.jpg') repeat 50% 0;
}

#bg-gradient {
    min-height: 480px;
    background: url('/images/site/page-bg-gradient.jpg') repeat-x 50% 0;
}

/****************************************************************************
/* CONTAINER
/***************************************************************************/
#container-top {
    width: 960px;
    height: 30px;
    margin: 0 auto;
    background: url('/images/site/container-top-bg.png') no-repeat 0 0;
}

#container {
    width: 900px;
    padding: 0 30px;
    margin: 0 auto;
    background: url('/images/site/container-bg.png') repeat-y 0 0;
}

#container-bottom {
    width: 960px;
    height: 30px;
    margin: 0 auto;
    background: url('/images/site/container-bottom-bg.png') no-repeat 0 0;
}

/****************************************************************************
/* HEADER
/***************************************************************************/
#header {
    width: 900px;
    height: 90px;
    margin-bottom: 10px;
    position: relative;
    background: url('/images/site/header-bg.png') no-repeat 0 0;
}

#logo {
    display: block;
    width: 535px;
    height: 140px;
    position: absolute;
    top: -25px;
    left: -25px;
    background: url('/images/site/logo.png') no-repeat 0 0;
    z-index: 1000;
}

#logo:hover {
    background-position: 0 -140px;
}

#logo span {
    display: none;
}

#book-now {
    display: block;
    width: 180px;
    height: 65px;
    position: absolute;
    top: 12px;
    right: 10px;
    background: url('/images/site/book-now.png') no-repeat 0 0;
}

#book-now:hover {
    background-position: 0 -65px;
}

#book-now span {
    display: none;
}

/****************************************************************************
/* BANNER IMAGE
/***************************************************************************/
#banner {
    margin-bottom: 10px;
    position: relative;
}

#banner-overlay {
    width: 900px;
    height: 200px;
    position: absolute;
    top: 0;
    left: 0;
    background: url('/images/site/banner-overlay.png') no-repeat 0 0;
}

/****************************************************************************
/* CONTENT CONTAINER
/***************************************************************************/
/* Has nav bg so it extends all the way down the page */
#content-container {
    background: url('/images/site/content-container-bg.png') repeat-y 0 0;
}

/****************************************************************************
/* SIDEBAR
/***************************************************************************/
#sidebar {
    width: 230px;
    margin-right: 10px;
    float: left;
}

/* Navigation */
ul.nav {
    list-style: none;
}

ul.nav li a {
    display: block;
    width: 220px;
    height: 20px;
    line-height: 20px;
    padding: 5px;
    border-bottom: 2px solid #ffffff;
    color: #333333;
    text-decoration: none;
}

ul.nav li a:hover,
ul.nav li.active a {
    background: #3b65c8 url('/images/site/nav-hover-bg.png') no-repeat 213px 50%;
    color: #ffffff;
}

/* PayPal logo */
#paypal {
    display: block;
    margin: 10px 5px;
}

/****************************************************************************
/* CONTENT
/***************************************************************************/
#content-wrapper {
    width: 660px;
    float: left;
}

#content {
    padding: 10px;
    /* For text editor in admin area */
    background-color: #ffffff;
}


/****************************************************************************
/* NEWS ALERT (AT TOP OF PAGES)
/***************************************************************************/
#news-alert {
    width: 640px;
    padding: 10px;
    margin-bottom: 5px;
    background-color: #f44900;
    color: #ffffff;
}

#news-alert-title {
    width: 110px;
    float: left;
    font-weight: bold;
}

#news-alert-messages {
    width: 525px;
    float: left;
}

#news-alert-messages li.message {
    margin-bottom: 10px;
    list-style: none;
}

#news-alert-messages li.message.last {
    margin-bottom: 0;
}

/****************************************************************************
/* FOOTER
/***************************************************************************/
#footer {
    padding: 20px 30px;
    color: #ffffff;
    font-weight: bold;
    text-align: right;
}

#footer a {
    color: #ffffff;
    text-decoration: none;
}

#footer a:hover {
    text-decoration: underline;
}

#copyright {
    float: left;
}

/****************************************************************************
/* GENERAL FONT SETTINGS
/***************************************************************************/
body {
    font-family: Verdana, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.2;
    color: #333333;
}

/****************************************************************************
/* CONTENT TYPOGRAPHY
/***************************************************************************/
#content p,
#content ul,
#content ol {
    margin-bottom: 1.2em; /* Should match body line-height */
}

/* Links */
#content a {
    font-weight: bold;
    color: #3b65c8;
    text-decoration: none;
}

#content a:hover {
    text-decoration: underline;
}

/* Heading color */
#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
    color: #3b65c8;
}

/* Heading spacing */
#content h1 {
    margin-bottom: 0.5em;
}

#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
    margin-bottom: 0.1em;
    padding-top: 0.2em;
}

/* Heading size and weight */
#content h1 {
    font-size: 2.2em;
    font-weight: bold;
}

#content h2 {
    font-size: 1.6em;
    font-weight: bold;
}

#content h3 {
    font-size: 1.3em;
    font-weight: bold;
}

#content h4 {
    font-size: 1.1em;
    font-weight: bold;
}

#content h5 {
    font-size: 1.0em;
    font-weight: bold;
}

#content h6 {
    font-size: 1.0em;
}

/* List markers */
#content li {
    list-style-position: outside;
    margin-left: 2.5em;
}

p.notice {
    color: #ff0000;
    font-weight: bold;
}

/* Content images */
#content img {
    display: block;
    margin: 1.2em auto;
    padding: 9px;
    background-color: #cdd9f8;
    border: 1px solid #3b65c8;
}

#content img.img-left {
    float: left;
    margin-top: 0;
    margin-left: 0;
    margin-right: 1.2em;
}

#content img.img-right {
    float: right;
    margin-top: 0;
    margin-left: 1.2em;
    margin-right: 0;
}

/****************************************************************************
/* FAQS PAGE
/***************************************************************************/
#content div.faq {
    padding-bottom: 1.2em;
    margin-bottom: 1.2em;
    border-bottom: 1px dotted #cdd9f8;
}

#content div.faq p.faq-question {
    font-weight: bold;
    margin-bottom: 5px;
}

#content div.faq p.faq-answer {
    margin-bottom: 0;
}

/****************************************************************************
/* CONTACT PAGE
/***************************************************************************/
#content div.contact-details {
    width: 310px;
    margin-right: 20px;
    margin-bottom: 20px;
    float: left;
}

#content div.contact-details.last {
    margin-right: 0;
}

#contact-error {
    padding: 1.2em 1.2em 1px 1.2em;
    border: 1px solid #3b65c8;
    background-color: #cdd9f8;
}

form#contact {
    margin-top: 20px;
}

p.captcha {
    display: none;
}

input.contact-text {
    width: 310px;
    padding: 2px;
}

textarea.contact-textarea {
    width: 475px;
    padding: 2px;
}

/****************************************************************************
/* FUN WEEKS
/***************************************************************************/
#content table.fun-weeks {
    width: 100%;
}

#content table.fun-weeks td {
    height: 23px;
    vertical-align: middle;
}

#content table.fun-weeks td.spacer-bottom {
    height: 1em;
    border-top: 1px solid #cdd9f8;
}

#content table.fun-weeks td.spacer-top {
    height: 1.2em;
}

#content table.fun-weeks td.location {
    padding: 0 0 5px;
    font-size: 1.6em;
    font-weight: bold;
    color: #3b65c8;
}

#content table.fun-weeks td.dates {
    font-weight: bold;
}

#content table.fun-weeks td.ages,
#content table.fun-weeks td.cost {
    text-align: center;
}

#content table.fun-weeks td.title {
    font-weight: bold;
}

#content table.fun-weeks td.button {
    width: 125px;
}

/****************************************************************************
/* WEEKLY COURSES
/***************************************************************************/
#content table.weekly-courses {
    width: 100%;
}

#content table.weekly-courses td {
    height: 23px;
    vertical-align: middle;
}

#content table.weekly-courses td.spacer-bottom {
    height: 1em;
    border-top: 1px solid #cdd9f8;
}

#content table.weekly-courses td.spacer-top {
    height: 1.2em;
}

#content table.weekly-courses td.location {
    padding: 0 0 5px;
    font-size: 1.6em;
    font-weight: bold;
    color: #3b65c8;
}

#content table.weekly-courses td.dates {
    font-weight: bold;
}

#content table.weekly-courses td.day,
#content table.weekly-courses td.cost {
    text-align: center;
}

#content table.weekly-courses td.title {
    font-weight: bold;
}

#content table.weekly-courses td.button {
    width: 125px;
}

#content table.information table.weekly-course-groups {
    width: 100%;
    border: 1px solid #cdd9f8;
}

#content table.information table.weekly-course-groups tr,
#content table.information table.weekly-course-groups td {
    padding: 1px 5px;
    border: 1px solid #cdd9f8;
}

/****************************************************************************
/* COURSE BOOKING BUTTONS
/***************************************************************************/
#content a.course-button {
    display: block;
    width: 125px;
    height: 22px;
    background-image: url('/images/site/course-buttons.png');
}

#content a.course-button span {
    display: none;
}

#content a.course-button.view {
    background-position: 0 0;
}

#content a.course-button.view:hover {
    background-position: 0 -22px;
}

#content a.course-button.book {
    background-position: 0 -44px;
}

#content a.course-button.book:hover {
    background-position: 0 -66px;
}

#content a.course-button.full {
    background-position: 0 -88px;
}

/****************************************************************************
/* TABLES
/***************************************************************************/
#content table.information {
    width: 100%;
}

#content table.information tr td {
    padding: 5px 0;
    vertical-align: top;
}

#content table.information tr.odd {
    background-color: #eef2fd;
}

#content table.information td.even {
    background-color: transparent;
}

#content table.information td.label {
    width: 140px;
    padding-left: 5px;
    font-weight: bold;
}

#content table.information h2 {
    padding: 10px 0 0 5px;
}

#content table.information p.error {
    margin: 0 0 2px 0;
    font-weight: bold;
    color: #ff0000;
}

/****************************************************************************
/* ERRORS
/***************************************************************************/
#error {
    padding: 1.2em 1.2em 1px 1.2em;
    border: 1px solid #3b65c8;
    background-color: #cdd9f8;
}

/****************************************************************************
/* BOOK NOW PAGE
/***************************************************************************/
#content a.book-now-link {
    display: block;
    width: 290px;
    padding: 10px;
    float: left;
    margin-right: 20px;
    font-weight: bold;
    text-decoration: none;
    background-color: #cdd9f8;
    color: #3b65c8;
}

#content a.book-now-link.last {
    margin-right: 0;
}

#content a.book-now-link:hover {
    background-color: #3b65c8;
    color: #ffffff;
}
