/* コンテキスト固有 */
.hc-infmng .preview-container {
    background-color: black;
    opacity: 80%;
    border: solid 1px #e1bc55;
}

.hc-infmng .preview-container .popup-title,
.hc-infmng .preview-container .emergencyemssage-title {
    color: #e1bc55;
    font-size: 2rem;
    border-bottom: solid 1px #e1bc55;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 2px;
    font-family: '游ゴシック';
}

.hc-infmng .preview-container .popup-body,
.hc-infmng .preview-container .emergencyemssage-body {
    color: white;
    font-size: 1rem;
    padding-left: 4rem;
    padding-right: 4rem;
    font-family: '游ゴシック';
    white-space: pre;
}

.hc-infmng .preview-container .popup-image-area,
.hc-infmng .preview-container.emergencyemssage-image-area {
    overflow-x: auto;
}

.hc-infmng .preview-container .popup-image,
.hc-infmng .preview-container .emergencyemssage-image {
    width: 766px;
    height: 376px;
}

.hc-infmng .radio-circle-button {
    clip-path: inset(100%);
    pointer-events: none;
    position: absolute;
}

.hc-infmng .radio-label {
    cursor: pointer;
    padding-left: 30px;
    position: relative;
    margin-bottom: 0.7rem;
}

.hc-infmng .radio-label::before,
.hc-infmng .radio-label::after {
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    background-color: #ffffff;
    box-sizing: border-box;
    content: "";
    height: 24px;
    left: 0;
    position: absolute;
    top: -1px;
    width: 24px;
}

.hc-infmng .radio-label::after {
    opacity: 0;
    height: 14px;
    width: 14px;
    left: 5px;
}

.hc-infmng .radio-circle-button:focus + label::before {
    box-shadow: 0 0 0 0.2rem rgba(69, 150, 150, 0.5);
}

.hc-infmng .radio-circle-button:checked + .radio-label::after {
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    box-sizing: border-box;
    content: "";
    display: block;
    height: 16px;
    left: 4px;
    position: absolute;
    top: 3px;
    width: 16px;
    opacity: 1;
}

.hc-infmng .radio-circle-button:disabled + label {
    opacity: .35;
    cursor: default;
}

/* 画面固有 */
#hc-infmng-room-popup input[type="checkbox"],
#hc-infmng-room-wifi input[type="checkbox"] {
    display: none;
}

#hc-infmng-room-popup input[type="checkbox"] + label,
#hc-infmng-room-wifi input[type="checkbox"] + label {
    display: none;
    display: inline-block;
    position: relative;
    padding-left: 25px;
    padding-right: 10px;
    cursor: pointer;
}

#hc-infmng-room-popup input[type="checkbox"] + label::before,
#hc-infmng-room-wifi input[type="checkbox"] + label::before {
    content: "";
    position: absolute;
    display: block;
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    left: 0;
    top: 50%;
    border: 1px solid hsl(180, 58%, 33%);
    border-radius: 50%;
}

#hc-infmng-room-popup input[type="checkbox"]:checked + label::before,
#hc-infmng-room-wifi input[type="checkbox"]:checked + label::before {
    content: "";
    position: absolute;
    display: block;
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    left: 0;
    top: 50%;
    border: 1px solid hsl(180, 58%, 33%);
    border-radius: 50%;
    background-color: hsl(180, 58%, 33%);
}

#hc-infmng-room-popup input[type="checkbox"]:checked + label::after,
#hc-infmng-room-wifi input[type="checkbox"]:checked + label::after {
    content: "";
    position: absolute;
    display: block;
    box-sizing: border-box;
    width: 11px;
    height: 8px;
    margin-top: -6px;
    top: 50%;
    left: 5px;
    transform: rotate(-45deg);
    border-bottom: 3px solid;
    border-left: 3px solid;
    border-color: white;
}

#hc-infmng-room-wifi .ssid-value,
#hc-infmng-room-wifi .wifi-pass-value {
    word-break: break-all;
}

#hc-infmng-room-wifi .csv-upload-container .upload-area,
#hc-infmng-room-television .csv-upload-container .upload-area,
#hc-infmng-setting-popup-popupimage-register .upload-area,
#hc-infmng-setting-popup-popupimage-edit .upload-area,
#hc-infmng-setting-csv-upload .upload-area,
#hc-infmng-setting-image-upload .upload-area,
#hc-infmng-setting-emergencymessageimageregister .upload-area,
#hc-infmng-setting-emergencymessageimageedit .upload-area {
    margin: auto;
    width: 100%;
    height: 200px;
    position: relative;
    border: 1px dotted rgba(0, 0, 0, .4);
    text-align: center;
}

#hc-infmng-room-wifi .csv-upload-container .upload-area i,
#hc-infmng-room-television .csv-upload-container .upload-area i,
#hc-infmng-setting-popup-popupimage-register .upload-area i,
#hc-infmng-setting-popup-popupimage-edit .upload-area i,
#hc-infmng-setting-csv-upload .upload-area i,
#hc-infmng-setting-image-upload .upload-area i,
#hc-infmng-setting-emergencymessageimageregister .upload-area i,
#hc-infmng-setting-emergencymessageimageedit .upload-area i {
    position: absolute;
    font-size: 120px;
    opacity: .1;
    width: 100%;
    left: 0;
    top: 30px;
}

#hc-infmng-room-wifi .csv-upload-container .upload-area p,
#hc-infmng-room-television .csv-upload-container .upload-area p,
#hc-infmng-setting-popup-popupimage-register .upload-area p,
#hc-infmng-setting-popup-popupimage-edit .upload-area p,
#hc-infmng-setting-csv-upload .upload-area p,
#hc-infmng-setting-image-upload .upload-area p,
#hc-infmng-setting-emergencymessageimageregister .upload-area p,
#hc-infmng-setting-emergencymessageimageedit .upload-area p {
    width: 100%;
    position: absolute;
    top: 96px;
    opacity: .8;
    line-height: 1.5;
}

#hc-infmng-room-wifi .csv-upload-container .upload-area input[type="file"],
#hc-infmng-room-television .csv-upload-container .upload-area input[type="file"],
#hc-infmng-setting-popup-popupimage-register .upload-area input[type="file"],
#hc-infmng-setting-popup-popupimage-edit .upload-area input[type="file"],
#hc-infmng-setting-csv-upload .upload-area input[type="file"],
#hc-infmng-setting-emergencymessageimageregister .upload-area input[type="file"],
#hc-infmng-setting-emergencymessageimageedit .upload-area input[type="file"] {
    top: 0;
    left: 0;
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

#hc-infmng-setting-image-upload .upload-area input[type="file"] {
    top: 0;
    left: 0;
    opacity: 0;
    position: absolute;
    width: calc(100% - 20px);
    height: 100%;
    cursor: pointer;
}

#hc-infmng-room-wifi .csv-upload-container .upload-error-table .input-value,
#hc-infmng-room-television .csv-upload-container .upload-error-table .input-value,
#hc-infmng-setting-csv-upload .upload-error-table .input-value {
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
    white-space: nowrap;
}

#hc-infmng-setting-image-upload tree-view,
#hc-infmng-setting-image-upload .tree-view ul {
    margin: 0 0 0 0;
    list-style: none;
    vertical-align: middle;
    position: relative;
}

#hc-infmng-setting-image-upload .tree-view .root-folder {
    left: -36px;
}

/** ツリー項目 */
#hc-infmng-setting-image-upload .tree-view li {
    position: relative;
}

#hc-infmng-setting-image-upload .tree-view  label {
    padding-left: .4rem;
    padding-right: .4rem;
    padding-top: .2rem;
    padding-bottom: .2rem;
    margin-bottom: .1rem;
    cursor: pointer;
}

#hc-infmng-setting-image-upload .tree-view  label.active {
    background-color: hsl(180, 58%, 33%);
    color: white;
}

/** 項目前の横棒 */
#hc-infmng-setting-image-upload .tree-view  li::before {
    content: "";
    position: relative;
    top: -4px;
    display: inline-block;
    margin-left: 8px;
    margin-right: 5px;
    width: 10px;
    height: 1px;
    background: #ccc;
}

/** チェックボックスがある項目前の横棒 (位置調整) */
#hc-infmng-setting-image-upload .tree-view  li.expandable::before {
    margin-left: 8px;
    margin-right: 0;
}

/** 項目前の縦棒 */
#hc-infmng-setting-image-upload .tree-view  li::after {
    content: "";
    display: block;
    position: absolute;
    top: -4px;
    left: 8px;
    bottom: -2px;
    margin-bottom: 6px;
    width: 1px;
    background: #ccc;
}

/** 最後の項目前の縦棒 */
#hc-infmng-setting-image-upload .tree-view  li:last-child::after {
    bottom: 10px;
}

/** 最後の項目が開閉できる場合の縦棒 */
#hc-infmng-setting-image-upload .tree-view  li.expandable:last-child::after {
    bottom: initial;
    height: 20px;
}

/** チェックボックス */
#hc-infmng-setting-image-upload .tree-view  li > [type=checkbox] {
    vertical-align: middle;
    position: absolute;
    left: 0;
    z-index: 1;
}

/** チェックボックスのそばにあるサブ項目 */
#hc-infmng-setting-image-upload .tree-view  li > [type=checkbox] ~ ul {
    display: none;
}

/** チェックボックスのそばにあるサブ項目(チェック時開く) */
#hc-infmng-setting-image-upload .tree-view  li > [type=checkbox]:checked ~ ul {
    display: block;
}

/** チェックボックス変更 */
#hc-infmng-setting-image-upload .tree-view  [type=checkbox] {
    visibility: hidden;
}

#hc-infmng-setting-image-upload .tree-view  [type=checkbox] + label::before {
    content: "\f07b";
    margin-right: .25rem;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: hsl(180, 58%, 33%);
}

#hc-infmng-setting-image-upload .tree-view  [type=checkbox]:checked + label::before {
    content: "\f07c";
    margin-right: .25rem;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: hsl(180, 58%, 33%);
}

#hc-infmng-setting-image-upload .tree-view  .end-folder::before {
    content: "\f07b";
    margin-right: .25rem;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

#hc-infmng-setting-image-upload .tree-view  label:not(.active) .end-folder::before {
    color: hsl(180, 58%, 33%);
}

#hc-infmng-setting-image-upload .tree-view  .fa-hdd {
    color: hsl(180, 58%, 33%);
}

#hc-infmng-setting-image-upload .tree-view  .main-only {
    padding-left: .5em;
    margin-left: .25em;
}

#hc-infmng-setting-image-upload .upload-area .multiple-filename {
    position: absolute;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    flex-wrap: wrap;
}

#hc-infmng-setting-alarmbuttonsetting .alarmbutton-area
{
    width: 1440px;
    margin-top: 20px;
    margin-bottom: 20px;
}

#hc-infmng-setting-alarmbuttonsetting .alarmbutton-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 115px;
    height: 120px;
    margin-top: 4px;
    margin-left: 2px;
    margin-right: 2px;
}

#hc-infmng-setting-alarmbuttonsetting .alarmbutton-caption-area {
    position: relative;
    width: 100%;
    height: 50px;
    background-color: #ffffff;
}

#hc-infmng-setting-alarmbuttonsetting .alarmbutton-caption {
    font-size: 0.7rem;
    font-family: 'Noto Sans JP', sans-serif;
    text-align: center;
    width: 100%;
    position: absolute;
    bottom: 0px;
    margin-top: auto;
    margin-bottom: 0;
    overflow: hidden;
}

#hc-infmng-setting-alarmbuttonsetting .alarmbutton {
    width: 65px;
    height: 65px;
    border-radius: 5px;
    margin-top: 0;
    cursor: pointer;
    border: 1px solid #333333;
}

#hc-infmng-setting-alarmbuttonedit .emergencymessage-select {
    font-family: 'Font Awesome 5 Free';
}

#hc-infmng-setting-alarmbuttonedit input[type="color"] {
    width: 110px;
}

#hc-infmng-setting-alarmbuttonedit .floor-name {
    min-width: 90px;
}

#hc-infmng-setting-alarmbuttonedit .floor-select {
    min-width: 80px;
}

#hc-infmng-setting-alarmbuttonedit .room-button {
    min-width: 45px;
}

#hc-infmng-setting-alarmbuttonedit .color-specification {
    max-width: 200px;
}

#hc-infmng-digitalart-digitalartregister img,
#hc-infmng-digitalart-digitalartedit img {
    width: 200px;
    object-fit: scale-down;
}

#hc-infmng-digitalart-digitalartregister .publication-period,
#hc-infmng-digitalart-digitalartedit .publication-period,
#hc-infmng-quiz-quizregister .publication-period,
#hc-infmng-quiz-quizedit .publication-period {
    width: 180px;
}

#hc-infmng-digitalart-digitalartregister .popup-overlay,
#hc-infmng-digitalart-digitalartedit .popup-overlay,
#hc-infmng-quiz-quizregister .popup-overlay,
#hc-infmng-quiz-quizedit .popup-overlay {
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

#hc-infmng-digitalart-digitalartregister .digital-art-image,
#hc-infmng-digitalart-digitalartedit .digital-art-image,
#hc-infmng-quiz-quizregister .qestion,
#hc-infmng-quiz-quizedit .qestion {
    background: #f3f3f3;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    padding: 4px;
    position: relative;
    box-shadow: 8px 8px 8px -8px;
}

#hc-infmng-digitalart-digitalartregister .digital-art-image .digital-art-image-label,
#hc-infmng-digitalart-digitalartedit .digital-art-image .digital-art-image-label,
#hc-infmng-quiz-quizregister .qestion .qestion-item-label,
#hc-infmng-quiz-quizedit .qestion .qestion-item-label {
    font-size: 0.9rem;
    color: #2A6E6B;
}

#hc-infmng-digitalart-digitalartregister .digital-art-image-header,
#hc-infmng-digitalart-digitalartedit .digital-art-image-header,
#hc-infmng-quiz-quizregister .qestion-item-header,
#hc-infmng-quiz-quizedit .qestion-item-header {
    font-weight: bold;
    font-size: 1.2rem;
    color: #2A6E6B;
    text-align: center;
    width: 50px;
    flex-shrink: 0;
}

#hc-infmng-digitalart-digitalartregister .btn-caption,
#hc-infmng-digitalart-digitalartedit .btn-caption,
#hc-infmng-quiz-quizregister .btn-caption,
#hc-infmng-quiz-quizedit .btn-caption {
    font-size: 0.9rem;
}

#hc-infmng-digitalart-digitalartregister li,
#hc-infmng-digitalart-digitalartedit li,
#hc-infmng-quiz-quizregister li,
#hc-infmng-quiz-quizedit li {
    list-style: none;
    margin-bottom: 0;
}

.hc-infmng .operation-btn input[type="file"] {
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    opacity: 0;
    position: absolute;
}

#hc-infmng-quiz-quizregister .answer-list img,
#hc-infmng-quiz-quizedit .answer-list img {
    width: 100px;
    object-fit: scale-down;
}

#hc-infmng-history-digitalarthistory .search-item-title,
#hc-infmng-history-quizhistory .search-item-title {
    font-size: 0.9rem;
}

#hc-infmng-history-digitalarthistory .table-items,
#hc-infmng-history-quizhistory .table-items {
    font-size: 0.9rem;
}

#hc-infmng-history-digitalarthistory .box-upper-line,
#hc-infmng-history-quizhistory .box-upper-line {
    border: 2px solid #f3f3f3;
    border-top: 5px solid #248484;
    background-color: #f3f3f3;
    width: 100%;
}

#hc-infmng-history-quizhistory input[type="checkbox"] {
    display: none;
}

#hc-infmng-history-quizhistory input[type="checkbox"] + label {
    display: none;
    display: inline-block;
    position: relative;
    padding-left: 25px;
    padding-right: 10px;
    cursor: pointer;
}

#hc-infmng-history-quizhistory input[type="checkbox"] + label::before {
    content: "";
    position: absolute;
    display: block;
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    left: 0;
    top: 50%;
    border: 1px solid hsl(180, 58%, 33%);
    border-radius: 50%;
}

#hc-infmng-history-quizhistory input[type="checkbox"]:checked + label::before {
    content: "";
    position: absolute;
    display: block;
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    left: 0;
    top: 50%;
    border: 1px solid hsl(180, 58%, 33%);
    border-radius: 50%;
    background-color: hsl(180, 58%, 33%);
}

#hc-infmng-history-quizhistory input[type="checkbox"]:checked + label::after {
    content: "";
    position: absolute;
    display: block;
    box-sizing: border-box;
    width: 11px;
    height: 8px;
    margin-top: -6px;
    top: 50%;
    left: 5px;
    transform: rotate(-45deg);
    border-bottom: 3px solid;
    border-left: 3px solid;
    border-color: white;
}
