.chromestyle{
width: 100%;
}

.chromestyle ul{
padding: 0px;
margin: 0px;
text-align: left; /*set value to "left", "center", or "right"*/
line-height: 38px;
width: 100%;
clear: both;
}

.chromestyle ul li {
display: inline;
font-weight: normal;
margin-top: 0px;
padding: 10px 0px;
border: solid #ddd;
border-width: 0px 1px 0px 0px;
}

.chromestyle ul li.social_buttons {
float: right;
padding: 0px 20px 0px 26px;
margin: 0px;
border: solid #ddd;
border-width: 0px;
}
.chromestyle ul li.social_buttons_windows81 {
float: right;
padding: 7px 20px 7px 26px;
margin: 0px;
border: solid #ddd;
border-width: 0px;
}


.chromestyle ul li.selected {
background: #ffffff;
border-bottom: 1px solid #fff;
}
.chromestyle ul li.selected a {
	color: #b9002d;
}

.chromestyle ul li a {
color: #000000;
padding: 10px 17px;
margin: 0px;
text-decoration: none;
}

/* ######### Style for Drop Down Menu ######### */

.dropmenudiv{
position:absolute;
top: 0;
border: solid #dddddd;
border-width: 0px 1px 0px 1px;
font:normal 13px Verdana;
line-height:18px;
z-index:100;
background: #fff;
width: auto; /* 改为 auto 以适应内容宽度 */
min-width: 150px; /* 设置最小宽度，确保能容纳较长文本 */
visibility: hidden;
}


.dropmenudiv a{
width: auto;
display: block;
text-indent: 0; /* 移除 text-indent，改用 padding-left 确保对齐 */
padding: 7px 10px; /* 添加左右 padding，确保文本对齐 */
border-bottom: 1px solid #dddddd;
text-decoration: none;
color: black;
white-space: normal; /* 允许链接文本换行 */
word-wrap: break-word; /* 允许长单词换行 */
}

.dropmenudiv a.item-ext{
    color: #ffffff;
    background: #666666;
}

* html .dropmenudiv a{ /*IE only hack*/
width: 100%;
}

.dropmenudiv a:hover{ /*THEME CHANGE HERE*/
	color:#b9002d;
}

body {
	margin: 0px;
	padding: 0px;
	border: 0px;
	background: #ffffff;
	color: #000000;
	overflow: scroll;
	overflow-y: scroll;
	overflow: -moz-scrollbars-vertical;
}

body, td, th {
	font-family: Verdana, helvetica, arial, sans-serif, Microsoft Yahei;
	font-size: 12px;
}

body a {
	color: #207cc1;
	text-decoration: none;
}
body a:focus {
    	outline: 0;
}

a img {
	border: 0px;
}

.errmsg {
	font-weight: bold;
	color: #cc0000;
}

.sucmsg {
	font-weight: bold;
	color: #000000;
}

.page_border {
	width: 990px;
	border: solid #dddddd;
	border-width: 0px 1px 1px 1px;
	margin: 0px auto 20px auto;
}

.banner	{
	width: 100%;
	height: 87px;
	float: left;
}

.page_top_menu {
	clear: both;
	font-size: 13px;
	margin-left: auto; /* To stand at center */
	margin-right: auto; /* To stand at center */
	border: solid #ddd;
	border-width: 1px 0px 1px 0px;
	background:#eee;
	background:-moz-linear-gradient(top, #fbfbfb 0%, #eeeeee 100%);
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#fbfbfb), color-stop(100%,#eeeeee));
	background:-webkit-linear-gradient(top, #fbfbfb 0%,#eeeeee 100%);
	background:-o-linear-gradient(top, #fbfbfb 0%,#eeeeee 100%);
	background:-ms-linear-gradient(top, #fbfbfb 0%,#eeeeee 100%);
	background:linear-gradient(to bottom, #fbfbfb 0%,#eeeeee 100%);
}

.columns {
}	

.admin_login_table {
	margin-left: auto;
	margin-right: auto;
	margin-top: 100px;
	margin-bottom: 250px;
}

.admin_page_banner {
	width: 100%;
	height: 88px;
	background: url('../images/ora-home-logo.png') no-repeat center center;
	border: solid #888888;
	border-width: 1px 0px 0px 0px;
}

.admin_page_banner_logo {
	width: 111px;
	height: 88px;
	background: url('../images/tarsier.gif') no-repeat center center;
}

.admin_menu {
	border: solid #888888;
	border-width: 1px 0px 1px 0px;
}

a.book_category {
	color: #990000;
}

.admin_menu_table {
	float: left;
	margin-right: 50px;
}

.menu_top_tail {
	padding: 5px 0px 5px 0px;
	background: url(../images/menu-top-bottom-border.png) no-repeat bottom right;
}

.menu_2nd {
	display: block;
	clear: both;
	margin: 0px;
	padding: 0px;
	border: solid #dddddd;
	border-width: 0px 0px 1px 0px;
}
.menu_2nd ul {
	padding: 9px;
	margin: 0px;
}
.menu_2nd ul li {
	display: inline;
	border: solid #ddd;
	border-width: 0px 1px 0px 0px;
	padding: 0px 12px;
}
.menu_2nd ul li a {
	color: #b9002d;
}
.menu_2nd ul li a:hover {
	color: #333;
}
.menu_2nd ul li.menu_2nd_last {
	border-right: none;
}

.menu_2nd_item_selected {
}

.left_column {
    float: left;
    width: 200px;
/*	background:url("../images/navleftbg.gif");*/
}
.left_column_in_book_page {
	margin: 0 10px 20px 0;
	padding: 0 10px;
	float: left;
	width: 650px;
}
.right_column_in_book_page {
	width: 300px;
	float: right; 
	margin-right: 10px;
}
.cover_container {
	width: 184px;
	float: left;
	margin: 0 12px 10px 0;
}

.bar-menu-title {
    margin: 7px 0 10px 10px;
    color: #b9002d;
	font-size: 16px;
    padding: 3px 0px 3px 10px;
}
/*
.bar-menu {
    margin-left: 10px;
    margin-bottom: 20px;
}
.bar-menu .box1 {
    background: url("../images/bullet_menu.gif") no-repeat 5px center;
}
.bar-menu .box1-hover {
    background: url("../images/bullet_menu.gif") no-repeat 5px center #F6F6F6;
}
.bar-menu .box1-open {
    background: url("../images/bullet_menu_open.gif") no-repeat 5px center #F6F6F6;
}
.bar-menu .box1-open-hover {
    background: url("../images/bullet_menu_open.gif") no-repeat 5px center #F6F6F6;
}
.bar-menu .box1,
.bar-menu .box1-hover,
.bar-menu .box1-open,
.bar-menu .box1-open-hover {
    color: #9a0000;
    padding: 3px 0px 3px 18px;
    cursor: pointer;
    cursor: hand;
    width: 200px;
    border: solid #AAAAAA;
    border-width: 0px 0px 1px 0px;
}
.bar-menu .section {
    padding: 0px;
    display: none;
}
.bar-menu .section a {
    color: #888888;
    text-decoration: none;
    white-space: nowrap;
}
.bar-menu .section a:hover {
    color: #888888;
    text-decoration: none;
    white-space: nowrap;
}
.bar-menu .box2 {
    border: solid #888888;
    border-width: 0px 0px 1px 0px;
    padding: 3px 0 3px 25px;
}
.bar-menu .box2-hover {
    border: solid #888888;
    border-width: 0px 0px 1px 0px;
    padding: 3px 0 3px 25px;
    background: #F6F6F6;
}
*/

.accordion {
	padding: 0 0 0 10px;
	margin: 0px 0px 40px 0px;
}
.dcjq-parent-li {
	list-style: none outside none;
	padding:0;
	margin:0;
}
.dcjq-parent {
    border-bottom: 1px solid #ddd;
    color: #333333;
    display: block;
	/*background: url("../images/bullet_menu.gif") no-repeat 5px center;*/
    padding: 6px 0px 6px 10px;
}	
.dcjq-parent-li a:hover {
    /*background: url("../images/bullet_menu.gif") no-repeat 5px center #F6F6F6;*/
	color: #b9002d;
}
.dcjq-parent-li > .active {
	/*background: url("../images/bullet_menu_open.gif") no-repeat 5px center #F6F6F6!important;*/
	color: #b9002d;
}
.dcjq-parent-li ul {
    	list-style: none outside none;
	padding: 0px;
}
.dcjq-parent-li ul li {
	border-bottom: 1px solid #ddd;
}
.dcjq-parent-li ul li a {
	padding: 4px 0px 4px 20px;
	color: #666666;
	display: block;
}
.dcjq-parent-li ul li a:hover {
	/*background: no-repeat #f6f6f6;*/
}
.dcjq-parent-li ul li .active {
	/*color: #b9002d;*/
}

.homepage_middle_column {
    float: left;
    width: 540px;
    margin-left: 20px;
}

.homepage_right_column {
    float: right;
    margin-right: 20px;
    margin-bottom: 10px;
}

.module_title {
    padding: 7px 15px;
	font-size: 16px;
    /*font-weight: bold;*/
	background-color: #DDDDDD;
	background: -webkit-gradient(linear, left top, left bottom, from(#f0f0f0), to(#dddddd));
	background: -moz-linear-gradient(center top , #F0F0F0, #DDDDDD) repeat scroll 0 0 rgba(0, 0, 0, 0);
}
.module_body {
	margin-bottom: 10px;
	padding:12px 14px;
	border:1px solid #ddd;
	border-top:none;
}
.module_body_without_title {
	margin-bottom: 10px;
	padding:12px 14px;
	border:1px solid #ddd;
}

.news_brief {
    margin-top: 20px;
    margin-bottom: 25px;
}
.news_brief img {
	margin-right:10px;
}

.news_title_brief {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

.news_title_link {
    color: #000000;
}

.news_title_link:hover {
    color: #9a0000;
}

.book_list_table {
	border-collapse: separate;
	border-spacing: 10px 30px;
}

.book_brief {
    margin-top: 10px;
    margin-bottom: 20px;
	width: 340px;
}

.book_brief img {
    width: 80px;
    margin-right: 5px;
    margin-bottom: 5px;
}
.book_details_in_brief {
	float: left;
	width: 255px;
}

.book_title_brief {
    font-weight: bold;
    margin-bottom: 4px;
}

.plain_page {
    float: left;
    width: 760px;
    margin: 0 10px 10px 20px;
/*   min-height: 560px;*/
}

.plain_page_title {
    font-size: 20px;
 /*   font-weight: bold;*/
    margin-bottom: 20px;
}

.plain_page_subtitle {
    font-size: 14px;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 20px;
}

.subpage_button_inactive {
    float: left;
    width: 80px;
    text-align: center;
    padding: 5px 0px 8px 0px;
    background: url('../images/subpage_button_bg_inactive.png') bottom center no-repeat;
}

.subpage_link_inactive {
    color: #cccccc;
    font-weight: bold;
    text-decoration: none;
}

.subpage_button_active {
    float: left;
    width: 80px;
    text-align: center;
    padding: 5px 0px 8px 0px;
    background: url('../images/subpage_button_bg_active.png') bottom center no-repeat;
}

.subpage_link_active {
    color: #9a0000;
    font-weight: bold;
    text-decoration: none;
}

#detail-description-container {
	padding-top: 20px;
	overflow: hidden;
}
.readmore-js-toggle {
	margin-top: 2px;
}

.book_cart_box , .related_links {
    float: right;
    width: 300px;
    border: solid #dddddd;
    border-width: 1px 1px 0 1px; 
    margin: 0 0 10px 15px;
}
.book_cart_box_inner {
	padding: 0px;
}

.book_cart_box_title , .related_links_title {
    font-size: 14px;
 /*   font-weight: bold;*/
    padding: 10px 15px;
    background: url('../images/navtop_bg.gif') scroll left top transparent;

}
.book_cart_button_line {
	border-bottom: 1px solid #ddd;
	padding: 12px 15px 12px 15px;
}
.related_links_inner {
	border-bottom: 1px solid #ddd;
	padding: 12px 15px 12px 15px;
}
.book_cart_option {
	margin-top: 3px;
}

.footer {
    clear: both;
    margin-top: 20px;
    padding: 5px 20px 10px 10px;
    border: solid #ddd;
    border-width: 1px 0px 0px 0px;
}

.footer ul {
	    list-style: none outside none;
	    margin: 0 0 10px;
	    }
.footer ul li {
	margin: 0 0 5px;
}
.footer a {
	color: #333333;
}

.related_links ul {
		list-style: none outside none;
		margin: 0 0 10px 0px;
		padding: 0;
		}
.related_links ul li {
	padding: 4px 0 4px 0;
}
#samplechap_details ul li {
	padding: 0 0 0px 12px;
}

.searchbanner {
	width: 210px;
	float: right;
	margin-top: 36px;
	margin-right: 14px;
}

.myedit {
	width: 183px;
	float: left;
	height: 24px;
	border: solid #c5c5c5;
	border-width: 1px 0 1px 1px;
	color: #999999;
	margin: 0;
	padding: 0;
}

.mybuttonred {
	background: url('../images/search_btn.gif') no-repeat scroll left top transparent;
	border: 0 none;
	width: 26px;
	height: 26px;
	float: right;
	margin: 0;
	padding: 0;
}

.price {
/*	color: #990000;*/
}

#toc {
	OVERFLOW: scroll; 
	height: 300px;	
}

#toc ol {
	list-style: none outside none;
	margin: 0 10px 0 0;
	padding: 0;
}
#toc li {
	float: none;
	padding: 3px 3px 3px 18px;
	border-color: #FFFFFF #FFFFFF #DEDEDE #FFFFFF;
	border-style: solid;
	border-width: 1px;
}	

.social_share {
	padding-bottom: 30px;
}
.weibo_share {
	position: absolute;
}
.qq_weibo {
	margin-left: 50px;
	position: absolute;
}
.douban_recommand {
	position: absolute;
	margin-left: 70px;
}

.more {
/*	background-image: url("../images/arrow.gif");*/
	background-position: left center;
	background-repeat: no-repeat;
	padding-left: 11px;
	text-align: left;
	font-size: 13px;
}
.more img {
	width: 2%;
	vertical-align: middle;
}

#tagline {
    color: #000000;
    font-size: 13px;
    padding-left: 440px;
    position: absolute;
    width: 300px;
    top: 80px;
}

.category-description {
    color: #666666;
    font-size: 1.4em;
}

.conf-blurb {
    border-color: #CCCCCC;
    border-top: 1px solid #CCCCCC;
    border-width: 1px;
    display: block;
    margin-left: 0;
    margin-top: -1.1em;
    padding: 0;
}
.conf-blurb li {
    border-bottom: 1px solid #CCCCCC;
    border-left: 1px solid #CCCCCC;
    border-right: 1px solid #CCCCCC;
    list-style-type: none;
    margin-left: 0;
    padding: 8px 10px;
    position: relative;
}
.conf-header {
    background-color: #EEEEEE;
    color: #444444;
    font-size: 1.4em;
    font-weight: bold;
    line-height: 0.8em;
    margin-left: 0;
}
.conf-blurb img {
    border: 0 none;
    clear: both;
    float: left;
    margin-right: 10px;
}

.relative_contents {
	margin-top: 20px;
}
.relative_contents_tabs {
	border:1px solid #ddd;
}
.tabs_label {
	border:1px solid #dddddd;
	border-width:0px 0px 1px 0;
	width: 100%;
	height: 31px;
	box-sizing: border-box; /* 确保边框包含在高度内 */
/*clear: both;
display: block;*/
}
.tabs_label_ie {
	border:1px solid #dddddd;
	border-width:0px 0px 1px 0;
	width: 100%;
	height: 30px;
	box-sizing: border-box;
/*clear: both;
display: block;*/
}
.tabs_label_opera {
	border:1px solid #dddddd;
	border-width:0px 0px 1px 0;
	width: 100%;
	height: 29px;
	box-sizing: border-box;
/*clear: both;
display: block;*/
}
.tabs_label_firefox_OSX {
	border:1px solid #dddddd;
	border-width:0px 0px 1px 0;
	width: 100%;
	height: 32px;
	box-sizing: border-box;
}
.relative_contents_tabs li {
	list-style: none;
	float: left;
	padding: 0;
	margin: 0;
}
.relative_contents_tabs ul {
/*	display: block;*/
	padding: 0;
	margin: 0;
}
.relative_contents_tabs ul a {
	color: #000;
	display: block;
	cursor:pointer;
	padding:8px 16px;
	background: url("../images/tabgradient_bg.gif") #f4f4f4;
	border:1px solid #dddddd;
	border-width:0px 1px 0px 0;
	box-sizing: border-box; /* 确保边框包含在尺寸内 */
	line-height: 15px; /* 精确控制行高，确保高度一致 */
}
.relative_contents_tabs ul a.selected {
	margin-bottom:-1px; /* 负边距使底部边框与容器边框对齐 */
	background:#fff;
	border-bottom:1px solid #fff;
	cursor:default;
	position: relative; /* 确保 z-index 生效 */
	z-index: 1; /* 确保选中标签在容器边框之上 */
}
.relative_contents_tabs_inner {
/*	clear: both;*/
	padding: 20px 10px;
}
	
.single_content {
	margin: 0 10px;
}
.single_content_right {
	width: 700px;
	overflow: hidden;
}

#bdcs {
	float: right;
	width: 340px;
	margin-top: 36px;
	margin-right:26px;
	text-align:right;
}
#bdcs-search-form-input {
	width: 190px;
	float: left;
	height: 35px;
	border: solid #c5c5c5;
	border-width: 1px 1px 1px 1px;
	color: #999999;
	margin: 0;
	padding: 0 4px;
	font-size:15px;
	outline:none;
}
#bdcs-search-form-submit {
	/*background: url('../images/search_btn.gif') no-repeat scroll left top;*/
	background: url('../images/large_search.png') no-repeat scroll left top;
	border: 0 none;
	width: 132px;
	height: 35px;
	float: right;
	margin: 0;
	padding: 0;
	font-size: 13px;
}
.footer-subfooterLogo {
width: 118px;
height: 21px;
margin-bottom: 20px;
}

/* 搜索框样式 - 桌面端 */
.chromestyle ul li.search_box_li {
    float: right !important;
    padding: 0 !important;
    margin: 0 10px 0 0 !important;
    line-height: 38px !important;  /* 匹配菜单栏 line-height */
    height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    border: none !important;
    vertical-align: middle !important;
}

.search_form {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    height: 100%;
}

.search_input {
    width: 160px;
    height: 24px;
    padding: 0 8px;
    border: 1px solid #ccc;
    border-radius: 12px 0 0 12px;
    font-size: 12px;
    outline: none;
    background: #fff;
    -webkit-appearance: none;
    appearance: none;
}

.search_input:focus {
    border-color: #207cc1;
}

.search_button {
    width: 36px;
    height: 26px;
    border: 1px solid #ccc;
    border-left: none;
    border-radius: 0 12px 12px 0;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 13px;
    outline: none;
    transition: background 0.3s;
    -webkit-appearance: none;
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.search_button:hover {
    background: #e0e0e0;
}

.search_button svg {
    width: 16px;
    height: 16px;
    display: block;
    flex-shrink: 0;
}

/* 搜索结果页样式 */
.search_results {
    margin-top: 20px;
}

.search_result_item {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.search_result_cover {
    float: left;
    width: 80px;
    margin-right: 20px;
    margin-top: 0;
}

.search_result_cover img {
    width: 80px;
    height: auto;
    border: 1px solid #ddd;
    display: block;
}

.search_result_cover .no_cover {
    width: 80px;
    height: 100px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 11px;
}

.search_result_info {
    margin-left: 100px;
    margin-top: 0;
}

.search_result_header {
    width: 100%;
    margin-bottom: 5px;
    border-collapse: collapse;
}

.search_result_title {
    padding: 0;
    padding-right: 20px;
    vertical-align: top;
}

.search_result_title h3 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

.search_result_title a {
    color: #207cc1;
    text-decoration: none;
}

.search_result_title a:hover {
    text-decoration: underline;
}

.search_result_meta {
    width: 140px;
    padding: 0;
    text-align: right;
    color: #999;
    font-size: 12px;
    line-height: 1.5;
    vertical-align: top;
}

.search_result_pages {
    color: #666;
    margin-bottom: 2px;
}

.book_icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    max-width: 14px;
    max-height: 14px;
    margin-right: 5px;
    vertical-align: text-bottom;
    color: #666;
}

.search_result_date {
    color: #999;
}

.search_result_author {
    margin: 5px 0;
    color: #666;
    font-size: 12px;
}

.search_result_author a {
    color: #207cc1;
}

.search_result_intro {
    margin-top: 10px;
    line-height: 1.6;
    color: #333;
}

/* 分页样式 - O'Reilly 风格 */
.pagination {
    margin: 40px 0 30px 0;
    padding: 20px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-top: 1px solid #e5e5e5;
}

.page_link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 50%;
    color: #0072CE;
    text-decoration: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.15s ease;
}

.page_link:hover {
    background: #F0F7FC;
}

.page_current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #0072CE;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.page_ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 44px;
    color: #6B7280;
    font-size: 14px;
}

.page_arrow {
    color: #0072CE;
}

.page_arrow svg {
    width: 12px;
    height: 16px;
    display: block;
}

.page_arrow_disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    color: #D1D5DB;
    cursor: not-allowed;
}

.page_arrow_disabled svg {
    width: 12px;
    height: 16px;
    display: block;
}

/* 移动端搜索框对齐修复 - 检测触摸设备 */
/* hover: none = 不支持悬停（移动设备） */
/* pointer: coarse = 粗指针（手指触摸） */
@media (hover: none) and (pointer: coarse) {
    .chromestyle ul li.search_box_li {
        padding: 10px 0 !important;  /* 匹配菜单项 padding: 10px 0px */
        height: auto !important;  /* 让 padding 控制高度 */
        line-height: 18px !important;
        margin: 10px 10px 0 0 !important;  /* 用户调试确认的值 */
    }
    
    .search_form {
        padding: 0 17px !important;  /* 匹配菜单项 a 标签的左右 padding */
        height: 18px !important;  /* 匹配内容高度 */
    }
    
    .search_input {
        width: auto !important;  /* 自适应宽度 */
        min-width: 120px !important;  /* 最小宽度 */
        max-width: 180px !important;  /* 最大宽度 */
        height: 24px !important;
    }
}

/* 备用方案：如果上面的不支持，使用宽度检测 */
@media screen and (max-width: 768px) {
    .chromestyle ul li.search_box_li {
        padding: 10px 0 !important;
        height: auto !important;
        line-height: 18px !important;
        margin: 10px 10px 0 0 !important;
    }
    
    .search_form {
        padding: 0 17px !important;  /* 匹配菜单项 a 标签的左右 padding */
        height: 18px !important;
    }
    
    .search_input {
        width: auto !important;
        min-width: 120px !important;
        max-width: 180px !important;
        height: 24px !important;
    }
}
