@charset "utf-8";

/*-------------------------------------------------------
 *  tool-base.css / 教材検索・文書検索ツール共通設定
 *   (depends on common.css) 
 *
 *  ファセット検索ツール共通のレイアウト設定．
 *  以下のCSSファイルの基本設定として用いられる．
 *    + tool-kyouzai.css (教材検索ツール固有の配色設定)
 *    + tool-bunsho.css  (文書検索ツール固有の配色設定)
 *
 *  Copyright (c) 2008-2011 SIGMUSE Kandai Unit
 *   [2011.03.17] re-organized by M. Hori 
 *-------------------------------------------------------*/

/* -------------
 レイアウト
 ---------------*/
.site-logo{
  float: left;
  width: 285px;
  height: 81px;
  display: block;
  padding-right: 50px;
}

.site-logo a{
  position: relative;
  top: 16px;
  left: 12px;
}

.header h1{
  float: left;
  width: 216px;  /* 201px; [2011.03.13] mod by Hori */
  height: 63px;  /*  81px; [2011.03.13] mod by Hori */
  padding-top: 6px;   /* [2011.03.13] added by Hori */
  padding-left: 50px;
  text-align: center;
}
.header h1 a{
  position: relative;
  top: 4px;
}
.header .name-sub  {
  font-size: 14px;
  display: block;
  margin: 15px 0px 10px 0px;
}
.header .name-main {
  font-size: 24px;
  display: block;
  margin: 0px;
}
.header-links{
  text-align:right;
  margin-right:12px; /* 10px;  [2011.03.13] mod by Hori */
  padding-top: 55px;
}
.header-links li{
  padding: 0 5px 0 10px;  /* [2011.03.17] added by Hori */
}
.header-links a:hover{
  text-decoration: underline;
}

.footer{
  clear: both;
  font-size: 13px;
  text-align: center;
  border-top: 1px solid;
}
.footer-links{
  margin: 8px auto;
}
.footer-links a{
  color: #004098; /* Color Home.A */
}
.footer-links a:hover{
  text-decoration: underline;
}
.footer-links li{
  display: inline;
  padding: 0px 8px;
  background: url('../img/border_dotted.gif') repeat-y;
}
.footer-links li.first{
  background-image: none;
}
.footer-text{
  clear: both;
  color: #000000;
  border-top: 2px solid;
  padding: 5px;
}
.footer-text p{
  padding: 3px;
}
.footer-text .phone-num {
  margin-left: 1em;
}
.footer-remark{
  color: #595959;
  padding: 10px;
}

.navigation{
  clear: both;
  height: 42px;
  padding: 0px 7px 0px 13px;
}
.navigation ul{
  float: left;
  width: 300px;
  padding-top: 2px;
  margin: 10px 0;
}
.navigation li{
  display: inline;
  margin-right:5px;
}

.navigation-links ul{  /* ... not applied anywhere ? (commented by Hori) */ 
  width: 100px;
  float: left;
}
.navigation-button a{
  display: inline-block;
  font-size: 12px;
  color: #000;
  background-color: #EEE;
  border: 1px solid #AAA;
  padding: 4px;
}
.navigation-button a:hover{
  background-color: #CCC;
  color: #000;
}

/* -------------
 検索フォーム
 ---------------*/
.navigation-search{
  float: right;
  width: 400px;
  margin-left: -100px;
  padding-top: 10px;
  padding-right: 220px; /* 270px; [2011.03.16] mod by Hori */
  font-size: 14px;
}
.navigation-search label{
  margin: 5px;
  color: #FFF;
  font-size: 13px;
}
.navigation-search .submit{
  display: inline-block;
  font-size: 12px;
  color: #000;
  background-color: #EEE;
  border: 1px solid #AAA;
  padding: 3px 8px; /* 4px; [2011.03.16] (mod by Hori) */
  margin-left: 10px;
}

.navigation-search .submit:hover{
  background-color: #CCC;
  color: #000;
}

/* [2011.03.13] added by Hori */
.navigation-search input#inputQuery {
  height: 20px; 
  width: 220px;
  line-height: 1.5;
}
.navigation-search #checkbox_holder{
  display: none;
}
.navigation-search #selectbox_holder{
  margin-left: 60px;
}

/* -------------
 ファセット一覧
 ---------------*/
.facet{
  width: 100%; /* IE6,7*/
  font-size: 12px;
  border: 1px solid #CAD9E2;
  padding: 0px;
  margin: 0px;
  margin-bottom: 5px;
}
.facet h2{
  font-size: 18px;
  font-weight: bold;
  line-height: 1.2;
  padding: 3px;
  margin: 0px;
}
.facet ul{
  margin: 5px 0px 5px 10px;
  font-size: 14px;
}
.facet li{
  display: inline;
}
.facet .facet-item {
  clear: both;
  margin-bottom: 7px;
}
.facet .current{
  color: #B5151D; /* 選択時の文字色 濃赤(共通) */
  font-weight:bold;
  padding: 2px;
  margin-right: 3px;
}
.facet .current a.discard_link{
  position: relative;
  top: 2px;
}
.facet-toggler{
  position: relative;
  top: -20px;
  text-align: right;
  display: block;
  float: right;
  
  /* 画像置換で矢印を表示 */
  background: url('../img/arrow_blue_up.gif') transparent no-repeat;
  width: 20px;
  height: 0px;
  padding-top: 10px;
  overflow: hidden;
}
.facet-toggler-open{
  background: url('../img/arrow_blue_up.gif') transparent no-repeat;
}
.facet-toggler-close{
  background: url('../img/arrow_blue_down.gif') transparent no-repeat;
}

.facet .noitem{
  color: #AAA;
}

.facet .document-num{
  float: right;
  display: block;
  text-align: right;
  margin: 0px;
  padding: 0px;
  padding-right: 5px;
  font-size: 12px;
  vertical-align: bottom;
}

/* -------------
 結果表示
 ---------------*/

.facet-result{
  font-size: 13px;
  width: 100%;
  margin-bottom: 10px;
}
.facet-result thead th{
  padding: 8px;
}
.facet-result td{
  padding: 6px 4px;
}
.facet-result-detail td{
  padding: 0px;
}
.facet-result-detail-field{
  margin: 5px;
}

.number-of-document-total {
  font-size: 15px;
  height: 44px;
  padding-left: 60px;
  padding-top: 22px;
  margin: 10px;
}
.facet-result-detail-field{
  border-left: 4px solid #C1DCE7;
  border-color: #E6EAD2;
  padding-left: 5px;
  margin: 2px 10px 10px 10px;
}
.facet-result-entry-detail{
  line-height: 2;
}
.facet-result-entry-detail-lang{
  display: inline-block;
  margin-left: 1em;
  width: 6.5em;
}
.facet-result-entry-detail-filetype{
  display: inline-block;
  width: 5em;
  margin-left: 10px;
  text-align: right;
}
.facet-result-entry-detail-filelength{
  display: inline-block;
  width: 5em;
  text-align: right;
}
.facet-result-entry-detail-modified{
  display: inline-block;
  width: 8em;
  text-align: right;
}
.facet-result th[data-sort]{
  cursor: pointer;
}

/**
 * jquery.zibra
 */
.zibra-odd{
  background-color: #FFF;
}
.zibra-even{
  background-color: #F6F6F6;
}

.document-tos{
  width: 500px;
  margin: 0 auto;
}
.document-tos .item{
  margin: 10px;
}
.document-tos .item-name{
  font-weight: bold;
}
.document-tos .item-value{

}
.document-tos-buttons{
  text-align: center;
  margin: 40px;
}

.news{
  margin: 5px;
}
.news h1{
  font-size: 32px;
  margin: 5px;
}
.news h2{
  font-size: 28px;
  margin: 5px;
}
.news h3{
  font-size: 20px;
  margin: 5px;
}
.news ul,
.news ol{
  padding: 20px;
  margin: 5px;
}
.news ul{
  list-style-type: circle;
}
.news ol{
  list-style-type: decimal;
}

/* -------------
 文書取得直前のダイアログ
 ---------------*/
.tos-dialog .ui-widget-content{
  border: 0px;
}
.tos-dialog .ui-dialog-content .translation-tos{
  background: url('../img/T&CRobot.gif') no-repeat top right;
  padding-top: 5px;
  /*height: 200px;*/
}
.tos-dialog .ui-dialog-content {
  font-size: 13px;
  text-align: left;
  overflow: visible;
}
.tos-dialog .dialog-buttons{
  float:none;
  background-color: #EEE;
  width: 470px;
  margin: 20px auto;
}
/* [2011.03.17] not applied anywere? (removed by Hori) 
.tos-dialog .dialog-buttons button{
  width: 144px;
  height: 50px;
  color: #000;
  font-weight: normal;
  font-size: 13px;
  margin: 0 5px;
  vertical-align: middle;
  white-space: normal;
  word-break: break-all;
}
*/

.tos-dialog .dialog-buttons a{
  display: inline;
  float: left;
  color: #000000;
  background-color: #EEEEEE;
  font-size: 13px;
  font-weight: normal;
  text-align: center;
  line-height:1.4;
  border: 1px solid #AAAAAA;
  width: 124px;
  height: 45px;
  overflow: visible;
  padding-top: 5px;
  padding-left: 10px;
  padding-right: 10px;
  margin: 0 5px 20px;  /* more margin for the bottom [2011.03.17] mod by Hori */
  word-break: break-all;
}
.tos-dialog .dialog-buttons a:hover{
  background-color: #CCCCCC;
  color: #000000;
}
.tos-dialog .dialog-buttons .disabled{
  color: #999999 !important;
  background-color: #777777 !important;
}

.tos-dialog .item{
  clear: both;
}
.tos-dialog .item-name{
  float: left;
  width: 70px;
  margin-top: 5px;
}
.tos-dialog .item-value{
  float: left;
  font-weight: bold;
  background: transparent;
  width: 300px;
  margin-top: 5px;
  margin-bottom: 5px;
  margin-right: 10px;
}
.tos-dialog .item-value p{
  margin-bottom: 1em;
}
.tos-dialog .publisher-tos .item-value{
  width: 380px;
  margin-top: 5px;
  margin-right: -10px;
}

a.facet-result-open-trigger {
  cursor: pointer;
}


/**
  
  デフォルトカラー設定

   教材検索:        A(#B31E23), B(#B31E23), C(#DC8C92), D(#EDC3C6), E(#F9E9EA) 
   文書検索:        A(#0D3D96), B(#0D3D96), C(#8C9FDC), D(#C3CDED), E(#E9EDF9) 
 >>デフォルト(暫定): A(#306060), B(#55B6C8), C(), D(#C3E6ED), E(#E9F6F9)

*/

/* -------------
 レイアウト
 ---------------*/
body{
  background-color: #E9F6F9; /* Color E */
}

.header h1 a{
}
.header h1{
}
.header-links a{
}

.footer{
  border-color: #C3E6ED; /* Color D */
}
.footer-text{
  background-color: #C3E6ED; /* Color D */
  border-color: #55B6CB; /* Color C */
}
.footer-remark{
  background-color: #E9F6F9; /* Color E */
}

.navigation{
  background-color: #55B6CB; /* Color C */
}

/* -------------
 ファセット一覧
 ---------------*/
 
.facet{
  border-color: #C3E6ED; /* Color D */
}
.facet h2{
  color: #306060; /* Color A */
  background-color: #C3E6ED; /* Color D */
}
.facet .current{
  /*  選択された項目の背景色をページ外側の背景と同色にする．*/
  background-color: #E9F6F9; /* Color E */
}

/*[2011.03.27] added by Hori 
   以下の２つの設定をbunsho/css/tool-base.css から移動した．
     .facet-for-admin { ... }
     .facet-for-admin h2 { ... }
   tool-base.css より後にtool-bunsho.css が読み込まれるため，
   管理者用ファセットの色設定（グレー系）が文書検索ツール固有
   の色設定によって再定義される不具合への対処．（本来なら，
   管理者用の共通設定は，tool-base.css で行なうべき）
*/
.facet-for-admin{
  border:1px solid #D5DBC0;
}
.facet-for-admin h2{
  color: #5F5F5F;
  background-color: #D8D8D8;
}

/* -------------
 結果表示
 ---------------*/
/*  検索結果リストの見出し行の背景色をページ外側の背景と
同色とし，見出し行にファセット名の背景と同色の下線を追加
する．また，見出しの文字はファセット名の文字と同色にする．*/
.facet-result thead tr{
  color: #306060; /* Color A */
  background-color: #E9F6F9; /* Color E */
  border-bottom: 1px solid #C3E6ED; /* Color D */
}

/* -------------
 結果表示
 /document/show
 ---------------*/
.document-show table{
  width: 100%;
}
.document-show th{
  width: 20%;
  font-weight: bold;
}
.document-show td, .document-show th{
  padding: 5px;
}
.document-show td{
  text-align: left;
}
