@charset "utf-8";

/* 그누보드 */
.msg_sound_only, .sound_only {display:inline-block !important;position:absolute;top:0;left:0;margin:0 !important;padding:0 !important;font-size:0;line-height:0;border:0 !important;overflow:hidden !important}
.btn_admin { display: none; }

/* 캡챠 자동등록(입력)방지 기본 -pc */
#captcha {display:inline-block;position:relative;max-width:none;background:none;text-align:left;}
#captcha legend {position:absolute;margin:0;padding:0;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden;}
#captcha #captcha_img {height:40px;border:1px solid #ccc;vertical-align:top;padding:0;margin:0;border-radius:3px}
#captcha #captcha_mp3 {margin:0;padding:0;width:40px;height:40px;border:0;background:transparent;vertical-align:middle;overflow:hidden;cursor:pointer;background:url('../../../img/captcha2.png') no-repeat;text-indent:-999px;border-radius:3px}
#captcha #captcha_reload {margin:0;padding:0;width:40px;height:40px;border:0;background:transparent;vertical-align:middle;overflow:hidden;cursor:pointer;background:url('../../../img/captcha2.png') no-repeat  0 -40px;text-indent:-999px;border-radius:3px}
#captcha #captcha_key {margin:0 0 0 3px;padding:0 5px;width:90px;height:40px;border:1px solid #ccc;background:#fff;font-size:1.333em;font-weight:bold;text-align:center;border-radius:3px;vertical-align:top}
#captcha #captcha_info {display:block;margin:5px 0 0;font-size:80%;color:#ff0000;letter-spacing:-0.1em}
@media (max-width: 575px) {	#captcha_audio {display:none !important;} }

/* 커스텀 */
:root{
  --bs-font-sans-serif: "Noto Sans KR",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Apple SD Gothic Neo",
    "Malgun Gothic",
    Arial,
    sans-serif;
}

body,
button,
input,
select,
textarea {
  font-family: var(--bs-font-sans-serif);
}
.bg-light{background-color:#f3f4fb !important;}
.blockquote{margin:1rem 0 1rem;}
.container-fluid{max-width: 1200px;}
a { text-decoration: none;color: #333; }
select { font-size: 14px; }

#footer .logo img {	filter: grayscale(1); top: 0px;}

#latest h4 a { color: #000; }
#latest h4 a:hover { text-decoration: none; }
#latest li a { color: #777; }

.pagination { margin-top: 0rem; margin-bottom: 0rem; }

.ck.ck-editor__editable { min-height: 200px !important; }

.btn-group{margin: 10px 0px 20px 0px;}
/*
.dropdown-item { font-size: 1rem; }
.title { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; width: 100%; }
*/
.py-4{padding-top: 0px !important;}
/* CKEditor 기본 높이 */
.ck.ck-editor__editable {
    min-height: 200px !important;
}

.list-group-item{padding: 15px;}
/* 유튜브 반응형 */
#bo_v_con div {
    position: relative;
    padding-top: 56.25%;
    margin-bottom: 1rem;
}

#bo_v_con iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#bo_v_con{border-top: 1px solid#ddd;border-bottom: 1px solid#ddd;padding: 40px 0px;}
.navbar-nav .nav-link.active, .navbar-nav .nav-link.show{color:#dc3545;}
/*게시판 색상*/
.btn-primary{--bs-btn-bg:#dc3545;
    --bs-btn-border-color:#dc3545;
	--bs-btn-hover-bg:#dc3545;
	--bs-btn-hover-border-color:#dc3545;
	--bs-btn-active-bg:#dc3545;
	--bs-btn-active-border-color:#dc3545;
}
.btn-outline-primary{
--bs-btn-color:#dc3545;
--bs-btn-border-color:#dc3545;
}
@media(min-width: 1400px){
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl{
        max-width:1200px;
    }
}
@media(min-width: 1200px){
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl{
        max-width:1200px;
    }
}
.navbar-toggler-icon{width:1.2em;height:1.2em;}
blockquote{margin:1rem 0 1rem;}
.h2, h2{font-size:20px;}
.h3, h3{font-size:20px;}
.h4, h4{font-size:20px;}
/* ✅ 모바일에서만: collapse가 본문을 밀지 않도록 오버레이로 */
@media (max-width: 991.98px){
  header.navbar{
    position: relative;
    margin-bottom: 0 !important; /* mb-4가 있으면 밀림이 더 크게 느껴짐 */
  }

  #TopNavbar{
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 1050;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,.1);
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
  }

  /* collapse 안쪽 여백 약간 */
  #TopNavbar .navbar-nav,
  #TopNavbar form{
    padding: .75rem 1rem;
  }

  /* ✅ 출렁임 원인인 height 애니메이션까지 줄이고 싶으면(선택) */
  .collapsing{ transition: none !important; }
}
