/* ダイアログの土台 */
#report_edit_dialog_base {
    max-width: 1000px;
}

/* タイトルの見出し */

/* 宛先の見出し */
#label_report_edit_dialog_title,
#label_report_edit_dialog_address {
    font-family: "Hiragino Kaku Gothic ProN";
    white-space: nowrap;
    margin-bottom: 0;
    margin-top: 8px;
    text-align: left;
    font-size: 11px;
}

/* 作業項目一覧 */
#report_edit_dialog_work_item_list {
    list-style: none;
}

/* 作業項目のオリジナル */
#report_edit_dialog_work_item_origin {
    display: none;
}

.report_edit_dialog_work_item_origin {
}

#report_edit_dialog_work_area {
    padding: 0.375rem 0.75rem;
    font-size: 0.9rem;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* 作業項目の編集エリア：開始時間と終了時間の繋ぎ */
#report_edit_dialog_work_item_list
    #input_report_edit_dialog_work_item_time_connection {
    padding-left: 0;
    padding-right: 0;
    margin: 10px 5px 0;
}

.report_edit_work_item_title,/* 作業項目の編集エリア：実数 */
#report_edit_dialog_work_item_list .report_edit_work_item_actual_count,
#report_edit_dialog_work_item_list .report_edit_work_item_actual_time {
    /* 作業項目の編集エリア：タイトル */
    padding-right: 0;
}

/* 作業項目の編集エリア：実数の単位 */
#report_edit_dialog_work_item_list
    #input_report_edit_dialog_work_item_actual_count_unit {
    margin-bottom: 0;
    margin-top: 15px;
}

/* 作業項目の編集エリア：実時間の単位 */
#report_edit_dialog_work_item_list
    #input_report_edit_dialog_work_item_actual_time_unit {
    margin-bottom: 0;
    margin-top: 15px;
}

/* 作業項目の編集エリア：追加ボタン */
#button_report_edit_dialog_add_work_item {
    margin-top: 15px;
}

/* 備考の見出し */
#label_report_edit_dialog_remark,
#label_report_edit_dialog_file {
    font-family: "Hiragino Kaku Gothic ProN";
    margin-top: 24px;
    text-align: left;
    font-size: 11px;
}

/* 登録タスクの余白 */
.list-group-item {
    padding: 10px 15px;
}

/* 登録したタスクの余白 */
.card_width {
    flex-wrap: nowrap;
    margin-right: -45px;
}

/* 作業項目の編集ボタン */
#button_report_edit_work_item_edit {
    max-height: 42px;
    margin-left: 20px;
}

/* 背景色の設定 */
.background {
    background-color: var(--contentsbase);
}

#report_edit_dialog_body {
    padding: 1rem 3rem;
}

/* モーダル設定上書き */
#report_edit_dialog .modal-body {
    background-color: var(--contentsbase);
}

#report_edit_dialog.modal.modal-static .modal-dialog {
    transform: scale(1);
}

#report_edit_dialog.modal.modal-static .modal-dialog {
    transform: scale(1);
}

@media only screen and (max-device-width: 767px) {
    #report_edit_dialog_body {
        padding: 1rem;
    }
}

/* 作業項目の単位 */
.input_report_edit_dialog_work_item_unit {
    margin-bottom: 0;
    margin-top: 15px;
    margin-left: 5px;
}

/* レポート備考欄のtextareaのサイズを上書き */
#report_edit_slide_remark_input_area .tox.tox-tinymce {
    min-height: calc(100vh - 580px);
}

/* レポート詳細画面の備考欄のtextareaのサイズを上書き */
#report_edit_remark_input_area .tox.tox-tinymce {
    min-height: calc(100vh - 595px);
}

/* レポートモーダルのtextareaのサイズを上書き */
#report_edit_dialog_body .tox.tox-tinymce {
    min-height: calc(100vh - 480px);
}

/* 日報作成ダイアログ「テンプレートを使用して新規作成」ボタン */
button#report_template_button {
    height: 32px;
    font-size: 14px;
    line-height: 20px;
    margin-right: 10px;
    width: 100%;
}

/* 日報作成ダイアログ「下記き保存」ボタン */
#report_temporary_button {
    height: 32px;
    font-size: 14px;
    line-height: 20px;
    margin-right: 10px;
}

/* 日報テンプレート一覧ダイアログ */
#report_template_list_dialog .modal-header {
    padding: 0 20px 0 28px;
    height: 65px;
    align-items: center;
    justify-content: flex-start;
}

.wrapper_template_btn {
    padding: 0 220px 0 0;
}

#report_template_list_dialog .modal-header .modal_title {
    font-size: 18px;
    font-weight: bold;
    vertical-align: middle;
    margin-left: 16px;
    color: #444;
}

#report_template_list_dialog button.common_close_button {
    margin: 0;
}

#report_template_list_dialog .modal-body {
    background-color: #f4f2ef;
}

.report_template_list_area {
    margin: 40px 24px;
}

.unknown_user_icon {
    height: 20px;
    width: 20px;
    border-style: double;
    border-color: #ccc;
}

/* スマホ表示 */
@media screen and (max-width: 767px) {
    #report_edit_dialog button.common_close_button {
        margin: 0;
    }

    #report_edit_dialog .modal-header {
        height: 170px;
        display: block;
    }

    button#report_template_button {
        position: absolute;
        top: 80px;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        width: 70%;
    }

    button#report_temporary_button {
        position: absolute;
        top: 130px;
        left: 31%;
        transform: translate(-50%, -50%);
        margin: 0;
        width: 32%;
    }

    button#button_report_edit_dialog_save {
        position: absolute;
        top: 130px;
        left: 69%;
        transform: translate(-50%, -50%);
        margin: 0;
        width: 32%;
    }
}

@media only screen and (max-device-width: 379px) {
    .col-44 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* 280px以下のスマホ表示 */
@media screen and (max-width: 280px) {
    #report_edit_dialog .modal-header {
        height: 140px;
    }

    #report_edit_dialog .modal-header {
        height: 170px;
        display: block;
    }

    button#report_template_button {
        position: absolute;
        top: 80px;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        width: 80%;
        font-size: 11px;
    }

    button#report_temporary_button {
        position: absolute;
        top: 130px;
        left: 28.5%;
        transform: translate(-50%, -50%);
        margin: 0;
        width: 35%;
        font-size: 10px;
    }

    button#button_report_edit_dialog_save {
        position: absolute;
        top: 130px;
        left: 72.5%;
        transform: translate(-50%, -50%);
        margin: 0;
        width: 35%;
        font-size: 10px;
    }
}
