html,body{
	background-color: #e9f9ff;
	height: 100%;
	margin: 0;
	padding: 0;
}

body .layui-layer {
	border-radius: 11px;
}
body .layui-layer-msg {
	min-width: 60px;
	border-radius: 2px;
}
.layui-layer-title, .layui-layer-setwin {
	display: none;
}
.layui-layer-content{
	text-align: center; font-family: "Microsoft YaHei"; word-break: break-word !important;
}
.layui-layer-dialog .layui-layer-btn {
	border-top: 1px solid #ddd;
	padding: 5px 15px 9px;
	font-size: 16px;
	text-align: center;
}
.layui-layer-dialog .layui-layer-btn a {
	border: 0;
	color: #1E9FFF;
	background-color: #fff;
	min-width: 50px;
}
.layui-layer-dialog .layui-layer-btn a:hover {
	opacity: 0.8;
}
body .layui-layer-msg .layui-layer-content {
	font-size: 16px;
	line-height: 26px;
}
body .layui-layer-msg .layui-layer-content .layui-layer-ico {
	top: 19px;
}
body .layui-layer-loading .layui-layer-loading1 {
  background: url(../libs/layer/theme/default/loading-1.gif) no-repeat;
}


/***************************** footer *****************************/
.n-footer{
  position: fixed;
  bottom: 0;
  justify-content: flex-end;
  width: 100%;
  background-color: #72d3f4;
  padding: 14px 0;
}

.n-footer .f-con{
  height: 44px;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0 15px;
}

.n-footer .f-con .footer_logo2{
  width: 132px; height: 41px;
  background-image: url(../images/ephhk-logo.png?t=202507091701);
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 30px;
}
.n-footer .f-con .footer_logo{
  width: 132px; height: 41px;
  background-image: url(../images/footer_logo.png?t=202507091701);
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 30px;
}

.n-footer .f-con .link{
  vertical-align: middle;
  width: 184px;
}
.n-footer .f-con .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;
}
.n-footer .f-con .link .select_area:before{
  position: absolute;
  margin-left: 161px; margin-top: 14px;
  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%);
}
.n-footer .f-con .link .select_area select{
  display: block;
  width: 100%; height: 28px;
  font-size: 13px;
  padding: 4px 12px;
  padding-right: 40px;
  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;
}

.n-footer .f-con .copyright{
  position: absolute;
  right: 15px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  text-align: right;
}
.n-footer .f-con .copyright ul{
  padding: 2px 0;
  margin: 0 -12px;
  font-size: 0;
}
.n-footer .f-con .copyright li{
	vertical-align: top;
	padding: 0 12px;
	font-size: 14px;
  list-style: none;
}
.n-footer .f-con .copyright.en li{
  font-size: 12px;
}
.n-footer .f-con .copyright li a{
	color: #0066cc;
}
.n-footer .f-con .copyright li a:hover{
	text-decoration:underline;
}
.n-footer .f-con .copyright .separator{
	color: white;
}
.n-footer .f-con .copyright p{
	font-size: 12px;
	padding: 6px 0 2px 0;
  float: right;
  text-align: left;
  /*width: 43%;*/
  width: 420px;
  margin: 0;
}

/*針對添加footer后的樣式改變*/
#indexviewer .content, #indexviewer .content .frm-view{
  bottom: 72px;
}
#bookshelf .content{
  bottom: 116px;
}
#bookshelf .footer{
  bottom: 72px;
}
#forLogin{ left: 0; }
#forLogin li{
  list-style: none;
}
#forLogin p{
  margin: 0;
}
.frame_box.byfooter{
  position: fixed; top: 0; bottom: 72px;
  height: auto; overflow-y: auto;
}

@media screen and (max-width: 980px)  {
  .n-footer .f-con {
    /*height: 182px;*/
    flex-direction: column;
  }

 /* .n-footer .f-con .footer_logo, .n-footer .f-con .link{
    padding-bottom: 20px;
  }*/
  .n-footer .f-con .footer_logo2, .n-footer .f-con .footer_logo, .n-footer .f-con .link{
    display: none;
  }

  .n-footer .f-con .copyright {
    position: static;
    text-align: center;
  }

  .n-footer .f-con .copyright p{
    float: unset; text-align: unset; width: unset;
  }

  #indexviewer .content, #indexviewer .content .frm-view{
    /*bottom: 210px;*/
  }
  #bookshelf .content{
    /*bottom: 254px;*/
  }
  #bookshelf .footer{
    /*bottom: 210px;*/
  }

  .frame_box.byfooter{
    /*bottom: 210px;*/
  }
}
