/* 폰트 변경 */

@import url('https://fonts.googleapis.com/css?family=Nanum+Gothic:400,700&subset=korean');
body,h1,h2,h3,h4,h5,h6,li,a,textarea,p,span,dl,dt,dd,td,th,button,strong,label,input { font-family: 'Nanum Gothic','Open Sans',dashicons, IcoMoon !important; }

/* 첫번째 세션 이미지 크기 조절 */
.section_latest .tg-module-wrapper .tg-col-control:nth-of-type(1) .tg_module_grid img{
	aspect-ratio: 1.438;
}
.section_latest .tg-module-wrapper .tg-col-control:nth-of-type(2) .tg_module_grid:nth-of-type(1) img{
	aspect-ratio: 2.904;
}
.section_latest .tg-module-wrapper .tg-col-control:nth-of-type(2) .tg_module_grid:nth-of-type(2) img, .section_latest .tg-module-wrapper .tg-col-control:nth-of-type(2) .tg_module_grid:nth-of-type(3) img{
	aspect-ratio: 1.44;
}

/* Load More 이미지 부분 */
.alm-listing>li.alm-item img{
	aspect-ratio: 1.44;
	width: 100%;
}

/* 두번째 세션 이미지 크기 조절 */
.section_notable .tg-module-wrapper .tg-col-control .tg-module-thumb img
{
	aspect-ratio: 1.4389;
}

/* 세번째 세션 이미지 크기 조절 */
.section_card_part1 .tg-module-wrapper .tg-col-control .tg-module-thumb img{
	aspect-ratio: 1.4389;
}

/* 네번째 세션 이미지 크기 조절 */
.section_card_part2 .tg-module-wrapper .tg-col-control .tg-module-thumb img{
	aspect-ratio: 1.4389;
}

/* h1, h3 title style */
.section_notable .module-title, .section_card_part1 .module-title, .section_card_part2 .module-title, .section_card_part3 .module-title{
	border-bottom-color: #000000 !important;
	font-weight: bold !important;
	font-size: 2.5rem !important;
}
.section_notable .module-title span, .section_card_part1 .module-title span, .section_card_part2 .module-title span, .section_card_part3 .module-title span, .cm-featured-posts .cm-widget-title span, .cm-secondary .cm-widget-title span {
	background-color: #FFFFFF !important;
	color: #000000 !important;
}
/* h1, h3 title border */
.cm-secondary .cm-widget-title{
	border: none;
}



/* Hide auther name and comments */
.elementor .tg-module-wrapper .tg-module-meta .tg-post-auther-name, .elementor .tg-module-wrapper .tg-module-meta .tg-module-comments, .cm-author{
	display: none;
}

/* Contents Text line limit */
.elementor .tg-module-wrapper .tg-module-title a, .alm-listing>li.alm-item p{
/* 	.cm-entry-summary p:last-child */
  width: auto;
  text-overflow: ellipsis;
  overflow: hidden;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical
}

/* Title Text line limit  */
.elementor a{
	width: auto;
   text-overflow: ellipsis;
   overflow: hidden;
   word-break: break-word;
   display: -webkit-box;
   -webkit-line-clamp: 1;
   -webkit-box-orient: vertical
}

/* Text부분 */
.alm-listing>li.alm-item{
	padding: none;
}

/* Hide home button on menu  */
/* .cm-layout-2 .cm-primary-nav ul.nav-menu > li:first-child{
	display: none;
} */

/* menu hover style */
.cm-primary-nav .children{
	background-color: #FFFFFF;
	border-top: 1px solid #FFFFFF;
	border-left: 1px solid #EAEAEA;
	border-right: 1px solid #EAEAEA;
	border-bottom: 1px solid #EAEAEA;
}

/* menu selected style */
.cm-primary-nav ul li.current_page_ancestor{
	background-color: #FFFFFF;
	border-bottom: 1px solid #d11717;
}

/* menu bottom style of selected item */
.cm-primary-nav ul.nav-menu >  li.current_page_item{
	border-bottom: 1px solid #d11717;
}

/* basic color */
.cm-mobile-nav .current_page_item>a, .cm-mobile-nav .current_page_item>a,.cm-mobile-nav .current_page_item>a, .cm-header .cm-mobile-nav li:hover, .cm-mobile-nav li a:hover, .cm-primary-nav ul li.focus > a {
/* 	background-color: #FFFFFFFF !important; */
}

/* 메뉴 모바일에서 하위 메뉴 width */
.cm-mobile-nav ul{
	width: 50%;
}

/* 뉴스 하단 관련 뉴스 타이틀  */
ul.default-wp-page{
	display: none;
}

/* 날짜 앞에 아이콘 삭제 */
.cm-post-date .cm-icon{
	display: none !important;
}

/* 카테고리 박스 스타일 */
.tg-post-categories a {
  background-color: red !important;
	background: red !important;
}


/* .alm-listing .alm-paging-content>li.alm-item img, .alm-listing>li.alm-item img {
    border-radius: 2px;
    left: 0;
    max-width: 100px !important;
    position: absolute;
    top: 0;
} */

.alm-listing>li.alm-item p{
	margin: 0 !important;
}

/* 화면 사이즈에 따라 설정 */
@media screen and (min-width: 1024px) {
	/* 상단메뉴 아이콘 삭제 */
	.menu-item .cm-submenu-toggle {
		display: none;
	}
}

@media screen and (max-width: 1024px) {
	/* 이미지 */
    .alm-listing .alm-paging-content>li.alm-item img, .alm-listing>li.alm-item img {
        max-width: 150px !important;
    }
	
	/* 제목과 내용 */
	.alm-listing>li.alm-item{
		padding: 0 0 0 165px !important;
	}
	
	/* 상단메뉴 아이콘 삭제 */
	.menu-item .cm-submenu-toggle {
		display: none;
	}
}

@media screen and (max-width: 768px) {
	/* 이미지 */
    .alm-listing .alm-paging-content>li.alm-item img, .alm-listing>li.alm-item img {
        max-width: 130px !important;
    }
	
	/* 제목과 내용 */
	.alm-listing>li.alm-item{
		padding: 0 0 0 145px !important;
	}
	
	/* Contents Text line limit */
	.elementor .tg-module-wrapper .tg-module-title a, .cm-entry-summary p:last-child{
		-webkit-line-clamp: 2;
	}
	
	/* card title style */
	.section_notable .elementor-widget-container, .section_card_part1 .elementor-widget-container, .section_card_part2 .elementor-widget-container {
  	margin: 0px 0px 0px 0px !important;
  }
	
	/* 상단메뉴 아이콘 삭제 */
	.menu-item .cm-submenu-toggle {
		display: none;
	}
}



@media screen and (max-width: 480px) {
	/* 이미지 */
    .alm-listing .alm-paging-content>li.alm-item img, .alm-listing>li.alm-item img {
        max-width: 100px !important;
    }
	
	/* 제목과 내용 */
	.alm-listing>li.alm-item{
		padding: 0 0 0 115px !important;
	}
	
	/* 내용가리기 */
	.load_more_contents p {
		display: none !important;
	}
	
	/* Contents Text line limit */
	.elementor a{
		 -webkit-line-clamp: 2 !important;
	}
	
	.section_notable .elementor-widget-container, .section_card_part1 .elementor-widget-container, .section_card_part2 .elementor-widget-container {
  	margin: 0px 0px 0px 0px !important;
	}
	
	/* 상단메뉴 아이콘 삭제 */
	.menu-item .cm-submenu-toggle {
		display: block;
	}
}

/* 모바일에서 메뉴 버튼 */
.cm-header .cm-menu-toggle{
/* color: #000000 !important; */
}

/* 카드뷰 하단 스타일 */
.elementor .tg-module-wrapper{
	margin-bottom: 30px !important;
}

/* 메뉴 hover 할 경우 애니메이션 삭제 */
.cm-layout-2 .cm-primary-nav ul ul.sub-menu {
	transition: all 0s ease;
}

/* 회원가입 로그인 내정보 style */
#wpmem_login, #wpmem_msg, #wpmem_reg, .wpmem_msg {
    width: 100%;
}

/* 상단 메뉴 선택시 style */
.menunav-menu > .menu-item > a{
	background-color: #FFFFFF !important;
}

/* 상단 이동 버튼 */
a#scroll-up{
	left: 50% !important;
	transform: translate(-50%) !important;
	right: 0 !important;
	text-align: center;
	bottom: 55px !important;
}

/* 카카오톡 톡상담 */
.child{
	right: 20px !important;
}

/* 카카오톡 공유하기 */
.share{
	float: none !important;
	margin: 0 !important;
}

/* 컨텐츠 style */
.cm-posts .cm-entry-summary p {
  letter-spacing: -0.3px !important;
  color: #303038 !important;
  word-wrap: break-word !important;
	font-size: 17px !important;
  line-height: 1.56 !important;
}

/* contents 내부 스타일 */
.cm-posts .cm-post-content{
	padding: 12px !important;
}

/* .focus{
	background-color: black !important;
} */

/* 별점 투표 가운데 정렬 */
.glsr .glsr-summary{
	left: 50%;
  transform: translate(-50%) !important;
}

/* 게시판 스타일 */
.cm-primary{
	width: 100% !important;
}
#kboard-default-list .kboard-list table td.kboard-list-user{
	width: 150px;
}
#kboard-default-list .kboard-list table td.kboard-list-date{
	width: 80px;
}

/* top bar */
/* .cm-top-bar .cm-row{
	gap: 0 !important;
} */

/* 사이드바 최신뉴스 style */
.cm-posts .cm-post .cm-entry-title, .wtpsw-post-thumb-right h6 a.wtpsw-post-title{
  width: auto;
  text-overflow: ellipsis;
  overflow: hidden;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical
}
.cm-first-post .cm-entry-summary{
	margin-top: 0 !important;
}

/* 포스트 테두리 없애기 */
.cm-posts .post{
	-webkit-box-shadow: none;
	box-shadow: none;
}

/* 컨텐츠 부분 style */
.cm-content{
	padding-top: 20px !important;
}

/* 메인 메뉴 하단 width */
.cm-layout-2 #cm-primary-nav{
	border-bottom: 1px solid #d11717 !important;
}

/* 컨텐츠 style */
/* .cm-entry-summary{
	border-top: 1px solid #E3E3E3 !important;
	padding-top: 40px;
	margin-top: 20px;
} */
.single .cm-entry-header .cm-entry-title{
	margin-bottom: 30px !important;
}


