/* GENERAL */

html, body {
    height: 100%;
}
body {
    background-color: #FFF;
    margin: 0;
    color: #333;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 9pt;
}
a, a:visited {
    color: #13C;
}
img {
    border: 0;
}
dt {
    font-weight: bold;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
    border: 0;
    font-size: inherit;
}
td {
    margin: 0;
    border: 0;
    padding: 0;
}
h1 {
    margin: 0;
    color: #0187c5;
    font-size: 20px;
}
.friends h2, .photo-right-tools h2, .photo-right-profile h2, .notice_settings h2
{
    color: #0187c5;
    border: none;
}
h2 {
    color: #d51007;
    padding-bottom: 5px;
    border-bottom: 1px solid #999;
}

.topmargin {
    margin-top: 10px;
}

#body {
    clear: both;
    margin: 0 auto;
    padding: 10px;
    width: 800px;
    overflow: hidden;
    margin-bottom: 10px;
    min-height: 400px;
}
#footer {
    color: #999; /* footer text colour */
    background-color: #f9f9f9;
    padding: 10px;
    clear: both;
    min-height: 80px;
    border-top: 1px solid #ddd;

}
#footer a, #footer a:visited {
    color: #444; /* footer link colour */
}
#footer a:hover {
    color: #777; /* footer link hover colour */
}


/* CLEARS */

.clearboth {
    clear: both;
}

/* reference:
 *   http://www.positioniseverything.net/easyclearing.html
 *   http://www.zeldman.com/2006/10/27/ie7fixes1/
 *      comment by michael on 10/28/2006
 */
.clearfix {
    min-height: 1%;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

/* hides from ie5-mac \*/
* html .clearfix { height: 1%; }
/* end hide from ie5-mac */


/* HEADER */
#tabhead_container {
    background: #035 url('../images/heading.png') left top repeat-x;
}

#tabhead {
    background: #035 url('../images/heading.png') left top repeat-x;
    border-bottom: 1px solid #000; /* tab border */
    position: relative;
    width: 970px;
    margin: auto;
}
#tabhead .logo {
    height: 80px;
    padding-left: 5px;
    padding-top: 0;
}
#tabhead .logo img {
    padding-top: 12px;
    margin-left: 15px;
}
#tabhead .login {
    position: absolute;
    top: 6px;
    width: 100%;
    margin-right: 10px;
    text-align: right;
    color: #DEF; /* login bar text colour */
}
#tabhead .login img
{
    vertical-align: middle;
}
#tabhead .login a.image {text-decoration: none}
#tabhead .login a, #tabhead .login a:visited {
    color: #DEF; /* login bar link colour */
}
#tabhead .login a:hover {
    color: #FFF; /* login bar link hover colour */
}

#locale_switcher {
    display: inline;
}

#subnav_container {
    background: #DEF; /* tab colour */
    border-bottom: 1px solid #9BC;
}
#subnav {
    margin: auto;
    padding: 0;
    width: 970px;
    background: #DEF; /* tab colour */
}
#subnav ul {
    float: right;
    margin: 0 20px;
    padding: 0;
}
#subnav ul li {
    display: inline;
    list-style-type: none;
}
#subnav ul a:link, #subnav ul a:visited {
    float: left;
    font-weight: bold;
    text-decoration: none;
    color: #000;
    padding: 4px 20px;
}
#subnav ul a:hover {
    color: #FFF;
    background: #9BC;
}


/* FORMS */

form th {
    text-align : left;
}
form.signup input[type="submit"], form.login input[type="submit"] {
    margin: 20px 0;
    font-size: 14pt;
}
input[type="text"], input[type="password"], textarea {
    padding: 3px;
    margin: 3px;
    border: solid 1px #C6C6C6;
    border-bottom: solid 1px #E3E3E3;
    color: #666;
    font-size: 12pt;
    background: #F3F3F3 url('../images/form-shadow.png') left top repeat-x;
}
ul.errorlist {
    margin: 0;
    padding: 0;
    list-style: none;
    color: red;
}


/* MESSAGES */

ul#messages {
    margin: 0 0 10px 0;
    padding: 0;
    list-style: none;
}
ul#messages li {
    padding: 5px 10px;
    background: #EFD;
    margin: 3px;
    border: 1px solid #BC9;
}
ul#messages li a {
    float: right;
    color: #693;
}


/* WHAT NEXT */

dl.what_next {
    margin: 2em;
}
dl.what_next dt {
    font-size: 120%;
}
dl.what_next dd {
    margin: 0 0 1em 0;
    font-style: italic;
}
p.what_next {
    font-size: 120%;
}


/* FORM TOGGLE */

.form-toggle p {
    margin-bottom: 2px;
}

.form-toggle p span {
    background: #DEF;
    padding: 3px 6px;
    border-top: 1px solid #9BC;
    border-left: 1px solid #9BC;
    border-right: 1px solid #9BC;
    cursor: pointer;
}

.form-toggle form {
    padding: 3px 6px;
    margin: 0;
    background: #DEF;
    border: 1px solid #9BC;
}



/* EXTRAS TO CLEAN UP */

.warning {
    color: red;
    font-weight: bold;
}

div.profile_info p {
    margin: 0;
}
div.left_panel {
    width: 580px;
}
div.right_panel {
    width: 200px;
    float: right;
    z-index: 999;
}

#profile_primary_info
{
    border: 1px solid #9bc;
    background: #def;
    padding: 10px;
    overflow: hidden;
}
#profile_primary_info_main
{
    float: left;
    width: 50%;
}
#profile_avatar
{
    text-align: right;
}
#profile_primary_info_header
{
    overflow: hidden;
}
#profile_bottom_info
{
    float: left;
    padding-right: 10px;
}
#profile_friends_info
{
    float: left;
    padding-right: 10px;
}
.profile_main_row
{
    overflow: hidden;
}
#invite-form
{
    overflow: hidden;
    background-color: #FFF;
    border: 1px solid #9bc;
    padding: 10px;
}
#id_message
{
    height: 30px;
    font-size: 12px;
    width: 360px;
}
#div_id_message label
{
    width: 100px;
}
#invite-form #div_id_message
{
    border: none;
}
#profile_bottom .friendship_request
{
    background-color: #FFF;
    border: 1px solid #9bc;
    padding: 10px;
}
#profile_more
{
    margin-top: 5px;
    text-align: right;
    width: 555px;
}
.user_icon
{
    width: 60px;
    float: left;
    overflow: hidden;
}

.news_date
{
    font-size: 11px;
    color: #666;
}

.buttons {
margin: 10px 0 10px 0;
background-color: #f2f2f2;
border: 1px solid #c1c1c1;
line-height: 30px;
padding: 5px;

}
a.link_button, a.link_button:visited { display: block; width: 120px;background-color: #e0e0e0; border: 1px solid #b0b0b0; text-align: center; line-height: 20px; color: black; text-decoration: none}

.add_button { background: #ffffff url('/site_media/static/pinax/images/silk/icons/add.png') left center no-repeat;padding-left: 20px;border: 2px outset #ccc; height: 25px;text-align: center; line-height: 20px; color: black; cursor: pointer}.add_button:hover {background-color: #f9f9ff}

a, a:visited 
{
    text-decoration: none;
}
.single_out
{
    font-weight: bold;
}
.languages_footer
{
    width: 250px;
    text-align: right;
    float: right;
}
.legal
{
    float: left;
    width: 700px;
}
hr 
{
    color: #999;
    border: 1px solid #ddd;
}
.homepage_textbox li {margin-bottom: 5px}
.homepage_screenshots img {border: 1px solid #e0e0e0; padding: 5px}
.homepage_screenshots td {width: 260px}
.homepage_screenshots h3 {margin-bottom: 5px;color: #d51007;}
.homepage_left_container {float: left; width: 480px}
.homepage_right_container {float: right; width: 300px}
.adtaily {margin-top: 40px}
.users .user_icon{text-align: center; margin: 0 7px; width: 65px }
.homepage_left_container .users .user_icon{margin: 5px 7px}
#image_footer_form input {margin-right: 10px}

a.route_not_active, a.route_not_active:visited {
    color: #777;
}
.calendarbox, .clockbox
{
    z-index: 105;
}
#runlog_form .double_column_form label {display: block; float: left; width: 140px; line-height: 32px}

.box_filter .textinput
{
    width: 160px;
}
.event_view dd
{
    padding-bottom: 5px;
}
.event_view dl
{
    margin-bottom: 0px;
}
div.highlight{
    background: #ffffaa;
    border: 1px solid #eeee11;
    padding: 8px;
    margin-bottom: 20px;
}
.time_highlight
{
    color: green;
    font-weight: bold;
}
.notice_text
{
    color: #d51007;
    font-weight: bold;
}
.table_event
{
    width: 100%;
    border: 1px solid #dadada;
}
.table_event td
{
    padding: 2px;
    border: 1px solid #dadada;

}
.table_event td.action, .table_event td.distance
{
    width: 60px;
}
.table_event td.action
{
    text-align: center;
}
.table_event td.distance
{
    text-align: right;
}
.main_block { width: 580px; float: left }
#partners img {vertical-align: middle }
.ta_facebook a {
    background: none no-repeat scroll 0 50% transparent;
    display: block;
    overflow: hidden;
}
.ta_facebook a {
    background-image: url('/site_media/static/images/facebook-art.gif');
    text-indent: -200px;
    width: 15px;
}
#details dd
{
    font-size: 13px;
}
.menu_options
{
    text-align: right;
}
#hint_id_icon_id{
    float: left;
}
#icon_widget_result{
    float: left;
    padding-right: 10px;
}
#workout_types td.icon{
    padding-right: 5px;
}
#workout_types td{
    padding-bottom: 2px;
    padding-top: 2px;
}
#workout_types .button{
    border-top: 1px solid #99bbcc;
    padding-top: 10px;
}
#workout_types .button a img{
    vertical-align: middle;
    }
.with-margin{
    margin-left: 20px;
}
.literal-block{
    margin-left: 20px;
    padding: 10px;
    background-color: #f0f0f0;
    border: 1px solid #d0d0d0;
}

