/* styles for whole page */
body {
    background-color: #EEEEFF;
    font-family: ヒラギノ 角ゴ Pro W3,Osaka,メイリオ,MS UI Gothic,MS ゴシック;
    font-size: 9pt;
    margin: 0;
}

#page {
    background-color: #FFFFFF;
    border-bottom: 1px solid #C0C0C0;
    border-color: #C0C0C0;
    border-left: 1px solid #C0C0C0;
    border-right: 1px solid #C0C0C0;
    border-width: 1px;
    margin: 0 auto 1em;
    width: 83em;
}

img{
    border:0;
}

a{
    text-decoration:none;
}

a:hover{
    text-decoration: underline;
}

#header{
    height:102px;
}
/* logo area */
#logo{
    clear:both;
    display:block;
    position:relative;
    width:83em;
}
#animal, #header1{
    position:absolute;
    float:left;
    width:230px;
    height:102px;
    background:url("/images/oreilly_header1.gif") no-repeat transparent scroll 0 0;
}
#main_logo, #header2{
    background:url("/images/oreilly_logo_top_2014.jpg") no-repeat transparent scroll 0;
    float:left;
    position:absolute;
    font-size:0;
    /* text-indent:-9999; */
    height:102px;
    width:295px;
    left:350px;
    z-index:0;
}
#cart{
    background:url("/images/button_cart_off.gif") no-repeat transparent;
    float:right;
    margin-top:77px;
    height:25px;
    width:120px;
}
/* navigation area */
#nav {
    background: url("/images/bg_nav.gif") repeat-x scroll 0 0 #000000;
    clear: both;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 3em;
}
.nav_selected {
    background: none scroll #900;
    border: 0;
}
#sub_nav{
    background:none repeat scroll #900;
    clear: both;
    margin: -1px 0 0 0;
    padding-top: 5px;
    width:100%;
    border: none 0;
}

#nav ul, #sub_nav ul {
    font-size:9pt;
    padding: 0;
    margin:0;
}

#sub_nav ul {
    background:none repeat scroll #900;
    height: 1em;
    padding-bottom: 1em;
}

#nav ul li, #sub_nav ul li{
    float:left;
    list-style:none;
    display:block;
}

#nav ul li{
    padding:0.75em 1em;
    margin:0 1px;
    border-right: solid 1px #000;
}

#sub_nav ul li{
    padding:0 1em;
    border: none 0 #900;
}

#nav a, #sub_nav a{
    color:white;
    text-decoration:none;
}

/* content area */
#content {
    float:right;
    width:66em;
}

#center {
    float: left;
    padding: 1em;
    width:47em;
}

#left{
    float: left;
    width:25em;
    margin-right:2em;
}

#right{
    float: left;
    width:20em;
    margin:0em;
}

h2{
    font-size:1.1em;
    font-weight:bold;
}

h2.section-title {
    border-bottom: 1px solid #666;
    border-color: #666;
    border-width: 1px;
    margin:0;
}

h3.title, h3.title a{
    clear:left;
    line-height:1.2em;
    color:#990000;
    font-weight:bold;
    margin: 0;
}

h4{
    margin:0 0 0.5em 0;
    font-size:0.9em;
    font-weight:bold;
}

img.cover, img.asset-img-thumb{
    float:left;
    margin:0 0.5em 0.5em 0;
    clear:left;
}

p.detail{
    clear:both;
    margin: 0.5em 0 0 0;
}

#new-books .biblio, .biblio{
    font-size:0.9em;
    margin:0;
    list-style-type:none;
    color:#666666;
}
div.boxed, div.post{
    margin:1em 0 0.5em;
}

div.boxed h3{
    font-size:1.1em;
    margin:0.5em 0 0;
}

div.boxed ul{
    list-style-type: dot;
    padding-left: 1em;
    margin:0.5em 0 0;
}

div.boxed ul li{
    font-size:90%;
    line-height:1.2em;
    margin-top:0.5em;
}

div.boxed ul li a{
    color:#000;
}

/* toolbox at right side */
#toolboxes{
    float: right;
    width:15em;
    margin-right:1em;

}

#toolboxes ul {
    list-style-type: none;
    padding-left: 1em;
}

#toolboxes p {
    padding: 0 0.5em;
}

#toolboxes a {
    text-decoration: none;
}

div.tool {
    border: 1px solid #C0C0C0;
    margin-bottom: 1em;
}

div.tool h2 {
    background: url("/images/box-item-header.gif") repeat-x scroll 0 0 #FFFFFF;
    border-color: #C0C0C0;
    font-size: 1em;
    font-weight: normal;
    padding-left: 0.5em;
    line-height:2em;
    margin: 0 0 0.5em;
}

/* sidevar */
#sidebar{
    width:15em;
    margin:1em;
    float:left;
}

#sidebar h2.category{
    font-size: 1.1em;
    font-weight: normal;
    color: #000099;
    border-width: 1px;
    border-top: 1px solid #000000;
    border-bottom: 1px solid #000000;
    margin: 0.5em 0 0;
    padding:0 0.5em;
}

#sidebar h3.sub_category{
    font-size: 1em;
    font-weight: normal;
    color: #990000;
    border-bottom: 1px solid #000000;
    border-width: 1px;
    margin: 0.25em 0 0;
}

#sidebar ul{
    display: block;
    list-style-type: none;
    margin: 0;
    padding: 0;
}
#sidebar ul.category_item li{
    border-bottom: 1px solid #999999;
    margin:0.25em 0 0;
    font-size:1em;
}

#sidebar ul.category_item li a{
    color:#999;
    text-decoration:none;
    padding: 0 1em;
}
#sidebar ul.sub_category li{
    border-bottom: 1px solid #999999;
    border-width: 1px;
}
#sidebar ul.sub_category li a{
    font-size: 1em;
    font-weight: normal;
    color: #990000;
    margin: 0.25em 0 0 1em;
    text-decoration:none;
}
/* footer */
#footer{
    clear:both;
    text-align:center;
    padding-bottom:1em;
    border-top: solid 1px #c0c0c0;
}

div.adv{margin:1em 1em 0.5em 0;}


/* search box */
fieldset{
    border:none 0;
}

#search-box{
    text-align:center;
    border-bottom:solid;
    border-width:1px;
    border-color:#c0c0c0;
    padding:1em 0;
}
#search-title{
    font-size:12pt;
    color:#474747;
}

#search-input{
    width:15em;
    padding: 0.5em;
    margin:0;
    border:solid;
    border-width:1px;
    border-color:#c0c0c0;
}

#search-input > #q{
    width:18em;
    font-size:1em;
    padding-left:1em;
}

#search-button{
    color:#fff;
    background:#990000;
    border-style:none;
    font-size:1em;
    margin:0;
}
/* book table */
table{
    border-style:solid;
    border-width:1px;
    border-color:#d3d3d3;
    padding:0;
}
table a{
    color:#000;
} 
th{
    background:#999999 url("/images/box-item-header.gif") repeat-x 0 0;
}
.isbn{
    width:17em;
}
.price{
    text-align:right;
}
.odd{
    background-color:#eeeeff;
}
div.tool img{
    margin-left: 1em;
}