/* ----- 書誌情報登録のページの各種操作ボタン ここから ----- */
#book-operation-container {
    position: fixed;
    top: 69px;
    /* left: 50%; */
    left: 0;
    right: 0;
    z-index: 500;
    /* text-align:right; */
}

@media (max-width: 991px) {
    #book-operation-container {
        position: absolute;
    }
}

#input-lineup-info-button.jpro-tab-active,
#input-pr-info-button.jpro-tab-active,
#input-forthcoming-books-info-button.jpro-tab-active,
#input-library-info-button.jpro-tab-active,
#input-stock-info-button.jpro-tab-active,
#input-stock2-info-button.jpro-tab-active,
#input-fixed-info-button.jpro-tab-active,
#input-books-info-button.jpro-tab-active {
    color: #fff;
    background-color: #7f6746;
}

/* ----- 書誌情報登録のページの各種操作ボタン ここまで ----- */

/* ----- 書誌情報の入力欄 ここから ----- */
#input-container {
    margin-bottom: 3rem;
}

@media (max-width: 991px) {
    #input-container {
        min-width: 992px;
    }
}

/* ----- 書誌情報の入力欄 ここまで ----- */

/* ----- JPRO必須項目の色 ここから ----- */
.fa-asterisk.jpro-required-color::before {
    color: #ffc107;
}

.fa-circle-o.jpro-required-color::before {
    color: #ffc107;
}

/* ----- JPRO必須項目の色 ここまで ----- */

/* ----- ISBNの入力欄 ここから ----- */
#text-isbn-code {
    position: absolute;
    top: 0;
    left: 0px;
    z-index: 100;
}

#text-isbn-code-disabled {
    position: absolute;
    top: 0;
    left: 0px;
    z-index: 100;
}

#select-isbn-code-button:after {
    border: none;
}

/* ----- ISBNの入力欄 ここまで ----- */

/* ----- 著者情報入力欄のグループの枠線 ここから ----- */
#contrib-container>.contrib {
    border-top: 1px dotted #ffcf8c;
    padding-top: 1rem;
}

#contrib-container>.contrib:nth-of-type(1) {
    border-top: none;
    padding-top: 0;
}

/* ----- 著者情報入力欄のグループの枠線 ここまで ----- */

/* ----- 著者情報のアスタリスクの表示 ここから ----- */
#book-contrib-label-container.input-books .contributor-fa-asterisk {
    display: none;
}

#contrib-container .contributor-name-kana-fa-asterisk {
    display: inline-block;
}

#contrib-container.input-lineup .contributor-name-kana-fa-asterisk,
#contrib-container.input-stock .contributor-name-kana-fa-asterisk {
    display: none;
}

#contrib-container .contributor-history-fa-asterisk {
    display: none;
}

#contrib-container.input-library .contributor-history-fa-asterisk {
    display: inline-block;
}

/* ----- 著者情報のアスタリスクの表示 ここまで ----- */

/* ----- 内容紹介 これから出る本掲載用（書協会員専用）の表示・非表示 ここから ----- */
#jbpa-description-input-item-container,
#jbpa-description-input-line-container {
    display: none;
}

#jbpa-description-input-item-container.jbpa-description-active,
#jbpa-description-input-line-container.jbpa-description-active {
    display: block;
}

#jbpa-description-input-item-button.jbpa-description-active,
#jbpa-description-input-line-button.jbpa-description-active {
    color: #fff;
    background-color: #7f6746;
}

/* ----- 内容紹介 これから出る本掲載用（書協会員専用）の表示・非表示 ここまで ----- */

/* ----- 画像の入力欄関連 ここから ----- */
/* 2020.1.8 その他画像3～5追加 */
#book-cover-upload-container-1,
#book-cover-upload-container-2,
#book-cover-upload-container-3,
#book-cover-upload-container-4,
#book-cover-upload-container-5,
#book-cover-upload-container-6 {
    border: 1px dotted #7f6746;
    padding: 0.5rem;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 2020.1.8 その他画像3～5追加 */
#book-cover-upload-container-1 p.dragover,
#book-cover-upload-container-2 p.dragover,
#book-cover-upload-container-3 p.dragover,
#book-cover-upload-container-4 p.dragover,
#book-cover-upload-container-5 p.dragover,
#book-cover-upload-container-6 p.dragover {
    display: none;
}

/* 2020.1.8 その他画像3～5追加 */
#book-cover-upload-container-1.dragover,
#book-cover-upload-container-2.dragover,
#book-cover-upload-container-3.dragover,
#book-cover-upload-container-4.dragover,
#book-cover-upload-container-5.dragover,
#book-cover-upload-container-6.dragover {
    background-color: #7f6746;
}

/* 2020.1.8 その他画像3～5追加 */
#book-cover-upload-container-1.dragover p.dragover,
#book-cover-upload-container-2.dragover p.dragover,
#book-cover-upload-container-3.dragover p.dragover,
#book-cover-upload-container-4.dragover p.dragover,
#book-cover-upload-container-5.dragover p.dragover,
#book-cover-upload-container-6.dragover p.dragover {
    display: block;
    color: white;
    font-weight: 700;
}

/* 2020.1.8 その他画像3～5追加 */
#book-cover-upload-container-1.dragover p.normal,
#book-cover-upload-container-1.dragover #book-cover-button-1,
#book-cover-upload-container-2.dragover p.normal,
#book-cover-upload-container-2.dragover #book-cover-button-2,
#book-cover-upload-container-3.dragover p.normal,
#book-cover-upload-container-3.dragover #book-cover-button-3,
#book-cover-upload-container-4.dragover p.normal,
#book-cover-upload-container-4.dragover #book-cover-button-4,
#book-cover-upload-container-5.dragover p.normal,
#book-cover-upload-container-5.dragover #book-cover-button-5,
#book-cover-upload-container-6.dragover p.normal,
#book-cover-upload-container-6.dragover #book-cover-button-6 {
    display: none;
}

@media (min-width: 992px) {
    .jpro-isbn-image {
        max-height: 270px;
        max-width: 250px;
    }
}

@media (min-width: 1200px) {
    .jpro-isbn-image {
        max-height: 320px;
        max-width: 300px;
    }
}

/* ----- 画像の入力欄関連 ここまで ----- */

/* ----- 基本書誌情報のファイルアップロードの処理タイプボタン ここから ----- */
#book-file-check-button.button-active,
#book-file-upload-button.button-active {
    color: #fff;
    background-color: #7f6746;
}

/* ----- 基本書誌情報のファイルアップロードの処理タイプボタン ここまで ----- */

/* ----- 書誌情報入力の注意事項欄 ここから ----- */
#input-notice-container {
    position: relative;
    padding: 1.25rem;
    border-radius: 0.25rem;
    background-color: #7f6746;
    border-color: #7f6746;
    color: white;
    cursor: pointer;
}

#input-notice-container-minus-button {
    position: absolute;
    top: 1.4rem;
    right: 0.5rem;
    font-size: 1.25rem;
    cursor: pointer;
}

#input-notice-container-plus-button {
    position: absolute;
    top: 1.4rem;
    right: 0.5rem;
    font-size: 1.25rem;
    cursor: pointer;
}

/* ----- 書誌情報入力の注意事項欄 ここまで ----- */

/* ----- 書誌情報入力の警告欄 ここから ----- */
#input-alert-container {
    position: relative;
    /* padding: 2.5rem 1.25rem 1rem 1.25rem; */
    padding: 1.25rem;
}

#input-alert-container-minus-button {
    position: absolute;
    top: 1.4rem;
    right: 0.5rem;
    font-size: 1.25rem;
    cursor: pointer;
}

#input-alert-container-plus-button {
    position: absolute;
    top: 1.4rem;
    right: 0.5rem;
    font-size: 1.25rem;
    cursor: pointer;
}

#input-alert-container-close-button {
    position: absolute;
    left: 1.25rem;
    top: 5px;
    font-size: 2rem;
    cursor: pointer;
}

/* ----- 書誌情報入力の警告欄 ここまで ----- */

/* ----- 全てのタブの警告ダイアログ ここから ----- */
#input-fixed-alert-wrapper {
    background-color: rgba(255, 207, 140, 0.3);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1900;
}

/* 警告ダイアログ */
#input-fixed-alert-form {
    position: fixed;
    border: 3px solid #ffcf8c;
    background-color: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000;
    padding: 40px 35px 30px 30px;
    width: 500px;
}

#input-fixed-alert-form-close-button {
    position: absolute;
    right: 10px;
    top: 5px;
    font-size: 2rem;
    cursor: pointer;
}

/* ----- 全てのタブの警告ダイアログ ここまで ----- */

/* ----- 取次搬入予定日の休配日の色 ここから ----- */
.class-agent-date {
    color: red !important;
}

/* ----- 取次搬入予定日の休配日の色 ここまで ----- */

/* ----- 試し読みデザイン ここから ----- */
.flex-container {
    display: flex;
    align-items: center;
}

.custom-select {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(120, 97, 66, 0.5);
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.input-book-cover-area-tameshi {
    width: 65%;
}

.preview-section {
    max-height: 625px;
    min-height: 290px;
    padding-right: 15px;
    padding-top: 15px;
    padding-left: 15px;
    padding-bottom: 15px;
    margin-right: 1px;
}

.preview-row {
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
    margin-bottom: 25px;
    margin-top: 15px;
    align-items: start;
    padding-left: 7px;
}

.image-container {
    width: 140px;
    height: 140px;
    margin-bottom: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    position: relative;
}

.image-container:last-child {
    margin-right: 0;
}

.image-container img {
    max-width: 140px;
    max-height: 140px;
    object-fit: cover;
    z-index: 1;
}

.image-info {
    width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 10px;
}

.no-image-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
}

.delete-btn {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.6);
    padding: 5px;
    cursor: pointer;
    z-index: 10;
}

.category-name {
    font-size: 14px;
    text-align: center;
    width: 100%;
    padding: 2px 0;
    white-space: normal;
    word-break: break-word;
}

.file-name {
    font-size: 14px;
    text-align: center;
    width: 100%;
    padding: 2px 0;
    margin-bottom: 5px;
    white-space: normal;
    word-break: break-word;
}

.book-name {
    font-size: 17px;
    text-align: left;
    padding: 5px 0;
    font-weight: bold;
}

.preview-section::-webkit-scrollbar,
.preview-row::-webkit-scrollbar {
    width: 11px;
    height: 15px;
}

.preview-section::-webkit-scrollbar-track,
.preview-row::-webkit-scrollbar-track {
    background: #ffcf8c;
    border-radius: 7px;
}

.preview-section::-webkit-scrollbar-thumb:horizontal,
.preview-row::-webkit-scrollbar-thumb:horizontal {
    background: linear-gradient(to right, #ff4000, #ffb810);
    border-radius: 7px;
}

/* ----- 試し読みデザイン ここまで ----- */