@charset "utf-8";

main{
	padding:0!important;
	margin:0!important;
	/*min-height: calc( 100vh - 100px );!important;*/
}

footer{
	position: fixed;
	z-index: 9999;
	clear:both;
	width: 100%;
	text-align: center;
	padding: 2px 0!important;
	bottom: 0;
	border-top: solid 1px #ddd!important;
}

:root {
	--w: 30px;
}
.c{
	width:var(--w);
}

#login_logo{
	font-size:20px;
	width:250px;
	height:135px;
	background-image: url("images/logo.png");
	background-repeat: no-repeat;
	background-size: 250px 135px;
	margin-bottom:-7px;
}
#dashboard_logo{
	font-size:20px;
	width:150px;
	height:65px;
	background-image: url("images/logo.png");
	background-repeat: no-repeat;
	background-size: 135px 60px;
	margin-top: 5px;
	margin-left: -20px;
}

#Msg_Login_Success p{
	text-indent: -1em;
	padding-left: 1em;
}

.min-h-screen {
    /*min-height: calc( 100vh - 100px )!important;*/
}

#logout_form{
	margin:0!important;
}

#dash_canvas{
	width:150%!important;
	padding: 15px;
}

.dashboard_item{
	width: 32%;
	padding:10px;;
	border:solid 1px #ccc;
	border-radius: 4px;
	margin: 5px 5px 15px 5px;
	background-color:#fafafe;
	float:left;
}
.dashboard_item:nth-child(odd){
	clear:both;
}
.dashboard_item:last-child{
	margin-bottom:20px;
}
.dashboard_item a{
	font-size:0.9em;
	margin-top:8px;
	
}
.dashboard_item i{
	font-size:1.5em;
	color: rgb(67 56 202 / var(--tw-text-opacity, 1));
	margin-left: -12px;
}
.dashboard_item p{
	font-size:1em;
	padding: 0 7px;;
}
.dashboard_item a:hover{
	text-decoration:underline;
}

.row{
	max-width: 100vw!important;
	padding:0!important;
	margin:0!important;
}
.left_col{
	min-width: 45px!important;
	max-width:162px!important;
}

#main{
	width: 100%;
	height: calc(100vh - 180px);
}
.ToggleMonthClose #main{
	height: calc(100vh - 150px);
}

#main_contents .col{
	padding:0!important;
	margin:0!important;
}

@media (max-width: 850px) {
	.dashboard_item{
		width: 63.5%;
	}
	#AdminToolBox{
		display:block!important;
		margin-left:100px!important;
	}
}

#GridWrapper{
	padding:10px 15px;
}

@media (max-width: 640px) {
	#login_logo{
		margin-top:-10px;
	}
	#main_contents{
		margin-left: 0;
	}
	.left_col{
		display:none;
	}
	main{
		width: 100vw;
	}
	.dashboard_item{
		width: 63.5%;
	}
	#AdminToolBox{
		display:block!important;
		margin-left:-55px!important;
	}
}

header,
footer{
	user-select: none;
}

/*--------------------------------*/
/*-- flatpickr --*/
.flatpickr-calendar{
	border-radius: 3px!important;
	box-shadow: 6px 6px 6px 0px rgba(0, 0, 0, 0.45)!important;
	user-select: none;
}
.flatpickr-day{
	margin: 1px!important;
}
/*
.flatpickr-weekday:nth-child(1) { color: rgba(255, 0, 0, 0.6); }
.flatpickr-weekday:nth-child(7) { color: rgba(0, 0, 255, 0.6); }
.flatpickr-day.saturday:not(.selected) { color: rgb(0, 0, 255); }
.flatpickr-day.prevMonthDay.saturday:not(.selected),
.flatpickr-day.nextMonthDay.saturday:not(.selected),
.flatpickr-day.flatpickr-disabled.saturday:not(.selected) { color: rgba(0, 0, 255, 0.2); }
.flatpickr-day.sunday:not(.selected),
.flatpickr-day.jp-holiday:not(.selected) { color: rgb(255, 0, 0); }
.flatpickr-day.prevMonthDay.sunday:not(.selected),
.flatpickr-day.nextMonthDay.sunday:not(.selected),
.flatpickr-day.prevMonthDay.jp-holiday:not(.selected),
.flatpickr-day.nextMonthDay.jp-holiday:not(.selected),
.flatpickr-day.flatpickr-disabled.sunday:not(.selected),
.flatpickr-day.flatpickr-disabled.jp-holiday:not(.selected) { color: rgba(255, 0, 0, 0.2); }
*/
.jp-holiday{
	background-color: #fff0f0 !important;
}
.jp-holiday.selected{
	background-color: #ff799a !important;
}
.sunday{
	background-color: #fff0f0 !important;
}
.sunday.selected{
	/*color: #42a5f5 !important;*/
	background-color: #ff748a !important;
}
.saturday{
	background-color: #eef1ff !important;
}
.saturday.selected{
	background-color: #79acff !important;
}

/*--------------------------------*/
label.checkbox input[type="checkbox"]{
	display:none;
	margin:2px;
}
label.checkbox{
	font-size:14px!important;
	letter-spacing:1px!important;
	text-align:center;
	width:auto;
	min-width:100px;
	box-sizing: border-box;
	-webkit-transition: background-color 0.2s linear;
	transition: background-color 0.2s linear;
	position: relative;
	display: inline-block;
	padding: 4px 10px 2px 30px;
	border:solid 2px #d2d2d2;
	border-radius: 8px;
	background-color: #f7f7f7;
	vertical-align: middle;
	cursor: pointer;
}
label.checkbox:hover{
	background-color:#efffff;
	border:solid 2px #17B794;
}
label.checkbox:has(input[type="checkbox"]:checked){
	/*font-weight:bold!important;*/
	color:#111!important;
	background-color:#ddffdd;
	border:solid 2px #17B794;
}
label.checkbox:after{
	-webkit-transition: border-color 0.2s linear;
	transition: border-color 0.2s linear;
	position: absolute;
	top: 6px;
	left: 7px;
	display: block;

	width: 17px;
	height: 17px;
	border: 2px solid #bbb;
	border-radius: 6px;
	content: '';
}
label.checkbox:before {
	-webkit-transition: opacity 0.2s linear;
	transition: opacity 0.2s linear;
	position: absolute;
	z-index:100;
	content: '';
	opacity: 0;
	
	box-sizing: border-box;
	width: 18px;
	height: 12px;
	margin-top: -9px;
	top: 12px;
	left: 8px;
	transform: rotate(-45deg);
	border-bottom: 5px solid;
	border-left: 5px solid;
	border-color:  #267df0;
	/*border-color:  #0077db;*/
}
label.checkbox:has(input[type="checkbox"]:checked):before{
	opacity: 1;
}
label.checkbox span{
	user-select:none;
}

label.radio input[type="radio"]{
	display:none;
	margin:2px;
}
label.radio{
	font-size:14px!important;
	letter-spacing:1px!important;
	text-align:center;
	width:auto;
	min-width:80px;
	box-sizing: border-box;
	-webkit-transition: background-color 0.2s linear;
	transition: background-color 0.2s linear;
	position: relative;
	display: inline-block;
	padding: 4px 10px 4px 30px;
	margin:-4px 5px 2px 1px!important;
	border:solid 2px #d2d2d2;
	border-radius: 8px;
	background-color: #f7f7f7;
	vertical-align: middle;
	cursor: pointer;
}
label.radio:hover{
	background-color:#efffff;
	background-color:#ddffdd;
	border:solid 2px #17B794;
}
label.radio:has(input[type="radio"]:checked){
	/*font-weight:bold!important;*/
	color:#111!important;
	background-color:#ddffdd;
	border:solid 2px #17B794;
}
label.radio:after{
	-webkit-transition: border-color 0.2s linear;
	transition: border-color 0.2s linear;
	position: absolute;
	top: 8px;
	left: 7px;
	display: block;

	width: 17px;
	height: 17px;
	border: 2px solid #bbb;
	border-radius: 6px;
	content: '';
}
label.radio:before {
	-webkit-transition: opacity 0.2s linear;
	transition: opacity 0.2s linear;
	position: absolute;
	z-index:100;
	content: '';
	opacity: 0;
	
	box-sizing: border-box;
	width: 18px;
	height: 12px;
	margin-top: -9px;
	top: 14px;
	left: 8px;
	transform: rotate(-45deg);
	border-bottom: 5px solid;
	border-left: 5px solid;
	border-color:  #ff5555;
}
label.radio:has(input[type="radio"]:checked):before{
	opacity: 1;
}
label.radio span{
	user-select:none;
}


.radiobox{
	font-size:14px!important;
	letter-spacing:1px!important;
	text-align:center;
	width:auto;
	min-width:100px;
	display: inline-block;
	padding: 4px 4px 2px 4px;
	border:solid 2px #17B794;
	border-radius: 8px;
	background-color: #f7f7f7;
	vertical-align: middle;
	margin-right:7px;
	margin-left:7px;
}
.radiobox label{
	padding-right:7px;
	padding-left:5px;
}

#head_shopid{
	font-size:1em;
	width:190px;
	background-color:#f5ffff;
	border:solid 1px #aaa;
	margin-top:2px;
}
#head_employeename{
	font-size:1em;
	width:250px;
	background-color:#f5ffff;
	border:solid 1px #aaa;
	margin-top:2px;
	padding-right:25px;
}
.head_label{
	font-size:1.2em;
	margin-left:0.75em;
}


.newtext{
	color: #55f;
}

.delm{
	margin: 0 10px;
	border-left: solid 1px #aaa;
}

.retired{
	background-color: #ddd!important;
}
.even{
	background-color: #dfd!important;
}

.exists{
	color:#55f;
	font-weight:bold;
}

.hol{
	background-color: #ffd1aa!important;
}
.sun{
	background-color: #ffdddd!important;
}
.sat{
	background-color: #bbffff!important;
}
.trn{
	background-color: #ffff33!important;
}

input::placeholder{
	color:#999!important;
}

#password,
#current_password,
#password_confirmation{
	padding-right:42px;
}
.icon-field{
	width:100%;
	position: relative;
	display: inline-block;
}
.icon-field i{
	color:#777;
	font-size:22px;
	position: absolute;
	display: inline-block;
	top:9px;
	right: 9px;
}

#AdminToolBox{
	position:relative;
	margin-left:1em;
	display:inline-block
}
#AdminUserList{
	width:250px;
	border: solid 2px #79f;
	padding-right:20px;
}
#Btn_AdminUserChange{
	position:absolute;
	font-size:17px;
	padding:7px 5px!important;
	width:55px!important;
	min-width:55px;
}
#Btn_AdminUserClear{
	position: absolute;
	z-index:2;
	font-size:15px!important;
	font-weight:bold!important;
	width: 20px!important;
	background:transparent!important;
	border:none!important;
	opacity: 0.4;
	top:-3px;
	margin-left:-15px;
}
#Btn_AdminUserClear:hover{
	opacity: 1;
}
.jsSearchInputSelector.dropdown{
	width:308px!important;
	font-family:monospace, serif;
}

.w2ui-input.disabled{
	background-color: #f5f5f5!important;
}

.msgbox{
	display:none;
	font-weight:bold;
	font-size:17px;
	line-height: 1.75em;
}
.show{
	display:block!important;
}
.hide{
	display:none!important;
}
.DiffBox{
	font-weight:bold!important;
	font-size:14px!important;
	margin-top:2px!important;
	margin-bottom:15px!important;
	padding:2px 7px!important;
	line-height:1.75em!important;
}
.DiffBox:before {
	z-index:9999;
	content: '';
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 6px 0 6px 10px;
	border-color: transparent transparent transparent #badaff;
	transform: rotate(-90deg);
	position: absolute;
	top: -63px;
	left: 10px;
	bottom: 0;
	margin: auto;
}

.stat1,
.stat2{
	color:#e4f;
}
.stat9{
	font-weight:bold;
	color:#55f;
}
.stat-9,
.stat-cancel,
.w2ui-input.readonly.stat-9,
.w2ui-input.readonly.stat-cancel{
	color:#f22!important;
}

.manual{
	background-color:#ff5;
}

.upload_file{
	display:none!important;
}
.upload_filename{
	color:#333!important;
}

input[type="file"]{
	width: 217px!important;
}
input[type="file"]::file-selector-button {
	appearance: none;
	visibility: hidden;
	margin: 0;
	padding: 0;
	border: 0 none;
	width: 0;
	height: 0;
	font-size: 100%;
	line-height: inherit;
}
.thumbnail_box{
	width: 253px!important;
	height: 80px!important;
	margin-top: 5px!important;
	padding: 10px!important;
	border:solid 1px #ccc!important;
	border-radius; 3px!important;
	background-color:#fafafa!important;
}
.thumbnail_canvas{
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: 50%;
}
.mbox-lightbox .mbox-count,
.mbox-lightbox .mbox-screenfit,
.mbox-lightbox .mbox-fullscreen,
.mbox-lightbox .mbox-play{
	display:none!important;
}

#Btn_AdminUserClear:hover{
	opacity: 1;
}
#Btn_AdminUserClear:active{
	opacity: 0.7;
}
