/*
* 共用樣式
*/
:root {  
  --footer-base-font-size: 16px;
}

body{
	background-color: #f5f5f5;
	margin: 0;
	font-family: "Microsoft JhengHei", "Microsoft YaHei", "微软雅黑", "宋体", "Arial", "Helvetica", "sans-serif";
  font-size: 16px;
}

.el-message__content{
  font-size: calc(var(--html-font-size) * 1.25);
}

/***************************** footer *****************************/
.footer{
  left: 0;
  right: 0;
  bottom: 0;
	display: flex;
	flex-direction: row;
	background: linear-gradient(90deg, #c3f4ee, #cbddff);
	width: 100%;
	height: calc(var(--footer-base-font-size) * 3.5);
  padding-top: 4px;
}

.footer .eph{
	align-self: center;
  background-image: url(../images/logo_eph.png);
  background-size: contain;
  background-repeat: no-repeat;
  width: calc(var(--footer-base-font-size) * 8.25);
  height: calc(var(--footer-base-font-size) * 2.18);
  margin-left: 10px;
}

.footer .popular{
	align-self: center;
  background-image: url(../images/logo_phl.png);
  background-size: contain;
  background-repeat: no-repeat;
  width: calc(var(--footer-base-font-size) * 7.06);
  height: calc(var(--footer-base-font-size) * 1.87);
  margin-left: 20px;
}

.footer .link{
  align-self: center;
  width: calc(var(--footer-base-font-size) * 11.5);
  margin-left: 20px;
}

.footer .link .select_area{
  display: inline-block;
  vertical-align: top;
  width: 100%;
  background: linear-gradient(to bottom,  #fdfdfd 0%,#d7f1f8 100%);
  border-radius: 6px;
  cursor: pointer;
}
.footer .link .select_area:before{
  position: absolute;
  margin-left: calc(var(--footer-base-font-size) * 10.05);
  margin-top: calc(var(--footer-base-font-size) * 0.87);
  z-index: 1;
  content: "";
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 4px 5px 4px;
  border-color: transparent transparent #008cd6 transparent;
  transform: translateY(-50%);
}
.footer .link .select_area select{
  display: block;
  width: 100%; 
  height: calc(var(--footer-base-font-size) * 1.75);
  font-size: calc(var(--footer-base-font-size) * 0.81);
  padding: 4px 12px;
  padding-right: calc(var(--footer-base-font-size) * 2.5);
  background: linear-gradient(to bottom,  #fdfdfd 0%,#d7f1f8 100%);
  border: 1px solid #d69c46;
  border-radius: 4px;
  -webkit-appearance: none;
  box-sizing: border-box;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  background-color: transparent;
  border-color: #90c176;
}

.footer .space{
	flex: 1;
}

.footer .copyright{  
	align-self: center;
  line-height: 1;
  margin-right: calc(var(--footer-base-font-size) * 2.5);
  display: flex;
  flex-direction: column;
  font-family: "微軟正黑體";
  font-weight: bold;
  font-size: var(--footer-base-font-size);
  color: #3f81b9;
}
.footer .copyright ul{
  padding: 2px 0;
  margin: 0 -12px;
  font-size: 0;
}
.footer .copyright li{
	vertical-align: top;
	padding: 0 12px;
	font-size: calc(var(--footer-base-font-size) * 0.87);
  list-style: none;
}

.footer .copyright li a{
	color: #3f81b9;
	cursor: pointer;
  text-decoration: none;
}

.footer .copyright li a:hover{
	text-decoration:underline;
}
.footer .copyright .separator{
	color: #3f81b9;
}
.footer .copyright .txt{
	font-size: calc(var(--footer-base-font-size) * 0.87);
  text-align: right;
  line-height: calc(var(--footer-base-font-size) * 1.5);
}

.hum .footer{  
  background: linear-gradient(90deg, #dff7c9, #8fe5da); 
}

.hum .footer .copyright li a{
  color: #007e6e;  
}

.hum .footer .copyright{
  color: #007e6e;
}

@media (max-width: 1440px) {
  :root {
    --footer-base-font-size: 15px;
  }
}
@media (max-width: 1280px) {
  :root {
    --footer-base-font-size: 14px;
  }
}
@media (max-width: 1200px) {
  :root {
    --footer-base-font-size: 13px;
  }
}
@media (max-width: 1024px) {
  :root {
    --footer-base-font-size: 12px;
  }
}