@charset "utf-8";

.pt-20 {padding-top:20px;}
.pt-40 {padding-top:40px;}
.profile_img {display:none !important;}
.kind-select {
    display: inline-block;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem 1.75rem .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    vertical-align: middle;
    background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") right .75rem center/8px 10px no-repeat;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.btn-run01 {background:#3180ff; color:#fff;}
.btn-run02 {background:#aeaeae; color:#fff;}
span.tag {display:inline-block; background:#fff; color:#000; border:1px solid #3180ff;}
/* 모바일 목록 */
@media all and (max-width:767px) {
	.responsive #bo_list .float-left.float-md-none {
		margin-right:1.0rem;
	}
	.responsive #bo_list .na-title {
		margin-bottom:0.14rem;
	}
}

/* 게시판 읽기 */
#bo_v_title {
	font-size:23px;
	font-weight:bold;
	line-height:1.4;
	letter-spacing:-1px;
}
#bo_v_con {
	word-break:break-all;
	overflow:hidden;
}
@media all and (max-width:575px) {
	.responsive #bo_v_title {
		font-size:20px;
		line-height:1.5;
	}

}

#bo_v_con img {
	max-width:100%;
	height:auto;
}
#bo_v_img {
	width:100%;
	text-align:center;
	overflow:hidden;
	zoom:1;
}
#bo_v_img:after {
	display:block;
	visibility:hidden;
	clear:both;
	content:"";
}
#bo_v_img a.view_image {
	display:block;
}
#bo_v_img img {
	margin-bottom:1.0rem;
}

/* 게시판 읽기 : SNS 공유 */
#bo_v_sns_icon { 
	margin:-5px auto; 
}
#bo_v_sns_icon img { 
	width:40px; 
	border-radius:50%; 
	margin:5px;
}

/* 상단만 2% — 마라톤일정과 상태배지 사이 여백 절반(기존 4%→2%) */
#bo_v_runinfo {background:#fff; border-radius:6px; overflow:hidden; padding:2% 4% 4% 4%;}
/* ul 하단 margin 20px→기존 24px보다 약간만 줄여 박스 간 간격 확보 */
#bo_v_runinfo ul {padding: 0 0 8px 0; margin:20px 0; border:none; background:#fff; border-radius: 6px; box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);}
#bo_v_runinfo ul:last-child { margin-bottom: 0; padding-bottom: 0; }
#bo_v_runinfo li {font-size:1.2em; display:flex; justify-content:flex-start; align-items: center;margin:0; padding:4px 24px;}
#bo_v_runinfo li.top {margin-top:0; padding:4px 24px 8px 32px; font-weight:600}
#bo_v_runinfo ul:before {display:block; clear:both; height:3px; width:80px; background:#007bff; overflow:hidden; content:"";margin-left:24px;}
#bo_v_runinfo li.gubun {height:1px; overflow:hidden; background:#dfdfdf;}
#bo_v_runinfo li span.label {padding:0 0 0 16px; flex:0 0 120px;background:#f6f6f6; border-radius:4px; color:#000; margin-right:4px; font-size:1rem; line-height:29px; height:29px;}
#bo_v_runinfo li span.con {padding:4px 4px 4px 8px; font-size:1rem;}
#bo_v_runinfo li.course span.con {color:#007bff; font-weight:bold;}
/* 이모지 아이콘 고정 너비 — 이모지 크기 차이로 인한 텍스트 정렬 불일치 방지 */
#bo_v_runinfo li span.label .vi { display:inline-block; width:1.4em; text-align:center; }
#bo_v_runinfo span.temp-low { color: #0284c7 !important; font-weight: bold; }
#bo_v_runinfo span.temp-high { color: #ea580c !important; font-weight: bold; }

/* 대회 상세 하단 내부 링크 블록 (PC 전용) — 김러닝 블루 #3180ff
   #bo_v_runinfo가 padding:4%로 내부 카드를 들이는 것과 달리,
   이 블록은 박스 자체를 margin으로 좁혀 동일한 시각 너비를 맞춤
   위아래 여백은 좌우처럼 얇게 */
/* 상세 본문(#bo_v_runinfo)과 동일한 폰트 상속 */
/* 회색 박스 제거 — 카드만 노출, 위아래 회색 여백 제거 */
.bo_v_inner_links { background: transparent; padding: 0 1rem; margin-top: 0.25rem; margin-bottom: 0.75rem; font-family: inherit; font-size: 1rem; }
@media (min-width: 768px) {
	.bo_v_inner_links { margin-left: 4%; margin-right: 4%; }
}
/* bo_v_runinfo margin-bottom과 bo_v_btns_row padding-top은 HTML에서 직접 제어(Bootstrap !important 충돌 방지) */
/* 카드 */
/* 위 운영정보(#bo_v_runinfo ul) 박스와 동일한 음영 */
.bo_v_inner_card { background: #fff; border-radius: 10px; box-shadow: 0 0 6px rgba(0, 0, 0, 0.1); padding: 1rem 1.25rem; }
.bo_v_inner_card_title_row { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.5rem; }
/* 제목: flex + 아이콘 너비 고정 1.5rem — 이모지별 자연 너비 차이를 고정 너비로 흡수 */
.bo_v_inner_card .bo_v_inner_card_title { display: flex; align-items: center; gap: 0.35rem; font-size: 1.05rem; font-weight: 600; margin: 0; padding: 0; color: #333; line-height: 1.4; }
/* 아이콘 왼쪽 정렬 — 이모지별 시각적 너비 차이로 오른쪽 치우침 방지, 마라톤 준비물과 동일한 시작선 */
.bo_v_inner_card .bo_v_inner_card_title .vi { display: inline-block; flex-shrink: 0; width: 1.5rem; text-align: left; line-height: 1; }
.bo_v_inner_list { padding-left: 0; }
/* 하단 본문 = 상세페이지 span.con(항목 값)과 동일: 1rem, regular */
.bo_v_inner_item { padding: 0.4rem 0; border-bottom: 1px solid #eee; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.35rem; font-family: inherit; font-size: 1rem; font-weight: 400; }
.bo_v_inner_item:last-child { border-bottom: none; }
.bo_v_inner_item a { color: #333; text-decoration: none; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 400; }
.bo_v_inner_item a:hover { color: #3180ff; text-decoration: underline; }
.bo_v_inner_badge { font-size: 0.875rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 6px; background: #eaf2ff; color: #3180ff; flex-shrink: 0; font-family: inherit; }
.bo_v_inner_item:first-child .bo_v_inner_badge { background: #3180ff; color: #fff; }
.bo_v_inner_more { font-size: 1rem; font-weight: 700; color: #3180ff; flex-shrink: 0; }
.bo_v_inner_more:hover { text-decoration: underline; }
.bo_v_inner_desc { font-size: 1rem; font-weight: 400; color: #555; line-height: 1.45; margin: 0; }
.bo_v_inner_cta { font-size: 1rem; font-weight: 700; color: #3180ff; }
.bo_v_inner_cta:hover { text-decoration: underline; }

.text-date {font-weight:600; font-family:'Roboto'; font-size:1.2em; line-height:110%;padding:8px 16px; color:#000;}
.text-date span {font-weight:400; font-size:0.7em; color:#4d4d4d }
#bo_list .na-title .na-subject {line-height:120%;  }
#bo_list .na-item .na-subject {font-size:1.3em;font-weight:600}
#bo_list .na-title .na-subject .na-info {font-size:0.75em; font-weight:400; display:inline-block; padding:2px 0; margin:0; line-height:100%;color:#4d4d4d}
#bo_list .na-title .na-subject .na-info.na-distance { color: #007bff; font-weight: 600; }

.text-between .date {font-size:1em; font-weight:600; color:#000; font-family:'Roboto'}
.text-between .date.date-bold { font-weight: 700; }
.text-between .info {font-size:0.9em; color:#4d4d4d;}
select {border:1px solid #dfdfdf; padding:8px 12px;}

#bo_list ul.na-table {
    border-top: none;
    border-collapse: separate;
    border-spacing: 0 12px;
}
#bo_list ul.na-table > li.bo-list-card {
    background: transparent;
}
/* 테이블 행은 border-radius 미지원 → 셀에 테두리+라운드 적용 */
#bo_list ul.na-table > li.bo-list-card > div.d-md-table-cell:first-child {
    width: 12rem;
    max-width: 12rem;
    border: 1px solid #e0e0e0;
    border-right: none;
    border-radius: 10px 0 0 10px;
    background: #f5f7fa;
    padding-left: 10px;
    padding-right: 10px;
}
#bo_list ul.na-table > li.bo-list-card > div.d-md-table-cell:first-child .text-date {
    padding: 8px 8px 8px 4px;
}
#bo_list ul.na-table > li.bo-list-card > div.d-md-table-cell:nth-child(2) {
    border: 1px solid #e0e0e0;
    border-left: 1px solid #e0e0e0;
    border-right: none;
    background: #fff;
    padding-left: 14px;
}
#bo_list ul.na-table > li.bo-list-card > div.d-md-table-cell:nth-child(3) {
    border: 1px solid #e0e0e0;
    border-left: none;
    border-radius: 0 10px 10px 0;
    background: #fff;
}
#bo_list ul.na-table > li.bo-list-card > div.clearfix {
    border: none;
    background: transparent;
}
#bo_list ul.na-table > li.bo-list-card:hover > div.d-md-table-cell:first-child,
#bo_list ul.na-table > li.bo-list-card:hover > div.d-md-table-cell:nth-child(2),
#bo_list ul.na-table > li.bo-list-card:hover > div.d-md-table-cell:nth-child(3) {
    background: #f5f8fc;
}

/* 게시판 댓글 : 내용 */
.cmt-reply {
	top:0;
	left:-16px;
}
.by-writer { 
	background:#fbefef !important;
	border-top:1px solid #f6cece !important;
}
.cmt-content {
	word-break:break-all;
	overflow:hidden;
}
.cmt-content img {
	max-width:100%;
	height:auto;
}

/* 게시판 댓글 : 대댓글, 수정, 삭제 */
.cmt-btn ul { 
	list-style: none; 
	margin: 0; 
}
.cmt-btn ul > li { 
	float: left; 
	font-size:12px;
	padding: 0 10px; 
}
.cmt-btn ul > li::before { 
	float: left; 
	color:#ccc; 
	content: "|"; 
	margin-left:-12px;
}
.cmt-btn ul > li:last-child { 
	padding-right:0;
}
.cmt-btn ul > li:first-child::before, 
.cmt-btn ul > li.no-bar::before { 
	content: ""; 
	margin-left:0; 
}
.cmt-btn ul > li > a { 
	float:left;
	color:#888;
	white-space:nowrap;	
}

/* 게시판 댓글 : 쓰기폼 */
#fviewcomment #wr_content { 
	resize:none; 
}

.cmt-best .cmt-header {background:#eaf2ff; border-top:1px solid #3180ff}
span.best {background:#3180ff; color:#ffffff; font-size:11px; display:inline-block;  padding:1px 4px; margin-bottom:4px;}
@media all and (max-width:575px) {
	.responsive .cmt-box {
		border-right:0 !important;
	}
	.responsive #bo_vc_w .cmt-box {
		border-left:0 !important;
		border-radius:0 !important;
	}
	.responsive #bo_vc_login {
		border-left:0 !important;
		border-right:0 !important;
		border-radius:0 !important;
	}
}

/* 게시판 댓글 : SNS 등록 */
#bo_vc_opt ol {	
	margin:0;
	padding:0;
	list-style:none;
	zoom:1; 
	background:#ccc;
	border-radius:3px;
}
#bo_vc_opt ol:after { 
	display:block;
	visibility:hidden;
	clear:both;
	content:""; 
}
#bo_vc_opt ol li { 
	float:left;
	margin:0; 
}
#bo_vc_send_sns ul { 
	margin:0;
	padding:0;
	list-style:none;
	zoom:1; 
}
#bo_vc_send_sns ul:after { 
	display:block;
	visibility:hidden;
	clear:both;
	content:""; 
}
#bo_vc_send_sns ul li {	
	float:left;
	margin:0 1.0rem 0 0;
}
#bo_vc_send_sns input {	
	margin:0 0 0 0.5rem;
}

/* 게시판 쓰기 */
#bo_w .list-group-item {
	padding-left:0;
	padding-right:0;
	border-left:0;
	border-right:0;
}
#bo_w #wr_content { 
	margin-bottom:1.0rem !important;
}
@media all and (max-width:575px) {
	#bo_w .list-group-item {
		padding-left:1.0rem;
		padding-right:1.0rem;
	}
	.responsive #bo_w #wr_content {
		max-height:160px !important;
	}
}

/* PC 캘린더 상단 네비게이션 */
.nav-month {
	font-size:1.6rem;
	font-weight:600;
	text-align:center;
	padding:12px 0 16px;
	display:flex;
	align-items:center;
	justify-content:center;
	gap:16px;
}
#next, #prev {
	cursor:pointer;
	background:#ffffff;
	border:1px solid #dee2e6;
	width:34px;
	height:34px;
	border-radius:50%;
	padding:0;
	margin:0;
	line-height:1;
	display:flex;
	align-items:center;
	justify-content:center;
	color:#495057;
	box-shadow:0 1px 2px rgba(0,0,0,0.04);
}
#next:hover, #prev:hover {
	background:#007bff;
	color:#ffffff;
	border-color:#007bff;
}

/* PC 캘린더 컨테이너 */
#calendar {
	background:#ffffff;
	border-radius:0;
	box-shadow:0 2px 8px rgba(0,0,0,0.06);
	overflow:hidden;
	padding:8px 6px 12px;
}
#calendar .fc-scrollgrid {
	border-radius:0;
}

/* PC 요일 헤더 */
#calendar .fc-col-header-cell-cushion {
	padding:10px 6px;
	font-size:0.9rem;
	font-weight:700;
	color:#333;
}

/* PC 날짜 숫자 가독성 강화 (러닝뉴스와 동일 #333) */
#calendar .fc-daygrid-day-number {
	font-size:0.9rem;
	font-weight:500;
	color:#333;
}

/* 오늘 날짜 강조 (PC) */
#calendar .fc-day-today {
	background:#fff8e6;
}
#calendar .fc-day-today .fc-daygrid-day-number {
	font-weight:700;
	color:#d9480f;
}

/* 마라톤 캘린더: 컨테이너만 라운드, 이벤트 박스는 사각 (PC) */
#calendar .fc-event { border-radius: 0; }
#calendar .fc-event .fc-event-main { border-radius: 0; }

/* PC에서만 대회명 2줄 표시 + 카드 스타일 (모바일은 미적용) */
@media (min-width: 768px) {
	#calendar .fc-event .fc-event-main,
	#calendar .fc-event .fc-event-title {
		white-space: normal;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		line-height: 1.3;
	}

	/* PC DayGrid 이벤트 카드 스타일 */
	#calendar .fc-daygrid-event {
		margin:2px 3px;
		padding:4px 6px;
		border-radius:6px;
		border:1px solid #b6c8ff;
		background:#edf2ff;
		color:#333;
		font-size:0.85rem;
		opacity:1 !important;
	}
	#calendar .fc-daygrid-event:hover {
		background:#dde7ff;
		border-color:#9db5ff;
		cursor:pointer;
	}
	#calendar .fc-daygrid-event .fc-event-time {
		display:none;
	}
	#calendar .fc-daygrid-event .fc-event-title {
		font-weight:600;
	}
}

/* PC: 대회명 텍스트 색을 러닝뉴스와 동일(#333)으로 통일 */
@media (min-width: 768px) {
	#calendar .fc-daygrid-event,
	#calendar .fc-daygrid-event .fc-event-title,
	#calendar .fc-daygrid-event .fc-event-main {
		color:#333 !important;
	}
}

/* 모바일·태블릿(991px 이하): 날짜 칸에 이벤트 숨기고 "대회 N개" 배지만 표시, 터치 시 리스트 패널 */
@media (max-width: 991px) {
	#calendar .fc-daygrid-day-frame .fc-daygrid-day-events,
	#calendar .fc-daygrid-day-events,
	#calendar .fc-daygrid-event,
	#calendar .fc-event {
		display: none !important;
	}
	#calendar .fc-mobile-event-count {
		display: block;
		font-size: 0.7rem;
		color: #007bff;
		font-weight: 600;
		margin-top: 2px;
		line-height: 1.2;
	}
	.calendar-day-events {
		display: none;
		background: #fff;
		border: 1px solid #e0e0e0;
		border-radius: 8px;
		margin-top: 12px;
		padding: 12px;
		box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	}
	.calendar-day-events.is-open {
		display: block;
	}
	.calendar-day-events-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 10px;
		padding-bottom: 8px;
		border-bottom: 1px solid #eee;
	}
	.calendar-day-events-title { font-size: 1rem; margin: 0; }
	.calendar-day-events-close {
		background: none;
		border: none;
		font-size: 1.4rem;
		line-height: 1;
		color: #666;
		padding: 4px 8px;
		cursor: pointer;
	}
	.calendar-day-events-list {
		display: flex;
		flex-direction: column;
		gap: 6px;
	}
	.calendar-day-events-list .calendar-day-event-item {
		display: block;
		padding: 10px 12px;
		background: #f5f7fa;
		border-radius: 6px;
		color: #1e293b;
		text-decoration: none;
		font-size: 0.95rem;
		line-height: 1.3;
	}
	.calendar-day-events-list .calendar-day-event-item:hover,
	.calendar-day-events-list .calendar-day-event-item:focus {
		background: #e8eef5;
		color: #007bff;
	}
}

/* PC(데스크톱)에서는 모바일용 하단 대회 리스트 패널 숨김 */
@media (min-width: 992px) {
	.calendar-day-events {
		display:none !important;
	}
}

.sch-wrap .row {display: flex; justify-content: center; align-items: center; border-bottom:1px solid #ccc; padding:8px 0 4px 0}
.sch-wrap .row .label {flex:0 0 120px;}
.sch-wrap .row .con-wrap {flex: 1 1;}
.sch-wrap .row .con-wrap input[type="radio"] {width:0; height:0; overflow: hidden;}
.sch-wrap .row .con-wrap input[type="radio"] + label {display:inline-block; padding:4px 8px; background: #fff; border: 1px solid #ccc;border-radius:2px;}
.sch-wrap .row .con-wrap input[type="radio"]:checked + label {background:#007bff; color:#fff;}
.btn-search {background:#007bff; border:1px solid #007bff; color:#fff; border-radius:2px; margin:4px auto; padding:8px 16px;font-size:1.4em;}


.state {display:inline-block; font-size:14px; padding:4px 8px 2px 8px;margin:4px 0 ;border-radius:4px;color:#ffffff !important;font-weight:400}
.state-0 {background:#5C75FE;}
.state-1 {background:#44A466;}
.state-2 {background:#91ACCE;}
.state-today {background:#44A466;}
.state-3 {background:#AFAFAB;}
.state-4 {background:#e85d04;}

.flex-button {padding:16px 0}
.flex-button:after {display:block; clear:both; content:"";}
.btn-website {width:48%; margin:0 2% 0 0 ; text-align:center; display:inline-block; float:left; color:#ffffff; background:#007BFF; border-radius:8px;  height:38px; line-height:38px;}
.btn-website:hover, .btn-website:active, .btn-website:focus {background:#006DE6; color:#ffffff}
.btn-website span {display: inline-block;}

.btn-website.disabled {background:#efefef; color:#aeaeae;}
.btn-website.disabled:hover {background:#dfdfdf; color:#aeaeae;}


.btn-link-share {position:relative;width:48%; margin:0 0 0 2%; text-align:center; display:inline-block; float:right;  border:none; background:#E6E6E6; color:#000; border-radius:8px;  height:38px; line-height:38px;}
.btn-link-share:hover, .btn-link-share:active, .btn-link-share:focus {color:#000; background:#d0d0d0;}
.btn-link-share span {display: inline-block;}
.clipboard_tooltip {position:absolute; width:100px; left:50%; margin-left:-50px;}
#map {width:100%; height:250px; padding:24px;}

/* PC 다가오는 접수 시작 */
.upcoming-registration-pc .upcoming-reg-header {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 10px;
}
.upcoming-registration-pc .upcoming-reg-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #e85d04;
    font-size: 1.05rem;
    line-height: 1;
}
.upcoming-registration-pc .upcoming-reg-title { margin: 0; font-size: 1.1rem; font-weight: 600; flex: 1; color: #1e293b; }
.upcoming-registration-pc .upcoming-reg-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}
.upcoming-registration-pc .upcoming-reg-nav .upcoming-reg-prev,
.upcoming-registration-pc .upcoming-reg-nav .upcoming-reg-next {
    width: 26px;
    height: 26px;
    min-width: 26px;
    min-height: 26px;
    padding: 0;
    border: 1px solid #ddd;
    background: #f5f5f5;
    color: #555;
    cursor: pointer;
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, color .2s, border-color .2s;
}
.upcoming-registration-pc .upcoming-reg-nav .upcoming-reg-prev:hover,
.upcoming-registration-pc .upcoming-reg-nav .upcoming-reg-next:hover {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}
.upcoming-registration-pc .upcoming-reg-wrap {
    position: relative;
}
.upcoming-registration-pc .upcoming-reg-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 12px;
    width: 100%;
}
.upcoming-registration-pc .upcoming-reg-inner {
    display: flex;
    gap: 12px;
    width: max-content;
}
.upcoming-registration-pc .upcoming-card {
    flex: 0 0 220px;
    min-width: 220px;
    min-height: 128px;
    padding: 10px;
    background: #f5f5f5;
    border: 1px dashed #ccc;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.upcoming-registration-pc .upcoming-card-tag {
    display: inline-block;
    padding: 2px 8px;
    background: #e85d04;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    width: fit-content;
}
.upcoming-registration-pc .upcoming-card-subject {
    flex: 1;
    min-height: 0;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    color: #1e293b;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.upcoming-registration-pc .upcoming-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
}
.upcoming-registration-pc .upcoming-card-period { margin: 0; font-size: 0.9rem; color: #555; flex: 1; min-width: 0; }
.upcoming-registration-pc .upcoming-card-btn {
    display: inline-block;
    flex-shrink: 0;
    padding: 5px 10px;
    background: #007bff;
    color: #fff;
    font-size: 0.8rem;
    text-align: center;
    border-radius: 4px;
    text-decoration: none;
}
.upcoming-registration-pc .upcoming-card-btn:hover,
.upcoming-registration-pc .upcoming-card-btn:focus { color: #fff; opacity: 0.9; }