select::-ms-expand {
    display: none;
}

/* IE 셀렉박스 기본 화살표 제거 */
input[type=text]::-ms-clear {
    display: none
}

/* IE 인풋박스 clear 버튼 제거 */
input::placeholder {
    color: #ababab
}

table caption,
legend,
.blind {
    position: absolute;
    clip: rect(0 0 0 0);
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
}

input,
textarea,
button,
select {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    background-color: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    appearance: none;
    background: none;
}

input[type="checkbox"],
input[type="radio"] {
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    border: none;
    background-color: transparent;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

input[type="radio"]::before {
    border-radius: 50%;
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

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

.b {
    font-weight: 700;
    color: var(--neutral-gray-800, #262626);
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
textarea {
    border-radius: 0;
    background-color: transparent;
    padding: 0.5em;
    width: 100%;
}

.modal .form_group {
    display: flex;
    align-items: center;
}

.modal .form_group label {
    display: none;
}

.modal .form_group input[type="checkbox"]~label {
    display: block;
    cursor: pointer;
}

.modal .util_group {
    display: flex;
    align-items: center;
    line-height: normal;
}

.modal .btn_group {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 16px;
}

.modal .btn_group button {
    flex: 1;
    padding: 12px;
    font-size: 16px;
    font-weight: 700;
}

.modal button {
    padding: 7px 12px;
    border-radius: 5px;
    /* background: #0E9B95; */
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.6px;
    transition: all .2s;
}

.modal button:hover {
    filter: brightness(110%);
}

.modal button[type="submit"] {
    width: 100%;
    font-size: 16px;
    line-height: normal;
}

.modal input[type="text"],
.modal input[type="password"],
.modal input[type="email"],
.modal input[type="number"],
.modal input[type="date"],
.modal textarea {
    padding: 0 15px;
    /* border-radius: 5px; */
    background-color: var(--neutral-gray-10001, #F5F5F5);
}

.modal input[type="text"],
.modal input[type="password"],
.modal input[type="email"],
.modal input[type="number"],
.modal input[type="date"] {
    line-height: 54px;
}

.modal textarea {
    padding: 15px;
    line-height: 150%;
}

.modal textarea::placeholder {
    color: var(--neutral-gray-40001, #A3A3A3);
}

.modal select {
    width: 100%;
    cursor: pointer;
    padding: 0 30px 0 15px;
    border-radius: 5px;
    /* border: 1px solid #ECECEC; */
    color: var(--neutral-gray-40001, #A3A3A3);
    line-height: 54px;
    font-size: 16px;
    background: #F5F5F5 url('/img/ico_arrow.png') 95% center / 24px no-repeat;
}

.modal option {
    color: #333;
    cursor: pointer;
}

input[type="checkbox"] {
    display: flex;
    width: 24px;
    height: 24px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border-radius: 3px;
    /* border: 1px solid #494949; */
    /* background: #FFF; */
    background: url('/img/ico_check.png') center center / 100% no-repeat;
}

/* input[type="checkbox"]:checked {
    position: relative;
} */

input[type="checkbox"]:checked {
    background: url('/img/ico_check_on.png') center center / 100% no-repeat;
}


/* MODAL */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 9999;
    /* Sit on top */
    /* padding-top: 100px; */
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto !important;
    /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.5);
}

.modal .modal_content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    /* padding: 0; */
    width: 90%;
    max-width: 1500px;
    text-align: left;
    background: #fff;
    /* padding: 30px 40px; */
    box-sizing: border-box;
    padding: 70px 80px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

@-webkit-keyframes animatetop {
    from {
        top: -200px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -200px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

body.body_locked {
    overflow: hidden !important;
}

.modal.on {
    display: flex;
    align-items: center;
}

.modal .modal_head {
    /* display: flex; */
    border-bottom: 1px solid #000;
    padding: 6px 0;
}

.modal .modal_head.fl {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal .modal_head h3 {
    color: #000;
    font-size: 24px;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: -0.06px;
}


.modal .modal_head .btn_close {
    margin-left: auto;
    padding: 0;
}

.modal .modal_head .ico_close {
    display: block;
    width: 30px;
    height: 30px;
    background: url(/img/icon/ico_close.svg) center center/100% no-repeat;
}

.modal .modal_con {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 0 0;
    text-align: left;
    color: var(--666666-, #666);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.04px;
}

.modal .modal_con .top {
    margin-bottom: 60px;
}

.modal .modal_con .txt {
    line-height: 24px;
}

.modal .modal_con .c {
    color: #5FBABD;
    font-weight: 700;
}

.modal .form_wrap {
    display: flex;
    gap: 28px;
}

.modal .btn_group button {
    background: var(--neutral-gray-40001, #A3A3A3);
    max-width: fit-content;
    padding: 13px 42px;
    margin: 0 auto;
    border-radius: 0;
}

.policy_box {
    height: 280px;
    padding: 15px 14px;
    margin-bottom: 13px;
    overflow-y: scroll;
    background: var(--neutral-gray-10001, #F5F5F5);
}

.modal .left {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    flex-shrink: 0;
    width: 50%;
}

.modal .form_group {
    width: calc(50% - 8px);
}

.modal .form_group.w100 {
    width: 100%;
    height: unset;
}


@media screen and (max-width: 1350px) {
    .modal select {
        font-size: 14px;
    }

    .modal .modal_content {
        padding: 50px 40px;
    }

    .modal .modal_con .top {
        margin-bottom: 40px;
    }

    .pop_qna .modal_con .top {
        overflow: auto;
    }


    .modal .form_wrap {
        flex-direction: column;
        font-size: 14px;
    }

    .modal .left {
        width: 100%;
    }

    .policy_box {
        height: 180px;
    }
}

@media screen and (max-width: 480px) {
    .modal .modal_content {
        padding: 20px;
    }

    .modal .modal_con .top {
        max-height: 50vh;
        overflow: hidden;
        overflow-y: auto;
    }

    .modal .modal_con .top {
        margin-bottom: 20px;
    }

    .modal .modal_head h3 {
        font-size: 20px;
    }

    .modal .modal_head .txt {
        color: var(--neutral-gray-60001, #525252);
        font-size: 14px;
        line-height: 150%;
        letter-spacing: -0.28px;
    }

    .modal .form_group {
        width: calc(100% - 8px);
    }

    .policy_box {
        font-size: 14px;
        line-height: 150%;
    }

    /* #pop3 .policy_box {
        height: 50vh;
    } */

}


/* 달력 */
.pop_calendar .modal_head {
    position: absolute;
    right: 30px;
    top: 30px;
    border-bottom: none;
}

.pop_calendar .modal_head {
    right: 12px;
    top: 12px;
}

.pop_calendar .modal_con {
    padding: 0;
}

.calendar th:first-child,
.calendar td:first-child {
    border-left: 1px solid #cacaca;
}

@media screen and (max-width:768px) {
    .pop_calendar .modal_content {
        padding: 63px 14px 25px;
    }

    #calendarMonth select {
        font-size: 18px;
        font-weight: 600;
        background: url(/img/ico_calendar.svg) center right / 24px 24px no-repeat;
    }

    .calendar th {
        line-height: 32px;
        padding: 0 8px;
    }

    .calendar td {
        padding: 7px 5px;
    }
}

/* 일정 상세 보기 팝업 */
.modal.pop_schedule {
    z-index: 10000;
    overflow: hidden;
}

.modal.pop_schedule .modal_content {
    margin: unset;
    width: 100%;
    margin-top: auto;
    animation-name: animateBottom;
    border-radius: 16px 16px 0px 0px;
    padding: 8px 27px 19px 28px;
}

.modal.pop_schedule .modal_head {
    position: relative;
    padding: 0;
    color: #404040;
    font-size: 18px;
    font-weight: 700;
    line-height: 100%;
    border: none;
}

.modal.pop_schedule .modal_head:before {
    content: '';
    display: block;
    position: relative;
    width: 48px;
    height: 3px;
    background: #D9D9D9;
    margin: 0 auto;
    border-radius: 999px;
    margin-bottom: 30px;
}

.pop_schedule .calendar_info {
    padding-top: 0;
    justify-content: start;
}

.pop_schedule .schedule_list {
    min-height: 173px;
}

.pop_schedule .schedule_list li {
    text-overflow: unset;
    display: block;
    overflow: visible;
}

@keyframes animateBottom {
    0% {
        bottom: -100%;
        opacity: 0;
    }

    100% {
        bottom: 0;
        opacity: 1;
    }
}

@media screen and (min-width:981px) {
    .pop_schedule {
        display: none !important;
    }
}

/* 20250226 의료 전문가 체크 팝업 */
.pop_doctor {
    z-index: 10000;
}

.pop_doctor .modal_head {
    border-bottom: 1px solid #E5E5E5;
    padding: 0;
}

.pop_doctor .modal_content {
    padding: 0;
    max-width: 780px;
    border-radius: 16px;
}

.pop_doctor img {
    display: flex;
    margin: 22px auto;
    padding: 0;
    display: block;
    justify-content: center;
    align-items: center;
}

.pop_doctor .modal_con {
    padding: 53px 60px 40px;
    text-align: center;
}

.pop_doctor .txt_box p {
    font-size: 22px;
    font-weight: 300;
    line-height: 130%;
    color: #262626;
    letter-spacing: -0.22px;
}

.pop_doctor .txt_box p b {
    font-weight: 500;
}

.pop_doctor .txt_box p:first-child {
    padding-bottom: 16px;
}

.pop_doctor .txt_box p:last-child {
    padding-bottom: 52px;
}

.pop_doctor .btn_box {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    gap: 20px;
}

.pop_doctor button {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: -0.36px;
    gap: 2px;
    border-radius: 0;
    padding: 13px 23px;
}

.pop_doctor button p {
    width: 58px;
    text-align: center;
}

.pop_doctor .btn_red {
    color: #FFF;
    background: #6E0000;
}

.pop_doctor .btn_line {
    color: #262626;
    border: 1px solid #000;
}

@media screen and (max-width:768px) {
    .pop_doctor img {
        max-width: 136px;
        margin: 18px auto;
    }

    .pop_doctor .modal_con {
        gap: 0;
        padding: 30px 20px 36px;
    }

    .pop_doctor .txt_box p {
        font-size: 17px;
        line-height: 140%;
        letter-spacing: -0.34px;
    }

    .pop_doctor .txt_box p:first-child {
        padding-bottom: 24px;
    }

    .pop_doctor .txt_box p:last-child {
        padding-bottom: 30px;
    }

    .pop_doctor .btn_box {
        width: 100%;
        gap: 12px;
    }

    .pop_doctor button {
        max-width: 130px;
        padding: 9px 23px;
        font-size: 16px;
    }

    .pop_doctor button p {
        width: 42px;
    }
}