html,
body,
p,
ol,
ul,
li,
dl,
dt,
dd,
blockquote,
figure,
fieldset,
legend,
textarea,
pre,
iframe,
hr,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

button,
input,
select,
textarea {
  margin: 0;
}

html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  -ms-box-sizing: inherit;
  -o-box-sizing: inherit;
  box-sizing: inherit;

  word-break: keep-all;
}

body {
  -webkit-overflow-style: none;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

body::-webkit-scrollbar {
  display: none !important;
}

body::-moz-scrollbar {
  display: none !important;
}

body:-o-scrollbar {
  display: none !important;
}

body, html {
  line-height: 1.8;
  font-family: 'Menlo-Regular-01', 'malgun', monospace;
  color: #000;
}

details summary::marker,
details summary::-webkit-details-marker {
  display: none;
  content: "";
}

details select {
  -moz-appearance: none;
  -webkit-appearance: none;
}

details summary:hover {
  font-style: normal;
}

ul, li {
  list-style-type: none;
}
a {
  color: inherit;
  text-decoration: none;
}

select {
  -moz-appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
  line-height: 1.1;
  color: #000;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  outline: 0;
  height: 1.65rem;
}


sup,
sub {
  font-size: 0.75rem;
  line-height: 1.25;
}

small {
  font-size: 0.75em;
  vertical-align: top;
  margin: 0 0 0 0.25rem;
}


td {
  vertical-align: text-top;
  text-align: left;
}


em {
  font-style: normal;
  text-emphasis: "*" #000;
  text-emphasis-position: over;
  margin: -0.25rem 0 -0.25rem 0;
}

a.anchor {
  border-bottom: 1px solid #000;
}

/* whole construction */
.whole-wrap {
  position: relative;
  height: 100vh;
  background-color: #fff;
}
/* end */




/* nav, main, aside */

.user-instrument {
  position: fixed;
  top: 0rem;
  right: 0rem;
  padding: 1rem 1rem 0 0;
  background-color: transparent;
  z-index: 111 !important;

  display: inline-flex;
  justify-content: flex-end;
  align-content: center;
  flex-direction: row;
}

.reel {
  min-width: 1.5rem;
  min-height: 1.5rem;
  border-radius: 2rem;
  border: 1px solid #8e8e8e;
  background: rgb(238,238,238);
  background: radial-gradient(circle, rgba(238,238,238,1) 0%, rgba(248,248,248,1) 50%, rgba(214,214,214,1) 100%);
}

.reel:hover {
  cursor: pointer;
}

.aside {
  position: sticky;
  position: -webkit-sticky;
  bottom: 0;
}
/* end */




/* header */
header {
  position: fixed;
  position: -webkit-fixed;
/*  width: calc(100% - 2.5rem);*/
  bottom: 2.5rem !important;
  z-index: 1111 !important;
  padding: 0.25rem 1rem 0.75rem 1rem;
  background-color: #ffffff;
/*  box-shadow: 0 -0.5rem 0.5rem #eaeaea;*/
  box-shadow: 0 0 1rem #eaeaea;
  border-radius: 2rem 2rem 0 0;
  width: 100%;
}

.header-container {
  display: inline-flex;
  flex-direction: row; 
  justify-content: flex-start;
  align-items: flex-end;

  flex-wrap: nowrap;
  overflow-x: hidden !important;
}

.before {
  display: flex;
  flex-diection: column;
  justify-content: flex-start;
  align-items: flex-start;
  
  flex-wrap: wrap;

  margin: 0 1rem 0 0;
  min-width: 8rem !important;
}

.after {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-end; 

  flex-wrap: wrap;
}

.headword {
  font-weight: 750;
  line-height: 1.1;
  margin: 0.75rem 0 0 0;
}

.category-location {
  line-height: 1.1;

  display: flex;
  display: -ms-flexbox;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;

  padding: 0 1rem 0 0;
}

.category-location select {
  padding: 0.4rem 0 0 0;
}

.keyword-location {
  line-height: 1.1;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  
  padding: 1rem 0 0 0;
}

.keyword-location select {
  padding: 0.4rem 0 0 0;
}

.type-location {
  line-height: 1.1;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  
  padding: 1rem 0 0 0;
}

.type-location select {
  padding: 0.4rem 0 0 0;
}
/* end */




/* footer */
.footer {
  display: flex;
  display: -webkit-flex;
  display: -ms-flexbox;

  justify-content: right;
  align-items: flex-end;
  -webkit-box-align: end;
  -ms-flex-end: end;

  -webkit-box-pack: right;
  -ms-flex-pack: right: ;

  flex: 0 0 100vh;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 100vh;
}

footer p {
  text-align: right;
  padding: 0 1rem 1rem 0; 
}
/* end */




/* index.html - main */
.main-index {
  padding: 1rem 1rem 8rem 0.5rem;
  margin: 0 0.5rem 0 0.5rem;
  
  /*box-sizing: border-box;
  display: flex;
  display: -webkit-flex;
  display: -ms-flexbox;
  flex-direction: column;
  flex-wrap: wrap;*/
  display: grid;
  grid-gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(24rem, 8fr))
}

@media screen and (min-width: 300px) {
  .main-index {
    grid-template-columns: repeat(auto-fill, minmax(20rem, 8fr));
  }
}

@media screen and (min-width: 600px) {
  .main-index {
    grid-template-columns: repeat(auto-fill, minmax(22rem, 8fr));
  }
}

@media screen and (min-width: 750px) {
  .main-index {
    grid-template-columns: repeat(auto-fill, minmax(24rem, 8fr));
  }
}

@media screen and (min-width: 900px) {
  .main-index {
    grid-template-columns: repeat(auto-fill, minmax(26rem, 8fr));
  }
}


.section-index {
  columns: 12rem 2;
  -webkit-columns: 12rem 2;
  -ms-columns: 12rem 2;
  -moz-columns: 12rem 2;
  -o-columns: 12rem 2;
  columns-gap: 2rem;
  -webkit-column-gap: 2rem;
  -ms-column-gap: 2rem;
  -moz-column-gap: 2rem;
  -o-column-gap: 2rem;
}

 .category-area-index {
  display: flex;
  display: -webkit-flex;
  display: -ms-flexbox;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  margin: 0 2.5rem 1.5rem 0;
}

.list-index {
  display: grid;
  grid-gap: 0rem;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
}
/* end */




/* index-project-with-number */
.main {
  padding: 1rem 1rem 8rem 0.5rem;
  margin: 0 0.5rem 0 0.5rem;
  
  box-sizing: border-box;
  display: flex;
  display: -webkit-flex;
  display: -ms-flexbox;
  flex-direction: column;
  flex-wrap: nowrap;
}

.section {
  columns: 12rem 2;
  -webkit-columns: 12rem 2;
  -ms-columns: 12rem 2;
  -moz-columns: 12rem 2;
  -o-columns: 12rem 2;
  columns-gap: 2rem;
  -webkit-column-gap: 2rem;
  -ms-column-gap: 2rem;
  -moz-column-gap: 2rem;
  -o-column-gap: 2rem;
 }

.category-area {
  margin: 0 0 3rem 0;
}

.project-with-number {
  display: flex;
  display: -webkit-flex;
  display: -ms-flexbox;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;

  padding: 1rem 1.25rem 1rem 1.25rem;
  border-radius: 1.5rem;
  background-color: #edede9;
}

.project-with-number .number {
  display: flex;
  display: -webkit-flex;
  display: -ms-flexbox;
  flex-direction: column;

  -webkit-box-orient: normal;
  -webkit-box-pack: center;
  box-flex:0;
  -webkit-box-flex:0;
  -moz-box-flex:0;
  justify-content: center;

  margin: 0.75rem 0.5rem 0.5rem 0;
  padding: 0.25rem 0 0.25rem 0;
  width: 2.5rem;
  text-align: center;
  border-radius: 1rem;
  background-color: #f9f9f7;
}

.project-with-number .name {
  display: flex;
  display: -webkit-flex;
  display: -ms-flexbox;
  flex-direction: column;

  -webkit-box-orient: normal;
  -webkit-box-pack: center;
  box-flex:0;
  -webkit-box-flex:0;
  -moz-box-flex:0;

  justify-content: center;
  align-items: flex-start;
}

.location {
  /*position: sticky;
  position: -webkit-sticky;
  top: 0.5rem;*/

  background-color: #ffffff;

  display: flex;
  display: -webkit-flex;
  display: -ms-flexbox;
  align-items: flex-start;
  justify-content: left;
  -webkit-box-pack: left;
}

.location span {
  display: inline-flex;
  flex-direction: column;
  text-overflow: ellipsis;
}

.category-tag {
  padding: 1rem 1.25rem 1rem 1.25rem;
  border-radius: 1.25rem;
  line-height: 1.1;
/*  color: #a3a3a3;
  text-shadow: 0 0 0.75rem #f7f7f6;*/
  background-color: #b4b5a5;
}

.keyword-tag-pyo {
  padding: 0.5rem 1.25rem 0.5rem 1.25rem;
  border-radius: 0.5rem;
  background-color: #d9e0e7;
}

.keyword-tag {
  padding: 0.5rem 1.25rem 0.5rem 1.25rem;
  border-radius: 0.75rem;
  background-color: #e1e1db;
}

.keyword-tag-jin-kwang {
  padding: 0.5rem 1.25rem 0.5rem 1.25rem;
  border-radius: 0.9rem;
  background-color: #ccd8c0;
}

.subordinate-tag {
  border-radius: 0.35rem;
  background-color: #f6f6f6;
}

.branch {
  margin: 0 0 1rem 0rem;
}

.twig {
  margin: 0.25rem 0 0.75rem 0;
}

.twig span.title {
  display: inline-flex;
  padding: 0.5rem 0.5rem 0.5rem 0.5rem;
  flex-direction: row;
  flex-wrap: nowrap;
  line-height: 1.8;
}

.twig ul {
  padding: 0.5rem 0.5rem 0.5rem 0.5rem;
}

.twig li:not(:last-child) {
  line-height: 1.8;
  margin: 0 0 1.8rem 0;
}

.list {
  display: grid;
/*  padding: 1rem;*/
  grid-gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
}

@media screen and (min-width: 300px) {
  .list {
    grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  }
}

@media screen and (min-width: 600px) {
  .list {
    grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
  }
}

@media screen and (min-width: 750px) {
  .list {
    grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  }
}

@media screen and (min-width: 900px) {
  .list {
    grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  }
}

.item {
  display: flex;
  display: -webkit-flex;
  display: -ms-flexbox;
  align-items: flex-start;
  justify-content: left;
  -webkit-box-pack: left;
}

.item em.middle-dot {
  font-style: normal;
  border-bottom: none;
  max-width: 1rem !important;
}

.item em.double-title-left {
  font-style: normal;
  border-bottom: none;
  display: inline-flex;
  padding: 0.5rem 0rem 0.5rem 0.5rem;
  flex-direction: row;
  text-overflow: ellipsis;
  line-height: 1.1;
}

.item em.double-title-middle {
  font-style: normal;
  border-bottom: none;
  display: inline-flex;
  padding: 0.5rem 0rem 0.5rem 0rem;
  flex-direction: row;
  text-overflow: ellipsis;
  line-height: 1.1;
}

.item em.double-title-right {
  font-style: normal;
  border-bottom: none;
  display: inline-flex;
  padding: 0.5rem 0.5rem 0.5rem 0rem; 
  flex-direction: row;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.item em.multiple-title {
  font-style: normal;
  border-bottom: none;
  display: inline-flex;
  padding: 0rem 0.5rem 0rem 0.5rem;
  text-overflow: ellipsis;
  line-height: 1;
}

small.subtitle {
  font-size: 0.75rem;
  margin: 0 0 0 0;
  line-height: 1.25;
}

small.dilatation {
  color: #a3a3a3;
}

.paratext {
  position: sticky;
  position: -webkit-sticky;
  top: 1rem;
}

.text {
}
/* end */




/* pages(section; text, paratext) - main */
section .article {
  position: relative;
  width: 100%;
  padding: 1rem 0 2rem 0;

  display: flex;
  display: -webkit-flex;
  display: -ms-flexbox;
  flex-direction: column;
  flex-wrap: wrap;
  overflow-y: hidden;
  align-items: flex-start;
  justify-content: center;

  overflow-x: hidden;
}

section .article img {
  width: 100%;
  border: 1px solid #000;
}

.article-title {
  border-top: 1px dashed #000;
  border-bottom: 1px dashed #000;
  padding: 0.5rem 0 0.5rem 0;
  margin: 0 1rem 1rem 0;
}


.article-another-title {
  opacity: 0.5;
  border-top: 1px dotted #000;
  border-bottom: 1px dotted #000;
  padding: 0.5rem 0 0.5rem 0;
  margin: 3rem 1rem 1rem 0;
  transition: all ease 2s;
}

.article-another-title:hover {
  transform: scale(0.95);
  cursor: not-allowed;
}

.preview figure {
  margin: 0 0 2rem 0;
  vertical-align: text-top;
}

.images img {
  box-sizing: border-box;
}

@media screen and (min-width: 350px) {
  div.w10, figure.w10 {
    width: 36vw;
    height: auto;
  }

  div.w20, figure.w20 {
    width: 72vw;
    height: auto;
  }

  div.w33, audio.w33, figure.w33 {
    width: 99vw;
    height: auto;
  }
}

@media screen and (min-width: 750px) {
  div.w10, figure.w10 {
    width: 9vw;
    height: auto;
  }

  div.w20, figure.w20 {
    width: 18vw;
    height: auto;
  }

  div.w33, audio.w33, figure.w33 {
    width: 33vw;
    height: auto;
  }

  div.w50, figure.w50 {
    width: 45vw;
    height: auto;
  }
}


.paratext caption span {
/*  border-bottom: 1px solid #000;*/
  font-weight: bold;
  line-height: 1.25;
}

.text span {
  font-weight: bold;
}

.paratext .entry {
  width: 2rem;
  word-break: break-word;
}

.text p, .paratext p {
  margin: 0 0 1rem 0;
}
/* end */
