.btn_a {
    border: 1px solid #0087d9;
    background: linear-gradient(0deg, #0087d9, #5ac0ff);
    background-color: #0087d9;
    color: #fff !important;
    text-shadow: 1px 1px 5px #0087d9;
}

.btn_a:hover {
    background: linear-gradient(0deg, #5ac0ff, #0087d9);
}

.btn_b {
    border: 1px solid #b61b1b;
    background: linear-gradient(0deg, #b61b1b, #de5b5b);
    background-color: #b61b1b;
    color: #fff !important;
    text-shadow: 1px 1px 5px #b61b1b;
}

.btn_b:hover {
    background: linear-gradient(0deg, #de5b5b, #b61b1b);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: auto;
    background-color: #00000050;
    transition: 0.3s;
}

.modal .modal_inner {
    display: block;
    width: 90%;
    max-width: 500px;
    padding: 20px;
    padding-top: 10px;
    background-color: #fff;
    position: absolute;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    top: 55%;
    left: 50%;
}

.modal.modal_qr .modal_inner .print-area img {
    width: 400px;
    max-width: 100%;
}

@media screen and (max-width: 900px) {
    .modal .modal_inner {
        display: block;
        width: 100%;
        max-width: 100%;
        padding: 20px;
        padding-top: 30px;
        background-color: #fff;
        position: fixed;
        transform: unset;
        -webkit-transform: unset;
        -ms-transform: unset;
        top: 60px;
        left: 0;
        border-radius: 0;
        max-height: calc(100vh - 190px);
        overflow-y: scroll;
    }

    .modal .circle_btn.close_btn,
    .modal .circle_btn.modal_narrow_close {
        top: 30px;
        right: 30px;
    }

    .modal_narrow {
        top: 85px;
        height: calc(100vh - 217px);
        overflow: scroll;
    }

    .modal_narrow .modal_inner ol {
        max-height: 500px;
        overflow-y: auto;
    }

}

@media screen and (max-width: 800px) {

    /*---------------------
        Modal
    ---------------------*/
    .modal-content {
        width: 90%;
    }

}

@media screen and (max-width: 600px) {

    .user_win_side_on {
        width: calc(100vw - 100%) !important;
    }

    .user_win_side {
        width: 100%;
        border-left: none;
    }

    .modal_log,
    .modal_log_detail,
    .modal_workitem_detail,
    .user_win_side {
        width: 100%;
        height: calc(100vh - 160px);
    }

    .user_win_side .widthopen,
    .user_win_side .widthclose {
        display: none;
    }
}