@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

/*
	공통
	헤더
	로그인
	회원가입
	홈
	프로젝트
	마이페이지
	어드민
*/

* {-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;}
::-moz-selection {background: #000000; /*메인색*/ color: #e6e6e6;text-shadow: none;}
::selection {background: #000000; color: #e6e6e6; text-shadow: none;}
html, body, div, span, object, iframe, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, strong, sub, sup, legend, caption, table, tbody, thead, tfoot, tr, th, td, summary, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, b, i, a, small, menu, nav, section, time, mark, audio, video, dl, dt, dd, ul, li, ol, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, select, textarea, p, blockquote, button {margin:0;padding:0; border: 0;outline: 0;font-weight: inherit;font-style: inherit;font-size: 100%;font-family: inherit;color:inherit;vertical-align: middle}
dl,ul,ol,menu,li {list-style:none}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}
input,select,textarea,button {background:none}
input::-moz-placeholder, textarea::-moz-placeholder {color: #bbb !important;}
img {border:0; max-width:100%}
table {border-collapse:collapse; table-layout: fixed;}
a {text-decoration:none;}
a:hover {transition:.3s all ease}

span {vertical-align:top}
blockquote {font-size:1.1em;font-style:italic;border-left:5px #000 solid; padding-left:20px;margin:40px 20px;}
div,p {word-break:break-word;}
b, strong {font-weight:700;}
body {width:1390px;margin: 0 auto;color:#333; font-size:16px; font-family:"Pretendard","Malgun Gothic","Apple SD Gothic NEO",dotum,sans-serif; background:#f3f3f3;-webkit-font-smoothing: antialiased;-webkit-overflow-scrolling: touch;}


/********* 공통 *********/
input[type=text], input[type=password], input[type=tel], input[type=date] {
	border-radius: .5rem;
	padding: 1rem;
	background-color: #fff;
}
.input-box {
	display: flex;
	text-align: left;
	flex-direction:column;
	margin-bottom: 1rem;
}
.input-box label {
	font-weight: 600;
	margin-bottom: .5rem;
}
.input_half {padding: 0.5rem 1rem !important;}

select {
	border: 1px solid #666;
	border-radius: 0.5rem;
	padding: 0.5rem 1rem;
}

.btn {
	width: 100%;
	display: inline-block;
	color: #fff;
	text-align: center;
	border-radius: 0.5rem;
	padding: 1rem;
	background-color: #757575;
	cursor: pointer;
} 
.btn a {display: block;}
.btn_small {
	width: 100px;
	color: #666;
	border: 1px solid #B3B3B3;
	background-color: #EDEDED;
}
.btn_short {
	width: auto;
	color: #333;
	padding: 0.5rem 1rem;
	background-color: #fff;
}
.btn.gray {
	background-color: #E6E6E6;
}
.btn.white {
	color: #333;
	background-color: #fff;
}
.btn.light-purple {
	color: #fff;
}

.balloon {
 	border-radius: 0.5rem;
	padding: 2rem;
	background: #fff;
}
.bottom-balloon {
 	border-radius: 0 0 0.5rem 0.5rem;
	padding: 2rem;
	background: #fff;
}
.vibration {
	position: relative;
	top: 0;
    left: 0;
	transition:.2s all ease;
}
.vibration:hover {
	top: 2px;
	left: 2px;
}
.shadow {
	box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.25);
}

.row {display: flex;}

.ta-c {text-align: center;}
.ta-l {text-align: left;}
.ta-r {text-align: right;}
.all-center {
	display: flex;
	align-items: center;
	justify-content: center;
}

.d-f {display: flex;}
.fd-c {flex-direction: column;}
.jc-sb {justify-content: space-between;}
.ai-c {align-items: center;}
.ac-c {align-content: center;}
.flex1 {flex:1}

.fw600 {font-weight: 600;}

.fz075 {font-size: 0.75rem;}
.fz09 {font-size: 0.9rem;}

.w100 {width: 100%;}
.w80 {width: 80%;}
.w50 {width: 50%;}
.w25 {width: 25%;}
.w20 {width: 20%;}

.w100p {width: 100px;}
.w150p {width: 150px;}
.w200p {width: 200px;}
.w250p {width: 250px;}

.nbd {border:0 !important}

.pd05 {padding: 0.5rem;}
.pd1 {padding: 1rem;}
.ml1 {margin-left: 1rem;}
.mr0 {margin-right: 0 !important;}
.mr05 {margin-right: 0.5rem;}
.mr1 {margin-right: 1rem;}
.mt1 {margin-top: 1rem !important;}
.mb0 {margin-bottom: 0 !important;}
.mb1 {margin-bottom: 1rem !important;}
.mb2 {margin-bottom: 2rem !important;}
.mb3 {margin-bottom: 3rem !important;}
.mb5 {margin-bottom: 5rem !important;}

.white {background-color: #fff;}
.light-purple {background-color:rgba(0, 19, 145, 0.50)}
.dark-gray {background-color: #D0D8DF;}

.pager span {cursor: pointer;}


/********* 헤더 *********/
.header-login {margin: 1rem;}
#header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border: 1px solid #D0D8DF;
	background-color: #fff;
}
#header .logo-wrap {
	width: 220px;
	border-right: 1px solid #D0D8DF;
	padding: 1rem 1.5rem;
}
#header .btns {
	display: flex;
	margin-right: 2rem;
}
#header .btns > li {
	position: relative;
	margin-right: 1rem;
}
#header .btns .sub {
	display: none;
	position: absolute;
	left: 50%;
	width: 150px;
	transform: translateX(-50%);
	text-align: center;
	padding: 0.5rem 1rem;
	border-radius: 0.5rem;
	background-color: #fff;
	z-index: 10;
}
#header .btns .sub li {
	border-bottom: 1px solid #ccc;
	padding: 0.5rem 0;
}
#header .btns .sub li:last-child {border-bottom: 0;}
#header .btns .sub li a {
}
#header .btns > li:hover .sub {display: block;}

#header .edit-mode {
	width: 100%;
	display: flex;
	color: #fff;
	align-items:center;
	justify-content: space-between;
	background-color: #7a83c2;
}
#header .edit-mode img {width: 20px;cursor: pointer;}
#header .edit-mode .chapter {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 500px;
}
#header .edit-mode .time span {
	font-weight: 600;
}
#header .edit-mode .progress-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  border-radius: 10px;
  margin: 0.5rem 0.5rem 0.5rem 0;
}
#header .edit-mode .step {
  position: relative;
  flex: 1;
  width: 70px;
  font-size: 0.75rem;
  text-align: center;
  color: white;
}
#header .edit-mode .step::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #7a83c2;
  border: 2px solid white;
  display: block;
  margin: 0 auto 5px;
}
#header .edit-mode .step::after {
  content: "";
  position: absolute;
  top: 7px;
  left: calc(50% + 8px);
  width: 100%;
  height: 2px;
  background-color: #fff;
  z-index: 0;
}
#header .edit-mode .step:last-child::after {
  display: none;
}
#header .edit-mode .completed::before {
  background-color: #fff;
}

.content-wrap {display: flex;}

#nav {
	width: 221px;
	height: calc(100vh - 60px);
	border-left: 1px solid #D0D8DF;
	border-right: 1px solid #D0D8DF;
	background-color: #fff;
}
#nav ul {padding: 1rem;}
#nav ul li {
	font-weight:600;
	border-radius: 0.5rem;
	padding: 1rem;
}
#nav ul li.active, 
#nav ul li:hover {
	color: #001391;
	background-color: #F2F3FB;
}
#nav ul li a {display: block;}

.no-nav #nav {
	width: 0;
	display: none;
}
.no-nav #nav.show {
	display: block;
	width: 221px;
}

#content {
	position: relative;
	width: calc(100% - 220px);
	padding: 3rem;
}
#content.wide {
	width: 100%;
	padding: 1rem;
}
#content h1{
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 4rem;
}

#bottom-contact {
	position: absolute;
	bottom: 0;
	right: 3rem;
	display: flex;
	align-items:center;
	justify-content:space-between;
	width: calc(100% - 6rem);
	box-shadow: 0 0 3px #ccc;
	border-radius: 0.5rem 0.5rem 0 0;
	padding: 2rem 12rem;
	background-color: #fff;
}

/********* 로그인 *********/
#login .login-wrap {
	width: 400px;
	text-align: center;
	margin: 6rem auto;
}
#login p {
	font-weight: 600;
	font-size: 1.2rem;
	margin-bottom: 1rem;
}
#login h1 {
	font-size: 2rem;
	font-weight: 700;
}
#login .sub-btns {
	text-align: left;
	margin-bottom: 1rem;
}
#login .sub-btns a {
	color: #757575;
	text-decoration:underline;
	margin-right: 1rem;
}
#login .another {
	display: flex;
	align-items: center;
	color: #797F82;
	text-align: center;
	margin: 3rem 0;
}
#login .another .line {
	flex: 7;
	height: 1px;
	background-color: #B3B3B3;
}
#login .another .ment {
	flex: 1;
	margin: 0 3rem;
}

/********* 회원가입 *********/
#join .join-wrap {
	position: relative;
	margin: 6rem auto;
}
#join h1 {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 3rem;
}
#join .logo {
	position: absolute;
	right: 0;
	top: 0;
}
#join p {
	font-weight: 600;
	font-size: 1.2rem;
	margin-bottom: 1rem;
}
#join h2 {
	font-size: 2rem;
	font-weight: 700;
}
#join .tbl_join {width: 100%;}
#join .tbl_join th {
	width: 15%;
	vertical-align: top;
	font-size: 1.2rem;
	text-align: left;
	padding: 1rem;
	font-weight: 700;
	color: #8F8F8F;
}
#join .tbl_join td {
	width: calc(85%/3);
	padding: 1rem;
}
#join .check-box label {margin-right: 1rem;}
#join .check-box a {color: #858585;}

/******** 홈 ********/
#home .no-project {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
#home .process {
	display: flex;
	justify-content: space-between;
}
#home .process li {
	flex:1;
	margin-right: 1rem;
}
#home .process li:last-child {margin-right: 0;}
#home .process div {
	text-align: center;
	border-radius: .5rem .5rem 0 0;
	padding: 1rem;
	background-color: #E6E6E6;
}
#home .process span {
	display: block;
	text-align: center;
	border-radius: 0 0 .5rem .5rem;
	background-color: #fff;
}
#home .info {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-radius: .5rem .5rem 0 0;
	background: rgba(0, 19, 145, 0.50);
}
#home .info .title p {
	font-weight: 600;
	font-size: 1.25rem;
	margin-bottom: 0.5rem;
}
#home .info .title h3 {
	color: #fff;
	font-size: 2rem;
	font-weight: 600;
}
#home .info .edit {text-align: right;}
#home .info .edit .top {
	color: #E6E6E6;
	text-align: right;
	margin-bottom: 0.5rem;
}
#home .card-wrap {
	text-align: center;
	padding: 2rem;
}
#home .card-wrap .val {font-size: 2rem;font-weight: 600;}
#home .card .balloon {
	margin-right: 1rem;
}
#home .processing-wrap {
	display: flex;
	margin-top: 1rem;
	justify-content: space-between;
}
#home .processing-wrap .balloon {
	flex:1;
	margin-right: 1rem;
}
#home .processing-wrap .balloon:last-child {
	margin-right: 0;
}
#home .processing {padding: 0;}
#home .processing .tit {
	width: 100%;
	display: block;
	border-radius: 0.5rem 0.5rem 0 0;	
	padding: 0.75rem;
	background: #E6E6E6;
}
#home .processing div {
	padding: 1.25rem 0;
}

/******** 프로젝트 ********/
#project-make .page-list li {
	display: flex;
	text-align: center;
	border-bottom: 1px solid #E6E6E6;
	padding: 0.5rem;
}
#project-make .page-list .order {
	flex:1;
	text-align: left;
	color: #838383;
	cursor: move;
}
#project-make .page-list .num {flex:1.5}
#project-make .page-list .tit {flex:10; text-align: left;}
#project-make .page-list .page {flex:1.5}
#project-make .page-list .manage {flex:1; text-align: right;}

#project-list .info {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-radius: .5rem .5rem 0 0;
	background: rgba(0, 19, 145, 0.50);
}
#project-list .info .title p {
	font-weight: 600;
	font-size: 1.25rem;
	margin-bottom: 0.5rem;
}
#project-list .info .title h3 {
	color: #fff;
	font-size: 2rem;
	font-weight: 600;
}
#project-list .info .edit {text-align: right;}
#project-list .info .edit .top {
	color: #E6E6E6;
	text-align: right;
	margin-bottom: 0.5rem;
}
#project-list .page-list li {
	display: flex;
	align-items:center;
	text-align: center;
 	border-radius: 0.5rem;
	padding: 0.5rem 1rem;
	background: #fff;
	margin-bottom: 0.25rem;
}
#project-list .page-list .num {	flex:1;}
#project-list .page-list .process {flex:2}
#project-list .page-list .tit {flex:12; text-align: left;}
#project-list .page-list .detail {flex:8; text-align: left;}
#project-list .page-list .manage {flex:1; text-align: right;cursor: pointer;}

#project-list .page-list .process span {
	display: inline-block;
	width: 65px;
	color: #fff;
	font-size: 0.8rem;
	border-radius: 0.5rem;
	padding: 0.2rem 0;
	margin: 0 1rem;
	background-color: #56b8ff;
}
#project-list .page-list .p6 span {background-color: #8ad7ae;}
#project-list .page-list .p1 span {background-color: #f9a491;}

#project-list .page-list .original,
#project-list .page-list .complete {
	display: inline-block;
	width: 30px;
	text-align: right;
	margin-left: 1rem;
	margin-right: 0.25rem;
}

#project-edit .page-list li {
	display: flex;
	text-align: center;
	border-bottom: 1px solid #E6E6E6;
	padding: 0.5rem;
}
#project-edit .page-list .order {
	flex:1;
	text-align: left;
	color: #838383;
	cursor: move;
}
#project-edit .page-list .num {flex:1}
#project-edit .page-list .process {flex:3}
#project-edit .page-list .tit {flex:10; text-align: left;}
#project-edit .page-list .page {flex:2}
#project-edit .page-list .manage {flex:1; text-align: right;}
#project-edit .page-list .process span {
	display: inline-block;
	width: 65px;
	color: #fff;
	font-size: 0.8rem;
	border-radius: 0.5rem;
	padding: 0.2rem 0;
	margin: 0 1rem;
	background-color: #56b8ff;
}
#project-edit .page-list .p6 span {background-color: #8ad7ae;}
#project-edit .page-list .p1 span {background-color: #f9a491;}

#scan .btns div {transition: .3s all ease;}
#scan .btns div:hover {color: #000;}

#ocr .top {
	font-weight: 500;
	padding: 0.75rem 0;
	background: #f7f9fc;
}
#ocr .top span {
	color: #d0d8df;
	margin: 0 1rem;
}

#trans .top {
	font-weight: 500;
	padding: 0.75rem 0;
	background: #f7f9fc;
}
#trans .card {
	display: flex;
	height:300px;
	margin-bottom: 0.5rem;
	overflow-y:hidden;
}
#trans .card:last-child {
	height: 178px;
	margin-bottom: 0.25rem;
}
#trans .card-right {
	overflow-y: scroll;
	padding: 1rem;
	background-color: #fff;
}
#layout .top {
	font-weight: 500;
	padding: 0.75rem 0;
	background: #f7f9fc;
}
#layout .row-list {
	display: grid;
	grid-template-columns: repeat(33, 19px);
	gap: 1px;
}
#layout .row-list li {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 19px;
	height: 24px;
	border: 1px solid transparent;
	font-size: 0.75rem;
}
#layout .col-list {
	display: grid;
	grid-template-rows: repeat(29, 24px);
	gap: 1px;
}
#layout .col-list li {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 19px;
	height: 24px;
	border: 1px solid transparent;
	font-size: 0.75rem;
}
#layout #braille-output {
	display: grid;
	grid-template-columns: repeat(32, 1fr); /* 32개의 셀 고정 */
	grid-template-rows: repeat(29, 1fr); /* 29개의 행 고정 */
	gap: 1px;
	width: fit-content;
	margin-bottom: 0.5rem;
}
#layout .braille-cell {
	width: 19px;
	height: 24px;
	border: 1px solid black;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
}


/********** 마이페이지 *********/
#mypage .tbl_join .to-bottom {
	vertical-align: bottom;
	padding-bottom: 1rem;
	padding-left: 1rem;
}

/********** 어드민 *********/
#admin-member .progress-bar {
	display:flex;
	height:20px;
	background:#ccc;
}
#admin-member .progress-bar .now {
	height:20px;
	background:#718eff
}
#admin-member .page-list li {
	display: flex;
	text-align: center;
	border-bottom: 1px solid #E6E6E6;
	padding: 0.5rem;
}