@charset "utf-8";
/**
 * @author https://www.cosmosfarm.com


    뉴스 게시판 css
    2024.04.16.

 */


/* **************************************** *
 * setting
 * **************************************** */
 .kboard-default-poweredby {
    display: none;
}

 
/* font */
.inno_news_list h1,
.inno_news_list h2,
.inno_news_list h3,
.inno_news_list h4,
.inno_news_list p,
.inno_notice_document h1,
.inno_notice_document h2,
.inno_notice_document h3,
.inno_notice_document h4,
.inno_notice_document p {
    color: #222;
    font-family: 'Pretendard', sans-serif;
}

.inno_notice_document .kboard-title h2 {
    font-size: 32px;
}
.inno_notice_document .content-view h1 {
    font-size: 40px;
}
.inno_notice_document .content-view h2 {
    font-size: 36px;
}
.kboard_h4 {
    font-size: 22px;
    transition: .3s ease-in-out;
}
.kboard_h4:hover {
    color: var(--primary-color);
}


/* 아이프레임 보기 */
/* :root {
    --home-primary-color: #D93E57;
} */





/* button */
a.kboard-default-button-small,
input.kboard-default-button-small,
button.kboard-default-button-small { 
	display: inline-block;
    appearance: none;
    outline: 0;
    padding: 14px 24px;
    background: #222;
    color: #fff;
    box-sizing: border-box;
    border: 0;
    line-height: 1em;
    font-size: 18px;
    font-weight: 500;
    width: auto;
    text-align: center;
	transition: .3s ease-in-out;
 }
a.kboard-default-button-small:hover,
a.kboard-default-button-small:focus,
a.kboard-default-button-small:active,
input.kboard-default-button-small:hover,
input.kboard-default-button-small:focus,
input.kboard-default-button-small:active,
button.kboard-default-button-small:hover,
button.kboard-default-button-small:focus,
button.kboard-default-button-small:active { 
    background: var(--primary-color);
 }







/* **************************************** *
 * list
 * **************************************** */
 /* list */
.inno_news_list .kboard-list {
    border-top: 1px solid #222;
}
.notice_w-thumb_wrap {
    border-bottom: 1px solid #dcdcdc;
}
/* .notice_w-thumb_wrap_notice {
    border-bottom: 2px solid #000;
    background: rgba(37, 96, 65, 0.05);
} */
.notice_w-thumb_wrap a {
    display: flex;
    padding: 32px 24px;
    align-items: center;
    gap: 40px;
    transition: .3s ease-in-out;
}
/* .notice_w-thumb_wrap a:hover {
    background: rgba(37, 96, 65, 0.05);
} */
.notice_w-thumb_wrap .kboard_thumbnail_box {
    width: 25%;
    position: relative;
}
.notice_w-thumb_wrap .kboard_thumbnail_box:before {
    content:"";
    position: absolute;
    left: 0;
    top: 0;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    border: 1px solid #dcdcdc;
}
.notice_w-thumb_wrap .kboard_thumbnail_box img {
    width: 100% !important;
    max-width: 338px;
}
.kboard_notice_txtbox {
    width: calc(75% - 56px);
}
.kboard_notice_h3 {
    transition: .3s ease-in-out;
    padding-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 4px 16px;
    flex-wrap: wrap;
    line-height: 1.4em;
}
.notice_w-thumb_wrap a:hover .kboard_notice_h3 {
    color: var(--primary-color);
}
h4.kboard_notice_h3 span {
    font-size: 16px;
    color: #fff;
    display: inline-block;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 8px;
    background: var(--primary-color);
    line-height: 1.6em;
}

.notice_w-thumb_wrap a p.kboard_txt {
    padding-bottom: 24px;
}
p.kboard_notice_date {
    display: flex;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #a0a0a0;
}
p.kboard_notice_date span.kboard_notice_category_txt {
    color: var(--primary-color);
    font-weight: 600;
}
span.kboard_notice_date_txt {
    display: flex;
    align-items: center;
    gap: 10px;
}
span.kboard_notice_date_txt:after {
    display: block;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: #a0a0a0;
    content: "";
}
span.kboard_notice_category_txt {
    font-size: 16px;
    display: flex;
    font-weight: 600;
    line-height: 1.6em;
    padding-bottom: 4px;
    color: var(--primary-color);
}

.inno_news_list .kboard-control {
    display: flex;
    justify-content: flex-end;
    padding-top: 48px;
}



/* pagination */
.inno_news_list .kboard-pagination {
    padding-top: 56px;
}
.inno_news_list ul.kboard-pagination-pages {
    display: flex;
    justify-content: center;
    text-align: center;
    gap: 16px;
}
.inno_news_list ul.kboard-pagination-pages li a {
    font-size: 16px;
    font-weight: 500;
    color: #a0a0a0;
}
.inno_news_list ul.kboard-pagination-pages li.active a {
    color: #222;
    font-weight: 700;
}



/* category */
.inno_news_list .kboard-category.category-mobile {
    display: none;
}
.inno_news_list .kboard-category {
    padding-bottom: 64px;
}
.inno_news_list .kboard-category ul.kboard-category-list {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}
.inno_news_list .kboard-category ul.kboard-category-list li a {
    padding: 12px 24px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: .3s ease-in-out;
    border: 1px solid #dcdcdc;
    font-weight: 600;
    color: #000;
    font-size: 20px;
    line-height: 1.4em;
    display: flex;
    height: 100%;
    text-align: center;
}
.inno_news_list .kboard-category ul.kboard-category-list li.kboard-category-selected a,
.inno_news_list .kboard-category ul.kboard-category-list li a:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}





/* **************************************** *
 * editor
 * **************************************** */
 div#wp-kboard_content-media-buttons {
    display: none;
}
.inno_editor .kboard-attr-row {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 16px;
    padding: 24px 0;
    border-bottom: 1px solid #dcdcdc;
}
.inno_editor .kboard-attr-row.kboard-attr-content {
    flex-direction: column;
    align-items: normal;
    gap: 0;
}
.inno_editor label.attr-name {
    width: 120px;
    display: block;
    padding-top: 10px;
    font-weight: 600;
}
.inno_editor .attr-value {
    width: calc(100% - 120px - 16px);
}
.inno_editor input[type=text], 
.inno_editor input[type=email], 
.inno_editor input[type=password] {
    border: 0;
    background: #fff;
    border: 1px solid #dcdcdc;
    display: block;
    padding: 0 16px;
    width: 100%;
    height: 60px;
    font-size: 20px;
    border-radius: 0;
    font-family: 'Pretendard', sans-serif;
}
.inno_editor .attr-value select {
    width: 100%;
    height: 60px;
    font-size: 20px;
    outline: 0;
    border: 1px solid #dcdcdc;
    padding: 0 16px;
}
.inno_editor .attr-value textarea {
    width: 100%;
    height: 160px;
}
.inno_editor .kboard-attr-media a {
    font-size: 18px;
    font-weight: 500;
    padding: 8px 16px;
    background: #222;
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    height: 60px;
}
.inno_editor .kboard-attr-media .description {
    font-size: 16px;
    padding-top: 8px;
    color: #a0a0a0;
}
.inno_editor .kboard-attr-attach {
    align-items: center;
}
.inno_editor .kboard-attr-attach label.attr-name {
	padding-top: 0;
}
.inno_editor .kboard-control,
#kboard-default-editor .kboard-control {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-top: 56px;
}




/* **************************************** *
 * document
 * **************************************** */
 .inno_notice_document .inno_document_title_wrap {
    padding-bottom: 16px;
    border-bottom: 2px solid;
}
.inno_notice_document .inno_detail_wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0 32px;
}
.inno_notice_document .detail-box {
    display: flex;
    gap: 8px;
    padding: 16px 0;
    font-size: 16px;
}
.inno_notice_document .detail-box .detail-name {
    font-weight: 600;
}
.inno_notice_document .detail-box .detail-value {
    color: #a0a0a0;
    font-weight: 400;
}
.inno_notice_document .kboard-content {
    padding: 32px 0 80px;
}


.kboard-content img.aligncenter {
    text-align: center;
    margin: 0 auto;
    display: flex;
}
.kboard-content a {
    text-decoration: underline;
}
.kboard-content a:hover {
    color: var(--primary-color);
}

.inno_notice_document .kboard-attach {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.inno_notice_document .kboard-attach button {
    appearance: none;
    outline: 0;
    border: 0;
    padding: 8px 16px;
    background: #222;
    color: #fff;
    font-size: 14px;
    letter-spacing: 0;
    font-weight: 500;
    cursor: pointer;
}
.inno_notice_document .kboard-attach button:hover {
	background: var(--primary-color);
}



.inno_notice_document .kboard-control {
    display: flex;
    justify-content: space-between;
    padding-top: 48px;
}

/* nav */
#kboard-default-document .kboard-document-navi {
	padding-top: 64px;
}
.kboard-prev-document2, .kboard-next-document2 {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    border-top: 1px solid;
	font-size: 18px;}
span.kboard-nav-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
    display: block;
    width: 80px;}
#kboard-default-document .kboard-document-navi a {
    color: #222;
    width: calc(100% - 80px);
	font-weight: 500;
    font-size: 17px;
    line-height: 1.5em;}
#kboard-default-document .kboard-document-navi a:hover {
    color: var(--primary-color);
}









/* **************************************** *
 * latest (캐러셀, 썸네일)
 * arrows, dots 스타일은 그떄그때 수정
 * **************************************** */
 .inno_news_latest .slick-list {
    margin: 0 -20px;
    overflow: hidden;
}
.inno_news_latest .slick-slide {
    margin: 0 20px;
}
.inno_news_latest .notice_content {
    padding-top: 24px;
}
.inno_news_latest h3.notice_title {
    font-size: 20px;
    font-weight: 600;
}
.inno_news_latest .kboard_thumbnail {
    position: relative;
}
.inno_news_latest .kboard_thumbnail img {
    object-fit: cover;
    width: 100%;
    height: 14.6vw;
    max-height: 286px;
    min-height: 206px;
    object-position: center;
}
.inno_news_latest .kboard_thumbnail:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: 1px solid #dcdcdc;
}


.notice_slick button.slick-arrow {
    width: 60px;
    height: 60px;
    outline: 0;
    appearance: none;
    border: 0;
    background: #000 url(/wp-content/plugins/kboard/skin/news/images/carousel_arrow_prev.png) no-repeat center;
    background-size: cover;
    user-select: none;
    color: transparent;
    border-radius: 0;
    position: absolute;
    top: 125px;
	/* top: 6.5vw; */
    /* transform: translateY(-50%); */
	z-index: 10;
	cursor: pointer;
	opacity: 0;
	transition: .5s ease-in-out;
}
.notice_slick:hover button.slick-arrow {
	opacity: 1;
}
.notice_slick button.slick-prev.slick-arrow {
    left: -5.2vw;
}
.notice_slick button.slick-next.slick-arrow {
    right: -5.2vw;
	background: #000 url(/wp-content/plugins/kboard/skin/news/images/carousel_arrow_next.png) no-repeat center;
    background-size: cover;
}
.notice_slick button.slick-next.slick-arrow:hover {
    background-color: var(--primary-color);
}
.notice_slick ul.slick-dots {
    display: flex;
    position: relative;
    width: 100%;
    justify-content: center;
    padding-top: 40px;
    gap: 8px;
}
.notice_slick ul.slick-dots li button {
    display: block;
    background: #fff;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    outline: 0;
    border: 1px solid #707070;
    color: transparent;
    user-select: none;
    padding: 0;
    appearance: none;
}
.notice_slick ul.slick-dots li.slick-active button, .notice_slick ul.slick-dots li button:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}



@media screen and (max-width: 1590px) {
    .notice_slick button.slick-prev.slick-arrow {
        left: 0;
    }
    .notice_slick button.slick-next.slick-arrow {
        right: 0;
    }
}



@media screen and (max-width: 1024px) {
    /* font */
    .inno_notice_document .content-view h2 {
        font-size: 28px;
    }    


    /* list */
    .notice_w-thumb_wrap a {
        gap: 32px;
        padding: 24px 16px;
    }
    .kboard_notice_txtbox {
        width: calc(75% - 32px);
    }
    .kboard_notice_h3 {
        padding-bottom: 8px;
        gap: 4px 12px;
    }
    h4.kboard_notice_h3 span {
        font-size: 14px;
    }
    .notice_w-thumb_wrap a p.kboard_txt {
        padding-bottom: 16px;
    }


    /* category */
    .inno_news_list .kboard-category {
        padding-bottom: 32px;
    }
    





    /* latest */
    .notice_slick button.slick-arrow {
        display: none !important;
    }
    /* .notice_slick button.slick-prev.slick-arrow {
		left: 10px;
	}
	.notice_slick button.slick-next.slick-arrow {
		right: 10px;
	} */
    .inno_news_latest .slick-list {
        margin: 0 -8px;
    }
    .inno_news_latest .slick-slide {
        margin: 0 8px;
    }
    #kboard-default-latest h3.notice_title {
        font-size: 18px;
    }
    .inno_news_latest .notice_content {
        padding-top: 16px;
    }
    #kboard-default-latest .notice_item {
        font-size: 14px;
        flex: 1;
    }
    #kboard-default-latest .notice_content {
        gap: 4px;
    }
    p.notice_latest_date {
        font-size: 12px;
    }




}




@media screen and (max-width: 767px) {
    /* font */
    .inno_notice_document .content-view h2 {
        font-size: 22px;
    }


    /* btn */
    a.kboard-default-button-small, input.kboard-default-button-small, button.kboard-default-button-small {
        padding: 12px 16px;
        font-size: 13px;
    }

    



    /* **************************************** *
    * list
    * **************************************** */
    .kboard_notice_h3 {
        font-size: 18px;
    }

    /* list */
    .notice_w-thumb_wrap a {
        gap: 16px;
        padding: 16px 8px;
        flex-direction: column;
    }
    .kboard_notice_txtbox {
        width: 100%;
    }
    .notice_w-thumb_wrap .kboard_thumbnail_box {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    p.kboard_notice_date {
        font-size: 12px;
    }
    span.kboard_notice_category_txt {
        font-size: 14px;
    }

    .inno_news_list .kboard-category ul.kboard-category-list {
        gap: 8px;
    }
    .inno_news_list .kboard-category ul.kboard-category-list li a {
        font-size: 14px;
        padding: 8px 12px;
    }

    .inno_news_list .kboard-pagination {
        padding-top: 40px;
    }
    .inno_news_list ul.kboard-pagination-pages li a {
        font-size: 14px;
    }


    
    .inno_news_list .kboard-control {
        justify-content: flex-start;
        padding-top: 24px;
    }



    /* **************************************** *
    * docunent
    * **************************************** */
    .inno_notice_document .kboard-title h2 {
        font-size: 20px;
    }
    .inno_notice_document .inno_detail_wrap {
        gap: 0 16px;
    }
    .inno_notice_document .detail-box {
        padding: 8px 0;
        font-size: 14px;
    }
    .inno_notice_document .kboard-content {
        padding: 24px 0 56px;
    }
    .inno_notice_document .kboard-attach button {
        padding: 6px 10px;
        font-size: 11px;
    }

    /* navi */
    #kboard-default-document .kboard-document-navi {
        padding-top: 40px;
    }
    .kboard-prev-document2, .kboard-next-document2{
        padding: 8px 0;
        font-size: 14px;
        flex-wrap: wrap;
    }
    #kboard-default-document .kboard-document-navi a {
        font-size: 14px;
    }
    span.kboard-nav-title {
        font-size: 13px;
        width: 100%;
    }


    /* **************************************** *
    * editor
    * **************************************** */
    .inno_editor .kboard-attr-row {
        flex-direction: column;
        gap: 8px;
    }
    .inno_editor label.attr-name {
        padding-top: 0;
        width: 100%;
    }
    .inno_editor .attr-value {
        width: 100%;
    }


    
} 