#bo_wrap {
    clear: both;
    margin-top: 40px;
    width: 100%;
    display: block;
}

#bo_top {
	margin: 10px 0;
}

.brand-list-table {
    width:100%;
    border-collapse:collapse;
	font-size:15px;
}

.brand-list-table th {
    background: #f0f0f0;
    border: 1px solid #e6e6e6;
    border-top: 2px solid #333 !important;
    border-bottom: 1px solid #ccc;
    padding: 10px;
    font-size: 15px;
    font-weight: 600 !important;
}

.brand-list-table th,
.brand-list-table td {
    border:1px solid #ddd;
    padding:10px;
    text-align:center;
}

.brand-list-table td {
    color: #666;
}

.brand-list-table a {
    color: #666;
    text-decoration: none;
}

.brand-table {
    width:100%;
    border-collapse:collapse;
	font-size:15px;
}

.brand-table th {
    background: #f0f0f0;
    border: 1px solid #e6e6e6;
    border-top: 2px solid #333;
    border-bottom: 1px solid #ccc;
    padding: 10px;
    font-size: 15px;
    font-weight: 600 !important;
}

.brand-table th,
.brand-table td {
    border:1px solid #ddd;
    padding:10px;
    text-align:center;
}

.pagination {
    text-align:center;
    margin:20px 0;
}

.pagination a {
    display:inline-block;
    padding:6px 10px;
    margin:0 2px;
    border:1px solid #ccc;
}

.pagination a.active {
    background:#c62828;
    color:#fff;
}

.btn-register-b {
    background: #8b4513;
    color: #fff;
    font-size: 15px;
	border:0px !important;
    padding: 5px 25px;
	border-radius:20px;
    font-weight: 600 !important;
}

.btn-register-admin {
    background: #363434;
    color: #fff;
    font-size: 15px;
	border:0px !important;
    padding: 5px 25px;
	padding: 8px 15px;
    font-weight: 600 !important;
}

.btn-register {
    background: #8b4513;
    color: #fff;
    font-size: 15px;
	border:0px !important;
    padding: 8px 15px;
    font-weight: 600 !important;
}

.btn-register-del {
    background: red;
    color: #fff;
    font-size: 15px;
	border:0px !important;
    padding: 8px 15px;
    font-weight: 600 !important;
}

.btn-cancel {
    background:#777;
    color:#fff;
    padding:8px 15px;
	font-size:15px;
	border:0px !important;
}

.frm_input {
	border: 1px solid #d0d3db;
    background: #fff;
    color: #000;
    vertical-align: middle;
    border-radius: 3px;
    padding: 5px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

.board-search-wrap {
	margin-top:40px;
    width: 100%;
    background: #f5f5f5;
    padding: 15px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.search-label {
    height: 38px;
    line-height: 38px;
    display: inline-block;
}

.search-label {
    font-weight: 600;
    color: #333;
    min-width: 25px !important;
}

#stx {
	width:70% !important;
}

.board-search-form {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.board-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.board-search-form * {
    box-sizing: border-box;
}

.search-input {
    flex: 1;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.search-btn {
    border-radius: 0;
}

.search-btn,
.search-reset {
    width:38px;
    height:38px;
    border:none;
    background:#666;
    color:#fff;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-left:3px;
}

.search-reset {
    background:#888;
}

.search-btn:hover,
.search-reset:hover {
    background:#444;
}


.board-search-form{
    width:100%;
}

.date-search-group{
    display:flex;
    flex-direction:column;
    align-items:center;
    width:100%;
}

.date-search-group > div:first-child{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:5px;
}

.sop-wrap{
    width:100%;
    margin-top:10px;

    display:flex;
    justify-content:center;   /* 가로 가운데 */
    align-items:center;       /* 세로 가운데 */
    gap:5px;
}

.sop-wrap label{
    display:flex;
    align-items:center;
    gap:5px;
    cursor:pointer;
    font-size:14px;
}

.sop-wrap input[type=radio]{
    margin:0;
}


input[type=text], input[type=password], textarea {
    -webkit-transition: all 0.30s 
ease-in-out;
    -moz-transition: all 0.30s ease-in-out;
    -ms-transition: all 0.30s ease-in-out;
    -o-transition: all 0.30s ease-in-out;
    outline: none;
}


.total-count {
	margin-top: 25px;
    font-size: 15px;
	padding-bottom:5px;
    border-bottom:1px solid #797979;
}



/* ===== 그누보드 CSS 차단 ===== */
.mapil-container * {
    box-sizing: border-box;
}
.mapil-container ul,
.mapil-container li {
    margin: 0;
    padding: 0;
    list-style: none;
}
.mapil-container a {
    color: inherit;
    text-decoration: none;
}
.mapil-container img {
    display: block;
    max-width: 100%;
}

/* ===== 레이아웃 ===== */
.mapil-container{
    max-width:1100px;
	width:100%;
    padding-left: 46px;
	padding-top: 30px;
    font-family:'Noto Sans KR', sans-serif;
}

.page-title{
    font-size:22px;
    font-weight:700;
    border-bottom:2px solid #333;
    padding-bottom:10px;
    margin-bottom:15px;
}

.total-count{
    font-size:15px;
    margin-bottom:25px;
}
.total-count strong{
    color:#d90000;
}

/* ===== 카드 리스트 ===== */
.sale-list{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:26px;
}

.sale-item{
    border:1px solid #ddd;
    background:#fff;
    transition:.2s;
}

.sale-item:hover{
    transform:translateY(-3px);
    box-shadow:0 4px 12px rgba(0,0,0,.12);
}

/* ===== 이미지 ===== */
.thumb{
    position:relative;
    height:210px;
    overflow:hidden;
    background:#f2f2f2;
}
.thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.badge{
    position:absolute;
    top:10px;
    left:10px;
    background:#1e73be;
    color:#fff;
    font-size:13px;
    padding:4px 8px;
}

/* ===== 정보 ===== */
.info{
    padding:20px;
}

.horse-no{
	float:left;
    font-size:19px;
    font-weight:700;
    color:#d90000;
	margin:3px 0;
}

.horse-name {
    float: left;
    padding-left: 5px;
    font-size: 19px;
    font-weight: 600;
    margin: 3px 0 15px;
}

.price{
	clear:both;
    font-size:19px;
    font-weight:700;
    color:#3a3b3c;
    margin-bottom:20px;
}

.spec li{
    font-size:15px;
	font-weight:500;
    line-height:1.6;
    color:#555;
}

/* ===== 페이징 ===== */
.pagination{
    margin-top:40px;
    text-align:center;
}
.pagination a{
    display:inline-block;
    min-width:30px;
    padding:6px 10px;
    border:1px solid #ccc;
    margin:0 2px;
}
.pagination a.active{
    background:#c62828;
    color:#fff;
    border-color:#c62828;
}

/* ===== 데이터 없음 ===== */
.no-data{
    grid-column:1 / -1;
    text-align:center;
    padding:50px;
    color:#777;
}

.page-header {
border-bottom:2px solid #444;
margin-bottom:30px;
}
.page-header h2 {
font-size:26px;
margin:0;
}
.breadcrumb {
font-size:13px;
color:#888;
text-align:right;
}


.section-title {
display:flex;
align-items:center;
margin:20px 0 10px;
}
.section-title h3 {
font-size:18px;
margin-left:8px;
}


.intro-box {
padding:15px;
}


.info-table {
width:100%;
border-collapse:collapse;
}
.info-table th {
background:#f5f5f5;
border:1px solid #ddd;
padding:10px;
}
.info-table td {
border:1px solid #ddd;
padding:10px;
}
.info-table td:first-child {
text-align:center;
width:20%;
background:#fafafa;
}


.file-link {
color:#0066cc;
margin-left:10px;
}

#bo_list_wrap {
margin-top:40px;
}


.list-header {
margin-bottom:10px;
}
.list-header .red {
color:red;
}


.board-table {
width:100%;
border-collapse:collapse;
}
.board-table th {
	background:#f0f0f0;
	border:1px solid #e6e6e6;
	border-top:2px solid #333;
	border-bottom:1px solid #ccc;
	padding:10px;
	font-size:15px;
	font-weight:600 !important;
}
.board-table td {
	border:1px solid #e6e6e6;
	border-bottom:1px solid #e0e0e0;
	padding:10px !important;
	text-align:center;
	font-size:1em !important;
}
.board-table td.left {
text-align:left;
}


.file {
display:inline-block;
width:16px;
height:16px;
background:url('/img/icon_file.png') no-repeat center;
}


.pagination {
text-align:center;
margin:20px 0;
}
.pagination a {
display:inline-block;
padding:6px 10px;
border:1px solid #ddd;
margin:0 2px;
}
.pagination .active {
background:#e60012;
color:#fff;
border-color:#e60012;
}


.btn-area {
text-align:right;
}
.btn-apply {
display:inline-block;
background:#0b5ed7;
color:#fff;
padding:10px 25px;
border-radius:20px;
font-weight:600;
}

/* 붙임서류 다운로드 버튼 */
.btn_attach_download {
    display: inline-block;
    padding: 12px 66px;
    background-color: #1f5e9c;   /* 캡처와 동일 */
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    transition: background-color 0.2s ease;
}

/* hover */
.btn_attach_download:hover {
    background-color: #174b7c;
    color: #ffffff;
}

/* 검색 영역 */
.board-search-wrap {
    width: 100%;
    background: #f5f5f5;
    padding: 15px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.board-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-label {
    font-weight: 600;
    color: #333;
    min-width: 50px;
}

.search-input {
    flex: 1;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.search-btn,
.search-reset {
    width: 38px;
    height: 38px;
    border: none;
    background: #666;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-reset {
    background: #999;
}

.search-btn:hover,
.search-reset:hover {
    background: #333;
}

/* ===== 검색 영역 버튼 쏠림 완전 해결 ===== */

.board-search-form {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;          /* 줄바꿈 방지 */
}

.board-search-form * {
    box-sizing: border-box;
}

/* label */
.search-label {
    height: 38px;
    line-height: 38px;
    display: inline-block;
}

/* input */
.search-input {
    height: 38px;
    line-height: 38px;
    vertical-align: middle;
}

/* button / a 공통 */
.search-btn,
.search-reset {
    height: 38px;
    line-height: 38px;
    padding: 0;
    display: inline-flex;       /* 핵심 */
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

/* button 기본 스타일 제거 */
.search-btn {
    border-radius: 0;
}

/* a 태그 버튼화 */
.search-reset {
    text-decoration: none;
}




/* =========================
   BRAND TABLE – 기준 UI
========================= */
.brand-table,
.brand-ui table {
    width: 100%;
    border-collapse: collapse;
    border-top: 2px solid #333;
    margin-bottom: 20px;
}

.brand-table th,
.brand-ui table th {
    width: 20%;
    padding: 12px 14px;
    background: #f7f7f7;
    border-bottom: 1px solid #ddd;
    font-weight: 600;
    text-align: center;
	font-size: 16px;
}

.brand-table td,
.brand-ui table td {
    border-bottom: 1px solid #ddd;
    text-align: left;
    color: #333;
	font-size: 16px;
}

/* 제목형 row */
.brand-ui .brand-title th {
    background: #eee;
    font-size: 16px;
    text-align: left;
}

/* 버튼 영역 */
.brand-ui-btn {
    margin-top: 20px;
    text-align: center;
}

.brand-ui-btn a {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 4px;
    margin: 0 5px;
}

.btn-register {
    background: #333;
    color: #fff;
}

.btn-cancel {
    background: #aaa;
    color: #fff;
}

/* 제목 + 임시저장 버튼 한 줄 정렬 */
#autosave_wrapper {
    display: flex;
    align-items: center;
    gap: 8px;                 /* 제목과 버튼 간격 */
}

/* 제목 입력창은 최대 너비 사용 */
#autosave_wrapper input#wr_subject {
    flex: 1;
}

/* 임시 저장 버튼 줄바꿈 방지 */
#btn_autosave {
    white-space: nowrap;
}

.btn-register-b {
    background: #8b4513;
    color: #fff;
    font-size: 15px;
	border:0px !important;
    padding: 5px 25px;
	border-radius:20px;
    font-weight: 600 !important;
}