@charset "utf-8";
@import url(//fonts.googleapis.com/earlyaccess/nanummyeongjo.css);
@import url('https://fonts.googleapis.com/css2?family=Aoboshi+One&family=Gasoek+One&family=Homemade+Apple&family=Noto+Sans+KR:wght@100&family=Rubik+Bubbles&family=Sacramento&family=Satisfy&family=Shrikhand&family=Special+Elite&family=Style+Script&family=Splash&family=Sarina&family=Honk&family=Sixtyfour&family=UnifrakturMaguntia&family=Zen+Maru+Gothic:wght@300&display=swap');

@font-face {
  font-family: 'LeferiPoint-WhiteObliqueA';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2201-2@1.0/LeferiPoint-WhiteObliqueA.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'MYHaemalgeunSangsang';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2206-02@1.0/MYHaemalgeunSangsang.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'UhBeematsuko';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_five@.2.0/UhBeematsuko.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100&display=swap');

@font-face {
  font-family: 'CWDangamAsac-Bold';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/CWDangamAsac-Bold.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'HS-Regular';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2201-2@1.0/HS-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'OKGUNG';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2206-02@1.0/OKGUNG.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'RixInooAriDuriR';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2207-01@1.0/RixInooAriDuriR.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Hyejun';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/naverfont_06@1.0/Hyejun.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'KimjungchulScript-Bold';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2302_01@1.0/KimjungchulScript-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Handletter';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/naverfont_05@1.0/Handletter.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'iceJaram-Rg';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2307-2@1.0/iceJaram-Rg.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'InkLipquid';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_one@1.0/InkLipquid.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'ChosunSm';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@1.1/ChosunSm.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'ghanachoco';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@1.0/ghanachoco.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'GowunBatang-Regular';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/GowunBatang-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Chosunilbo_myungjo';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_one@1.0/Chosunilbo_myungjo.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'KIMM_Bold';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2212@1.0/KIMM_Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'NanumSquareNeo-Variable';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_11-01@1.0/NanumSquareNeo-Variable.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'GmarketSansMedium';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'GmarketSansLight';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansLight.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'GmarketSansBold';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'ChosunSg';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@1.0/ChosunSg.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Pretendard-Regular';
  src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'TAEBAEKmilkyway';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2310@1.0/TAEBAEKmilkyway.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'JalnanGothic';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_231029@1.1/JalnanGothic.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'yg-jalnan';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_four@1.2/JalnanOTF00.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'YEONGJUPunggiGinsengTTF';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2310@1.0/YEONGJUPunggiGinsengTTF.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

/* 공지 */

.board-notice {
  width: 350px;
  text-align: center;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
  background: var(--diary-base-color);
  color: var(--diary-text-color);
}

/* 기본 */
#diary--board {
  overflow-y: clip;
  padding-bottom: 50px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
ul.gnbWrap .material-icons {
  font-size: 1em;
}
/* 트랜지션 설정 */
.diary--board * {
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition-timing-function: ease-in-out;
}

.clr-field *,
input,
#clr-picker *,
.clr-picker,
.edit_doodle * {
  transition: none !important;
  -webkit-transition: none !important;
}

.diary-btn,
.diary-btn * {
  transition: 0.1s;
  -webkit-transition: 0.1s;
}

.overlay_windows {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 99;
  pointer-events: none;
  top: 0;
  left: 0;
}

.loading_window {
  position: fixed;
  width: 100%;
  height: 100%;
  background: white;
  opacity: 1;
  top: 0;
  left: 0;
  z-index: 99;
  transition-duration: 0.2s;
  animation: autoload 0.5s;
  animation-delay: 3s;
  animation-fill-mode: forwards;
}

@keyframes autoload {
  100% {
    opacity: 0;
  }
}

.loading_window.active {
  opacity: 0;
}

/* scrollbar : ie except */
/* 스크롤 바 숨김처리 */
*::-webkit-scrollbar-track {
  display: none;
}

*::-webkit-scrollbar {
  display: none;
}

*::-moz-scrollbar-track {
  display: none;
}

*::-moz-scrollbar {
  display: none;
}

*::-ms-scrollbar-track {
  display: none;
}

*::-ms-scrollbar {
  display: none;
}

*::-o-scrollbar-track {
  display: none;
}

*::-o-scrollbar {
  display: none;
}

textarea::-webkit-scrollbar {
  display: block;
}

textarea::-moz-scrollbar {
  display: block;
}

textarea::-ms-scrollbar {
  display: block;
}

textarea::-o-scrollbar {
  display: block;
}

.edit_value::-webkit-scrollbar {
  display: block;
}

.edit_value::-moz-scrollbar {
  display: block;
}

.edit_value::-ms-scrollbar {
  display: block;
}

.edit_value::-o-scrollbar {
  display: block;
}

.deco_edit_list::-webkit-scrollbar {
  display: block;
}

.deco_edit_list::-moz-scrollbar {
  display: block;
}

.deco_edit_list::-ms-scrollbar {
  display: block;
}

.deco_edit_list::-o-scrollbar {
  display: block;
}

.edit_y::-webkit-scrollbar {
  display: block;
}

.edit_y::-moz-scrollbar {
  display: block;
}

.edit_y::-ms-scrollbar {
  display: block;
}

.edit_y::-o-scrollbar {
  display: block;
}

/* DATEPICKER */
.ui-widget-header {
  border: 0px solid !important;
  background: transparent !important;
}

.ui-state-default {
  border: 0px solid !important;
  background: transparent !important;
  text-align: center !important;
}

.ui-state-highlight {
  border: 0px solid !important;
  background: #c0c0c0 !important;
  color: #383838 !important;
}

.ui-state-active {
  background: #000000 !important;
}

/* diary */
.diary_header {
  display: inline-flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 20px 0px;
}

.diary-btns .diary-btn {
  display: flex;
  align-items: center;
  margin: 0px 2px;
}

.diary-btn {
  font-size: 12px;
  font-weight: bold;
  display: inline-flex;
  position: relative;
  text-align: center;
  height: 28px;
  line-height: 100%;
  padding: 0 15px;
  box-sizing: border-box;
  cursor: pointer;
  border-radius: 20px;
  border: 1px solid;
  align-items: center;
}

.diary-btns .material-icons {
  margin-right: 5px;
  font-size: 18px;
}

.diary-btns {
  display: flex;
  margin: 12px 0px;
  justify-content: center;
  flex-wrap: wrap;
}

.diary-title {
  height: 1em;
  font-size: 30px;
  text-align: center;
  line-height: 100%;
  font-weight: bold;
  color: var(--diary-text-color);
}

.diary-subtitle {
  position: absolute;
  color: transparent;
  pointer-events: none;
}

.diary_window {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.day-contents,
.week-contents,
.month-background {
  color: var(--diary-text-color);
  background: var(--diary-base-color);
  box-shadow: 0px 0px 30px -15px #00000014;
}
.day-contents-inner {
padding-bottom: 20px;
}
.diary-image {
  display: inline-block;
  position: relative;
}

/* deco */
.deco_window {
  width: 98%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  margin: 0% 1%;
  box-sizing: border-box;
  line-height: 1.6em;
}

.deco_window.active {
  pointer-events: visible;
  opacity: 1;
}

.deco_window .deco-display .diary--deco {
  position: absolute;
  min-height: 50px;
  min-width: 50px;
  display: flex;
  flex-direction: column;
  color: white;
  padding: 1%;
}

.diary--deco .deco-text-content {
  box-sizing: border-box;
  user-select: none;
  word-break: auto-phrase;
}
.diary--deco .deco-image-wrapper {
  box-sizing: border-box;
  position:relative;
}
.diary--deco img {
  box-sizing: border-box;
  pointer-events: none;
}

.diary--deco select {
  background: var(--diary-base-color-b);
  border: 1px solid var(--diary-point-color-t);
  color: var(--diary-text-color);
}

.active .diary--deco {
  transition-duration: 0s;
}

.active .diary--deco:hover {
  border: 1px dashed rgba(0, 0, 0, 0.575);
  background: rgb(255 255 255 / 40%);
}

.diary--deco:hover .diary--deco--mod,
.diary--deco:hover .diary--image--del,
.diary--deco:hover .diary--image--fix {
  opacity: 1;
}

.active .diary--deco.fixed {
  opacity: 0.9;
  pointer-events: none;
}

.diary--deco.fixed .diary--image--fix {
  top: 0;
  left: 0;
}

.active .diary--deco.fixed .diary--image--fix {
  opacity: 1;
  pointer-events: auto;
}

.diary--deco.fixed:hover .diary--deco--mod,
.diary--deco.fixed:hover .diary--image--del {
  opacity: 0;
  pointer-events: none;
}

.diary--deco--mod {
  position: absolute;
  display: inline-flex;
  align-items: center;
  height: 30px;
  z-index: 99;
  opacity: 0;
}

.diary--deco--mod select {
  height: 25px;
}

.diary--deco .material-icons {
  text-shadow: 0px 0px 2px black;
}

.diary--image--fix {
  position: absolute;
  bottom: -15px;
  right: 20px;
  background: #5c5c5c;
  color: white;
  border-radius: 100%;
  height: 30px;
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

.diary--image--fix:hover {
  color: #313131;
  background: white;
}

.diary--image--del {
  position: absolute;
  bottom: -15px;
  right: -15px;
  background: #313131;
  color: white;
  border-radius: 100%;
  height: 30px;
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

.diary--image--del:hover {
  color: #313131;
  background: white;
}

.ui-rotatable-handle {
  position: relative !important;
}

.diary--deco:hover .ui-resizable-handle {
  opacity: 1;
}

.diary--deco .ui-resizable-handle {
  width: 14px;
  height: 14px;
  border-radius: 100%;
  position: absolute;
  background: white;
  box-shadow: 0px 0px 2px #0000007a;
  opacity: 0;

}

.diary--deco .ui-resizable-nw {
  top: -7px;
  left: -7px;
}

.diary--deco .ui-resizable-ne {
  top: -7px;
  right: -7px;
}

.diary--deco .ui-resizable-sw {
  bottom: -7px;
  left: -7px;
}

.deco-text-wrapper {
  min-width: fit-content;
  min-height: fit-content;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 100%;
}

.deco-text-inner {
  box-sizing: border-box;
  position: relative;
  min-width: fit-content;
  min-height: fit-content;
}

.deco_edit_window {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  left: -160px;
  top: 0;
  height: 100%;
  background: var(--diary-base-color);
  color: var(--diary-text-color);
  width: 160px;
  filter: drop-shadow(0px 0px 9px rgba(0, 0, 0, 0.3));
}

.deco_edit_window::after {
  content: '>';
  position: absolute;
  background: var(--diary-point-color);
  color: var(--diary-text-color);
  right: -40px;
  width: 40px;
  height: 40px;
  top: calc(50% - 20px);
  line-height: 100%;
  font-size: 36px;
  text-align: center;
  border-radius: 0px 10px 10px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.deco_edit_window.active {
  opacity: 1;
  pointer-events: visible;
}

.deco_edit_window.open {
  left: 0;
}

.deco_edit_window.rightw {
  left: unset;
  right: -160px;
}

.deco_edit_window.rightw::after {
  right: unset;
  left: -40px;
  rotate: 180deg;
}

.deco_edit_window.rightw.open {
  left: unset;
  right: 0;
}

.deco_edit_window.topw {
  top: -160px;
  left: 0;
  width: 100%;
  height: 160px;
}

.deco_edit_window.topw::after {
  rotate: 90deg;
  left: calc(50% - 20px);
  bottom: -40px;
  top: unset;
  opacity: 1;
}

.deco_edit_window.topw.open {
  left: unset;
  top: 0;
}

.deco_edit_window.bottomw {
  top: unset;
  bottom: -160px;
  left: 0;
  width: 100%;
  height: 160px;
}

.deco_edit_window.bottomw::after {
  left: calc(50% - 20px);
  top: -40px;
  bottom: unset;
  opacity: 1;
  rotate: -90deg;
}

.deco_edit_window.bottomw.open {
  left: unset;
  bottom: 0;
}

.deco_edit_list {
  width: 100%;
  height: 100%;
  overflow: auto;
  display: inline-flex;
  flex-direction: column;
}

.deco_edit_window.topw .deco_edit_list,
.deco_edit_window.bottomw .deco_edit_list {
  overflow-x: auto;
  flex-direction: row;
  overflow-y: hidden;
}



.decos {
  position: relative;
  height: 140px;
  margin: 15px;
}

.decos_depth {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--diary-text-color);
  color: var(--diary-base-color);
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.decos_inner {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  border-radius: 10px;
  padding: 5px;
}

.decos_content {
  height: 160px;
}

.decos_control {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 10px 0px;
}

.decos_control i {
  font-size: 23px;
}

.decos_control i.active {
  font-size: 15px;
  background: var(--diary-text-color);
  color: var(--diary-base-color);
  border-radius: 100%;
  padding: 4px;
}

.decos_control i:hover {
  color: var(--diary-point-color);
}

.decos_content {
  background: #ffffff85;
  border: 1px solid #00000047;
  box-sizing: border-box;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 120px;
  height: 120px;
}

/* 작성/수정 */
.diary-write-header {
  display: flex;
  margin: 10px 0px;
}

.diary-write-data {
  display: inline-flex;
  align-items: center;
  width: 200px;
  justify-content: space-evenly;
}

.diary-write-note {
  display: block;
  width: fit-content;
  align-items: center;
  background: #878787;
  color: #f5f5f5;
  border-radius: 10px;
  padding: 0px 8px;
  margin: 0px 0px;
  height: 0;
  opacity: 0;
  pointer-events: none;
  transition: 0.5s;
  box-sizing: border-box;
  position: relative;
  font-size: 12px;
  font-weight: normal;
}

.diary-write-note .material-icons {
  font-size: 18px;
  margin-right: 5px;
}

.diary-write-note.float_note {
  position: absolute;
}

.note-prev {
  padding: 0px 5px;
  position: relative;
  background: #878787;
  color: #f5f5f5;
  border-radius: 5px;
  font-size: 10px;
  margin: 0px 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.note-prev:hover+.diary-write-note {
  opacity: 1;
  padding: 5px 8px;
  margin: 2px 0px 7px 0px;
  height: fit-content;
}

.edit_window {
  width: 400px;
  padding: 20px;
  color: black;
  position: fixed;
  background: #fffffff0;
  backdrop-filter: blur(1px);
  top: 100px;
  left: calc(50% - 200px);
  border-radius: 20px;
  border: 1px solid #00000069;
  box-shadow: 0px 0px 30px -15px #00000054;
  z-index: 999;
  transition: 0.5s;
  opacity: 0;
  pointer-events: none;
  transition-property: backdrop-filter, background, box-shadow, height;
}

.edit_handle {
  height: 40px;
  width: 442px;
  background: #333333;
  color: white;
  margin: -21px;
  position: absolute;
  border-radius: 20px 20px 0px 0px;
}

.edit_window.active {
  opacity: 1;
  pointer-events: unset;
}

.edit_window.transparent {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(3px);
}

.edit_image dd {
  margin: 10px;
}

.edit_image dt {
  line-height: 100%;
  font-size: 13px;
  font-weight: bold;
}

.edit_window strong,
.diary--board--write strong {
  font-size: 15px;
  line-height: 100%;
  z-index: 2;
  position: relative;
  color: white;
  margin-bottom: 23px;
  display: flex;
  top: -8px;
  pointer-events: none;
  user-select: none;
}

.diary--board--wrapper {
  max-width: 700px;
  margin: 30px auto;
  padding: 20px;
  background: var(--diary-base-color);
  color: var(--diary-text-color);
  border-radius: 15px;
}

.edit_window strong .fa-solid {
  margin-right: 7px;
}

.edit_window textarea {
  border: 1px solid #00000069;
  border-radius: 0px;
  color: black;
  background: transparent;
  margin: 8px 0px;
  font-family: unset;
}

.edit_window input[type="text"] {
  width: -webkit-fill-available;
}

.edit_window .text_toolbox input,
.edit_window .text_toolbox select {
  padding: 0px 9px;
  margin: 6px;
  border-radius: 20px;
  border: 1px solid #00000069;
  color: black;
  background: white;
  height: 30px;
}

.edit_window .text_toolbox .clr-field button {
  margin-right: 12px;
}

.clr-field input {
  font-size: 11px;
  padding: 0px 6px;
}

.edit_window .canvas_wrapper {
  border: 1px solid #0000001f;
  width: 402px;
  height: 402px;
  position: relative;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 25px;
}

.edit_window canvas {
  width: 400px;
  height: 400px;
}

.edit_window input {
  border-radius: 20px;
  border: 1px solid #00000069;
  color: black;
  background: white;
}

.text_toolbox {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
}

.canvas_toolbox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0px;
}

.window_size_wrapper {
  position: relative;
  padding-left: 10px;
}

.window_size_wrapper.disabled::before {
  content: '편집 중인 그림이 있습니다. 저장하거나 삭제해주세요.';
  z-index: 2;
  padding: 2px 4px;
  background: white;
  color: black;
  border: 1px solid black;
  position: absolute;
  top: 0px;
  border-radius: 5px;
  opacity: 0;
  transition: 0.5s;
}

.window_size_wrapper.disabled:hover::before {
  opacity: 1;
  top: -27px;
}

.window_opacity_wrapper {
  width: 120px;
  text-align: center;
}

.disabled input[type='range'] {
  opacity: 0.5;
}

input[type='text'].disabled {
  opacity: 0.5;
  pointer-events: none;
}

.editslider_value {
  font-size: 11px;
  font-weight: bold;
  margin-right: -4px;
  margin-left: 5px;
  width: 12px;
  display: inline-flex;
  justify-content: center;
}

.edit_images {
  width: 78px;
  display: inline-flex;
  height: 78px;
  align-items: center;
  margin: 10px;
  border: 1px solid #00000026;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.edit_images.disabled {
  opacity: 0.5;
}

.edit_images.selected {
  border: 3px solid rgba(0, 0, 0, 0.5);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  opacity: 1;
}

.edit_images:hover .diary--image--fix {
  opacity: 1;
}

.edit_images .diary--image--fix {
  top: 20%;
  left: 20%;
  translate: -50% -50%;
}

.edit_window input[type="radio"] {
  display: none;
}

.edit_window input[type="radio"]:checked+label {
  background: #00000069;
  color: white;
  box-shadow: none;
}
.doodle_type {
  display: flex;
}
.icon_btn {
  cursor: pointer;
  height: 20px;
  width: 40px;
  position: relative;
  display: inline-flex;
  border: 1px solid #80808054;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  margin: 0px 2px;
  font-size: 12px;
  box-shadow: 0px 0px 2px;
}

.icon_btn.short {
  width: 20px;
}

.icon_btn.fortxt {
  width: fit-content;
  padding: 2px 5px;
  margin-bottom: 5px;
}

.icon_btn.disabled {
  pointer-events: none;
  opacity: 0.5;
  background: gray;
}

.icon_btn.active {
  background: #00000069;
  color: white;
  box-shadow: none;
}

.icon_btn:hover {
  background: #00000069;
  color: white;
  box-shadow: none;
}

.edit_window_footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.edit_y {
  max-height: 500px;
  overflow-y: scroll;
  overflow-x: hidden;
  margin: 0px 0px 20px 0px;
}

.edit_block {
  margin: 10px 0px;
  display: flex;
  flex-direction: column;
}

.edit_value_name {
  min-width: 50px;
  display: inline-block;
  padding: 0px 5px;
  box-sizing: border-box;
}

.edit_value_name.forrow {
  min-width: unset;
  width: 100px;
  vertical-align: middle;
}

.edit_name {
  font-size: 14px;
  font-weight: bold;
  margin: 9px 0px;
  display: inline-block;
}

.checksign .icon_btn {
  border: 0px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}

.edit_radio.checksign i {
  color: transparent;
}

.edit_radio.checksign input[type="radio"]:checked+.icon_btn {
  box-shadow: 0px 0px 6px;
}

.edit_radio.checksign input[type="radio"]:checked+label i {
  color: white;
  font-weight: bold;
  font-size: 15px;
  position: relative;
  left: -1px;
}

/* 슬라이더 설정 */

.edit_window input[type='range'] {
  background: transparent;
  width: 80px;
  border: 0px;
}

.edit_window input[type='range']:focus {
  outline: none;
}

.edit_window input[type='range'],
.edit_window input[type='range']::-webkit-slider-runnable-track,
.edit_window input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
}

.edit_window input[type=range]::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  border-radius: 100%;
  margin: -6px 0px;
}

.edit_window input[type=range]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 100%;
  margin: -6px 0px;
}

.edit_window input[type=range]::-ms-thumb {
  width: 20px;
  height: 20px;
  border-radius: 100%;
  margin: -6px 0px;
}

.edit_window input[type=range]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 2px;
  margin: 0px 7px;
}

.edit_window input[type=range]:focus::-webkit-slider-runnable-track {
  outline: none;
}

.edit_window input[type=range]::-moz-range-track {
  height: 6px;
}

.edit_window input[type=range]::-ms-track {
  height: 6px;
}

.edit_window input[type=range]::-webkit-slider-thumb {
  background: white;
  border-color: black;
}

.edit_window input[type=range]::-moz-range-thumb {
  background: white;
  border-color: black;
}

.edit_window input[type=range]::-ms-thumb {
  background: white;
  border-color: black;
}

.edit_window input[type=range]::-webkit-slider-runnable-track {
  background: rgb(48, 48, 48);
}

.edit_window input[type=range]:focus::-webkit-slider-runnable-track {
  background: rgb(48, 48, 48);
}

.edit_window input[type=range]::-moz-range-track {
  background: rgb(48, 48, 48);
}

.edit_window input[type=range]::-ms-track {
  background: rgb(48, 48, 48);
}

.edit_window input[type=range]::-ms-fill-lower {
  background: rgb(48, 48, 48);
}

.edit_window input[type=range]::-ms-fill-upper {
  background: rgb(48, 48, 48);
}

/* 컬러리스 */
.edit_window .clr-field button {
  height: 20px;
  border-radius: 100%;
  width: 20px;
  margin-right: 5px;
}

/* 내비게이션 */
.dates-display {
  border-radius: 20px;
  height: fit-content;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 400px;
  color: var(--diary-text-color);
  background: var(--diary-base-color);
  position: relative;
}

.dates-year {
  font-size: 25px;
  font-weight: bold;
  line-height: 100%;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
}

.dates-year-year {
  margin: 0px 5px;
}

.dates-month {
  font-size: 18px;
  line-height: 100%;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
}

.dates-month-month {
  margin: 0px 5px;
}

.dates-day {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
}

.diary-month-date {
  width: 13%;
  border-radius: 10px;
  padding: 2px;
  box-sizing: border-box;
  text-align: center;
}

.diary-month-this {
  opacity: 1;
}

.diary-month-other {
  opacity: 0.5;
}

.diary-month-date.today {
  color: var(--diary-point-color);
  font-weight: bold;
}

.diary-month-date.selected {
  position: relative;
  border: 2px double var(--diary-point-color);
  box-sizing: border-box;
  margin-bottom: -4px;
  top: -2px;
}

.diary-month-date.written {
  background: var(--diary-point-color-t);
}

.todo_save {
  display: none;
}

/* day */
.day-display {
  padding: 0px 20px 20px 20px;
  width: 100%;
  box-sizing: border-box;
  flex-direction: column;
  justify-content: space-evenly;
  display: flex;
  align-content: center;
  flex-wrap: wrap;
}

.day-board {
  position: relative;
  min-width: 300px;
  margin: 10px 0px;
}

.day-contents-title {
  font-weight: bold;
}

.day-board .diary-subtitle {
  position: absolute;
  width: 100%;
  text-align: center;
  top: 7px;
  line-height: 100%;
}

.board-mod {
  position: absolute;
  right: 80px;
  bottom: 20px;
  z-index: 2;
}

.day-contents {
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.day-contents-date,
.day-contents-day {
  font-size: 20px;
  display: inline-flex;
}

.day-contents-contents {
  min-height: 400px;
}

/* week */
.week-display {
  width: 100%;
}

.week-board {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.week-contents {
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.week-contents-content {
  display: flex;
  justify-content: center;
}

.diary-week-dates {
  width: 14%;
}

/* 표 테두리 그리기 */
.diary-week-dates,
.diary-week-day,
.diary-week-date {
  box-sizing: border-box;
  border-width: 1px;
  border-style: solid;
  border-color: var(--diary-text-color);
  color: var(--diary-text-color);
}

.diary-week-dates:nth-child(-n+6) {
  border-right: 0px !important;
}

.diary-week-dates:nth-child(7) .diary-week-blank {
  padding-bottom: calc(300% + 3px);
}

.diary-week-date {
  border-top: 0px !important;
  border-left: 0px !important;
  border-right: 0px !important;
}

.diary-week-day {
  border-top: 0px !important;
  border-left: 0px !important;
  border-right: 0px !important;
}

/* 테두리 그리기 여기까지 */

.diary-week-day,
.diary-week-date,
.diary-week-blank {
  width: 100%;
}

.diary-week-day,
.diary-week-date {
  height: 1.6em;
  line-height: 100%;
}

.diary-week-day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
}

.diary-week-dates:nth-child(1) .diary-week-day {
  color: rgb(231, 168, 168);
}

.diary-week-dates:nth-child(7) .diary-week-day {
  color: rgb(151, 151, 209);
}

.diary-week-date {
  line-height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.diary-week-blank {
  height: 0;
  position: relative;
  overflow-x: hidden;
  padding-bottom: 300%;
}


/* month */
.month-display {
  width: 100%;
}

.month-board {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.month-contents {
  width: 100%;
}

.month-background {
  padding: 10px;
}

.month-contents-inner {
  padding: 1% 0% 1% 0%;
}

.month-contents-content {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.diary-monthly-dates {
  width: 14%;
}

.diary-monthly-blank {
  overflow-y: auto;
  overflow-x: hidden;
}

.diary-todo {
  display: block;
  padding: 5px;
  color: var(--diary-text-color);
  border-radius: 5px;
  margin: 3px;
  font-size: 11px;
  line-height: 100%;
  word-break: break-all;
}

.diary-todo.checked {
  text-decoration-line: line-through;
  opacity: 0.8;
}

.diary-todo-control {
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  height: 0px;
  transition-duration: 0.5s;
}

.todo-btn {
  background: transparent;
  height: 20px;
  padding: 0px;
  border: 0px;
  font-size: 15px;
  color: #29292b;
}

.todo-btn:hover {
  color: white;
}

.diary-todo:hover>.diary-todo-control {
  height: 20px;
}

.diary-monthly-dates:hover .diary-todo-plus,
.diary-week-dates:hover .diary-todo-plus {
  opacity: 1;
  pointer-events: auto;
}

.diary-todo-plus {
  pointer-events: none;
  opacity: 0;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 0px;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  padding: 0px;
  z-index: 99;
  position: absolute;
  margin: 5px calc(50% - 10px);
}

/* 표 테두리 그리기 */
.diary-monthly-dates,
.diary-monthly-day,
.diary-monthly-date {
  box-sizing: border-box;
  border-width: 1px;
  border-style: solid;
  border-color: var(--diary-text-color);
  color: var(--diary-text-color);
}

.diary-monthly-dates:nth-last-child(n+8):nth-last-child(-n+50) {
  border-bottom: 0px !important;
}

.diary-monthly-dates:nth-child(n+8):nth-child(-n+14) {
  border-top: 0px !important;
}

.diary-monthly-dates:nth-child(n+1):nth-child(-n+6),
.diary-monthly-dates:nth-child(n+8):nth-child(-n+13),
.diary-monthly-dates:nth-child(n+15):nth-child(-n+20),
.diary-monthly-dates:nth-child(n+22):nth-child(-n+27),
.diary-monthly-dates:nth-child(n+29):nth-child(-n+34),
.diary-monthly-dates:nth-child(n+36):nth-child(-n+41),
.diary-monthly-dates:nth-child(n+43):nth-child(-n+48) {
  border-right: 0px !important;
}

.diary-monthly-date {
  border-top: 0px !important;
  border-left: 0px !important;
  border-right: 0px !important;
}

.diary-monthly-day {
  border-top: 0px !important;
  border-left: 0px !important;
  border-right: 0px !important;
}

/* 테두리 그리기 여기까지 */

.diary-monthly-day,
.diary-monthly-date,
.diary-monthly-blank {
  width: 100%;
}

.diary-monthly-day,
.diary-monthly-date {
  height: 1.6em;
  line-height: 100%;
}

.diary-monthly-day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
}

.diary-monthly-dates:nth-child(1) .diary-monthly-day,
.diary-monthly-dates:nth-child(7n+1) .diary-monthly-date {
  color: rgb(231, 168, 168);
}

.diary-monthly-dates:nth-child(7) .diary-monthly-day,
.diary-monthly-dates:nth-child(7n) .diary-monthly-date {
  color: rgb(151, 151, 209);
}

.diary-monthly-date {
  line-height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.diary-monthly-blank {
  height: 0;
  position: relative;
  padding-bottom: 75%;
}

/* 내용물 */

.diary-image img {
  border-radius: 20px;
  margin: 20px 10px;
  width: -webkit-fill-available;
  width: -moz-fill-available;
  width: -ms-fill-available;
  width: -o-fill-available;
}

/* 데코 테마 */

.deco_style1.type_image img,
.deco_style1.type_doodle img {
  filter: drop-shadow(3px 3px 0px black);
}

.deco_style2.type_image img,
.deco_style2.type_doodle img {
  filter: drop-shadow(3px 3px 0px white);
}

.deco_style3.type_image img,
.deco_style3.tyle_doodle {
  filter: drop-shadow(0px 0px 3px rgba(0, 0, 0, 0.5));
}

.deco_style4.type_image img,
.deco_style4.type_doodle img {
  filter: drop-shadow(0px 0px 3px rgba(255, 255, 255, 0.5));
}

.deco_style5.type_image img,
.deco_style5.type_doodle img {
  filter: drop-shadow(1px 0px 0px black) drop-shadow(-1px 0px 0px black) drop-shadow(0px 1px 0px black) drop-shadow(0px -1px 0px black);
}

.deco_style6.type_image img,
.deco_style6.type_doodle img {
  filter: drop-shadow(1px 0px 0px white) drop-shadow(-1px 0px 0px white) drop-shadow(0px 1px 0px white) drop-shadow(0px -1px 0px white);
}

.deco_style7.type_image img,
.deco_style7.type_doodle img {
  filter: drop-shadow(0px 0px 2px white) drop-shadow(0px 0px 0px white) drop-shadow(0px 0px 0px white) drop-shadow(0px 0px 1px white) drop-shadow(0px 0px 0px white) drop-shadow(0px 0px 0px white) drop-shadow(0px 0px 0px white) drop-shadow(0px 0px 0px white) drop-shadow(0px 0px 3px rgba(0, 0, 0, 0.2));
}

.deco_style8.type_image img,
.deco_style8.type_doodle img {
  border: solid #ffffff;
  border-width: 15px 15px 40px 15px;
  filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.2));
  border-radius: 2px;
  box-sizing: border-box;
  background: radial-gradient(#e5e5e5 70%, #dddddd);
}

.deco_style8.type_image::before,
.deco_style8.type_doodle::before {
  content: '';
  width: 50%;
  height: 10%;
  background: rgba(255, 255, 255, 0.5);
  position: absolute;
  left: 25%;
  top: -4%;
  box-shadow: 0px 0px 3px rgb(0 0 0 / 14%);
  z-index: 2;
  rotate: 0deg;
}

.deco_style9.type_image img,
.deco_style9.type_doodle img {
  backdrop-filter: blur(3px);
  border-top: 3px solid #ffffff0d;
  border-bottom: 3px solid #0c0c0c42;
  border-radius: 20px;
  padding: 20px;
  box-sizing: border-box;
  box-shadow: 0px 0px 7px #00000047;
}

.deco_style10.type_image .deco-image-wrapper,
.deco_style10.type_doodle .deco-image-wrapper {
  border-radius: 100%;
  background: var(--diary-point-color);
}

.deco_style10.type_image img,
.deco_style10.type_doodle img {
  border-radius: 100%;
  box-shadow: 0px 0px 3px #0000002e;
}

.deco_style11.type_image img,
.deco_style11.type_doodle img {
  border-radius: 100%;
  background-image: linear-gradient(131deg, #e3e3e3, #bcffd7 30%, #ffffff 33%, #ffffff 37%, #b6ffef 38%, #deceff, #e5e5e5, #fff5d9);
  box-shadow: 0px 0px 3px #0000002e;
}

.deco_style12.type_image img,
.deco_style12.type_doodle img {
  border-radius: 20px;
  background: white;
}

.deco_style13.type_image img,
.deco_style13.type_doodle img {
  background: linear-gradient(180deg, rgb(233 222 121) 0%, rgb(245 219 80));
  box-shadow: 0px 13px 2px rgb(0 0 0 / 14%);
  padding: 20px;
}

/* 텍스트 데코 */

.deco_style1.type_text .deco-text-wrapper {
  background: white;
  padding: 20px;
  border-radius: 25px;
  filter: drop-shadow(1px 1px 0px black) drop-shadow(1px -1px 0px black) drop-shadow(-1px 1px 0px black) drop-shadow(-1px -1px 0px black);
}

.deco_style1.type_text .deco-text-wrapper::before {
  content: '';
  width: 0;
  height: 0;
  position: absolute;
  border-right: 10px solid white;
  border-top: 10px solid white;
  border-bottom: 10px solid transparent;
  border-left: 10px solid transparent;
  top: 99%;
  left: 30%;
}

.deco_style2.type_text .deco-text-wrapper {
  background: white;
  padding: 20px;
  border-radius: 25px;
  filter: drop-shadow(1px 1px 0px black) drop-shadow(1px -1px 0px black) drop-shadow(-1px 1px 0px black) drop-shadow(-1px -1px 0px black);
}

.deco_style2.type_text .deco-text-wrapper::before {
  content: '';
  width: 0;
  height: 0;
  position: absolute;
  border-right: 10px solid transparent;
  border-top: 10px solid white;
  border-bottom: 10px solid transparent;
  border-left: 10px solid white;
  top: 99%;
  right: 30%;
}

.deco_style3.type_text .deco-text-wrapper {
  background: white;
  padding: 20px;
  border-radius: 25px;
  filter: drop-shadow(1px 1px 0px black) drop-shadow(1px -1px 0px black) drop-shadow(-1px 1px 0px black) drop-shadow(-1px -1px 0px black);
}

.deco_style3.type_text .deco-text-wrapper::before {
  content: '';
  width: 20px;
  height: 20px;
  position: absolute;
  top: calc(100% + 5px);
  background: white;
  border-radius: 100%;
  left: calc(30% - 10px);
}

.deco_style3.type_text .deco-text-wrapper::after {
  content: '';
  width: 10px;
  height: 10px;
  position: absolute;
  top: calc(100% + 30px);
  background: white;
  border-radius: 100%;
  left: calc(30% + 5px);
}

.deco_style4.type_text .deco-text-wrapper {
  background: white;
  padding: 20px;
  border-radius: 25px;
  filter: drop-shadow(1px 1px 0px black) drop-shadow(1px -1px 0px black) drop-shadow(-1px 1px 0px black) drop-shadow(-1px -1px 0px black);
}

.deco_style4.type_text .deco-text-wrapper::before {
  content: '';
  width: 20px;
  height: 20px;
  position: absolute;
  top: calc(100% + 5px);
  background: white;
  border-radius: 100%;
  right: calc(30% - 10px);
}

.deco_style4.type_text .deco-text-wrapper::after {
  content: '';
  width: 10px;
  height: 10px;
  position: absolute;
  top: calc(100% + 30px);
  background: white;
  border-radius: 100%;
  right: calc(30% + 5px);
}

.deco_style5.type_text .deco-text-wrapper {
  background: white;
  padding: 20px;
  filter: drop-shadow(1px 1px 0px black) drop-shadow(1px -1px 0px black) drop-shadow(-1px 1px 0px black) drop-shadow(-1px -1px 0px black);
}

.deco_style6.type_text .deco-text-wrapper {
  background: black;
  padding: 20px;
  filter: drop-shadow(1px 1px 0px white) drop-shadow(1px -1px 0px white) drop-shadow(-1px 1px 0px white) drop-shadow(-1px -1px 0px white);
}

.deco_style7.type_text .deco-text-wrapper {
  background: radial-gradient(white 49%, #ffffff36 58%, transparent 69%, transparent);
  filter: drop-shadow(0px 0px 0px black) drop-shadow(0px 0px 0px black) drop-shadow(0px 0px 0px black);
  padding: 50%;
}

.deco_style7.type_text .deco-text-content {
  text-shadow: 0px 0px 3px;
}

.deco_style8.type_text .deco-text-wrapper {
  background: linear-gradient(180deg, rgb(233 222 121) 0%, rgb(245 219 80));
  box-shadow: 0px 13px 2px rgb(0 0 0 / 14%);
  padding: 20px;
  box-sizing: border-box;
}

.deco_style9.type_text .deco-text-wrapper {
  backdrop-filter: blur(3px);
  border-top: 3px solid #ffffff0d;
  border-bottom: 3px solid #0c0c0c42;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0px 0px 7px #00000047;
}

.deco_style10.type_text .deco-text-wrapper {
  background: rgb(238, 238, 238);
  border-radius: 5px;
  padding: 10px;
  box-shadow: 0px 0px 22px -5px #00000069;
}

.deco_style11.type_text .deco-text-wrapper {
  background: rgb(235 223 179);
  padding: 15px;
}

.deco_style11.type_text .deco-text-inner {
  min-width: 100%;
  min-height: 100%;
  background-image: linear-gradient(180deg, transparent calc(100% - 1px), rgb(205 78 78)) !important;
  background-size: 1px calc(1.5em);
  background-repeat: repeat;
  background-position-y: 0.9em;
  padding: 1em;
}

.deco_style11.type_text .deco-text-content {
  line-height: 1.5em;
}

.deco_style12.type_text .deco-text-wrapper {
  background: rgb(245 245 245);
  padding: 6%;
  box-shadow: 0px 0px 7px #00000047;
}

.deco_style12.type_text .deco-text-inner {
  width: 100%;
  height: 100%;
  border: 3px solid rgb(205 78 78);
  background-size: 1.5em 1.5em;
  background-image: linear-gradient(90deg, rgb(205 78 78) 1px, transparent 1%), linear-gradient(180deg, rgb(205 78 78) 1px, transparent 1%);
  background-position: 0px 0px;
  padding: 3%;
}

.diary--deco.deco_style13 {
  filter: drop-shadow(rgba(0, 0, 0, 0.2) 2px 5px 1px);
}

.deco_style13.type_text .deco-text-wrapper {
  padding: 0.9em;
  box-shadow: 0px 0px 7px #00000047;
  background: var(--diary-base-color);
}

.deco_style13.type_text .deco-text-inner {
  width: 100%;
  height: 100%;
  border: 1px solid var(--diary-point-color);
  background-size: 1.5em 1.5em;
  background-position: 0.75em 0.75em;
  padding: 0.3em;
  background-image: linear-gradient(90deg, var(--diary-point-color) 1px, transparent 1%), linear-gradient(180deg, var(--diary-point-color) 1px, transparent 1%);
}

.deco_style13.type_text .deco-text-inner::after {
  content: '';
  background: radial-gradient(circle at left, rgba(255, 255, 255, 0) 46%, var(--diary-base-color) 47%) repeat-y left, radial-gradient(circle at right, rgba(255, 255, 255, 0) 46%, var(--diary-base-color) 47%) repeat-y right;
  background-size: 0.6em 1.5em;
  position: absolute;
  top: -0.95em;
  right: -1.45em;
  bottom: -0.95em;
  left: -1.45em;
}

.deco_style14 .deco-text-inner,
.deco_style14 .deco-image-wrapper {
  padding: 50px 10px 10px 10px;
  border-radius: 30px;
  box-shadow: 0px 0px 30px -15px rgb(0 0 0 / 65%);
  backdrop-filter: blur(5px);
  background: linear-gradient(142deg, var(--diary-base-color), transparent);
}

.deco_style14 .deco-text-inner::before,
.deco_style14 .deco-image-wrapper::before {
  content: '';
  height: 35px;
  position: absolute;
  background: var(--diary-point-color);
  top: 0;
  left: 0;
  width: 100%;
  border-radius: 20px 20px 0px 0px;
}

.deco_style14 .deco-text-inner::after,
.deco_style14 .deco-image-wrapper::after {
  content: '';
  border-radius: 100%;
  width: 14px;
  height: 14px;
  position: absolute;
  background-color: #ed7272;
  top: 10px;
  left: 16px;
  filter: drop-shadow(24px 0px 0px #edb672) drop-shadow(24px 0px 0px #90ed72);
}

.deco_style15 .deco-text-inner,
.deco_style15 .deco-image-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 400px;
  color: var(--diary-text-color);
  background: var(--diary-base-color);
  box-shadow: inset -1px -1px var(--diary-base-color-dd), inset 1px 1px var(--diary-base-color-b), inset -2px -2px var(--diary-base-color-d), inset 2px 2px var(--diary-base-color-bb);
  border-radius: 0px;
  padding: 40px 20px 20px 20px;
  filter: drop-shadow(2px 6px 0px rgba(0, 0, 0, 0.2));
}
.deco_style15 .deco-text-inner::before,
.deco_style15 .deco-image-wrapper::before {
  content: 'DeC0.exe';
  position: absolute;
  height: 30px;
  background: linear-gradient(90deg, var(--diary-point-color), var(--diary-point-color-v));
  width: calc(100% - 6px);
  box-sizing: border-box;
  padding: 0px 28px;
  top: 0;
  left: 2px;
  border: 3px solid var(--diary-base-color);
  font-size: 11px;
  font-weight: bold;
  line-height: 10px;
  display: inline-flex;
  align-items: center;
  color: var(--diary-base-color);
  font-family: galmuri7;
}

.deco_style15 .deco-text-inner::after,
.deco_style15 .deco-image-wrapper::after {
  content: '\273F';
  position: absolute;
  top: 2px;
  left: 12px;
  font-size: 20px;
  line-height: 100%;
  font-weight: bold;
  color: var(--diary-base-color);
  font-family: galmuri7;
}

.deco_style16 .deco-text-inner,
.deco_style16 .deco-image-wrapper {
  border-radius: 20px;
  padding: 70px 20px 20px 20px;
  background: var(--diary-base-color);
}

.deco_style16 .deco-text-inner::before,
.deco_style16 .deco-image-wrapper::before {
  content: '';
  background-image: url('./img/header2.avif');
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  position: absolute;
  background-color: var(--diary-point-color);
  background-blend-mode: hard-light;
  border-radius: 20px 20px 0px 0px;
  box-shadow: inset 0px 0px 18px -15px #00000082;
  background-size: cover;
}

/* 스킨 테마 */

/* 아날로그 */

.analogue .day-contents-inner {
  border: 2px solid;
  padding: 20px;
}

.analogue #contents-content p {
  border-bottom: 1px solid;
  line-height: 100%;
  padding: 6px 0px;
}

.analogue .day-contents,
.analogue .week-contents,
.analogue .month-background,
.analogue .dates-display {
  border: 1px solid;
  box-shadow: 5px 5px 0px;
  box-sizing: border-box;
}

.analogue .day-contents-date,
.analogue .day-contents-day {
  font-weight: bold;
  letter-spacing: 2px;
  border-bottom: 3px double;
  padding: 10px 6px;
  margin: 10px 0px;
  font-style: italic;
}

.analogue .dates-display {
  border-radius: 0;
  margin-bottom: 5px;
}

.analogue .dates-year {
  border-bottom: 3px double;
}

.analogue .dates-month {
  background: var(--diary-text-color);
  color: var(--diary-base-color);
  padding: 0px 22px;
  margin: 3px 0px 10px 0px;
}

.analogue .diary-month-date.selected {
  border-radius: 100%;
  background: var(--diary-text-color);
  border: 2px solid transparent;
  color: var(--diary-base-color);
}

.analogue .diary-month-date.today {
  border: 3px solid;
  color: var(--diary-point-color);
  border-radius: 100%;
  margin-bottom: -4px;
  top: -2px;
  position: relative;
}

.analogue .diary-monthly-dates,
.analogue .diary-monthly-day,
.analogue .diary-monthly-date {
  border-width: 3px;
  border-style: double;
}

.analogue .diary-title {
  font-size: 40px;
  color: var(--diary-base-color);
  text-shadow: 5px 5px 0px var(--diary-text-color);
  letter-spacing: -1px;
  filter: drop-shadow(-1px -1px 0px var(--diary-text-color)) drop-shadow(1px 0px 0px var(--diary-text-color)) drop-shadow(0px 1px 0px var(--diary-text-color));
}

/* desktop */
.desktop .diary-title {
  color: transparent;
  pointer-events: none;
  user-select: none;
}

.desktop .diary-subtitle {
  color: var(--diary-text-color);
  top: 8px;
  font-size: 18px;
  z-index: 2;
  font-weight: bold;
  line-height: 100%;
  user-select: none;
}

.desktop .dates-display {
  padding: 50px 10px 10px 10px;
  border-radius: 30px;
}

.desktop .dates-display::before {
  content: '';
  height: 35px;
  position: absolute;
  background: var(--diary-point-color);
  top: 0;
  left: 0;
  width: 100%;
  border-radius: 20px 20px 0px 0px;
}

.desktop .dates-display::after {
  content: '';
  border-radius: 100%;
  width: 14px;
  height: 14px;
  position: absolute;
  background-color: #ed7272;
  top: 10px;
  left: 16px;
  filter: drop-shadow(24px 0px 0px #edb672) drop-shadow(24px 0px 0px #90ed72);
}

.desktop .dates-year {
  color: var(--diary-point-color);
}

.desktop .day-contents,
.desktop .week-contents,
.desktop .month-background,
.desktop .dates-display {
  box-shadow: 0px 0px 30px -15px rgb(0 0 0 / 65%);
  opacity: 1;
  backdrop-filter: blur(5px);
  background: linear-gradient(142deg, var(--diary-base-color), transparent);
}

.desktop .day-contents-title {
  position: absolute;
  top: 10px;
  right: 16px;
}

.day-contents-date,
.day-contents-day {
  font-size: 1.3em;
}

.desktop .day-contents {
  padding: 50px 20px 20px 20px;
  border-radius: 30px;
}

.desktop .day-contents::before {
  content: '';
  height: 35px;
  position: absolute;
  background: var(--diary-point-color);
  top: 0;
  left: 0;
  width: 100%;
  border-radius: 20px 20px 0px 0px;
}

.desktop .day-contents::after {
  content: '';
  border-radius: 100%;
  width: 14px;
  height: 14px;
  position: absolute;
  background-color: #ed7272;
  top: 10px;
  left: 16px;
  filter: drop-shadow(24px 0px 0px #edb672) drop-shadow(24px 0px 0px #90ed72);
}

.desktop .board-mod {
  font-size: 14px;
  right: 57px;
  height: 23px;
  justify-content: center;
  padding: 8px;
}

.desktop .board-mod i {
  font-size: 17px;
}

.desktop .week-contents {
  padding: 50px 20px 20px 20px;
  border-radius: 30px;
}

.desktop .week-contents::before {
  content: '';
  height: 35px;
  position: absolute;
  background: var(--diary-point-color);
  top: 0;
  left: 0;
  width: 100%;
  border-radius: 20px 20px 0px 0px;
}

.desktop .week-contents::after {
  content: '';
  border-radius: 100%;
  width: 14px;
  height: 14px;
  position: absolute;
  background-color: #ed7272;
  top: 10px;
  left: 16px;
  filter: drop-shadow(24px 0px 0px #edb672) drop-shadow(24px 0px 0px #90ed72);
}

.desktop .month-background {
  padding: 50px 10px 10px 10px;
  border-radius: 30px;
}

.desktop .month-background::before {
  content: '';
  height: 35px;
  position: absolute;
  background: var(--diary-point-color);
  top: 0;
  left: 0;
  width: 100%;
  border-radius: 20px 20px 0px 0px;
}

.desktop .month-background::after {
  content: '';
  border-radius: 100%;
  width: 14px;
  height: 14px;
  position: absolute;
  background-color: #ed7272;
  top: 10px;
  left: 16px;
  filter: drop-shadow(24px 0px 0px #edb672) drop-shadow(24px 0px 0px #90ed72);
}

.desktop .diary-week-dates,
.desktop .diary-week-day,
.desktop .diary-week-date {
  border-color: transparent;
}

.desktop .diary-week-dates {
  border: 1px dashed rgba(0, 0, 0, 0.1);
}

.desktop .diary-monthly-date {
  background: rgba(0, 0, 0, 0.1);
}

.desktop .diary-monthly-dates,
.desktop .diary-monthly-day,
.desktop .diary-monthly-date {
  border-color: transparent;
}

/* 디지털 레트로 */
.xp .day-contents,
.xp .week-contents,
.xp .month-background,
.xp .dates-display {
  box-shadow: inset -1px -1px var(--diary-base-color-dd), inset 1px 1px var(--diary-base-color-b), inset -2px -2px var(--diary-base-color-d), inset 2px 2px var(--diary-base-color-bb);
  border-radius: 0px;
  padding: 40px 20px 20px 20px;
  filter: drop-shadow(2px 6px 0px rgba(0, 0, 0, 0.2));
}

.xp .dates-display::before {
  content: 'C4L3ND3R.exe';
  position: absolute;
  height: 30px;
  background: linear-gradient(90deg, var(--diary-point-color), var(--diary-point-color-v));
  width: calc(100% - 6px);
  box-sizing: border-box;
  padding: 0px 28px;
  top: 0;
  left: 2px;
  border: 3px solid var(--diary-base-color);
  font-size: 11px;
  font-weight: bold;
  line-height: 10px;
  display: inline-flex;
  align-items: center;
  color: var(--diary-base-color);
}

.xp .dates-display::after {
  content: '\2147';
  position: absolute;
  top: -1px;
  left: 12px;
  font-size: 27px;
  line-height: 100%;
  font-weight: bold;
  color: var(--diary-base-color);
  font-family: gulim;
}

.xp .week-contents::before,
.xp .month-background::before,
.xp .day-contents::before {
  position: absolute;
  height: 30px;
  background: linear-gradient(90deg, var(--diary-point-color), var(--diary-point-color-v));
  width: calc(100% - 6px);
  box-sizing: border-box;
  padding: 0px 28px;
  top: 2px;
  left: 2px;
  border: 3px solid var(--diary-base-color);
  font-size: 11px;
  font-weight: bold;
  line-height: 10px;
  display: inline-flex;
  align-items: center;
  color: var(--diary-base-color);
}

.xp .week-contents::before {
  content: 'WEEKELY.exe';
}

.xp .month-background::before {
  content: 'MONTHLY.exe';
}

.xp .day-contents::before {
  content: 'DAILY.exe';
}

.xp .week-contents::after,
.xp .month-background::after,
.xp .day-contents::after {
  content: '\2603';
  position: absolute;
  top: 7px;
  left: 12px;
  font-size: 19px;
  line-height: 100%;
  font-weight: bold;
  color: var(--diary-base-color);
}

.xp .diary-month-date {
  border-radius: 0px;
}

.xp .diary-month-date.selected {
  box-shadow: inset -1px -1px var(--diary-base-color-bb), inset 1px 1px var(--diary-base-color-dd), inset -2px -2px var(--diary-base-color-b), inset 2px 2px var(--diary-base-color-d);
  border: 0px;
  margin-bottom: 0px;
  top: 0px;
}

.xp .diary-month-date.today {
  outline: 1px dotted var(--diary-base-color-dd);
  outline-offset: -4px;
  border: 0px;
  margin-bottom: 0px;
  top: 0px;
}

.xp .diary-monthly-dates,
.xp .diary-monthly-day,
.xp .diary-monthly-date {
  border-width: 1px;
  border-color: transparent;
  color: var(--diary-text-color);
}

.xp .diary-week-dates,
.xp .diary-week-day {
  border-color: transparent;
  color: var(--diary-text-color);
}

.xp .diary-week-date {
  background: var(--diary-text-color-t);
  border-color: var(--diary-base-color);
}

.xp .diary-week-blank {
  background: var(--diary-text-color-t);
}

.diary-monthly-dates {
  background: var(--diary-text-color-t);
}

.xp .diary-image img {
  margin: 10px 10px;
  border-radius: 0px;
  border: 1px solid var(--diary-text-color);
}

.xp .diary-image::before {
  content: 'X';
  background: var(--diary-point-color);
  width: 16px;
  height: 16px;
  position: absolute;
  display: inline-flex;
  top: 18px;
  left: 18px;
  align-items: center;
  justify-content: center;
}

.xp .day-contents-title {
  display: inline-block;
  padding: 5px 8px;
  background: var(--diary-text-color);
  color: var(--diary-base-color);
  margin: 7px 0px 10px 0px;
  border-width: 2px;
  border-style: outset;
  border-color: var(--diary-text-color);
}

/* 모던 */
.modern .dates-display {
  flex-direction: row;
  height: 200px;
  width: 400px;
}

.modern .dates-year,
.modern .dates-month {
  flex-direction: column;
  white-space: nowrap;
  font-size: 30px;
  margin-bottom: 0;
  margin-right: 2px;
}

.modern .dates-year p {
  margin-top: 6px;
  width: 80px;
}

.modern .dates-month p {
  color: var(--diary-point-color);
  margin-top: 6px;
  width: 40px;
}

.modern .dates-year i,
.modern .dates-month i {
  rotate: 90deg;
}

.modern .day-contents-title {
  font-size: 19px;
  letter-spacing: -3px;
  margin-bottom: 10px;
}

.modern .day-contents,
.modern .week-contents,
.modern .month-background,
.modern .dates-display {
  border-radius: 20px;
  padding: 70px 20px 20px 20px;
}

.modern .day-contents {
  padding: 70px 20px 20px 20px;
}

.modern .day-contents::before,
.modern .week-contents::before,
.modern .month-background::before,
.modern .dates-display::before {
  content: '';
  background-image: url('./img/header2.avif');
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  position: absolute;
  background-color: var(--diary-point-color);
  background-blend-mode: hard-light;
  border-radius: 20px 20px 0px 0px;
  box-shadow: inset 0px 0px 18px -15px #00000082;
  background-size: cover;
}

.modern .diary-week-dates,
.modern .diary-week-day,
.modern .diary-week-date {
  border-color: transparent;
}

.modern .diary-week-blank {
  background: var(--diary-text-color-t);
}

.modern .diary-monthly-dates {
  border-radius: 20px;
  border-color: var(--diary-base-color);
}

.modern .diary-monthly-day {
  border-color: var(--diary-base-color);
}

.modern .diary-monthly-date {
  border-color: transparent;
}

.modern .board-mod {
  top: 60px;
}

/* 장난감 상자 */

.toy_moving {
  transition: 1s;
  transition-property: top, left, scale;
  animation: bouncing 1s;
  animation-iteration-count: infinite;
}

.active .toy_moving {
  animation: none;
  transition: 0s;
}

.toy_moving.fixed {
  transition: 0.2s;
  transition-property: translate;
  animation: shiver 0.2s;
  animation-iteration-count: infinite;
}

@keyframes bouncing {
  0% {
    scale: 1 1;
  }

  50% {
    scale: 1 1.02;
  }

  100% {
    scale: 1 1;
  }
}

@keyframes shiver {
  0% {
    translate: 0px 0px;
  }

  50% {
    translate: 4px 0px;
  }

  100% {
    translate: 0px 0px;
  }
}

.ttiboo .deco-image-wrapper,
.ttiboo .deco-text-wrapper {
  transition-duration: 0.5s;
  transition-property: filter, scale, transform, rotate;
}

.ttiboo .ui-draggable-dragging .deco-image-wrapper,
.ttiboo .ui-draggable-dragging .deco-text-wrapper {
  filter: drop-shadow(rgba(10, 0, 0, 0.2) 7px 18px 5px) drop-shadow(rgba(31, 32, 0, 0.2) 3px 11px 2px);
  transform: rotate3d(1, -1, 0, 33deg);
  rotate: -10deg;
}

.ttiboo .diary--deco.ui-draggable-dragging .deco-image-wrapper,
.ttiboo .diary--deco.ui-draggable-dragging .deco-text-wrapper {
  translate: 0 -8px;
}

.enco_box {
  width: 250px;
  height: 100px;
  position: fixed;
  background: var(--diary-base-color);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 20px -12px #00000047;
  border: 1px solid var(--diary-point-color);
  color: var(--diary-text-color);
  left: 50%;
  translate: -50% 0;
  animation-name: popup;
  animation-duration: 1.7s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
  font-size: 18px;
  font-weight: bold;
}

@keyframes popup {
  0% {
    top: 100%;
  }

  40% {
    top: 50%;
  }

  50% {
    top: 55%
  }

  60% {
    top: 55%;
  }

  100% {
    top: -11%;
  }
}

/* 모바일 대응 */
@media all and (max-width: 1000px) {
  #diary--board {
    overflow-x: hidden;
  }

  .desktop .diary-monthly-dates,
  .desktop .diary-monthly-day,
  .desktop .diary-monthly-date {
    font-size: 9px;
  }

  .diary-todo {
    font-size: 10px;
    padding: 2px;
  }


  .week-contents,
  .month-background {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

  .day-board {
    width: 100% !important;
  }

  .diary-week-day {
    font-size: 13px;
  }

  .diary-week-date {
    font-size: 9px;
  }
}

@media all and (max-width: 460px) {
  .diary-btn p {
    display: none;
  }

  .diary-btns:nth-child(n-4) .material-icons {
    margin-right: 0px;
  }

  .edit_window {
    width: 300px;
    left: calc(50% - 150px);
  }

  .edit_handle {
    width: 342px;
  }

  input[name='text_size'] {
    width: 35px;
  }

  input[name='text_color'] {
    width: 96px;
    font-size: 9px;
  }

  input[name='text_back'] {
    width: 96px;
    font-size: 9px;
  }

  input[id='doodle_color'] {
    width: 30px !important;
  }

  .editslider_value {
    margin-left: 0px;
  }

  .edit_window input[type='range'] {
    margin-right: -5px;
    width: 65px;
  }
}