* {
    font-family: 'Microsoft JhengHei', FontAwesome;
}
body {
    font-size: 14px;
    background-color: #fdf7e8;
    font-family:Arial, Microsoft JhengHei, sans-serif;
}

a:focus{
  background-color:orange;
  outline-offset: 2px;

}

img{
    max-width:100%;
}
.slideshow h1{
      margin-top: 0px;
    margin-bottom: 0px;
}
.navbar-default {
    background-color: rgba(220, 206, 176, 0.7);
}

.t3-mainnav {
    border-bottom: 1px solid rgba(220, 206, 176, 0.9);
}

/* 16px*75%=12px */
html {
    font-size: 75%;
}

/* 1*12px=12px 1rem*/
body {
    font-size: 15px;
    font-size: 1.25rem;
}
.h-inline{
  display: inline-block;
}

.ebook a[href$= ".pdf"]:before{
    content:"\f1c1";
    font: normal normal normal 1.4rem/1 FontAwesome;
    padding-right: 5px;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translate(0, 0);
    color:#b70f00;
}


.wrap.t3-sl.t3-sl-1{
  /*background-color:#f7f7f7;*/
  padding:20px;
}
/* 2*12px=24px */
h1 {
    font-size: 24px;
    font-size: 2rem;
}

h2{
  font-size: 22px;
    font-size: 1.8rem;
    color: #d14b00;
    font-weight: bold;
}

h3, h3 a {
    font-size: 18.6px;
    font-size: 1.6rem;
    color: #d14b00;
    font-weight: 400;
}

h2.module-title span,
h3.module-title span {
    color: #d5491b;
}


h4 {
    font-size: 14.4px;
    font-size: 1.2rem;
}

/* 1.25*12px=15px */
p {
    font-size: 18px;/*16.8px*/
    font-size: 1.5rem;/*1.4rem*/
    line-height: 26px;
        word-break: break-all;
}

/* 1.25*12px=15px */
li {
    font-size: 15px;
    font-size: 1.25rem;
}

.title_size_15{
    font-size: 18px;
    font-size: 1.5rem;
}

.fwb {
    font-weight: bold;
}

.t3-sl-1 {
    border-bottom: none;
}

.home-nav{
    padding-top: 30px;
}

#mod-search-searchword{
    display: inline-block !important;
}
.search > .btn-primary{
    background-color: #e4d9c1;
    border-color: #e4d9c1;
    padding: 10px 12px;
    margin: -3px 0 0 -4px;
}

.index_icon.jmb-tree.jmb-tree-default a img{
    width: auto;
}
.index_icon.jmb-tree.jmb-tree-default ul li{
    background-color: #f9f9f9;
}
.index_icon.jmb-tree.jmb-tree-default > ul > li:hover > a, .jmb-tree.jmb-tree-default li.active > a{
    background: #f9f9f9;
}

h2.article-title a{
    color:#d5491b;
}

.blog-item article{
    padding-top:10px;
}

ul.mostread li, ul.relateditems li{
    background-color: #fff;
    margin-top:10px;
    padding:15px 0 15px 11px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border:1px solid #ddd;
    
    list-style: none;
    font-size: 18px;
    font-size: 1.5rem;
}

ul.mostread li:hover, ul.relateditems li:hover{
    display:block;
    -webkit-box-shadow: -1px 2px 6px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: -1px 2px 6px 0px rgba(0,0,0,0.5);
    box-shadow: -1px 2px 6px 0px rgba(0,0,0,0.5);
    -webkit-transition-duration: 2s; /* Safari */
    transition-duration: 0.3s;
}

ul.mostread li:after{
    float:right;
    margin-right: 10px;
    padding:0 6px;
    background-color: #ff9b62;
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
    font-family: FontAwesome;
    color:#fff;
    content:'\f128';
    font-size: 1.4rem;
}
ul.mostread li a, ul.relateditems li a{
    text-decoration: none;
}
ul.mostread li a:hover, ul.relateditems li a:hover{
    color:#ff9b62;
    transition-duration: 0.3s;
}

.module-ct > ul, .module-ct .custom > ul, .module-ct > ol, .module-ct .custom > ol {
  margin-left: 0px;
}

.row.blog-item{
    display:block;
    padding:10px;
    background-color: #fff;
    margin-top:10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border:1px solid #ddd;
    margin-left: 0px;
    margin-right: 0px;
}

.row.blog-item:hover{
    padding:10px;
    background-color: #fff;
    margin-top:10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: -1px 2px 6px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: -1px 2px 6px 0px rgba(0,0,0,0.5);
    box-shadow: -1px 2px 6px 0px rgba(0,0,0,0.5);
    -webkit-transition-duration: 2s; /* Safari */
    transition-duration: 0.3s;

}
/*首頁圖書*/
.home-book .book-box{
    background-color: #fff;
    border:1px solid #ddd;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

/*問題選粹*/
div.sprocket-mosaic-item{
  border:1px solid #ddd;
  background-color: #fff;
  -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
div.sprocket-padding:hover{
    -webkit-box-shadow: -1px 2px 6px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: -1px 2px 6px 0px rgba(0,0,0,0.5);
    box-shadow: -1px 2px 6px 0px rgba(0,0,0,0.5);
    -webkit-transition-duration: 2s; /* Safari */
    transition-duration: 0.3s;
}

.sprocket-mosaic-item .sprocket-mosaic-text {
    border-top: 1px solid #ff9b62;
  padding-top: 20px;
}

.sprocket-mosaic-item .sprocket-mosaic-title a{
  text-decoration: none;
}
.sprocket-mosaic-item .sprocket-mosaic-title a:hover
{
  color:#ff9b62;
    transition-duration: 0.3s;
}

.sprocket-mosaic .sprocket-mosaic-tags li, #main .sprocket-mosaic ul.sprocket-mosaic-tags li {
  
    background: #ff9b62!important;
    color: #fff;
}
.sprocket-mosaic .sprocket-mosaic-filter li.active, .sprocket-mosaic .sprocket-mosaic-filter li.active a{
    background-color: #ff9b62;
    color: #ffffff;
}

/*當年度工具書模組*/
.t3-module.module.shelves {
    background: url(../images/wooden_bookshelf.png) repeat-y;
    background-position: right 20px top 160px;
    background-size: 100%;
    overflow: hidden;
    margin-top: 10px;
    padding: 50px 0 65px 30px;
}

/*開放取用電子書*/
.ebook .article{
    padding: 10px;
    margin-bottom:20px;
    background-color: #fff;
    border:1px solid #ddd;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.ebook .article:hover{
    -webkit-box-shadow: -1px 2px 6px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: -1px 2px 6px 0px rgba(0,0,0,0.5);
    box-shadow: -1px 2px 6px 0px rgba(0,0,0,0.5);
    -webkit-transition-duration: 2s; /* Safari */
    transition-duration: 0.3s;
}

.ebook .article h2 a{
  text-decoration: none;
  color: #d5491b;
}

.ebook .article h2 a:hover{
    color:#ff9b62;
    transition-duration: 0.3s;
}
.ebook article header{
    display:block;
    /*float:left;*/
}

.shalves .block_title a:hover,
.shalves .block_title a:focus{
    font-weight: 900;
    color:#b70f00;
}

.mcd-menu li a:focus{
    color:#b70f00;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    z-index: 2;
    color: #ffffff;
    background-color: #ff995a;
    border-color: #ccc;
    cursor: default;
}
/*問題選粹文章頁面*/
.item-page.clearfix{
    padding:20px;
    margin-bottom: 20px;
    background-color: #fff;
    border:1px solid #ddd;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    }
/*知識共享圈*/
h2.asking{
    text-indent:-8px; margin-left:22px;
    line-height: 30px;
    color: #d5491b;
    margin: 0 0 20px 22px;
}

a.sprocket-readmore{
  text-decoration: none;

}

a.sprocket-readmore:hover{
  color:#ff9b62;
  transition-duration: 0.3s;
}

.resticketpro-article{
    padding:20px;
    margin-bottom: 20px;
    background-color: #fff;
    border:1px solid #ddd;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.resticketpro-article .message_user{
    display: none;
    visibility: hidden;
}

.ticket_message:before{
 content:"\f2c4.提問內容";
  color:#666;
 font-size:22px;   
 font-size:2.0rem;   
}

.ticket_message+.ticket_message{
    border-top:2px solid #9e9e9b;
    margin-top:15px;
    padding-top:15px;
}

.ticket_message+.ticket_message:before{
 
 content:"\f031.國家圖書館答覆";
  color:#666;
 font-size:22px;   
 font-size:2.0rem;   
}


.rst_categories a{
    font-size: 15px;
    font-size: 1.25rem;
}

/*搜尋結果頁面*/
.badge {
    background-color: #ff9b62;
    border-radius: 2px;
    margin:0 5px;
}

.search-result{
    padding:20px;
    margin-bottom: 20px;
    background-color: #fff;
    border:1px solid #ddd;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.search-result:hover{
    -webkit-box-shadow: -1px 2px 6px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: -1px 2px 6px 0px rgba(0,0,0,0.5);
    box-shadow: -1px 2px 6px 0px rgba(0,0,0,0.5);
    -webkit-transition-duration: 2s; /* Safari */
    transition-duration: 0.3s;

}

.search-result .result-title a{
  text-decoration: none;

}

.search-result .result-title a:hover{
    color:#ff9b62;
    transition-duration: 0.3s;
    
}
.mcd-menu li {
  display: inline-block;}
/*頁尾*/

.footer-type.jmb-tree-totolink-pd.jmb-tree ul ul li a:focus,
.footer-type.jmb-tree-totolink-pd.jmb-tree ul ul li:focus,
.footer-type ul.menu li a:focus{
      color: #b70f00;
      background-color:#222;
}

.t3-footer {
    margin-top: 40px;
    padding-top: 20px;
      border-top: none;
    background: #666666;
}

.t3-footer .jmb-tree-level1 > a{
    font-size: 16.8px;
    font-size: 1.4rem;
}

div.module.shalves .module-inner{
    background: url('../images/wooden_bookshelf.png') repeat-y;
    background-position: right 0px top 166px;
    background-size: 100%;
    overflow: hidden;
    margin-top: 10px;
}

@media only screen and (min-width: 1200px) {
    div.module.shalves .module-inner{
        padding: 50px 0 76px 60px;
    }
}

/*ipad橫*/
@media only screen and (min-width: 992px) and (max-width: 1199px) {
div.module.shalves .module-inner{
       background-position: right 0px top 137px;
       padding: 0px 0px 67px 96px;
    }
}

/*ipad*/

@media only screen and (min-width: 768px) and (max-width: 991px) {

div.module.shalves .module-inner{
        background-position: right 0px top 143px;
        padding: 18px 0px 67px 96px;
    }
}

div.module.shalves .vertical {
    margin: 0 10px 43px 0;
    display: inline-block;
    width: 175px;
    vertical-align: top;
    background: transparent;
    border: 0px solid #ddd;
}

div.module.shalves .vertical:hover{
    box-shadow: none;
}

div.module.shalves .vertical img:hover{}

.specialist{
    background-color: #ffffff;
    box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.13), inset 0px -2px 0px 0px rgba(0, 0, 0, 0.12);
    border-color: #ededed;
    /*border: 1px solid #ededed;
    border-collapse: separate;*/
    border-radius:2px;
}
.specialist th{
    background-color: #fe9d68;
    padding: 15px 5px;
    font-size: 15px;/*14px*/
    font-size: 1.25rem;
    color: #ffffff;
    text-align: center;
    white-space:nowrap;
}
.specialist td{
    padding: 5px;
    color: #5a5e6a;
    vertical-align: middle;
}
.specialist tr:nth-child(even){
    background-color: #f9f9f9;
}

.text-center{
    text-align: center;
}
.specialist tr{
    height: 45px;
}

/*知識提問*/

select, 
textarea, 
input[type="text"], 
input[type="password"], 
input[type="datetime"], 
input[type="datetime-local"], 
input[type="date"], 
input[type="month"], 
input[type="time"], 
input[type="week"], 
input[type="number"], 
input[type="email"], 
input[type="url"], 
input[type="search"], 
input[type="tel"], 
input[type="color"], 
.uneditable-input {
    height: inherit;
}


.com-rsticketspro-submit-ticket,
.registration,
.remind,
.reset{
  padding:20px;
margin-bottom: 20px;
background-color: #fff;
border:1px solid #ddd;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;

}

.com-rsticketspro-submit-ticket label,.com-rsticketspro-submit-ticket .btn{
  font-size: 15px;
  font-size: 1.25rem;
}
.corporate .items-leading.ref {
    border-bottom: 0px solid #eeeeee;
   
}

.corporate .items-leading.ref .item-image{
    padding-top: 20px;
}

.corporate .items-leading.ref img{
    max-width:100%;
}

a.tres[target=_blank]:after{
    font-family: FontAwesome;
    padding-left: 10px;
    content: "\f14c";
}

.counter {
  padding: 3.5px 12px;}

.home-icon h3 a:hover{
    color: #c09853;
}

.corporate .t3-sl-1 .t3-module{
    background-color: #f7f7f7;
    padding: 20px;
}

select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input{
    font-size: 15px;
    font-size: 1.25rem;
}

.btn-group>.btn, .btn-group>.dropdown-menu, .btn-group>.popover{
    font-size: 15px;
    font-size: 1.25rem;
}

.mcd-menu li{
    font-size: 18px;
    font-size: 1.5rem;
}
.mcd-menu.offconvas li{
    font-size: 15px;
    font-size: 1.2rem;
}
.mcd-menu.offconvas li a{
    color:#7b7b7b;
    border-bottom:1px solid #c5bfbf;
}

.btn-primary {
    background-color:#d64501;
    border-color: #e82100;
}

.resticketpro-article p{
  word-break: break-all;
}


#cel_1 span.title {
    display: block;
}
/*相關文章模組*/
ul.relateditems li:after{
      float: right;
    margin-right: 10px;
    padding: 0 6px;
    background-color: #ff9b62;
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
    font-family: FontAwesome;
    color: #fff;
    content: '\f128';
    font-size: 1.4rem;
}

.page-header .module-title, .page-header h1 {
    font-size: 21.6px;
    font-size: 1.8rem;
    color: #d5491b;
    font-weight: bold;
}

.navbar .nav>li>a{
    text-shadow: none;
}
/*問題選粹-blog*/
.article-info.muted {
    width: 100%;
    text-align: right;
}
.article-info dd{
    margin-right: 5px;
}
.item-page .article-aside{
    margin-bottom: 10px;
}

.navigation-container {
    top: 45% !important;
}

aside ul.assist{
    float:right;

}

aside ul.assist li{
    border:1px solid #ddd;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;

    background-color: #666666;
    display:inline-block;
    min-width:25px;
    margin: 3px;
    padding: 2px 5px;
}

aside ul.assist li a{
    color:#fff;
    font-size: 1rem;
}

/* 中文工具書內頁 */
.shalves .block_cover img{
    width: 70% !important;
    height: auto !important;
    position: absolute;
    bottom: 33px;
}

    .shalves .block_cover{
        height:165px;
    }

/*桌機*/
@media only screen and (min-width: 1200px) {

.shalves .block_cover{
        height:164px;
    }
}

/*ipad橫*/
@media only screen and (min-width: 992px) and (max-width: 1199px) {

    div.module.shalves .vertical{
        margin:18px 10px 0px 0;
    }
    .shalves .block_cover img{
        width: 60% !important;
    }

    .shalves .block_cover{
        height:150px;
    }
}

/*ipad*/

@media only screen and (min-width: 768px) and (max-width: 991px) {
    div.module.shalves .vertical{
        margin:2px 10px 5px 0;
    }
    .shalves .block_cover img{
        width: 60% !important;
    }
}
@media only screen and (min-width: 734px) and (max-width: 767px) {
    div.module.shalves .vertical{
        margin:9px 10px 13px 0;
        width: 30%;
    }
    .shalves .block_cover img{
        /*width: 55% !important;*/
    }
    div.module.shalves .module-inner{
        /*padding: 42px 0 65px 60px;*/
        background: transparent;
    }
    .module-inner .shalves{
        background:url('../images/light-wooden-background.jpg'); 
        padding-left: 15px;
        padding-top:50px;
    }
}
@media only screen and (min-width: 679px) and (max-width: 734px) {
    div.module.shalves .vertical{
        margin:5px 10px 15px 0;/* 4px 10px 14px 0 */
        width: 30%;
    }
    .shalves .block_cover{
        min-height:140px;
        /*width: 55% !important;*/
    }
    div.module.shalves .module-inner{
        /*padding: 42px 0 65px 60px;*/
        background: transparent;
    }
    .module-inner .shalves{
        background:url('../images/light-wooden-background.jpg'); 
       padding-left: 15px;
        padding-top:50px;
    }
    .shalves .block_cover img{
        width:50%;
    }

}
@media only screen and (max-width: 679px) {
    div.module.shalves .vertical{
        margin:10px 10px 0px 0;
        width: 45%;
    }
    .shalves .block_cover{
    margin-bottom: 40px;
    min-height:90px;
    }
    .shalves .block_cover img{
        width: 55% !important;
    }
    div.module.shalves .module-inner{
        background: transparent;
    }

    .module-inner .shalves{
        background:url('../images/light-wooden-background.jpg') repeat-y; 
        padding-left: 15px;
        /*padding-top:50px;*/
    }
}

form{
    margin: 0;
}

.chzn-container.chzn-with-drop .chzn-drop {
    width: 258px;

}
input#jform_email,
input#jform_name,
body#tinymce{
    max-width: 100%;
}
input#jform_subject {
    max-width: 100%;
    width: 300px;
}
.btn-ticket{
  max-width:100%;
  width:300px;
}

.t3-wrapper {
    background: transparent;}
.bfClearfix{
    padding:20px;
margin-bottom: 20px;
background-color: #fff;
border:1px solid #ddd;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}

/*我要提問*/
form#adminForm {
    max-width: 100%;
}

@media only screen and (max-width: 679px) {
    .chzn-container .chzn-single {
        width: 160px;
    }
    .form-horizontal .control-group .controls {
     margin-left: 0px; 
     width:100%;
	}
}
/*手機側收選單*/
.t3-off-canvas,
.off-canvas-effect-4.off-canvas-open .off-canvas-effect-4.t3-off-canvas{
    background-color: #fdf7e8!important;
}
  
h2 + p + div.ticket_message p strong:before{
    
    font-size:20px;
    content:'讀者發問';
    color:#000;
    
}
h2 + p + div.ticket_message p strong{
    color:#fff;
    
}

h2 + p + div.ticket_message{
    border-bottom: 1px solid #000;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

h2 + p + div.ticket_message+ div.ticket_message p strong:before{
    font-size:20px;
    content:'學科專家回答';
    color:#000;
}

h2 + p + div.ticket_message+ div.ticket_message p strong{
    color:#fff;
}
a.sprocket-readmore:focus span{
  border:2px dotted red;
}

.mcd-menu li a.search button:focus {
    border: 2px dotted #000;
}

.ebook .article {
    display: flex;
    align-items: stretch;
}

.item-image.iiii{
  background-repeat: no-repeat;
    background-size: contain;
  
  width: 100%;
    height: 100%;
}
.corporate .t3-sl-1 #Mod144.t3-module {
    background-color: transparent;
}
#Mod144 .module-ct {
    text-align: center;
}
#Mod144 .module-inner {
    background-color: #e6dac1;
}
#Mod144 .module-inner a {
    color: #333;
    text-shadow: 0 0 transparent;
    font-family: initial;
}
#Mod144 .jmb-tree.jmb-tree-default {
    background: none;
    box-shadow: none;
}
#Mod144 .jmb-tree.jmb-tree-default > ul > li:hover > a,#Mod144 .jmb-tree.jmb-tree-default li.active > a{
	background:#e6dac1;
}
.jmb-tree.jmb-tree-default > ul > li:hover > a, .jmb-tree.jmb-tree-default li.active > a{
  box-shadow:none!important;
}
ul.mcd-menu li {
    width: 100%;
}
