/*
 * Color palatte:
 *     rgb(0, 45, 98)     - dark blue (Pantone 282)
 *     rgb(0, 73, 144)    - medium blue (Pantone 280)
 *     rgb(151, 192, 230) - light blue (Pantone 279)
 *     rgb(184, 203, 230) - very light blue
 *     rgb(238, 50, 36)   - red (Pantone 450)
 */

/**********************************************************/
/* Global styles                                          */
/**********************************************************/
a {
    font-weight:     bold;
    text-decoration: none;
}

body {
    background-color: rgb(184, 203, 230);
    margin:           0;
    padding:          0;
    font-family:     'Didot', 'Times New Roman', Times, serif;
    font-size:        0.85em;
}

h1 {
    font-size:      1.45em;
    letter-spacing: 0.25em;
    color:          rgb(238, 50, 36);
}

h2 {
    font-size: 1.15em;
    color:     rgb(0, 73, 144);
}

li {
    margin: 0 0 0.6em 0;
}

p {
    line-height: 2em;
}

ul {
    color: rgb(238, 50, 36);
}


/**********************************************************/
/* Styles for the left-column navigation bar.             */
/**********************************************************/
#contents-container {
    overflow:         hidden;
    width:            1098px;
    background-color: white;
    margin:           0 auto;
}

#contents-container #navigation-bar {
    float:        left;
    width:        255px;
    border-left:  1px solid rgb(0, 45, 98);
    background:   rgb(151, 192, 230) url(/new/images/background-gradient-with-man.png) top left no-repeat;
    text-align:   right;
}

#navigation-bar img {
    border: none;
}

#navigation-bar.full-height, #sponsors-bar.full-height {
    padding-bottom: 2000em;
    margin-bottom:  -2001em;
}

/**********************************************************/
/* Styles for the left-column menu.                       */
/**********************************************************/
#navigation-bar #menu {
    margin-top: 270px;
}

#menu a {
    display:        block;
    padding:        0.25em 0.5em 0.25em 0;
    font-size:      1.5em;
    letter-spacing: 0.25em;
    color:          white;
}

#menu a:hover, #menu a:focus {
    background-color: white;
    color:            rgb(151, 192, 230);
}

body.home      a#home,
body.about     a#about,
body.sponsored a#sponsored,
body.cross     a#cross,
body.women     a#women,
body.results   a#results,
body.palmares  a#palmares,
body.sponsors  a#sponsors,
body.events    a#events,
body.news      a#news,
body.rides     a#rides,
body.photos    a#photos,
body.etc       a#etc {
    background-color: white;
    color:            rgb(0, 45, 98);
}


/**********************************************************/
/* Styles for the right-column sponsors bar.              */
/**********************************************************/
#contents-container #sponsors-bar {
    float:        right;
    width:        290px;
    border-right: 1px solid rgb(0, 45, 98);
    background:   rgb(151, 192, 230) url(/new/images/background-gradient.png) top left repeat-x;
}

#sponsors-bar img {
    border: none;
}

#sponsors-bar table {
    margin: 7em auto;
}

#sponsors-bar td {
    padding:        1em 0;
    text-align:     center;
    vertical-align: middle;
}

#sponsors-bar .no-padding {
    padding: 0;
}


/**********************************************************/
/* Styles for the bottom-row copyright.                   */
/**********************************************************/
#contents-container #copyright {
    clear:            both;
    position:         relative;
    height:           6.5em;
    border:           1px solid rgb(0, 45, 98);
    border-width:     0 1px;
    background-color: rgb(0, 73, 144);
    padding-top:      2.5em;
    font-size:        0.8em;
    color:            white;
    text-align:       center;
}

#copyright a {
    color: white;
}

#copyright a:hover, #copyright a:focus, #copyright a:active {
    color: rgb(151, 192, 230);
}


/**********************************************************/
/* Styles for the main content area.                      */
/**********************************************************/
#contents-container #contents {
    float:            left;
    width:            475px;
    background-color: white;
    border:           2px dotted rgb(0, 73, 144);
    margin:           1.5em 10px;
    padding:          1.5em 25px;
}

#contents a:link {
    color: rgb(0, 45, 98);
}

#contents a:hover, #contents a:focus, #contents a:active {
    color: rgb(151, 192, 230);
}

#contents p.quote {
    font-style: italic;
    color: rgb(0, 73, 144);
}

#contents span.quote-end {
    color: rgb(238, 50, 36);
}

#contents table {
    border-collapse: collapse;
    margin:          0 auto;
}

#contents tr.table-header {
    background-color: rgb(0, 45, 98);
    letter-spacing:   0.2em;
    color:            white;
    text-align:       center;
}

#contents td {
    border:  1px solid rgb(0, 45, 98);
    padding: 0.25em;
}

#contents td.left-align {
    padding-left: 1em;
}

#contents tr.table-header td.first-column {
    border-right: 1px solid white;
}

#contents tr.table-header td.middle-column {
    border-left:  none;
    border-right: 1px solid white;
}

#contents tr.table-header td.last-column {
    border-left: none;
}

#contents img.no-border {
    border: none;
}

#contents img.photo {
    border: 1px solid rgb(238, 50, 36);
    margin: 0.75em;
}

#bio td {
    border:         0;
    padding:        0px 5px 1px 0px;
    vertical-align: top;
}

#bio td.label-column {
    font-weight: bold;
}
