/**
@prefix : <http://purl.org/net/ns/doas#> .
<> a :CSSStylesheet;
 :title "NDLA:国立国会図書館典拠スタイルシート";
 :created "2010-02-04";
 :release [:revision "0.93"; :created "2016-02-27"].
*/
/* ----------------------------------------------- */
/** @global style */
/* ----------------------------------------------- */
@import url(https://fonts.googleapis.com/css?family=Vollkorn);

/** color scheme */
/* $common or #fff9f3 */
html, body, /*.spg .actor,*/ #twinbar1, .spg .info, #origin{
	background-color: #fffefd; /* $common */
}
.spg .info {
	border: none;
	border-top: solid 1px #fffdf0;
}
.spg .actor#twinbar1 {
	border-bottom: solid 1px #fffdf0 /*transparent*/;
}

/* $counter or #f6f0e6 */
dl.description, #twinbar .waiter:hover {
	background-color: #f8f8fb;
}

/* $accent */
.spg .waiter {
	/*color: white;
	background-color: #a3afce; *//*929ebd;*/
}

/* $accent2 or dotted 1px #369*/
.description dt, .description dd {
	border-top: solid 1px #ddd;
}
#twin .subjid {
	border-top: none;
}

/* Spring graph pane */
#f2, #twinbar2 {
	background: #f9f9fd;
}
.spg .actor#twinbar2 {
	border-bottom: solid 1px #f9f9fd /*transparent*/;
}
#f2 {
	border: silver solid 1px;
	border-top: none;
}

/* keyword search */
.switcher #t1, #fm1, fieldset#sq {
	background-color: #f6f4f3;
}
.switcher #t1.actor {
	border-bottom-color: #f6f4f3;
}
/* classification search */
.switcher #t2, #fm2, fieldset#sqc {
	background-color: #f0ece3;
}
.switcher #t2.actor {
	border-bottom-color: #f0ece3;
}

.menu {
	background-color: #faf6fe;
}

.menu li a:hover /*, .nav a:hover*/, dl.altformat {
	background-color: #f6f0f2;
}

.menu li.current, .nav .current {
	background-color: #f3eae6;
}

.menu li.ndllink {
	background-color: #fcf9ff;
}

.menu li a, menu li.current {
	border-bottom-color: #b3aaa6;
	border-right-color: #b3aaa6;
}
.altformat dt, .altformat dd {
	border-top-color: #b3aaa6;
}
div.main {
	border-left-color: #d3cac6;
}





/** common style */
html, body{
	margin: 0;
	padding: 0;
}

/** header style */
.head a {
	text-decoration: none;
}
.head a img {
	border: none;
}

.head {
	height: 95px;
	padding: 0 1em;
}
.intro .head {
	height: 110px;
	margin-bottom: 2em;
	/*background: #43578b url(header_bg.png) repeat-x*/;
}
.head div {
	margin-top: 16px;
}
.head div span {
	font-size: 180%;
	font-family: 'Vollkorn', serif;
	font-weight: bold;
}
.head .helpinfo,
.head #langswitch {
	position: absolute;
	top: 8px;
	font-size: 85%;
	z-index: 10;
}
.head .helpinfo {
	text-align: right;
	right: 1em;
	width: 42px;
}
.head #langswitch {
	right: 60px;
	width: 66px;
	cursor: pointer;
}

.intro .head div span {
	font-size: 240%;
}

.head, .foot {
	color: white;
	background: navy;
	border-top: navy solid 1px;
}

.head a:link, .foot a:link {
	color: white;
}
.head a:visited, .foot a:visited {
	color: #ffeeee;
}

#infonav {
	/*height:16px;*/
	font-size: 90%;
	/*background: #ececec;*/
}
#bringmeback {
	/*top: 110px;*/
	/*right: 1em;
	font-size: 110%;*/
	cursor: pointer;
	padding-left: 3px;
	color: #00d;
	position: absolute;
}

/** footer style */
.foot {
	padding: 0.7em 1em;
	height: 20px;
}
.foot .servicenavi {
	width: 25em;
	float: left;
}

.foot .inquiry {
	width: 22em;
	float: right;
}

.rights {
	font-size: 80%;
	text-align: center;
}

/* see color scheme at the top for background-color */

/** main division */
div.main {
	/*margin: 0 3em 1.5em 10.3em;
	border-left-width: 1px;
	border-left-style: solid;*/
	margin: 0 2em 1em 1em;
	max-width: 1000px;
	min-height: 22.5em;
	padding: 0 1em 0 2em;
	line-height: 1.4;
}


.detail div.main, .detail h1 {
	/*margin-right: 15em;*/
	margin-right: 22%;
}

h1 {
	font-size: 180%;
	margin: 0 0 0 1.67em;
	padding-top: 30px;
}

h1, h2, h3 {
	color: #32467a;
}

dfn {
	font-style: normal;
	font-weight: bold;
}
table {
	border-collapse: collapse; margin: 1em 0;
}
table, th, td {
	border: gray solid 1px;
}
th, td {
	padding: 0.5em 0.3em;
}

/** menu */
.menu {
	width: 10.3em;
	position: absolute;
	left: 0;
	top: 70px;
	/*border-right: gray solid 1px;*/
}
.menu h2 {
	display: none;
}
.menu ul {
	margin: 0;
	padding:0;
}
.menu li {
	font-size: 90%;
	list-style: none /*url(menu-item.gif) inside*/;
}
.menu li a, .menu li.current {
	border-bottom-width: 1px;
	border-bottom-style: dotted;
}
.menu li a {
	display: block;
	text-decoration: none;
}
.menu li a:link, .menu li a:visited {
	color: black;
}
.menu li a:hover {
	/*text-decoration: underline;*/
	color: #33c;
	border-bottom-style: solid;
	border-right-style: solid;
	border-right-width: 1px;
}


.menu li a, .menu li.current {
	padding: 0.8em 10px 0.8em 12px;
	height: 2em;
}

.menu li.ndllink a {
	padding-top: 1.8em;
}

.menu li.current img {
	position: absolute;
	left: 0;
}


/** aside for related link etc. */
div.aside {
	/*width: 14em;*/
	width: 20%;
	/*float: right;
	margin-right: 1em;
	margin-top: -30px;*/
	position: absolute;
	top: 128px;
	right: 1em;
}
.aside h2 {
	margin-top: 0;
}


#relmenu li {
	list-style: none;
	margin-bottom: 0.65em;
	padding: 0;
}
#relmenu li a{
	border: thin outset silver;
	border-radius: 10px;
	padding: 0.2em;
	width: 10em;
	display: block;
	text-decoration: none;
	color: black;
	background: #eee;
	text-align: center;
	appearance: button;
	-moz-appearance: button;
	-webkit-appearance: button;
}

/** documentation page style */

.doc h2 {
	margin: 2em 0 1.5em;
	font-size: 125%;
	color: white;
	background: #929ebd url(heading-bg.png);
	padding: 0.1em 0.4em;
}

.example {
	border: gray solid 1px;
	padding: 1em;
	margin: 1em 0;
	background: white;
}
.example pre {
	margin: 0;
}
.example code {
	color: #c00;
}


/* ----------------------------------------------- */
/** @form and search result style */
/* ----------------------------------------------- */

/** form style **/

table {
	background-color: white;
}

.doc form {
	margin-top: 2em;
	margin-bottom: 2em;
}

.dual form {
	margin-top: 0;
}

fieldset {
	padding: 0.7em;
	border: #ddd solid 1px;
}
input.keyword {
	width: 30em;
}
input.clssf {
	width: 25em;
}
input.keyword, input.clssf {
	height: 1.8em;
}
.submit {
	width: 5em;
}
select#pfx {
	width: 5em;
}
label span {
	display: none;
}
html[lang=ja] span[lang=ja],
html[lang=en] span[lang=en] {
	display: inline;
}
html[lang=ja] span[lang=en],
html[lang=en] span[lang=ja] {
	display: none;
}



/** small form displayed in Subject Detail page */
div.sub {
	position: absolute;
	top: 12px;
	right: 1em;
	width: 25em;
	font-size: 85%;
}

.sub fieldset {
	padding: 0.3em 0.5em 0;
}
.sub input.keyword {
	width: 18em;
	color: black;
}
.sub input.clssf {
	width: 13.3em;
	color: black;
}
.nash label {
	font-size: 75%;
}
/* initial state (no default value) */
input.init, .sub input.init {
	color: #888;
}

/** form switcher */
/* form border */
.switcher #t1, #fm1, .switcher #t2, #fm2 {
	border: 1px solid  #bbb;
}
.dual #fm1, .dual #fm2 {
	border-top:none;
}
.switcher .info {
	border-top: solid 1px transparent;
	border-bottom:  1px solid  #bbb;
}
#fm1 fieldset, #fm2 fieldset {
	border: none;
}
.sub #fm1, .sub #fm2 {
	border-top: none;
	clear: left;
}
.switcher #t2 {
	border-left: none;
}
.switcher li {
	font-size: 85%;
	text-align: center;
	list-style: none;
	margin-left: 0;
	border: none;
	padding: 0.2em;
}
.sub .switcher li {
	font-size: 75%;
	padding: 0.1em;
}
ul.switcher {
	margin-bottom: 0;
	margin-left:0;
	padding-left:0;
}
.sub ul.switcher {
	margin-top: 0;
}
.switcher .actor, .switcher .waiter {
	display: block;
	width: 9em;
	float: left;
}

.switcher .actor {
	cursor: default;
}
.switcher .waiter {
	cursor: pointer;
}

form.waiter {
	display: none;
}

/** search result */

.facet {
	float: left;
	border: none;
	margin-top: 1.4em;
}
.facet ul {
	padding-left: 0.4em;
	margin: 0.5em 0;
	list-style-image: url(menu-item.gif);
	/*list-style: none;*/
}
.facet .unfocus {
	list-style: none;
}
.facet .unfocus a:link {
	color: #99c;
}
.facet ul li {
	padding-right: 0.5em;
}
.facet .unfocus a:visited {
	color: #cbb;
}
.facet .target {
	background: #eee;
	list-style-image: url(menu-item.gif);
}
.facet .unfocus .target a {
	color: black;
}
/*
.facet .selected .target a:visited {
	color: purple;
}
*/


div.reslist {
	margin-left: 12em;
}
.reslist ul {
	padding-left: 0;
}
.reslist ul li {
	border: silver solid 1px;
	padding: 0.3em 0.3em 0.3em 1.3em;
	text-indent: -1em;
	list-style: none;
	position /**/: relative;
}
.reslist li > span {
	/*float: right;*/
	position /**/: absolute;
	top: 3px;
	right: 0.4em;
}

/* IE6 style */
* html .reslist li span {
	margin-left: 2em;
	font-size: 80%;
	color: gray;
}

/*li.exact {
	margin-bottom: 1em;
}*/
li.exact a {
	font-weight: bold;
}

.nav {
	margin-top: 2em;
	font-size: 92%;
}
/*.nav span,*/ .nav a {
	border: #ddd solid 1px;
	padding: 0.2em 0.3em;
	margin-right: 0.3em;
}

.nav .current {
	border: gray solid 1px;
	padding: 0.2em 0.3em;
	margin-right: 0.3em;
}

/* see color scheme at the top for background-color */





/* ----------------------------------------------- */
/** @description detail */
/* ----------------------------------------------- */

#f1 h2, #f2 h2, #f2 p, #dualform h2 {
	display: none;
}

.spg li, .aside h2, .detail h2{
	font-size: 114%;
	color: navy;
	font-weight: bolder;
}
dl.description {
	/* background-color: $counter; */
	/*margin-top: 0;*/
}
.description dt{
	font-weight: bolder;
	display:block;
	width: 12em;
	float:left;
	/* border-top: dotted 1px $accent2 */
	padding-top: 0.3em;
	padding-left: 0.5em;
}
.description dd {
	margin-left: 12em;
	margin-bottom: 0.1em;
	padding: 0.3em 0 1.3em 1em;
	/* border-top: dotted 1px $accent2 */
	background-color: white;
}
/* property pname */
.description dt span {
	font: normal normal 80% sans-serif;
	color: gray; display: block;
}
.description dt span[lang=ja] {
	color: black;
	font-weight: bolder;
	font-size: 100%;
}
.description dd span {
	font: normal normal 85% sans-serif;
}
/* item jlabel when lang=en */
html[lang=en] .description dt[title] {
	color: gray;
	font-weight: normal;
	font-size: 80%;
}
/* property pname when lang=en */
html[lang=en] .description dt span {
	color: black;
	font-weight: bolder;
}
html[lang=en] .description dt[title] span {
	font-size: 125%;
}
.description dt small {
	font-weight: normal;
}
.description dd small {
	color: gray;
}

rp, rt {
	/*font-size: 60%;*/
	color: #666;
}

dl.altformat {
	margin-top: 2em;
}
dl.altformat dt {
	font-weight: normal;
}
div.altformat {
	text-align: center;
	border-top: silver 1px solid;
	margin-top: 2em;
	padding-top: 0.7em;
}

/* ----------------------------------------------- */
/** @Spring Graph */
/* ----------------------------------------------- */

#gframe {
	position: relative;
	top: 0px;
	left: 0px;
}
#f2 {
	display: none;
}
#f1, #f2 {
	clear:left;
}


/** switcher */
ul.spg {
	margin-left:0;
	padding-left:0;
	border-bottom: silver solid 1px;
	margin-bottom: 0/*1em*/;
}
.spg li {
	/*font-size: 85%;*/
	text-align: center;
	list-style: none;
	margin-left: 0;
	border: silver solid 1px;
	padding: 0.2em;
	/*background: #eee;*/
}
#twinbar2 {
	border-left: none;
}
.spg .actor, .spg .waiter {
	display: block;
	width: 220px;/*185px;*/
	float: left;
}
.spg .actor {
	/* background-color: $common;*/
	/* border-bottom: $common solid 1px;*/
	cursor: default;
}
li.waiter {
	/* background-color: $accent;*/
	border-bottom: silver solid 1px;
	cursor: pointer;
}
li.info {
	/* background-color: $common;*/
	/* border-top: solid 1px $common;*/
/*	border-style: solid none;
	border-top-color: #fff9f3;
	width: 65%;*/
}


/** legend */

ul.spglegend{
	position: absolute;
	top: 10px;
	right: 8px;
	margin: 0;
	padding: 0;
}
.spglegend li {
	font-size: 70%;
	width: 7em;
	text-align: center;
	list-style: none;
	border: silver solid 1px;
	margin-bottom: 0.2em;
}


/** node and edge */

#origin, .node {
	position: absolute;
	z-index: 3;
	font-family: sans-serif;
	text-align: center;
	width: 100px;
	font-size: 12px;
}
.node {
	border: 1px solid gray;
	/*height: 16px;*/
}
#origin {
	border: 1px solid maroon;
	color: maroon;
	/* background-color: $common;*/
	/*font-weight: bold;*/
	font-size: 14px;
	/*height: 18px;*/
	cursor: default;
}
.node a:link {
	color: navy;
}
.node a:visited {
	color: #836;
}
.edge div /*.pix*/ {
	width: 2px;
	height: 2px;
	background-color: gray;
	/*border: 1px solid gray;*/
	position: absolute;
	font-size: 1px;
}


/** node color */

.broader{
	background-color: #f9d3d3; /*#ffe6e6;*/
}
.narrower{
	background-color: #dff99b; /*#eaf6c9;*/
}
.related{
	background-color: #f9ec9b; /*#f9f3c6;*/
}

/** edge color
.broader div{
	background-color: #933;
}
.narrower div{
	background-color: #399;
}
.related div{
	background-color: #993;
} */




