.kbc__header_phone {
    margin-right: 20px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    margin-top: -8px;
    position: relative;
    transition: all 0.2s linear;
    border: 1px solid #fff0;
    z-index: 10;
}

.kbc__header_phone:hover {
    background-color: #fff;
    border-color: #11528e;
}

.header_tw .kbc__header_phone:hover {
    background-color: initial;
    border-color: #fff;
}

.kbc__header_phone:hover .kbc__header_phone_link {
    background-position-y: -34px;
}

.kbc__header_phone_link {
    padding: 13px;
}

.kbc__header_phone_link span {
    background-image: url(/img/header_phone_icon_blue.png);
    width: 31px;
    height: 34px;
    display: block;
    cursor: pointer;
}

.header_tw .kbc__header_phone_link span {
    background-image: url(/img/header_phone_icon_white.png);
}

.header_phone {
    position: absolute;
    top: 70px;
    z-index: 5;
    left: -260px;
    margin: auto;
    transform: scaleY(0);
    transition: transform 0.1s ease-out 0.1s;
    background-color: #fff;
    transform-origin: top;
    border-radius: 20px;
}

.header_link {
    margin: 0 auto 15px;
    display: block;
    color: #000;
    font-size: 18px;
    text-align: center;
    text-decoration: underline;
    cursor: pointer;
}

.kbc__header_phone_active .header_phone {
    height: auto;
    transform: scaleY(1);
    transition: transform 0.1s ease-out 0.1s;
    transform-origin: top;
}

.header_phone_wrap {
    background-color: #fff;
    border-radius: 20px;
    border: 1px solid #ccced5;
    padding: 35px 20px 22px;
    position: relative;
    width: 330px;
}

.header_phone_title {
    color: #000;
    font-size: 18px;
    text-align: center;
    margin-bottom: 15px;
}

.header_phone_number {
    color: #000;
    font-size: 18px;
    text-align: center;
    margin-bottom: 15px;
    text-decoration: underline;
    display: block;
}

.header_phone_number:hover {
    text-decoration: none;
}

.header_phone_wrap .header_phone_btn {
    margin: 0 auto 25px;
    width: fit-content;
    font-size: 16px;
    line-height: 26px;
    padding: 10px 25px;
}

.header_phone_main_office {
    text-align: center;
    color: #434e67;
    font-size: 14px;
}

.header_phone_close {
    color: #11528e;
    font-size: 20px;
    font-weight: normal;
    display: none;
    text-align: center;
}

@media (max-width: 1414.98px) {
    .kbc__header_phone_active .header_phone {
        top: 60px;
    }
}

@media (max-width: 1199.98px) {
    .kbc__header_phone {
        width: 70px;
        height: 44px;
        border-radius: 30px;
    }

    .kbc__header_phone_link {
        padding: 6px;
        margin: auto;
    }

    .kbc__header_phone_link span {
        margin: auto;
    }

    .kbc__header_phone_active .header_phone {
        top: 50px;
    }
}

@media (max-width: 767.98px) {
    .kbc__header_phone {
        width: 45px;
        height: 44px;
        border-radius: 30px;
    }

    .kbc__header_phone:hover {
        background-color: inherit;
    }

    .kbc__header_phone:hover .kbc__header_phone_link {
        background-position-y: inherit;
    }

    .kbc__header_phone_link {
        padding: 6px;
    }
}

@media (max-width: 635.98px) {
    .kbc__header_phone {
        width: 38px;
        height: 30px;
        border-radius: 30px;
        margin-left: 5px;
        border: none;
        margin-top: 0px;
    }

    .kbc__header_phone:hover {
        background-color: inherit;
    }

    .kbc__header_phone:hover .kbc__header_phone_link {
        background-position-y: inherit;
    }

    .kbc__header_phone_link {
        padding: 0;
    }

    .kbc__header_phone_link span {
        width: 26px;
        height: 28.5px;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .header_phone_bg {
        position: fixed;
        left: 0;
        top: 0;
        z-index: 8;
        -webkit-box-align: center;
        align-items: center;
        -webkit-box-pack: center;
        justify-content: center;
        background: rgba(34, 34, 34, 0.98);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        height: 100%;
        display: none;
    }

    .kbc__header_phone_active .header_phone_bg,
    .kbc__header_phone_active .header_phone {
        display: block;
        top: 0;
    }

    .header_phone {
        position: fixed;
        bottom: 0;
        width: 100%;
        z-index: 10;
        left: 0;
        border-radius: 0;
        top: 0;
    }

    .header_phone_wrap {
        width: 100%;
        border-radius: 0;
        padding: 40px 20px 22px;
        border: none;
    }

    .header_phone_title {
        font-size: 24px;
    }

    .header_phone_number {
        font-size: 30px;
        margin-bottom: 24px;
        font-weight: normal;
    }

    .header_phone_btn {
        font-size: 20px;
        font-weight: normal;
        padding: 0 32px;
        line-height: 50px;
        border-radius: 25px;
        margin-bottom: 20px;
    }

    .header_phone_main_office {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .header_phone_close {
        display: block;
    }
}


@media (max-width: 419.98px) {
    .header_phone_wrap {
        width: 100%;
        padding: 30px 10px 18px;
    }

    .header_phone_title {
        font-size: 20px;
    }

    .header_phone_number {
        font-size: 26px;
        margin-bottom: 20px;
        font-weight: normal;
    }

    .header_phone_btn {
        font-size: 18px;
        font-weight: normal;
        padding: 0 28px;
        line-height: 46px;
        border-radius: 20px;
        margin-bottom: 28px;
    }

    .header_phone_main_office {
        font-size: 18px;
        margin-bottom: 26px;
    }

    .header_phone_close {
        display: block;
    }
}

