.modalWrap {position: fixed; display: none; z-index: 99; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.4);}
#modalBody {border: 1px solid #777; background-color: #fff; position: relative; top: 50%; left: 50%; transform: translate(-50%, -50%); border: none;}
/* #closeBtn {float:right; font-weight: bold; color: #fff; font-size:25px; cursor: pointer; position: absolute; top: 12px; right: 12px; z-index: 999; background: url(https://image.chosun.com/chuncheonmarathon/2023/ch_modal_close.png) no-repeat; width: 24px; height: 24px; background-size: 100%;} */

/* #modalBody .modal_img_wrap {max-height: 640px;} */
#modalBody .modal_img_wrap img {width: 100%; height: 100%;}
#modalBody .modal_img_wrap .desktop {display: block;}
#modalBody .modal_img_wrap .mobile {display: none;}
#modalBody .modal_btn_wrap {display: flex;}
#modalBody .modal_btn_wrap .btn_today {flex-basis: 50%; padding: 16px 0; color: #222; background-color: #DBDBDB; font-size: 14px; line-height: 20px; font-weight: 500;}
#modalBody .modal_btn_wrap .btn_close {flex-basis: 50%; padding: 16px 0; color: #fff; background-color: #000; font-size: 14px; line-height: 20px; font-weight: 500;}

.modal_background {display: block; background: url(https://image.chosun.com/chuncheonmarathon/2023/bg.png) no-repeat; width: 100%; height: 100%;}
.main_modal_title { display: block; text-align: center; font-size: 24px; font-weight: 700; line-height: 34px; letter-spacing: -0.12px; color: #000; margin-bottom: 20px;}
.main_modal_detail { display: block; text-align: center; font-size: 24px; font-weight: 700; line-height: 34px; letter-spacing: -0.09px; color: #00ACEE; margin-bottom: 16px;}
.main_modal_detail2 {display: block; text-align: center; font-size: 20px; font-weight: 400; line-height: 30px; letter-spacing: -0.1px; color: #222; }

.today_close { position: absolute; bottom: -30px; right: 0;}
.today_close .close_text {font-size: 16px; font-weight: 500; line-height: 24px; letter-spacing: -0.08px; color: #fff; padding-right: 26px;}
.today_close input { width: 16px; height: 16px; float: right;}
.today_close input[type="checkbox"] { display: none;}
.today_close input[type="checkbox"]+label { display: inline-block; position: relative; cursor: pointer; margin-bottom: 3px; }
.today_close input[type="checkbox"]+label:before { content: ''; position: absolute; width: 24px; height: 24px; right: 0; background: url(https://image.chosun.com/chuncheonmarathon/2023/ch_chk_chosun.png) no-repeat; background-size: 100%;}
.today_close input[type="checkbox"]:checked+label:before { display: none; }
.today_close input[type="checkbox"]:checked+label:after { content: ''; position: absolute; width: 24px; height: 24px;  right: 0; background: url(https://image.chosun.com/chuncheonmarathon/2023/ch_chk_chosun_active.png) no-repeat; background-size: 100%; }

@media all and (max-width: 959px) {
    .modalWrap { padding: 0 36px !important; }
		#modalBody .modal_img_wrap {height: initial !important;}
    #modalBody .modal_img_wrap img { height: initial; max-height: initial;}
}

@media all and (max-width: 689px) {
    #modalBody  { width: initial !important; height: initial !important;}
}

@media all and (max-width: 600px) {
    .modalWrap { padding: 0 22px }
    #modalBody { width: 320px !important; height: initial !important;}
    #modalBody .modal_img_wrap { height: initial !important;}
    .main_modal_title { font-size: 20px; line-height: 30px; letter-spacing: -0.1px; margin-bottom: 16px;}
    .main_modal_detail { font-size: 20px; line-height: 30px; letter-spacing: -0.1px; }
    .main_modal_detail2 {font-size: 16px; line-height: 24px; letter-spacing: -0.08px; }
    .main_modal_text { font-size: 16px; line-height: 24px; letter-spacing: -0.08px; }

    #modalBody .modal_img_wrap {height: 213px;}
    #modalBody .modal_img_wrap .desktop {display: none;}
    #modalBody .modal_img_wrap .mobile {display: block;}
    #modalBody .modal_btn_wrap .btn_today {padding: 10px;}
    #modalBody .modal_btn_wrap .btn_close {padding: 10px;}
}