/* init */

b {
  font-weight: bold;
}

i {
  font-style: italic;
}

h3 {
  font-size: 16px;
  margin: 10px 0;
}

blockquote {
  margin: 20px 0;
  padding-left: 10px;
  border-left: 2px solid black;
  color: black;
}

ul,
ol {
  margin: 0px 20px;
}

table {
  border: 1px solid black;
  margin: 20px 0;
}

th,
td {
  border: 1px solid black;
  padding: 5px;
}

html {
  font-size: 14px;
  height: 100%;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 14px;
}

.title-bar-controls a{
  display: flex;
}

.title-bar-controls a > button[aria-label="Maximize"]{
    height: 100%;
}

.title-bar-controls a > button[aria-label="Maximize"]:before{
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.bg{
    width: 100vw;
    height: 100vh;
    z-index: -1;
    position: fixed;
}

/* switch */

.block {
  display: block !important;
}

.none {
  display: none !important;
}

.hidden {
  visibility: hidden !important;
}

.main [data-tistory-react-app="Namecard"] {
  display: none;
}

.mobile {
  display: none !important;
}

/* common */

.window {
  margin: 10px;
  font-size: 14px;
}


.title-bar {
  font-size: 16px !important;
}

.title-bar-text > a {
  color: #000;
  text-decoration: none;
}

button[aria-label="Open"] {
  display: none;
}

.title-bar-controls button[aria-label="Open"]:before {
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAFCAYAAABxeg0vAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAA7SURBVHgBlY+xDQAgDMNaiQ9B8AHcxAlI/NYtKwj6QOohUzxYc+1HAqQ3e03qXNpwwcyE5QsAaEGjDRf8ZAza6Bz6VQAAAABJRU5ErkJggg==) no-repeat center 10px;
}

.status-bar-field {
  font-size: 12px;
}

/* wrap */

.wrap {
  height: 100%;
  display: flex;

  box-sizing: border-box;
  padding: 10px 0 40px 0;
}

/* sidebar */

#sidebar-toggle {
  display: none;
}

.sidebar {
  width: 275px;
  height: fit-content;
}

.sidebar .window-body .widget {
    margin: 0;
    border: 1px solid rgba(0, 0, 0, 0.7);
    border-top: 0;
    box-shadow: 0 1px 0 #fff9, 1px 0 0 #fff9, -1px 0 0 #fff9;
}



.search-cont {
  display: flex;
  align-items: center;
}

.search-title {
  word-break: keep-all;
  margin: 0 5px;
}

.search {
  width: 100%;
}

.sidebar .widget.category ul.tt_category{
    padding: 6px 12px;
}

.sidebar .widget.tags,
.sidebar .widget.guest{
  display: none;
}

.recent-comments li,
.sidebar .notice li {
  font-size: 13px;
}

.recent-comments ul{
  margin:0;
  padding: 0 !important;
}


.sidebar .profile {
  margin-top: 16px;
}

.sidebar .profile .window-body{
    display: flex;
    flex-direction: column;
    padding: 12px;
}

.sidebar .profile .top{
  display: flex;
}

.sidebar .profile .nick{
    display: flex;
    align-items: center;
    padding: 16px;
}

.sidebar .profile .nick h3{
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.sidebar .profile .pfp-cont{
  width: 35%;
  position: relative;
}

.sidebar .profile .pfp {
  width: 100%;
  border-radius: 9999px
}

.sidebar .profile .desc {
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* content */

.main {
  box-sizing: border-box;

  width: 598px;
  line-height: 1.7;
  display: flex;

  height: fit-content;
}

.main-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.window-inner {
  max-height: 100%;
  box-sizing: border-box;
}

.main .window-body{
  padding: 12px;
}

.container_postbtn .postbtn_like {
  padding: 0 !important;
  border: 0px !important;
}

.container_postbtn {
  padding: 16px 0 32px 0 !important;
}
.container_postbtn button {
  border: 1px solid #003c74 !important;
  border-radius: 3px !important;
  margin-right: 8px !important;
}
.field-row {
  justify-content: flex-end;
}

.list.window-body {
  line-height: 1.4;
}

.title-bar {
  line-height: 1;
  align-items: center;
}

blockquote[data-ke-style="box"],
.main blockquote[data-ke-style="box"],
blockquote[data-ke-style="style3"],
.main blockquote[data-ke-style="style3"] {
  background: transparent !important;
  border: 1px solid #000 !important;
  color: #000 !important;
}

.main h2,
.main h3,
.main h4 {
  font-weight: bold !important;
  line-height: 2;
}

.contents_style pre {
  margin: 6px 0;
}

.contents_style ol li {
  margin: 10px 0;
}

.contents_style sup.footnote > a {
  color: blue !important;
  font-family: inherit !important;
}
.contents_style sup.footnote > a::before {
  content: "[";
}
.contents_style sup.footnote > a::after {
  content: "]";
}

.contents_style a.btn-toggle-moreless {
  color: blue !important;
  font-family: inherit !important;
  text-decoration: underline !important;
}

.contents_style div.footnotes {
  margin: 30px 0;
}

.contents_style ol.footnotes::before {
  content: "[각주]";
  font-weight: bold;
}

.container_postbtn .postbtn_like + .btn_menu_toolbar{
  margin: 0 !important;
}

.sidebar .logo-cont {
  padding: 3px 1px 1px 1px;
}

.sidebar .logo-cont .logo {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #808080;
}

/* scroll-bar */

::-webkit-scrollbar-button:vertical:start:increment,
::-webkit-scrollbar-button:vertical:end:decrement,
::-webkit-scrollbar-button:horizontal:start:increment,
::-webkit-scrollbar-button:horizontal:end:decrement {
  display: none;
}

/* tt-body-tag */

#tt-body-tag .window-body a::before {
  content: "#";
}

/* post style */

.article-info {
  margin-bottom: 8px;
}

.tag_label > span > a::before {
  content: "#";
}

.article img {
  margin: 8px 0 !important;
}

#tt-body-page blockquote {
  margin: 20px 0;
}

figure[data-ke-type="opengraph"] a,
#tt-body-page figure[data-ke-type="opengraph"] a {
  border: 1px solid black;
}

figure[data-ke-type="opengraph"] div.og-text p.og-title,
#tt-body-page figure[data-ke-type="opengraph"] div.og-text p.og-title {
  font-family: inherit;
}

figure[data-ke-type="opengraph"] div.og-text p.og-desc,
#tt-body-page figure[data-ke-type="opengraph"] div.og-text p.og-desc {
  color: black;
  font-family: inherit;
}

figure[data-ke-type="opengraph"] div.og-text p.og-host,
#tt-body-page figure[data-ke-type="opengraph"] div.og-text p.og-host {
  color: black;
  font-family: inherit;
}



/* post title list*/

.list ul {
  margin: 0;
}

/* replies */

.communicate h3 {
  margin: 0;
}

.comment-input-wrap > textarea {
  width: 100%;
}

.comment-input-wrap button.submit input{
    background: none;
}

.communicateList li {
  margin-bottom: 16px;
}
.communicateList ol {
  margin: 0;
}

.rep2 {
  display: flex;
  margin-top: 16px;
}

.rep2 > li {
  margin-bottom: 0;
}

.guest label {
  min-width: 100px;
}

/* paging */

.paging {
  display: flex;
  justify-content: space-between;
}

.footer .window-body{
  margin: 6px;
}

/* misc */

.thumbnail_post > img {
  width: 100%;
  padding-right: 3px;
}

.btn-more {
  padding: 13px;
}

/* plugin: another_category */

#wrap .another_category {
  margin-bottom: 24px;
}

#wrap .another_category,
#wrap .another_category_color_gray {
  border: none !important;
  border-top: 1px solid #8b8b8b !important;

  border-bottom: 1px solid #8b8b8b !important;
}

#wrap .another_category_color_gray h4,
#wrap .another_category_color_gray h4 a {
  color: #222 !important;
  border: none !important;
}

#wrap .another_category table {
  border: none;
  margin: 0;

  margin-top: 0 !important;
}

#wrap .another_category * {
  color: #222 !important;

  font-size: 14px !important;
  font-family: inherit;
}

.another_category th,
.another_category td {
  border: none;
}

/* responsive */

@media (max-width: 768px) {
  .wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    padding: 8px 8px 20px 8px;
  }

  .sidebar {
    width: 100%;
  }

  .window {
    width: auto;
    box-sizing: border-box;
  }

  .mobile {
    display: block !important;
  }

  .pc {
    display: none !important;
  }

  .main {
    width: auto;
    overflow: hidden;
  }

  .container_postbtn .postbtn_like {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 !important;
  }
  .container_postbtn .btn_post {
    padding: 0;
  }
  .container_postbtn .postbtn_like .wrap_btn {
    width: 100%;
  }
  
  .container_postbtn button {
    margin: 0 !important;
    width: 90%;
  }
  .guest {
    display: flex;
    justify-content: space-between;
  }

  .guest input {
    min-width: 60%;
    width: 100%;
  }
}
