/* 상단 제목 */
.top-title{
    /*margin : 0 0 40px 0;*/
    padding : 16px 20px;
    border-top: 1px solid #efefef;
    border-bottom: 1px solid #efefef;
    background-color: #F0F3F1;
    font-size : 16px;
    font-weight : 600;
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-title > span{
    font-size : 14px;
    color : 
    #3a4c40;
}

.top-title .icon.king{
    width : 32px;
    height : 32px;
    margin-right : 8px;
}



/* 모두 체크하기 */
#checkboxAll + label:before{
    margin-right : 16px;
}

label[for="checkboxAll"]{
    font-size : 16px;
    font-weight : 500;
    color : #1c1c1c;
    display: flex;
    align-items: center;
}

label[for="checkboxAll"] > span{
    font-size : 14px;
    font-weight : 400;
    color : #1c1c1c;
}

.select-delete > button{
    font-size : 15px;
    /*font-family: 'Noto Sans KR', sans-serif;*/
    font-weight :500;
    text-decoration: underline;
}

.all-check-wrap{
    display : flex;
    justify-content: space-between;
    padding: 0 20px;
    /*margin: 20px 0;*/
    /*border-bottom : 1px solid #efefef;*/
    background-color: #ffffff;
    height: 60px;
    align-items: center;
}


/* 방문체크 */
.invitation-visit-wrap{
    padding: 40px 20px;
    border-top: 1px solid #ededed;
    margin-top: 40px;
    background-color: #fafafa;
    margin: 0 0 40px 0;
}

/*label[for="invitationVisit"]{*/
/*    display : flex;*/
/*    align-items: flex-start;*/
/*    justify-content: flex-start;*/
/*    gap: 16px;*/

/*}*/
label[for="invitationVisit"]{
    padding: 25px 25px 20px 66px;
     background-color: #ffffff;
    border: 1px solid rgba(0,0,0,0.12);
    /* max-width: 844px; */
    border-radius: 8px;
    width: 100%;
    margin-bottom: 30px;
    display: grid;
    /*grid-template-areas:*/
    /*    "title detail"*/
    /*    "sub detail"*/
    /*    "price detail";*/
    grid-template-columns: 1fr;
    align-items: center;
    row-gap: 8px;
    column-gap: 16px;
    box-shadow: 0px 3px 9px rgba(0,0,0,0.05);
    transition: 0.2s;
    position: relative;
}
/*label[for="invitationVisit"]:before{*/
/*    margin-right : 60px;*/
/*}*/

label[for="invitationVisit"] > div{
    width : 100%;
    /*border : 1px solid #b1b1b1;*/
    border-radius : 2px;
    display : flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding : 30px 0;
    /*grid-area: title;*/
}
label[for="invitationVisit"]:before{
    position: absolute;
    left: 30px;
    top: 25px;
}

label[for="invitationVisit"] .icon-wrap{
    margin-bottom : 16px;
}

label[for="invitationVisit"] .icon.consultation{
    width : 48px;
    height : 48px;
}

label[for="invitationVisit"] p{
    font-size : 20px;
    font-weight : 700;
}


/* 관련시술 */
.related-surgery-wrap .title-wrap{
    min-height : 80px;
    display : flex;
    align-items: center;
    justify-content: space-between;
    padding : 0 10px;
    border-top : 2px solid #1c1c1c;
    border-bottom : 1px solid #efefef;
    margin-bottom : 60px;
}

.related-surgery-wrap .title{
    font-size: 20px;
    font-weight: 500;
}

.related-surgery-wrap .title-wrap button > span{
    text-decoration: underline;
    font-size : 15px;
    font-weight: 500;
    margin-right : 20px;
}

.related-surgery-wrap .title-wrap button .icon.arrow-right-black{
    width : 13px;
    height : 7.5px;
    margin-top : -4px;
    margin-right : 20px;
}

.related-surgery-list > ul::-webkit-scrollbar{
    height : 4px;
}


.surgery-num-wrap{
    padding : 16px 20px;
    border-top: 1px solid #efefef;
    border-bottom: 1px solid #efefef;
    background-color: #F0F3F1;
    font-size : 16px;
    font-weight : 600;
}

.surgery-num{
    display : flex;
    align-items: center;
    justify-content: space-between;
    font-size : 16px;

}

.total-price{
    display : flex;
    align-items : center;
    justify-content : space-between;
    font-size : 18px;
    margin-bottom : 10px;
    font-weight: 700;

}
.total-price .price{
    font-size: 24px;

}
.surgery-num-wrap .desc{
    font-weight : 300;
    display : flex;
    align-items: center;
    justify-content: space-between;
}



/* 날짜, 시간선택 */
.select-date-time-wrap{
    /*border-top : 2px solid #1c1c1c;*/
    padding-top : 20px;
    margin-top: 20px;
    margin-bottom : 60px;
    padding : 36px 30px;
}
.select-date-time-wrap .title{
    font-weight : 500;
    font-size : 20px;
    padding : 0 0 10px 10px;
    margin-bottom : 20px;
    border-bottom: 1px solid #efefef;
}
.select-date-time-wrap.simple-layout{
    margin-top: 20px;
    margin-bottom : 60px;
    padding : 16px 20px;
    border-top: 1px solid #efefef;
    border-bottom: 1px solid #efefef;
    background-color: #F0F3F1;
    font-size : 16px;
    font-weight : 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    display: flex;
}
.select-date-time-wrap.simple-layout .title{
    font-weight : 600;
    font-size : 16px;
    padding : 0;
    margin-bottom : 0;
}
.select-date-time-wrap .date-tiem{
    display: flex;
    gap: 8px;
}
.select-date-time-wrap .date-tiem div{
    font-size: 16px;
    font-weight: 700;
}
.select-date-time-wrap .title + p{
    text-align : center;
    font-size : 16px;
    margin-bottom : 20px;
}

.year-month{
    text-align : center;
    font-size : 20px;
    margin-bottom : 20px;
    font-weight: 700;
}

.calendar-wrap{
    margin-bottom : 40px;
}


.ask-select-date{
    max-width : 844px;
    height : 244px;
    color : 
    #b3261e;
    font-weight : 600;
    text-align: center;
    display : flex;
    align-items: center;
    justify-content: center;
    margin : 0 auto 40px;
}

.ask-select-date .icon.warning-red{
    width: 34px;
    height : 34px;
    margin-bottom : 23px;
}

.ask-select-date .icon + p{
    font-size : 24px;
    margin-bottom : 15px;
}

.ask-select-date .icon + p + p{
    font-size : 16px;
}


.select-time > p{
    margin-bottom : 20px;
    text-align: center;
}

.select-time .time-wrap{
    max-width : 500px;
    width: 100%;
    display : flex;
    gap : 10px;
    flex-wrap: wrap;
    margin: auto;
}

.select-time .btn-time{
    width : calc((100% - 70px) / 8);
    height : 40px;
    font-size : 16px;
    font-weight : 500;
    border-radius : 4px;
    border : 1px solid #707070;
    margin: 0;
}

.select-time .btn-time.disabled{
    background-color : #efefef;
    color : #b1b1b1;
    border : 0;
}



/* 고객요청사항 */
.customer-question{
    /*border-top : 2px solid #1c1c1c;*/
    padding-top : 80px;
    /*margin-bottom : 60px;*/
}

.customer-question .title{
    font-weight : 500;
    font-size : 20px;
    padding-left : 10px;
    margin-bottom : 20px;
}

.customer-question .input-question{
    width : 100%;
    height : 120px;
    resize : none;
    border : 1px solid rgba(0,0,0,0.12);
    border-radius: 4px;
    padding : 16px 16px;
    font-size : 14px;
    color: rgba(0,0,0,0.6);
}


/* 약관동의 */
.agreement-wrap{
    padding-top : 80px;
    padding-bottom : 60px;
    position : relative;
}

.agreement-wrap .title{
    font-weight : 500;
    font-size : 20px;
    padding-left : 10px;
    margin-bottom : 20px;
}

.agreement-wrap .title + div{
padding: 10px;
    border-bottom :1px solid #efefef;
}

.agreement-wrap label:before{
    margin-right : 16px;
}

.agreement-wrap label{
    font-size : 16px;
    color : #1c1c1c;
    display : flex;
    align-items: center;
    justify-content: flex-start;
}

.agreement-wrap .confirm-agreement{
    padding : 30px 0 0 10px;
}

.agreement-wrap div .checkbox + label:before{
    flex: none;
}
.agreement-wrap .confirm-agreement > div{
    display : flex;
    align-items: center;
    justify-content: space-between;
}

.agreement-wrap .confirm-agreement > div:first-child{
    margin-bottom : 10px;
}

.agreement-wrap .btn-white{
    padding: 8px 16px;
    border : 1px solid #b1b1b1;
    border-radius : 4px;
    font-size: 14px;
}
.submit-application-wrap .btn-submit, .partner-wrap .btn-submit{
    margin: 0;
}
.btn-submit{
    width : 100%;
    height : 60px;
    background-color : #1c1c1c;
    color : #fff;
    border-radius : 4px;
    margin-top : 20px;
    font-size: 16px;
    font-weight: 700;
    transition: 0.3s;
}
.btn-submit:hover{
    background-color: #3c3c3c;
}
.agreement-popup{
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.4);
    display: block;
    z-index: 99999;
}
.agreement-popup.pop-hidden{
    display: none;
}
.agreement-popup .agreement-content{
    position: absolute;
    top: calc(50%);
    left: 50%;
    transform: translate(-50%,-50%);
    width: calc(100% - 20px);
    /*height: calc(100% - 250px);*/
    max-width: 700px;
    background-color: #ffffff;
    border-radius: 12px;
}

.agreement-popup .agreement-content .title-wrap,.agreement-popup .agreement-content .content-wrap{
    padding: 20px 30px;
}
.agreement-popup .agreement-content .title-wrap{
    border-bottom: 1px solid #efefef;
    position: relative;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}
.agreement-popup .agreement-content .content-wrap{
    height: calc(100vh - 300px);
    max-height: 500px;
    overflow-y: auto;
}
.agreement-pop3.agreement-popup .agreement-content .content-wrap{
    height: calc((100vh - 300px) / 2);
    max-height: 500px;
    overflow-y: auto;
}
.agreement-pop3.agreement-popup .agreement-content .content-wrap:nth-child(2) {
    /*margin-bottom: 20px;*/
    border-bottom: 1px solid #efefef;
}
.agreement-popup .agreement-content .content-wrap .content-title{
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}
.agreement-popup .agreement-content .content-wrap .content-desc{
    margin-bottom: 16px;
    padding-left: 8px;
    font-weight: 300;
}
.agreement-popup .agreement-content .title-wrap .close_btn{
    width: 40px;
    height: 40px;
    padding: 8px;
    position: absolute;
    left: 20px;
    top: 10px;
    cursor: pointer;
}
.agreement-popup .agreement-content .title-wrap .close_btn img{
    width: 100%;
    height: 100%;
}
.agreement-popup .agreement-content .title-wrap .title{
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    padding: 0;
}
.agreement-popup .agreement-content .button-wrap{
    padding: 20px 30px;
    min-height: 60px;
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
}
@media screen and (max-width:1016px){
    label[for="invitationVisit"] p {
        font-size: 20px;
    }
    .reservation-wrap{
        padding: 30px 10px;
        margin: 30px 0 30px;
    }
    .invitation-visit-wrap{
        padding: 30px 20px;
    }
    .related-surgery-wrap .title-wrap{
        border-top: none;
        min-height: 40px;
        border: 1px solid #efefef;
        background-color: #f7f7f7;
        border-radius: 8px;
        padding: 20px 10px;
        margin: 0 10px 40px;
    }
    .related-surgery-wrap .title-wrap button > span{
        margin-right: 16px;
    }
    .related-surgery-wrap{
        padding: 30px 10px;
        border-bottom: 6px solid #ededed;
        margin: 60px 0 30px;
    }
    .customer-question {
        padding: 30px 10px;
        margin: 30px 0 30px;
    }
    .agreement-wrap{
        padding: 30px 10px;
        margin: 30px 0 30px;
    }
    .agreement-wrap .confirm-agreement{
        padding: 30px 0 0 10px;
    }
    .btn-submit{
        margin: 0 10px;
    }
    .btn-submit{
        box-sizing: border-box;
        width: calc(100% - 20px);
    }
    .wrap{
        padding-top: 60px;
    }
    .top-title{
        padding: 30px 20px;
    }
    .related-surgery-wrap .title,.customer-question .title,.agreement-wrap .title{
        font-size: 16px;
        font-weight: 700;
    }
}
@media screen and (max-width: 768px){
    .all-check-wrap{
        display : flex;
        justify-content: space-between;
        padding: 0 10px;
        margin: 20px 0;
        border-bottom : 1px solid #efefef;
        background-color: #ffffff;
        height: 60px;
        align-items: center;
    }
    .event-detail-wrap > ul > li label:before, label[for="invitationVisit"]:before{
        left: 10px;
        top: 15px;
    }
    .agreement-popup .agreement-content{
        width: calc(100% - 40px);
    }
}
@media screen and (max-width:640px){
    label[for="invitationVisit"] p {
        font-size: 16px;
        word-break: keep-all;
    }
    label[for="invitationVisit"] > div{
        padding: 30px 20px;
    }
    .select-date-time-wrap{
        padding: 24px 16px;
    }
    .select-time .btn-time{
        font-size: 14px;
        width: calc((100% - 40px) / 5);
    }
    .sec_cal .cal_wrap .days .day{
        font-size: 14px;
    }
    .sec_cal .cal_wrap .day{
        /*width: 30px;*/
        /*height: 30px;*/
        font-size: 14px;
    }
    .sec_cal .cal_wrap .dates{
       gap: 5px;
    }
}

@media screen and (max-width:460px){
    .surgery-num-wrap .desc{
        flex-direction: column;
    }
    .surgery-num-wrap{
        border: none;
        background-color: #ffffff;
        /*border-radius: 8px;*/
        padding : 20px 10px;
        margin: 0;
    }
    .surgery-num{
        font-size: 16px;
    }
    .total-price,.total-price .price{
        font-size: 16px;
    }
    .agreement-wrap .title + div{
        padding-left: 0;
        padding-bottom: 10px;
    }
    .agreement-wrap .confirm-agreement{
        padding: 10px 0 0 0px;
    }
    .customer-question .input-question{
        font-size: 14px;
    }
    .agreement-wrap label{
        font-size: 14px;
    }
    .all-check-wrap{
        margin: 0;

    }
    .event-detail-wrap > ul > li label:before,label[for="invitationVisit"]:before{
        left: 10px;
        top: 10px;
    }

}