/* input[name="c3"]:checked+label {
    background-color: #de8520;
    color: #fff;
} */

input[name="alertLevel"]:checked+label {
    color: #000000;
    width: 40px;
    font-size: 16px;
    text-align: center;
    padding: 0 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

input[name="alertLevel"]:not(:checked)+label {
    color: #fff;
    width: 40px;
    font-size: 16px;
    text-align: center;
    padding: 0 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* #main {
    background-color: rgba(76, 84, 130, 0.8);
    display: block;
    position: fixed;
    top: calc(100% - 215px);
    left: 0px;
    width: 26px;
    height: 66px;
    margin: 0;
    padding: 0;
    border-radius: 0 5px 5px 0;
} */


/* レベルごとの色設定 */
#alertLevel1:checked+label {
    background-color: #00ffdc;
}

#alertLevel2:checked+label {
    background-color: #c8ff00;
}

#alertLevel3:checked+label {
    background-color: #ffa300;
}

#alertLevel4:checked+label {
    background-color: #e000ffb8;
}

#alertLevel5:checked+label {
    background-color: #ff0000;
}

.alertFilter {
    display: inline-flex;
    align-items: center;
    padding-left: 0;
}

.toggle_radio label p {
    margin: 0;
    line-height: 30px; /* .toggle_radioのheightと同じ値 */
}

input[name="fil_staff_glc"]:checked+label {
    background-color: #9f5351;
    color: #fff;
}

.page_update {
    position: relative;
    z-index: 5;
}

.page_update>aside {
    background-color: rgb(245 255 255);
    width: 450px;
    height: 100%;
    top: 0;
    left: -350px;
    position: fixed;
    overflow-y: auto;
    /* 縦方向のスクロールを可能にする */
}

.page_update>aside ul {
    margin: 0;
    padding: 0;
    top: 80px;
    left: 10px;
    right: 10px;
    width: 430px;
    position: absolute;
    background: #ffffff;
    border-bottom: black;
    border-style: outset;
    border-width: thin;
    border-radius: 20px;
}

.page_update>aside li {
    margin: 8px auto;
    list-style: none;
}

/* .page_update>aside button { */
/* #up {
    background-color: rgba(76, 84, 130, 0.8);
    display: block;
    position: fixed;
    top: calc(100% - 300px);
    left: 0px;
    width: 26px;
    height: 66px;
    margin: 0;
    padding: 0;
    border-radius: 0 5px 5px 0;
} */

.price {
    text-align: right;
}


.page_update table {
    border-collapse: collapse;
    margin: 0 auto;
    padding: 0;
    width: 450px;
}

.page_update table tr {
    background-color: #fff;
    border-bottom: 2px solid #fff;
}

.page_update table tr:nth-child(even) {
    background-color: #eee;
}

.page_update table thead td,
.page_update table thead th {
    font-size: .85em;
    padding: 1em;
}

.page_update table thead tr {
    background-color: #fd6767;
    color: #fff;
}

.page_update table tbody th {
    text-align: left;
    font-size: .8em;
}

.txt {
    text-align: left;
    font-size: .85em;
}

.name-list {
    text-align: right;
    color: #FF7043;
    font-weight: bold;
}

/*
ul.alertList {
    font: 1.6em 'arial narrow', sans-serif;
    padding: 10px;
    color: #1264ad;
    background: #ffffff;
    border: dashed 2px #adcce8;
    border-radius: 20px;
    list-style: none;
}

ul.alertList li {
    position: relative;
    line-height: 25px;
    padding-left: 30px;
}

ul.alertList li:before {
    content: "・";
    position: absolute;
    left: 7px;
    font-size: 20px;
} */

.counter-wrapper {
    display: flex;
    align-items: center;
}

.counter-wrapper input {
    text-align: center;
}

#filter-controls {
    padding: 10px;
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

ul.alertList {
    padding: 0;
    font-size: 1em;
    list-style: none;
}

ul.alertList li {
    position: relative;
    padding: 7px 5px 7px 32px;
    margin-bottom: 5px;
    color: #000000;
    border-radius: 16px;
    width: 420px;
}

ul.alertList li:before {
    content: "";
    position: absolute;
    left: 8px;
    display: block;
    width: 0.5em;
    height: 0.5em;
    border-radius: 50%;
    background: #fff;
    top: 50%;
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

/* 以下はラジオボタン */
.wrapper {
    background: #497dd0;
    /* padding: 100px; */
}

.toggle_radio {
    /* position: fixed; */
    /* background: rgb(7 157 232); */
    background: rgb(228 240 248);
    /* margin: 20px auto; */
    inset: 0;
    overflow: hidden;
    padding: 0 !important;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    height: 30px;
    z-index: 2;
}

.toggle_radio>* {
    float: left;
}

.toggle_radio input[type=radio] {
    display: none;
}

.toggle_radio label {
    font-size: 1.2em;
    font-family: Arial, sans-serif;
    color: rgb(0 113 182);
    z-index: 0;
    display: block;
    width: 82px;
    height: 30px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    cursor: pointer;
    z-index: 1;
    /*background: rgba(0,0,0,.1);*/
    text-align: center;
    /*margin: 0 2px;*/
    /*background: blue;*/
    /*make it blue*/
}

.toggle_radio input[type="radio"]:checked+label {
    background-color: #0090ff;
    border-color: #6699cc;
    font-weight: bold;
    color: white;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -o-transition: all .4s ease;
    -ms-transition: all .4s ease;
    transition: all .4s ease;
}



/* 更新画面用 */
#glc_update {
    height: 100%;
    margin: 0;
}

.container-fluid {
    height: 100%;
    /* padding: 15px; */
}

.row {
    display: flex;
    flex-wrap: wrap;
    height: 100%;
}

.scrollable-column {
    height: calc(100vh - 80px);
    overflow-y: auto;
    padding: 15px;
}

.left-column,
.right-column {
    flex: 1 1 100%;
    max-width: 100%;
}

.form-group_glc,
.info-section_glc {
    margin-bottom: 20px;
    border: 1px solid #330302;
    border-radius: 5px;
}

.form-controlTitle {
    width: 98%;
    margin: 1%;
}

.form-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.form-inline .form-control {
    width: auto;
    margin-right: 2px;
}

.custom-radios {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.custom-radios>div {
    margin: 5px;
}

#recentChanges {
    background-color: #fafafa;
    /* border-left: 4px solid #007bff; */
}

.form-control-15-rows,
.form-control-5-rows {
    resize: vertical;
}

.vertical-separator {
    border-left: 3px solid #0f4ab7;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 8px;
}

.update-time {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-left: 8px;
}

.update-time strong {
    margin-right: 10px;
}

#updateHistory,
#updateHistoryMemo {
    width: auto;
    max-width: 200px;
}

.title-section {
    background-color: #330200;
    color: white;
    text-align: center;
    border-radius: 5px;
    font-size: xx-large;
}

.title-section h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.title-section p {
    font-size: 1.2rem;
    margin-bottom: 0;
}

.form-title {
    padding: 0.1em 0 0 0.4em;
    border-left: 5px solid #330200;
    background-color: #e01f59;
    text-align: left;
    font-weight: normal;
    color: white;
}

/* h2, h3 {
            color: #007bff;
        } */

.btn-link:hover {
    color: #0056b3;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgb(224 31 89 / 20%);
}


#classSelect_glc {
    width: 300px;
    margin-top: 14px;
}

@media (min-width: 992px) {
    .left-column {
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .right-column {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    #glc_update {
        overflow: hidden !important;
    }
}

@media (max-width: 991px) {
    .scrollable-column {
        height: auto;
        overflow-y: visible;
    }


    /* body, html {
        height: auto;
        overflow: auto;
    } */
}

.btn-link {
    color: #e01f59;
    font-size: 1.5rem;
    padding: 0 !important;
}

#changeDetails p {
    margin-bottom: 0;
}

.card-body p {
    margin-bottom: 0 !important;
}

#systemShouhin {
    font-size: small;
    margin-top: 2rem;
    margin-bottom: 0 !important;
}

#weddingMemo,
#clientMemo,
#titleMemo {
    margin-left: 0 !important;
}

#productDetails {
    padding: 0.2rem !important;
}

#glc_update {
    display: none;
    position: fixed;
    overflow-y: scroll;
    left: 50%;
    top: 1%;
    height: 98%;
    z-index: 99;
    transform: translate(-50%, 0%);
    width: 90%;
    max-height: 98%;
    box-sizing: border-box;
    /* padding: 0 16px; */
    border-radius: 8px;
    background-color: rgb(251, 252, 255);
}


.alertList {
    list-style-type: none;
    padding: 0;
}

.alertList li {
    margin-bottom: 10px;
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
    /* カーソルをポインターに変更 */
    transition: all 0.3s ease;
    /* ホバー効果をスムーズに */
}

.alertList li:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    /* ホバー時に軽い影を追加 */
}

/* .alert-header {
    font-weight: bold;
} */

/* .alert-summary {
    margin-top: 5px;
} */

.alert-level-1 {
    background-color: #00ffdc;
}

.alert-level-2 {
    background-color: #c8ff00;
}

.alert-level-3 {
    background-color: #ffa300;
}

.alert-level-4 {
    background-color: #e000ffb8;
}

.alert-level-4\.5 {
    background-color: #47b1ff;
}

.alert-level-5 {
    background-color: #ff0000;
}

.form-time {
    margin-top: 0 !important;
}

.card-body {
    padding: 0.25rem !important;
}

#room_glc {
    margin-top: 0 !important;
}

.small-text {
    font-size: 0.8em;
    /* または希望のサイズ */
}

.form-group_glc {
    font-size: 1.25em;
    /* または希望のサイズ */
    border: 1px solid #330302;
    margin-bottom: 10px;
    transition: background-color 0.3s ease;
    padding: 10px;
    border-radius: 5px;
}

.form-group_glc .custom-control-input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.form-group_glc .custom-control-label {
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
    min-height: calc(1.5em + 0.75rem + 2px);
    /* selectと同じ高さ */
    display: flex;
    align-items: center;
}

.form-group_glc .custom-control-label::before {
    position: absolute;
    top: 50%;
    left: -2.5rem;
    display: block;
    width: 2rem;
    height: 2rem;
    content: "";
    background-color: #fff;
    border: 1px solid #330302;
    border-radius: 0.25rem;
    transform: translateY(-50%);
}

.form-group_glc .custom-control-label::after {
    position: absolute;
    top: 50%;
    left: -2.5rem;
    display: block;
    width: 2rem;
    height: 2rem;
    content: "";
    background: no-repeat 50% / 65% 65%;
    transform: translateY(-50%);
}

.form-group_glc .custom-control-input:checked~.custom-control-label::before {
    border-color: #e01f59;
    background-color: #e01f59;
}

.form-group_glc .custom-control-input:checked~.custom-control-label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}

.form-group_glc .mr-2 {
    margin-right: 8px !important;
}

.form-group_glc .custom-checkbox {
    padding-left: 2.5rem;
}

/* チェックボックスの位置調整 */
.form-group_glc .custom-control {
    min-height: calc(1.5em + 0.75rem + 2px);
    display: flex;
    align-items: center;
}

.card-header {
    padding: 0 .75rem 0 1.25rem !important;
}

#changeDetails,
#systemMemo {
    margin-left: 8px;
}



/* input[name="fil_staff_glc"]:checked+label {
    background-color: #e01f59;
    color: #fff;
} */
#fil_staff_glc input[name="fil_staff_glc"]:checked+label {
    background-color: #e01f59;
    color: #fff;
}


#alertLevel {
    width: auto;
    margin-left: 10px;
}

.switch__label {
    width: 50px;
    position: relative;
    display: inline-block;
}

.switch__content {
    display: block;
    cursor: pointer;
    position: relative;
    border-radius: 30px;
    height: 31px;
    overflow: hidden;
}

.switch__content:before {
    content: "";
    display: block;
    position: absolute;
    width: calc(100% - 3px);
    height: calc(100% - 3px);
    top: 0;
    left: 0;
    border: 1.5px solid #E5E5EA;
    border-radius: 30px;
    background-color: #fff;
}

.switch__content:after {
    content: "";
    display: block;
    position: absolute;
    background-color: transparent;
    width: 0;
    height: 0;
    top: 50%;
    left: 50%;
    border-radius: 30px;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

.switch__input {
    display: none;
}

.switch__circle {
    display: block;
    top: 2px;
    left: 2px;
    position: absolute;
    -webkit-box-shadow: 0 2px 6px #999;
    box-shadow: 0 2px 6px #999;
    width: 27px;
    height: 27px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    background-color: #fff;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

.switch__input:checked~.switch__circle {
    left: 21px;
}

.switch__input:checked~.switch__content:after {
    background-color: #00c4cc;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.popover {
    max-width: 600px;
    /* または必要な幅 */
    width: 100%;
}

/* イベントオブジェクトに色を変更 */
/* .gradient-background {
    background-image: linear-gradient(to bottom, #ffffff00 33%, #ffffffb8 33%);
} */

.gradient-background_level5 {
    background-image: linear-gradient(to bottom, #ff0000 10%, #ffffff00 0px);
}

.gradient-background_level4 {
    background-image: linear-gradient(to bottom, #e000ffb8 10%, #ffffff00 0px);
}

.gradient-background_level3 {
    background-image: linear-gradient(to bottom, #ffa300 10%, #ffffff00 0px);
}

.gradient-background_level2 {
    background-image: linear-gradient(to bottom, #22ff00 10%, #ffffff00 0px);
}

.gradient-background_level1 {
    background-image: linear-gradient(to bottom, #00ffdc 10%, #ffffff00 0px);
}

.gradient-background_level5_withCare {
    background-image:
        linear-gradient(to bottom, #ff0000 10%, #ffffff00 0px),
        linear-gradient(to top, #ff0000 4px, #ffffff00 0px);
}

.gradient-background_level4_withCare {
    background-image:
        linear-gradient(to bottom, #e000ffb8 10%, #ffffff00 0px),
        linear-gradient(to top, #ff0000 4px, #ffffff00 0px);
}

.gradient-background_level3_withCare {
    background-image:
        linear-gradient(to bottom, #ffa300 10%, #ffffff00 0px),
        linear-gradient(to top, #ff0000 4px, #ffffff00 0px);
}

.gradient-background_level2_withCare {
    background-image:
        linear-gradient(to bottom, #22ff00 10%, #ffffff00 0px),
        linear-gradient(to top, #ff0000 4px, #ffffff00 0px);
}

.gradient-background_level1_withCare {
    background-image:
        linear-gradient(to bottom, #00ffdc 10%, #ffffff00 0px),
        linear-gradient(to top, #ff0000 4px, #ffffff00 0px);
}

.gradient-background_level5_withReq {
    background-image:
        linear-gradient(to bottom, #ff0000 10%, #ffffff00 0px),
        linear-gradient(to top, #0018ff 4px, #ffffff00 0px);
}

.gradient-background_level4_withReq {
    background-image:
        linear-gradient(to bottom, #e000ffb8 10%, #ffffff00 0px),
        linear-gradient(to top, #0018ff 4px, #ffffff00 0px);
}

.gradient-background_level3_withReq {
    background-image:
        linear-gradient(to bottom, #ffa300 10%, #ffffff00 0px),
        linear-gradient(to top, #0018ff 4px, #ffffff00 0px);
}

.gradient-background_level2_withReq {
    background-image:
        linear-gradient(to bottom, #22ff00 10%, #ffffff00 0px),
        linear-gradient(to top, #0018ff 4px, #ffffff00 0px);
}

.gradient-background_level1_withReq {
    background-image:
        linear-gradient(to bottom, #00ffdc 10%, #ffffff00 0px),
        linear-gradient(to top, #0018ff 4px, #ffffff00 0px);
}
.gradient-background_level5_withCare_withReq {
    background-image:
        linear-gradient(to bottom, #ff0000 10%, #ffffff00 0px),
    linear-gradient(to top, #0018ff 3px, #ffffff00 0px),
    linear-gradient(to top, #ff0000 8px, #ffffff00 0px)
}

.gradient-background_level4_withCare_withReq {
    background-image:
        linear-gradient(to bottom, #e000ffb8 10%, #ffffff00 0px),
    linear-gradient(to top, #0018ff 3px, #ffffff00 0px),
    linear-gradient(to top, #ff0000 8px, #ffffff00 0px)
}

.gradient-background_level3_withCare_withReq {
    background-image:
        linear-gradient(to bottom, #ffa300 10%, #ffffff00 0px),
    linear-gradient(to top, #0018ff 3px, #ffffff00 0px),
    linear-gradient(to top, #ff0000 8px, #ffffff00 0px)
}

.gradient-background_level2_withCare_withReq {
    background-image:
        linear-gradient(to bottom, #22ff00 10%, #ffffff00 0px),
    linear-gradient(to top, #0018ff 3px, #ffffff00 0px),
    linear-gradient(to top, #ff0000 8px, #ffffff00 0px)
}

.gradient-background_level1_withCare_withReq {
    background-image:
    linear-gradient(to bottom, #00ffdc 10%, #ffffff00 0px),
    linear-gradient(to top, #0018ff 3px, #ffffff00 0px),
    linear-gradient(to top, #ff0000 8px, #ffffff00 0px)
}

.withCare {
    background-image: linear-gradient(to top, #ff0000 4px, #ffffff00 0px);
}

.withCare_withReq {
    background-image:
    linear-gradient(to top, #0018ff 3px, #ffffff00 0px),
    linear-gradient(to top, #ff0000 8px, #ffffff00 0px)
}

.withReq {
    background-image: linear-gradient(to top, #0018ff 4px, #ffffff00 0px);
}




/* アラートリストのスタイル */
.alertList li {
    cursor: pointer;
    position: relative;
}

/* ツールチップのスタイル */
.alert-tooltip {
    position: absolute;
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 1000;
    display: none;
    max-width: 300px;
    word-wrap: break-word;
}

.alert-tooltip::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -5px;
    transform: translateY(-50%);
    border-width: 5px 5px 5px 0;
    border-style: solid;
    border-color: transparent #333 transparent transparent;
}

.month-control {
    display: inline-block;
    background-color: #f0f0f0;
    border-radius: 20px;
}

.month-control button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

.month-control button:focus {
    outline: none;
}

#font-size-counter {
    display: inline-block;
    width: 30px;
    text-align: center;
    font-size: 16px;
}