
.schedule-title {
    margin-bottom: 2.4rem;
    padding: 2.4rem 0;
    font-size: 1.5rem;
    background-color: #f4f4f0;
}
.week-title {
    text-align: center;
}
.week-title .day {
    font-size: 1.2rem;
}
.schedule-title .day {
    font-size: 2.5rem;
}
.custom-select {
    background-image: none;
    padding: 0;
    text-align: center;
}
.custom-select:hover {
    cursor: pointer;
}
.name {
    margin-top: auto;
    margin-bottom: auto;
    font-size: 1.6rem;
    line-height: 4.5rem;
}
.attendance {
    padding: 0 0.5rem;
}
.dropdown-item {
    text-align: center;
}
.dropdown-toggle::after {
    display: none;
}
.select {
    width: 100%;
    height: 100%;
    min-height: 2.5em;
    background-color: #ffffff;
    border: 1px solid #ced4da;
    font-size: 1.7rem;
}
.select:hover {
    background-color: #ffffff;
    border-color: #f9c38e;
    color: #f9c38e;
}
.note:hover {
    background-color: #ffffff;
    border-color: #f9c38e;
}

.show .select {
    background-color: #ffffff;
    border-color: #def1ff;
}
.to-attend {
    color: #3490dc;
}
.not-to-attend {
    color: #dc346f;
}
.may-to-attend {
    color: #84e343;
}
.attend-y {
    color: #c6c6c6;
}
.user-row:hover {
    background-color: #f2edde;
}
.move {
    margin: 0 1rem;
    font-size: 1.3rem;
}
.move a {
    color: inherit;
    vertical-align: middle;
}
.move_top {
    border: 0.1rem solid;
    border-radius: 0.2rem;
    padding: 0.2rem 1.2rem 0.2rem 1rem;
}

textarea.note {
    height: 3.2em;
    line-height: 1em;
    padding: 0.4em 0.25em;
    font-size: 1.4rem;
}

#display-zone {
    padding: 1rem;
    border: 1px solid #ced4da;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background-color: #ffffff;
    text-align: center;
    min-height: 2.6em;
    font-size: 1.5rem;
}
#summary-btn {
    margin-top: 0.5rem;
    font-size: 1.4rem;
    cursor: pointer;
    background-color: inherit;
    border: none;
    text-decoration: underline;
    color: inherit;
}
#summary-btn:active {
    border: none;
}
.spinner-border {
    width: 4rem;
    height: 4rem;
    border-width: 0.4rem;
}
.loading {
    margin: 20vh auto;
    color: #f9c38e;
}
.show .select.dropdown-toggle {
    border-color: #ced4da;
}
.schedule-container {
    margin: 0 auto;
    max-width: 95rem;
}
.schedule-nav {
    display: grid;
    grid-template-rows: minmax(3.5rem, auto);
    grid-template-columns: repeat(4, auto);
}
.nav-item {
    display: inline-block;
}
.nav-item:hover a{
    background-color: #82a482;
}
.nav-item:hover a {
    color: #ffffff;
}
.btn:disabled {
    opacity: 1 !important;
}
.messages {
    background-color: #ffffff;
    border: 2px solid #f9c38e;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
}
.update-done {
    border-color: #f9c38e !important;
    background-color: #f9c38e !important;
}
.nav-item.orange a {
    color: #f9c38e;
}
.nav-item.orange:hover a{
    background-color: #f9c38e;
    color: #ffffff;
}
.members-order {
    border: 1px solid;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    height: calc(1.25em + 2px);
    width: calc(1.25em + 2px);
    text-align: center;
    line-height: calc(1.25em + 2px);
    font-size: 2rem;
    color: #bdb288;
    background-color: #fffef2;
    margin-left: auto
}
.members-order:hover {
    cursor: grab;
}
.member-name-display {
    padding: 0.375rem 0.75rem;
    height: calc(2em + 2px);
}
.member-name-edit {
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #ced4da;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    width: 100%;
    padding: 0.375rem 0.75rem;
    color: #535353;
}
.member-name-edit:hover {
    border-color: #f9c38e;
}
.member-name-edit:focus {
    border-color: #f9c38e;
    background-color: #ffffff;
}
.member-edit-row {
    display: flex;
    align-items: center;
    background-color: #fefffc;
}
.delete-name {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}
textarea#message-1,
textarea#message-2 {
    height: 18rem;
}
.summary-data {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border: 1px solid #ced4da;
}
.summary-data.fine {
    background-color: rgba(52, 144, 220, 0.15);
}
.summary-data.bad {
    background-color: rgba(220, 52, 111, 0.15);
}
@media (min-width: 721px) {
    body {
        min-width: 82rem;
    }
    .schedule-container {
        margin: 0 auto;
        min-width: 82rem;
        max-width: 95rem;
    }
    .week-title {
        display: grid;
        grid-template-rows: 2.25rem;
        grid-template-columns: minmax(20rem, auto) repeat(7, minmax(6rem, auto)) minmax(20rem, auto);
    }
    .user-row {
        display: grid;
        grid-template-rows: 4.5rem;
        grid-template-columns: minmax(20rem, auto) repeat(7, minmax(6rem, auto)) minmax(20rem, auto);
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
    .week-title .day,
    .week-title .date {
        display: inline-block;
    }
    .week-title .day:first-child,
    .week-title .date:first-child {
        grid-column-start: 2;
    }
    .user-row.collapse {
        display: grid;
    }
    .sp-name,
    .sp-date,
    .sp-day {
        display: none;
    }
    .user-name {
        padding: 0.5rem;
        width: 15rem;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }
    .attendance {
        min-width: 5rem;
        max-width: 8rem;
    }
    .memo {
        width: 100%;
    }
    .sp-memo-label {
        display: none;
    }
    textarea.note {
        margin: 0 auto;
        width: 95%;
        height: 100%;
        font-size: 1.3rem;
        line-height: 1.6rem;
    }
    .panels #message-1 {
        margin: 0 auto 2rem;
        width: 70rem;
    }
    .panels #message-2 {
        margin: 2rem auto;
        width: 70rem;
    }
    .summary-btn-area {
        display: none;
    }
    .day-summary-row {
        display: grid;
        grid-template-rows: 2rem;
        grid-template-columns: minmax(20rem, auto) repeat(7, minmax(6rem, auto)) minmax(20rem, auto);
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
    .day-summary {
        margin: 0 0.5rem;
        min-width: 5rem;
        max-width: 8rem;
        background-color: #fff;
        border: 1px solid #535353;
        -webkit-border-radius: 0.25rem;
        -moz-border-radius: 0.25rem;
        border-radius: 0.25rem;
    }
}
@media (max-width: 720px) {
    .schedule-container {
        margin: 0 1.5rem;
    }
    .week-title {
        display: none;
    }
    .nav-item a.nav-link {
        padding: 0.25em;
    }
    .sp-user-name-row {
        padding: 0 1.5rem;
    }
    div.sp-user-name-row div.sp-name {
        padding: 0.2rem;
        height: 4rem;
        font-size: 2rem;
        margin-bottom: 0.5em;
        border: 2px solid #656248;
        border-radius: 3px;
        background-color: #f7f8f0;
        color: #656248;
        cursor: pointer;
        text-align: center;
    }
    div.sp-name:not([href]):not([tabindex]) {
        color: #656248;
    }
    textarea.form-control {
        min-height: 6em;
    }
    .sp-date {
        display: inline-block;
        margin-left: 20%;
        margin-top: 1rem;
        margin-bottom: 1rem;
        width: 12.5%;
    }
    .sp-day {
        display: inline-block;
        margin-top: 1rem;
        margin-bottom: 1rem;
        width: 12.5%;
    }
    .attendance {
        display: inline-block;
        margin-top: 1rem;
        margin-bottom: 1rem;
        width: 35%;
    }
    .sp-memo-label {
        margin-left: 10%;
    }
    .memo {
        width: 80%;
        margin-left: 10%;
        margin-bottom: 5rem;
    }
    .user-name {
        display: none;
    }
    .user-row:hover {
        background-color: transparent;
    }
    .messages {
        margin-left: 1.5rem;
        margin-right: 1.5rem;
    }
    .btn-update,
    .btn-close {
        width: 100%;
        margin-top: 2rem;
        margin-bottom: 2rem;
        padding: 0.75rem;
        font-size: 1.4rem;
    }
    .summary-btn-area {
        margin: 5rem auto;
        text-align: center;
    }
    .dropdown-menu {
        font-size: 1.5rem;
    }
}