:root
{
    --bs-font-meiryo: Meiryo, "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
     --bs-body-font-family: var(--bs-font-meiryo);
}

#loading {
    background: rgba(0, 0, 0, .5);
    z-index: 10000;
}

.nav-fixed #layoutDrawer #layoutDrawer_nav .drawer {
  padding-top: 4.0rem;
}

.drawer .drawer-menu .nav .drawer-menu-heading {
  padding-top: 3.0rem;
  padding-right: 1.5rem;
  padding-bottom: 0.75rem;
  padding-left: 1.5rem;
  font-size: 1.125rem;
}

.drawer .drawer-menu .nav .nav-link {
  display: flex;
  align-items: center;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  font-size: 0.875rem;
  line-height: 1;
  min-height: 2.6rem;
}

.card-title
{
    font-size: 1.5rem !important;
    font-weight: 520 !important;

    position: relative;
    padding: 0.25em 0;
    padding-bottom: 0.5em;   
}

.card-header
{
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

.card-title:after {
    content: "";
    display: block;
    height: 4px;
    background: -webkit-linear-gradient(to right, rgb(230, 90, 90), transparent);
    background: linear-gradient(to right, rgb(230, 90, 90), transparent);
}

.card-subtitle
{
    font-size: 0.95rem !important;
}

.w-btn-normal
{
  width: 200px;
  display: inline-block;
  _display: inline;
}

.w-btn-small
{
  width: 120px;
  display: inline-block;
  _display: inline;
}

.w-btn-smaller {
  width: 100px;
  display: inline-block;
  _display: inline;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 4px;
  padding-bottom: 4px;
}

.w-btn-smallest {
  width: auto;
  display: inline-block;
  _display: inline;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 4px;
  padding-bottom: 4px;
}

.form-check-inline input
{
    vertical-align: -6px;
}

.form-check-inline label
{
    vertical-align: -1px;
}

#editModalLabel.modal-title
,#basicSettingModalLabel.modal-title
,#uploadModalLabel.modal-title
{
    font-size: 1.5rem !important;
    font-weight: 520 !important;

    width: 80%;

    position: relative;
}

#editModalLabel.modal-title:after 
,#basicSettingModalLabel.modal-title:after 
,#uploadModalLabel.modal-title:after
{
    content: "";
    display: block;
    height: 4px;
    background: -webkit-linear-gradient(to right, rgb(230, 90, 90), transparent);
    background: linear-gradient(to right, rgb(230, 90, 90), transparent);
}

#confirmModalLabel.modal-title
{
    font-size: 16px;

    width: 80%;
    position: relative;
}

#confirmModalLabel.modal-title:after 
{
    content: "";
    display: block;
    height: 4px;
    background: -webkit-linear-gradient(to right, rgb(230, 90, 90), transparent);
    background: linear-gradient(to right, rgb(230, 90, 90), transparent);
}


.toggle-buttons {
    padding-left: 5px;
    display: flex;
  }
  
  .toggle-buttons.vertical {
    flex-direction: column;
  }
  
  .toggle-buttons label {
    display: flex;
    position: relative;
  }
  
  .toggle-buttons [type=radio],
  .toggle-buttons [type=checkbox] {
    -webkit-appearance: none;
    -moz-appearance: none;
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
  }
  
  /* appearance: none; for IE11 */
  _:-ms-lang(x)::-ms-backdrop, .toggle-buttons [type=radio],
  _:-ms-lang(x)::-ms-backdrop, .toggle-buttons [type=checkbox] {
    visibility: hidden;
  }
  
  
  .toggle-buttons .button {
    z-index: 1;
  }
  
  .toggle-buttons.vertical .button {
    width: 100%;
  }
  
  .toggle-buttons:not(.vertical) :not(:first-child) .button {
    border-left: 1px solid #DDD;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
  
  .toggle-buttons:not(.vertical) :not(:last-child) .button {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
  
  .toggle-buttons.vertical :not(:first-child) .button {
    border-top: 1px solid #567;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
  
  .toggle-buttons.vertical :not(:last-child) .button {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  
  .toggle-buttons :checked + .button {
    background-color: #34A;
    color: #DDD;
}
  
  .toggle-buttons :disabled + .button {
    cursor: not-allowed;
    opacity: .6;
    color: #def;
  }

  .button {
    display: inline-block;
    padding: .3em 1em;
    border-radius: 5px;
    text-align: center;
    color: #333;
    background-color: #FFF;
    cursor: pointer;
    font-weight: bold;
    width: 80px;
    height: 26px;
  }
  
  .button:hover {
    background-color: #567;
  }
  
  .button:disabled {
    cursor: not-allowed;
    opacity: .6;
    color: #def;
  }

.group-top-row td
{
    background: linear-gradient(#FFF2CC, #FFF2DC) !important;
    color : #222222;
    font-weight : normal !important;
}

.minus-price
{
    color: #FF3333 !important;
}

.f-year-selectbox
{
    width: 160px;
}

.yearmon-selectbox
{
    width: 100px;
}
