/* need to figure out how to scroll content up/down a la Google Maps - 
 * no scrollbars. */
.preview-container {
    /* width: 240px; */
    /* height = display + 45 */
    /* height: 405px; */

    width: 325px;
    height: 476px;

    /* margin: 5px 10px 5px 10px; */
    margin: 0px;
    padding: 0px;

    /* background-image: url(...); */
    background-position: top left;
    background-repeat: no-repeat;
    background-color: transparent;

    position: relative;
}

.preview-display {
    width: 240px;
    height: 360px;
    text-align: left;

    font-family: sans-serif;
    font-size: 11pt;

    /* background-image: url(...); */
    background-position: bottom right;
    background-repeat: no-repeat;
    background-color: transparent;

    color: black;
    background-color: white;

    position: absolute;
    left: 33px;
    top: 54px;

    overflow: hidden;
}

/* integrated into the banner bar on iPhone */
/*
.preview-controls {
    width: 285px;
    height: 40px;
    position: absolute;
    left: 20px;
    top: 536px;
    border-top: 1px solid #aaaaaa;
    text-align: center;

    font-family: sans-serif;
    font-size: 14px;
    font-weight: bold;
    background-color: transparent;
}
*/
.preview-controls { 
    display: none;
}

.preview-controls a {
    display: none;
    text-decoration: none;
    color: black;
}

.preview-controls a:visited {
    display: none;
    color: black;
    text-decoration: none;
}

.preview-controls a:hover {
    display: none;
    color: #005174;
}

/* stick this into the title bar */
.preview-title .preview-control-back {
    position: absolute;
    left: 1.3em;
    top: 1.2ex;

    width: 4em;
    height: 16pt;

    font-size: 8pt;
    line-height: 16pt;

    border: 1px solid #aaaaaa;
    background-color: #333333;
    color: white;
}

.preview-title .preview-control-back a {
    text-decoration: none;
    color: white;
}

.preview-title .preview-control-back a:visited {
    text-decoration: none;
    color: white;
}

.preview-title .preview-control-back a:hover {
    text-decoration: none;
    color: #aaaaaa;
}

.preview-title {
    display: block;
    width: 240px;
    margin: 0px;
    padding: 0px;
    font-size: 10pt;
    font-weight: bold;
    line-height: 30pt;
    vertical-align: middle;
    text-align: center;
    color: white;
    background-color: #222222;
}

.preview-banner {
    display: none;
}

/* banner image is not displayed on plain-text pages on Blackberry */
.preview-text-form-specs .preview-banner {
    display: none;
}

/* force word-wrap in a <pre> - this allows us to honor newlines as well
 * as wrap for people that don't add newlines */
.preview-display pre {
    overflow-x: auto;           /* scroller, best solution for FF 2 */
    white-space: pre-wrap;      /* css 3 */
    white-space: -moz-pre-wrap !important;
                                /* Mozilla since 1999 */
    white-space: -pre-wrap;     /* Opera 4-6 */
    white-space: -o-pre-wrap;   /* Opera 7 */
    word-wrap: break-word;      /* IE 5.5+ */
}

/* this is a ul */
.preview-list {
    list-style: none;
    margin: 0px;
    padding: 0px !important;
    width: 200px;
}

.preview-list li {
    width: 200px;
    padding: 0px !important;
    margin-top: 6pt !important;
    margin-bottom: 6pt !important;
}

.preview-list li a {
    text-decoration: none;
    display: block;
    width: 200px !important;
    margin-left: 20px;

    line-height: 30pt;
    font-size: 9pt;
    vertical-align: middle;
    color: white;
    background-color: #555555;
    text-align: center;
}

.preview-list li a:hover {
    text-decoration: none;
    display: block;
    width: 240px;

    line-height: 30pt;
    font-size: 9pt;
    vertical-align: middle;
    color: white;
    background-color: #555555;
    text-align: center;
}

.preview-list li a:visited {
    text-decoration: none;
    display: block;
    width: 240px;

    line-height: 30pt;
    font-size: 9pt;
    vertical-align: middle;
    color: white;
    background-color: #555555;
    text-align: center;
}

.preview-image {
    /* need to figure out how to scroll the image */
}

.preview-scrollable-image-container {
    width: 240px;
    height: 360px;
    overflow: hidden;
}

.preview-text pre{
    font-family: sans-serif;
    font-size: 8pt;
    margin: 4pt;
}

.preview-display table a:hover {
    /* (possibly) change color on rollover */
}

/* this is a ul */
.preview-snippet {
    list-style: none;
    margin: 0px;
    padding: 0px !important;
    width: 240px;
}

.preview-snippet li {
    width: 240px;
    border-bottom: 1px solid #aaaaaa;
    font-weight: bold;
    font-size: 10pt;
    color: black;
}

.preview-snippet li a {
    text-decoration: none;
    display: block;
    width: 234px !important;
    padding: 3px;
    color: black;
}

.preview-snippet li a:hover {
    text-decoration: none;
    display: block;
    width: 234px !important;
    padding: 3px;
    color: black;
}

.preview-snippet li a:visited {
    text-decoration: none;
    display: block;
    width: 234px !important;
    padding: 3px;
    color: black;
}

.preview-snippet-item-brief {
    display: block;
    text-indent: 10px;
    font-size: 8pt;
    font-weight: normal;
    color: black;
}

.preview-list-table {
    margin: 0px;
    padding: 0px;
    width: 240px;
    font-size: 9pt;
    font-weight: bold;
}

.preview-list-table tr {
    width: 240px;
}

.preview-list-table td {
    padding: 6pt 0pt 6pt 0pt;
    border-bottom: 1px solid #aaaaaa;
}

.preview-list-table a {
    text-decoration: none;
    display: block;
    color: black !important;
}

.preview-list table a:hover {
    text-decoration: none;
    display: block;
    color: black !important;
}

.preview-list-table a:visited {
    text-decoration: none;
    display: block;
    color: black !important;
}


/* this is a table */
.preview-collist {
    margin: 0px;
    padding: 0px;
    width: 240px;
}

.preview-collist-table td {
    padding: 6pt 0pt 6pt 0pt;
    border-bottom: 1px solid #aaaaaa;
}

.preview-collist table a {
    text-decoration: none;
}

.preview-collist table a:hover {
    text-decoration: none;
}

.preview-collist table a:visited {
    text-decoration: none;
}
