@charset "UTF-8";
/* China Delight CSS Document */

/*
font-family: 'Cantata One', serif; - menu type
font-family: 'Lemonada', cursive; - heading
font-family: 'Noto Sans', sans-serif; - general
font-family: 'Noto Serif TC', serif; - Chinese
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@400;500;600&display=swap');

.material-icons.md-18 { font-size: 18px; }
.material-icons.md-24 { font-size: 24px; }
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-48 { font-size: 48px; }
.material-icons.md-vary {font-size: calc(16px + 0.5vw);}

.transform {
	transform: translateY(3px);
}
.rotate {
	transform: rotate(270deg);
}

:root {
	--red: #e40026;
	--green: #00984e;
	--med-green: hsl(69, 82%, 41%);
	--dark-green: hsl(67, 60%, 25%);
	--brown: hsl(49, 97%, 54%);
	--lite-brown: hsl(51, 100%, 50%);
	--med-brown: hsl(51, 71%, 62%);
	--dark-brown: hsl(43, 89%, 38%);
}

html {
	font-size: 10px;
	text-overflow: scroll;
	box-sizing: border-box;
}
*, *:before, *:after {
	box-sizing: inherit;
	padding: 0;
	margin: 0;
}

body {
	font-family: 'Noto Sans', sans-serif;
	padding: 0;
	margin: 0;
}

a, a:hover {
	color: inherit;
	text-decoration: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

div:empty {
	height: 20px;
}

#wrapper {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto 3vh;
}

/*header*/
header {
	padding: 15px 2% 15px 5%;
	display: flex;
	justify-content: space-around ;
	flex-wrap: wrap;
	background-image: linear-gradient(-25deg, var(--dark-brown) 2%, var(--brown) 8%, var(--lite-brown) 15%, var(--lite-brown) 70%, var(--dark-brown) 90%, var(--brown) 95%);
}
header h1 {
	text-indent: -1000rem;
	width: 150px;
	height: 120px;
	background: url("../images/china_delight_logo.png") no-repeat center;
	background-size: contain;
}
.header_info {
	padding: 10px 0 0;
}
.header_info p {
	font-size: calc(1.2rem + 0.3vw);
}
.header_info h2 {
	font-family: 'Cantata One', serif;
	font-size: calc(1.6rem + 0.5vw);
	font-weight: 400;
	color: var(--dark-brown);
	margin-top: 5px;
}

/*index*/
section.home {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.intro {
	flex: 1;
	padding: 20px 4% 10px;
	background: hsl(52, 80%, 75%);;
	margin: 0;
}
.intro h2 {
	font-family: 'Lemonada', cursive;
	font-size: calc(1.4rem + 0.4vw);
	font-weight: 400;
	color: var(--dark-green);
}
.intro p {
	font-size: calc(1.1rem + 0.4vw);
	line-height: 135%;
	margin-bottom: 1vh;
}
.intro p a {
	color: #2700c9;
	font-style: italic;
}

.home_images {
	flex: 1;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	padding: 20px 2% 10px;
	background: #cdd998;
	margin: 0;
}
.home_images img {
	width: 170px;
	height: auto;
	margin: 10px 0;
	-webkit-filter: drop-shadow(0 3px 3px hsla(352, 20%, 22%, .6));
	-moz-filter: drop-shadow(0 3px 3px hsla(352, 20%, 22%, .6));
	-o-filter: drop-shadow(0 3px 3px hsla(352, 20%, 22%, .6));
	filter: drop-shadow(0 3px 3px hsla(352, 20%, 22%, .6));
}


/*table*/
section.menu_container {
	padding: 20px 3%;
	display: flex;
/*	flex-wrap: wrap;*/
	justify-content: center;
}
aside {
	padding: 35px 3% 0;
	flex: 2;
	display: flex;
	flex-flow: column;
	align-items: flex-start;
}

aside figure {
	width: 80%;
	margin: 15px auto;
}
aside figure.single {
	width: 95%;
}
aside figure > img {
	width: 100%;
	height: auto;
	-webkit-filter: drop-shadow(0 6px 6px hsla(352, 20%, 22%, .6));
	-moz-filter: drop-shadow(0 6px 6px hsla(352, 20%, 22%, .6));
	-o-filter: drop-shadow(0 6px 6px hsla(352, 20%, 22%, .6));
	filter: drop-shadow(0 6px 6px hsla(352, 20%, 22%, .6));
}
aside figure figcaption {
	font-size: calc(1rem + 0.3vw);
	font-style: italic;
	text-align: center;
	padding-top: 12px;
}


.menuTbl {
	flex: 5;
	font-family: 'Cantata One', serif;
	margin: 0 auto 3vh;
	width: 90%;
	border-bottom: 3px solid var(--dark-brown);
}

.menuTbl caption {
	font-family: 'Lemonada', cursive;
	font-size: calc(2rem + 0.5vw);
	text-align: center;
	color: var(--red);
	font-weight: 400;
	padding: 10px 0;
	border-bottom: 2px solid var(--dark-brown);
	position: sticky;
	top: 0;
	background: hsl(0, 0%, 100%);
	box-shadow: 0 10px 13px -12px hsl(0, 0%, 50%);
	z-index: 10;
}
.menuTbl caption span {
	font-family: 'Noto Serif TC', serif;
	font-wieght: 600;
}

.menuTbl tr td {
	font-family: 'Cantata One', serif;
	font-size: calc(1.1rem + 0.5vw);
	vertical-align: top;
	padding: 12px 0 12px 8px;
	line-height: 110%;
}
.menuTbl td small {
	font-family: 'Noto Sans', sans-serif;
	font-size: 70%;
	font-style: italic;
}
.menuTbl td:first-child {
	font-family: 'Noto Serif TC', serif;
	font-weight: 300;
	width: 22%;
}
.menuTbl td:last-child {
	text-align: right;
	padding-right: 8px;
	width: 21%;
}
.menuTbl tr:first-child td {
	padding-top: 16px;
}
.menuTbl tbody tr:nth-of-type(odd) {
	background: hsl(49, 87%, 87%);
}
.chili {
	height: auto;
	width: calc(10px + 0.2vw);
	margin-left: 3px;
	transform: translateY(2px);
}

/*lunch*/
.lunch_header {
	border-bottom: 2px solid var(--dark-brown);
	position: sticky;
	top: 0;
	padding: 0 2% 15px;
	background: hsl(0, 0%, 100%);
	box-shadow: 0 10px 13px -12px hsl(0, 0%, 50%);
	z-index: 10;
}

.lunch_header h1 {
	font-family: 'Lemonada', cursive;
	font-size: calc(2rem + 0.5vw);
	text-align: center;
	color: var(--red);
	font-weight: 400;
	padding: 10px 0 0;
}
.lunch_header h3 {
	font-size: calc(1.2rem + 0.25vw);
	text-align: center;
	line-height: 150%;
	font-weight: 400;
}
.lunch_header h3 span {
	font-style: italic;
	color: #666;
}
.lunch_container {
	flex: 1;
	margin: 0 20px;
}

.lunch_items {
	list-style-type: none;
	margin: 30px 10px 0 15px;
}
.lunch_items li {
	font-size: calc(1.2rem + 0.5vw);
	padding: 0;
	margin-bottom: 4rem;
    position: relative;
    border-bottom: dotted 2px #999;
}
.lunch_items li > div {
	padding: 0 10px 0 0;
	background: #fff; 
    position: absolute;
    top: -2rem;
    left: 0;
}
.lunch_items li > div small {
	font-style: italic
}
.lunch_items li > i {
	padding: 0 0 0 8px;
	background: #fff;
    position: absolute;
    top: -2rem;
    right: 0;
	font-style: normal;
}
.lunch_images {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	padding: 20px 0;
}
.lunch_images figure {
	width: 250px;
	margin: 10px 10px;
	border: solid 8px white;
	box-shadow: 5px 5px 4px #666, -1px -1px 4px #999;
}
.lunch_images figure > img {
	width: 100%;
	height: auto;
}
.lunch_images figure figcaption {
	font-size: calc(1rem + 0.3vw);
	font-style: italic;
	text-align: center;
	padding-top: 8px;
}

/*dinner*/
.dinner_header {
	border-bottom: 2px solid var(--dark-brown);
	padding: 0 2% 15px;
	background: hsl(45, 98%, 90%);
}

.dinner_header h1 {
	font-family: 'Lemonada', cursive;
	font-size: calc(2rem + 0.5vw);
	text-align: center;
	color: var(--red);
	font-weight: 400;
	padding: 10px 0 0;
}
.dinner_container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-bottom: 20px;
}
.dinner_container h2 {
	font-family: 'Lemonada', cursive;
	font-size: calc(1.6rem + 0.3vw);
	line-height: 100%;
	text-align: center;
	color: white;
	background: var(--dark-green);
	font-weight: 400;
	padding: 12px 0 10px;
	width: 100%;
}
.dinner_container h4 {
	font-size: calc(1rem + 0.3vw);
	font-weight: 400;
	text-align: center;
	color: white;
	background: #000;
	font-style: italic;
	padding: 5px 1%;
	width: 100%;
}
.dinner_meals {
	width: calc(48% - 20px);
	margin: 0 10px;
}

.dinner_meals h3 {
	font-family: 'Lemonada', cursive;
	font-size: calc(1.6rem + 0.3vw);
	font-weight: 400;
	text-align: center;
	padding: 5px 0;
	border-bottom: 2px dotted #666;
	position: sticky;
	top: 0;
	z-index: 20;
	background: hsl(45, 98%, 90%);
	box-shadow: 0 8px 10px -8px rgba(50, 50, 50, .5);
}
.dinner_items {
	list-style-type: none;
	margin: 10px 0 10px 15px;
}
.dinner_items li {
	font-size: calc(1.2rem + 0.3vw);
	margin-bottom: 8px;
}

.title {
	font-size: calc(1rem + 0.2vw);
	font-style: italic;
	margin-top: 10px;
	color: #999;
}

/*party tray*/

.party_tray_header {
	border-bottom: 2px solid var(--dark-brown);
	position: sticky;
	top: 0;
	padding: 0 2% 15px;
	background: hsl(0, 0%, 100%);
	box-shadow: 0 10px 13px -12px hsl(0, 0%, 50%);
	z-index: 10;
}
.party_tray_header h1 {
	font-family: 'Lemonada', cursive;
	font-size: calc(2rem + 0.5vw);
	text-align: center;
	color: var(--red);
	font-weight: 400;
	padding: 10px 0 0;
}

.party_tray_container {
    padding: 20px 5vw;
}

.party_tray {
    width: 100%;
    text-align: right;
    margin: 0 auto;
}
.party_tray thead th {
    font-size: calc(1.2rem + 0.4vw);
    font-style: italic;
    font-weight: 400;
    padding: 8px;
/*    border-bottom: solid 1px #666;*/
    background: var(--lite-brown);
}
.party_tray tbody tr td {
    font-size: calc(1.2rem + 0.4vw);
    padding: 8px 10px;
    border-bottom: 1px solid #666;
}
.party_tray td:first-child {
    text-align: left;
}

/*info*/
section.direction {
	display: flex;
	flex-wrap: wrap;
}
.map {
	flex: 3;
	height: 0;
	padding: 20px 0 35%;
	position: relative;
}
.map img {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	transition: all 1s linear;
}
.map:hover img {
	opacity: 0;
	z-index: -2;
}
.map p {
	font-size: calc(1.2rem + 0.5vw);
	text-align: center;
	padding: 8px 10px;
	width: 60%;
	background: #008080;
	color: ivory;
	position: absolute;
	top: 10px;
	left: 0;
	right: 0;
	margin: auto;
	z-index: 30;
	transiton: all 1s linear;
}
.map:hover p {
	background: none;
	color: transparent;
} 
iframe {
	border: none;	
	position: absolute;
	width: 85%;
	height: 80%;
	top: -10px;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	z-index: -1;
	box-shadow: 8px 8px 10px orange;
}
.map:hover iframe {
	z-index: 5;
}

.info {
	flex: 1;
	padding: 25px 2.5% 15px;
}
.info p {
	font-size: calc(1.2rem + 0.5vw);
	line-height: 150%;
}
.info small {
	font-size: 70%;
	font-style: italic
}
.info h2 {
	color: var(--red);
	font-size: calc(2rem + 0.5vw);
	line-height: 150%;
	font-weight: 400;
	margin-top: 15px;
	padding-top: 10px;
	border-top: 1px solid #000;
}
.info h3 {
	color: black;
	font-size: calc(1.2rem + 0.5vw);
	line-height: 150%;
	font-weight: 400;
	margin-top: 15px;
	padding-top: 10px;
	border-top: 1px solid #000;
}

/*footer*/
footer {
	background: var(--dark-brown) url("../images/togo_box.png") no-repeat 1vw center;
	background-size: contain;
	display: flex;
	padding: 20px 2%;
	
}
footer p {
	color: white;
	font-size: calc(1rem + 0.3vw);
	line-height: 150%;
	text-align: center;
	margin: auto;
	letter-spacing: 1px;
}
footer p br {
	display: none;
}

/*common classes*/
.word_wrap {
	white-space: nowrap;
}
.disclaimer {
	font-size: calc(1rem + 0.3vw);
	line-height: 130%;
	text-align: center;
	margin-bottom: 2vh;
	color: #666;
	padding: 0 3%;
}
.disclaimer img {
	height: 15px;
	width: auto;
	transform: translateY(2px);
}
.redtype {
	color: var(--red);
	white-space: nowrap;
}



/*Go to top*/
.gototop{
		position: fixed;
		left: 90%;
		top: 80%;
		height: 35px;
		width: 38px;
		background: #fff;
		border: solid 1px var(--dark-brown);
		padding: 17px 2px 10px;
		font-size: 1rem;
		text-align: center;
		border-radius: 10px 10px 0 0;
	}
#brown-triangle {
		width: 0;
		height: 0;
		border-left: solid 10px transparent;
		border-right: solid 10px transparent;
		border-bottom: solid 10px var(--dark-brown);
		position: absolute;
		top: -12px;
		left: 0;
		right: 0;
		bottom: 0;
		margin: auto;
		z-index:10;	
	}


@media (max-width: 992px) {
	header h1 {
	width: 130px;
	height: 110px;
}
	
}

@media (max-width: 768px) {
	
	aside figure > img {
	-webkit-filter: drop-shadow(0 4px 4px hsla(352, 20%, 22%, .6));
	-moz-filter: drop-shadow(0 4px 4px hsla(352, 20%, 22%, .6));
	-o-filter: drop-shadow(0 4px 4px hsla(352, 20%, 22%, .6));
	filter: drop-shadow(0 4px 4px hsla(352, 20%, 22%, .6));
}
	
	.lunch_items li {
	margin-bottom: 3rem;
}
	
	.lunch_items li > div {
     top: -1.5rem;
}
	.lunch_items li > i {
     top: -1.5rem;
}
	section.home {
		flex-flow: column;
	}
	section.direction {
		flex-flow: column;
		padding: 0 8%;
	}
	.map {
		padding-bottom: 60%;;
	}
	
}

@media (max-width: 580px) {

	header {
		padding: 15px 0;
	}

	header h1 {
		width: 150px;
		height: 120px;
	}
	.header_info {
		text-align: center;
	}
	.mobile-hide {
		display: none;
	}
	section.menu_container {
	 flex-flow: column;
	}
	
	.intro {
		padding: 20px 5%;
	}
	.home_images {
		padding: 20px 5% 10px;
	}
	.home_images img {
		width: 45%;	
	}
	
	aside {
		flex: 1;
		order: 1;
		flex-flow: row;
		flex-wrap: wrap;
		justify-content: center;
		padding-top: 20px;
	}
	aside figure {
		width: calc(50% - 30px);
		margin: 2vh 15px;
		padding: 0;
}
	aside figure.single {
		width: 65%;
		margin: 2vh auto;
	}
	
	.lunch_images figure {
	width: calc(45% - 20px);
	margin: 10px 10px;
}
	.menuTbl {
		flex: 1;
		order: 0;
	}
	
	.lunch_items li {
	margin-bottom: 2.5rem;
	}
	.dinner_meals {
		width: 85%;
	}

}





