/* common */
.btn-ev.ev-cate{
    background-color: #f27203;
    border-color: #f27203;
    color: #fff;
}
.btn-ev.ev-cate01{
    background-color: #ffc043;
    border-color: #ffc043;
    color: #fff;
}
.btn-ev.ev-cate02{
    background-color: #a25c1f;
    border-color: #a25c1f;
    color: #fff;
}
.btn-ev.ev-cate03{
    background-color: #38b8bd;
    border-color: #38b8bd;
    color: #fff;
}
.btn-ev.ev-cate04{
    background-color: #387abd;
    border-color: #387abd;
    color: #fff;
}
.btn-ev.ev-cate05{
    background-color: #4ea61d;
    border-color: #4ea61d;
    color: #fff;
}
.ev-wrap.type2 .btn.btn-write {
    background-color: #2a323f;
    border-color: #2a323f;
    color: #fff;
}

.btn-ev .plus,
.btn-ev .chk{
    display: inline-block;
    vertical-align: middle;
}
.btn-ev .plus{
    margin-top: -5px;
    margin-right: 10px;
}
.btn-ev .chk{
    margin-top: -6px;
    margin-right: 3px;
}

.tooltip-wrap{
    position: relative;
    display: inline-block;
    margin: 0 10px;
    vertical-align: middle;
}
.ic-tooltip{
    display: inline-block;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #12a8aa;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('../image/ic_like.png');
    vertical-align: middle;
}
.tooltip-con{
    display: none;
    position: absolute;
    top: calc(100% + 15px);
    left: -20px;
    z-index: 2;
    width: 710px;
    padding: 30px 25px;
    border-radius: 10px;
    background-color: #12a8aa;
    color: #fff;
    font-size: 1.7rem;
    box-shadow: 0 14px 18px rgba(182,182,182,0.5);
}
.tooltip-con:before{
    display: block;
    content: '';
    clear: both;
    position: absolute;
    top: -10px;
    left: 28px;
    border-right: 10px solid transparent;
    border-top: solid #12a8aa transparent;
    border-left: 10px solid transparent;
    border-bottom: 10px solid #12a8aa;
}
.tooltip-con li:before{
    background-color: #fff;
}

/* Type B */
.type2 .ev-contop{
    position: relative;
    padding: 30px 0;
    border: 1px solid #e0dcd5;
    border-radius: 15px;
    text-align: center;
}
.type2 .ev-contop .btn-ev-arrow{
    display: inline-block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}
.btn-ev-arrow.btn-ev-first{
    left: 20px;
    background-image: url('../image/ic_cal_first.png');
}
.btn-ev-arrow.btn-ev-prev{
    left: 50px;
    background-image: url('../image/ic_cal_prev_typeb.png');
}
.btn-ev-arrow.btn-ev-next{
    right: 50px;
    background-image: url('../image/ic_cal_next_typeb.png');
}
.btn-ev-arrow.btn-ev-last{
    right: 20px;
    background-image: url('../image/ic_cal_last.png');
}
.type2 .ev-year{
    padding: 0 120px;
}
.type2 .ev-year a,
.type2 .ev-year .slick-slide{
    display: inline-block;
    float: none;
    position: relative;
    padding: 0;
    font-size: 2.2rem;
    line-height: 1;
    vertical-align: middle;
}
.type2 .ev-year a{
    width: calc(20% - 4px);
}
.type2 .ev-year a span{
    padding: 5px 0;
}
.type2 .ev-year a + a:before{
    display: block;
    content: '';
    clear: both;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 1px;
    height: 20px;
    background-color: #d5dbe1;
}
.type2 .ev-year a.active span,
.type2 .ev-year .slick-current span{
    display: inline-block;
    padding: 5px 3px;
    font-size: 3rem;
    font-weight: 600;
    color: #f27203;
    box-shadow: inset 0 -15px 0 #fffdf3;
}
.type2 .ev-year .slick-list{
    padding: 0 !important;
}
.type2 .ev-btn-wrap{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 80px;
    margin-bottom: 20px;
}
.type2 .ev-btn-wrap .btn-wrap{
    margin: 0;
}
.type2 .ev-btn-wrap div:has(.form-item) {
    flex-shrink: 0;
}
.type2 .ev-btn-wrap .form-item{
    min-width: 90px;
    height: 55px;
    margin-right: 10px;
}
.type2 .ev-btn-wrap .btn-type1{
    margin: 0;
}
.type2 .btn-ev{
    display: inline-block;
    padding: 11px 25px;
    margin: 5px;
    border-radius: 50px;
    border: 1px solid transparent;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1;
    vertical-align: middle;
}
.type2 .btn-ev:has(.plus){
    padding-left: 20px;
    padding-right: 20px;
}
.type2 .ev-list{
    border-top: 2px solid #f27203;
    font-weight: 400;
}
.type2 .ev-list > li{
    display: table;
    width: 100%;
    border-bottom: 1px solid #e0dcd5;
    table-layout: fixed;
} 
.type2 .ev-list > li > div{
    display: table-cell;
    padding: 40px 25px;
    font-size: 1.8rem;
    line-height: 1.1;
    text-align: center;
    vertical-align: middle;
}
.type2 .ev-list > li > div + div{
    border-left: 1px solid #e0dcd5;
}
.type2 .ev-list .cate{
    width: 15%;
}
.type2 .ev-list .month{
    width: 10%;
}
.type2 .ev-list .date{
    width: 15%;
}
.type2 .no-data{
    display: block;
    padding: 50px 0;
    font-size: 2rem;
    font-weight: 300;
}
.type2 .no-data img{
    margin: 0 auto 20px;
}

.type2 .ev-con-wrap{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.type2 .ev-con{
    padding-right: 25px;
}
.type2 .ev-con .tit{
    font-size: 2rem;
    word-break: break-all
}
.ic-new{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 22px;
    height: 22px;
    margin-left: 5px;
    border-radius: 50%;
    background-color: #ce5e90;
    font-size: 13px;
    font-weight: 300;
    color: #fff;
    line-height: 1;
    vertical-align: top;
}
.type2 .ev-con .place{
    margin-top: 10px;
    padding-left: 20px;
    background-repeat: no-repeat;
    background-position: 0 1px;
    background-image: url('../image/ic_cal_place.png');
    font-size: 1.6rem;
    color: #616161;
}
.type2 .btn-ev-more{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    padding: 0 18px;
    margin: 2px;
    border-radius: 5px;
    border: 1px solid #f27203;
    font-size: 1.4rem;
    font-weight: 400;
    color: #f27203;
    vertical-align: top;
}
.type2 .btn-ev-more .plus{
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
}
.type2 .btn-ev-more.type2{
    border-color: #13b5b1;
    color: #13b5b1 ;
}
.type2 .ev-con-wrap .btn-wrap{
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
    margin: 0; 
}
.type2 .ev-con-wrap .btn-wrap > div:not(.bbs-admin) {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.ev-con-wrap .bbs-admin{
    display: inline-block;
    margin: 0;
    vertical-align: top;
}
.bbs-admin .form-item{
    height: 35px;
    margin: 2px;
    font-size: 1.5rem;
    vertical-align: top;
}
.bbs-admin .btn{
    display: inline-block;
    width: 35px;
    height: 35px;
    margin: 2px;
    border-radius: 4px;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: top;
}
.bbs-admin .btn-modify{
    background-color: #46567c;
    background-image: url('../image/ic_modify.png');
}
.bbs-admin .btn-delete{
    background-color: #d4628d;
    background-image: url('../image/ic_delete.png');
}

/* view */
.ev-view-contop{
    padding: 20px 25px;
    background-color: #fffdf3;
    border-top: 2px solid #f27203;
    border-bottom: 1px solid #e0dcd5;
}
.ev-view-tit{
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    word-break: break-all;
}
.ev-view-tit .btn-ev{
    margin-left: 0 !important;
    margin-right: 10px;
    margin-top: -5px;
    vertical-align: middle;
}
.ev-view-info{
    font-size: 1.6rem;
}
.ev-view-info ul{
    margin-top: 20px;
    text-align: center;
}
.ev-view-info ul > li{
    display: inline-block;
    padding: 0 15px;
    position: relative;
    font-size: 1.4rem;
    line-height: 1.2;
    vertical-align: top;
}
.ev-view-info ul > li + li:before{
    display: block;
    content: '';
    clear: both;
    position: absolute;
    top: 3px;
    left: 0;
    width: 2px;
    height: 13px;
    background-color: #d5d5d5;
}
.ev-view-info p{
    margin-top: 15px;
}
.ev-view-contents{
    overflow-x: auto;
    min-height: 400px;
    padding: 25px;
    border-bottom: 1px solid #e0dcd5;
    font-family: initial;
    font-size: 1.8rem;
    font-weight: 500;
}
.ev-view-contents *{
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.5;
}
.ev-wrap:has(.view-attach) .ev-view-contents {
    border-bottom: 0;
}
.view-attach{
    padding: 0 15px 20px;
    border-bottom: 1px solid #e0dcd5;
}
.view-attach-con{
    font-size: 1.7rem;
}
.view-attach-con .con > a{
    display: block;
    padding: 13px 20px;
    padding-left: 50px;
    border: 1px solid #e0dcd5;
    border-radius: 5px;
    background-repeat: no-repeat;
    background-position: 20px 15px;
    background-image: url('../image/ic_file2.png');
    line-height: 1.3;
    transition: 0.3s ease;
    word-break: break-all;
}
.view-attach-con .con > a + a{
    margin-top: 10px;
}
.view-attach-con .con > a:hover{
    border-color: #9f9f9f;
}

.ev-wrap .write-wrap{
    border-color: #f27203;
}
.ev-wrap .write-wrap .form-tit {
    background-color: #fffdf3;
}


/**/
.ev-wrap .year { 
    overflow: hidden;
    position: relative;
    padding: 25px 100px;
    background-color: #fff;
    border: 1px solid #e0dcd5;
    border-radius: 15px;
}
.ev-wrap .year:before,
.ev-wrap .year:after { 
    content: "";
    z-index: 2;
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    background-color: #fff;
}
.ev-wrap .year:before {
    left: 0;
}
.ev-wrap .year:after {
    right: 0;
}

.ev-wrap .year li {  
    width: 240px;
    position: relative;
    float: left;
    text-align: center;
}
.ev-wrap .year li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    height: 20px;
    transform:translateY(-50%);
    width: 1px;
    background-color: #d8d8d8;
}
.ev-wrap .year li:first-child:before {
    display: none;
}
.ev-wrap .year li a {
    display: inline-block;
    padding: 0 5px;
    font-size: 2.2rem;
    line-height: 48px;
    color: #a9a9a9;
    text-align: center;
}
.ev-wrap .year li.on:before {
    top: 23px;
    height: 20px;
}
.ev-wrap .year li.on a {
    font-size: 3rem;
    font-weight: 600;
    color: #f27203;
    box-shadow: inset 0 -15px 0 #fffdf3;
}

.ev-wrap .yearUtil a {
    z-index: 3;
    position: absolute;
    top: 50%;
    width: 30px;
    height: 30px;
    transform: translateY(-50%);
    background-color: #fff;
    background-position: center center;
    background-repeat: no-repeat;
    text-indent: -9999px;
}
.ev-wrap .year a.prev {
    left: 50px;
    background-image: url('../image/ic_cal_prev_typeb.png');
}
.ev-wrap .year a.next {
    right: 50px;
    background-image: url('../image/ic_cal_next_typeb.png');
}
.ev-wrap .year a.prev2 {
    left: 20px;
    background-image: url('../image/ic_cal_first.png');
}
.ev-wrap .year a.next2 {
    right: 20px;
    background-image: url('../image/ic_cal_last.png');
}


/* 캘린더::리스트 */
.ev-cal-wrap .cal-table{
    width: 100%;
    border-top: 2px solid #556278;
    table-layout: fixed;
}
.ev-cal-wrap .cal-table th,
.ev-cal-wrap .cal-table td{
    border: 1px solid #dfdfdf;
    letter-spacing: -0.045em;
}
.ev-cal-wrap .cal-table th:first-child,
.ev-cal-wrap .cal-table td:first-child{
    border-left: 0;
}
.ev-cal-wrap .cal-table th:last-child,
.ev-cal-wrap .cal-table td:last-child{
    border-right: 0;
}
.ev-cal-wrap .cal-table th{
    padding: 20px;
    border-bottom: 0;
    background-color: #eff5ff;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d2d2c;
    text-align: center;
}
.ev-cal-wrap .cal-table .sun,
.ev-cal-wrap .cal-table .sun .num{
    color: #e93c69 !important;
}
.ev-cal-wrap .cal-table .sat,
.ev-cal-wrap .cal-table .sat .num{
    color: #144393 !important;
}
.ev-cal-wrap .cal-table td{
    padding: 20px;
    vertical-align: bottom;
}
.ev-cal-wrap .cal-table .today{
    background-color: #f6f6f6;
}
.ev-cal-wrap .ev-cal-con{
    display: flex;
    flex-direction: column;
    justify-content: end;
    min-height: 60px;
    vertical-align: bottom;
}
.ev-cal-wrap .ev-cal-con > a{
    display: block;
    font-size: 14px;
    line-height: 1.3;
    color: #2d2d2c;
}
.ev-cal-wrap .ev-cal-con > a span{
    vertical-align: top;
}
.ev-cal-wrap .ev-cal-con > a + a{
    margin-top: 5px;
}
.ev-cal-wrap .ev-cal-con a[class^="ev-cate"]{
    position: relative;
    padding-left: 15px;
}
.ev-cal-wrap .ev-cal-con a[class^="ev-cate"]:before{
    display: block;
    content: '';
    clear: both;
    position: absolute;
    top: 5px;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.ev-cal-wrap .ev-cal-con .ev-cate01:before{
    background-color: #ffc043;
}
.ev-cal-wrap .ev-cal-con .ev-cate02:before{
    background-color: #a25c1f;
}
.ev-cal-wrap .ev-cal-con .ev-cate03:before{
    background-color: #38b8bd;
}
.ev-cal-wrap .ev-cal-con .ev-cate04:before{
    background-color: #387abd;
}
.ev-cal-wrap .ev-cal-con .ev-cate05:before{
    background-color: #4ea61d;
}
.ev-cal-wrap .ev-tooltip-con{
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    z-index: 2;
    min-width: 310px;
    padding: 15px;
    background-color: #fffee1;
    border: 1px solid #556278;
    border-radius: 5px;
    font-size: 1.5rem;
    font-weight: 500;
    box-shadow: 0 8px 10px rgba(182,182,182,0.2);
}
.ev-cal-wrap .cal-table td:last-child .ev-tooltip-con{
    left: auto;
    right: 0;
}


@media screen and (max-width: 768px) {
	.ev-wrap .year {
        padding: 5px 60px;
    }
	.ev-wrap .year:before,
	.ev-wrap .year:after {
        width: 70px;
    }

	.ev-wrap .year li:before {
        display: none;
    }
	.ev-wrap .year li a {
		font-size: 18px;
		line-height: 30px;
	;}
	.ev-wrap .year li.on a {
        font-size: 20px;
        box-shadow: inset 0 -10px 0 #fffdf3;
    }
	.ev-wrap .year li.on:after{
		width: 100px;
		left: 50%;
		-webkit-transform: translateX(-50%);
		transform: translateX(-50%);
		bottom: -2px;
		height: 5px;
	}

	.ev-wrap .yearUtil a {
        width: 25px;
        height: 25px;
        background-size: auto 15px;
    }
	.ev-wrap .year a.prev {
        left: 35px;
    }
	.ev-wrap .year a.next {
        right: 35px;
    }
	.ev-wrap .year a.prev2 {
        left: 10px;
    }
	.ev-wrap .year a.next2 {
        right: 10px;
    }
}


@media screen and (max-width: 1024px){
    /* Type B */
    .type2 .ev-year{
        padding: 0 80px;
    }
    .type2 .btn-ev{
        padding: 9px 20px;
    }
    .type2 .ev-list > li > div{
        padding: 15px 20px;
    }
    .type2 .ev-con-wrap{
        flex-direction: column;
    }
    .type2 .ev-con{
        width: 100%;
    }
    .type2 .ev-con-wrap .btn-wrap{
        width: 100%;
        margin-top: 10px;
        text-align: right;
    }
    
    .type2 .ev-con-wrap .btn-wrap {
        justify-content: flex-end;
        flex-wrap: wrap;
    }
    .type2 .ev-con-wrap .btn-wrap > div:not(.bbs-admin) {
        flex-direction: row;
    }
}

@media screen and (max-width: 768px){
    /* common */

    /* Type B */
    .type2 .ev-contop{
        padding: 12px 0;
        border-radius: 7px;
    }
    .type2 .ev-contop .btn-ev-arrow{
        width: 25px;
        height: 25px;
        background-size: auto 15px;
    }
    .btn-ev-arrow.btn-ev-first{
        left: 10px;
    }
    .btn-ev-arrow.btn-ev-prev{
        left: 35px;
    }
    .btn-ev-arrow.btn-ev-next{
        right: 35px;
    }
    .btn-ev-arrow.btn-ev-last{
        right: 10px;
    }
    .type2 .ev-year{
        padding: 0 60px;
    }
    .type2 .ev-year a{
        display: none;
        width: 100%;
    }
    .type2 .ev-year a + a:before {
        display: none;
    }
    .type2 .ev-year a.active{
        display: block;
    }
    .type2 .ev-year a.active:before{
        display: none;
    }
    .type2 .ev-year a.active span, 
    .type2 .ev-year .slick-current span{
        padding: 0;
        font-size: 20px;
        box-shadow: none;
    }
    .type2 .ev-btn-wrap{
        flex-direction: column;
        align-items: start;
        gap: 10px;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    .type2 .ev-btn-wrap div:has(.form-item) {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        align-items: center;
        gap: 10px;
        width: 100%;
    }
    .type2 .ev-btn-wrap .form-item{
        display: block;
        height: 44px;
        width: 90px;
        margin: 0;
    }
    .type2 .ev-btn-wrap .btn-wrap{
        width: 100%;
    }
    .type2 .btn-ev{
        margin: 2px;
        padding: 8px 15px;
        font-size: 13px;
    }
    .type2 .btn-ev:has(.plus){
        padding-left: 10px;
        padding-right: 10px;
    }
    .btn-ev .plus{
        margin-top: -3px;
        margin-right: 5px;
    }
    .type2 .ev-list > li{
        padding: 10px 0;
    }
    .type2 .ev-list > li > div{
        display: inline-block;
        width: auto;
        padding: 5px 10px;
        font-size: 14px;
    }
    .type2 .ev-list > li > div + div{
        border-left: 0;
    }
    .type2 .ev-list .cate{
        width: 100%;
        text-align: left;
    }
    .type2 .ev-list .month,
    .type2 .ev-list .date{
        width: auto;
    }
    .type2 .ev-list .date{
        position: relative;
    }
    .type2 .ev-list .date:before{
        display: block;
        content: '';
        clear: both;
        position: absolute;
        top: 8px;
        left: 0;
        width: 1px;
        height: 8px;
        background-color: #e5e5e5;
    }
    .type2 .no-data{
        padding: 25px 15px !important;
        font-size: 14px;
    }
    .type2 .no-data img{
        width: 26px;
        margin-bottom: 10px;
    }

    .type2 .ev-list .ev-list-con{
        width: 100%;
    }
    .type2 .ev-con{
        padding-right: 0;
    }
    .type2 .ev-con .tit{
        font-size: 16px;
    }
    .ic-new {
        width: 18px;
        height: 18px;
        font-size: 11px;
    }
    .type2 .ev-con .place{
        padding-left: 15px;
        background-size: 10px;
        font-size: 13px;
    }
    .type2 .btn-ev-more{
        height: 32px;
        padding: 0 12px;
        border-radius: 3px;
        font-size: 12px;
    }
    .bbs-admin .form-item{
        width: auto;
        height: 32px;
        padding: 0 10px;
        font-size: 12px;
    }
    .type2 .btn-ev-more .plus{
        margin-right: 5px;
    }
    .bbs-admin .btn{
        width: 32px;
        height: 32px;
        border-radius: 3px;
        background-size: 12px;
    }
    .ev-con-wrap .bbs-admin {
        display: none;
    }

    /* view */
    .ev-view-contop{
        padding: 15px;
    }
    .ev-view-tit{
        font-size: 17px;
    }
    .ev-view-tit .btn-ev{
        margin-right: 5px;
        margin-top: -3px;
    }
    .ev-view-info{
        font-size: 14px;
    }
    .ev-view-info ul{
        margin-top: 10px;
    }
    .ev-view-info ul > li{
        padding: 0 10px;
        font-size: 13px;
    }
    .ev-view-info ul > li + li:before{
        top: 2px;
        height: 10px;
    }
    .ev-view-info p{
        margin-top: 5px;
    }
    .ev-view-contents{
        overflow-x: auto;
        min-height: 200px;
        padding: 20px 0;
        font-size: 14px;
        line-height: 1.5;
    }
    .ev-wrap .btn-wrap{
        margin-top: 20px;
    }
    
    .view-attach{
        padding: 0 0 20px;
    }
    .view-attach-con .con > a{   
        padding: 10px;
        padding-left: 25px;
        background-size: 10px;
        background-position: 10px 13px;
        font-size: 12px;     
        line-height: 1.3;
    }
    .view-attach-con .con > a + a{
        margin-top: 7px;
    }
}