@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Mali|Nanum+Gothic');

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
textarea,
p,
blockquote,
th,
td,
input,
select,
textarea,
button {
	margin: 0;
	padding: 0;
	outline: none;
}

fieldset,
img {
	border: 0;
}

dl,
ul,
ol,
menu,
li {
	list-style: none;
}

iframe,
embed {
	width: 100%;
}

table .imageblock {
	width: 100% !important;
}

table {
	border-spacing: 1px 0;
}

* {
	box-sizing: border-box;
}

/* 배경 */
body {
	background: #f7f3f3;
}

/* 전체 폰트 */
html,
th,
td,
input,
select,
textarea,
button {
	font-size: 12px;
	font-family: 'Mali', 'Nanum Gothic', sans-serif;
	color: #000;
	line-height: 1.7;
}

a {
	color: #000;
	text-decoration: none;
	transition-property: color;
	transition-duration: .3s;
}

a:hover {
	color: #de5459;
}

/* 입력창 폰트 색상 */
::-webkit-input-placeholder {
	color: #000;
}

:-moz-placeholder {
	color: #000;
}

::-moz-placeholder {
	color: #000;
}

:-ms-input-placeholder {
	color: #000;
}

::placeholder {
	color: #000;
}

/* 스크롤바 */
::-webkit-scrollbar {
	width: 5px;
	height: 5px;
	background: transparent;
}

::-webkit-scrollbar-thumb {
	width: 5px;
	background: #cdcdcd;
}

/* 전체 박스 */
#container {
	position: relative;
	width: 800px;
	/* height: 600px; */
	margin: 100px auto 50px;
	/* top: 50%; */
	/* left: 50%; */
	/* transform: translate(-50%, -50%); */
}


#container .logo {
	position: absolute;
	background-image: url(./images/logo.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	width: 120px;
	height: 120px;
	top: 0;
	left: 0;
	transform: translate(-95%, -25%);
}

@media screen and (min-width: 830px) {

	/* 상단 영역 */
	#header {
		border-top: 1px solid;
		border-bottom: 1px solid;
		border-color: #ff8000;
		position: relative;
		padding: 10px;
		width: 100%;
		color: #ff6666;
	}

	#header .scroll {
		display: table;
		width: 100%;
	}

	#header .cate,
	#header .right,
	#header .search {
		display: table-cell;
		vertical-align: middle;
	}

	#header .right {
		display: table-cell;
		text-align: right;
		float: right;
	}

	#header .right > a {
		margin: 0 5px;
	}

	#header .title {
		display: none;
	}

	/* 검색 */
	#header .search {
		position: absolute;
		top: 120px;
		left: -120px;
		width: 100px;
		white-space: nowrap;
		margin: auto;
	}

	#header .search input,
	#header .search button {
		background-color: transparent;
		border: 0;
		font-family: 'fontAwesome', 'Mali', 'Nanum Gothic', sans-serif;
	}

	#header .search input {
		width: 100%;
		text-align: center;
	}

	#header .search input::-webkit-input-placeholder {
		color: #ff6666;
	}

	#header .search input:-moz-placeholder {
		color: #ff6666;
	}

	#header .search input::-moz-placeholder {
		color: #ff6666;
	}

	#header .search input:-ms-input-placeholder {
		color: #ff6666;
	}

	#header .search input::placeholder {
		color: #ff6666;
	}

	/* 카테고리 */
	#header .link_item,
	#header .right a {
		color: #ff6666;
		padding: 10px 0;
		display: inline-block;
	}

	#header .right i {
		display: none;
	}

	#header .link_item:hover,
	#header .right a:hover {
		color: #de5459;
	}

	.category_list > li {
		display: inline-block;
		position: relative;
		margin: 0 10px;
	}

	.link_sub_item {
		color: #fff !important;
		transition-property: opacity;
		transition-duration: .3s;
	}

	.link_sub_item:hover {
		opacity: .5 !important;
	}

	.link_sub_item:before {
		content: '-  '
	}

	.sub_category_list {
		white-space: nowrap;
		position: absolute;
		z-index: 999;
		left: 50%;
		transform: translate(-50%, 0);
		-webkit-transform: translate(-50%, 0);
		-moz-transform: translate(-50%, 0);
		-ms-transform: translate(-50%, 0);
		-o-transform: translate(-50%, 0);
		font-size: .9em;
		background: #ff6666;
		padding: 2.5px 5px;
		line-height: 2.2;
		display: none;
	}

	.sub_category_list:after {
		content: '';
		position: absolute;
		border-style: solid;
		border-width: 0 5px 5px;
		border-color: #ff6666 transparent;
		display: block;
		width: 0;
		z-index: 1;
		top: -5px;
		left: 50%;
		transform: translate(-50%, 0);
		-webkit-transform: translate(-50%, 0);
		-moz-transform: translate(-50%, 0);
		-ms-transform: translate(-50%, 0);
		-o-transform: translate(-50%, 0);
	}
}

.link_tit {
	display: none !important;
}

#header .search button {
	display: none;
}

/* 본문 영역 */
#content {
	margin-top: 40px;
	/* height: calc(100% - 102px); */
	overflow: hidden;
	overflow-y: auto;
	padding-right: 5px;
}

#tt-body-page #content {
	background: #fff;
	padding: 20px;
	border: 1px solid #ff8000;
	margin-top: 30px;
}

#content:after,
.myoskin:after {
	content: '';
	display: block;
	overflow: hidden;
	clear: both;
}

/* 노이미지 */
.noimg {
	display: none;
}

:not(.thum) + .noimg {
	display: inline-block !important;
}

/* 갤러리형 */
#myo_gal .item {
	float: left;
	width: 29.3%;
	margin: 0 6% 3% 0;
	position: relative;
	overflow: hidden;
}

#myo_gal .item:nth-child(3n) {
	margin-right: 0;
}

#myo_gal .item a {
	display: block;
}

#myo_gal .item .thumbox {
	position: relative;
}

#myo_gal .item .thumbox:after {
	position: absolute;
	background: rgba(222, 84, 89, 0.4);
	content: '';
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition-property: opacity;
	transition-duration: .3s;
}

#myo_gal .item:hover .thumbox:after {
	opacity: 1;
}

#myo_gal .item img {
	width: 100%;
	vertical-align: top
}

#myo_gal .item .title {
	font-weight: bold;
	text-align: center;
	overflow: hidden;
	box-sizing: border-box;
	white-space: nowrap;
	text-overflow: ellipsis;
	margin-top: 10px;
}

#myo_gal .item .date {
	display: none;
}

/* 목록형 */
#myo_bbs .item {
	border-bottom: 1px solid #ff6666;
}

#myo_bbs .item a {
	display: block;
	padding: 5px 0;
	margin: 5px 0;
}

#myo_bbs .item img {
	display: none !important;
}

#myo_bbs .item .title,
#myo_bbs .item .date {
	display: inline-block;
	vertical-align: middle;
}

#myo_bbs .item .title {
	width: calc(100% - 70px);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#myo_bbs .item .date {
	float: right;
	font-family: 'Nanum Gothic', sans-serif;
	font-size: .8rem;
	line-height: 22px;
}


/* 보호글 */
.pass {
	width: 20vh;
	height: 40vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: auto;
}

.pass input,
.pass button {
	margin: 5px 0;
	padding: 5px 0;
}

.pass input {
	width: 100%;
	border: 0;
	background: transparent;
}

.pass button {
	width: 100%;
	background: transparent;
	text-transform: uppercase;
	border: 0;
	background-image: linear-gradient(120deg, #ff8000 0%, #ff6666 100%);
	letter-spacing: 3px;
	padding: 10px;
	color: #fff;
}

.pass input[required] + label {
	display: block;
	height: 48px;
	margin-top: -48px;
	margin-bottom: 0;
	pointer-events: none;
	line-height: 1;
	text-transform: uppercase;
}

.pass input[required] + label:before {
	content: attr(placeholder);
	display: inline-block;
	height: 48px;
	line-height: 48px;
	-webkit-transition-duration: .15s;
	transition-duration: .15s;
}

.pass input[required]:focus + label:before,
.pass input[required]:valid + label:before {
	-webkit-transform: translate(0, -24px) scale(1, 1);
	transform: translate(0, -24px) scale(1, 1);
	font-style: italic;
}

/* 본문 타이틀 */
.titlebox {
	margin-bottom: 20px;
}

.titlebox > p {
	font-weight: bold;
	font-size: 14px;
}

.titlebox .admin {
	float: right;
	color: #929292;
}

.titlebox .admin a {
	color: #929292;
}

/* 본문 */
.text-item {
	line-height: 2;
}

.text-item table {
	max-width: 100% !important;
	width: 100% !important;
}

/* 인용구 */
.tx-quote-tistory:before {
	content: "\e67f";
	font-family: 'themify';
}

.tx-quote-tistory {
	position: relative;
	height: auto;
	padding-left: 10px;
	border-left: 3px solid #a83446;
}

/* 더보기 */
.moreless_fold,
.moreless_top,
.moreless_bottom {
	font-weight: bold;
	color: #a83446;
	font-size: 10px;
}


.moreless_fold:before {
	content: "\e64b";
	font-family: 'themify';
	margin-right: 5px;
	font-size: .8em;
}

.moreless_top:before {
	content: "\e62a";
	font-family: 'themify';
	margin-right: 5px;
}

.moreless_bottom:before {
	content: "\e627";
	font-family: 'themify';
	margin-right: 5px;
}

.moreless_content {
	position: relative;
	height: auto;
	padding: 10px;
	border: 1px solid #a83446;
	color: #a83446;
	margin: 5px 0;
}

.moreless_content a {
	color: #fff;
	transition-property: opacity;
	transition-duration: .5s;
}

.moreless_content a:hover {
	opacity: .5;
}

/* 링크 */
.article .tx-link:before {
	content: "\e62d";
	font-family: 'themify';
	margin-right: 5px;
	font-size: .8em;
}

/* 파일 첨부 */
.article .imageblock a img {
	display: none;
}

.article .imageblock a:before {
	content: "\e6a7";
	font-family: 'themify';
	margin-right: 5px;
	font-size: .8em;
}

/* 신고 버튼 */
.container_postbtn {
	padding: 10px 0 !important;
}

.container_postbtn .postbtn_like {
	border: 0 !important;
}

.container_postbtn .postbtn_like label:first-child {
	padding-left: 0 !important;
}

/* 본문 하단 태그 */
.tag {
	color: transparent;
	margin-top: 30px;
}

.tag a:before {
	content: '#'
}

/* 페이지네이션 */
.pagination {
	font-size: 10px;
	text-align: center;
	margin-top: 30px;
}

.pagination a {
	margin: 0 3px;
}

.pagination .num {
	color: #ff8000;
}

.pagination .selected {
	color: #ffc488;
}

/* 카피라이트 삭제 금지 */
.copy {
	position: fixed;
	bottom: 10px;
	right: 10px;
	white-space: nowrap;
	font-size: .8em;
}

@media screen and (max-width: 1150px) {
	#container .logo {
		left: 50%;
		transform: translate(-50%, -110%);
	}

	#header .search {
		position: static;
		margin: 0;
		width: 80px;
		display: table-cell;
	}

	#header .search input {
		text-align: right;
		padding: 0 10px;
	}
}


/* 모바일 영역 */
@media screen and (max-width: 830px) {
	a:hover {
		color: #bebebe;
	}

	#container {
		position: static;
		transform: none;
		margin: 15px;
		width: auto;
		height: auto;
	}

	#container .logo {
		position: relative;
		top: 0;
		transform: translate(-50%, 0);
		width: 20vh;
		height: 12vh;
	}

	#hamburger {
		width: 36px;
		height: 22px;
		position: fixed;
		display: block;
		cursor: pointer;
		margin: 0 auto;
		top: 15px;
		left: 15px;
	}

	#hamburger .line {
		width: 36px;
		height: 2px;
		display: block;
		background-color: #ff8000;
		position: absolute;
		left: 0;
		transition: all 0.3s cubic-bezier(0.58, 0, 0.58, 1);
	}

	#hamburger .line:nth-child(1) {
		top: 0;
	}

	#hamburger .line:nth-child(2) {
		top: 50%;
		margin-top: -1px;
		width: 28px;
	}

	#hamburger .line:nth-child(3) {
		top: 100%;
		margin-top: -2px;
		width: 26px;
	}

	html.open {
		position: fixed;
		width: 100%;
		height: 100%;
		overflow: hidden;
	}

	.page_cover.open {
		display: block;
	}

	.page_cover {
		width: 100%;
		height: 100%;
		position: fixed;
		top: 0px;
		left: 0px;
		background-color: rgba(0, 0, 0, 0.4);
		z-index: 999;
		display: none;
	}

	#header {
		width: 70%;
		overflow: hidden;
		height: 100%;
		position: fixed;
		top: 0px;
		left: -75%;
		margin: 0;
		z-index: 999999;
		transition: All 0.2s ease;
		-webkit-transition: All 0.2s ease;
		-moz-transition: All 0.2s ease;
		-o-transition: All 0.2s ease;
		background: #f7f3f3;
		line-height: 2;
	}

	#header.open {
		left: 0;
	}

	#header .scroll {
		width: 102%;
		height: 100%;
		overflow-y: auto;
		padding: 5vh;
	}

	#header .scroll .title {
		font-size: 14px;
		font-weight: bold;
	}

	#header .scroll .cate {
		margin: 30px 0;
	}

	.sub_category_list {
		margin: 0 0 20px 10px;
	}

	#header .scroll .right a:first-child {
		display: none;
	}

	#header .scroll .right a:last-child span {
		display: none;
	}

	#header .scroll .search {
		margin-top: 30px;
		display: block;
		width: auto;
	}

	#header .scroll .search input {
		background: transparent;
		border: 0;
		text-align: left;
		font-family: 'fontAwesome', 'Mali', 'Nanum Gothic', sans-serif;
		padding: 0;
	}

	#header .scroll .search button {
		display: none;
	}

	#content {
		height: auto;
		padding: 0;
		overflow: auto;
		margin-top: 3vh;
	}

	#myo_gal .item {
		width: 47%;
		margin: 0 6% 6% 0;
	}

	#myo_gal .item:nth-child(3n) {
		margin-right: 6%;
	}

	#myo_gal .item:nth-child(2n) {
		margin-right: 0% !important;
	}

	.copy {
		position: static;
		text-align: center;
		margin-bottom: 1vh;
	}
}
