@import url(//fonts.googleapis.com/earlyaccess/notosanskr.css);
@font-face {
  font-family: 'FontAwesome';
  src: url('./images/fontawesome-webfont.eot?v=4.7.0');
  src: url('./images/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('./images/fontawesome-webfont.woff?v=4.7.0') format('woff'), url('./images/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), url('./images/fontawesome-webfont.svg#fontawesomeregular?v=4.7.0') format('svg');
}

#tistorytoolbarid {
  display: none;
}

.daum_like_wrapper {
  margin: 30px 0 24px 0;
}


/* CSS 초기화 */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}


/* HTML5 display-role reset for older browsers */

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

button {
  border: 0;
  background-color: rgba( 255, 255, 255, 1);
}

textarea {
  font-family: inherit;
  font-size: inherit;
  overflow: auto;
}

hr {
  margin: 0;
  padding: 0;
  border-style: dotted;
  border-spacing: inherit;
  border-color: #ddd;
  /* 색상 */
}

a {
  text-decoration: none;
  color: #555;
  transition-duration: 0.3s;
  /* 색상 */
}

a:hover {
  color: #222;
  /* 색상 */
}

article p a {
  color: #81a9db;
}


/* 설정 */

body {
  font-family: "Noto Sans KR", Noto, Serif;
  font-size: 15px;
  font-weight: 300;
  color: #666;
  -ms-overflow-style: scrollbar;
  line-height: 2;
  letter-spacing: -1px;
  word-spacing: 1px;
  white-space: normal;
  /* 색상 */
}

.h1 {
  font-size: 28px;
  color: #222;
}

.h2 {
  font-size: 22px;
}

.h3 {
  font-size: 17px;
}

.h4 {
  font-size: 15px;
}

.h5 {
  font-size: 14px;
}

.strong {
  font-weight: 400;
}

b {
  font-weight: 400;
}

.br::before {
  content: " ";
  display: block;
  width: 70px;
  height: 1px;
  margin-bottom: 10px;
  background-color: #ccc;
}

.br::after {
  content: " ";
  display: block;
  margin-bottom: 10px;
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.fright {
  float: right;
}

.fleft {
  float: left;
}

.ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.clearfix {
  clear: none !important;
}

.visible {
  display: block !important;
}

.invisible {
  display: none;
}

.required {
  color: red;
}

.hr-box {
  background-color: rgba(221, 221, 221, 0.7);
}

.hr-box p {
  padding: 0 10px;
}

.hr-sect {
  display: flex;
  flex-basis: 100%;
  align-items: center;
  color: #555;
  font-size: 12px;
  margin: 8px 0px;
}

.hr-sect::before, .hr-sect::after {
  content: "";
  flex-grow: 1;
  background: #ddd;
  height: 1px;
  font-size: 0px;
  line-height: 0px
}

.hr-sect::before {
  margin-right: 16px;
}

.hr-sect::after {
  margin-left: 16px;
}

@media all and (max-width: 767px) {
  .pc {
    display: none;
  }
  .col-sm-6 {
    width: 100%;
  }
}

@media all and (min-width: 768px) {
  .mobile {
    display: none;
  }
  .col-sm-6 {
    width: 48%;
  }
}


/* 구조 */

body {
  background: #fff;
  /* 색상 */
}

.wrapper-header-inner {
  width: 100%;
  height: auto;
  overflow: hidden;
  background: #eee;
  /* 색상 */
}

.header-inner {
  width: 1281px;
  height: auto;
  margin: 0 auto;
}

.wrapper-header-footer {
  display: none;
  width: 100%;
  height: auto;
  overflow: hidden;
  background: #ccc;
}

.header-footer {
  width: 1281px;
  height: 50px;
  margin: 0 auto;
}

.main {
  overflow: hidden;
  width: 1281px;
  height: auto;
  margin: 0 auto;
  padding-top: 50px;
}

section {
  overflow: hidden;
  float: left;
  width: 906px;
  height: auto;
  min-height: 100px;
}

.wrapper-content {
  overflow: hidden;
  border-right: 1px solid #ddd;
}

.content {
  overflow: hidden;
  margin: 0 69px auto;
}

.wrapper-paging {
  overflow: hidden;
  margin: 0 69px auto;
}

aside {
  float: left;
  width: 375px;
  height: auto;
  padding-bottom: 50px;
}

.wrapper-sidebar {
  margin: 0 37.5px auto;
}

footer {
  width: 100%;
  height: auto;
  overflow: hidden;
  background: #4a4a4a;
  /* 색상 */
}

.wrapper-copyright {
  width: 1281px;
  margin: 0 auto;
}

@media all and (max-width: 1300px) {
  .header-inner {
    width: 982px;
  }
  .header-footer {
    width: 982px;
  }
  .main {
    width: 982px;
  }
  section {
    width: 607px;
  }
  .content {
    margin: 0 46.5px;
  }
  .wrapper-paging {
    margin: 0 46.5px;
  }
  aside {
    width: 375px;
  }
  .wrapper-sidebar {
    margin: 0 37.5px;
  }
  .wrapper-copyright {
    width: 982px;
    margin: 0 auto;
  }
}

@media all and (max-width: 990px) {
  .header-inner {
    width: 768px;
  }
  .header-footer {
    width: 768px;
  }
  .main {
    width: 768px;
  }
  section {
    width: 525px;
  }
  .content {
    margin: 0 30px;
  }
  .wrapper-paging {
    margin: 0 30px;
  }
  aside {
    width: 243px;
  }
  .wrapper-sidebar {
    margin: 0 21.5px;
  }
  .wrapper-copyright {
    width: 768px;
    margin: 0 auto;
  }
}

@media all and (max-width: 767px) {
  .header-inner {
    width: 100%;
  }
  .header-footer {
    width: 100%;
  }
  .main {
    width: 100%;
    padding-bottom: 0;
  }
  section {
    width: 100%;
    padding: 0 20px;
  }
  .wrapper-content {
    border-right: 0;
  }
  .content {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .wrapper-paging {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  aside {
    width: 100%;
    padding: 0 20px;
    padding-bottom: 0;
    background-color: #eee;
    /* 색상 */
  }
  .wrapper-sidebar {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .wrapper-copyright {
    width: 100%;
    margin: 0 auto;
  }
}


/* 상단 */

.header-inner {
  overflow: hidden;
  padding: 26px 25px;
}

.header-inner .logo {
  line-height: 33px;
}

.header-inner .logo a {
  font-size: 22px;
  font-weight: 400;
}

.nav-main {
  line-height: 33px;
}

.nav-main ul li {
  float: left;
  padding: 0 15px;
}

.nav-main a i {
  padding-left: 15px;
}

.btn {
  line-height: 33px;
  padding: 0 10px;
}

.btn:last-child {
  padding-right: 0;
}

.wrapper-menu {
  padding: 0 25px;
  background-color: #ddd;
}

.menu {
  display: none;
  overflow: hidden;
  width: 100%;
  height: auto;
  text-align: right;
  padding: 8px 0;
}

.menu-item ul li {
  padding: 8px 0;
}

.menu-category {
  padding: 8px 0;
}


/* 검색 */

.header-footer .search-box {
  padding: 5px 0;
}

.header-footer .search-box textarea.search {
  padding: 0 25px;
  color: inherit;
  background-color: #ccc;
  text-align: center;
}

.search-box textarea.search {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 40px;
  line-height: 40px;
  border: 0;
  resize: none;
}

.search-box textarea.search:focus {
  outline: none;
}


/* 검색 결과 */

.list-title {
  text-align: center;
  padding-bottom: 50px;
}


/* 방명록 */

.guestbook-container {
  overflow: hidden;
}

.guestbook-input {
  padding-bottom: 50px;
}


/* 태그-페이지 */

.wrapper-tag .tagcloud ul li {
  margin-bottom: 10px;
}

.wrapper-tag .tagcloud ul li>a {
  margin-right: 10px;
  padding: 5px 8px;
  text-decoration: none;
  -webkit-border-radius: 2.5px;
  border-radius: 2.5px;
  border: 1px solid #4a4a4a;
  font-size: 14px!important;
  -moz-background-size: 100% 100%;
  background-size: 100% 100%;
  background-position: center center;
  background-color: #4a4a4a;
  color: white;
  /* 색상 */
}

.wrapper-tag .tagcloud ul li>a:hover {
  -webkit-border-radius: 2.5px;
  border-radius: 2.5px;
  border: 1px solid #ddd;
  background-color: #ddd;
  color: #666;
  /* 색상 */
}


/* 보호글 */

.protected-article {
  text-align: center;
}

.protected-article input {
  margin-top: 20px;
  width: 200px;
  height: 40px;
  text-align: center;
  border: 1px solid #ddd;
}


/* 글 - 인덱스 페이지 */

.content-list {
  overflow: hidden;
  width: 100%;
  height: auto;
  padding: 50px 0;
  border-bottom: 1px solid #ddd;
  /* 색상 */
}

.content-list:first-child {
  padding-top: 0;
}

.content-list:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.content-img {
  overflow: hidden;
  margin: 0 30px 0 0;
}

.content-img img {
  width: 100%;
  height: auto;
  max-width: 300px;
}

.content-post {
  width: auto;
  height: auto;
  margin-top: -7px;
}

.content-post-title {
  line-height: 1.6;
}

.content-info {
  padding-top: 3px;
  padding-bottom: 12px;
}

.content-info-category {
  border-bottom: 1px dashed #ddd;
}

.content-info-date::before {
  content: '　';
}

@media all and (min-width: 1301px) {
  .content-post-txt {
    max-height: 150px;
    overflow: hidden;
  }
}

@media all and (max-width: 1300px) {
  .content-img {
    margin: 0 20px 0px 0;
  }
  .content-img img {
    max-width: 250px;
    margin: 0;
  }
}

@media all and (max-width: 990px) {
  .content-img {
    width: 100%;
    margin: 0 0 10px 0;
  }
  .content-img img {
    max-width: 100%;
    margin: 0;
  }
  .content-post {
    float: left;
  }
}

@media all and (max-width: 767px) {
  .content>div:last-child {
    padding-bottom: 10px;
    border: 0;
  }
  .content-img {
    width: 40%;
    margin: 0 20px 0px 0;
  }
  .content-img img {
    max-width: 100%;
    margin: 0;
  }
  .content-post {
    float: none;
    margin-top: 0;
  }
}

@media all and (max-width: 500px) {
  .content-img {
    width: 100%;
    margin: 0 0 20px 0;
  }
  .content-img img {
    max-width: 100%;
  }
  .content-post {
    float: left;
  }
  .content-post-title {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    /* 라인수 */
    -webkit-box-orient: vertical;
    word-wrap: break-word;
  }
  .content-post-txt {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* 라인수 */
    -webkit-box-orient: vertical;
    word-wrap: break-word;
  }
}


/* 글 - 애드센스 */

.article-ad {
  width: 100%;
  height: auto;
  margin-bottom: 50px;
  background-color: #eee;
}

.article-ad2 {
  width: 100%;
  height: auto;
  margin-bottom: 60px;
  background-color: #eee;
}

.article-ad3 {
  display: none;
  width: 100%;
  height: auto;
  margin-bottom: 50px;
  background-color: #eee;
}

@media all and (max-width: 767px) {
  .article-ad3 {
    display: blcok;
    width: 100%;
    height: auto;
    margin-bottom: 50px;
    background-color: #eee;
  }
}


/* 글 - 본문 */

.article {
  margin-bottom: 35px;
}

.wrapper-title {
  text-align: center;
  margin-bottom: 50px;
}

.wrapper-title .post-title {
  word-break: keep-all;
  line-height: 1.6;
}

.imageblock {
  padding: 0;
  margin: 0;
  margin-top: 10px;
}


/* 글 -태그 */

.wrapper-article .tagcloud {
  overflow: hidden;
  color: #fff;
}

.wrapper-article .tagcloud li {
  margin-top: 10px;
}

.wrapper-article .tagcloud ul li a {
  display: inline-block;
  margin-bottom: 10px;
}

.wrapper-article .tagcloud ul li a:first-child {
  margin-right: 10px;
}

.wrapper-article .tagcloud ul li a:last-child {
  margin-bottom: 35px;
}

.wrapper-article .tagcloud ul li>a {
  margin-right: 4px;
  padding: 5px 8px;
  text-decoration: none;
  -webkit-border-radius: 2.5px;
  border-radius: 2.5px;
  border: 1px solid #4a4a4a;
  font-size: 12px!important;
  -moz-background-size: 100% 100%;
  background-size: 100% 100%;
  background-position: center center;
  background-color: #4a4a4a;
  color: white;
  /* 색상 */
}

.wrapper-article .tagcloud ul li>a:hover {
  -webkit-border-radius: 2.5px;
  border-radius: 2.5px;
  border: 1px solid #ddd;
  background-color: #ddd;
  color: #666;
  /* 색상 */
}


/* 카테고리 다른 글 */

.related-article {
  overflow: hidden;
  width: 100%;
  height: auto;
}

.related-title {
  width: 100%;
  margin-bottom: 30px;
}

.related-list {
  overflow: hidden;
  width: 100%;
  height: auto;
}

.related-list-item {
  overflow: hidden;
  position: relative;
  margin-right: 4%;
  margin-bottom: 20px;
  width: 22%;
  height: auto;
}

.related-list-item:last-child {
  margin-bottom: 50px;
  margin-right: 0;
}

@media all and (max-width: 1300px) {
  .related-list-item {
    width: 48%;
    margin-right: 4%;
  }
  .related-list-item:nth-child(2n) {
    margin-right: 0;
  }
}

.related-link {
  display: block;
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 120%;
  margin: 0 auto;
  border: 1px solid #ddd;
  background: #fff;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  text-align: center;
  color: #fff;
}

.related-list .related-frame {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: .4;
  filter: alpha(Opacity=40);
}

.thumb_type .related-frame {
  display: block;
}

.related-thumb img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.related-thumb-title {
  display: block;
  display: -webkit-box;
  overflow: hidden;
  position: relative;
  left: 0;
  top: 0;
  z-index: 10;
  max-height: 80px;
  padding: 27px 20px 0;
  color: #5c5c5c;
  font-size: 13px;
  text-overflow: ellipsis;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  word-wrap: break-word;
}

@media all and (min-width: 500px) and (max-width: 1300px) {
  .related-thumb-title {
    max-height: 100px;
    font-size: 16px;
  }
}

.related-link:hover .related-thumb-title {
  text-decoration: underline;
}

.related-list .thumb_type .related-thumb-title {
  color: #fff
}

.related-list .related-date {
  position: absolute;
  left: 0;
  bottom: 20px;
  z-index: 10;
  width: 100%;
  font-size: 13px;
  color: #a7a7a7;
}

.related-list .thumb_type .related-date {
  color: #fff;
  opacity: 1;
}


/* 글 - 댓글 */

.wrapper-reply {
  overflow: hidden;
  padding-top: 0;
}

.reply-container {
  overflow: hidden;
}

.reply-container:last-child {
  padding-bottom: 0;
}

.reply-title {
  margin-bottom: 30px;
}

.reply-list {
  padding-top: 10px;
}

.reply-container .reply-list:last-child {
  margin-bottom: 50px;
}

.reply2 {
  padding-left: 30px;
}

.reply-header {
  overflow: hidden;
  line-height: 32px;
}

.reply-name {
  margin-right: 5px;
}

.reply-date {
  margin-right: 5px;
}

.reply-edit>a {
  margin-left: 6px;
  padding: 5px 8px;
  text-decoration: none;
  -webkit-border-radius: 2.5px;
  border-radius: 2.5px;
  border: 1px solid #4a4a4a;
  font-size: 12px!important;
  -moz-background-size: 100% 100%;
  background-size: 100% 100%;
  background-position: center center;
  background-color: #4a4a4a;
  color: white;
  /* 색상 */
}

.reply-edit>a:hover {
  -webkit-border-radius: 2.5px;
  border-radius: 2.5px;
  border: 1px solid #ddd;
  background-color: #ddd;
  color: #666;
  /* 색상 */
}

.reply-hr {
  overflow: hidden;
  margin: 10px 0;
}

.wrapper-input-inner {
  overflow: hidden;
}

.input-guest-name, .input-guest-password, .input-reply {
  margin: 10px 0;
}

.input-guest-name div, .input-guest-password div, .input-reply div {
  width: 100%;
  line-height: 36px;
}

.input-guest-name input, .input-guest-password input {
  width: 100%;
  height: 40px;
  border: 1px solid #ddd;
}

.input-reply textarea {
  width: 100%;
  height: 150px;
  border: 1px solid #ddd;
  resize: none;
}

.input-btn {
  overflow: hidden;
}

.input-btn>a {
  padding: 5px 8px;
  text-decoration: none;
  -webkit-border-radius: 2.5px;
  border-radius: 2.5px;
  border: 1px solid #4a4a4a;
  font-size: 12px!important;
  -moz-background-size: 100% 100%;
  background-size: 100% 100%;
  background-position: center center;
  background-color: #4a4a4a;
  color: white;
  /* 색상 */
}

.input-btn>a:hover {
  -webkit-border-radius: 2.5px;
  border-radius: 2.5px;
  border: 1px solid #ddd;
  background-color: #ddd;
  color: #666;
  /* 색상 */
}


/* 페이징 */

.wrapper-paging {
  padding: 70px 0;
}

.wrapper-paging-inner {
  margin: 0 auto;
}

.paging {
  text-align: center;
  overflow: hidden;
}

.paging>a {
  margin-right: 4px;
  padding: 5px 8px;
  text-decoration: none;
  -webkit-border-radius: 2.5px;
  border-radius: 2.5px;
  border: 1px solid #4a4a4a;
  font-size: 12px!important;
  -moz-background-size: 100% 100%;
  background-size: 100% 100%;
  background-position: center center;
  background-color: #4a4a4a;
  color: white;
  /* 색상 */
}

.paging>a:hover {
  -webkit-border-radius: 2.5px;
  border-radius: 2.5px;
  border: 1px solid #ddd;
  background-color: #ddd;
  color: #666;
  /* 색상 */
}


/* 사이드바 */

.sidebar {
  overflow: hidden;
  width: 100%;
  height: auto;
}

.sidebar-common {
  overflow: hidden;
  width: 100%;
  padding: 50px 0;
  border-bottom: 1px solid #ddd;
  /* 색상 */
}

@media all and (min-width: 768px) {
  .sidebar-common:last-child {
    border-bottom: 0;
    padding-bottom: 0;
    /* 색상 */
  }
}

.sidebar-title {
  width: 100%;
  padding-bottom: 12px;
  margin-top: -6px;
}


/* 공지사항 */

.wrapper-notice {
  width: 100%;
  height: 100px;
}

.notice-list ul li {
  width: 100%;
  padding-bottom: 4px;
}


/* 카테고리 */

.category ul li a.link_tit {
  display: none;
}

.category ul li ul li ul li::before {
  content: ' · ';
}

.category ul li ul li {
  padding-bottom: 10px;
}

.category ul li ul li:last-child {
  padding-bottom: 0px;
}

.category ul li ul li ul {
  padding-top: 10px;
}


/* 사이드바 - 댓글 */

.sidebar-commnet-list ul li {
  width: 100%;
}


/* 사이드바 - 태그 */

.sidebar+.sidebar-common {
  padding-bottom: 43px;
}

.sidebar-tag .sidebar-title {
  padding-bottom: 18px;
}

.sidebar-tag .tagcloud ul li {
  margin-bottom: 10px;
}

.sidebar-tag .tagcloud ul li>a {
  margin-right: 10px;
  padding: 5px 8px;
  text-decoration: none;
  -webkit-border-radius: 2.5px;
  border-radius: 2.5px;
  border: 1px solid #4a4a4a;
  font-size: 12px!important;
  -moz-background-size: 100% 100%;
  background-size: 100% 100%;
  background-position: center center;
  background-color: #4a4a4a;
  color: white;
  /* 색상 */
}

.sidebar-tag .tagcloud ul li>a:hover {
  -webkit-border-radius: 2.5px;
  border-radius: 2.5px;
  border: 1px solid #ddd;
  background-color: #ddd;
  color: #666;
  /* 색상 */
}


/* 방문자 카운터 */

.counter-list li {
  width: 100%;
  padding-bottom: 10px;
}

.counter-list li:last-child {
  padding-bottom: 0px;
}


/* 애드센스 */

.sidebar-ad {
  overflow: hidden;
  width: 300px;
  height: 600px;
  background-color: #eee;
  /* 색상 */
}

.adsbygoogle {
  display: inline-block;
  width: 300px;
  height: 600px
}

@media all and (max-width: 990px) {
  .sidebar-ad {
    width: 203px;
    height: 600px;
    /* 색상 */
  }
  .adsbygoogle {
    width: 160px;
    height: 600px;
    margin: 0 21.5px;
  }
}


/* 하단 */

.copyright {
  padding: 30px;
  color: #ddd;
  /* 색상 */
}

.copyright a {
  color: #ddd;
  /* 색상 */
}

.copyright a:hover {
  color: #fff;
  /* 색상 */
}
