@charset "utf-8";

/*-------------------------------------------------------------------
공통
-------------------------------------------------------------------*/
.search_sec{position: relative; padding: 3rem; background-color: #fff; box-shadow: 2px 2px 4px 0 #DBE9F5; border-radius: 1.4rem;}
.search_sec:not(:first-of-type){margin-top: 4rem;}
/* 타이틀 */
.search_sec h2.category{display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: flex-end; margin-bottom: 2rem; padding-bottom: 2rem; padding-right: 9rem; font-size: 2.2rem; color: #222; font-weight: 700; line-height: 1.2; letter-spacing: -0.018rem; border-bottom: 1px solid #DDD;}
.search_sec h2.category span{display: inline-block; margin-right: 0.8rem;}
.search_sec h2.category b{color: #0073B1;}
/* 더보기 */
.search_sec .more_btn{position: absolute; top: 2.8rem; right: 3.2rem;}
.search_sec .more_btn a{display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 0.7rem; color: #151515; font-size: 2rem; font-weight: 600;}
.search_sec .more_btn a:hover{text-decoration: underline; text-underline-position: under;}
.search_sec .more_btn a:after{content: ""; display: block; width: 1.1rem; height: 1.8rem; background: url(../../images/mecsearch/content/cont_img02.svg) no-repeat center center / 100% auto;}

@media screen and (max-width: 1024px){
    .search_sec{padding: 2.5rem 2.8rem;}
    .search_sec:not(:first-of-type){margin-top: 2.5rem;}
    .search_sec .more_btn{top: 2.5rem;}
    .search_sec .more_btn a{font-size: 1.8rem;}
    .search_sec .more_btn a:after{width: calc(1.1rem * 0.8); height: calc(1.8rem * 0.8);}
}
@media screen and (max-width: 640px){
    .search_sec{padding: 2rem;}
    .search_sec:not(:first-of-type){margin-top: 2rem;}
    .search_sec .more_btn{top: 2.1rem;}
    .search_sec .more_btn a{font-size: 1.7rem;}
}

/*-------------------------------------------------------------------
에러, 데이터 없을 때
-------------------------------------------------------------------*/
.data_no,
.error{position: relative; padding: 5rem 0; color: #222; font-size: 2.6rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.026rem; text-align: center; }
.data_no:before,
.error:before{content: ""; display: block; width: 15.8rem; height: 13rem; margin: 0 auto 2rem; background: url(../../images/mecsearch/content/cont_img01.png) no-repeat center center / 100% auto;}
.data_no span,
.error span{display: block; margin-top: 1.6rem; color: #555; font-size: 1.6rem; font-weight: 400; letter-spacing: -0.016rem;}



/*-------------------------------------------------------------------
게시물
-------------------------------------------------------------------*/
.notice{}
.notice >li{border-bottom: 1px solid #EEE;}
.notice >li >a{display: flex; flex-wrap: wrap; padding: 2rem 0;}
.notice >li:first-child >a{padding-top: 0;}
.notice >li >a >*{display: block; width: 100%;}
.notice >li >a strong{color: #214687;}
.notice >li >a >.title{color: #000; font-size: 1.8rem; font-weight: 600;}
.notice >li >a:hover >.title{text-decoration: underline; text-underline-position: under;}
.notice >li >a >.text{overflow: hidden; display: block; display: -webkit-box; height: auto; max-height: 4.8rem; margin-top: 0.6rem; color: #000; font-weight: 400; text-overflow: ellipsis; letter-spacing: -0.016rem; word-break: break-word; -webkit-box-orient: vertical; -webkit-line-clamp: 2;}
.notice >li >a >.loc{display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 0.8rem; margin-top: 1.2rem;}
.notice >li >a >.loc >.date{display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; color: #717171; font-size: 1.4rem; line-height: 1;}
.notice >li >a >.loc >.date:before{content: ""; display: block; width: 1.4rem; height: 1.4rem; margin-right: 0.5rem; background: url(../../images/mecsearch/content/cont_img10.svg) no-repeat center center / 100% auto;}

@media screen and (max-width: 640px){
    .notice >li >a{padding: 1.6rem 0;}
}

/*-------------------------------------------------------------------
웹페이지
-------------------------------------------------------------------*/
.web{}
.web >li{border-bottom: 1px solid #EEE;}
.web >li >a{display: block; padding: 2rem 0;}
.web >li:first-child >a{padding-top: 0;}
.web >li >a strong{color: #214687;}
.web >li >a >.title{display: block; width: 100%; color: #000; font-size: 1.8rem; font-weight: 600;}
.web >li >a:hover >.title{text-decoration: underline; text-underline-position: under;}
.web >li >a >.text{overflow: hidden; display: block; display: -webkit-box; height: auto; max-height: 4.8rem; margin-top: 0.6rem; color: #000; font-weight: 400; text-overflow: ellipsis; letter-spacing: -0.016rem; word-break: break-word; -webkit-box-orient: vertical; -webkit-line-clamp: 2;}

@media screen and (max-width: 640px){
    .web >li >a{padding: 1.6rem 0;}
}

/*-------------------------------------------------------------------
멀티미디어, KARI image 공통
-------------------------------------------------------------------*/
.media{display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: stretch; gap: 1.6rem;margin-top: 1.8rem;}
.media >li{position: relative; width: calc((100% - 1.6rem - 1.6rem - 1.6rem) / 4); height: 0; padding-top: 16.234%;}
.media >li >a{overflow: hidden; display: flex; flex-wrap: wrap; align-content: flex-end; justify-content: flex-start; align-items: flex-end; gap: 1.2rem; position: absolute; top: 0; left: 0; width: 100%; height: 100%; padding: 2rem; border-radius: 1.4rem;}
.media >li >a:before{content: ""; display: block; position: absolute; top: 0; left: 0; z-index: 1; width: 100%; height: 100%; background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.70) 100%);}
.media >li >a >.imgs{overflow: hidden; position: absolute; top: 0; left: 0; width: 100%; height: 100%;}
.media >li >a >.imgs img{
    display: block; position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; object-fit: cover;
    -webkit-transform: translate(-50%,-50%) scale(1); transform: translate(-50%,-50%) scale(1);
    -webkit-transition: all 0.2s linear; transition: all 0.2s linear;
}
.media >li >a:hover >.imgs img{
    -webkit-transform: translate(-50%,-50%) scale(1.1); transform: translate(-50%,-50%) scale(1.1);
}
.media >li >a >strong{overflow: hidden; display: block; width: 100%; position: relative; z-index: 1; color: #FFF; line-height: 1.4; letter-spacing: -0.016rem; font-weight: 500; white-space: nowrap; text-overflow: ellipsis;}
.media >li >a >.desc{display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 0.8rem; position: relative; z-index: 1;}
.media >li >a >.desc >.date{display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; color: #D8D8D8; font-size: 1.4rem; line-height: 1; font-weight: 300;}
.media >li >a >.desc >.date:before{content: ""; display: block; width: 1.4rem; height: 1.4rem; margin-right: 0.5rem; background: url(../../images/mecsearch/content/cont_img11.svg) no-repeat center center / 100% auto;}

@media screen and (max-width: 1024px){
    .media{gap: 1.6rem;}
    .media >li{width: calc((100% - 1.6rem) / 2); padding-top: 25%;}
    .media >li >a{gap: 1rem; padding: 1.6rem;}
}
@media screen and (max-width: 840px){
    .media{gap: 1.4rem;}
    .media >li{width: calc((100% - 1.4rem) / 2); padding-top: 28%;}
}
@media screen and (max-width: 640px){
    .media >li{width: 100%; padding-top: 50%;}
    .media >li >a{gap: 0.8rem; padding: 1.6rem;}
}
@media screen and (max-width: 480px){
    .media >li{padding-top: 55%;}
}

/*-------------------------------------------------------------------
다운로드
-------------------------------------------------------------------*/
.file{display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: stretch; gap: 2rem;}
.file >li{display: flex; width: calc((100% - 4rem) / 3);}
.file >li >a{
    display: flex; flex-wrap: wrap; align-content: center; justify-content: flex-start; align-items: center; gap: 1.2rem; width: 100%; height: 100%; padding: 2.4rem; background-color: #fff; border: 1px solid #DAE5F2; border-radius: 6px;
    -webkit-transition: all 0.2s linear; transition: all 0.2s linear;
}
.file >li >a:hover{background-color: #0073B1; border-color: #0073B1;}
.file >li >a:before{
    content: ""; display: block; width: 2.4rem; height: 2.4rem; background: url(../../images/mecsearch/content/cont_img14.svg) no-repeat center center / 100% auto;
    -webkit-transition: all 0.2s linear; transition: all 0.2s linear;
}
.file >li >a:hover:before{background-image: url(../../images/mecsearch/content/cont_img15.svg);}
.file >li >a >b{
    display: block; width: auto; max-width: calc(100% - 1.2rem - 2.4rem - 2.4rem - 1.2rem); color: #222; font-weight: 500; line-height: 1.4; letter-spacing: -0.016rem;
    -webkit-transition: all 0.2s linear; transition: all 0.2s linear;
}
.file >li >a:hover >b{color: #fff;}
.file >li >a >span{
    display: block; width: 2.4rem; height: 2.4rem; margin-left: auto; background: url(../../images/mecsearch/content/cont_img12.svg) no-repeat center center / 100% auto; text-indent: -9999px;
    -webkit-transition: all 0.2s linear; transition: all 0.2s linear;
}
.file >li >a:hover >span{background-image: url(../../images/mecsearch/content/cont_img13.svg);}

@media screen and (max-width: 1024px){
    .file{gap: 1.6rem;}
    .file >li{width: calc((100% - 1.6rem) / 2);}
    .file >li >a{gap: 1rem; padding: 1.6rem 2rem;}
}
@media screen and (max-width: 840px){
    .file{gap: 1.4rem;}
    .file >li{width: calc((100% - 1.4rem) / 2);}
    .file >li >a{padding: 1.6rem 2rem;}
}
@media screen and (max-width: 640px){
    .file{gap: 1rem;}
    .file >li{width: 100%;}
    .file >li >a{gap: 0.8rem; padding: 1.2rem 1.6rem;}
}

/*-------------------------------------------------------------------
KARI TV
-------------------------------------------------------------------*/
.tv{}
.tv >li >a:after{content: ""; display: block; position: absolute; top: 45%; left: 50%; z-index: 1; width: 21.45%; height: 32%; border-radius: 50%; background: rgba(0, 0, 0, 0.50) url(../../images/mecsearch/content/cont_img20.svg) no-repeat center center / 100% auto; backdrop-filter: blur(10px); transform: translate(-50%,-50%); }
.tv >li >a >strong,
.tv >li >a >.desc{position: relative; z-index: 1;}


@media screen and (max-width: 1200px){
    .tv >li >a:after{width: calc(21.45% * 0.8); height: calc(32% * 0.8);}
}
@media screen and (max-width: 1024px){
    .tv >li >a:after{width: 16.184%; height: 31.834%;}
}
@media screen and (max-width: 840px){
    .tv >li >a:after{height: 28.3%;}
}
@media screen and (max-width: 640px){
    .tv >li >a:after{width: 8rem; height: 8rem;}
}
@media screen and (max-width: 480px){
    .tv >li >a:after{width: 6rem; height: 6rem;}
}

/*-------------------------------------------------------------------
페이징
-------------------------------------------------------------------*/
.paginate{margin-top: 4.8rem;}
.paginate .move{display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.8rem;}
.paginate .move >*{
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center; width: 3.8rem; height: 3.8rem; color: #555 !important; font-weight: 400; font-size: 1.5rem;letter-spacing: -0.045rem; background-color: #fff; border: 1px solid #fff; border-radius: 50%;
    -webkit-transition: all 0.2s linear; transition: all 0.2s linear;
}
.paginate .move >*:not(.dir):hover,
.paginate .move >strong{color: #fff !important; background-color: #214687; border: 1px solid #214687;}
.paginate .move >*.dir{position: relative; text-indent: -9999px; border-color: #eee;}
.paginate .move >*.dir:before{content: ""; display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url(../../images/mecsearch/content/cont_img16.svg) no-repeat center center / 100% auto;}
.paginate .move >*.dir:before{content: ""; display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url(../../images/mecsearch/content/cont_img16.svg) no-repeat center center / 100% auto;}
.paginate .move >*.dir.first:before,
.paginate .move >*.dir.last:before{background-image: url(../../images/mecsearch/content/cont_img18.svg);}
.paginate .move >*.dir.prev:before,
.paginate .move >*.dir.first:before{
    -webkit-transform: rotate(180deg); transform: rotate(180deg);
}

@media screen and (max-width: 1024px){
    .paginate{margin-top: 4rem;}
}
@media screen and (max-width: 640px){
    .paginate{margin-top: 3rem;}
    .paginate{width: 100%; overflow-x: auto; }
    .paginate .move{min-width: 360px;  gap: 0.6rem;}
}

/*-------------------------------------------------------------------
데이트피커
-------------------------------------------------------------------*/
.ui-datepicker{overflow: hidden; text-align: center; border-radius: 4px; background-color: #fff; box-shadow: 0px 2px 18px 0px rgba(0, 0, 0, 0.10);}
.ui-datepicker-trigger{vertical-align: text-top;}
.ui-datepicker{margin-top: 0.4rem; padding: 0;}
.ui-datepicker{z-index: 99 !important; width: 25rem;}
.ui-datepicker-header{display: flex; flex-wrap: wrap; justify-content: center; align-items: center; position: relative; padding: 0.8rem 4rem; background-color: #214687; color: #fff;}
.ui-datepicker-prev,
.ui-datepicker-next{display: block; position: absolute; top: 1.1rem; right: 1rem; width: 1.6rem; height: 1.6rem; background: url(../../images/mecsearch/common/hd_img07.svg) no-repeat center center / 100% auto; cursor: pointer;}
.ui-datepicker-prev{
    left: 1rem; right: auto;
    -webkit-transform: rotate(-180deg); transform: rotate(-180deg);
}
.ui-datepicker-prev span,
.ui-datepicker-next span{display: none !important;}
.ui-datepicker-header select{background-color: transparent; color: #fff; font-size: 14px; font-weight: 400;}
.ui-datepicker-header select:not(:first-child){margin-left: 1rem;}
.ui-datepicker-month option,
.ui-datepicker-year option{color: #222;}
.ui-datepicker table{width: 100%; table-layout: fixed; font-size: 13px;}
.ui-datepicker-calendar thead{background-color: #F8F8F8;}
.ui-datepicker-calendar thead tr th{padding: 0; height: 2.5rem; font-weight: 500; color: #222;}
.ui-datepicker tbody tr td{height: 25px; vertical-align: middle; color: #777; line-height: 1;}
.ui-datepicker tbody tr td a{display: flex; flex-wrap: wrap; justify-content: center; align-items: center; width: 100%; height: 100%;}
.ui-datepicker .ui-state-active,
.ui-state-default.ui-state-hover,
.ui-datepicker .ui-state-default.ui-state-highlight{border-color: #dcdcdc; background-color: #0B78CB; color: #fff;}


/* ///////////////////////////////////////////////////////////////////////////////////////////////////////////

   page
   페이징

/////////////////////////////////////////////////////////////////////////////////////////////////////////// */
.page a,
.page a[class*="page_"]:before{transition: all 0.2s linear;}
.page{display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 0.8rem; margin-top: 4rem;}
.page a{display: flex; flex-wrap: wrap; justify-content: center; align-items: center; width: 3.8rem; height: 3.8rem; color: #353535; font-weight: 600; background-color: #fff; border-radius: 0.6rem; font-size: 1.6rem;}
.page a:hover,
.page a.on{background-color: #0073B1; color: #fff; border-color: #0073B1;}
.page a[class*="page_"]{position: relative; border: 1px solid #D8D8D8; text-indent: -9999px;}
.page a[class*="left"]{margin-right: 0.4rem;}
.page a[class*="right"]{margin-left: 0.4rem;}
.page a[class*="page_"]:before{content: ""; display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url(../../images/mecsearch/content/board_img02.svg) no-repeat center center / 100% auto;}
.page a[class*="page_"]:hover:before{filter: brightness(10000%);}
.page a[class*="first"]:before,
.page a[class*="end"]:before{background-image: url(../../images/mecsearch/content/board_img03.svg);}
.page a[class*="right"]:before,
.page a[class*="end"]:before{transform: rotate(180deg);}

@media screen and (max-width:640px){
    .page{gap: 0.6rem; margin-top: 3rem;}
    .page a{width: 3.4rem; height: 3.4rem;}
    .page a[class*="left"]{margin-right: 0.3rem;}
    .page a[class*="right"]{margin-left: 0.3rem;}
}




