﻿/* board.css */
/* 사이드뷰 */
.sv_wrap {
  position: relative;
  font-weight: normal;
  font-size: 13px;

  font-weight: 600;
}

.writer i {
  vertical-align: text-top;
}

.writer i.namelevel {
  vertical-align: baseline;
}

#bo_v_info {
  display: flex;
}

#bo_v_info .namelevel {
  top: 4px;
}

.namelevel {
  width: 14px !important;
  height: 14px !important;
  position: relative;
  vertical-align: text-top;
  top: -2.5px;
}

.sv_wrap .sv {
  z-index: 1000;
  display: none;
  margin: 5px 0 0;
  font-size: 0.92em;
  background: #333;
  -webkit-box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.2);
  box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.2);
  left: -20px;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 100;
}

.sv_wrap .sv:before {
  content: '';
  position: absolute;
  top: -6px;
  left: 40px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 6px 6px 6px;
  border-color: transparent transparent #333 transparent;
}

.sv_wrap .sv a {
  display: inline-block;
  margin: 0;
  padding: 0 10px;
  line-height: 30px;
  width: 87px;
  font-weight: normal;
  color: #bbb;
}

.sv_wrap .sv a:hover {
  background: #000;
  color: #fff;
}

.sv_member {
  color: #333;
  display: inline-block;
  max-width: 100px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.sv_on {
  display: block !important;
  position: absolute;
  top: 23px;
  left: 0px;
  width: auto;
  height: auto;
}

.sv_nojs .sv {
  display: block;
}

#bo_list .td_datetime i.fa-star {
  vertical-align: super;
}

/* 페이징 */
.pg_wrap {
  clear: both;
  margin: 32px 0;
  text-align: center
}

.pg_wrap:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: ""
}

.pg {
  display: inline-flex;
  gap: 4px;
  align-items: center
}

.pg .pg_page,
.pg .pg_current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 500;
  vertical-align: middle;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #6b7280;
  border-radius: 8px;
  transition: all 0.2s ease
}

.pg a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  text-decoration: none
}

.pg .pg_page:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  color: #111827
}

.pg .pg_current {
  background: linear-gradient(135deg, #b20088 0%, #d946ef 100%);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(178, 0, 136, 0.2)
}

.pg .pg_start {
  margin-right: 8px
}

.pg .pg_prev {
  margin-right: 4px
}

.pg .pg_end {
  margin-left: 8px
}

.pg .pg_next {
  margin-left: 4px
}

/* cheditor 이슈 */
.cheditor-popup-window *,
.cheditor-popup-window :after,
.cheditor-popup-window :before {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

/* Mobile화면으로 */
#device_change {
  display: block;
  margin: 0.3em;
  padding: 0.5em 0;
  border: 1px solid #eee;
  border-radius: 2em;
  background: #fff;
  color: #000;
  font-size: 2em;
  text-decoration: none;
  text-align: center;
}

.top-menu-wrap {
  display: flex;
  justify-content: space-between;
}

.top-menu-wrap>div {
  padding: 13px 12px;
  line-height: 36px;
}