@charset "UTF-8";
/* ================================================================== */
/* Name	: board.css
/* Script : board CSS
/* Author : Design Geulggol
/*Date	: 2017-11-8
/* ================================================================== */
/* ----------------------------- */
/* Common
/* ----------------------------- */
/*** 게시판 공통 정보 ****/
.contents_wrap {
  max-width: 1500px;
  margin: 0 auto;
}

.board_info {
  font-size: 1.4rem;
  margin-bottom: 1em;
}

.board_info span {
  /*font-family:'NanumSquareB';*/
  color: #e60000;
}

/*** 게시판 공통 에디터 ***/
div.cke_chrome {
  width: 80%;
  display: inline-block;
}

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  height: auto;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.movie-container {
  position: relative;
  padding-bottom: 45%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  width: 80%;
}

.movie-container iframe,
.movie-container object,
.movie-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ----------------------------- */
/* Button Style
/* ----------------------------- */
.button {
  position: relative;
  overflow: visible;
  display: -moz-inline-stack;
  display: inline-block;
  margin: 2px 1px;
  text-align: left;
  vertical-align: top;
  text-decoration: none;
  color: #fff;
  background: #f14a4a;
  border: none;
  font-family: "Nanum Barun Gothic", "malgun gothic", 맑은고딕, "Dotum", 돋움, "Arial", "sans-serif";
  cursor: pointer;
}

/* button size */
.button_block {
  width: 100%;
}

.button.large {
  /* height: 50px; */
  font-size: 16px;
  padding: 19px 36px 15px;
}

.button.medium {
  /* height: 43px; */
  font-size: 16px;
  padding: 16px 32px 13px;
}

.button.small {
  /* height: 38px;*/
  font-size: 15px;
  padding: 14px 28px 11px;
}

.button.xsmall {
  /* height: 38px;*/
  font-size: 15px;
  padding: 8px 15px 6px;
}

/* white button은 border 때문에 4px씩 줄임 */
.button.large.white,
.L_button.large {
  padding: 17px 32px 13px;
}

.button.medium.white,
.L_button.medium {
  padding: 14px 28px 11px;
}

.button.small.white,
.L_button.small {
  padding: 12px 24px 9px;
}

.C_button.small {
  width: 31px;
  height: 31px;
}

.C_button.medium {
  width: 49px;
  height: 49px;
}

.C_button.large {
  width: 61px;
  height: 61px;
}

/* icon */
.button.small.icon {
  padding-right: 60px !important;
}

.button.medium.icon {
  padding-right: 75px !important;
}

.button.large.icon {
  padding-right: 90px !important;
}

.button.icon:after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 20px;
  padding: 0 5px;
  background: url(/images/common/btn_arrow1.png) no-repeat;
  background-size: 10px;
}

.button.icon.white:after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 20px;
  padding: 0 5px;
  background: url(/images/common/btn_b_arrow1.png) no-repeat;
  background-size: 10px;
}

.button.small:after {
  height: 20px;
  margin: -8px 0 0 0;
}

.button.medium:after {
  height: 20px;
  margin: -8px 0 0 0;
}

.button.large:after {
  height: 20px;
  margin: -8px 0 0 0;
}

input[type=submit].button.small.icon,
input[type=button].button.small.icon,
input[type=submit].button.medium.icon,
input[type=button].button.medium.icon,
input[type=submit].button.large.icon,
input[type=button].button.large.icon,
input[type=submit].button.small.icon.white,
input[type=button].button.small.icon.white,
input[type=submit].button.medium.icon.white,
input[type=button].button.medium.icon.white,
input[type=submit].button.large.icon.white,
input[type=button].button.large.icon.white {
  background-repeat: no-repeat;
  background-size: 10px;
}

input[type=submit].button.small.icon,
input[type=button].button.small.icon {
  background-image: url(/images/common/btn_arrow1.png);
  background-position: right 20px top 11px;
}

input[type=submit].button.medium.icon,
input[type=button].button.medium.icon {
  background-image: url(/images/common/btn_arrow1.png);
  background-position: right 20px top 14px;
}

input[type=submit].button.large.icon,
input[type=button].button.large.icon {
  background-image: url(/images/common/btn_arrow1.png);
  background-position: right 20px top 17px;
}

input[type=submit].button.small.icon.white,
input[type=button].button.small.icon.white {
  background-image: url(/images/common/btn_b_arrow1.png);
  background-position: right 20px top 11px;
}

input[type=submit].button.medium.icon.white,
input[type=button].button.medium.icon.white {
  background-image: url(/images/common/btn_b_arrow1.png);
  background-position: right 20px top 14px;
}

input[type=submit].button.large.icon.white,
input[type=button].button.large.icon.white {
  background-image: url(/images/common/btn_b_arrow1.png);
  background-position: right 20px top 17px;
}

.C_button.plus:before {
  content: "";
  display: block;
  position: absolute;
  top: 49%;
  left: 50%;
  width: 50%;
  height: 1px;
  margin-left: -25%;
}

.C_button.plus:after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 49%;
  width: 1px;
  height: 50%;
  margin-top: -25%;
}

.button.lnr input[type=submit] {
  padding: 0;
}

/* hover */
.button:hover,
.button:focus,
.button:active {
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.button:hover,
.button:focus,
.button:active {
  background: #bc1e1e;
  color: #fff;
}

.button.gray:hover,
.button.gray:focus,
.button.gray:active {
  background: #717070;
  color: #fff;
}

.button.white:hover,
.button.white:focus,
.button.white:active {
  background: #f14a4a;
  color: #fff;
}

.button.white:hover:after,
.button.white:focus:after,
.button.white:active:after {
  background: url(/images/common/btn_arrow1.png) no-repeat;
  background-size: 10px;
}

/* button position */
.button_wrap {
  margin: 30px 0;
}

.button_left {
  text-align: left;
}

.button_right {
  text-align: right;
}

.button_center {
  text-align: center;
}

input[type=text] + .button,
input[type=password] + .button,
input[type=email] + .button,
input[type=number] + .button,
input[type=search] + .button,
input[type=tel] + .button,
.select_style.basic + button {
  margin: 0 0.5%;
}

/* ----------------------------- */
/* Form Style
/* ----------------------------- */
/* form */
input[type=text],
input[type=password],
input[type=email],
input[type=number],
input[type=search],
input[type=tel],
input[type=file],
textarea,
select {
  font-family: "Nanum Barun Gothic", "malgun gothic", 맑은고딕, "Dotum", 돋움, "Arial", "sans-serif";
  font-size: 16px;
  font-size: 1.6rem;
  color: #444;
  border-radius: 3px;
}

input[type=text],
input[type=password],
input[type=email],
input[type=number],
input[type=search],
input[type=tel],
input[type=file] {
  height: 44px;
  padding: 10px;
  border: 1px solid #cccfd8;
}

input[type=file] {
  display: inline-block;
  padding: 5px;
  vertical-align: middle;
  background: #fff;
}

textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #cccfd8;
}

select {
  padding: 5px 10px;
  vertical-align: middle;
}

input[type=submit],
label {
  cursor: pointer;
}

/* input size */
.inp_xl_1 {
  width: 5.1282%;
}

.inp_xl_2 {
  width: 13.4615%;
}

.inp_xl_3 {
  width: 21.7948%;
}

.inp_xl_4 {
  width: 30.1282%;
}

.inp_xl_5 {
  width: 38.4615%;
}

.inp_xl_6 {
  width: 46.7948%;
}

.inp_xl_7 {
  width: 55.1282%;
}

.inp_xl_8 {
  width: 63.4615%;
}

.inp_xl_9 {
  width: 71.7948%;
}

.inp_xl_10 {
  width: 80.1282%;
}

.inp_xl_11 {
  width: 88.4615%;
}

.inp_xl_12 {
  width: 96.7948%;
}

@media screen and (max-width: 980px) {
  .inp_l_1 {
    width: 5.1282%;
  }

  .inp_l_2 {
    width: 13.4615%;
  }

  .inp_l_3 {
    width: 21.7948%;
  }

  .inp_l_4 {
    width: 30.1282%;
  }

  .inp_l_5 {
    width: 38.4615%;
  }

  .inp_l_6 {
    width: 46.7948%;
  }

  .inp_l_7 {
    width: 55.1282%;
  }

  .inp_l_8 {
    width: 63.4615%;
  }

  .inp_l_9 {
    width: 71.7948%;
  }

  .inp_l_10 {
    width: 80.1282%;
  }

  .inp_l_11 {
    width: 88.4615%;
  }

  .inp_l_12 {
    width: 96.7948%;
  }
}
@media screen and (max-width: 768px) {
  .inp_m_1 {
    width: 5.1282%;
  }

  .inp_m_2 {
    width: 13.4615%;
  }

  .inp_m_3 {
    width: 21.7948%;
  }

  .inp_m_4 {
    width: 30.1282%;
  }

  .inp_m_5 {
    width: 38.4615%;
  }

  .inp_m_6 {
    width: 46.7948%;
  }

  .inp_m_7 {
    width: 55.1282%;
  }

  .inp_m_8 {
    width: 63.4615%;
  }

  .inp_m_9 {
    width: 71.7948%;
  }

  .inp_m_10 {
    width: 80.1282%;
  }

  .inp_m_11 {
    width: 88.4615%;
  }

  .inp_m_12 {
    width: 96.7948%;
  }
}
@media screen and (max-width: 767px) {
  .inp_s_1 {
    width: 5.1282%;
  }

  .inp_s_2 {
    width: 13.4615%;
  }

  .inp_s_3 {
    width: 21.7948%;
  }

  .inp_s_4 {
    width: 30.1282%;
  }

  .inp_s_5 {
    width: 38.4615%;
  }

  .inp_s_6 {
    width: 46.7948%;
  }

  .inp_s_7 {
    width: 55.1282%;
  }

  .inp_s_8 {
    width: 63.4615%;
  }

  .inp_s_9 {
    width: 71.7948%;
  }

  .inp_s_10 {
    width: 80.1282%;
  }

  .inp_s_11 {
    width: 88.4615%;
  }

  .inp_s_12 {
    width: 96.7948%;
  }
}
@media screen and (max-width: 480px) {
  .inp_xs_1 {
    width: 5.1282%;
  }

  .inp_xs_2 {
    width: 13.4615%;
  }

  .inp_xs_3 {
    width: 21.7948%;
  }

  .inp_xs_4 {
    width: 30.1282%;
  }

  .inp_xs_5 {
    width: 38.4615%;
  }

  .inp_xs_6 {
    width: 46.7948%;
  }

  .inp_xs_7 {
    width: 55.1282%;
  }

  .inp_xs_8 {
    width: 63.4615%;
  }

  .inp_xs_9 {
    width: 71.7948%;
  }

  .inp_xs_10 {
    width: 80.1282%;
  }

  .inp_xs_11 {
    width: 88.4615%;
  }

  .inp_xs_12 {
    width: 96.7948%;
  }
}
/* Checkbox */
input[type=radio],
input[type=checkbox] {
  margin: 5px;
}

input[type=radio]:first-child,
input[type=checkbox]:first-child {
  margin-left: 0;
}

input[type=radio] + label,
input[type=checkbox] + label {
  display: inline-block;
  margin: 5px 15px 5px 0;
}

input[type=checkbox] {
  display: none;
}

input[type=checkbox] + label span:before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  margin: -2px 10px 0 0;
  border: 1px solid #f14a4a;
  background-color: #fff;
  border-radius: 3px;
  vertical-align: middle;
  cursor: pointer;
}

input[type=checkbox]:checked + label span:before {
  background: url(/images/sub/check.png) no-repeat 2px 5px #fff;
  background-size: 20px;
}

/* Radio */
input[type=radio] {
  display: none;
}

input[type=radio] + label span:before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: -2px 10px 0 0;
  border: 1px solid #cccfd8;
  background-color: #fff;
  border-radius: 10em;
  vertical-align: middle;
  cursor: pointer;
}

input[type=radio]:checked + label span:before {
  background: url(/images/sub/check.png) no-repeat center -25px #fff;
  background-size: 20px;
}

/* button position */
.button_wrap {
  margin: 30px 0;
}

.button_left {
  text-align: left;
}

.button_right {
  text-align: right;
}

.button_center {
  text-align: center;
}

input[type=text] + .button,
input[type=password] + .button,
input[type=email] + .button,
input[type=number] + .button,
input[type=search] + .button,
input[type=tel] + .button,
.select_style.basic + button {
  margin: 0 0.5%;
}

/*** 일반형 리스트 ***/
.board_list {
  border-top: 3px solid #000;
}

.board_list .board {
  padding: 1em 0;
  border-bottom: 1px solid #d1d1d1;
}

.board_list .board span {
  vertical-align: middle;
  display: inline-block;
}

.board_list .board span.num {
  width: 15%;
  font-size: 2rem;
  color: #c1c1c1;
  text-align: center;
}

.board_list .board span.notice_top {
  color: #fff;
  text-align: center;
  line-height: 100%;
  padding: 5px;
  margin-right: 2em;
  background: #ff9c00;
}

.board_list .board span.title {
  width: 45%;
  font-size: 1.2em;
}

span.vf_ellipsis {
  text-overflow: ellipsis;
  white-space: nowrap;
  word-wrap: normal;
  overflow: hidden;
}

p.vf_ellipsis {
  text-overflow: ellipsis;
  white-space: nowrap;
  word-wrap: normal;
  overflow: hidden;
}

.board_list .board span.progress {
  width: 5%;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  background: #a83300;
  border: none;
  float: right;
  margin: 0 10px 0 0;
}

.board_list .board span.date {
  width: 15%;
  padding: 5px 1em 0 0;
  text-align: right;
  float: right;
}

.board_list .board span.name {
  padding: 5px 1em 0 0;
  text-align: right;
  float: right;
}

.board_list .board span.hit {
  min-width: 80px;
  padding: 5px 1em 0 0;
  text-align: right;
  float: right;
}

/*** 일반형 답변 ***/
.board_list .board_re {
  padding-left: 10%;
}

.board_list .board span.re {
  color: #fff;
  text-align: center;
  line-height: 100%;
  padding: 5px 20px;
  margin-right: 2em;
  border-radius: 20px;
  background: #585858;
}

.search_block {
  text-align: center;
}

.search_block input, .search_block button, .search_block select {
  height: 52px;
  line-height: 50px;
  border: 1px solid #d2d1da;
}

.search_block select {
  background: #fff url("/images/common/select_arrow.png") no-repeat 88% center;
  padding: 0 50px 0 25px;
  margin-right: 6px;
}

.search_block input {
  padding-left: 25px;
  font-size: 1.4rem;
}

.search_block button {
  background: #f6f6f6;
  color: #303030;
  padding: 0 40px;
  margin-left: -1px;
  font-size: 1.4rem;
}

/*** 포토형 리스트 ***/
.photo_list {
  border-top: 3px solid #000;
}

.photo_list .photo_wrap {
  border-bottom: 1px solid #d1d1d1;
  padding: 2em 0;
}

.photo_list .photo_wrap .photo {
  width: 23.6111%;
  padding: 10px;
  margin: 0.6944%;
  border: 1px solid #d1d1d1;
  border-radius: 10px;
  float: left;
}

.photo_list .photo_wrap .photo span {
  text-align: center;
  display: block;
}

.photo_list .photo_wrap .photo span.thumbnail {
  /*height:113px;*/
  overflow: hidden;
  height: 0;
  padding-bottom: 60%;
}

.photo_list .photo_wrap .photo span.title {
  width: 100%;
  margin: 15px 0;
}

.photo_list .photo_wrap .photo span.title p {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/*** 뷰페이지 ***/
.board_view {
  border-top: 3px solid #000;
}

.board_view .board_title {
  padding: 2em 0 2em 1em;
  background: #f1f1f1;
  border-bottom: 1px solid #d1d1d1;
}

.board_view .board_title span {
  vertical-align: middle;
  display: inline-block;
}

.board_view .board_title span.num {
  width: 10%;
  font-size: 2rem;
  color: #c1c1c1;
  text-align: center;
}

.board_view .board_title span.notice_top {
  color: #fff;
  text-align: center;
  line-height: 100%;
  padding: 5px;
  margin-right: 2rem;
  background: #ff9c00;
}

.board_view .board_title span.title {
  width: 45%;
  font-size: 1.2em;
}

.board_view .board_title span.title_view {
  width: 45%;
  font-size: 1.2em;
}

.board_view .board_title span.progress {
  width: 5%;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  background: #a83300;
  border: none;
  float: right;
  margin: 0 10px 0 0;
}

.board_view .board_title span.name {
  text-align: right;
  padding-right: 1em;
  float: right;
}

.board_view .board_title span.date {
  width: 15%;
  text-align: right;
  padding-right: 1em;
  float: right;
}

.board_view .board_title span.hit {
  text-align: right;
  padding-right: 1em;
  float: right;
}

.board_view .board_userinfo {
  padding: 1em 0 1em 1em;
  font-size: 1em;
  text-align: right;
  background: #f1f1f1;
  border-bottom: 1px solid #d1d1d1;
}

.board_view .board_userinfo span {
  padding-right: 1em;
}

.board_view .board_userinfo span:first-child {
  border-right: 1px solid #d1d1d1;
  margin-right: 1em;
}

.board_view .board_file {
  padding: 1em 2em;
  border-bottom: 1px solid #d1d1d1;
}

.board_view .board_content {
  padding: 2em;
  /*background:#f1f1f1;*/
  border-bottom: 1px solid #d1d1d1;
  line-height: 200%;
}

.board_view .board_content img {
  max-width: 60%;
}

.board_view .category {
  padding: 2em 0 2em 1em;
  background: #fff;
  border-bottom: 1px solid #d1d1d1;
}

.board_view .category > div {
  width: 49%;
  display: inline-block;
}

.board_view .category span {
  display: inline-block;
}

.board_view .category span.category_name {
  padding-right: 2em;
  margin-right: 2em;
  border-right: 1px solid #d1d1d1;
}

.board_view .category span.category_view {
  width: 30%;
}

/*** 글쓰기 ***/
.board_write {
  border-top: 3px solid #000;
}

.board_write .board_write_content {
  display: table;
  width: 100%;
  padding: 1.5em 0;
  border-bottom: 1px solid #d1d1d1;
}

.board_write .board_write_content label {
  display: table-cell;
  width: 15%;
  text-align: center;
  vertical-align: middle;
  /*display:inline-block;*/
}

.board_write .board_write_content input[type=text],
.board_write .board_write_content input[type=file] {
  display: table-cell;
  width: 70%;
}

/*input[type="text"],
input[type="password"],
select {
    border:1px solid #d1d1d1;
    padding:.8em;
    background:#fff;
}
input[type="file"] {
    background:#fff;
    padding:.8em; }
input[type="checkbox"] {
    cursor:pointer;
}
*/
/*input#subject,
input#homepage,
input#tel,
input#phone,
input#fax,
input#email,
select {
    width:80%;
}
textarea {
    width:80%;
    height:150px;
}
input:focus,
textarea:focus {
    border:2px solid #4066a8;
}
input.error {
    border:1px solid #9e0101;
    color:#9e0101;
 }*/
.content_radio {
  width: 50%;
  display: inline-block;
}

.content_radio label {
  width: auto !important;
  padding-left: 1em;
  margin-right: 3em;
}

/*
.filebox_wrap {
    width:80%;
    display:inline-block;
}
*/
.progress {
  position: relative;
  width: 99%;
  border: 1px solid #ddd;
  padding: 1px;
  border-radius: 3px;
  margin: 18px 0 0 4px;
}

.bar {
  background-color: #B4F5B4;
  width: 0%;
  height: 20px;
  border-radius: 3px;
}

.percent {
  position: absolute;
  display: inline-block;
  top: 3px;
  left: 48%;
}

.filebox_wrap {
  cursor: pointer;
  width: 99%;
  border: 1px solid #ccc;
  padding: 20px 0;
  border-radius: 8px;
  text-align: center;
}

.filebox_wrap input[type=file] {
  /* 파일 필드 숨기기 */
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.filebox_wrap .comment {
  margin-top: 12px;
  font-style: italic;
}

.filebox_wrap .drop_message {
  font-size: 25px;
  font-weight: bold;
  color: #484848;
  padding: 20px 0;
}

.file_item {
  text-align: left;
  margin: 15px 0 5px 10px;
  width: 120px;
  overflow: hidden;
  float: left;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 4px;
  position: relative;
}

.file_item .file_item_thumb {
  width: 100%;
  height: 120px;
}

.file_item_thumb .down {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 130px;
  background: #f6f6f6;
  color: #f1f1f1;
  padding-top: 30px;
  opacity: 0.3;
}

.file_item_thumb .down > a {
  font-size: 50px;
  margin: 0 auto;
}

.file_item .file_item_btn {
  margin-top: 5px;
}

label.file_btn {
  width: auto !important;
  display: inline-block !important;
}

/* 상단 게시물 검색 */
.board_src_wrap {
  margin: 20px 0;
  /*margin: 20px 0.6944%;*/
  padding-top: 20px;
  border-top: 1px solid #d3d3d3;
}

.board_src_wrap:after {
  content: "";
  display: block;
  clear: both;
}

.board_src_wrap .board_src {
  float: right;
}

.board_src_wrap .board_src lable {
  position: absolute;
  left: -9999px;
  width: 0;
  height: 0;
  overflow: hidden;
  font-size: 0;
  text-indent: 9999%;
  line-height: 0;
  z-index: -1;
}

.board_src_wrap .board_src input[type=text] {
  width: 65%;
  height: 40px;
  border: 1px solid #9398aa;
  border-radius: 5px;
}

.board_src_wrap .board_src input[type=submit] {
  height: 40px;
  padding: 0 20px;
  background-color: #9398aa;
  border-radius: 5px;
  font-family: "NotoR";
  font-size: 15px;
  color: #fff;
}

/* ----------------------------- */
/* paginate
/* ----------------------------- */
.paginate {
  margin: 50px;
  text-align: center;
}

.paginate button {
  position: relative;
  width: 36px;
  height: 36px;
  margin: 0 3px;
  border: 1px solid #bebebe;
  /* border-radius: 3px; */
}

.paginate button.btn_first:before,
.paginate button.btn_first:after,
.paginate button.btn_prev:before,
.paginate button.btn_next:before,
.paginate button.btn_end:before,
.paginate button.btn_end:after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  margin-top: -4px;
}

.paginate button.btn_first:before {
  left: 35%;
  border-right: 6px solid #9c9c9c;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.paginate button.btn_first:after {
  left: 50%;
  border-right: 6px solid #9c9c9c;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.paginate button.btn_prev:before {
  left: 38%;
  border-right: 6px solid #9c9c9c;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.paginate button.btn_next:before {
  left: 42%;
  border-left: 6px solid #9c9c9c;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.paginate button.btn_end:before {
  left: 35%;
  border-left: 6px solid #9c9c9c;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.paginate button.btn_end:after {
  left: 50%;
  border-left: 6px solid #9c9c9c;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.paginate button:hover,
.paginate button:focus,
.paginate button:active {
  border: 1px solid #f14a4a;
}

.paginate a:first-of-type {
  margin-left: 5px;
}

.paginate a:last-of-type {
  margin-right: 5px;
}

.paginate a {
  font-family: "MontserratLight";
  display: inline-block;
  width: 30px;
  text-align: center;
  font-size: 1.5rem;
  color: #777;
}

.paginate a:hover,
.paginate a:focus,
.paginate a:active,
.paginate a.on {
  color: #f14a4a;
  font-weight: 700;
}

/* ----------------------------- */
/* Card List
/* ----------------------------- */
/* 진료소식 */
.board_medical {
  width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.board_medical:after {
  content: "";
  display: block;
  clear: both;
}

.board_medical article {
  float: left;
  width: 23.6111%;
  margin: 0.6944%;
}

.board_medical article a {
  overflow: hidden;
  display: block;
  border: 1px solid #d5d5d5;
  border-radius: 10px;
}

.board_medical article a:hover,
.board_medical article a:focus,
.board_medical article a:active {
  border: 1px solid #1c44c5;
}

.board_medical article .thumb {
  overflow: hidden;
  height: 0;
  padding: 10px 10px 80% 10px;
  /*padding-bottom: 65%;*/
}

.board_medical article p {
  padding: 20px 20px 20px;
  font-size: 1.8rem;
  color: #222;
}

.board_medical article .date {
  font-size: 1.4rem;
  display: inline-block;
  padding: 0 20px 20px;
  color: #888;
}

/*@media screen and (max-width:) {
    .board_medical article {
        float: left;
        width: 23.6111%;
        margin: 0.6944%;
    }
}*/
/* ----------------------------- */
/* Login
/* ----------------------------- */
.login_wrap,
.join_wrap {
  max-width: 600px;
  margin: 20px auto;
}

.login_wrap p,
.join_wrap p {
  margin: 10px 0;
}

.login_wrap input[type=text],
.login_wrap input[type=password],
.join_wrap input[type=text],
.join_wrap input[type=password] {
  width: 100% !important;
}

.login_wrap .button,
.join_wrap .button {
  width: 100%;
}

.login_wrap label {
  text-align: left !important;
}

.login_etcmenu {
  margin-top: 20px;
  font-size: 1.5rem;
  text-align: center;
  border-top: 1px solid #1c44c5;
}

.login_etcmenu a {
  position: relative;
  display: inline-block;
  padding: 20px;
}

.login_etcmenu a:after {
  content: "";
  display: block;
  position: absolute;
  top: 23px;
  right: 0;
  width: 1px;
  height: 18px;
  background: #1c44c5;
}

.login_etcmenu a:last-child:after {
  display: none;
}

.login_wrap .txt_box {
  margin-bottom: 30px;
  height: 400px;
}

.login_wrap .nece {
  margin-left: 20px;
}

.login_wrap input[id=agreement] + label,
.login_wrap input[id=privacy] + label {
  font-family: "NotoM";
  font-size: 1.8rem;
  color: #1c44c5;
}

.login_wrap .btn_wrap,
.join_wrap .btn_wrap {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #1c44c5;
}

.btn_wrap button,
.btn_wrap a {
  margin: 5px 0;
}

/*  Tablet */
@media screen and (max-width: 1024px) {
  /*** 포토형 리스트 ***/
  .photo_list .photo_wrap .photo {
    width: 31.9444%;
  }

  .board_medical article {
    float: left;
    width: 31.9444%;
  }
}
@media screen and (max-width: 768px) {
  .board_view .board_file {
    padding: 1em 10px;
  }

  .board_view .board_content {
    padding: 2em 10px;
  }

  .board_view .board_content img {
    max-width: 100%;
  }

  .search_block select {
    padding: 0 20px 0 0;
  }

  .search_block input {
    width: 150px;
  }

  .search_block button {
    padding: 0 10px;
  }
}
/* Mobile */
@media screen and (max-width: 767px) {
  .board_list .board span {
    vertical-align: middle;
    display: inline-block;
  }

  .board_list .board span.num {
    display: none;
  }

  .board_list .board span.notice_top {
    color: #fff;
    text-align: center;
    line-height: 100%;
    padding: 5px;
    margin-right: 2em;
    background: #ff9c00;
  }

  .board_list .board span.title {
    width: auto;
    font-size: 1.2em;
  }

  .board_list .board span.progress {
    width: 20%;
    font-size: 0.8em;
    text-align: center;
    float: none;
    display: block;
    margin: 0.5em 0 0 0.5em;
    padding: 0 5px;
  }

  .board_list .board span.name {
    width: auto;
    font-size: 0.8em;
    text-align: left;
    float: none;
    display: block;
    padding-left: 0.5em;
  }

  .board_list .board span.date {
    width: auto;
    font-size: 0.8em;
    text-align: left;
    float: none;
    display: block;
    padding-left: 0.5em;
  }

  .board_list .board span.hit {
    width: auto;
    font-size: 0.8em;
    text-align: left;
    float: none;
    display: block;
    padding-left: 0.5em;
  }

  /*** 포토형 리스트 ***/
  .photo_list .photo_wrap .photo {
    width: 98.6111%;
  }

  .board_medical article {
    float: left;
    width: 98.6111%;
  }

  /*** 뷰페이지 ***/
  .board_view .board_title span.title_view {
    width: 100%;
  }

  .board_view .board_title span {
    vertical-align: middle;
    display: inline-block;
  }

  .board_view .board_title span.num {
    display: none;
  }

  .board_view .board_title span.notice_top {
    color: #fff;
    text-align: center;
    line-height: 100%;
    padding: 5px;
    margin-right: 2em;
    background: #ff9c00;
  }

  .board_list .board_title span.title {
    width: 80%;
    font-size: 1.2em;
  }

  .board_view .board_title span.progress {
    width: 20%;
    font-size: 0.8em;
    text-align: center;
    float: none;
    display: block;
    margin: 0.5em 0 0 0.5em;
    padding: 0 5px;
  }

  .board_view .board_title span.name {
    width: auto;
    font-size: 0.8em;
    text-align: left;
    float: none;
    display: block;
  }

  .board_view .board_title span.date {
    width: auto;
    font-size: 0.8em;
    text-align: left;
    float: none;
    display: block;
  }

  .board_view .board_title span.hit {
    width: auto;
    font-size: 0.8em;
    text-align: left;
    float: none;
    display: block;
  }

  .board_view .board_userinfo {
    text-align: left;
  }

  .board_view .board_userinfo span {
    display: block;
    margin: 5px 0;
    font-size: 0.8em;
  }

  .board_view .board_userinfo span:first-child {
    border: none;
  }

  /*** 글쓰기 ***/
  .board_write .board_write_content input[type=text] {
    width: 100%;
  }

  input[type=text]#subject, input[type=text]#homepage {
    width: 100%;
  }

  input[type=text]#email, input[type=text]#email_account {
    width: 30%;
  }

  .board_write .board_write_content label {
    display: none;
  }

  .board_write_content textarea {
    width: 100%;
  }

  .content_radio {
    width: 100%;
  }

  .content_radio label {
    padding-left: 1em;
    margin-right: 3em;
    display: inline-block !important;
  }

  .filebox_wrap {
    width: 100%;
  }

  input.upload-name {
    width: 70%;
  }
}
@media (max-width: 1500px) {
  .contents_wrap {
    max-width: 94%;
    margin: 0 3%;
  }
}
