/* Default css file for jemdoc. */
/* @import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..1000;1,200..1000&display=swap');

/* :root {
	--theme-color: #D13644;
	--theme-color-light: #f8b0b6;
	--venue-bg-color: #db5555;
	--title-color: #8d1111;
	--a-hover-color: #a73535;
} */


:root {
	/* --venue-bg-color: rgb(225, 233, 242); */
	--venue-bg-color: rgb(207, 229, 250);
	--venue-text-color: rgb(38, 86, 201);
	--theme-color: rgb(52, 98, 176);
	--theme-color-light: rgb(182, 212, 248);;
	--title-color: #000;
	--a-hover-color: rgb(16, 15, 163);
	--base-font: "Nunito", "system-ui", "Source Sans 3";
	--filter-text-color: rgb(38, 86, 201);
	--filter-bg-color: rgb(255, 255, 255);
	--filter-hover-bg-color: rgb(226, 232, 247);
	--filter-act-bg-color: rgb(38, 86, 201);
	--filter-act-text-color: rgb(255, 255, 255);
	--paper-left-border-color: #000;
	--bold-font-weight: 600;
}

table#tlayout {
    border: none;
    border-collapse: separate;
    background: white;
}
/*
body {
	background: white;
	padding-bottom: 8px;
	margin: 0;
}
*/
html {
  background-color: #c7c7c7; 
  font-family: var(--base-font);
}

body { 
  font-family: var(--base-font),sans-serif,'微软雅黑','宋体';
  font-weight: 400;
  color: #000;
  background-color: #ffffff; 
  text-align:left; /* for IE */
  margin-top: 0px; 
  margin-bottom: 0px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 50px;
  padding-right: 50px;
  padding-top: 30px;
  padding-bottom: 0px;
  max-width: 1080px; 
  font-size: 100%;
  line-height: 150%;
}

/* Popover container */
.popover {
	display: none;
	position: absolute;
	background-color: rgba(0, 0, 0, 0.85);
	color: white;
	padding: 10px;
	border-radius: 5px;
	font-size: 14px;
	max-width: 300px;
	word-wrap: break-word;
	white-space: normal;
	z-index: 1000;
	box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
	transition: opacity 0.2s ease-in-out;
}

.container {
	display: flex;
	/* justify-content: space-between; */
	flex-wrap: wrap; /* 允许换行 */
	padding: 0;
	width: 100%;
	justify-content: flex-start; /* 左对齐内容 */
	align-items: flex-start;
}
.left-section, .right-section {
	/* padding: 20px; */
	box-sizing: border-box; /* 包括padding在内计算宽度 */
}
.right-section {
	margin-top: 60px;
	padding-bottom: 10px;
	width: 25%;
	order: 2;
	display: flex;
	flex-direction: column;
	align-items: center; /* 垂直居中对齐文字和图片 */
	border: 1px solid #b9b9b9; /* 添加实线边框 */
	background-color: rgb(249, 249, 251); 
}
.left-section {
	flex: 1;
	min-width: 0;
	order: 1;
	margin-right: 30px;
}
.profile-pic {
	margin-top: 20px;
	max-width: 65%;
	height: auto;
	border-radius: 50%; /* 将图片设置为圆形 */
	margin-bottom: 10px;
}

#layout-menu {
	background: #f6f6f6;
	border: 1px solid #dddddd;
	padding-top: 0.5em;
	padding-left: 8px;
	padding-right: 8px;
	font-size: 1.0em;
	width: auto;
	white-space: nowrap;
    text-align: left;
    vertical-align: top;
}

#layout-menu td {
	background: #f4f4f4;
    vertical-align: top;
}

#layout-content {
	padding-top: 0.0em;
	padding-left: 1.0em;
	padding-right: 1.0em;
    border: none;
    background: #ffffff;
    text-align: left;
    vertical-align: top;
}

#layout-menu a {
	line-height: 1.5em;
	margin-left: 0.5em;
}

tt {
    background: #ffffdd;
}

pt {
	/* color:chocolate; */
	/* color:#c50e0e; */
	color: var(--title-color);
	/* color:tomato; */
	font-weight: var(--bold-font-weight);
}

b {
	font-weight: var(--bold-font-weight)
}

venue2 {
	/* background-color:royalblue; */
	/* background-color:rgb(80, 80, 80); */
	/* background-color: #d1a7a7; */
	/* background-color: #ca3737; */
	background-color: var(--venue-bg-color);
	/* background-color: rgb(217, 229, 244); */
	/* color: rgb(16, 68, 158); */
	color: var(--venue-text-color);
	/* font-family: var(--base-font); */
	font-size: 70%;
	font-weight: 600;
	line-height: 170%;
	/* padding-left: 1em;
	padding-right: 1em; */
	margin-left: -0.5em;
	margin-right: 0.25em;
	width: 5em;
	display:inline-block;
	text-align: center;
	/* border-color: #ffffff; */
	border-width: 0px;
	border-style: none;
	border-radius: 0.2rem;
	/* -webkit-box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
	box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12); */
	/* border-radius: 4px; */
	/* -webkit-box-shadow:inset 0px 0px 0px 0.25em #fff;
    -moz-box-shadow:inset 0px 0px 0px 0.25em #fff;
    box-shadow:inset 0px 0px 0px 0.25em #fff; */
	/* border: #ffffff; */
	height: 1.7em;
	vertical-align:text-bottom;
	margin-bottom: 0.1em;
	/* letter-spacing: 0.1cap; */
}

flag {
	/* background-color:royalblue; */
	/* background-color:rgb(80, 80, 80); */
	/* background-color: #d1a7a7; */
	/* background-color: #ca3737; */
	/* background-color: var(--venue-bg-color); */
	background-color: rgb(252, 230, 217);
	color: rgb(176, 71, 52);
	font-family: var(--base-font);
	font-size: 70%;
	font-weight: var(--bold-font-weight);
	line-height: 170%;
	padding-left: 0.5em;
	padding-right: 0.5em;
	/* margin-right: 0.25em; */
	margin-left: 0.5em;
	/* width: 5em; */
	display:inline-block;
	text-align: center;
	/* border-color: #ffffff; */
	border-width: 0px;
	border-style: none;
	border-radius: 0.2rem;
	/* -webkit-box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
	box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12); */
	/* border-radius: 4px; */
	/* -webkit-box-shadow:inset 0px 0px 0px 0.25em #fff;
    -moz-box-shadow:inset 0px 0px 0px 0.25em #fff;
    box-shadow:inset 0px 0px 0px 0.25em #fff; */
	/* border: #ffffff; */
	height: 1.7em;
	vertical-align:text-bottom;
}

.bib-div {
	background-color: rgb(246, 248, 250);
	font-size: 80%;
	line-height: 120%;
}

pre, tt {
	font-size: 90%;
	font-family: var(--base-font);
}

a, a > tt {
	/* color: #224b8d; */
	/* color: #0b41ca; */
	/* color: #af2a42; */
	color: var(--theme-color);
	text-decoration: none;
}
.small {
	font-size: 80%;
	text-decoration: underline;
	margin-right: 0.7em;
}


#layout-menu a.current:link, #layout-menu a.current:visited {
	/* color: #022b6d; */
	color: #022b6d;
	border-bottom: 1px gray solid;
}
#layout-menu a:link, #layout-menu a:visited, #layout-menu a:hover {
	/* color: var(--theme-color); */
	color: var(--theme-color);
	text-decoration: none;
}
#layout-menu a:hover {
	text-decoration: none;
}

a:hover {
	/* color:darkorange; */
	color: var(--a-hover-color);
	background-color: transparent;
	text-decoration: underline;
	/* border-bottom: 1px gray dotted; */
}

div.menu-category {
	border-bottom: 1px solid gray;
	margin-top: 0.8em;
	padding-top: 0.2em;
	padding-bottom: 0.1em;
	font-weight: var(--bold-font-weight);
}

div.menu-item {
	padding-left: 16px;
	text-indent: -16px;
}

div#toptitle {
	padding-bottom: 0.2em;
	margin-bottom: 0.5em;
	/*border-bottom: 3px double gray;*/
}

/* Reduce space if we begin the page with a title. */
div#toptitle + h2, div#toptitle + h3 {
	margin-top: 0em;
}

div#subtitle {
	margin-top: 0.0em;
	margin-bottom: 0.0em;
	padding-top: 0em;
	padding-bottom: 0.1em;
}

em {
	font-style: italic;
}

g {
	color: #aaaaaa
}

strong {
	font-weight: var(--bold-font-weight);
}


h1, h2, h3 {
	/* color: var(--theme-color); */
	font-family: var(--base-font);
	font-weight: var(--bold-font-weight);
  	/* color: #c50e0e; */
  	color: #000000;
	margin-top: 0.7em;
	margin-bottom: 0.5em;
	padding-bottom: 0.2em;
	line-height: 1.0;
	/* padding-top: 0.5em; */
	/* border-bottom: 1px solid #aaaaaa; */
	/* text-decoration: underline; */
}

h1 {
	color: #0c0c0c;
	font-size: 180%;
	padding-bottom: 0.3em;
	text-decoration: none;
}

h2 {
	padding-top: 1.8em;
	border-bottom: 1px solid #b7b7b7; 
	/* padding-top: 0.8em; */
	font-size: 125%;
}


h2 + h3 {
    padding-top: 0.2em;
}

h3 {
	font-size: 110%;
	border-bottom: none;
}

p {
	margin-top: 0.0em;
	margin-bottom: 0.8em;
	padding: 0;
	line-height: 1.3;
}

pre {
	padding: 0;
	margin: 0;
}

div#footer {
	font-size: small;
	border-top: 1px solid #c0c0c0;
	padding-top: 0.1em;
	margin-top: 4.0em;
	color: #c0c0c0;
}

div#footer a {
	color: #80a0b0;
}

div#footer-text {
	float: center;
	padding-bottom: 8px;
}

ul, ol, dl {
	margin-top: 0.2em;
	padding-top: 0;
	margin-bottom: 0.8em;
	padding-left: 2em;
}

dt {
	margin-top: 0.5em;
	margin-bottom: 0;
}

dl {
	margin-left: 20px;
}

dd {
	color: #222222;
}

dd > *:first-child {
	margin-top: 0;
}

ul {
	list-style-position: outside;
	list-style-type: square;
}

p + ul, p + ol {
	margin-top: -0.5em;
}

li {
	margin-top:0.8em;
}

.paper {
	/* border-left: 3px var(--theme-color) solid; */
	border-left: 2px var(--paper-left-border-color) solid;
	padding-left: 0.8em;
	margin-left: 0em;
	padding-top: 0.1em;
	padding-bottom: 0.1em;
}

.photo {
	width: 20%;
}

ol {
	list-style-position: outside;
	list-style-type: decimal;
}

li p, dd p {
	margin-bottom: 0.3em;
}


ol ol {
	list-style-type: lower-alpha;
}

ol ol ol {
	list-style-type: lower-roman;
}

p + div.codeblock {
	margin-top: -0.6em;
}

div.codeblock, div.infoblock {
	margin-right: 0%;
	margin-top: 1.2em;
	margin-bottom: 1.3em;
}

div.blocktitle {
	font-weight: var(--bold-font-weight);
	color: #cd7b62;
	margin-top: 1.2em;
	margin-bottom: 0.1em;
}

div.blockcontent {
	border: 1px solid silver;
	padding: 0.3em 0.5em;
}

div.infoblock > div.blockcontent {
	background: #ffffee;
}

div.blockcontent p + ul, div.blockcontent p + ol {
	margin-top: 0.4em;
}

div.infoblock p {
	margin-bottom: 0em;
}

div.infoblock li p, div.infoblock dd p {
	margin-bottom: 0.5em;
}

div.infoblock p + p {
	margin-top: 0.8em;
}

div.codeblock > div.blockcontent {
	background: #f6f6f6;
}

span.pycommand {
	color: #000070;
}

span.statement {
	color: #008800;
}
span.builtin {
	color: #000088;
}
span.special {
	color: #990000;
}
span.operator {
	color: #880000;
}
span.error {
	color: #aa0000;
}
span.comment, span.comment > *, span.string, span.string > * {
	color: #606060;
}

@media print {
	#layout-menu { display: none; }
}

#fwtitle {
	margin: 2px;
}

#fwtitle #toptitle {
	padding-left: 0.5em;
	margin-bottom: 0.5em;
}

#layout-content h1:first-child, #layout-content h2:first-child, #layout-content h3:first-child {
	margin-top: -0.7em;
}

div#toptitle h1, #layout-content div#toptitle h1 {
	margin-bottom: 0.0em;
	padding-bottom: 0.3em;
	padding-top: 0;
	margin-top: 0.5em;
	border-bottom: none;
}

img.eq {
	padding: 0;
	padding-left: 0.1em;
	padding-right: 0.1em;
	margin: 0;
}

img.eqwl {
	padding-left: 2em;
	padding-top: 0.6em;
	padding-bottom: 0.2em;
	margin: 0;
}

table + table {
    margin-top: 1em;
}

tr.heading {
    font-weight: var(--bold-font-weight);
    border-bottom: 2px solid black;
}

img {
    border: none;
}

table.imgtable, table.imgtable td {
    border: none;
    text-align: left;
}

:root {
    --color: #a0a0a0;
	--border: #d3d3d3;
}

.author {
	margin-left: 0.1em; 
	margin-bottom: 0em; 
	font-size: 90%; 
	line-height: 130%;
}

.filter {
	color: var(--filter-text-color);
	background-color: var(--filter-bg-color);
	border: var(--filter-act-bg-color);
	border-style: solid;
	border-radius: 1rem;
	border-width: 1px;
	transition: all .3s;
	touch-action: manipulation;
	font-size: 80%;
	line-height: 130%;
	padding-left: 1em;
	padding-right: 1em;
	/* width: 5em; */
}

.filter:focus {
	color: var(--filter-act-bg-color);
}
  
  .filter:hover {
	border-color: var(--filter-act-bg-color);
	color: var(--filter-text-color);
	background-color: var(--filter-hover-bg-color);
	fill: var(--theme-color);
	font-weight: 800;
  }
  
  .filter:active {
	border-color: var(--filter-act-bg-color);
	color: var(--filter-act-text-color);
	background-color: var(--filter-act-bg-color);
	fill: var(--filter-act-bg-color);
  }

  .filter.active {
	border-color: var(--filter-act-bg-color);
	color: var(--filter-act-text-color);
	background-color: var(--filter-act-bg-color);
	fill: var(--filter-act-bg-color);
  }

  /* Style the button that is used to open and close the collapsible content */
  .collapsible {
	background-color: #fff;
	font-family: var(--base-font);
	/* color: #224b8d; */
	color: #000;
	cursor: pointer;
	padding: 0px;
	/* width: 100%; */
	border: 1px solid #000;
	text-align: left;
	outline: none;
	font-size: 100%;
	text-decoration: none;
	
	border-radius: 1rem;
	transition: all .3s;
	touch-action: manipulation;
	font-size: 80%;
	line-height: 130%;
	padding-left: 1em;
	padding-right: 1em;
	height: 1.3rem;
	margin-left: 1em;
  }
  
  /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
  .active {
	border-color: #000;
	background-color: #000;
	color: #fff;
  }
  .collapsible:hover {
	background-color: var(--filter-hover-bg-color);
	font-weight: 800;
	color: #000;
  }
  
  /* Style the collapsible content. Note: hidden by default */
  .content {
	/* padding: 0 18px; */
	display: none;
	overflow: hidden;
	background-color: rgb(249, 249, 251); 
	padding-right: 1em;
	border-radius: 0.5rem;
	/* #f3f3f3; */
  }

.icon {
	height: 30px
}

.tdw {
	/* padding-left: 2em; */
}


/* CSS */

venue {
	align-items: center;
	background-color: rgb(196, 155, 51);
	color: #fff;
	border: 0px solid #616161;
	box-sizing: border-box;
	display: inline-flex;
	fill: #000;
	font-family: var(--base-font);
	font-size: 0.75rem;
	font-weight: var(--bold-font-weight);
	height: 1.2rem;
	justify-content: center;
	/* letter-spacing: -.8px; */
	line-height: 1.3;
	min-width: 6em;
	padding-left: 0.5em;
	padding-right: 0.5em;
	transition: all .3s;
	margin-right: 0.4em;
	border-radius: 0.5rem;
	margin-top: 0.3em;
  }

.bib-link {
	font-weight: 300;
}

.button-59 {
  align-items: center;
  background-color: rgb(242, 242, 242);
  color: rgb(49, 49, 49);
  border: 0px solid #616161;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-flex;
  fill: #000;
  font-family: var(--base-font);
  font-size: 0.75rem;
  font-weight: var(--bold-font-weight);
  height: 1.2rem;
  justify-content: center;
  /* letter-spacing: -.8px; */
  line-height: 1.3;
  min-width: 4.5em;
  padding-left: 0.5em;
  padding-right: 0.5em;
  transition: all .3s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  margin-right: 0.4em;
  border-radius: 0.5rem;
  margin-top: 0.3em;
}


.button-59:focus {
  color: #171e29;
}

.button-59:hover {
	/* var(--theme-color) */
  /* border-color: var(--filter-act-bg-color); */
  color: #000;
  fill: var(--theme-color);
  background-color: rgb(200, 200, 200);
  font-weight: 800;
  text-decoration: none;
}

.button-59:active {
  border-color: var(--theme-color);
  color: var(--theme-color);
  fill: var(--theme-color);
}

@media (min-width: 768px) {
  .button-59 {
	padding-left: 5px;
	padding-right: 5px;
    /* min-width: 170px; */
  }
}

.navbar-nav a:hover {
    color: var(--theme-color-light) !important;
	text-decoration: underline;
}

.navbar-nav a {
    color: #dfdfdf !important;
}

.navbar-toggler {
    color: rgba(255, 255, 255, .5);
    border-color: rgba(255, 255, 255, .1)
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E")
}

.my-navbar-style {
	-webkit-box-shadow:inset 0px 0px 0px 0.4em #fff;
	-moz-box-shadow:inset 0px 0px 0px 0.4em #fff;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	/* border-color: var(--theme-color);  */
	/* border-bottom: 1em; */
	/* border-color: #ffffff;
	border-style:solid;  */
	/* border-left: 1em;  */
	/* border-right: 0;  */
	/* border-color: #008800; */
	font-size: 90%; 
	line-height: 100%;
	background-color: #222222;
	margin-left: -2em;
	margin-right: -2em;
	top: 0.5em;
}

.ult {
	columns: 2;
}
.filter,
.button-59 {
    margin-bottom: 0.3em;
}

.filter:focus-visible,
.button-59:focus-visible,
a:focus-visible {
    outline: 2px solid var(--theme-color);
    outline-offset: 3px;
}

.bib-div pre {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
