body {
    margin: 0;
    padding: 0;
    background: #a2a2a2;
    font-family: sans-serif;
    font-size: 16px;
    word-wrap: break-word;
}

h2 {
    font-size: 100%;
    font-weight: bold;
    margin: 0px 0px 4px 0px;
}

h3 {
    font-size: 100%;
    font-weight: bold;
    margin: 0px;
}

p {
    margin: 0px;
    margin-bottom: 1em;
}

a img {
    border: 0px;
}

img.header-image {
    /* Strict CSS says that inline elements (including img by default) align to the text
       baseline. This moves images up a few pixels, which isn't what we want when we're
       putting together the header. Making it a block element fixes it. */
    display: block;
}

#main-header-image {
    position: relative;
}

#auth-info {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
}

#auth-text, #bottom-rounded-corner {
    display: block;
    background: url(/static/images/auth_bg.png);
}

#auth-text {
    color: white;
    padding: 2px 8px 3px 8px;
    margin: 0;
    font-size: 80%;
}

#auth-text a {
    color: white;
}

#bottom-rounded-corner {
    height: 1px;
    margin: 0 0 0 1px;
    padding: 0;
    overflow: hidden;
    font-size: 1px;
}

table#top-level {
    margin: 0 auto;
    width: 800px;
}

td.left-margin {
    width: 25px;
    background-image: url('../images/left_shadow.png');
    background-repeat: repeat-y;
}

td.right-margin {
    width: 25px;
    background-image: url('../images/right_shadow.png');
    background-repeat: repeat-y;
}

td.bottom-left-margin {
    width: 25px;
    height: 22px;
    background-image: url('../images/lower_left_shadow.png');
    background-repeat: no-repeat;
}

td.bottom-margin {
    width: 750px;
    height: 22px;
    background-image: url('../images/bottom_shadow.png');
    background-repeat: no-repeat;
}

td.bottom-right-margin {
    width: 25px;
    height: 22px;
    background-image: url('../images/lower_right_shadow.png');
    background-repeat: no-repeat;
}

div.appstore {
    padding-top: 20px;
    padding-bottom: 20px;
}

/* For pages that want a single column. */
div.single-column {
    padding-left: 46px;
    padding-right: 30px;
    padding-bottom: 20px;
}

td.main-pane {
    width: 750px;
    background-color: white;
}

td.left-column {
    width: 313px;
    padding-left: 46px;
    padding-right: 30px;
    padding-bottom: 20px;
    vertical-align: top;
}

td.right-column {
    padding-right: 50px;
    vertical-align: top;
}

#follow-us {
    margin: 10px 0 15px 0;
    font-size: 80%;
}

#follow-us a {
    text-decoration: none;
}

#follow-us a:hover {
    text-decoration: underline;
}

.social-icons {
    position: relative;
    top: 7px;
}

table.footer {
    clear: both;
}

td.footer {
    background-color: #848484;
    width: 750px;
    padding-left: 46px;
    padding-right: 50px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 60%;
}

tr#tab-labels td a {
    display: block;
    height: 37px;
    background-repeat: no-repeat;
}

tr#tab-labels td div {
    height: 37px;
    background-repeat: no-repeat;
}

tr#tab-wedges td div {
    height: 37px;
    background-repeat: no-repeat;
}

/* overview */
td#overview-label a {
    width: 144px;
    background-image: url('../images/overview.png');
    background-position: 0px 0px;
}

td#overview-label a:hover {
    background-image: url('../images/overview.png');
    background-position: 0px -37px;
}

td.current-tab#overview-label a {
    width: 144px;
    background-image: url('../images/overview.png');
    background-position: 0px -74px;
}

td#overview-wedge div {
    width: 144px;
    background-image: url('../images/overview_wedge.png');
}

td.current-tab#overview-wedge div {
    background-position: 0px -37px;
}


/* features */
td#features-label a {
    width: 146px;
    background-image: url('../images/features.png');
    background-position: 0px 0px;
}

td#features-label a:hover {
    background-image: url('../images/features.png');
    background-position: 0px -37px;
}

td.current-tab#features-label a {
    width: 146px;
    background-image: url('../images/features.png');
    background-position: 0px -74px;
}

td#features-wedge div {
    width: 146px;
    background-image: url('../images/features_wedge.png');
}

td.current-tab#features-wedge div {
    background-position: 0px -37px;
}



/* faq */
td#faq-label a {
    width: 97px;
    background-image: url('../images/faq.png');
    background-position: 0px 0px;
}

td#faq-label a:hover {
    background-image: url('../images/faq.png');
    background-position: 0px -37px;
}

td.current-tab#faq-label a {
    width: 97px;
    background-image: url('../images/faq.png');
    background-position: 0px -74px;
}

td#faq-wedge div {
    width: 97px;
    background-image: url('../images/faq_wedge.png');
}

td.current-tab#faq-wedge div {
    background-position: 0px -37px;
}



/* your-lists */
td#your-lists-label a {
    width: 161px;
    background-image: url('../images/your_lists.png');
    background-position: 0px 0px;
}

td#your-lists-label a:hover {
    background-image: url('../images/your_lists.png');
    background-position: 0px -37px;
}

td.current-tab#your-lists-label a {
    width: 161px;
    background-image: url('../images/your_lists.png');
    background-position: 0px -74px;
}

td#your-lists-wedge div {
    width: 161px;
    background-image: url('../images/your_lists_wedge.png');
}

td.current-tab#your-lists-wedge div {
    background-position: 0px -37px;
}



/* download */
td#download-label a {
    width: 148px;
    background-image: url('../images/download.png');
    background-position: 0px 0px;
}

td#download-label a:hover {
    background-image: url('../images/download.png');
    background-position: 0px -37px;
}

td.current-tab#download-label a {
    width: 148px;
    background-image: url('../images/download.png');
    background-position: 0px -74px;
}

td#download-wedge div {
    width: 148px;
    background-image: url('../images/download_wedge.png');
}

td.current-tab#download-wedge div {
    background-position: 0px -37px;
}

img.left-iphone-image {
    float: left;
    width: 199px;
    height: 417px;
    padding-right: 1em;
}

img.right-iphone-image {
    float: right;
    width: 199px;
    height: 417px;
    padding-left: 1em;
}

img.left-iphone4-image {
    float: left;
    width: 205px;
    height: 453px;
    padding-right: 1em;
}

img.right-iphone4-image {
    float: right;
    width: 205px;
    height: 453px;
    padding-left: 1em;
}

img.left-android-image {
    float: left;
    width: 205px;
    height: 461px;
    padding-right: 1em;
}

img.right-android-image {
    float: right;
    width: 205px;
    height: 461px;
    padding-left: 1em;
}

img.left-blackberry-image {
    float: left;
    width: 200px;
    height: 418px;
    padding-right: 1em;
}

img.right-blackberry-image {
    float: right;
    width: 200px;
    height: 418px;
    padding-left: 1em;
}

img.left-your-lists-image {
    float: left;
    width: 200px;
    height: 389px;
    padding-right: 1em;
    padding-bottom: 1em;
}

div#overview p.summary {
    font-size: 135%;
}

div#features li {
    /* Space out the feature points. */
    margin-bottom: 1em;
}

div#features div.clear {
    /* Separate the feature sections completely. */
    clear: both;
}

div#features div.right-feature {
    /* Don't interfere with the phone image, even after the phone is vertically done. */
    margin-left: 220px;
}

div#features div.left-feature {
    /* Don't interfere with the phone image, even after the phone is vertically done. */
    margin-right: 220px;
}

div#features ul {
    /* Make the bullets line up with the left margin of the header. IE and Firefox
       use different methods here. By default Firefox has a padding and no margin,
       and that's reversed for IE. So we force the margin to 0 and use the padding.
       This works on both. */
    padding-left: 1em;
    margin-left: 0;
}

div#privacy li {
    margin-bottom: 1em;
}

.device_id_instructions li {
    margin-bottom: 1em;
}

.device_id_instructions img {
    border: 1px solid black;
    margin: 1em 0;
}

.beta_download_instructions li {
    margin-bottom: 1em;
}

p.date {
    font-size: 60%;
    font-style: italic;
}


/* faq page */
#faq h2 {
    /* More space between items */
    padding-top: 1em;
}


/* news page */
#news .entry {
    /* Clear any image in the previous news item. */
    clear: both;
    /* More space between items */
    padding-bottom: 1em;
}

div#news div.right-text {
    /* Don't interfere with the phone image, even after the phone is vertically done. */
    margin-left: 220px;
}

div#news div.left-text {
    /* Don't interfere with the phone image, even after the phone is vertically done. */
    margin-right: 220px;
}

div#signIn div.explanation {
    font-size: 80%;
    color: #444;
    width: 350px;
}

div#signIn input.radio {
    margin-top: 7px;
    margin-bottom: 7px;
}

div#signIn #emailAddress {
    width: 220px;
}

div#signIn #password {
    width: 100px;
}

div#signIn .error, #emailPreferences .error, #settings .error {
    color: #BC1E32;
    background-color: #FFFFD5;
    border: 1px solid #DC9886;
    padding: 10px;
    margin-bottom: 15px;
}

div#signIn .notice, #emailPreferences .notice, #settings .notice {
    color: #1EBC32;
    background-color: #E5FFE5;
    border: 1px solid #98DC86;
    padding: 10px;
    margin-bottom: 15px;
}

div#signIn #staySignedInLine {
    font-size: 80%;
    color: #444;
    margin-bottom: 1em;
}

div#signIn .subsection {
    padding-left: 2em;
}

div#signIn ul {
    padding: 0;
    margin: 0;
}

div#signIn ul li {
    margin-top: 7px;
    margin-bottom: 7px;
}

div#settings td.label {
    font-weight: bold;
    text-align: right;
    padding-right: 20px;
}

div#settings td.widgets {
    width: 100%;
}

div#settings td.new-password-instructions {
    padding: 15px 0 10px 0;
}

div#settings button {
    margin-top: 20px;
}

div#settings #runtimeError {
    color: red;
    font-weight: bold;
    margin-top: 10px;
}

div#settings .forgotIt {
    font-size: 75%;
    margin-left: 10px;
    text-decoration: none;
}

div#settings .forgotIt:hover {
    text-decoration: underline;
}

/* Set up font size baseline from which jQuery can size its buttons, etc. */
.jQueryContainer {
    font-size: 11px;
}
.jQueryDialogContainer {
    font-size: 12px;
}

/* jQuery UI style overrides. */
.ui-dialog-buttonpane {
    font-size: 12px;
}
