
body {
   background-color:rgb(240,240,240);
   color:rgb(0,0,0);
   font-size:14px;
   margin:0;
   padding:10px 0;
   overflow-y:scroll;
}
img {
   border:0;
}
a {
   text-decoration:none;
   color:rgb(0,0,255);
}
a:hover {
   color:rgb(255,0,0);
}
input {
   margin:0;
   padding:0;
}


#header {
   width:790px;
   margin:0 auto;
   padding:1px 5px;
   border:1px solid rgb(0,0,0);
   background-color:rgb(220,220,240);
   position:relative;
}
#header > * {
   display:inline-block;
}
#header > * + * {
   margin-left:20px;
}
#header input[type="submit"] {
   font-size:80%;
}


h1 {
   display:inline-block;
   font-size:100%;
   color:rgb(0,0,0);
   padding:0;
   margin:0;
}
h2 {
   display:none;
}


/*********************************************************************** auth */
#boxAuth {
   display:inline-block;
   padding:1px 8px;
}
#boxAuth * {
   vertical-align:middle;
}
#boxAuth.logout {
   background-color:rgb(0,128,0);
}
#boxAuth.login {
   background-color:rgb(128,0,0);
}


/****************************************************************** bookmarks */
#bookmarks {
   background-color:rgb(220,220,240);
   border:1px solid rgb(0,0,0);
   padding:0;
   position:absolute;
   top:0;
   left:0;
   z-index:999;
   overflow:hidden;
   white-space:nowrap;
   width:16px;
}
#bookmarks:hover {
   width:80%;
}


#bookmarks #bookmarkForm {
   margin:8px 16px;
}
#bookmarks #bookmarkForm input[type="text"],
#bookmarks #bookmarkForm textarea {
   width:95%;
   margin:0;
}
#bookmarks #bookmarkForm textarea {
   height:300px;
}
#bookmarks #bookmarkForm.add input[type="submit"] {
   background-color:rgb(160,160,255);
   color:rgb(0,0,64);
   border:2px outset rgb(0,0,192);
   font-weight:bold;
}
#bookmarks #bookmarkForm.edit input[type="submit"] {
   background-color:rgb(160,255,160);
   color:rgb(0,64,0);
   border:2px outset rgb(0,192,0);
   font-weight:bold;

}
#bookmarks #bookmarkForm.delete input[type="submit"] {
   background-color:rgb(255,160,160);
   color:rgb(64,0,0);
   border:2px outset rgb(192,0,0);
   font-weight:bold;

}

#bookmarks .new {
   margin:8px 16px;
}


#bookmarks ul {
   padding:0;
   margin:8px 16px;
   list-style-type:none;
   display:table;
   border:1px solid rgb(200,200,220);
}
#bookmarks ul > li {
   display:table-row;
   padding:0;
   margin:0;
}
#bookmarks ul > li > a {
   display:table-cell;
   padding:0 5px;
}
#bookmarks ul > li:nth-child(2n+1) {
   background-color:rgb(200,200,220);
}
#bookmarks ul > li > a:hover {
   background-color:rgb(64,64,128);
   color:rgb(255,255,255);
}
#bookmarks ul > li > a.d {
   color:rgb(150,50,50);
   font-weight:bold;
   font-family:courier;
}
#bookmarks ul > li > a.e {
   color:rgb(50,150,50);
   font-weight:bold;
   font-family:courier;
}


/******************************************************************** message */
#message {
   width:792px;
   margin:0 auto;
   border:1px solid rgb(0,0,0);
   padding:4px;
   border-top:0;
   background-color:rgb(220,220,240);
}


/***************************************************************** log report */
.report {
   font-family:monospace;
   font-size:80%;
   border:1px dashed #000;
   background-color:rgba(0,0,0,0.1);
   padding:0 2px;
   margin:2px;
}
.report .headers {
   border:1px dashed #000;
   padding:0 2px;
   margin:0 8px;
   display:none;
}
.report input:checked + .headers {
   display:block;
}


/*********************************************************************** feed */
#feed {
   width:800px;
   margin:0 auto;
   padding:0;
   border:1px solid rgb(0,0,0);
   border-top:0;
   background-color:rgb(220,220,240);
}
#feed #feedHeader {
   position:relative;
   padding:2px 4px;
}
#feed #feedHeader > h3 {
   margin:0; padding:0;
}
#feed #feedHeader:after {
   content:"";
   display:block;
   clear:both;
}
#feed #feedHeader .thumb {
   position:absolute;
   top:2px;
   bottom:2px;
   right:2px;
   text-align:right;
}
#feed #feedHeader .thumb img {
   max-width:150px;
   max-height:100%;
}
#feed #feedHeader .description {
   margin-top:5px;
   margin-right:156px;
   text-align:justify;
}


/********************************************************** feed source links */
#feedLink {
   background-color:#AAC;
}
#feedLink > div {
   display:inline;
}
#feedLink > div > * {
   padding:0 2px;
}
#feedLink > div > * + * {
   display:none;
}
#feedLink > div > :nth-child(1),
#feedLink > div > :nth-child(2) {
   text-align:right;
   width:0;
}
#feedLink:hover {
   display:table;
   width:100%;
   border-spacing:2px;
}
#feedLink:hover > div {
   display:table-row;
   background-color:#CCF;
}
#feedLink:hover > div > * {
   display:table-cell;
}


/****************************************************************** item list */
#feed > ul {
   list-style:none;
   margin:0;
   padding:0;
}


#feed > ul > li.item {
   position:relative;
   padding:2px 4px;
   padding-right:156px;
}


#feed > ul > li.item > h4 {
   margin:0;
   padding:0;
}


#feed > ul > li.item .itemPubDate {
   font-size:80%;
}
#feed > ul > li.item .itemDescription {
   margin-top:5px;
   text-align:justify;
}
#feed > ul > li.item .itemDescription:after {
   display:block;
   clear:both;
   content:"";
}


#feed > ul > li.item .itemMediaThumbnail {
   position:absolute;
   top:2px;
   bottom:2px;
   right:2px;
   text-align:right;
}
#feed > ul > li.item .itemMediaThumbnail img {
   max-width:150px;
   max-height:100%;
}


#feed > ul > li.item a:visited {
   color:rgb(255,0,0);
}


/************************************************** item alternate background */
/* default */
.item:nth-child(2n) {
   background-color:rgb(200,200,240);
}
.item:nth-child(2n+1) {
   background-color:rgb(160,160,200);
}


/* hot */
.item.hot:nth-child(2n) {
   background-color:rgb(240,200,200);
}
.item.hot:nth-child(2n+1) {
   background-color:rgb(200,160,160);
}


/* warm */
.item.warm:nth-child(2n) {
   background-color:rgb(240,240,200);
}
.item.warm:nth-child(2n+1) {
   background-color:rgb(200,200,160);
}


/* cold */
.item.cold:nth-child(2n) {
   background-color:rgb(200,240,200);
}
.item.cold:nth-child(2n+1) {
   background-color:rgb(160,200,160);
}


/******************************************************************** visited */
.item.visited {
   opacity:0.4;
}


/****************************************************************** enclosure */
.enclosureBox {
   font-size:90%;
   border:1px solid rgb(0,0,0);
   padding:0;
   margin-top:5px;
   display:table;
   background-color:rgb(240,240,240);
}
.enclosureBox > div {
   display:table-row;
}
.enclosureBox > div > span {
   display:table-cell;
   padding:0 2px;
   vertical-align:bottom;
   text-align:right;
}


/* grid */
.enclosureBox > div + div > span {
   border-top:1px solid #888;
}
.enclosureBox > div > span + span {
   border-left:1px solid #888;
}


/* alternate bg */
.enclosureBox > div:nth-child(2n) {
   background-color:rgba(0,0,0,0.2);
}


/* cell: name */
.enclosureBox > div > span:first-child {
   text-align:left;
}