body {
	margin: 0px;
}

select {
	border-radius: 3px;
	padding: 3px 3px 6px 3px;
}

div#header {
	position: relative;
	width: 100vw;
	height: 35px;
}

div#header .logo {
    width: 60px;
	height: 13px;
	position: absolute;
	left: 12px;
	top: 9px;
}

div#header .logo img {
    width: 60px;
    height: 13px;
}

div#headerMenuButton {
	position: absolute;
	left: 72px;
	right: 72px;
	top: 1px;
	text-align: center;
	cursor: pointer;
}

div#currentMenu {
	display: inline-block;
	background: url('./images/btnmenu.png') no-repeat;
	padding: 0 4 0 28px;
	margin: 2 0 2 -14px;
	background-color: cornsilk;
}

div#headerMenu {
	display: none;
	z-index: 2;
	position: relative;
	top: 8px;
	background-color: white;
	width: max-content;
	margin: 0 auto;
	padding: 4px 8px;
	border-radius: 16px;
	border: thin solid black;
	box-shadow: 0 10px 15px 0 rgba(0, 0, 0, .5);
}

div#headerMenu .menuItem {
	background-color: ghostwhite;
	margin: 8px 0;
	padding: 4px 8px;
	border: gray thin solid;
	border-radius: 8px;
	cursor: pointer;
}

div#headerMenu .menuItem .menuText {
	font-size: large;
}

div#headerMenu .menuItem .menuTime {
	font-size: small;
	color: gray;
	text-align: right;
}

div#headerMenu .menuItem .menuCancel {
	text-align: center;
}

div#headeritem {
	position: absolute;
	right: 4px;
	height: 26px;
	top: 1px;
	z-index: 1;
}

div#btnShowOrderList {
	margin: 1px 8px;
	padding: 3px 14px;
	background-color: bisque;
	border-radius: 12px;
	border: outset 1px darkred;
	cursor: pointer;
}

div#btnShowOrderList .showOrderListText {
	font-size: small;
	font-weight: bold;
}

div#orderListCount {
	display: none;
	background-color: darkred;
	width: 20px;
	height: 20px;
	position: absolute;
	top: -1px;
	left: -5px;
	border-radius: 10px;
	color: white;
	text-align: center;
	line-height: 20px;
	font-size: small;
	box-shadow: 0 5px 5px 0 rgba(0, 0, 0, .5);
}

div#header div.bottombar {
	background-image: url('./images/bg_shop.gif');
	position: absolute;
	bottom: 0px;
	width: 100vw;
	height: 5px;
}

div#footer {
	width: 100vw;
	height: 40px;
	margin: 0 auto;
	padding: 5px 0 20px;
	background-color: #990000;
	position: absolute;
	bottom: 0px;
}
div#footer div.linkbar {
	display: none;
}
div#footer div.linkbar div.linktext {
	display: none;
}

div.copyright {
	font-size: small;
	text-align: center;
	color: #ffffff;
}

div.errorTitle {
	font-size: x-large;
	font-weight: bold;
	margin: 20px auto;
	text-align: center;
}
div.errorText {
	font-size: medium;
	font-weight: normal;
	margin: 20px auto;
	text-align: center;
}

div.scrollView {
	overflow: auto;
	position: fixed;
	top: 35px;
	bottom: 65px;
	left: 0px;
	right: 0px;
	padding: 10px;
}

div.scrollView.hasSubMenu {
	top: 87px;
}

div.langList {
	margin: 0 auto;
	max-width: 500px;
}

div.warning {
	background-color: darkred;
	color: white;
	padding: 30px;
	line-height: 2.0em;
	font-size: x-large;
	font-weight: bold;
	text-align: center;
}

div.ja {
	background-image: url(./images/ja.png);
	background-repeat: no-repeat;
	padding: 2px 0 1px 41px;
	line-height: 30px;
	font-size: smaller;
	margin: 6px 0 2px 6px;
}

div.fr {
	background-image: url(./images/fr.png);
	background-repeat: no-repeat;
	padding: 2px 0 1px 41px;
	line-height: 30px;
	font-size: smaller;
	margin: 6px 0 2px 6px;
}

div.en {
	background-image: url(./images/en.png);
	background-repeat: no-repeat;
	padding: 2px 0 1px 41px;
	line-height: 30px;
	font-size: smaller;
	margin: 6px 0 2px 6px;
}

div.es {
	background-image: url(./images/es.png);
	background-repeat: no-repeat;
	padding: 2px 0 1px 41px;
	line-height: 30px;
	font-size: smaller;
	margin: 6px 0 2px 6px;
}

div.zhCN {
	background-image: url(./images/zhCN.png);
	background-repeat: no-repeat;
	padding: 2px 0 1px 41px;
	line-height: 30px;
	font-size: smaller;
	margin: 6px 0 2px 6px;
}

div.zhTW {
	background-image: url(./images/zhTW.png);
	background-repeat: no-repeat;
	padding: 2px 0 1px 41px;
	line-height: 30px;
	font-size: smaller;
	margin: 6px 0 2px 6px;
}

div.btnStartOrder {
	margin: 3px auto 12px;
	padding: 3px 10px;
	font-size: x-large;
	line-height: 2.0em;
	background-color: floralwhite;
	border: solid thin saddlebrown;
	border-radius: 18px;
	text-align: center;
}

div#orderList {
	display: none;
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100vh;
	z-index: 6;
	background-color: rgba(0, 0, 0, 0.4);
}

div#orderListView {
	background-color: rgba(255, 255, 255, 0.95);
	margin: auto;
	padding: 5px 10px;
	border-radius: 12px;
	border-color: firebrick;
	border-width: medium;
	border-style: ridge;
	max-width: 500px;
	max-height: 96vh;
	overflow: overlay;
}

div#order {
	display: none;
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	z-index: 5;
	background-color: rgba(0, 0, 0, 0.4);
}

div#orderView {
	background-color: rgba(255, 255, 255, 0.95);
	margin: auto;
	padding: 5px 10px;
	border-radius: 12px;
	border-color: firebrick;
	border-width: medium;
	border-style: ridge;
	max-width: 500px;
	max-height: calc(100% - 20px);
	overflow: overlay;
}

div#order div.setList {
	display: flex;
	overflow: overlay;
	max-width: 90vw;
	border-bottom: solid thin gray;
	margin: 2px auto 4px;
	padding: 0 0 4px 0;
}

div#order div.setData {
	display: block;
	position: relative;
	width: 120px;
	height: 128px;
	flex-direction: row;
	min-width: 120px;
	line-height: 1em;
	white-space: nowrap;
	clip-path: padding-box;
	padding: 4px;
	margin: 0 4px 0 0;
	background-color: white;
	border-radius: 12px;
}

div#order div.setName {
	position: absolute;
	width: 120px;
	bottom: 26px;
	background-color: rgba(255, 255, 255, 0.4);
	text-align: center;
	font-size: small;
	white-space: normal;
}

div.btnSelect {
	width: 120px;
	height: 24px;
	color: gray;
	background-color: whitesmoke;
	border: outset thin gray;
	border-radius: 12px;
	text-align: center;
	line-height: 24px;
	font-size: small;
	white-space: nowrap;
	clip-path: border-box;
	cursor: pointer;
	position: absolute;
	bottom: 0px;
}

div.btnSelect.selected {
	color: white;
	border: inset thin firebrick;
	background-color: firebrick;
}

div.btnSelect.notselected {
	color: gray;
	background-color: whitesmoke;
	border: outset thin gray;
}
/*div#selectedProductText {
	font-size: x-small;
}
div#selectedProductName {

}
div#selectedProductSize {
	display: inline-block;
	font-size: small;
	line-height: 1em;
}
div#selectedProductPrice {
	display: inline-block;
	float: right;
	line-height: 1em;
}*/

div#menuMorning {
	display: none;
}

div#menuLunch {
	display: block;
}

div#menuCafe {
	display: none;
}

div#menuDinner {
	display: none;
}

div#setlisttext {
	text-align: center;
	font-size: small;
	line-height: 1.2em;
	margin: 6px 0;
}
div#selectedSetArea {
	text-align: right;
}
div#selectedSetText {
	display: inline-block;
}
div#selectedSetPrice {
	display: inline-block;
}
div#selectedSetTax {
	display: inline-block;
	font-size: x-small;
}
div#setAlertText {
	display: block;
	font-size: small;
	color: red;
	text-align: center;
}

/*div#selectedTotal {
	display: inline-block;
	float: right;
}
div#selectedTotalPrice {
	display: inline-block;
	float: right;
}*/

div.menuType {
	font-family: serif;
	font-weight: bold;
	text-align: center;
	padding: 40px 0 0 0;
	background: linear-gradient(to top, #FFFFFF, #FFf3e0);
}

div.menuSubType {
	display: none;
	position: fixed;
	padding: 7px 0;
    top: 35px;
	left: 0px;
	right: 0px;
	text-align: center;
    background: white;
	overflow-x: auto;
	white-space: nowrap;
	scrollbar-width: none;
}

.tab {
  padding: 6px 16px;
  font-size: 16px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  color: #333;
}

.tab.active {
  border-bottom: 2px solid #333;
  font-weight: bold;
}

div.monthly {
	background-color: floralwhite;
	padding: 8px 8px 0 8px;
	border: solid thin darkgoldenrod;
	border-radius: 16px;
	max-width: 516px;
	margin: 0 auto;
}

div.monthlyTitle {
	margin: 0 0 -48px 0;
	padding: 8px 0;
	height: 32px;
	text-align: center;
	font-size: large;
	font-weight: bold;
	color: firebrick;
}

div.pd {
	margin: 48px auto 16px;
	max-width: 500px;
}
div.pd img {
	width: 320px;
	height: 240px;
	border-radius: 20px;
	box-shadow: 6px 6px 10px rgba(0, 0, 0, 0.3);
}

div.smallpd {
	margin: 48px auto 16px;
	max-width: 500px;
	display:flex;
	gap:12px;
	padding:12px;
	border-bottom:1px solid #ccc;
}
div.smallpd img {
	width: 120px;
	height: 90px;
	object-fit:cover;
	border-radius:8px;
}
div.smallpd div.col {
	flex:1;
}

div.pdName {
	font-size: large;
	font-weight: bold;
	margin: 8px 0 0 0;
}
div.pdText {
	line-height: 1.2em;
}
div.sizePrice {
	text-align: right;
}
div.pdSize {
	display: inline-block;	
	font-size: small;
	padding: 0 8px 0 0;
}
div.price {
	display: inline-block;
}
div.tax {
	text-align: right;
	font-size: x-small;
}
div.btnOrder {
	margin: 8px;
	padding: 8px;
	border-radius: 16px;
	border: solid thin gold;
	text-align: center;
	background-color: darkorange;
	color: white;
	cursor: pointer;
	font-weight: bold;
}
div.btnOrderDisabled {
	border: solid thin gray;
	background-color: lightgray;
	color: gray;
}
div.btnCancel {
	margin: 8px;
	padding: 8px;
	border-radius: 16px;
	border: solid thin lightgray;
	text-align: center;
	background-color: gainsboro;
	color: lightslategray;
	cursor: pointer;
	font-weight: bold;
}

div#orderVerifyTitle {
	font-size: small;
}

div.orderTable {
	margin: 8px 0;
}

div.orderTable .orderItem {
	margin: 0 0 6px 0;
	position: relative;
}

div.orderTable .pdName {
	font-size: initial;
	font-weight: bold;
	margin: initial;
}
div.orderTable .pdSize {
	display: block;
	font-size: small;
}
div.orderTable .pricenotax {
	font-size: x-small;
	text-align: right;
	line-height: 12px;
	position: absolute;
	right: 0px;
}
div.orderTable .setName {
	font-size: initial;
	font-weight: normal;
}
div.orderTable .setSoupeName {
	font-size: small;
	padding: 0 0 0 16px;
}
div#orderTable .setQuicheName {
	font-size: small;
	padding: 0 0 0 16px;
}
div.orderTable .setDrinkName {
	font-size: small;
	padding: 0 0 0 16px;
}
div.orderTable .setPain1Name {
	font-size: small;
	padding: 0 0 0 16px;
}
div.orderTable .setPain2Name {
	font-size: small;
	padding: 0 0 0 16px;
}
div.orderTable .setJamName {
	font-size: small;
	padding: 0 0 0 16px;
}
div.orderTable .btnRemove {
	display: inline-block;
	min-width: 60px;
	padding: 4px 8px;
	margin: 8px;
	background-color: aliceblue;
	color: midnightblue;
	border: outset 2px darkgray;
	border-radius: 12px;
	text-align: center;
}
div.orderTable .btnEdit {
	display: inline-block;
	width: 60px;
	padding: 4px 8px;
	margin: 8px;
	background-color: honeydew;
	color: seagreen;
	border: outset 2px darkgray;
	border-radius: 12px;
	text-align: center;
	position: absolute;
	right: 0px;
}

div.orderTable .totalItem {
	line-height: 1.1em;
	text-align: right;
}
div.orderTable .totalText {
	display: inline-block;
	font-size: x-small;
	text-align: left;
}
div.orderTable .totalPrice {
	display: inline-block;
	font-size: small;
	padding: 0px 8px;
}

div.qrscan {
	margin: 0 auto;
	width: 320px;
}

div.qrscan canvas#preview {
	width: 320px;
	height: 240px;
}

div.qrscan div.line {
	line-height: 1em;
	margin: 6px 0;
}

div.qrscan div.line img {
	line-height: 1em;
	aspect-ratio: auto 20 / 15;
	width: 20px;
	height: 15px;
	display: inline-block;
	vertical-align: middle;
}

div.qrscan div.line p {
	line-height: 1em;
	font-size: small;
	display: inline-block;
	margin: 0;
}

div.orderingTitle {
	text-align: center;
    padding: 10px;
    margin: 10px;
}

div.orderingDevice {
	text-align: center;
    padding: 10px;
    margin: 10px;
    border: thin outset gray;
    background-color: whitesmoke;
    border-radius: 20px;
    font-size: large;
	cursor: pointer;
}

.viewWaiting {
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100vh;
    z-index: 10;
    background-color: rgba(0,0,0,0.4);
}

@keyframes pulse {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: .25;
        transform: scale(.75);
    }
}

.spinner-box {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
}

.pulse-container {
    width: 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pulse-bubble {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #ffffff;
}

.pulse-bubble-1 {
    animation: pulse .4s ease 0s infinite alternate;
}

.pulse-bubble-2 {
    animation: pulse .4s ease .2s infinite alternate;
}

.pulse-bubble-3 {
    animation: pulse .4s ease .4s infinite alternate;
}

.fade-in {
	animation: fade-slide-in 0.5s;
	animation-fill-mode: forwards;
}

@keyframes fade-slide-in {
	0% {
		opacity: 0;
		transform: translateY(-30px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

.fade-out {
	animation: fade-out-hidden 0.5s;
	animation-fill-mode: forwards;
}

@keyframes fade-out-hidden {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}
