#page_reader
{
    width: auto;
    line-height:1.6em;
}
#page_reader[skin="night"]
{

}

#reader_content
{
    padding: 0px 40px;
}

/* -- Header -- */

#RIL_header
{
    padding-bottom: 30px;
    border-bottom:  1px solid #cdcdcd;
    margin-bottom: 35px;
    text-align: left;
}

#RIL_header h1
{
    font-size: 30px;
    font-weight:normal;
    margin-top: 35px;
    margin-bottom:10px;
    line-height:normal!important
}
#RIL_header cite
{
    margin-left: 25px;
    position:relative;
    display:block;
    line-height:18px;
    font-size:14px;
    font-style:normal;
    text-align:left;
    color: #999;
}

#RIL_header cite a
{
    text-decoration:none;
    color: #999;
}

#RIL_header a {
    text-decoration: none;
}

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

#RIL_header .RIL_author:hover
{
    cursor: default;
}

.RIL_date
{
    display:block;
    position:absolute;
    top:0;
    right:0;
    font-size:14px;
}

.RIL_date .RIL_date_sep
{
    display:none
}

#RIL_header #favicon
{
    float: left:
}

#RIL_header #favicon img
{
    width: 16px;
    height: 16px;
}

#RIL_IMG_header
{
    height:50px;
}

/* -- Body Headers -- */

#RIL_body h1,
#RIL_body h2,
#RIL_body h3,
#RIL_body h4,
#RIL_body h5,
#RIL_body h6,
#RIL_body h7
{
    color: #919191;
    font-weight:  normal;
}

#RIL_body h1,
#RIL_body h2
{
    line-height: 1.0em;
    font-size: 1.5em;
    margin: 2.5em 0px 1em 0px;
}
#RIL_body h3
{
    line-height: 1.5em;
    font-size: 1.3em;
    margin: 2.5em 0px 0.5em 0px;
}
#RIL_body h4
{
    line-height: 1.5em;
    font-size: 1.2em;
    margin: 2em 0px 0.5em 0px;
}
#RIL_body h5,
#RIL_body h6,
#RIL_body h7
{
    font-size: 1em;
    font-weight: bold;
    margin: 2em 0px 0 0px;
}


/* -- Body Text -- */

#reader_content
{
    width: 650px;
    margin: 0px auto;
    color: #222;
}
#page_reader[skin="night"] #reader_content
{
    color: #ccc;
}
#page_reader[skin="night"].loading,
#page_reader[skin="night"] .loading
{
    background-image: url(../img/spinner_dark.gif) !important;
}

#RIL_body
{
    text-align: left;
}

#RIL_body p
{
/*    text-align: left;*/
    margin: 0 0 1.8em 0px;
}


/* -- Elements -- */

#RIL_body ul,
#RIL_body ol
{
    margin: 1.5em 0px 2em 2em;
}
#RIL_body li
{
    margin: 0px 0px 0.25em 0px;
}
#RIL_body ul ul,
#RIL_body ol ol
{
    margin: 0.75em 0 1em 2em;
    min-width: 250px;
}

#RIL_body pre,
#RIL_body blockquote
{
    display: block;
    margin: 2.5em 7% 3em 7%;
    white-space: pre-wrap; /* css-3 */
    white-space: -pre-wrap; /* Opera 4-6 */
    white-space: -o-pre-wrap; /* Opera 7 */
    word-wrap: break-word; /* Internet Explorer 5.5+ and Firefox 3.5+ */
}
#RIL_body blockquote { font-style: italic; }

#RIL_body a
{
    cursor: pointer;
    color: #6a6a6a;
    text-decoration: none;
}

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

#RIL_body
{
    clear: both;
}

#page_reader[skin="night"] #RIL_body a
{
    color: #94b9f8;
}

/* --- */

#RIL_body table
{
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0px 20px 0px;
}
#RIL_body table td,
#RIL_body table td
{
    width: auto;
    text-align: left;
    padding: 0px;
    background: none;
    border: 0px;
}

.ril_dataTable td,
.ril_dataTable th
{
    text-align: center;
    padding: 4px;
    border: 1px solid #999999;
}
.ril_dataTable th { font-weight: bold; }

.ril_layoutTable td,
.ril_layoutTable tr,
.ril_layoutTable th
{
    display: block;
}

/* --- */

#RIL_media
{ text-align: center; }
#RIL_media object,
#RIL_media embed,
#RIL_media img
{
    margin-bottom: 15px;
}

.RIL_IMG
{
    display: none;
}
.RIL_IMG.loaded
{
    display: block;
    text-align: center;
    margin: 0px auto 18px auto;
}
.RIL_IMG.hasCaption
{
    border: 1px solid #ccc;
}
#page_reader[skin="night"] .RIL_IMG.hasCaption
{
    border: 1px solid #989898;
}

.RIL_IMG img
{
    border: 0px !important;
    text-decoration: none !important;
    max-width:100% !important;
    height: auto !important;
}

/* Style for RILViewImage */
.RIL_IMG.RIL_VIEW_IMG img
{
	padding: 5px;
	border: solid 1px #EFEFEF;	border: solid 1px #ccc;
	-moz-box-shadow: 1px 1px 5px #999;
	-webkit-box-shadow: 1px 1px 5px #999;
    box-shadow: 1px 1px 5px #999;
}

.RIL_IMG .ril_caption,
.RIL_IMG cite
{
    display: none;
}
.RIL_IMG.hasCaption .ril_caption,
.RIL_IMG.hasCaption cite
{
    display: block;
}
.RIL_IMG .ril_caption,
a .RIL_IMG .ril_caption
{
    padding: 9px 9px 9px 9px;
    color: #6d6c6c !important;
    font-size: 0.9em;
    line-height: 1.3em;
    text-align: left;
    text-decoration: none !important;
}
body[skin="night"] .RIL_IMG .ril_caption,
body[skin="night"] a .RIL_IMG .ril_caption
{
    color: #bbbbbb !important;
}

.RIL_VIDEO
{
    text-align: center;
    margin: 0px auto 18px 0px;
}

/*.RIL_VIDEO a
{
    display: block;
    background: black url(play.png) center no-repeat;
}*/

/* --- */

.text_note
{
    clear: both;
    color: #666666;
    padding: 10px;
    background: #EEEEEE;
    margin-bottom: 15px;
}

#page_reader[skin="night"] .text_note .note
{
    color:#ccc;
    background: #333333;
}

/* -- */

#RIL_ARTICLE_NOTE
{
    clear: both;
    color: #666666;
    padding: 10px;
    background: #EEEEEE;
    margin-bottom: 15px;
}
