@charset "UTF-8";
/* CWBAC CSS Document */

/*
font-family: 'Noto Sans TC', sans-serif; (Chinese)
font-family: 'Raleway', sans-serif;
*/

/* Rules for sizing the icon. */
.material-icons.md-12 {
  font-size: 12px;
}
.material-icons.md-18 {
  font-size: 18px;
}
.material-icons.md-24 {
  font-size: 24px;
} /*default size*/
.material-icons.md-36 {
  font-size: 36px;
}
.material-icons.md-48 {
  font-size: 48px;
}
.material-icons.white {
  color: antiquewhite;
}

:root {
  --pink: #C685b4;
  --yellow: #ddd96b;
  --deepblue: #3056a6;
  --burgundy: #872364;
  --blue: #40c0cb;
  --red: #ff0000;
  --darkgrey: #303b33;
}

html {
  font-size: 10px;
  overflow-y: scroll;
  box-sizing: border-box;
}
*, *::before, *::after {
  padding: 0;
  margin: 0;
  box-sizing: inherit;
}
body {
  font-family: 'Raleway', sans-serif;
  padding: 0;
  margin: 0;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
a, a:hover {
  text-decoration: none;
  color: inherit;
}
div:empty {
  height: 10px;
}

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

header {
	background: linear-gradient(to right, #c685b4 5%, #ddd96b 25%, #ddd96b 75%, #c685b4 95%);
	padding-block: 1vh;
}
header img {
	display: block;
	margin: 0 auto;
	width: 60%;
}

/*section*/
section {
	padding: 1vh 2% 2vh;
}
section > img {
	width: 100%;
}
section h2 {
	font-size: clamp(2rem, 2vw, 2.4rem);
	margin-top: 2vh;
}
section h3 {
	font-size: clamp(1.6rem, 2vw, 2rem);
	margin-top: 1vh;
	font-weight: 600;
	line-height: 1.4em;
}
section p  {
	font-size: clamp(1.6rem, 2vw, 2rem);
	line-height: 1.4em;
	margin-top: 0.5vh;
}

section.home {
	background: #f7e1f4;
}
section.home > h1 {
	text-align: center;
	font-size: clamp(1.4rem, 3vw, 2rem);
	color: var(--red);
	margin-block: 2vh;
}
section.home > img {
	margin-bottom: 15px;
}
section.home > img:first-child {
	margin-top: 15px;
}
section > h3 {
	color: dodgerblue;
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	text-align: center;
	margin-top: 2vh;
}
section.contact p {
	font-size: clamp(1.6rem, 2vw, 2.4rem);
	line-height: 1.4em;
	text-align: center;
	margin-block: 0.5vh;
}
.logos {
	margin: 1vh 0 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.5em 0;
}
h1.title {
	font-size: clamp(2.4rem, 3vw, 3.2rem);
	color: var(--burgundy);
	margin-block: 1vh;
	text-align: center;
}
.intro {
	padding-top: 1vh;
}
.intro img {
	border: solid 1px #97a19a;
	float: left;
	margin-right: 20px;
}
.intro p {
	font-size: clamp(1.6rem, 2.5vw, 2rem);
	line-height: 1.5em;
}
.intro p ~ p {
	margin-top: 1vh;
}
.award_emblem {
	display: block;
	margin: 4vh auto 2vh;
	width: 275px;
}

ul.award, ol.award {
	margin: 1vh 0 0 30px;
	font-size: clamp(1.4rem, 1vw, 1.8rem);
	line-height: 1.8em;
}
section .home_img {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	gap: 1em;
}
section .home_img > img {
	width: calc(50% - 1em);
}
section.activities_24 {
	padding: 1vh 5% 2vh;
}
.full_img {
	width: 99%;
	display: block;
	margin: 5px auto 10px;
}
.activities_img_2, .activities_img_3, .activities_img_4 {
	display: flex;
	gap: 1em;
	justify-content: center;
	margin-block: 10px;
}
.activities_img_2 img {
	width: calc(50% - 1em);
}
.activities_img_3 img {
	width: calc(33.25% - 1em);
}
.activities_img_4 img {
	width: calc(24.8% - 1em);
}
/*Directors*/
section.director {
	padding: 1vh 1vw 2vh;
}
.directors {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	column-gap: 2em;
}
.directors figure {
	width: calc(30% - 2em);
	min-width: 185px;
	margin-block: 1.5vh;
	overflow: hidden;
}
.directors figure > img {
	width: 100%;
	aspect-ratio: 3 / 4;
}
p.name {
	color: var(--red);
	font-size: clamp(1.6rem, 2vw, 2.2rem);
	line-height: 90%;
	font-weight: 600;
}
.directors figcaption {
	font-size: clamp(1.4rem, 2vw, 2rem);
	text-align: center;
}

/*table*/
.name_list {
	padding-block: 2vh;
}
.directorTbl {
	width: 90%;
	min-width: 380px;
	margin: 0 auto;
	border-top: solid 2px var(--burgundy);
	border-bottom: solid 2px var(--burgundy);
}
.directorTbl tr:nth-last-of-type(odd) {
	background: #ebe6bc;
}
.directorTbl td {
	font-size: clamp(1.4rem, 2.5vw, 2rem);
	line-height: 1.5em;
	padding: 8px 0 8px 5px;
	vertical-align: top;
}
.directorTbl td:first-child {
	font-family: 'Noto Sans TC', sans-serif; 
	color: var(--red);
	width: 15%;
}
.directorTbl td:nth-of-type(2) {
	width: 25%;
}

.hon_advisoryTbl {
	width: 95%;
	min-width: 380px;
	margin: 0 auto;
	border-top: solid 2px var(--burgundy);
	border-bottom: solid 2px var(--burgundy);
}
.hon_advisoryTbl th {
	font-size: clamp(1.6rem, 2.5vw, 2rem);
	text-align: left;
	padding: 8px 0 8px 5px;
	vertical-align: top;
	background: var(--burgundy);
	color: white;
	font-weight: 400;
}
.hon_advisoryTbl td {
	font-size: clamp(1.4rem, 2vw, 1.8rem);
	line-height: 1.5em;
	padding: 8px 5px;
	vertical-align: top;
}
.hon_advisoryTbl td:first-child {
	padding: 8px;
}
.hon_advisoryTbl img {
	width: calc(55px + 2.5vw);
}
.hon_advisoryTbl td:last-child {
	width: calc(40% + 2vw);
}
.hon_advisoryTbl tr:nth-of-type(odd) {
	background: #ebe6bc;
}

.awardTbl {
	width: 95%;
	min-width: 380px;
	margin: 0 auto;
	border-top: solid 2px var(--burgundy);
	border-bottom: solid 2px var(--burgundy);
}
.awardTbl th {
	font-size: clamp(1.6rem, 2.5vw, 2rem);
	text-align: left;
	padding: 8px 0 8px 5px;
	vertical-align: top;
	background: var(--burgundy);
	color: white;
	font-weight: 400;
}
.awardTbl td:nth-of-type(2) {
	width: 45%;
}
.awardTbl img {
	width: calc(55px + 2.5vw);
}
.awardTbl td {
	font-size: clamp(1.4rem, 2vw, 1.8rem);
	line-height: 1.5em;
	padding: 8px 5px;
	vertical-align: top;
}
.awardTbl td:first-child {
	padding-right: 1vw;
}
.awardTbl tr:nth-of-type(odd) {
	background: #fffacd;
}

/*Activities*/
.activities {
	padding-block: 2vh;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1em;
	align-items: flex-start;
}
.activities img {
	width: calc(50% - 1em);
	min-width: 300px;
}
.activities_2 {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1em;
	align-items: flex-start;
}
.activities_2 img {
	width: calc(33.333333% - 1em);
	min-width: 200px;
}
.img_2020_9 {
	width: 75%;
	display: block;
	margin-inline: auto;
}


/*footer*/
footer {
  background: var(--burgundy);
  font-size: calc(1rem + 0.2vw);
  text-align: center;
  color: antiquewhite;
  display: grid;
  place-items: center;
  padding: 20px 0;
}
footer a:hover {
	text-decoration: underline;
	text-underline-offset: 0.5em;
}

.google_map {
	width: min(95%, 650px);
	aspect-ratio: 3 / 2;
	position: relative;
	margin: 2vh auto;
}
.google_map iframe {
	position: absolute;
	width: 100%;
	height: 100%;
	border: solid 2px orange;
}

.home_link {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 2em;
	padding-block: 2vh;
}
.home_link > * {
	width: min(450px, 100%);
	aspect-ratio: 3 / 2;
}
.cwbac_tw {
	overflow: hidden;
}
.cwbac_tw img {
	margin-left: -5vw;
}

.home_img img {
	width: calc(315px + 15vw);
	margin: 0 auto;
	display: block;
	margin-block: 1vh;	
}


/*General CSS*/
.ch {
	font-family: 'Noto Sans TC', sans-serif;
	font-weight: 400;
}

.block_center {
	display: block;
	margin: 0 auto;
}
.word_wrap {
	white-space: nowrap;
}


@media (max-width: 775px) {
	.activities img, .activities_2 img {
		width: 95%;
	}
	.cwbac_tw img {
	margin-left: -15vw;
	}

}

@media (max-width:600px) {
	header img {
		width: 80%;
	}
	.intro img {
		float: none;
		display: block;
		margin: 0 auto 1vh;
	}
	.cwbac_tw img {
	margin-left: -30vw;
	}
	section {
			padding: 1vh 5% 2vh;
	}
	section .home_img > img {
	width: 100%;
	}
	.img_2020_9 {
		width: 96%;
	}

}






