/* menu */

#left-menu {
    padding-top: 1em;
    padding-left: 2em;
}
#child-frame {
    padding-top: 1em;
}

/* */
.menu-navbar {
    position: sticky;
    top: 0;
    z-index: 2000;
}

.annotation {
    color: grey;
}
.left.pointing.annotation {
    padding-left: 1em;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center; /* 縦方向中央揃え（Safari用） */
    align-items: center; /* 縦方向中央揃え */
}

.ime-disable {
    ime-mode: disabled;
}

.clickable {
    cursor: pointer;
}

.display-string {
    white-space: -moz-pre-wrap;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.ui-datepicker {
    z-index: 1001 !important;
}

/* 教員向け機能  */

.ui.header > .icon + .content.paddingless {
    padding-left: 0;
    padding-right: 0;
}

.ui.styled.accordion .title.border-top-none {
    border-top: none;
}

.centering {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    vertical-align: middle;
}
.ui.size60px.image {
    width: 60px;
    height: auto;
    font-size: 0.71428571rem;
}
.teachingTableCell.shrink {
    padding: 0.92857143em 0.3em;
}
.teachingTableCell.saturday {
    /* -webkit-print-color-adjust: exact; */
    background-color: paleturquoise !important;
}
.teachingTableCell.sunday {
    /* -webkit-print-color-adjust: exact; */
    background-color: pink !important;
}
.teachingTableCell.lastday {
    /* -webkit-print-color-adjust: exact; */
    background-color: #dddddd !important;
}

.teachingTableCell.teaching-result-clear {
    background-image: url('../gif/kirakira-wed.gif');
    background-size: cover;
}

.teachingTableCell.teaching-result-clear.everyday {
    /*background-image: url("../gif/kirakira-eve.gif");*/
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.teachingTableCell.teaching-result-clear.everyday.gold {
    background-image: url('../gif/kirakira-eve-gold.gif');
}
.teachingTableCell.teaching-result-clear.everyday.silver {
    background-image: url('../gif/kirakira-eve-silver.gif');
}
.teachingTableCell.teaching-result-clear.everyday.bronze {
    background-image: url('../gif/kirakira-eve-bronze.gif');
}

.teachingTableCell.teaching-result-clear.monday {
    background-image: url('../gif/kirakira-mon.gif');
}
.teachingTableCell.teaching-result-clear.tuesday {
    background-image: url('../gif/kirakira-tue.gif');
}
.teachingTableCell.teaching-result-clear.wednesday {
    background-image: url('../gif/kirakira-wed.gif');
}
.teachingTableCell.teaching-result-clear.thursday {
    background-image: url('../gif/kirakira-thu.gif');
}
.teachingTableCell.teaching-result-clear.friday {
    background-image: url('../gif/kirakira-fri.gif');
}
.teachingTableCell.teaching-result-clear.saturday {
    background-image: url('../gif/kirakira-sat.gif');
}
.teachingTableCell.teaching-result-clear.sunday {
    background-image: url('../gif/kirakira-sun.gif');
}

.stamp {
    position: relative;
}
.stamp .challenge {
    position: absolute;
    bottom: 0;
    right: 0;
}
.stamp .subicon {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 100px;
    height: auto;
}
.stamp .subicon:after {
    content: '.';
    display: block;
    height: 0;
    font-size: 0;
    clear: both;
    visibility: hidden;
}
.stamp .subicon .cell {
    float: right;
    width: 10px;
    height: auto;
}
.stamp .subicon .cell.size20px {
    width: 20px;
    height: auto;
}
.stamp .undericon {
    position: absolute;
    bottom: -2.5px;
    left: -3px;
    width: 100px;
    height: auto;
}
.stamp .undericon:after {
    content: '.';
    display: block;
    height: 0;
    font-size: 0;
    clear: both;
    visibility: hidden;
}
.stamp .undericon .stars {
    float: left;
    position: relative;
}
.stamp .undericon .stars .star {
    position: absolute;
    width: 10px;
    height: auto;
}
.stamp .undericon .stars .star.size15px {
    width: 20px;
    bottom: -7.5px;
    height: auto;
}

.coloring-red {
    color: #f03;
}

.coloring-blue {
    color: #00f;
}

.ban-blue {
    background-color: rgb(185, 224, 241);
}

.new-label {
    font: icon;
    float: left;
    margin: 0px 5px;
    color: #f2711c;
}

.news {
    margin-bottom: 1em;
}

.news .news-title {
    /* font-size: 18px; */
    float: left;
}

.news-body h1,
.news-body h2,
.news-body h3,
.news-body h4,
.news-body h5 {
    margin: 0;
}

.news-body p {
    margin: 0;
}

.news-body blockquote {
    margin: 0, 40px;
}

.news-body ul,
.news-body ol {
    margin: 0;
    margin-block-start: 0px;
    margin-block-end: 0px;
    line-height: 100%;
}

.news-body img {
    max-width: 100%;
}

.ui .menu .language {
    background: 0 0;
}

.ui.dropdown.language {
    color: rgba(255, 255, 255, 0.7) !important;
    color: white;
    margin-top: 10px;
    min-width: 100px;
}

.ui.menu .right.menu .language .dropdown:last-child .menu {
    left: 0;
    right: auto;
}

.ui.visible.dropdown > .text.language {
    color: rgba(255, 255, 255, 0.7) !important;
}

.ui.form .field > label.language-label {
    float: left;
}

.ui.form input[type='text'].language-name {
    float: right;
    width: 80%;
    margin-bottom: 1em;
}

.ui.form .field .selection.dropdown .menu .ui.search.input {
    width: 90%;
}

.ui.form .check.field {
    width: 140px;
}

.ui.form .warning.message.tempDate {
    display: table;
}

.ui.message .success {
    color: green;
}
.ui.message .failed {
    color: red;
}
.ui.message .mini.result.button {
    margin: 0 0 0 10px;
}

.ui.segment.transfer {
    border-color: #15a4a4;
}

.ui.segment.transfer .top.left.attached.label {
    background-color: #e1f7f7;
    color: #10a3a3;
}

code.bg-grey {
    display: inline-block;
    padding: 0.1em 0.2em;
    background-color: #e7edf3;
    border-radius: 3px;
}

.ui.horizontal.divider:after,
.ui.horizontal.divider:before {
    top: auto;
}

/* チームカラー */
.button.team {
    border: solid 1px #000000;
}
.button.team.none {
    background-color: #ffffff;
}
.button.team.red {
    background-color: #ff3f71;
}
.button.team.blue {
    background-color: #2357ff;
}
.button.team.green {
    background-color: #079b2d;
}
.button.team.yellow {
    background-color: #ea9500;
}

.ui.menu:not(.vertical) .item > .mini.button {
    font-size: 0.78571429rem;
}

.scopebuttongroup {
    padding-left: 1em;
}

.ui.soro.label,
.ui.soro.labels .label {
    font-size: 1rem;
    white-space: nowrap;
    margin: 0.8em 0.5em;
}

.ui.soro.active.label,
.ui.soro.active.label:hover {
    background-color: #21ba45;
}

.enforce-top-aligned {
    display: flex !important; /* Flexboxを有効化 */
    align-items: flex-start !important; /* 上揃え */
    height: auto !important; /* 自動高さ */
}

.no-wrap {
    white-space: nowrap;
    word-break: keep-all;
}

.break-all {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-all;
    white-space: normal;
}

.presentMealStatus {
    display: flex;
    gap: 12px;
}

.emphasisText {
    font-weight: bold;
    color: red;
}

.paired-button-group-small {
    display: flex;
    gap: 0.5rem;
    max-width: 230px;
}

.paired-button-group-small .ui.button {
    flex: 1 1 0;
    max-width: 115px;
    min-width: 0;
    width: 100%;
    white-space: nowrap;
    text-align: center;
    overflow: hidden;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.paired-button-group-medium {
    display: flex;
    gap: 0.5rem;
    max-width: 300px;
}

.paired-button-group-medium .ui.button {
    flex: 1 1 0;
    max-width: 150px;
    min-width: 0;
    width: 100%;
    white-space: nowrap;
    text-align: center;
    overflow: hidden;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.header-with-close-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8em;
}

.header-with-close-button .ui.header {
    margin: 0.5em 1em 0em 1em;
}
