﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 15px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

.JsTreeDiv {
    padding-top: 20px;
    height: 500px;
    width: 100%;
    overflow: auto;
}

#ArtistDiv .badge {
    font-size: 14px;
}

    #ArtistDiv .badge .text {
        padding: 0 0.6em 0 0.4em;
        border-right: 1px solid #ffffff;
    }

    #ArtistDiv .badge .ico {
        padding: 0 0.4em 0 0;
        margin-left: 0.4em;
    }

.DeleteArtistLink {
    cursor: pointer;
}

.docs-pictures > li {
    height: 150px !important;
    width: 150px !important;
}

.highlight {
    color: #005cd5;
    text-decoration: none;
    background-color: transparent;
}

    .highlight:hover {
        text-decoration: underline;
    }

#Upload_Document_Button {
    height: 28px;
}

.DeletePhotoLink, .UploadPhotoLink, .EditBookPageLink, .DeleteBookPageLink, .UploadImageBookPageLink, .ViewArtworkLink, .ViewBookLink, .OCRIcon {
    position: absolute;
    width: 24px;
    height: 24px;
    font-size: 24px;
    color: #9e9e9e;
    margin-top: 4px;
    cursor: pointer;
    font-weight: bold;
}

.UploadPhotoLink {
    margin-left: 82px;
}

.DeletePhotoLink {
    margin-left: 124px;
}

.UploadImageBookPageLink {
    margin-left: 96px;
}

.EditBookPageLink {
    margin-left: 140px;
}

.DeleteBookPageLink {
    margin-left: 180px;
}

.ViewBookLink, .OCRIcon {
    margin-left: 10px;
}

.ViewArtworkLink {
    margin-left: 46px;
}

.OCRIcon {
    margin-top: 265px;
}

.DataTh {
    min-width: 50px;
}

.btn-warning {
    color: #fff !important;
}

.HeaderIcon {
    color: #6A7CF0;
    cursor: pointer;
    font-size: 22px;
    vertical-align: middle;
}

.CardHeaderIcon {
    color: #6A7CF0;
    cursor: pointer;
    font-size: 20px;
    vertical-align: middle;
}

.tag-editor .tag-editor-tag {
    background: #3f51b5 !important;
    color: #fff !important;
    border-radius: .25rem 0 0 .25rem !important;
    height: 22px !important;
}

.tag-editor .tag-editor-delete {
    background: #3f51b5 !important;
    color: #fff !important;
    border-radius: 0 .25rem .25rem 0 !important;
}

    .tag-editor .tag-editor-delete i:before {
        color: #fff !important;
    }

.NoAccessInfo {
    position: absolute;
    right: 50px;
    display: none;
}

    .NoAccessInfo i {
        font-size: 24px;
        margin-right: 4px;
        color: #ff9800;
    }

textarea.form-control {
    height: 80px;
}

.pointer {
    cursor: pointer;
}

.red {
    color: red;
}

/*#Edit_Artwork_PopupDiv {
    z-index: 10020 !important;
}*/

/*#Upload_Document_PopupDiv {
    z-index: 20000 !important;
}

div.modal.fade.show[id*="b-m-w-"] {
    z-index: 15000 !important;
}*/


.AlertExclamationIcon {
    font-size: 40px;
    color: #ff9800;
    display: inline-block;
}

.BookPage_Div {
    display: inline-block;
    padding: 20px;
}

.BookPage_Image {
    border: 1px solid #808080;
    width: 210px;
    height: 297px;
    cursor: pointer;
}

.UploadBookButton, .DownloadBookButton {
    display: none;
}

.BookPageImageDiv {
    text-align: center;
}

#BookPageImage {
    max-width: 100%;
}

.BookPagePagerDiv {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,.125);
    text-align: center;
}

#PreviousPage, #NextPage {
    cursor: pointer;
}

ul.BookPage_Image_Div {
    list-style: none;
    margin: 0;
    padding: 0;
}


.viewer-container.BookPageViewer {
    z-index: 99990 !important;
}

.SaveBookPageToArtwork {
    z-index: 99999 !important;
}

.SaveBookPageToArtworkShowRepetitive {
    z-index: 100000 !important;
}

.viewer-container.RepetitiveViewer {
    z-index: 100010 !important;
}

ul.ui-autocomplete {
    z-index: 1000001 !important;
}

.DeleteBookPageDocumentLink {
    cursor: pointer;
    color: red;
    margin-right: 20px;
}

#contain {
    position: absolute;
    width: 100%;
    height: calc(100% - 20px);
}

#CropPreviewDiv {
    height: calc(100vh - 300px);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 8px 2px rgba(100, 100, 100, .4);
}

#CropPreview {
    max-width: 100%;
    max-height: 100%;
}

#CopyTarget {
    position: fixed;
    left: -999999px;
}

.alert {
    z-index: 999999999999 !important
}

#Crop_PopupDiv {
    z-index: 9999999999 !important;
}

#ViewBook_PopupDiv {
    z-index: 10000000000 !important;
}

.R-cover {
    background: none !important;
}

[id*=b-m-w-] {
    z-index: 100000000000000 !important;
}

#ContainImg {
    width: 100%
}

.img-container, .img-preview {
    text-align: center;
    width: calc(100% - 240px);
    height: calc(100vh - 240px);
    max-height: calc(100vh - 240px);
    display: inline-block;
}

.controls-div {
    vertical-align: top;
    width: 200px;
    height: calc(100vh - 240px);
    max-height: calc(100vh - 240px);
    display: inline-block;
}

#QucikSearchBook_Label_Span .tag-editor,
#QucikSearchBook_Artist_Span .tag-editor {
    width: 400px;
    display: inline-block !important;
    margin: 0 0 -13px 0 !important;
}

.tag-editor {
    border-radius: 0.25rem !important;
}

.DeleteLink {
    cursor: pointer;
    color: red;
}

.select2.select2-container.select2-container--default {
    width: 100% !important;
}

.select2-dropdown.select2-dropdown--below, .select2-container.select2-container--default.select2-container--open {
    z-index: 999999999999999999999999999999 !important;
}

.select2-container--default .select2-selection--single {
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    height: calc(1.5em + .75rem + 2px);
}

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 34px;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 34px;
    }

.BatchDeleteCheckbox {
    position: absolute;
    margin: 10px;
    transform: scale(2);
    /* 避免模糊可加下面两句 */
    -webkit-transform: scale(2);
    -moz-transform: scale(2);
    margin-right: 6px; /* 缩放变大后和文字加点间距 */
}

.BatchDeleteButton {
    font-size: 18px;
    top: 2px;
    position: relative;
    cursor: pointer;
}

.highlight-div {
    box-shadow: 0 0 20px 8px #ff9800;
}
