@charset "utf-8";

/* トップ画面 検索条件 START */
form.project-search-area {
    display: grid;
    grid-template-columns: 140px 30px 140px repeat(6, 1fr) 1fr 15px;
    grid-template-rows: 25px auto auto;
}

div.project-search-header {
    grid-column: 1 / -1;
    grid-row: 1;
}

div.input-group-date,
div.search-condition-date-from,
div.search-condition-date-to {
    width: 140px;
}

div.search-condition-date-from {
    grid-column: 1;
    grid-row: 2;
}

div.delimiter-search-condition-date {
    grid-column: 2;
    grid-row: 2;
    position: relative;
    top: 31px;
    left: 7px;
    height: fit-content;
    width: fit-content;
}

div.search-condition-date-to {
    grid-column: 3;
    grid-row: 2;
}

div.search-condition-status {
    margin-left: 15px;
    grid-column: 4 / 13;
    grid-row: 2;
}

div.search-condition-status .custom-checkbox {
    margin-top: 5px;
}

div.search-condition-free-word {
    grid-column: 1 / -2;
    grid-row: 3;
}

div.search-button {
    grid-column: -1;
    grid-row: 3;
    align-self: end;
}

label.search-condition-label {
    font-size: 0.75rem;
    font-weight: bold;
}

div.date-picker-trigger {
    cursor: pointer;
}

@media screen and (max-width: 1100px) {
    form.project-search-area {
        grid-template-rows: 25px auto auto auto;
    }
    div.search-condition-status {
        margin-left: 0;
        grid-column: 1 / 13;
        grid-row: 3;
    }

    div.search-condition-free-word {
        grid-row: 4;
    }

    div.search-button {
        grid-row: 4;
        align-self: end;
    }
}
/* トップ画面 検索条件 END */

.project-list-table thead th {
    background-color: white;
}

.project-list-table th.col-schedule-datetime,
.project-list-table td.col-schedule-datetime {
    width: 100px;
}

.project-list-table td.col-title {
    font-size: 0.95rem;
}

.project-list-table th.col-talent-name,
.project-list-table td.col-talent-name {
    width: 14%;
}

.project-list-table th.col-schedule-status,
.project-list-table td.col-schedule-status {
    width: 135px;
}

.project-list-table th.col-production-company,
.project-list-table td.col-production-company {
    width: 14%;
}

.project-list-table th.col-manager-name,
.project-list-table td.col-manager-name {
    width: 14%;
}

.page-previous {
    border-left: unset;
    border-top-left-radius: unset !important;
    border-bottom-left-radius: unset !important;
}

.page-next {
    border-right: unset;
    border-top-right-radius: unset !important;
    border-bottom-right-radius: unset !important;
}

.table th, .table td {
    padding: 0.2rem;
}

.custom-file-label {
    overflow: hidden;
}

.custom-file-label::after {
    content: "選択";
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
}

input[type="file"] {
    cursor: pointer;
}

.input-range-area,
.input-repeat-area {
    display: none;
}

.input-move-area {
    display: none;
}

.input-schedule-config-row {
    border-bottom: 1px solid #ddd;
}

.input-time-from,
.input-time-to {
    width: 70px !important;
}

.input-time-delimiter {
    padding: 0 5px;
    position: relative;
    top: 5px;
}

.input-repeat-cycle {
    width: 80px;
    display: inline-block;
}

.input-move-before-time {
    display: inline-block;
}

.input-move-after-time {
    display: inline-block;
}

.input-label,
.input-range-end-date-label,
.input-repeat-schedule-label,
.input-move-schedule-label,
.input-schedule-label {
    padding-right: 0;
    font-size: 0.86em;
    font-weight: bold;
}

.input-label,
.input-schedule-label {
    padding-left: 8px;
}

.input-label {
    width: 150px;
}

.input-label-bg-color {
    background-color: #dcdcdc;
    margin-bottom: 0;
    padding-bottom: 0.5rem;
}

.input-repeat-schedule-label,
.input-range-end-date-label,
.input-move-schedule-label {
    min-width: 130px;
}

div.input-delete-schedule-flg-area {
    margin-left: -15px;
}

.border-top-w2 {
    border-top: 2px solid;
}

.border-left-w2 {
    border-left: 2px solid;
}

.border-bottom-w2 {
    border-bottom: 2px solid;
}

.border-color-white {
    border-color: white;
}

.border-color-gray {
    border-color: #dcdcdc
}

#overlay {
    width: 100%;
    z-index: 9999;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    background-image: url("../../img/loader.gif");
    background-repeat: no-repeat;
    background-position: 50% 20vw;
    background-color: #F5F8FA;
    opacity: 0.4;
}

#selectMonthForm {
    transform: translateX(17%);
}

@media screen and (max-width: 1030px) {
    #selectMonthForm {
        transform: none;
    }
}

@media screen and (max-width: 1010px) {
    div.month-schedule-button-area {
        justify-content: start !important;
    }
    div.month-schedule-button-area > div.first-button-area {
        margin-right: 30px;
    }

    div.month-schedule-button-area > div.first-button-area,
    div.month-schedule-button-area > div.second-button-area {
        margin-bottom: 15px;
    }

    div.month-schedule-button-area > div.second-button-area {
        margin-left: 30px;
    }

    div.month-schedule-button-area > div.last-button-area {
        margin-left: 0;
    }
    div.message-to-talent-area {
        width: fit-content !important;
    }
}

#day-of-week-schedule {
    background-color: white;
}

#day-of-week-schedule .header {
    background-color: white;
}

#day-of-week-schedule .day-of-week-name,
#day-of-week-schedule .row-content-wrapper {
    border-bottom: 1px solid black;
}

#day-of-week-schedule .day-of-week-name {
    text-align: center;
    font-size: 2rem;
    border-right: 2px solid black;
    width: 45px;
}

#day-of-week-schedule .content:hover {
    cursor: pointer;
}

#day-of-week-schedule .row-content:hover {
    background-color: #ececec;
}

#day-of-week-schedule .row-content-wrapper {
    word-break: break-all;
}

#day-of-week-schedule div.header {
    font-weight: bold;
}

#day-of-week-schedule div.header,
#day-of-week-schedule div.content,
#day-of-week-schedule div.empty-content {
    min-height: 35px;
    font-size: 0.9rem;
}

#day-of-week-schedule div.col-schedule-status {
    max-width: 88px;
}

#day-of-week-schedule div.col-priority {
    max-width: 68px;
}

#day-of-week-schedule div.col-schedule-datetime {
    max-width: 181px;
    font-size: 0.85rem;
}

#day-of-week-schedule div.col-title {
    border-right: 2px solid #dee2e6;
    border-left: 2px solid #dee2e6;
}

#day-of-week-schedule div.col-title.content {
    font-size: 0.78rem;
}

#day-of-week-schedule div.col-production-company {
    max-width: 7%;
}

#day-of-week-schedule div.col-staff-name {
    max-width: 4.8%;
    min-width: 55px;
}

#day-of-week-schedule div.col-repeat-period {
    max-width: 268px;
    border-right: 2px solid #dee2e6;
    border-left: 2px solid #dee2e6;
    font-size: 0.85rem;
}

#day-of-week-schedule div.col-create-user-name {
    max-width: 4.8%;
    min-width: 55px;
}

#day-of-week-schedule div.col-last-update-user-name {
    max-width: 4.8%;
    min-width: 55px;
}

.schedule-display-note-label,
.schedule-display-note-secret-label {
    font-weight: bold;
}

.schedule-display-note,
.schedule-display-note-secret {
    max-height: 100px;
    color: red;
    word-break: break-all;
    overflow: auto;
    white-space: pre-wrap;
}

.schedule-tooltip-contents {
    max-width: 825px;
}

.schedule-tooltip-contents tr {
    height: 30px;
    word-break: keep-all;
}

.schedule-tooltip-contents td:nth-child(2) {
    width: fit-content;
    word-break: break-all;
}

.tippy-box[data-theme~='required-any'] {
    background-color: #dc3545;
    color: white;
}

.tippy-box[data-theme~='required-any'][data-placement^='top'] > .tippy-arrow::before,
.tippy-box[data-theme~='required-any'][data-placement^='bottom'] > .tippy-arrow::before,
.tippy-box[data-theme~='required-any'][data-placement^='left'] > .tippy-arrow::before,
.tippy-box[data-theme~='required-any'][data-placement^='right'] > .tippy-arrow::before {
    color: #dc3545;
}

.uploaded-file-name {
    word-break: break-all;
}

.form-control {
    font-size: 1em;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
}

.select2-container--bootstrap .select2-selection {
    padding-left: 0.3rem;
}

.modal-content {
    font-size: 1.04rem;
}

.custom-control-inline {
    margin-right: 0.5rem;
}
.custom-control-label::before,
.custom-control-label::after {
    top: 0.4rem;
    left: -1.2rem;
}

input::-webkit-calendar-picker-indicator {
    display: none;
}

#select_year_area .select2-container--bootstrap .select2-selection,
#select_year_area .select2-container--bootstrap .select2-results__option,
#select_month_area .select2-container--bootstrap .select2-selection,
#select_month_area .select2-container--bootstrap .select2-results__option {
    font-size: 1.65rem;
    height: 40px;
    padding-top: 0;
}

.select2-results > ul[id*="select2-year"],
.select2-results > ul[id*="select2-month"] {
    max-height: 300px !important;
}

/* 日付ごとのメモ START */
i.talent-per-date-memo-icon {
    font-weight: bold;
    position: relative;
    top: -5px;
    color: #6c757d;
    transform: scaleX(-1);
}

div.talent-per-date-memo-wrapper {
    width: 325px;
    height: 335px;
}

header div.per-date-memo-close {
    cursor: pointer;
    font-size: 1.3rem;
}

header div.memo-date-label {
    font-size: 1.2rem;
    font-weight: bold;
}

div.talent-per-date-memo-wrapper div.edit-area {
    height: 260px;
}

div.talent-per-date-memo-wrapper div.read-area {
    height: 295px;
}

#talentPerDateMemo {
    resize: none;
}
/* 日付ごとのメモ END */

.page-top-button {
    border-radius: 50%;
    z-index: 20;
    box-shadow: 2px 2px 4px rgba(0,0,0, 0.4);
    position: fixed;
    bottom: 15px;
    right: 15px;
    display: none;
}

.page-top-button>i {
    vertical-align: initial;
}

.page-top-button-bottom-space {
    height: 60px;
}

/* 伝言メッセージ START */
div.message-to-talent-area {
    width: 205px;
    text-align: right;
}

.new-message-to-talent,
.message-to-talent {
    cursor: pointer;
}

span.new-message-to-talent {
    font-size: 1rem;
    position: relative;
    top: 7px;
}

span.new-message-to-talent:hover {
    font-weight: bold;
}

button.message-to-talent > span i {
    color: #ffc83d;
}

button.message-to-talent > span {
    font-weight: bold;
    font-size: 1.4rem;
    animation: blink 0.5s linear infinite alternate;
}

@keyframes blink {
    0% {
        opacity: 0.1;
    }
    100% {
        opacity: 1;
    }
}

div.message-to-talent-wrapper {
    width: 325px;
    height: 335px;
}

header div.message-to-talent-close {
    cursor: pointer;
    font-size: 1.3rem;
}

div.message-to-talent-wrapper div.edit-area {
    height: 260px;
}

div.message-to-talent-wrapper div.read-area {
    height: 295px;
}

#messageToTalent {
    resize: none;
}

button.message-to-talent {
    background-color: #004898;
    border-color: #004898;

    height: 39.33px;
    padding-top: 1px;
    padding-left: 10px;

    width: 150px;
}

button.message-to-talent:hover {
    background-color: #023c7d;
    border-color: #023c7d;
;
}

button.message-to-talent:focus,
button.message-to-talent.focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 72, 152, 0.5);
}

button.message-to-talent.btn.disabled,
button.message-to-talent.btn:disabled {
    background-color: #004898;
    border-color: #004898;
}

button.message-to-talent:not(:disabled):not(.disabled):active,
button.message-to-talent:not(:disabled):not(.disabled).active,
.show > .btn.dropdown-toggle {
    background-color: #023c7d;
    border-color: #023c7d;
}

button.message-to-talent:not(:disabled):not(.disabled):active:focus,
button.message-to-talent:not(:disabled):not(.disabled).active:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 72, 152, 0.5);
}
/* 伝言メッセージ END*/

/* 役者の競合状況表示 START */
span.exists-depend {
    color: red;
    font-size: 0.9rem;
    cursor: pointer;
}

table.exists-depend-table td:first-of-type {
    vertical-align: top;
    padding-right: 20px;
    min-width: 150px;
}
/* 役者の競合状況表示 END */
