/*  게시글 리스트  ==================================================================================== */
.board_search						{overflow:hidden; margin-bottom:20px;}
.board_search .ginfo				{float:left; padding:20px 0 0 0; }
.board_search dl					{float:right; width:45%; overflow:hidden;}
.board_search dl dt					{float:left; width:23%; position:relative;}
.board_search select				{width:100%; padding:0 10px; height:48px; vertical-align:top;border:1px solid #ddd;cursor:pointer; }  
.board_search dl dd					{float:right; width:calc(77% - 5px);height:50px;color:#333;line-height:50px;vertical-align:top;}
.board_search .input_form			{box-sizing:border-box; width:calc(100% - 70px); height:48px;color:#666; vertical-align:top;border:1px solid #ddd; padding:0 10px; letter-spacing:-0.75px;}
.board_search .btn					{float:right; border:1px solid #0c284a; background:#0c284a; height:48px; line-height:40px; width:70px; text-align:center; color:#fff; letter-spacing:-1px;}
.board_search .btn:hover			{background:#333;}


/* screen 768 */
@media screen and (max-width:768px) {

	.board_search .ginfo			{float:none; padding:0 0 10px 0;}
	.board_search dl				{float:none; width:100%;}

}

/* screen 580 */
@media screen and (max-width:580px) {

	.board_search dl dt				{float:none; width:100%; margin-bottom:5px;}
	.board_search dl dd				{float:none; width:100%;}

}


.board_category							{text-align:center; margin-bottom:20px;}
.board_category li						{display:inline-block; margin-right:3px;}
.board_category li:last-child			{margin:0;}
.board_category li a					{display:block; background:#f7f7f7; color:#555; padding:5px 15px; border-radius:2px; font-weight:500; }
.board_category li a:hover, .board_category .on a		{background:#f15f22; color:#fff; }


.board_list .content_wrap						    {position:relative; display: grid; grid-template-columns: repeat(3, 1fr); gap:2em; }
.board_list .content_wrap:after					{content:""; display:block; clear:both;}
.board_list .content_wrap li					        {position:relative; width:100%; overflow:hidden;}

.board_list .content_wrap li figure				{position:relative; aspect-ratio:16/9; overflow:hidden; border:1px solid #dfdfdf;}
.board_list .content_wrap li figure img		{width:100%; height:100%; object-fit:cover; transition:all 0.3s;  }
.board_list .content_wrap li:hover figure img			{transform: scale(1.12);   filter: brightness(0.7);   }
.board_list .content_wrap li .txt				    {padding:15px 0 0 0;} 
.board_list .content_wrap li .txt p				{font-size:1.05em;overflow:hidden;   color: #111; font-weight:600;  line-height:1.3;  text-overflow: ellipsis;-o-text-overflow: ellipsis; display:-webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical; word-wrap: break-word; }
.board_list .content_wrap li .txt em			{display:block;font-style:normal; color:#aaa; font-size:0.95em; padding:10px 0; } 
.board_list .content_wrap li .layer				{position: absolute;top:50%;left:50%; width:0;height:0; border-radius:100%;box-shadow: 0px 0px 50px 0px rgba(0, 0, 0, 0.25);transform:translate(-50%, -50%);background:#444; transition:all 0.3s; opacity:0;z-index:1;}  
.board_list .content_wrap li .layer:before		{position:absolute; content:''; left:50%; top:50%; transform:translate(-50%, -50%); width:28px; height:2px; background:#fff; border-radius:5px ;}
.board_list .content_wrap li .layer:after			{position:absolute; content:''; left:50%; top:50%; transform:translate(-50%, -50%); height:28px; width:2px; background:#fff;border-radius:5px ;}
.board_list .content_wrap li:hover .layer		{ opacity:1;width:80px;height:80px;}

.board_list .content_nolist						        {padding:70px 0; text-align:center; border-top:2px solid #5e5e5e; border-bottom:1px solid #dfdfdf;}

.board_list .btn_wrap							            {padding-top:40px; overflow:hidden; }


@media screen and (max-width:768px) { 
	.board_list .content_wrap					{grid-template-columns: repeat(2, 1fr);gap:1.7em;} 
    .board_list .content_wrap li .txt p		{ padding:0 0 ;} 
    .board_list .btn_wrap							{padding-top:30px;   display: grid; grid-template-columns:repeat(1, 1fr); gap:20px;   } 
} 
@media screen and (max-width:520px) { 
	.board_list .content_wrap					{grid-template-columns: repeat(1, 1fr);gap:1.5em;} 
} 


/*  게시글 뷰  ==================================================================================== */
.board_view										    {margin:  auto;}
.board_view .tit_wrap							{padding:30px  ; border-top:1px solid #333; border-bottom:1px solid #dfdfdf;background:#f5f5f5; } 
.board_view .tit_wrap .tit						{font-size:1.6em; letter-spacing:-1px; line-height:140%; COLOR:#333; font-weight:700;padding:0 0 15px 0;} 
.board_view .tit_wrap .tit span					{display:inline-block; padding:0px 10px; height:31px; line-height:31px; color:#ff6600; border:1px solid #ff6600; margin-right:5px; font-size:0.8em; background-color:#fff; }
.board_view .tit_wrap .name						{color:#999;  font-size:0.95em; }
.board_view .tit_wrap .name span				{position:relative; padding-right:23px;}
.board_view .tit_wrap .name span:after			{content:''; position:absolute; top:0; right:12px; bottom:0; width:1px; height:1em; margin:auto; background:#ddd;}
.board_view .tit_wrap .name span:last-child		{padding:0;}
.board_view .tit_wrap .name span:last-child:after{display:none;}

.board_view .content_wrap						    {overflow:hidden;padding:40px 20px; word-break:break-all; min-height:300px; }
.board_view .content_wrap img					{max-width:100%; }


.board_view .video_wrap                            {  position: relative; height: 0;overflow: hidden; padding-bottom: 56.25%; /* 16:9 비율에 맞게 조정 */  border:1px solid #eee;  margin-bottom:30px;} 
.board_view .video_wrap iframe                { position: absolute;  top: 0;    left: 0;    width: 100%;    height: 100%;  }

 
.board_view .btn_wrap							{padding:40px 0 60px 0; text-align:center; overflow:hidden;  }
.board_view .btn_wrap .bbs_btn02				{margin-right:3px;}
 

.board_view .bwrite_cm							{padding-top:20px;}


@media screen and (max-width:1024px) {
	.board_view .tit_wrap						{padding:20px  ;} 
	.board_view .tit_wrap .tit					{font-size:1.25em; padding:0 0 10px 0;}
	.board_view .tit_wrap .name					{font-size:0.85em;}

	.board_view .content_wrap					{padding:30px 10px;}
	.board_view .btn_wrap						{padding:20px 0;}
}

 

/* 뷰페이지 버튼, 이전, 다음글	 ======================================*/ 
.board_view .pn_wrap										{position:relative; display: flex; flex-direction: column; border-bottom:1px solid #ddd; }
.board_view .pn_wrap li.next							{order:1;} 
.board_view .pn_wrap li.prev							{order:2;  }
.board_view .pn_wrap li									{position:relative; font-size:0.9em; border-top:1px solid #ddd;  } 
.board_view .pn_wrap li div,
.board_view .pn_wrap li a								{position:relative;display:block;  color:#555;  display: grid; grid-template-columns:160px auto;  } 
.board_view .pn_wrap li span							{position:relative;display:inline-block;  padding:20px 0 20px 45px;  font-weight:500; color:#222;  transition:all 0.3s ease;}
.board_view .pn_wrap li p								{position:relative;display:inline-block; color:#777;  padding:20px 0;overflow:hidden; text-overflow:ellipsis; white-space:nowrap;  text-overflow:ellipsis; -o-text-overflow:ellipsis;  word-break:break-all;   }
.board_view .pn_wrap li.next::before			{content:''; position:absolute; top:32px; left:20px; border:solid #444; border-width:1px 1px 0 0;  padding:4px; transform: rotate(-45deg); -webkit-transform: rotate(-45deg);} 
.board_view .pn_wrap li.prev::before				{content:''; position:absolute; top:27px; left:20px; border:solid #444; border-width:1px 1px 0 0;  padding:4px; transform: rotate(135deg); -webkit-transform: rotate(135deg);}
.board_view .pn_wrap li a p:hover					{text-decoration:underline; }

.board_view .file_wrap 									{position:relative; padding:20px 0  ;font-size:0.95em; overflow:hidden;  display: grid; grid-template-columns:160px auto;   transition:all 0.3s ease;} 
.board_view .file_wrap .tit								{  padding-left:20px; color:#222;}
.board_view .file_wrap .tit i								{font-size:0.95em; margin-right:10px; color:#444;} 
.board_view .file_wrap li									{position:relative;  font-size:0.9em;color:#888;padding:4px 0 4px 22px; line-height:1.3;  transition:all 0.3s ease;}
.board_view .file_wrap li i								{display:none; }
.board_view .file_wrap li::before					{content:''; position:absolute; left:0; top:6px; width:16px; height:16px; background:url('./icon_down.png') no-repeat 0 0;  }
 
@media screen and (max-width:768px) {  
	.board_view .pn_wrap li div,
	.board_view .pn_wrap li a							{ grid-template-columns:110px auto;  } 
	.board_view .pn_wrap li span						{padding:15px 0 15px 30px; }
	.board_view .pn_wrap li p							{ padding:15px 0; }
	.board_view .pn_wrap li.next::before		{  top:27px; left:10px; padding:3px;}
	.board_view .pn_wrap li.prev::before			{  top:23px; left:10px; padding:3px;} 
	.board_view .file_wrap 								{  padding:15px 0  ;font-size:0.9em; grid-template-columns:110px auto;   }
	.board_view .file_wrap .tit							{  padding-left:5px;}
}
@media screen and (max-width:600px) {   
	.board_view .pn_wrap li div,
	.board_view .pn_wrap li a 							{font-size:0.95em;   grid-template-columns:90px auto;}
	.board_view .pn_wrap li span						{ padding:12px 0 12px 28px;}
	.board_view .pn_wrap li p							{ padding:12px 0  ;  } 
	.board_view .pn_wrap li.next::before		{  top:23px; left:10px;  }
	.board_view .pn_wrap li.prev::before			{  top:19px; left:10px;  } 

	.board_view .file_wrap 								{  padding:12px 5px  ; grid-template-columns:repeat(1, 1fr);  }
	.board_view .file_wrap .tit							{ display:none;}
}
/* 뷰페이지 버튼, 이전, 다음글	 ======================================*/ 



/*  게시글 폼  ==================================================================================== */
.board_form										{margin:40px auto;}
.board_form .tit								{color:#111; font-weight:bold; padding:15px 10px; text-align:center; background-color:#eeeeee; border-top:2px solid #5e5e5e; font-size:1.1em; }
.board_form	table								{border-collapse:collapse; width:100%; table-layout:fixed; }
.board_form table tbody th						{padding:10px 8px; background:#f7f7f7; border:1px solid #ddd;}
.board_form table tbody th:first-child			{border-left:0;}
.board_form table tbody th:last-child			{border-right:0;}
.board_form table tbody th span					{display:block;font-size:0.85em;color:#ec0b0b;}
.board_form table tbody td						{background:#fff; padding:10px ;  word-break:break-all;   border:1px solid #ddd;  } 
.board_form table tbody td:first-child			{border-left:0;}
.board_form table tbody td:last-child			{border-right:0;}
.board_form table tbody tr:hover td				{background:#f9f9f9;}

.board_form .btn_wrap							{padding:40px 0; overflow:hidden; text-align:center; }