﻿@charset "UTF-8";
@import "basic_object.css";
@import "basic_layout.css";
@import "calendar.css";
@import "menubar.css";
@import "unique_object.css";

/*
基本スタイルシート
since 2005/08/22
cf. http://adp.daa.jp/archives/000250.html

幅は760ピクセル固定
全体をセンタリング
┌───────────────────────┐  ┌───────────────────────┐
│header (共通)                       langnavi  │  │header (共通)                       langnavi  │
│                                    sitenavi  │  │                                    sitenavi  │
│┌─────────────────────┐│  │┌─────────────────────┐│
││menubar                                   ││  ││menubar                                   ││
│└─────────────────────┘│  │└─────────────────────┘│
│┌─────────────────────┐│  │┌─────────────────────┐│
││caution                                   ││  ││caution                                   ││
│└─────────────────────┘│  │└─────────────────────┘│
└───────────────────────┘  └───────────────────────┘
┌───────────────────────┐  ┌───────────────────────┐
│container 760px                               │  │container 760px                               │
│┌─────────────────────┐│  │┌─────────────────────┐│
││caution                                   ││  ││caution                                   ││
│└─────────────────────┘│  │└─────────────────────┘│
│┌─────┐┌───────┐┌─────┐│  │┌─────┐┌──────────────┐│
││navigation││content_narrow││sub       ││  ││navigation││content                     ││
││180px     ││380px         ││180px     ││  ││180px     ││560px                       ││
││          ││              ││          ││  ││          ││                            ││
││          ││              ││          ││  ││          ││                            ││
│└─────┘└───────┘└─────┘│  │└─────┘└──────────────┘│
│┌─────────────────────┐│  │┌─────────────────────┐│
││pagenavi                                  ││  ││pagenavi                                  ││
│└─────────────────────┘│  │└─────────────────────┘│
│┌─────────────────────┐│  │┌─────────────────────┐│
││footer                                    ││  ││footer                                    ││
│└─────────────────────┘│  │└─────────────────────┘│
└───────────────────────┘  └───────────────────────┘

原則
1. はじめにデフォルトスタイルシートの影響を減らすため、すべての要素のmarginとpaddingを0にしておく。
2. セレクタに対してwidthとpaddingを同時に指定しない。
3. ピクセル単位であわせなければならない場所にはborderを使わない。
4. センタリング。
5. navigationとcontentとsubにfloat: leftとwidthを指定する。
6. pagenaviとfooterにclear: bothを指定する。
7. containerをつくらないとうまくセンタリングされない。
8. containerにfooterを入れないとMozillaではまる。
9. 先にfloat: leftをしたボックスのmargin-leftや、先にfloat: rightをしたボックスのmargin-rightは指定してはいけない。
*/

/******************************************************************************
** 一般的な設定
******************************************************************************/

* {
	margin: 0;
	padding: 0;
}
body {
	background-color: white;
	background-image: url("/toshokan/_img/background.gif");
	background-repeat: repeat-y;
	font-size: 90%;
	color: #000;
	text-align: center; /* ページ全体のセンタリング */
	font-family: "Times New Roman", Times, serif;
}
body div {
	text-align: left; /* ページ全体のセンタリング補正 */
	margin: 0 auto; /* ページ全体のセンタリング補正 */
}
/* フォントサイズ */
h1, h2, h3, h4, h5, h6 {
	font-size: 100%;
}
table , ul , ol , dl  {
	font-size: 100%;
}
/* 見出し */
h2 {
	font-size: 110%;
	margin-top: 0;
	color: #003300;
	padding-top: 15px;
	padding-bottom: 5px;
	border-left-width: 10px;
	border-left-style: solid;
	border-left-color: #660000;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #660000;
}
h3, h4, h5, h6 {
	margin-top: 1.5em;
	margin-bottom: 1em;
}
h3 {
	font-size: 128%;
	font-weight: bold;
	color: #000000;
	background-color: #CCCCCC;
}
h4 {
	margin-bottom: 0.5em;
}
/* 段落 */
p {
	line-height: 1.2em;
	margin: 8px 0 8px 0;
}
/* リスト */
ul { 
    line-height: 1.2em;
    list-style-type: square;
    margin: 0em 0 0 1.5em;
    padding: 0;
    list-style: url(/toshokan/_img/bullet.gif) disc;
}
ol {
    line-height: 1.2em;
    margin: 0.5em 0 0 1.5em;
    padding: 0;
}
ul a, ol a {
    text-decoration: underline;
}

li {
    margin-bottom: 0em;
}
/* 定義リスト */
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    text-decoration: none;
}
dt {
    font-weight: bold;    
}
dt a {
    text-decoration: underline;
}
dd {
    line-height: 1.2em;
    margin-bottom: 1em;
}
dd a {
    text-decoration: underline;
}

dd.link a {
    text-decoration: none;
    color: Black;
}
/* テーブル関係 */
table {
	margin-bottom: 1em;
	border-collapse: collapse;
	padding: 1px;
}
caption {
	font-weight: bold;
	text-align: left;
}
th, td {
	padding: 0px;
	border: 0px none #000000;
}
.noborder tr, .noborder td, .noborder th{
	border-style: none;
}
th {
	color: #666688;
}
.figure td { /* 数値は右寄せ */
	text-align: right;
}
.lift td { /* 上端揃え */
	vertical-align: top;
}
.noborder_lift td {
	border-style: none;
	vertical-align: top;
}
.nowrap { /* 改行しない */
	white-space: nowrap;
}
/* 画像 */
img {
    border: none;
    vertical-align: middle;
}
.centering {
	display: block;
	text-align: center;
}
/* アンカー */
a {
	text-decoration: underline;
	color: #003366;
	background-color: transparent;
}
a img {
	border: 0;
}
/* その他 */
fieldset {
    border: 1px solid #8cacbb;
    margin: 1em 0em 1em 0em;
    padding: 0em 1em 1em 1em;
    line-height: 1.5em;
    width: auto;
}
legend {
    background: White;
    padding: 0.5em;
    font-size: 90%;
}
form {
    border: none;
    margin: 0;
}
textarea {
    font: 110% "Courier New", Courier, monospace; 
    border: 1px solid #8cacbb;  
    color: Black;
    background-color: white;
    width: 100%;
}
input {
    font-family: "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif;
    visibility: visible;
    border: 1px solid #8cacbb;  
    color: Black;
    background-color: white;
    vertical-align: middle;
	margin: 1px;
}
input.input {
}
input.checkbox {
	border-style: none;
}
input.radiobutton {
	border-style: none;
}
select {
    border: 1px solid #8cacbb;  
    color: Black;
    background-color: White;
    vertical-align: top;
}
abbr, acronym, .explain {
    border-bottom: 1px dotted Black;
    color: Black;
    background-color: transparent;
    cursor: help;
}
q {
    font-family: Times, "Times New Roman", serif;
    font-style: italic;
}
blockquote {
    font-family: Times, "Times New Roman", serif;
    font-style: italic;
}
code {
    font-family: "Courier New", Courier, monospace;
    color: Black;
    background-color: #dee7ec;
    border: 1px dashed #8cacbb;
    padding: 0 0.1em;
}
pre {
    font-family: "Courier New", Courier, monospace;
    padding: 1em;
    border: 1px dashed #8cacbb;
    color: Black;
    background-color: #dee7ec;
    overflow: auto;
}
.pre a {
    text-decoration: underline;
}

ins {
    color: green;
    text-decoration: none;
}

del {
    color: red;
    text-decoration: line-through;
}
/******************************************************************************
** 個別の設定
******************************************************************************/
h1#title { /* ヘッダの見出し用 */
	font-weight: normal;
	font-size: 160%;
	float: left;
	margin-top: 10px;
}
h1#title a {
	color: #000;
	text-decoration: none;
}
#header {
	width: 760px;
	max-width: 100%;
}
#langnavi, #sitenavi{ /* 言語ナビ */  /* サイトナビ */
	font-size: 90%;
	text-align: right;
}
#mylib {
	position: relative;
	top: 44px;
	left: 300px;
	float: none;
}
#mylib * {
	color: white;
}
#menubar { /*メニューバー*/
	clear: both;
	font-size: 100%;
	color: #666666;
	margin-bottom: 10px;
}

/*以下 CSS タブメニュースタイル*/
.menu_tab {
	clear: both;
	height: 25px;
	width: 760px;
	margin-bottom: 20px;
	}
.menu_tab ul {
	margin:0;
	height: 25px;
	width: 760px;
	}
.menu_tab li {
	color:#000000;
	display:inline;
	text-decoration:none;
	height: 25px;
	width: 93px;
	font-weight: bolder;
	background-color: #D6D6D6;
	text-align: center;
	line-height: 30px;
	float: left;
	border-top-color: #999966;
	border-right-color: #999966;
	border-bottom-color: #999966;
	border-left-color: #999966;
	margin-right: 1px;
	margin-left: 1px;
	}
.menu_tab .leftmost{
	margin-left:0;
	}
.menu_tab #here {
	background:#fff;
	border-bottom:1px solid #fff;
	color:#000;
	}
.menu_tab li a {
	color:#000000;
	text-decoration : none;
	}
.menu_tab li a:hover {
	text-decoration: underline;
	color: #436976;
	}
/* menu_tab ここまで*/
.top_menu {
	background-color: #366;
	color: silver;
	font-size: 12px;
	position: relative;
	top: 0px;
	left: 0px;
}

#container {
	width: 760px;
	max-width: 100%;
}
#pagenavi { /* ページナビ (フッタの上段)*/
	display: none;
	clear: both;
	width: 760px;
	max-width: 100%;
	font-family: Arial, sans-serif;
	text-align: center;
	border-top: solid 1px #999966;
}
#pagenavi a, #sitenavi a, #langnavi a, #menubar a, #pathnavi a {
	text-decoration: none;
	color: #666666;
	font-size: 0.8em;
}
#pagenavi a:hover, #sitenavi a:hover, #langnavi a:hover, #menubar a:hover, #pathnavi a:hover {
	text-decoration: underline;
}
#caution {
	width: 760px;
	border-bottom: 1px solid #737373;
	text-align: center;
	color: red;
	margin-bottom: 4px;
}
#navigation {
	/* border-style: solid; */
	float: left;
	width: 180px; /* 幅変更可能 */
	line-height: 1.4;
}
.navi_news {
	font-size: 90%;
	margin: 4px 0 0 0;
	padding: 2px 2px 8px 2px;
	/* 黒板風に */
	background-color: #CCCCCC;
	color: #000000;
	border-top-color: silver;
	border-right-color: gray;
	border-bottom-color: silver;
	border-left-color: gray;
}
.navi_news a {
	line-height: 120%;
	text-decoration: none;
	font-size: 90%;
	color: #000000;/* #ffffcc; */
}
.navi_news a:hover {
	text-decoration: underline;
}
.navi_news ul {
	list-style: disc;
}
.navi_news li {
	margin-bottom: 4px;
}
.navi_news .oshirase_date {
	color: #999999;
}
.content .oshirase_date {
	margin: 1em 0 4em 0;
}
.oshirase_category {
	margin-right: 4px;
	font-size: 90%;
}
h2.oshirase_category {
	padding: 4px 0 4px 4px;
	margin-top: 4em;
	background-color: gainsboro;
	color: glay;
	font-size: 120%;
}
.oshirase_date {
	margin-left: 4px;
	font-size: 90%;
	color: gray;
}
.oshirase_new {
	margin-left: 4px;
	font-size: 120%;
	color: fuchsia;
}
.navi_news .oshirase_new {
	margin-left: 4px;
	font-size: 120%;
	color: fuchsia;
}
.oshirase_more {
	margin-left: 2em;
	text-align: right;
}
#login {
	border: solid;
	width: 100px;
	border-width: 1px;
	border-color: silver;
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 10px;
}
.content {
	background-repeat: no-repeat;
	background-position: right top;
	padding-left: 1em;
	float: left;
	width: 560px;
	max-width: 100%;
}
div.content_narrow {
	background-repeat: no-repeat;
	background-position: right top;
	background-position: right top;
	padding-left: 1em;
	float: left;
	width: 380px;
	max-width: 100%;
}
.content_wide {
	background-repeat: no-repeat;
	background-position: right top;
	padding-left: 1em;
	float: left;
	width: 760px;
	max-width: 100%;
}
#pathnavi { /* パスナビ (contentの上段) */
	color: #666666;
	font-size: 0.9em;
	margin-bottom: 0.5em;
}
.content p {
	margin-bottom: 0.2em;
}
.content #pagetop {
	margin-top: 1em;
	font-family: Arial, sans-serif;
	text-align: right;
}
.content #pagetop a {
	text-decoration: none;
	font-weight: bold;
	color: #666666;
}
#sub {
	float: right;
	width: 180px;
}
p.open-info {
	border: 1px solid;
	border-color: gray;
	font-size: 90%;
	padding: 4px 4px 4px 8px;
	color: #000;
	background-color: gainsboro;
}
#footer {
	clear: both;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	width: 100%;
	max-width: 100%;
}
#footer p {
	border-top: solid 1px #999966;
	margin-top: 2em;
	padding-top: 1em;
	font-size: 90%;
	text-align: center;
	color: #333330;
}
/* div */
div.one_point {
	margin: 8px;
	padding: 0px 8px 8px 8px;
	background-color: #DCDCDC;
}
div.one_point {
	font-size; 0.8em;
}
/* 画像 */
.library_image {
	width: 178px;
}
.on_campus {
	height: 16px;
	width: 12px;
}
/* カレンダー */
.calendar caption{
	font-weight: bold;
	text-align: right;
	background-color: #CCCCCC;
}
.calendar table {
	height: 8em;
	/*	width: 100%; */
	font-size: 80%;
	border-collapse: collapse;
}
.calendar th {
	/* border-style: solid none; */
	/* border-color: gray; */
	padding: 0px 2px;
	border-style: none;
	font-family: monospace;
	font-weight: normal;
	font-size: 90%;
	color: #000;
	text-align: center;
	line-height: 18px;/* 1.5em; */
	width: 22px; /* 3.2em; */
}
.calendar tr td {
	padding: 0px;
	border-style: none;
	text-align: center;
	line-height: 18px;/* 1.5em; */
	width: 22px; /* 3.2em; */
}
.calendar td#today {
	border: 1px solid red;
}
.calendar td.weekday {
	color: #000;
}
.todays_hours {
	border: thin solid #FF0000;
	font-weight: bold;
	background-position: center;
}
.calendar td.holiday {
	color: red;
	background-image: url("/toshokan/access/_img/cal_green.gif");
	background-repeat: no-repeat;
	background-position: 50% 50%;
}
.calendar td.sunday {
	color: red;
	background-image: url("/toshokan/access/_img/cal_green.gif");
	background-repeat: no-repeat;
	background-position: 50% 50%;
}
.calendar td.saturday {
	color: green;
	background-image: url("/toshokan/access/_img/cal_green.gif");
	background-repeat: no-repeat;
	background-position: 50% 50%;
}
.calendar td.close-weekday {
	color: #000;
	background-image: url("/toshokan/access/_img/cal_pink.gif");
	background-repeat: no-repeat;
	background-position: 50% 50%;
}
.calendar td.close-holiday {
	color: red;
	background-image: url("/toshokan/access/_img/cal_pink.gif");
	background-repeat: no-repeat;
	background-position: 50% 50%;
}
.calendar td.close-sunday {
	color: red;
	background-image: url("/toshokan/access/_img/cal_pink.gif");
	background-repeat: no-repeat;
	background-position: 50% 50%;
}
.calendar td.close-saturday {
	color: green;
	background-image: url("/toshokan/access/_img/cal_pink.gif");
	background-repeat: no-repeat;
	background-position: 50% 50%;
}
.calendar td.vacation-weekday, .calendar td.half-open-weekday {
	color: #000;
	background-image: url("/toshokan/access/_img/cal_lightblue.gif");
	background-repeat: no-repeat;
	background-position: 50% 50%;
}
.calendar td.vacation-holiday {
	color: red;
	background-image: url("/toshokan/access/_img/cal_pink.gif");
	background-repeat: no-repeat;
	background-position: 50% 50%;
}
.calendar td.vacation-sunday {
	color: red;
	background-image: url("/toshokan/access/_img/cal_pink.gif");
	background-repeat: no-repeat;
	background-position: 50% 50%;
}
.calendar td.vacation-saturday {
	color: green;
	background-image: url("/toshokan/access/_img/cal_pink.gif");
	background-repeat: no-repeat;
	background-position: 50% 50%;
}
.calendar td.exam-weekday {
	font-weight: bold;
	color: purple;
}
.calendar td.exam-holiday {
	font-weight: bold;
	color: red;
	background-image: url("/toshokan/access/_img/cal_yellow.gif");
	background-repeat: no-repeat;
	background-position: 50% 50%;
}
.calendar td.exam-sunday {
	font-weight: bold;
	color: red;
	background-image: url("/toshokan/access/_img/cal_yellow.gif");
	background-repeat: no-repeat;
	background-position: 50% 50%;
}
.calendar td.exam-saturday {
	font-weight: bold;
	color: green;
	background-image: url("/toshokan/access/_img/cal_yellow.gif");
	background-repeat: no-repeat;
	background-position: 50% 50%;
}
.cal_sun {
	color: red;
}
.cal_sat {
	color: green;
}
.calendar p {
	font-size: 90%;
	font-family: "Times New Roman", Times, serif;
}
/* 年間カレンダー */
#calendar_by_year table caption {
	text-align: center;
	font-size: 150%;
	margin-bottom: 0;
}
#calendar_by_year table {
	width: 9em;
	height: 12em;
	float: left;
	margin: 0px 1.5em 2em 0px;
}
#calendar_by_year th {
	font-size: 90%
}
/* カレンダーの凡例 */
table#cal_legend {
	background-color: white;
	font-size: 90%;
	width: 100%;
	padding: 0px;
	border-collapse: separate;
	margin-top: 8px;
	border-top-width: thin;
	border-right-width: thin;
	border-bottom-width: thin;
	border-left-width: thin;
	border-top-style: dashed;
	border-right-style: dashed;
	border-bottom-style: dashed;
	border-left-style: dashed;
}
table#cal_legend td {
	font-size: 75%;
	line-height: 1.5em;
	padding: 0px;
	width: auto;
}
table#cal_legend td.weekday {
	background-image: url("/toshokan/access/_img/cal_blank.gif");
	background-repeat: no-repeat;
	background-position: 50% 50%;
}
/* 電子ジャーナル検索結果 */
.ej_search table {
	margin: 1em auto; /* ページ全体のセンタリング補正 */
	border-collapse: collapse;
	width: 100%;
}
.ej_search .inputbox {
	width: 20em;
}
.checkbox {
	border-style: none;
}
tr {
	background-color: #fff;
}
.evenline {
	background-color: #dcdcdc;
}

/* お知らせ
.news_table {
	border-collapse: separate;
}
.news_table tr {
}
.news_table td {
	border-style: none;
	vertical-align: top;
}
.news_date {
	display: none;
}
.news_caption {
	background-color: #CCCCCC;
}
 */

