@charset "UTF-8";

@import url('/resources/css/fonts.css');

:root{
	--paper:#FFFEFB;
	--ink:#5d5d5d;
	--ink-soft:#8C877F;
	--line:#E6E3DC;
	--sage:#5A5650;
	--sage-deep:#3A3733;
	--sage-pale:#5A5650;
	--sage-mid:#5A5650;
	--sand:#F6EFE6;
	--sky:#5A5650;
	--sand:#F6EFE6;
	--cream:#F7F5F1;
		
	--general-font-family: 'Pretendard';
	
	--font-color-dark: #3d3d3d;
	--font-color-default: #5d5d5d;
	--font-color-light: #7d7d7d;
	--font-color-soft-light: #9d9d9d;
	--font-color-super-light: #bebebe;
	--font-color-disabled: #dadada;
	--font-color-theme: #5c8f86;
	--font-color-new-theme: #576764;
	--font-color-dark-theme: #47706a;
	--font-color-light-theme: #b2d1c9;
	--font-color-white: #fff;
	--font-color-noti: #ef6c63;
	--font-color-warn: #ff8000;
	--font-color-red: #ff0000;
	--font-color-delete: #b63e3e;
	--font-color-blue: #0000ff;
	--font-color-link : #2080d0;
	
	--border-default: 1px solid #7d7d7d;
	--border-absolute-black: 1px solid #000000;
	--border-dark: 1px solid #5d5d5d;
	--border-double-default: 3px double #7d7d7d;
	--border-light: 1px solid #adadad;
	--border-super-light: 1px solid #d3d3d3;
	--border-dashed-theme: 1px dashed #5c8f86;
	--border-dashed-light: 1px dashed #adadad;
	--border-dashed-light-theme: 1px dashed #b2d1c9;
	--border-dashed-super-light-theme: 1px dashed #c2d5d1;
	--border-dashed-dark-theme: 2px dashed #5c8f86;
	--border-bolder-super-light: 3px solid #d3d3d3;
	--border-super-light-blue: 1px solid #e9eef3;
	--border-bold-super-light: 2px solid #eaeaea;
	--border-ultra-light: 1px solid #eaeaea;
	--border-theme: 1px solid #b2d1c9;
	--border-dark-theme: 1px solid #5c8f86;
	--border-bold-dark-theme: 2px solid #5c8f86;
	--border-light-theme: 1px solid #b2d1c9;
	--border-bold-light-theme: 2px solid #b2d1c9;
	--border-super-light-theme: 1px solid #c2d5d1;
	--border-ultra-light-theme: 1px solid #e2eeeb;
	--border-white: 1px solid #fff;
	--border-point: 1px solid #ef6c63;
	--border-disabled: 1px solid #ddd;
	--border-light-blue: 1px solid #90c0e8;
	--border-double-light-blue: 2px solid #90c0e8;
	--border-blue: 1px solid #2080d0;
	--border-double-blue: 2px solid #2080d0;
	--border-double-dark-theme: 3px double #5c8f86;
	
	--bg-color-white: #fff;
	--bg-color-absolute-black: #000000;
	--bg-color-default-font: #5d5d5d;
	--bg-color-dark-green: #4aa452;
	--bg-color-theme: #b2d1c9;
	--bg-color-dark-theme: #5c8f86;
	--bg-color-light: #eaeaea;
	--bg-color-super-light: #f7f7f7;
	--bg-color-light-blue: #d6e8f7;
	--bg-color-light-theme: #e2eeeb;
	--bg-color-super-light-theme: #f0f6f5;
	--bg-color-ultra-light-theme: #f8fafa;
	--bg-color-pastel-mint: #f0fff4;
	--bg-color-dim: rgba( 0, 0, 0, 0.25 );
	--bg-color-light-trans: rgba( 196, 196, 196, 0.125 );
	--bg-color-trans: rgba( 125, 125, 125, 0.25 );
	--bg-color-gray-trans: rgba( 64, 64, 64, 0.25 );
	--bg-color-dark-gray-trans: rgba( 32, 32, 32, 0.65 );
	--bg-color-dark-trans: rgba( 0, 0, 0, 0.5 );
	--bg-color-disabled: #f7f7fb;
	--bg-color-wran: #ffdcdc;
	--bg-color-soft-wran: #f7ebeb;
	--bg-color-noti: #ef6c63;
	--bg-color-red: #ff0000;
	--bg-color-selected: #ffffe0;
	
	--btn-bg-color-theme: #5c8f86;
	--btn-bg-color-light-theme: #b2d1c9;
	--btn-bg-color-super-light-theme: #e2eeeb;
	--btn-bg-color-blue: #2080d0;
	--btn-bg-color-gray: #eaeaea;
	
	--make-wrap-width: 460px;
	--preview-wrap-width: 400px;
	--template-content-height: 60rem;
	
	--menu-wrap-width: 75%;
	--menu-header-gap: 5rem;
	--menu-footer-gap: 5rem;
	
	--makup-footer-gap: 5rem;
	
	--preview-footer-gap: 5rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { margin: 0 auto; max-width: 900px; font-family:'Pretendard', -apple-system, sans-serif; font-size: 10px; color: var(--ink); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.modal { overflow: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.logo { font-family: 'PlayfairDisplay', serif; font-size: 21px; font-weight: 600; font-style: italic; color: var(--paper); transition: color .3s ease; cursor: pointer; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

body header div.wrap { max-width: 1100px; margin: auto; padding: 0 28px; }
body .top { border-bottom: 1px solid var(--line); }
body .top .wrap { height: 72px; display: flex; align-items: center; justify-content: space-between; }
body .top small { font-family: HallymGothic; font-size: 1.2rem; font-weight: 700; color: var(--sub); }

body main { padding: 1.2rem 0; }

body main section { padding: 1rem; }
body main section h3 { display: flex; align-items: center; justify-content: flex-start; font-size: 0.9rem; font-weight: 700; }
body main section h5 { text-align: left; font-size: 0.7rem; color: var( --font-color-soft-light ); }

body main section div.choose { padding: 1rem 0 0 0; text-align: center; }
body main section div.choose button { padding: 0.6rem 1.2rem; font-weight: 700; border: none; border-radius: 0.2rem; background: var( --bg-color-default-font ); color: var( --font-color-white ); }

body main section div.preview { padding: 1rem 0 0 0; text-align: center; }
body main section div.preview button { padding: 0.6rem 1.2rem; font-weight: 700; border: none; border-radius: 0.2rem; background: var( --bg-color-dark-theme ); color: var( --font-color-white ); }

body main section div.editor { padding: 0.6rem 0 0 0.6rem; width: 100%; background: none; }
.tox .tox-edit-area::before { border: none !important; border-radius: 0 0 10px 10px !important; }

body main section div.templates { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 0.6rem 0.8rem; padding: 0.6rem 0 0 0.6rem; width: 100%; background: none; }
body main section div.templates div.template { padding: 0.2rem; height: 8.6rem; border: var( --border-bold-super-light ); }
body main section div.templates div.template.on { border: var( --border-bold-dark-theme ); }
body main section div.templates div.template img { height: 100%; opacity: 0.75; }
body main section div.templates div.template.on img { opacity: 1; }

body main section p.description { padding: 0.6rem 0 0 0.6rem; font-size: 0.75rem; text-align: left; color: var( --font-color-dark-theme ); }

body main section.dearto { margin: 1rem auto 0 auto; padding: 2rem 1rem 1rem; width: 90%; border-top: 1px solid var(--line); }
body main section.dearto h3 { display: block; text-align: center; }
body main section.dearto h5 { text-align: center; font-weight: normal; }
body main section.dearto div.dearto { padding: 0.6rem 0 0 0; text-align: center; }
body main section.dearto button.dearto { padding: 0.6rem 0.4rem 0.2rem; border: none; border-radius: 0; border-bottom: var( --border-dark-theme ); background: none; color: var( --font-color-dark-theme ); }


/* ===== Footer ===== */
footer { padding: 64px 24px 40px; border-top: 1px solid var(--line); background-color: var( --bg-color-white ); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 18px; margin-bottom: 36px; }
.footer-links { display: flex; width: 100%; gap: 20px; font-size: 13px; color: var(--ink-soft); }
.footer-links a:hover { color: var(--ink); }
.footer-links.other { font-size: 11.5px; color: var(--ink-soft); }
.footer-meta { font-size: 12.5px; color: var(--ink-soft); line-height: 1.9; }
.footer-copy { font-size: 12px; color: var(--ink-soft); margin-top: 16px; }

/* popup-content */
div.popups { position: fixed; display: none; left: 0; top: 0; width: 100%; height: 100%; font-family: var( --general-font-family ); background: rgba(72,72,72,0.35); font-size: 1.3rem; z-index: 999; }
div.popups > div.content { position: absolute; left: 50%; top: 50%; padding: 0.6rem; width: 40rem; max-width: 96%; height: auto; max-height: 90%; transform: translate( -50%, -50% ); background-color: var( --bg-color-white ); border-radius: 0.4rem; overflow: hidden; }

div.popups > div.content h3 { position: relative; padding: 0.6rem 0 0 0; font-size: 1.1rem; font-weight: 700; text-align: center; }
div.popups > div.content h3 button.close { position: absolute; right: 0.6rem; top: 50%; padding: 0; width: 1.1rem; height: 1.1rem; border: none; border-radius: 0; transform: translateY(-50%);
	background-image: url('https://static.dearto.kr/images/thin-close.png'); background-size: contain; background-repeat: no-repeat; }
div.popups > div.content p.docs-ttl { padding: 1rem 0 0.6rem 0; font-size: 0.9rem; font-weight: 700; text-align: center; }
div.popups > div.content div.sample-docs { width: 100%;; overflow: hidden; }
div.popups > div.content div.sample-docs div.sample-doc { position: relative; width: 794px; height: 1123px; }

div.popups > div.content div.swiper-slide { position: relative; overflow: hidden; }
div.popups > div.content div.preview-page { position: relative; width:794px; height:1123px; background:#fff; transform-origin: top left; }
div.popups > div.content div.preview-body { position:absolute; padding: 60px; width:614px; height:760px; border: var( --border-light ); }
div.popups > div.content div.preview-content { display:flow-root; }

div.popups > div.content div.swiper-pagination .swiper-pagination-bullet-active { background: var( --bg-color-dark-theme ); }

div.popups > div.content div.function { padding: 0.4rem; }
div.popups > div.content div.function p.noti { font-size: 0.7rem; text-align: center; color: var( --font-color-dark-theme ); }
div.popups > div.content div.function p.guide { padding-top: 0.6rem; font-size: 0.7rem; text-align: center; color: var( --font-color-link ); }
div.popups > div.content div.function p.choose { padding-top: 1rem; text-align: center; }
div.popups > div.content div.function p.choose button { padding: 0.4rem 2.4rem; font-size: 0.9rem; font-weight: 700; border: none; border-radius: 0.2rem; background: var( --bg-color-default-font ); color: var( --font-color-white ); }

div.popups > div.docs-zoom { position: absolute; left: 50%; top: 50%; padding: 0.6rem; width: 96%; max-width: 40rem; height: 90%; max-height: 50rem; transform: translate( -50%, -50% ); background-color: var( --bg-color-white ); border-radius: 0.4rem; overflow: hidden; }
div.popups > div.docs-zoom div.docs-zoom-content { overflow: auto; }
div.popups > div.docs-zoom div.docs-zoom-content div.preview-content { position: relative; transform-origin: top center; }

div#preview-content.popups > div.content { padding: 0.6rem; }
div#preview-content.popups > div.content h3 { padding: 0.6rem 0 1rem 0; }
div#preview-content.popups > div.content h3 button.colose { transform: translateY( calc( -0.3rem + -50% ) ); }
div#preview-content.popups > div.content div.preview-body { padding: 120px 150px; background-size: contain; background-repeat: no-repeat; }
div#preview-content.popups > div.content div.function p.noti { display: none; }

/* dialog-content */
div.dialog { position: fixed; left: 0; top: 0; width: 100%; height: 100%; background: rgba(72,72,72,0.5); z-index: 999; }
div.dialog.target { position: absolute; background: rgba(72,72,72,0.35); border-radius: inherit; z-index: 996; }
div.dialog > div.content { position: absolute; left: 50%; top: 50%; padding: 1.2rem; width: 30rem; max-width: 90%; height: auto; max-height: 80vh; transform: translate( -50%, -50% ); background-color: var( --bg-color-white ); }
div.dialog > div.content > div.head { position: relative; padding: 0.5rem 0; font-size: 1.6rem; text-align: center; }
div.dialog > div.content > div.head > button.pop_close { position: absolute; top: 0.6rem; right: 0; margin: 0; padding: 0; width: 1.2rem; height: 1.2rem; border: none; border-radius: 0; opacity: 0.7;
	background-image: url( 'https://static.dearto.kr/images/thin-close.png' ); background-repeat: no-repeat; background-size: contain; }
div.dialog > div.content > div.body { padding: 1.4rem 0.8rem 2.2rem 0.8rem; max-height: 70vh; overflow-x: hidden; overflow-y: auto;  font-size: 1rem; }
div.dialog > div.content > div.footer { display: flex; justify-content: space-evenly; }
div.dialog > div.content > div.footer button { padding: 0.6rem 1.8rem; width: 45%; font-size: 1rem; border: none; border-radius: 0; color: var( --font-color-default ); }
div.dialog > div.content > div.footer button:not(:first-child) { margin-left: 1rem; }
div.dialog > div.content > div.footer button.confirm { background-color: var( --bg-color-absolute-black ); color: var( --font-color-white ); }
div.dialog > div.content > div.footer button.cancel { background-color: var( --btn-bg-color-gray ); }


/* progress */
div#progress-dialog.dialog { z-index: 1000; }
div.dialog > div.progress { position: absolute; display: flex; flex-direction: column; align-items: center; left: 50%; top: 50%; padding: 2rem; width: max-content; height: auto; transform: translate( -50%, -50% ); background: none; color: var( --font-color-white ); }
div.dialog > div.progress > div { background: none; }
div.dialog > div.progress > div.loading { width: 2rem; height: 2rem; background-image: url( 'https://static.dearto.kr/images/spinner.svg' ); background-repeat: no-repeat; background-size: contain; }
div.dialog > div.progress > div.message { margin-top: 1rem; font-size: 0.75rem; letter-spacing: 1px; line-height: 1.4rem; text-align: center; color: var( --font-color-white ); }


._hide { display: none !important; }