/* 사진 팝업 */

.photo_archive_wrap {
    width: 100%;
    margin-top: 10px;
}

.photo_archive_wrap ul {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.photo_archive_wrap ul li {
    width: calc(100% / 4 - 22.5px);
    margin-bottom: 20px;
    cursor: pointer;
}

.photo_archive_wrap ul li:not(:nth-child(4n)) {
    margin-right: 30px;
}

.photo_archive_wrap ul li .img_wrap {
    width: 100%;
    padding-top: 60%;
    margin-bottom: 8px;
    position: relative;
}

.photo_archive_wrap ul li .img_wrap::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: all .3s;
}

.photo_archive_wrap ul li .img_wrap:hover::after {
    opacity: 1;
}

.photo_archive_wrap ul li .img_wrap img {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.photo_archive_wrap ul li p {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    word-break: break-all;
}

.pagination_wrap ul {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination_wrap ul .arrow_btn {
    opacity: 0.3;
}

.pagination_wrap ul .arrow_btn.btn_on {
    opacity: 1;
}

.pagination_wrap ul .arrow_btn2022 {
    opacity: 0.3;
}

.pagination_wrap ul .arrow_btn2022.btn_on {
    opacity: 1;
}

.pagination_wrap ul li {
    margin: 0 4px;
}

.pagination_wrap ul li button {
    display: flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    color: var(--grayB);
    background-color: transparent;
    transition: all .3s;
}

.pagination_wrap ul li button img {
    width: auto;
}

.pagination_wrap ul li button:hover {
    background-color: #D9D9D9;
}

.pagination_wrap ul li.on button {
    color: var(--white);
    background-color: var(--mainpink);
}

/* 5월 1일 */
.modal {
    display: none;
    background-color: transparent;
}

.modal .modal_bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.modal.modal_on {
    display: flex;
}

/* //사진 팝업 */

.sub_header.date_sub_header ul li:not(:last-child)::after {
    margin: 0 50px;
}

#date01 .title_date_program_wrap {
    margin-top: 70px;
}

#date01 .inner {
    padding-bottom: 0;
}

#date01 .title_date_program_wrap .date_title {
    background-color: #363636;
}

#date08 .title_date_program_wrap .date_title {
    background-color: #363636;
}

#date07 {
    /* padding-bottom: 80px; */
}

#date08 {
    margin-bottom: 50px;
}

.program_list_top {
    /* padding-bottom: 50px; */
    padding-top: 100px;
}

.section_title_wrap img {
    margin-top: 40px;
    margin-bottom: 80px;
    width: calc(100% - 50px);
    max-width: 360px;
}

.title_date_program_wrap .flex {
    display: flex;
    align-items: center;
}

.title_date_program_wrap .flex.link_double .link_double_wrap {
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
}


.title_date_program_wrap .flex a {
    margin-left: 10px;
    height: 40px;
    transition: all .3s;
    display: none;
}

.title_date_program_wrap .flex a.pre_photo_link {
    display: flex;
    margin-right: 0;
}

.title_date_program_wrap .flex a.may_01_btn {
    /* display: flex; */
}

.title_date_program_wrap .flex a.may_02_btn {
    /* display: flex; */
}

.title_date_program_wrap .flex a.ready_modal_btn {
    /* display: flex; */
}

.title_date_program_wrap .flex a p {
    margin-right: 10px;
}

.title_date_program_wrap .flex a svg path {
    stroke: #000;
}

.title_date_program_wrap .flex a:hover {
    background-color: #E6E6E6;

}

.title_date_program_wrap .date_title {
    background-color: var(--mainpink);
    width: 110px;
    height: 40px;
    color: var(--white);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.place_wrap.eng .title_date_program_wrap .date_title {
    width: 130px;
}

.left_right_wrap{
    display: flex;
    margin-bottom: 4px;
}

.left_right_wrap.top{
    margin-top: 20px;
}

.left_right_wrap .left_title{
    width: 190px;
    padding: 40px 0;
    display: flex;
    justify-content: center;
}

.left_right_wrap .left_title p{
    color: var(--white);
    text-align: center;
}


.left_right_wrap .left_title.seoul{
    background-image: url(https://api.seoulfesta.com/api/files/p6jkmqreemblrdy/ptokqot9e17s992/frame_1575_2_oVcIYLHhzV.png);
    background-size: 100% auto;
}

.left_right_wrap .left_title.gwang{
    background-image: url(https://api.seoulfesta.com/api/files/p6jkmqreemblrdy/ptokqot9e17s992/frame_1426_ZiHZcb32lm.png);
    background-size: 100% auto;
}

.left_right_wrap .left_title.noeul{
    background-image: url(https://api.seoulfesta.com/api/files/p6jkmqreemblrdy/ptokqot9e17s992/frame_1575_3_gc0JWArPoK.png);
    background-size: 100% auto;
}

.left_right_wrap .left_title.myeong{
    background-image: url(https://api.seoulfesta.com/api/files/p6jkmqreemblrdy/ptokqot9e17s992/frame_1575_6_lThkAIMoKu.png);
    background-size: 100% auto;
}

.left_right_wrap .left_title.jamsil{
    background-image: url(https://api.seoulfesta.com/api/files/p6jkmqreemblrdy/ptokqot9e17s992/frame_1693_CYpNGMgnUN.png);
    background-size: 100% auto;
}

.left_right_wrap .left_title.ttuk{
    background-image: url(https://api.seoulfesta.com/api/files/p6jkmqreemblrdy/ptokqot9e17s992/frame_1694_aUnayex4SE.png);
    background-size: 100% auto;
    background-position: center bottom;
}

.title_date_program_wrap ul {
    background-color: #F6F7F8;
    border: 1px solid #eee;
    padding: 32px 40px;
    width: calc(100% - 190px);
}

.title_date_program_wrap .coming_soon {
    /* padding-top: calc(100% / 2); */
    padding-top: calc(100% / 3.5);
    background: rgb(93, 93, 93);
    background: linear-gradient(0deg, rgba(93, 93, 93, 1) 0%, rgba(217, 217, 217, 1) 100%);
    color: var(--white);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-top: 20px;
    position: relative;
}

.title_date_program_wrap .coming_soon p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.title_date_program_wrap ul .list_top {
    margin-top: 40px;
}

.title_date_program_wrap ul li {
    display: flex;
    /* justify-content: space-between; */
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.title_date_program_wrap ul li .top {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
}

.title_date_program_wrap ul li .top .place {
    border: 1px solid #E6E6E6;
    height: 32px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    background-color: #fff;
    margin-right: 14px;
}

.title_date_program_wrap ul li .top .desc {
    display: flex;
    align-items: center;
}

.title_date_program_wrap ul li .top .desc p:not(:last-child) {
    display: flex;
    align-items: center;
}

.title_date_program_wrap ul li .top .desc>p:not(:last-child)::after {
    content: '';
    display: block;
    width: 1px;
    height: 17px;
    background-color: var(--grayd7);
    margin: 0 12px;
}

.title_date_program_wrap ul li .top .place img {
    margin-right: 5px;
}

.title_date_program_wrap ul li .top .place.pink {
    color: var(--mainpink);
}

.title_date_program_wrap ul li .top .place.yellow {
    color: var(--mainyellow);
}

.title_date_program_wrap ul li .top .place.green {
    color: var(--maingreen);
}

.title_date_program_wrap ul li .top .place.blue {
    color: var(--mainblue);
}

.title_date_program_wrap ul li .top .place.purple {
    color: var(--lightpurple);
}

.title_date_program_wrap ul li .bottom a {
    height: auto;
    padding: 3px 20px;
    transition: all .3s;
    margin-top: 10px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.title_date_program_wrap ul li .bottom a:hover {
    background-color: #E6E6E6;
}

.title_date_program_wrap ul li .bottom a p {
    padding-right: 5px;
    margin-right: 10px;
}

.title_date_program_wrap ul li .bottom a svg path {
    stroke: #000;
}

.title_date_program_wrap ul li .bottom .desc {
    margin-top: 10px;
    color: #555;
}

.title_date_program_wrap ul li:not(:last-child) {
    margin-bottom: 32px;
}

.title_date_program_wrap ul li .left {
    margin-right: 12px;
    width: 150px;
    padding: 8px 0;
}

.title_date_program_wrap ul li .left .border_title {
    width: 150px;
    margin: 0;
}

.title_date_program_wrap ul li .center {
    display: flex;
    align-items: flex-start;
    width: 300px;
    margin-right: 12px;
    padding: 8px 0;
}

.title_date_program_wrap ul li .center .center_left {
    width: 100px;
}

.title_date_program_wrap ul li .center .line {
    width: 1px;
    height: 17px;
    background-color: var(--grayd7);
    margin: 5px 20px 0;
}

.title_date_program_wrap ul li .center .center_right {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title_date_program_wrap ul li .center .center_right span {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray7);
    color: var(--white);
    height: 25px;
    border-radius: 25px;
    padding: 0 10px;
    margin-top: 5px;
}

.title_date_program_wrap ul li .right {
    /* max-width: 650px; */
    width: calc(100% - 474px);
}

.title_date_program_wrap ul li .right .border_title {
    width: 100%;
    /* max-width: 650px; */
    height: auto;
    white-space: unset;
    border-radius: 0;
    padding: 8px 12px;
    margin: 0;
}

.title_date_program_wrap ul li .right .border_title p {
    width: 100%;
}

@media screen and (max-width: 1300px) {
    #date01 .inner {
        padding: 0 50px;
        padding-top: 80px;
    }

    .sub_header.date_sub_header ul li:not(:last-child)::after {
        margin: 0 30px;
    }

    .program_list_top {
        padding-bottom: 0;
        /* margin-bottom: 80px; */
    }

    .title_date_program_wrap ul li {
        flex-direction: column;
    }

    .title_date_program_wrap ul li .center {
        margin: 10px 0;
        width: fit-content;
    }

    .title_date_program_wrap ul li .center .center_right {
        width: fit-content;
        flex-direction: row;
        align-items: center;
    }

    .title_date_program_wrap ul li .center .center_right span {
        margin-top: 0;
        margin-left: 5px;
    }

    .title_date_program_wrap ul li .right {
        max-width: none;
        width: 100%;
    }

    .title_date_program_wrap ul li .right .border_title {
        max-width: none;
        width: 100%;
    }
}

@media screen and (max-width: 900px) {
    .place_wrap .title_date_program_wrap ul li .top .desc {
        flex-direction: column;
        align-items: flex-start;
        /* margin-top: 10px; */
    }

    .place_wrap .title_date_program_wrap ul li .top .desc p:not(:last-child) {
        margin-bottom: 5px;
    }

    .place_wrap .title_date_program_wrap ul li .top .desc>p:not(:last-child)::after {
        display: none;
    }

    .title_date_program_wrap .flex.link_double {
        flex-direction: column;
        align-items: flex-start;
    }

    .title_date_program_wrap .flex.link_double > p {
        margin-bottom: 10px;
    }

    .place_wrap.eng .title_date_program_wrap .flex.link_double .date_title{
        width: auto;
    }

    .title_date_program_wrap .flex.link_double .link_double_wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .title_date_program_wrap .flex.link_double .link_double_wrap a {
        width: calc(100% / 2 - 2.5px);
        margin-left: 0;
    }

    .title_date_program_wrap .coming_soon {
        padding-top: calc(100% / 2.5);
    }

    .title_date_program_wrap ul {
        padding: 20px;
    }

    .title_date_program_wrap ul li .top {
        flex-direction: column;
        margin-bottom: 10px;
    }

    .title_date_program_wrap ul li .top .place {
        width: fit-content;
        margin-bottom: 10px;
    }

    .title_date_program_wrap ul li .bottom .desc {
        margin-top: 5px;
    }

    #date01 .inner {
        padding: 0 10px;
        padding-top: 80px;
    }

    .title_date_program_wrap .date_title {
        width: auto;
        padding: 0 20px;
    }

    .title_date_program_wrap .flex a {
        width: 100%;
    }

    .place_wrap.eng .title_date_program_wrap .date_title{
        width: auto;
        padding: 0 20px;
    }
    .place_wrap.eng .title_date_program_wrap a{
        /* width: calc(50% - 6px); */
    }

    .coming_soon {
        text-align: center;
    }

    .title_date_program_wrap ul {
        /* margin-top: 14px; */
        width: 100%;
    }

    .left_right_wrap{
        flex-direction: column;
    }

    .left_right_wrap.top{
        margin-top: 16px;
    }

    .left_right_wrap .left_title{
        width: 100%;
        height: 100px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .left_right_wrap .left_title p.font_24{
        font-size: 32px;
    }
    
    .left_right_wrap .left_title.seoul{
        background-image: url(https://api.seoulfesta.com/api/files/p6jkmqreemblrdy/ptokqot9e17s992/frame_1426_1_dD4sqrpoVn.png);
        background-size: auto 100%;
    }
    
    .left_right_wrap .left_title.gwang{
        background-image: url(https://api.seoulfesta.com/api/files/p6jkmqreemblrdy/ptokqot9e17s992/frame_1426_2_yLjyaqxW7f.png);
        background-size: auto 100%;
    }
    
    .left_right_wrap .left_title.noeul{
        background-image: url(https://api.seoulfesta.com/api/files/p6jkmqreemblrdy/ptokqot9e17s992/frame_1426_4_UIou5mqUcj.png);
        background-size: auto 100%;
    }
    
    .left_right_wrap .left_title.myeong{
        background-image: url(https://api.seoulfesta.com/api/files/p6jkmqreemblrdy/ptokqot9e17s992/frame_1426_3_6R1Z9GG1Jt.png);
        background-size: auto 100%;
    }
    
    .left_right_wrap .left_title.jamsil{
        background-image: url(https://api.seoulfesta.com/api/files/p6jkmqreemblrdy/ptokqot9e17s992/frame_1697_rfKhkXYMsa.png);
        background-size: auto 100%;
    }
    
    .left_right_wrap .left_title.ttuk{
        background-image: url(https://api.seoulfesta.com/api/files/p6jkmqreemblrdy/ptokqot9e17s992/frame_1698_24dzewLnPm.png);
        background-size: auto 100%;
        background-position: center;
    }

    .title_date_program_wrap ul li {
        flex-direction: column;
    }

    .title_date_program_wrap ul li .center {
        margin: 10px 0;
        width: fit-content;
    }

    .title_date_program_wrap ul li .center .center_right {
        width: fit-content;
        flex-direction: column;
        align-items: center;
    }

    .title_date_program_wrap ul li .center .center_right span {
        margin-top: 3px;
        margin-left: 0;
    }

    .title_date_program_wrap ul li .center .line {
        margin: 3px 10px 0;
    }

    .title_date_program_wrap ul li .right {
        max-width: none;
        width: 100%;
    }

    .title_date_program_wrap ul li .right .border_title {
        max-width: none;
        width: 100%;
    }

    .title_date_program_wrap .flex{
        flex-direction: column;
        align-items: flex-start;
    }

    .title_date_program_wrap .flex > p{
        margin-bottom: 10px;
    }

    .title_date_program_wrap .flex a{
        margin-left: 0;
    }
}

@media screen and (max-width: 700px) {
    .place_wrap.eng .title_date_program_wrap .flex.link_double .link_double_wrap{
        flex-direction: column;
    }
    .place_wrap.eng .title_date_program_wrap .flex.link_double .link_double_wrap a{
        width: 100%;
        margin-left: 0;
    }
    .place_wrap.eng .title_date_program_wrap .flex.link_double .link_double_wrap a:first-child{
        margin-bottom: 10px;
    }
    .place_wrap.eng .title_date_program_wrap .flex{
        flex-direction: column;
        align-items: flex-start;
    }
    .place_wrap.eng .title_date_program_wrap .flex > p{
        width: auto;
        padding: 0 20px;
        margin-bottom: 10px;
    }

    .place_wrap.eng .title_date_program_wrap .flex.link_double .date_title{
        width: auto;
    }
    .place_wrap.eng .title_date_program_wrap .flex a{
        width: 100%;
        margin-left: 0;
    }
    /* .place_wrap.eng .title_date_program_wrap .flex a:first-child{
        margin-bottom: 10px;
    } */
}

@media screen and (max-width: 500px) {
    .title_date_program_wrap .flex.link_double .link_double_wrap{
        flex-direction: column;
    }
    .title_date_program_wrap .flex.link_double .link_double_wrap a{
        width: 100%;
    }
    .title_date_program_wrap .flex.link_double .link_double_wrap a:first-child{
        margin-bottom: 10px;
    }
}