@charset "UTF-8";

/* fonts css */
@import url("fonts.css");
@import url("base.css");
/* rest css */
@import url("reset.css");
/* library lib css */
/* base layour css */
@import url("icon.css");
@import url("modal.css");
@import url("../../styles/common.css");
@import url("common.css");
@import url("../../styles/ckeditor5.css");

:root {
  --ck-sample-base-spacing: 2em;
  --ck-sample-color-white: #fff;
  --ck-sample-color-green: #279863;
  --ck-sample-container-width: 1285px;
  --ck-sample-sidebar-width: 290px;
  --ck-sample-editor-min-height: 200px;
  scroll-padding-top: 160px;
}

[aria-expanded=false]:not(.ck-dropdown),
[aria-expanded=false]:not(.active, .ck-dropdown)
{ visibility: visible; opacity: 1; }

/* CKEditor */
.ck.ck-reset.ck-editor, .ck.ck-editor__main, .ck.ck-editor__main>.ck-editor__editable {
  height: 100%;
  max-height: 700px;
  min-height: 500px;
}

.ck.ck-editor__main>.ck-editor__editable * {
  line-height: 150%;
  font-size: 18px;
}

.ck.ck-editor__main>.ck-editor__editable p {
  margin: 16px 0;
}

.ck.ck-editor__main>.ck-editor__editable table * { font-size: 16px; margin-bottom: 0; }

.ck.ck-editor__main>.ck-editor__editable table { table-layout: fixed; }
/* .ck.ck-editor__main>.ck-editor__editable table td { width: 100% } */

.wiki-ck-content {
  width: 780px;
}

.wiki-ck-content * {
  word-break: break-all;
  font-family: "Pretendard";
  font-size: 18px;
}

/* .wiki-ck-content p { margin } → 공통 common.css로 이동 */

.ck-editor ul, .ck-content ol, .ck-editor li, .wiki-ck-content ul, .wiki-ck-content li {
  margin: 10px; padding-left: 20px;
  list-style: inherit;
}
.ckeditor-footnote {
  padding: 10px;
  margin: 1em 0;

  background: rgba( 0, 0, 0, 0.1 );
  border: solid 1px hsl(0, 0%, 77%);
  border-radius: 2px;
  -webkit-user-drag: none;
  user-drag: none;
}

.ckeditor-footnote-title {
  padding: 10px;
  margin: 0;
  background: rgba( 0, 0, 0, 0 );
  margin-bottom: 10px;
}

.ckeditor-footnote-item {
  padding: 4px 2px;
  outline-offset: -2px;
  line-height: 1em;
  margin: 0 1px;
  -webkit-user-drag: none;
  user-drag: none;
}

.ckeditor-footnote-item::selection {
  display: none;
}

.ckeditor-footnote-list {
  width: 100%;
  background: rgba( 0, 0, 0, 0 );
}

.ckeditor-footnote-title::selection {
  display: none;
}

.ckeditor-noteholder {
  padding: 2px 2px;
  outline-offset: -2px;
  line-height: 1em;
  margin: 0 1px;
}

.ckeditor-noteholder::selection {
  display: none;
}

.ck.ck-footnote-popup {
	padding: var(--ck-spacing-large);
}
.ck.ck-footnote-popup .ck-input {
  font-size: 1.20em;
  overflow-wrap: break-word;
  resize: vertical;
}

.ck.ck-footnote-popup .ck-textarea {
  height: auto;
  width: 600px;
  display: block;
}

.ck.ck-footnote-popup .ck-label {
  font-size: 1.20em;
}

.ck.ck-footnote-popup .ck-button-link {
  float: left;
  left: 5px;
  margin-bottom: 5px;
}

.ck.ck-footnote-popup .ck-button-save {
  left: 480px;
}

.ck.ck-footnote-popup .ck-button-cancel {
  left: 500px;
}

.table.ck-widget{
  width: 100%;
  margin: 0;
}

.wiki-ck-content a {
  color: var(--primary);
  text-decoration: underline !important;
}

.wiki-ck-content a:hover {
  text-decoration: underline !important;
  text-underline-position: under;
}

.wiki-ck-content .image {
  clear: both;
  display: table;
  margin: .9em auto;
  min-width: 50px;
  text-align: center;
}

.wiki-ck-content .table {
  display: table;
  margin: .9em auto;
}

.wiki-ck-content .table { width: 100%; max-width: 100%; }

.wiki-ck-content .table * { font-size: 16px; margin-bottom: 0; }

.wiki-ck-content table {
  overflow: hidden;
  border: 1px double #b3b3b3;
  border-collapse: collapse;
  border-spacing: 0;
  height: 100%;
  width: 100%;
  table-layout: fixed;
}
.wiki-ck-content table td, .wiki-ck-content table th {
  overflow-wrap: break-word;
  position: relative;
  border: 1px solid #bfbfbf;
  min-width: 2em;
  padding: .4em;
}
.wiki-ck-content .image>figcaption {
  background-color: #f7f7f7;
  caption-side: bottom;
  color: #333;
  display: table-caption;
  font-size: .75em;
  outline-offset: -1px;
  padding: .6em;
  word-break: break-word;
}

#revision-viewer-container {
  display: none;
  width: 100%;
}

#revision-viewer-editor {
  width: 100%;
}

#revision-viewer-sidebar {
  min-width: var(--ck-sample-sidebar-width);
}

.swiper-container-free-mode>.swiper-wrapper {
  transition-timing-function: ease-out;
  margin: 0 auto;
}

.swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  box-sizing: content-box
}

.swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  transition-property: transform
}

.swiper-container-android .swiper-slide,.swiper-wrapper {
  transform: translate3d(0px,0,0)
}

.swiper-button-next,.swiper-button-prev {
  position: absolute;
  top: 50%;
  /* width: calc(var(--swiper-navigation-size)/ 44 * 27);
  height: var(--swiper-navigation-size);
  margin-top: calc(-1 * var(--swiper-navigation-size)/ 2); */
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--swiper-navigation-color,var(--swiper-theme-color))
}

.image-bg {
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 1);
}

.wiki_previous .image img {
  width: 100%;
  height: auto;
}