html {
    background-color: #f4f6f9;
    scroll-behavior: auto;
}
body {
    /*
    text-size-adjust: none;
    -webkit-text-size-adjust: none;
    */
}

select{
	background: url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9LmNscy0ye2ZpbGw6IzQ0NDt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPmFycm93czwvdGl0bGU+PHJlY3QgY2xhc3M9ImNscy0xIiB3aWR0aD0iNC45NSIgaGVpZ2h0PSIxMCIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxLjQxIDQuNjcgMi40OCAzLjE4IDMuNTQgNC42NyAxLjQxIDQuNjciLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMy41NCA1LjMzIDIuNDggNi44MiAxLjQxIDUuMzMgMy41NCA1LjMzIi8+PC9zdmc+) no-repeat right 50%;
	-moz-appearance: none; 
	-webkit-appearance: none; 
	appearance: none;
}

.hover {
    -webkit-user-select: none;
    -webkit-touch-callout: none;        
}
@media screen and ( max-width: 640px ){
	.button a{
		pointer-events: none;
	}	
}

/*
select{
	background: url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9LmNscy0ye2ZpbGw6IzQ0NDt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPmFycm93czwvdGl0bGU+PHJlY3QgY2xhc3M9ImNscy0xIiB3aWR0aD0iNC45NSIgaGVpZ2h0PSIxMCIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxLjQxIDQuNjcgMi40OCAzLjE4IDMuNTQgNC42NyAxLjQxIDQuNjciLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMy41NCA1LjMzIDIuNDggNi44MiAxLjQxIDUuMzMgMy41NCA1LjMzIi8+PC9zdmc+) no-repeat right 50%;
	-moz-appearance: none; 
	-webkit-appearance: none; 
	appearance: none;
}
*/

input[type=checkbox].form-control{
    vertical-align: middle;
	width:			24px;
	height:			24px;
    transform:		scale(1.5);
    display: inline-block;
}
.form-check-label {
    user-select: none;
    -webkit-user-select: none;
}

/*-----------------------------------*/
/* 開発環境 */
html.devel body::before{
    content: "devel";
    text-align: center;
    color: #fff;
    position: fixed;
    top: 3px;
    right: 3px;
    margin: 0;
    padding: 3px;
    border-radius: 3px;
    line-height: 1;
    font-size: 12px;
    background-color: rgba(240, 0, 0, .75);
    width: 80px;
    display: block;
    z-index: 65535;
}

/*-----------------------------------*/
/* ログイン */
.login-box, .register-box {
    margin-top: -5%;
}
.login-box-msg, .register-box-msg{
    padding: 0 0 20px;
}

/*ローディング*/
.loading {
    position: fixed;
    width: 100%;
    top: 25vh;
    text-align: center;
    display: none;
    z-index: 20000;
}
.loading div{
    display: inline-block;
    background-color: #fff;
    box-shadow: 0 0 1px rgba(0,0,0,.125), 0 1px 10px rgba(0,0,0,.4);
    padding: .75rem;
    border-radius: 50%;
}
.loading div i{
    color: #007bff;
    animation: loading 1.5s linear infinite;
}
@keyframes loading {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.blind {
    position: fixed;
    z-index: 19999;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(255,255,255,.9);
}


/* alert swal2 */
.swal2-popup.swal2-toast {
    width: 100vw;
    padding: .75rem;
}
.swal2-popup.swal2-toast .swal2-title {
    margin-left: .5rem;
    color: #404346;
}

/* alert */
.alert {
    display: none;
    width: 94%;
    position: fixed;
    top: 6%;
    left: 50%;
    margin-left: -47%;
    z-index: 9999;
    font-size: 1.3rem;
    padding: .5rem;
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.2);
    font-size: .9rem;
}
.alert-dismissible .close, .alert-dismissible .mailbox-attachment-close {
    padding: .25rem .5rem;
}

/* マーキー */
.content-header.marquee-wrap {
    padding: 15px 0;
}
.marquee {
    width: 100%;
    height: 1.5rem;
    padding: 0;
    overflow: hidden;
    position: relative;
}
.marquee p:after {
    content:"";
    white-space:nowrap;
    /*padding-right:50px;*/
}
.marquee p {
    position: absolute;
    margin:0;
    font-size: 1.05rem;
    display:inline-block;
    white-space:nowrap;
    /*
    padding-left:100%;
	-webkit-animation-name:marquee;
	-webkit-animation-timing-function:linear;
	-webkit-animation-duration:10s;
	-webkit-animation-iteration-count:infinite;
	animation-name:marquee;
	animation-timing-function:linear;
	animation-duration:10s;
    animation-iteration-count:infinite;
    */
}
@-webkit-keyframes marquee {
  from   { -webkit-transform: translate(0%);}
  99%,to { -webkit-transform: translate(-100%);}
}
@keyframes marquee {
  from   { transform: translate(0%);}
  99%,to { transform: translate(-100%);}
}

/*--------------------*/

/* navbar */
.navbar {
    padding: .5rem 0;
}
.navbar-dark .navbar-nav .nav-link {
    color: #fff;
}

/* content */
.content-inner {
    /*
    height: calc(100vh - 57px);
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    */
}

.card-header {
    padding: .5rem .75rem;
}

/* カレンダー */
.monthly-day-wrap {
    text-align: center;
}
.monthly-today .monthly-day-number {
    background: #343a40;
}
.monthly-day-pick.monthly-today .monthly-day-number {
    padding: 0;
}

.pickup-day .monthly-day-number {
    color: #FFF;
    background: #007bff;
    border-radius: 0.75em;
    top: 0.08em;
    left: 0.05em;
    font-size: 0.9em;
    padding: 0;
    width: 1.25em;
    height: 1.25em;
    line-height: 1.25em;
    text-align: center;
}
.monthly-day-pick.pickup-day .monthly-day-number {
    padding: 0;
    margin: calc(50% - 0.7em) auto auto auto;
    font-size: 1em;
}

.bootstrap-datetimepicker-widget table td.day {
    padding: .5rem .25rem;
}
.bootstrap-datetimepicker-widget table thead th .fa{
    font-size: 1.5rem;
}


#calender-schedule .monthly-day{
    -webkit-user-select: none;
    user-select: none;
    transition: all 10ms;
}
#calender-schedule .monthly-day.hover{
    background-color: #f5f5f5;
}
#calender-schedule .monthly-day i{
    position: absolute;
    top: 5%;
    right: 5%;
}
#calender-schedule .monthly-indicator-wrap {
    max-width: 92%;
    text-align: center;
    padding-top: 1.5em;
}
#calender-schedule .monthly-day .monthly-event-indicator {
    display: block;
    width: 100%;
    height: 8px;
    margin: 0 auto 3px;
    border-radius: 0;
    cursor: default;
}
@media screen and ( min-width: 640px ){
#calender-schedule .monthly-day .monthly-event-indicator {
    height: 1.4em;
}
}
#calender-schedule .monthly-day .monthly-event-indicator.schedule {
    background-color: #dc3545;
}
#calender-schedule .monthly-day .monthly-event-indicator.work {
    background-color: #28a745;
}

.calendar-info{
    text-align: center;
    margin: 0;
}
.calendar-info span{
    display: inline-block;
    vertical-align: text-bottom;
    width: 1em;
    height: 1em;
    border-radius: 0;
    margin: 0 3px 0 0;
}
.calendar-info span.schedule{
    background-color: #dc3545;
}
.calendar-info span.work{
    background-color: #28a745;
}

/* 業務報告リスト */
.works a{
    display: block;
}
.works a.hover .callout{
    background-color: #ddd;
}

.callout {
    padding: .5rem;
    margin-bottom: .75rem;
    color: #000;
}
.callout h5 {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: .2rem;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    text-overflow: ellipsis;
}
.callout-lock {
    border-color: #bbb;
    background-color: #f5f5f5;
}

.input-group-middle {
    margin-right: -1px;
    margin-left: -1px;
}

select.form-control {
    padding: .375rem .375rem;
}

/* 業務報告入力 */
#content-edit {
    padding-bottom: 80px;
    overflow-x: hidden;
}
#content-edit .content{
    position: relative;
    left: 100vw;
    transition: all 400ms ease;
}
#content-edit.open .content{
    left: 0;
}
#content-edit .content-footer{
    background-color: #fff;
    border-top: 1px solid rgba(0, 0, 0, .125);
    width: 100%;
    padding: 10px 0;
    position: fixed;
    left: 0;
    bottom: 0;
}
#content-edit .content-footer .container-fluid{
    padding-bottom: env(safe-area-inset-bottom);
}

#content-edit label{
    font-size: 1.2rem;
}
#content-edit .form-group > label{
    color: #17a2b8;
}

#content-edit .process-result{
    max-width: 25%;
}
#content-edit .unit{
    min-width: 3.6rem;
}

#content-edit label.error{
    color: #e20000!important;
    font-size: .9rem;
    font-weight: bold;
    margin: .1rem 0 1rem 0;
    display: block;
}

#content-edit .card-body {
    position: relative;
}
#edit-guard {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .05);
    z-index: 10000;
}

/* 時刻 */
.input-group .clock-timepicker {
    flex: 1 1;
    max-width: 28%;
}
input.form-control[name="start_time"], input.form-control[name="end_time"] {
    background-color: #fff;
    border-left: none;
    border-radius: 0 .25rem .25rem 0;
    min-width: 0!important;
}

/* ジャンケン */
input[name="janken"] {
    opacity: 0;
}
input[name="janken"]:checked+i {
    background: #007bff;
    color: #fff;
}
i.janken{
    text-align: center;
    font-size: 3rem;
    width: 1.5em;
    line-height: 1.5em;
    border-radius: 6px;
    border: 1px solid #ccc;
}


/*----------------------------------------------*/
.font-weight300{
    font-weight: 300!important;
}
.font-weight500{
    font-weight: 500!important;
}
.font-weight700{
    font-weight: 700!important;
}
.font-weight900{
    font-weight: 900!important;
}
