/* noto-sans-jp-300 - japanese_latin */
@font-face {
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: local('Noto Sans Japanese Light'), local('NotoSansJapanese-Light'),
        url('../fonts/noto-sans-jp-v24-japanese_latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
        url('../fonts/noto-sans-jp-v24-japanese_latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* noto-sans-jp-regular - japanese_latin */
@font-face {
font-family: 'Noto Sans JP';
font-style: normal;
font-weight: 400;
font-display: swap;
src: local('Noto Sans Japanese Regular'), local('NotoSansJapanese-Regular'),
    url('../fonts/noto-sans-jp-v24-japanese_latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('../fonts/noto-sans-jp-v24-japanese_latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* material-icons */
@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Material Icons'),
      local('MaterialIcons-Regular'),
      url('../fonts/MaterialIcons-Regular.woff2') format('woff2'),
      url('../fonts/MaterialIcons-Regular.woff') format('woff'),
      url('../fonts/MaterialIcons-Regular.ttf') format('truetype');
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;  /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
  
    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;
  
    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;
  
    /* Support for IE. */
    font-feature-settings: 'liga';
}

body {
    overflow-x: hidden;
    padding-bottom: 50px;
    font-family: 'Noto Sans JP';
    background: rgba(251, 217, 188, 0.25);
}

/* Materialize custom */

nav {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
    -webkit-box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
    margin-bottom: 45px;
}

nav ul a {
    color: #888 !important;
}

.modal {
    border-radius: 15px !important;
}

.brand-logo {
    height: 100%;
    padding: 10px !important;
}

label {
    font-size: 0.95rem !important;
    color: #888 !important;
}

input[type="date"]::-webkit-inner-spin-button{
    -webkit-appearance: none;
}
 
input[type="date"]::-webkit-clear-button{
    -webkit-appearance: none;
}

input[type=date]::-webkit-calendar-picker-indicator {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
}

/* ScrollBar */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
::-webkit-scrollbar-track {
  border-radius: 10px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, .1);
}
::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 50, .5);
  border-radius: 10px;
  box-shadow:0 0 0 1px rgba(255, 255, 255, .3);
}

/* Main */
.content-container, .collapsible {
    margin: 30px auto !important;
    padding: 10px;
    max-width: 650px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
}

.content-container:nth-child(n+2) {
    margin-top: 40px;
    padding: 25px 10px;
}

.name-top {
    font-size: 20px;
    margin-top: unset;
}

.disabled {
    background: #dedede !important;
}

.time-p {
    text-align: center;
    margin: unset
}

#time-first {
    font-size: 20px;
    color: #999;
}

#time-second {
    font-size: 40px;
    color: #555;
}

.btn-flat {
    border-radius: 10px !important;
    padding: 0 80px !important;
    transition: .3s ease-out;
    display: block !important;
    margin: 10px !important;
}

.btn-flat:hover {
    transform: translateY(-6px);
}

.btn-in {
    background: rgb(100, 133, 255) !important;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(100, 133, 255, 0.7) !important;
}

.btn-in:hover {
    box-shadow: 0 8px 32px rgba(100, 133, 255, 0.7) !important;
}

.btn-out {
    background: rgb(255, 130, 130) !important;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(255, 130, 130, 0.7) !important;
}

.btn-out:hover {
    box-shadow: 0 8px 32px rgba(255, 130, 130, 0.7) !important;
}

.btn-break {
    background: rgb(216, 173, 120) !important;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(216, 173, 120, 0.7) !important;
}

.btn-break:hover {
    box-shadow: 0 8px 32px rgba(216, 173, 120, 0.7) !important;
}

.btn-sub {
    background: rgb(116,198,88) !important;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(116,198,88, 0.7) !important;
}

.btn-sub:hover {
    box-shadow: 0 8px 32px rgba(116,198,88, 0.7) !important;
}

.main-panel {
    text-align: center;
}

.main-panel a {
    display: inline-block !important;
}

.btn-disabled {
    background: #dedede !important;
    box-shadow: none;
    color: #b3b2b2 !important;
    cursor: default !important;
}

.btn-disabled:hover {
    transform: none !important;
}

.loading-overray {
    display: block;
    position: fixed;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.45);
    z-index: 9999;
    backdrop-filter: blur(7px);
}

.loading-overray span {
    color: #555;
    font-size: 1.5rem;
}

.overray-container {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 200px;
    margin-top: -100px;
    margin-left: -25%;
    text-align: center;
}

.overray-container a {
    margin: 30px auto !important;
}

.collapsible-body {
    background: #FFF;
}

.collapsible li {
    margin-left: 5px;
}

li:nth-child(n+2) {
    border-top: 1px solid #DDD !important;
}

.collapsible-body, .collapsible-header {
    border-bottom: none !important;
}

.d-error {
    background: rgb(220, 53, 69);
    box-shadow: 0 8px 32px rgba(220, 53, 69, 0.6) !important;
    color: #fff;
}

.d-warn {
    background: rgb(255,193,7);
    box-shadow: 0 8px 32px rgba(255,193,7, 0.6) !important;
    color: #555;
}

.d-success {
    background: rgb(40,167,69);
    box-shadow: 0 8px 32px rgba(40,167,69, 0.6) !important;
    color: #fff;
}

.dialog-box {
    animation: fadeout 1s linear 5s 1 normal forwards;
}

table {
    margin-top: 30px;
    border-top: 1px solid rgb(224, 224, 224) !important;

}

.s-working {
    color: rgb(100, 133, 255);
}

.s-leaving {
    color: rgb(255, 130, 130);
}

.s-breaking {
    color: rgb(216, 173, 120);
}

select {
    display: unset !important;
}

.noDay .flatpickr-innerContainer {
    display: none !important;
}

.flatpickr-current-month {
    padding: 2px 0 !important;
    display: inline-flex !important;
    margin: 0 20%;
}

.flatpickr-current-month > * {
    display: flex !important;
}

.flatpickr-months, .browser-default {
    margin-top: 10px;
}

.flatpickr-month .numInputWrapper {
    order: -1;
    width: 7ch !important;
}

.flatpickr-month .numInputWrapper::after {
    content: '年';
    margin-top: 6px;
}

.noInput {
    display: none !important;
}

.anti-disabled {
    color: rgba(0, 0, 0, 0.8) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.4) !important;
}

.apply-btn {
    margin-top: 30px !important;
    position: absolute !important;
    right: 20px !important;
    background: rgb(216, 173, 120) !important;
}

.label-small {
    font-size: .8rem !important;
    color: #9e9e9e !important;
    margin-top: 20px;
    display: block;
}

@keyframes fadeout {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        width: 0;
        height: 0;
        opacity: 0;
    }
}

/* Spinner */
.ajax-spinner {
    width: 80px;
    height: 80px;
    border: 4px rgba(0, 0, 0, 0.2) solid;
    border-top: 4px #567aff solid;
    border-radius: 50%;
    animation: sp-anime 0.7s infinite linear;
    transition: all 0.1s ease;
    margin: 30px auto;
}

@keyframes sp-anime {
	100% { 
		transform: rotate(360deg); 
	}
}