:root {
    --bulma-primary-h: 173deg;
    --bulma-primary-s: 58%;
    --bulma-primary-l: 39%;
    --bulma-link-h: 89deg;
    --bulma-link-s: 43%;
    --bulma-link-l: 58%;
    --bulma-danger-h: 358deg;
    --bulma-danger-s: 78%;
    --bulma-danger-l: 62%;
    /*--bulma-danger-h: 14deg;
    --bulma-danger-s: 78%;
    --bulma-danger-l: 60%; */
    --bulma-navy-h: 199deg;
    --bulma-navy-s: 38%;
    --bulma-navy-l: 24%;
    --bulma-yellow-h: 25deg;
    --bulma-yellow-s: 87%;
    --bulma-yellow-l: 67%;
    --bulma-light-gray-h: 0deg;
    --bulma-light-gray-s: 0%;
    --bulma-light-gray-l: 94%;
    --bulma-body-line-height: 1.2;
    --bulma-radius-small: 0.1rem;
    --bulma-radius: 0.1rem;
    --bulma-radius-medium: 0.1em;
    --bulma-radius-large: 0.1rem;
    --bulma-skeleton-radius: 0.1rem;
    --bulma-control-radius: 0.1rem;
    --bulma-control-radius-small: 0.1rem;
    --bulma-main-scheme-color: #90BE6D;
    --bulma-navbar-height: 4.0rem;
    --bulma-sidebar-width: 290px;
    --bulma-sidebar-closed-width: 60px;
    --bulma-main-menu-h: 216deg;
    --bulma-main-menu-s: 100%;
    --bulma-main-menu-l: 50%;
    --bulma-main-menu-background-l: 50%;
    --bulma-main-menu-selected-h: 240deg;
    --bulma-main-menu-selected-s: 100%;
    --bulma-main-menu-selected-l: 10%;
    --bulma-main-menu-selected-background-l: 10%;
    --bulma-sub-menu-h: 180deg;
    --bulma-sub-menu-s: 100%;
    --bulma-sub-menu-l: 90%;
    --bulma-sub-menu-background-l: 90%;
    /* --bulma-sub-menu-selected-h: 216deg;
    --bulma-sub-menu-selected-s: 100%;
    --bulma-sub-menu-selected-l: 50%;
    --bulma-sub-menu-selected-background-l: 50%; */
    --bulma-sub-menu-selected-h: 240deg;
    --bulma-sub-menu-selected-s: 100%;
    --bulma-sub-menu-selected-l: 10%;
    --bulma-sub-menu-selected-background-l: 10%;
    --bulma-font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --bulma-yellow: hsla(var(--bulma-yellow-h), var(--bulma-yellow-s), var(--bulma-yellow-l), 1);
    --bulma-yellow-shade: hsla(var(--bulma-yellow-h), var(--bulma-yellow-s), var(--bulma-yellow-l), 0.15);
    --bulma-textarea-min-height: 4em;

}

.w2ui-grid .w2ui-grid-body .w2ui-grid-fcolumns {
    max-height: 45px;
    height: auto;
}
.w2ui-grid .w2ui-grid-body .w2ui-grid-fcolumns table {
    height: 100%;
    max-height: 45px;
}
.w2ui-grid .w2ui-grid-body .w2ui-grid-fcolumns table td.w2ui-head {
    height: 100%;
    max-height: 45px;
}
.w2ui-grid .w2ui-grid-toolbar {
    max-height: 40px !important;
    padding: 2px;
}
.w2ui-toolbar .w2ui-tb-line {
    min-height: 24px;
    padding: 1px 3px;
}
.card {
    --bulma-card-radius: 0.1rem;
    --bulma-block-spacing: 0;
}
.input,
.button {
    --bulma-input-radius: 0.1rem;
}
.input, .textarea {
    background-color: var(--bulma-success-95);
}
.file {
    --bulma-file-radius: 0.1rem;
}
.textarea {
    --bulma-textarea-min-height: 5em;
}

.modal {
    --bulma-modal-card-head-padding: 0.8rem;
    --bulma-modal-content-width: 60rem;
    --bulma-modal-card-head-background-color: var(--bulma-info);
}

html,
body {
    overflow: hidden;
    width: 100%;
    height: 100%;
    background-color: #f8f8f8;
    font-family: var(--bulma-font-family);
}

.has-text-shadow {
    text-shadow: 1px 1px 2px black;
}
nav.navbar {
    /* border-bottom: 1px solid #1d1d1d; */
    /* background-color: var(--bulma-main-scheme-color); */
    background-color: var(--bulma-primary);
    box-shadow: 0 1px 0 rgba(24, 28, 33, .1);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
a.navbar-item:hover {
    --bulma-navbar-item-background-a: 0.1;
}

.wrapper {
    width: 100%;
    height: 100%;
}

aside.sidebar {
    position: fixed;
    top: var(--bulma-navbar-height);
    left: 0;
    width: var(--bulma-sidebar-width);
    height: calc(100vh - var(--bulma-navbar-height));
    /*padding: 2em 0.5em 0 0.5em; */
    padding: 0;
    box-shadow: none;
    background-color: #44475a;
    transition: 0.2s width ease-out;
    z-index: 2;
    margin: 0;
    display: flex;
    flex-direction: column;
}

aside.sidebar .sidebar-toggler {
    width: 100%;
    cursor: pointer;
    bottom: 0;
    left: 0;
    position: absolute;
    background-color: var(--bulma-main-scheme-color);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

aside.sidebar .menu .icon {
    font-size: 2rem;
}

aside.sidebar .menu {
    --bulma-menu-item-background-l: unset;
    padding: 0.5em 0.5em 4.0em 0.5em;
    /*padding-bottom: 80px; */
    flex-grow: 1;
    position: relative;
}

aside.sidebar .menu a:not(.is-active):hover {
    --bulma-menu-item-background-l: 20%;
}

aside.sidebar a {
    color: #f8f8f2;
    display: inline-flex;
    line-height: 1;
    align-items: center;
    font-size: 1.1rem;
}
aside.sidebar a.is-active {
    font-weight: bold;
}
aside.sidebar .has-children > ul > li > a {
    font-size: 1rem;
}
aside.sidebar .sidebar-toggler .icon {
    transition: 0.3s linear transform;

}

aside.sidebar .menu-list li {
    margin-top: 0.5em;
}

aside.sidebar .menu-list .has-children {
    max-height: 42px;
    overflow: hidden;
    transition: 0.6s max-height ease-out;
    position: relative;
}

aside.sidebar.is-closed .menu-list li.has-children ul {
    border-inline-start: unset;
    margin: 0;
    padding-inline-start: 0;
}

aside.sidebar.is-closed a.menu-parent {
    display: none;
}

aside.sidebar.is-closed a {
    justify-content: center;
}

aside.sidebar.is-closed .menu .icon {
    align-self: center;
    align-items: center;
    justify-content: center;
    margin: auto;
    padding: 0;
    width: 32px;
    height: 32px;
}

aside.sidebar.is-closed .menu .icon i {
    margin: auto;
    padding: 0;
}

aside.sidebar .menu-list .has-children>a {
    position: relative;
}

aside.sidebar .menu-list .has-children>a::before {
    content: "\e90f";
    font-family: "icons";
    transition: 0.2s ease-out transform;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-45%);
    transform-origin: center;
    transition-duration: 0.3s;
}

aside.sidebar .menu-list .has-children.open {
    max-height: 1000px;
}

aside.sidebar .menu-list .has-children.open>a::before {
    transform: rotate(-180deg) translateY(40%);
}

aside.sidebar .menu-list .icon,
aside.sidebar .menu-list i {
    margin-right: 10px;
    margin-left: 5px;
}

aside.sidebar.is-closed {
    width: var(--bulma-sidebar-closed-width);
}
aside.sidebar .menu-label {
    color: #90BE6D;
    margin-left: 0.5em;
    font-weight: bold;
}
aside.sidebar.is-closed .menu-label,
aside.sidebar.is-closed .menu-text {
    display: none;
}
.menu-text {
	word-break: keep-all;
}
aside.sidebar.is-closed .has-children>a::before {
    opacity: 0;
}

aside.sidebar.is-closed .sidebar-toggler {
    justify-content: center;
}

aside.sidebar.is-closed .sidebar-toggler .icon {
    transform: rotate(180deg);
}

main.main-container {
    width: 100%;
    padding: calc(var(--bulma-navbar-height) + 10px) 10px 10px calc(var(--bulma-sidebar-width) + 10px);
    min-height: calc(100vh - var(--bulma-navbar-height));
    transition: 0.2s all ease-out;
    height: 100%;
/*     overflow-y: auto; */
}
main.main-container .file {
    --bulma-file-name-max-width: 40rem;
}
main.main-container .file-name {
    width: var(--bulma-file-name-max-width);
}
main.main-container.sidebar-is-closed {
    padding-left: calc(var(--bulma-sidebar-closed-width) + 10px);
}
div:where(.swal2-container).swal2-backdrop-show, 
div:where(.swal2-container).swal2-noanimation {
    background: rgba(10, 10, 10, .36);
}
.main-container .panel {
    --bulma-panel-heading-size: 1.6rem;
    min-height: 100%;
}
.main-container .panel-heading {
    max-height: 65px;
}
.panel-block {
    height: calc(100vh - 150px);
    align-items: flex-start;
    position: relative;
}
.h-100 {
    height: 100% !important;
}
.w-100 {
    width: 100% !important;
}
.d-none {
    display: none !important;
}
.bg-loading {
    background-color: rgba(10, 10, 10, .36);
    color: white;
    overflow: hidden;
}
/** Disabled input */
.select select[disabled],
[disabled].input,
[disabled].textarea,
fieldset[disabled] .select select,
.select fieldset[disabled] select,
fieldset[disabled] .input,
fieldset[disabled] .textarea {
    border-color: hsl(221, 14%, calc(86% + 0%));
}
/** w2grid */
.w2ui-reset table tr th, .w2ui-reset table tr td {
    font-family: var(--bulma-font-family);
    font-size: 14px;
}
.w2ui-grid .w2ui-grid-body table td {
    border-bottom: 1px solid #d6d9e0;
}
.w2ui-grid, 
.w2ui-grid table td {
    border-color: #d6d9e0 !important;
}
td.w2ui-grid-data,
td.w2ui-col-number {
    vertical-align: middle;
}
.w2ui-grid .w2ui-grid-body table .w2ui-head {
    text-align: center;
    vertical-align: middle;
    max-height: 40px;
    background-color: #0066CC;
    background-image: linear-gradient(#0a6acb, #0066CC);
    color: #FFFFFF;
}
.w2ui-col-header, .w2ui-col-group {
    font-weight: bold;
    font-size: 15px;
}
.btn-edit, .btn-del {
    width: 26px;
    height: 26px;
    text-align: center;
    padding: 0;
}
.w2ui-reset .tag {
    line-height: 1.5;
    padding-left: 0.75em;
    padding-right: 0.75em;
    
}
.table-content .columns.is-multiline:first-child {
    display: none;
}
table.table th.dt-head {
    background-color: #0066CC;
    color: white;
}
.btn-w {
    width: 100px;
}
table.dataTable th {
    vertical-align: middle;
    height: 38px;
    font-weight: bold;
}
table.dataTable td {
    vertical-align: middle;
    height: 34px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
table.dataTable td.dt-body-center {
    text-align: center;
}
table.dataTable td.dt-body-right {
    text-align: right;
}
.is-borderless {
    outline: none;
    border-width: 0;
}
.is-collapsible {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: #f1f1f1;
}
.has-border {
    border: 1px solid #c2c3c6;
}
footer {
    border-top: 1px solid #c2c3c6;
}
.notification {
	min-width: 280px;
	padding-right: 3rem;
}
.bw-100 {
	min-width: 100px;
}
.loader {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-block;
    border-top: 3px solid #FFF;
    border-right: 3px solid transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
}
.w2ui-overlay .w2ui-overlay-body.tooltip-error {
  color: #fafafa;
/*  text-shadow: none;*/
  background-color: hsl(var(--bulma-danger-h), var(--bulma-danger-s), var(--bulma-danger-l));
  border: 1px solid rgb(196, 23, 28);
  box-shadow: 0 0 10px #ea535808;
}

[readonly].textarea, [readonly].input {
    background-color: var(--bulma-background);
}
.search-method-label {
	font-weight: 600;
	font-size: 90%;
	padding-right: 5px;
	color: var(--bulma-primary);
}
.w2ui-overlay .w2ui-grid-search-advanced table td.caption {
	vertical-align: middle;
}
h2.swal2-title {
	line-height: 80%;
}
.lh-80 {
	line-height: 80%;
}
.lh-90 {
	line-height: 90%;
}
.lh-100 {
	line-height: 100%;
}
.lh-110 {
	line-height: 110%;
}
.lh-120 {
	line-height: 120%;
}
.lh-130 {
	line-height: 130%;
}
.input_error {
    --bulma-input-focus-h: var(--bulma-danger-h);
    --bulma-input-focus-s: var(--bulma-danger-s);
    --bulma-input-focus-l: var(--bulma-danger-l);
    --bulma-input-border-l: var(--bulma-danger-l);
	border-color: hsl(var(--bulma-danger-h), var(--bulma-danger-s), calc(var(--bulma-danger-l) + 0%)) !important;
	background-color: var(--bulma-danger-95) !important;
}
.meal-col-upper {
    width: 100%;
    /*height: 30px; */
    text-align: right;
    padding: 3px;
}
.meal-col-lower {
    width: 100%;
    /*height: 30px; */
    text-align: left;
    padding: 3px;
    border-top: 1px dotted #d6d9e0;
}
a.month-day-link {
    color: blue;
    text-decoration: underline;
}
table.table th {
    border-color: var(--bulma-border) !important;
}
.valign-middle {
    vertical-align: middle !important;
}

div.meal-table-container {
    overflow: auto;
    flex-grow: 1;
    width: 100%;
    border-left: 1px solid #dcdcdc;
}

div.meal-table-container table.meal-table {
    border-collapse: separate;
    width: 100%;
    
}
table.meal-table thead tr > th {
    padding: 0.3rem 0.5rem;
    z-index: 2;
    text-align: center;
    vertical-align: middle;
    background-color: #0066CC;
    background-image: linear-gradient(#0a6acb, #0066CC);
    color: #FFFFFF;
    font-weight: bold;
    height: 28px;
}
table.meal-table thead tr > th.meal-category-1 {
    background-color: #0066CC;
    background-image: linear-gradient(#0a6acb, #0066CC);
}
table.meal-table thead tr > th.meal-category-2 {
    background-color: #30bf9e;
    background-image: linear-gradient(#0acb9e, #30bf9e);
}
table.meal-table thead tr > th.meal-category-3 {
    background-color: #90BE6D;
    background-image: linear-gradient(#9dcf77, #90BE6D);
}
table.meal-table thead tr > th.meal-category-4 {
    background-color: #0066CC;
    background-image: linear-gradient(#0a6acb, #0066CC);
}
table.meal-table thead tr > th.meal-category-5 {
    background-color: #30bf9e;
    background-image: linear-gradient(#0acb9e, #30bf9e);
}
table.meal-table thead tr > th.meal-category-6 {
    background-color: #90BE6D;
    background-image: linear-gradient(#9dcf77, #90BE6D);
}
table.meal-table thead tr > th.meal-category-7 {
    background-color: #0066CC;
    background-image: linear-gradient(#0a6acb, #0066CC);
}
table.meal-table thead tr > th.meal-category-8 {
    background-color: #30bf9e;
    background-image: linear-gradient(#0acb9e, #30bf9e);
}
table.meal-table thead tr > th.meal-category-9 {
    background-color: #90BE6D;
    background-image: linear-gradient(#9dcf77, #90BE6D);
}
table.meal-table thead tr > th.meal-category-10 {
    background-color: #0066CC;
    background-image: linear-gradient(#0a6acb, #0066CC);
}

table.meal-table thead tr.first > th {
    position: sticky;
    top: 0;
}
table.meal-table thead tr.second > th {
    position: sticky;
    top: 28px;
}

table.meal-table thead tr > th,
table.meal-table tbody tr > td {
    border-right: 1px solid #dcdcdc;
    border-bottom: 1px solid #dcdcdc;
    vertical-align: middle;
    padding: 2px 5px;
}

table.meal-table thead tr:first-child > :first-child {
    z-index: 3;
    top: 0;
    left: 0;
    min-width: 130px;
}
/*table.meal-table tbody tr:nth-child(odd) > :first-child { */
table.meal-table tbody tr > td.col-freeze-1 {
    position: sticky;
    z-index: 1;
    left: 0;
    text-align: center;
    vertical-align: middle;
    background-color: #f7f1d4;
}
/*
table.meal-table tbody tr:nth-child(odd) > td:nth-child(2), 
table.meal-table tbody tr:nth-child(even) > td:first-child { */
table.meal-table tbody tr > td.col-freeze-2 {
    position: sticky;
    z-index: 1;
    left: 130px;
    background-color: #f7f1d4;
    text-align: center;
}

table.meal-table thead tr > th.pack-col {
    width: 80px;
    z-index: 3;
    left: 130px;
}
table.meal-table thead tr > th.jikan-col {
    min-width: 130px;
}

.side-cont {
    flex: 0 0 172px;

}
.main-cont {
    flex: 1 0 400px;
    overflow-y: auto;
}