/*
 * reset stylesheet by Eric Meyer and Yahoo! 
 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, 
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}
body {
  /* line-height: 1em; */
  /* additional */
  background: #fff url("../material/rc_bg.png") no-repeat center 50px; 
  line-height: 1.2em;
  font-family: "Osaka", "Tahoma", sans-serif;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

/* DON'T FORGET to define your focus style */
:focus { outline: 0; }

/* DONT'T FORGET to emphasize insert-part with any decoration */
ins { text-decoration: none; }
del { text-decoration: line-through; }

/* You need to specify [cellspacing="0"] in markup of table */
table {
  border-collapse: collapse;
  border-spacing: 0;
}


/*
 * cafe gentle base stylesheet
 */

/* html5 tag setting */
header, section, article, footer, nav, aside, figure {
  display: block; 
}

/*
 * header
 */
header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  height: 100px;
  background-color: #333;
  font-size: 12px;
  line-height: 25px;
}

/*-- site title --*/
#title {
  width: 800px;
  margin-left: 5px;
  font-size: 14px;
}

#title a {
  color: #fff;
}



/*-- global navigation --*/
nav {
  float: right;
  width: 150px;
  text-align: right;
}

nav li {
  display: inline;
  border-left: 1px inset gray;
}

nav a {
  margin: 0 10px;
  color: #999;
}

nav a:hover, nav a:active {
  color: #fff;
}

/*-- menu toggle --*/
#remocon-toggle {
  float: right;
  width: 150px;
  height: 23px;
  margin: 2px 20px 0 0;
  border-bottom: 2px outset red;
  background-color: orange;
  font-size: 12px;
  text-align: center;
  line-height: 23px;
  color: #fff;
  cursor: pointer;
}

#remocon-toggle:hover { border-bottom: 2px inset yellow; }
#remocon-toggle:active { border-bottom: 2px inset blue; }


/*-- form search --*/
#search { float: right; }
#query { color: #ccc; }
#query:focus { color: #000; }


/*
 * Aside
 */
#remocon {
  clear: both;
  position: fixed;
  top: 25px;
  z-index: 4;
  overflow: hidden;
  width: 100%;
  color: #fff;
  background-color: #333;
  font-size: 12px;
  line-height: 1.5em;
  opacity: 0.9;
  filter:progid:DXImageTransform.Microsoft.Alpha(Enabled=1,Style=0,Opacity=90);
}

#remocon h2 {
  clear: both;
  margin: 5px 0;
  padding-left: 10px;
  border-left: 10px solid #fff;
  font-size: 14px;
}

#displayed {
  height: 20px;
  border: 1px inset #333;
  font-size: 11px;
  line-height: 18px;
  background-color: #000;
}

#shelf > span {
  display: block;
  float: left;
  height: 18px;
  border: 1px outset #000;
  padding-left: 5px;
  color: #fff;
  background-color: #333;
}

#filter {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2px;
    border-top: 2px solid #333;
    background-color: #fff;
    font-size: 12px;
}

#clear {
    display: block;
    float: left;
    height: 18px;
    padding: 0 10px;
    border: 1px outset #000;
    background-color: #333;
}

#clear:active { background-color: #999; }

.close {
  display: block;
  float: right;
  width: 15px;
  height: 15px;
  margin: 2px;
  border: none;
  background: url("../material/nc_items.png") no-repeat 0 0;
  text-indent: -9999px;
  cursor: pointer;
}

.close:hover, .close:active { margin-top: 3px; }

/*-- form display --*/
#display { padding: 5px;}

#display select { margin-right: 5px;}

#ranking button {
  overflow: hidden;
  width: 93px;
  height: 20px;
}


/*
 * Container
 */
#rink {
    overflow: hidden;
    width: 100%;
    margin: 30px auto 5px;
}

#rink section {
  float: left;
  width: 32%;
  min-width: 400px;
  margin: 0 0.5% 5px;
  border: 1px inset #333;
  background-color: #fff; 
}

#rink section h2 {
  height: 20px;
  padding-left: 2%;
  border-bottom: 1px solid #000;
  font-size: 14px;
  line-height: 20px;
  background-color: #333;
}

#rink section h2 a, #bookmark h2 {
  color: #fff;
}

#rink section ol {
  overflow-x: hidden;
  overflow-y: scroll;
  height: 520px;
}

#rink section li {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 80px;
  padding: 0 5px;
  border-bottom: 1px solid #999;
}

.nico-thumbnail {
    float: left;
    margin-top: 5px;
}

.nico-thumbnail img { font-size: 11px; }

.movie_title {
    float: left;
    width: 70%;
    margin-left: 5px;
    border-bottom: 1px dashed #999;
    font-size: 13px;
}

.movie_title a { color: #333; }
.movie_title a:hover, .movie_title a:active { color: #999; }

.blank {
    display: inline-block;
    width: 20px;
    margin-left: 5px;
    background: url("../material/nc_items.png") no-repeat -18px 0;
    text-indent: -9999px;
}

.fn_buttons {
    float: left;
    width: 70%;
    margin-left: 5px;
}

.fn_buttons a {
  height: 20px;
  margin: 0 3px;
  padding: 2px 5px;
  border-bottom: 2px outset #c30;
  background-color: #ccc;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  line-height: 20px;
}

.fn_buttons a:hover { border-bottom: 2px solid yellow; }
.fn_buttons a:active { border-bottom: 2px solid blue; }

.nico-info-length {
  display: block;
  position: absolute;
  top: 64px;
  background-color: #333;
  color: white;
  font-weight: bold;
  font-size: 11px;
  line-height: 1em;
}

.popup {
  z-index: 3;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  border-top: 2px solid #999;
  background-color: #fff;
  font-size: 12px;
}

.quick-alert {
    padding: 0 10px;
    border: 1px solid #fff;
}

/* Movie Detail */
#movie_detail {
    z-index: 99;
    position: fixed;
    top: 10px;
    left: 10px;
    overflow-y: scroll;
    width: 50%;
    margin: 0 auto;
    padding: 20px;
    background-color: #333;
    opacity: 0.9;
    filter:progid:DXImageTransform.Microsoft.Alpha(Enabled=1,Style=0,Opacity=90);
    border-radius: 20px;         /* CSS3 */
    -moz-border-radius: 20px;    /* Firefox */
    -webkit-border-radius: 20px; /* Safari,Chrome */
}

#movie_detail .thead  {
    width: 100px;
}

#movie_detail td  {
    border: 1px solid #999;
    padding: 3px;
    font-size: 14px;
    color: #fff;
}

/* Mark Movie */
#bookmark_restore {
  display: block;
  float: right;
  cursor: pointer;
  text-align: right;
  font-size: x-small;
}


/*
 * Footer
 */
footer {
  clear: both;
  border-top: 1px dotted #999;
}

footer address {
  margin: 5px auto;
  font-size: 0.8em;
}


/*
 * general class
 */
.clear { clear: both; }
.float-left { float: left; }
.float-right { float: right; }

