﻿@font-face {
  font-family: "icons";
  src: url("../fonts/icons.woff") format("woff");
}
@font-face {
  font-family: "arrows";
  src: url("../fonts/arrows.woff") format("woff");
}
@font-face {
  font-family: "shopicons";
  src: url("../fonts/shopicons.woff") format("woff");
}
:root {
  --red1: #bf1c2a;
  --red2: #ad0009;
  --red3: #ffcdb2;
  --red4: #fff2ec;
  --blue: #0a3480;
  --orange: #f59f24;
  --orange2: #b55000;
  --orange3: #986700;
  --grey1: #f8f8f8;
  --grey2: #ececec;
  --grey3: #dedede;
  --grey4: #666666;
  --greybg: rgba(35,35,35,.9);
  --icon-size: 34px;
  --icon-padding: 15px;
  --button-size: 44px;
  --border-radius: 10px;
  --page-header-height: 90px;
  --boxshadow: 0px 0px 10px 5px rgba(0,0,0,0.1);
  --boxshadow2: 1px 0px 15px 5px rgba(0,0,0,0.07);
  --color-animate: color .3s ease 0s;
  --bg-animate: background .3s ease 0s;
}
[id] {
  scroll-margin-top: var(--page-header-height);
}
@layer core {
  html {
    border: 0;
    margin: 0 auto;
    padding: 0;
    min-height: 100vh;
    scroll-behavior: smooth;
  }
  html.dialogOpen{ overflow:hidden!important; }
  body {
    font-family: "Roboto", Arial, "微軟正黑體", "Microsoft JhengHei", sans-serif;
    font-variant-ligatures: none;
    font-size: 18px;
    color: #333;
    line-height: 1.333em;
    font-weight: 400;
    min-height: 100vh;
  }
  body {
    opacity: 0;
  }
  body.done {
    opacity: 1;
  }
  .clearfix:before,
  .clearfix:after {
    display: table;
    content: " ";
  }
  .clearfix:after {
    clear: both;
  }
  *:focus-visible {
    outline: black solid 2px;
  }
  sub,
  sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sup {
    top: -0.5em;
  }
  sub {
    bottom: -0.25em;
  }
  #skipToContent {
    float: left;
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
    z-index: 5000;
  }
  #skipToContent a {
    background: #fff;
    font-size: 100%;
    height: 1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
  }
  #skipToContent a:focus,
  #skipToContent a:active {
    display: inline;
    height: auto;
    left: 0;
    padding: 4px;
    top: 0;
    width: 180px;
    z-index: 1000;
    background: #005295;
    color: #fff;
  }
  .videoWrap,
  .youtubeWrap {
    position: relative;
  }
  .youtubeWrap iframe,
  .videoWrap video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .accessibility {
    height: 0;
    width: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    font-size: 0;
    text-indent: -9999px;
    position: absolute;
  }
  .hidden,
  .invisible {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    display: inline;
  }
  object {
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
    -moz-transition: width 0.25s ease 0s;
    -o-transition: width 0.25s ease 0s;
    -webkit-transition: width 0.25s ease;
    -webkit-transition-delay: 0s;
    transition: width 0.25s ease 0s;
  }

  ::-webkit-input-placeholder {
    /* WebKit, Blink, Edge */
    color: rgba(255, 255, 255, 1);
  }

  :-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: rgba(255, 255, 255, 1);
    opacity: 1;
  }

  ::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: rgba(255, 255, 255, 1);
    opacity: 1;
  }

  :-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: rgba(255, 255, 255, 1);
  }

  ::-ms-input-placeholder {
    /* Microsoft Edge */
    color: rgba(255, 255, 255, 1);
  }

  ::placeholder {
    /* Most modern browsers support this now. */
    color: rgba(255, 255, 255, 1);
  }
  input:focus::-moz-placeholder {
    color: rgba(255, 255, 255, .5);
  }
  input:focus:-ms-input-placeholder {
    color: rgba(255, 255, 255, .5);
  }
  input:focus::-webkit-input-placeholder {
    color: rgba(255, 255, 255, .5);
  }

  /* Chrome, Safari, Edge, Opera */
  input::-webkit-outer-spin-button,
  input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
  /* Firefox */
  input[type="number"] {
    -moz-appearance: textfield;
  }
  input[type="search"] {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  strong {
    font-weight: 700;
  }
  .container {
    width: 100%;
    padding: 0 30px;
    margin: 0 auto;
    max-width: 1900px;
  }
  #wrapper {
    width: 100%;
    min-width: 320px;
    max-width: 3000px;
    min-height: 100vh;
    margin: 0 auto;
    position: relative;
  }
  #wrapper.grayscale {
    filter: grayscale(1);
  }
  #headerZone {
    position: sticky;
    z-index: 2000;
    width: 100%;
    top: 0;
    left: 0;
    background-color: #fff;
    -webkit-box-shadow: 0px 5px 10px 0px rgba(50, 50, 50, 0.1);
    -moz-box-shadow: 0px 5px 10px 0px rgba(50, 50, 50, 0.1);
    box-shadow: 0px 5px 10px 0px rgba(50, 50, 50, 0.1);
  }
  #announcementWrap{    
    background-color: var(--red1);
    color: #fff;
    position: relative;
    z-index: 999;
		opacity: 0;
		height: 0;
		transition: opacity .3s ease 0s;
  }
	#announcementWrap.active{
		height: auto;
		opacity: 1;
	}
  #announSwiper{
    min-height: 40px;
    opacity: 0;
    transition: opacity .3s ease 0s;
  }
  #announcementWrap.active #announSwiper{
    opacity: 1;
  }
  #announcementWrap .container{ position: relative;}
  #announcement{
    position: relative;
    display: flex;
    padding: 0 35px 0 30px;
    align-items: center;
  }
  #announcement:before{
    content: "\e905";
    font-family: icons;
    display: block;
    font-size: 20px;
    line-height: 20px;
    color: currentColor;
    position: absolute;
    left: 0;
    top: 10px;
  }
  #announcement .swiper-slide{
    margin-top: 11px;
    margin-bottom: 11px;
    line-height: 22px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    height: 22px;
    transition: hieght .2s ease 0s;
  }
  #announSwiper{ width: 100%; overflow: hidden;}
  #announClose{
    position: absolute;
    right: 20px;
    top: 0;
    cursor: pointer;
    width: 40px;
    height: 40px;
    color: #fff;
    z-index: 100;
  }
  #announClose:after {
    content: "\e904";
    font-family: icons;
    display: block;
    font-size: 18px;
    line-height: 18px;
    color: currentColor;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: color 0.3s ease 0s, font-size .3s ease 0s;
  }
  #announClose:hover:after, #announClose:focus-within:after{
    font-size: 20px;
  }
  #announClose > span {
    text-indent: -9999px;
    display: block;
  }
  #announCtrls{
     position: relative;
     padding: 0 30px;
     display: flex;
     align-items: center;
     border-radius: 30px;
     height: 28px;
     background-color: var(--red2);
     color: var(--red3); 
     font-size: 0.778em;
     opacity: 0;    
  }
  #announcementWrap.active #announCtrls{ opacity:1; }
  #announCtrls .swiper-prev{ left: 5px!important;}
  #announCtrls .swiper-next{ right: 5px!important;}
  #announCtrls .swiperCount{ margin-left: 5px;}
  #announCtrls .swiperCount span{ padding: 0 2px;}
  #announCtrls .swiper-arrow{
    width: 28px;
    height: 28px;
  }
  #announCtrls .swiper-arrow span{
    width: 14px;
    height: 14px;
  }
  #announCtrls .swiper-arrow span:after{
    font-size: 14px!important;;
    line-height: 14px!important;;
    color: currentColor;
  }
  #announCtrls .btn-play{
    width: 28px;
    height: 28px;
  }
  #announCtrls .btn-play:before, #announCtrls .btn-play:after{
    background-color: var(--red3);
    height: 10px;
    width: 3px;
  }
  #announCtrls .btn-play.stop:before{
    border-bottom: 6px solid transparent;
    border-top: 6px solid transparent;
    border-left: 8px solid var(--red3);
    background: none;
  }
  #announCtrls .swiper-play{ flex: 0 0 28px;}
  #announCtrls .btn-play:not(.stop):before{
    left: 10px;
  }
  #announCtrls .btn-play:not(.stop):after{
    right: 10px;
  }
  #announcement .swiperCtrls{
    display: flex;
    align-items: center;
  }
  #headerTop {
    display: flex;
  }
  #logoWrap {
    padding: 13px 0;
    flex: 1;
    transition: padding .3s ease 0s;
  }
  #logoWrap .logo {
    display: flex;    
  }
  #logoWrap a{
    display: flex;
    align-items: center;
    height: 100%;
  }
  #logoWrap a span {
    display: block;
  }

  #logoWrap a > .logo {
    width: 64px;
    line-height: 0;
    transition: width .3s ease 0s;
  }
  #logoWrap a > .logo > img {
    max-width: 100%;
  }
  #logoIPD img{ width: 410px; transition: width .1s ease 0s;}
  #logoWrap a > .txt {
    padding: 5px 20px 5px 10px;
    font-size: 1.333em;
    line-height: 1.095em;
    font-weight: 700;
    transition: font-size .3s ease 0s;
  }
  #logoIPD {
    line-height: 0;
    display: block;
  }
  #mSearchCtrl {
    opacity:0;
    transition: opacity .3s ease 0s;
    display: none;
  }
  #mmenuCtrl {
    display: none;
    height: 60px;
    width: 34px;
    z-index: 2200;
    margin-left: 6px;
  }
  #mmenuCtrl > a {
    flex: 1 0 34px;
    height: 34px;
    display: flex;
    justify-content: center;
    position: relative;
    border-radius: 50%;
    background-color: var(--grey2);
  }
  #mmenuCtrl.active > a{
    background-color: var(--red1);
  }
  #mmenuCtrl > a > span {
    text-indent: -9999px;
    color: #000;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 14px;
    height: 3px;
    background-color: var(--red1);
  }
  #mmenuCtrl > a > span:before,
  #mmenuCtrl > a > span:after {
    content: "";
    height: 3px;
    width: 14px;
    background-color: var(--red1);
    position: absolute;
    display: block;
  }
  #mmenuCtrl > a > span,
  #mmenuCtrl > a > span:before,
  #mmenuCtrl > a > span:after {
    transition: width 0.3s ease 0s, transform 0.3s ease 0s, color 0.3s ease 0s;
  }
  #mmenuCtrl.active > a > span,
  #mmenuCtrl.active > a > span:before,
  #mmenuCtrl.active > a > span:after {
    background-color: #fff;
  }
  #mmenuCtrl > a > span:before {
    top: -6px;
  }
  #mmenuCtrl > a > span:after {
    top: 6px;
  }
  /*
  #mmenuCtrl:hover span,
  #mmenuCtrl:hover span:before,
  #mmenuCtrl:hover span:after,
  #mmenuCtrl:focus-within span,
  #mmenuCtrl:focus-within span:before,
  #mmenuCtrl:focus-within span:after {
    width: 20px;
  }*/
  /* #mmenuCtrl.active a > span {
    background: transparent;
    width: 20px;
  } */
  /* #mmenuCtrl.active a > span:before,
  #mmenuCtrl.active a > span:after {
    top: 0;
    width: 20px;
    background-color: #fff;
  } */
  /* #mmenuCtrl.active a > span:before {
    transform: rotate(45deg);
  }
  #mmenuCtrl.active a > span:after {
    transform: rotate(-45deg);
  } */
  #topNavWrap {
    display: flex;
    justify-content: right;
    align-items: center;
  }
  #topNav {
    padding-right: 6px;
    margin-right: 15px;
    position: relative;
  }
  #topNav:after {
    content: "";
    width: 1px;
    height: 15px;
    background-color: rgba(0, 0, 0, 0.15);
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
  }
  #topNav ul li {
    display: inline-block;
    position: relative;
    padding-left: 20px;
    margin-right: 10px;
  }
  #topNav ul > li:before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #7fb61c;
    z-index: 50;
  }
  #siteTools {
    position: relative;
    padding-left: 20px;
    margin-left: 20px;
    display: flex;
    height: 100%;
    border-left: 1px solid var(--grey3);
  }
  /* #siteTools:after {
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 100%;
  } */

  #siteTools > ul {
    text-align: right;
    display: flex;
    gap: 6px;
    position: relative;
    align-items: center;
  }
  #siteTools > ul > li {
    display: flex;
    gap: 6px;
    position: relative;
    line-height: 35px;
    text-align: left;
    font-size: 1em;
  }
  #toolLangs_m  a,
  #siteTools > ul > li > a,
  #mSearchCtrl > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--icon-size);
    height: var(--icon-size);
    border-radius: 50%;
    position: relative;
    transition: background 0.3s ease 0s;
  }
  #toolLangs_m  a{
    width: var(--button-size);
    height: var(--button-size);
    font-size: 1.125em;
    line-height: var(--button-size);
  }
  #siteTools > ul > li > a.trigger {
    overflow: hidden;
    color: #fff;
    z-index: 1100;
  }  
  #siteTools > ul > li > a:before{
    content: '';
    position: absolute;
    z-index: 1;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;  
    transition: background-color .3s ease 0s;  
  }
  /* #siteTools > ul > li > a:after{
    content: '';
    position: absolute;
    z-index: 2;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 100%;
    border-radius: 50%;    
    transition: width .3s ease 0s;
  } */
  #siteTools > ul > li > a.trigger:before{
    background-color: var(--red1);
  }
  #siteTools > ul > li > a.trigger:hover:before,
  #siteTools > ul > li > a.trigger:focus-within:before{
    background-color: var(--red3);
  }
  /* #siteTools > ul > li > a.trigger:after{
    background-color: var(--red3);
  } */
  #toolLangs > li > a{
    color: var(--red1);
    position: relative;
    overflow: hidden;
  }
  #toolLangs > li > a:before{
    background-color: var(--grey2);
  }
  #toolLangs > li > a:hover:before, 
  #toolLangs li > a:not(.selected):hover:before,
  #toolLangs > li > a:focus-within:before, 
  #toolLangs li > a:not(.selected):focus-within:before{
    background-color: var(--red3);
  }
  /* #toolLangs > li > a:after{
    background-color: var(--red3);
  } */
  /* #toolLangs > li > a:hover:after{
    width: calc(100% + 4px);
  } */
  /* #siteTools > ul > li > a:hover:after,
  #siteTools > ul > li > a:focus-within:after, 
  #siteTools > ul > li.active > a:after{
    width: 100%;
  } */
  #toolLangs li > a.selected{
    color: #fff;
  }
  #toolLangs li > a.selected:before{
    background-color: var(--red1);
  }
  #toolLangs li > a:not(.selected):hover{
    color: var(--red2);
  }
  #toolLangs_m  a,
  #mSearchCtrl > a {
    background-color: var(--grey2);
    color: var(--red1);
  }
  #toolLangs_m > a.selected, #mSearchCtrl.active > a, #mSearchCtrl > a:hover {
    color: #fff;
    background-color: var(--red1);
  }
  #toolLangs_m > a:hover, #toolLangs_m > a:focus-within{
    background-color: var(--red3);
    color: var(--red2);
  }
  #siteTools > ul > li > a.trigger:hover,
  #siteTools > ul > li > a.trigger:focus-within, 
  #siteTools > ul > li.active > a.trigger {
    color: var(--red2);
  }
  
  #siteTools > ul:not(#toolLangs) > li > a > span,
  #mSearchCtrl > a > span {
    display: block;
    position: relative;
    width: 18px;
    height: 18px;
    font-size: 0;
  }
  #siteTools > ul > li > a.trigger span, #toolLangs > li > a span{ position: relative; z-index: 20;}
  #siteTools .subnav {
    position: absolute;
    background-color: var(--greybg);
    opacity: 0;
    border-radius: 10px;
    pointer-events: none;
    transition: opacity 0.3s ease 0s, transform 0.3s ease 0s;
  }
   /* #siteTools .subnav:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid var(--yellow);
    top: -7px;
  }
  #toolSearch .subnav:before {
    right: 13px;
  } */
  #siteTools .subnav a,
  #siteTools .subnav form {
    display: none;
  }
  #siteTools > ul > li.active > .subnav a,
  #siteTools > ul > li.active > .subnav form {
    display: block;
  }
  #siteTools > ul > li.active > .subnav {
    opacity: 1;
    pointer-events: visible;
    box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.2);
  }
  /* #siteTools > ul > li > a > span:before,
  #mSearchCtrl > a > span:before {
    content: "";
    position: absolute;
    width: 38px;
    height: 38px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease 0s;
  }
  #siteTools > ul > li > a:hover > span:before,
  #siteTools > ul > li > a.focus > span:before,
  #siteTools > ul > li.active > a > span:before,
  #mSearchCtrl.active > a > span:before {
    opacity: 1;
  } */
  #siteTools > ul > li > a.trigger > span:after,
  #mSearchCtrl > a > span:after,
  .btnSeach > span:before {
    font-family: icons;
    display: block;
    font-size: 18px;
    font-weight: 400;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    line-height: 18px;
    transition: color 0.3s ease 0s;
  }
  #siteTools > ul > li > a.trigger:hover > span:after,
  #siteTools > ul > li:focus-within > a.trigger > span:after,
  #siteTools > ul > li > a.trigger:focus > span:after,
  #siteTools > ul > li.active > a.trigger > span:after {
  }
  #toolLangs {
    position: relative;
    margin-left: 15px;
    padding-left: 15px;
  }
 .langTC, .langSC{ font-weight: 600;}
  #toolLangs:before {
    content: "";
    background-color: var(--grey3);
    width: 1px;
    height: 15px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
  }
  #toolFontsize > a > span,
  #toolShare > a > span,
  #toolSearch > a > span {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: 20px 20px;
    transition: background 0.3s ease 0s;
  }
  #toolShare .subnav {
    position: absolute;
    left: 50%;
    top: calc(100% + 10px);
    transform: translate(-50%, 0);
    color: #fff;
    padding: 10px 0;
    z-index: 1000;
  }
  #toolShare .subnav > a {
    padding: 0 10px;
    line-height: 35px;
    width: 54px;
    border-bottom: 1px solid var(--grey4);
    background: transparent;
    transition: background .3s ease 0s;
  }
  #toolShare .subnav > a:hover{
    background: var(--grey4);
  }
  #toolShare .subnav > a:last-child{ border-bottom: none;}
  #toolShare.active .subnav {
    opacity: 1;
  }
  #toolBookmark > a > span:after {
    content: "\e900";
  }
  #toolFontsize > a > span:after {
    content: "\e901";
  }
  /* #toolFontsize.active > a > span:after,  #toolFontsize > a:hover > span:after,  #toolFontsize > a.focus > span:after {
	color: #fff;
} */
  #toolShare > a > span:after {
    content: "\e902";
  }
  #toolSearch > a > span:after,
  #mSearchCtrl > a > span:after {
    content: "\e903";
  }
  /* #toolShare .subnav a {
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 20px 20px;
    text-indent: -9999px;
    width: 40px;
    color: var(--grey);
    line-height: 40px;
  } */
  .socialmedia a{
    display: block;
    line-height: 40px;
    width: 40px;
  }
  .socialmedia a > span{
    display: block;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 21px 21px;
    text-indent: -9999px;
    width: 100%;
    color: #fff;    
  }
  .socialmedia a.btnEmail > span {
    background-image: url(../images/icon-email.svg);
  }
  .socialmedia a.btnFB > span {
    background-image: url(../images/icon-fb.svg);
  }
  .socialmedia a.btnWeibo > span {
    background-image: url(../images/icon-weibo.svg);
  }
  .socialmedia a.btnTwitter > span {
    background-image: url(../images/icon-twitter-x.svg);
  }
  
  #toolSearch .searchForm {
    position: absolute;
    right: 0;
    top: 100%;
    width: 360px;
    background-color: var(--yellow);
    padding: 15px;
    color: #262626;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    transform: translateY(10px);
    z-index: 1000;
    transition: opacity 0.3s ease 0s, transform 0.3s ease 0s;
  }
  #toolSearch.active .searchForm {
    opacity: 1;
    transform: translateY(10px);
  }
  #toolSearch .searchForm form .inputWrap {
    position: relative;
  }
  #toolSearch .searchForm form .inputWrap label {
    position: absolute;
    left: 0;
    top: 0;
  }
  #toolSearch .searchForm form .inputWrap input {
    height: 40px;
    color: #262626;
    padding: 0 22px 0 0;
    width: 100%;
    display: inline-block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    transition: border-bottom-color 0.3s ease 0s;
    background: transparent;
  }
  #toolSearch .searchForm form .inputWrap input:focus-within {
    border-bottom: 1px solid rgba(255, 255, 255, 1);
  }
  #toolSearch .searchForm .btnSearch {
    position: absolute;
    text-align: left;
    width: 22px;
    height: 22px;
    color: #fff;
    display: block;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    text-indent: -9999px;
  }
  #toolSearch .searchForm .btnSearch:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 1px solid #058752;
    border-bottom: 1px solid #058752;
    transform: translate(-50%, -50%) rotate(-45deg);
  }
  #toolSearch .searchForm .advSearch {
    text-align: right;
    margin-top: 5px;
  }
  #toolSearch .searchForm .advSearch a {
    color: #fff;
  }
  #toolSearch .searchForm .advSearch a:hover {
    text-decoration: underline;
  }
  #toolShare .shareWrap {
    left: 0;
    position: absolute;
  }
  #toolShare.active .shareWrap {
    display: block;
  }
  #toolShare .shareWrap > ul {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease 0s;
  }
  #toolShare.active .shareWrap > ul {
    max-height: 260px;
  }
  #toolShare.active .shareWrap > ul li:first-child {
    border: none;
  }
  #toolShare.active .shareWrap > ul li {
    border-top: 1px solid #fff;
    /*padding: 10px 0;*/
    line-height: 30px;
  }
  #toolShare.active .shareWrap > ul a {
    color: #03563e;
    padding: 10px 10px 10px 40px;
    position: relative;
    display: block;
    background-position: 15px 50%;
    background-repeat: no-repeat;
    background-size: 21px 21px;
    transition: background-color 0.3s ease 0s, color 0.3s ease 0s;
  }
  #mobileMenu .shareWrap {
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--grey4);
  }
  #mobileMenu .shareWrap .txt {
    line-height: 40px;
    font-weight: 700;
    padding: 0 10px 0 0;
    position: relative;
    color: var(--red3);
  }
  #mobileMenu .shareWrap > div {
    display: inline-block;
    text-align: center;
    vertical-align: top;
  }
  #mobileMenu .socialmedia > a {
    line-height: 40px;
    color: #fff;
    display: inline-block;
    position: relative;
  }
	#mobileMenu .socialmedia *:focus-visible {
    outline: #fff solid 2px;
  }	
  #toolLangs_m{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }  
  #mainZone {
    position: relative;
    background: #fff;
    overflow: hidden;
  }
  #footerMain {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    color: #333;
    font-size: 0.833em;
  }
  #footerMain > div {
    padding: 20px 0;
  }
  ul#footerNav {
    overflow: hidden;
    margin-bottom: 10px;
  }
  ul#footerNav li {
    position: relative;
    display: inline-block;
    padding-right: 13px;
    margin-right: 13px;
    margin-bottom: 5px;
  }
  ul#footerNav li:before {
    content: "";
    background-color: var(--grey2);
    width: 1px;
    height: 13px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -15px;
  }
  ul#footerNav li a {
    color: var(--red2);
    border-bottom: 1px solid transparent;
    transition: color 0.25s ease 0s, border-color 0.25s ease 0s;
  }
  ul#footerNav li a:hover, ul#footerNav li a:focus-within{
    color: var(--orange3);
    border-color: var(--orange3);
  }
  ul#footerNav li:last-child{
    margin-right: 0;
    padding-right: 0;
  }
  #footerCopyright > div {
    display: inline-block;
    position: relative;
    padding-left: 26px;
    color: var(--grey4);
  }
  #footerCopyright > div:before {
    content: "";
    width: 1px;
    height: 15px;
    background-color: var(--grey2);
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
  }
  #footerCopyright > div:first-child {
    padding-left: 0;
  }
  #footerCopyright > div:first-child:before {
    display: none;
  }
  #footerRight {
    text-align: right;
    display: flex;
    gap: 20px;
    align-items: center;
    /* flex-wrap: wrap; */
  }
  #footerRight a {
    display: inline-block;
    /* margin-left: 20px; */
    line-height: 0;
    vertical-align: middle;
  }
  /* #footerRight a:first-child {
    margin-left: 0;
  } */
  /*mobile menu css starts*/
  #mobileBgLayer {
    position: fixed;
    width: 100%;
    height: 100%;
    /* background-color: var(--greybg); */
    opacity: 0.5;
    z-index: 1118;
    left: 0;
    top: 0;
  }
  #mobileNavWrap {
    position: absolute;
    width: 100%;
    /* height: calc(100vh - var(--page-header-height) - 114px); */
    top: 100%;
    left: 0;
    opacity: 1;
    z-index: 1299;
    display: none;
    background: var(--greybg);
    transition: top 0.5s ease 0s;
    padding-bottom: 96px;
  }
  .showMMenu #mobileNavWrap {
    /* display: block; */
  }
  /* #mobileNavWrap.show {
    top: 100%;
  } */
  #mobileNavWrap > div{
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    transition: height .3s ease 0s;
  }
  #mobileNav {
    width: 100%;
  }
  #logoIPD_m{
    /* position: absolute;
    bottom: 0; */
    margin-top: auto;
    display: block;
    background-color:#fff;
    width: 100%;
    padding: 20px;
    text-align: center;
    height: 96px;
    border-bottom: 3px solid var(--red1);
  }
  #logoIPD_m img{ width: 334px;}
  #mobileMenu {
    padding: 50px 40px 0;
  }
  #mainNav_m{
    padding: 40px 0;
  }
  #mainNav_m ul li{
    text-align: center;
    padding: 15px 0;
  }
  #mainNav_m ul li a{
    color: #fff;
    display: inline-block;
    vertical-align: top;
    padding-right: 20px;
    position: relative;
  }
  #mainNav_m ul li a:hover, #mainNav_m ul li a:focus-within{ text-decoration: underline;}
  #mainNav_m ul li a:before{
    content: "";
    position: absolute;
    right: 0px;
    top: 50%;
    height: 8px;
    width: 8px;
    display: block;
    border: 2px solid #fff;
    border-top-width: 0;
    border-left-width: 0;  
    transform: rotate(-45deg) translateY(-50%);
  }
  /*mobile menu css ends*/
  #backToTop {
    position: fixed;
    right: 20px;
    bottom: 62px;
    width: 40px;
    height: 40px;
    opacity: 0;
    transition: background-color 0.5s ease 0s, opacity 0.3s ease 0s;
    z-index: 1100;
    text-indent: -9999px;
    visibility: hidden;
    border-radius: 50%;    
    background-image: url(../images/icon-backtop.svg);
    background-repeat: no-repeat;
    background-size: 100% auto;
    transition: background .3s ease 0s;
  }
  #backToTop:hover,
  #backToTop:focus-within {
    background-image: url(../images/icon-backtop-hover.svg);
  }
  #backToTop.fixed {
    position: absolute;
    bottom: 62px;
  }
  #backToTop.active {
    opacity: 1;
    visibility: visible;
  }
  .isHome #backToTop{ display: none;}
  #wrapper.showMMenu #backToTop {
    visibility: hidden;
  }
  .fancybox-content {
    max-width: 800px;
  }
  /*inside*/
  #insideVisualWrap {
    height: 200px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 100% auto; /* background-color: #038079; */
  }
  #insideVisualWrap.loaded {
  }
  #secTitle {
    font-size: 2.778em;
    color: var(--primary-dark);
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    height: 100%;
    z-index: 100;
  }
  #pageTitle {
    position: relative;
    margin-bottom: 30px;
    font-weight: 600;
  }
  #mainContent {
    line-height: 1.556em;
    width: 100%;
    position: relative;
    opacity: 0;
    transition: opacity 0.5s ease 0s;
  }
  #wrapper:not(.isHome) #mainContent{
    padding: 50px 30px 80px;
    max-width: 1720px;
    margin: 0 auto;
  }
  #mainZone.shown #mainContent,
  #mainZone.shown #content {
    opacity: 1;
  }
  #wrapper:not(.home) #mainZone{
    background-image: url(../images/bg.jpg);
    background-repeat: repeat;
  }
  /* #content {
    opacity: 0;
  } */
  #lastRevDate {
    text-align: left;
    color: #6e6e6e;
    font-size: 0.833em;
    padding: 10px 20px;
  }
  #footerZone {
    border-top: 3px solid var(--red1);
    background-color: #fff;
    position: relative;
    z-index: 100;
  }
  .fancybox-content {
    max-width: 800px;
  }
  #lastRevDate {
    text-align: left;
    color: #6e6e6e;
    font-size: 0.833em;
    padding: 10px 20px;
  }
  /*swiper*/
  .swiper {
    position: relative;
  }
  .swiper .swiper-play {
    display: inline-block;
    cursor: pointer;
    flex: 0 0 34px;
  }
  .swiper .swiper-play:hover {
  }
  .swiper .swiper-arrow {
    position: absolute;
    width: 50px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1100;
    font-size: 0;
    line-height: 0;
    display: block;
    overflow: hidden;
    opacity: 1;
    border: none;
    transition: opacity 0.3s ease 0s, background-color 0.3s ease 0s,
      left 0.3s ease 0s, right 0.3s ease 0s;
  }
  .swiper .swiper-arrow span {
    text-align: center;
    width: 24px;
    height: 38px;
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;    
    /* border-style: solid;
    border-width: 4px;
    border-color: var(--red1);
    border-top: none;
    border-left: none; */
  }
  .swiper .swiper-arrow span:after{
    font-family: 'arrows';
    display: block;
    font-size: 30px;
    position: absolute;
    width: 100%;
    height: 100%;
    color: var(--red1);
    line-height: 38px;
    transition: color 0.3s ease 0s;
  }
  .swiper .swiper-arrow:hover span:after, .swiper .swiper-arrow:focus-within span:after{
    color: var(--orange3);
  }
  .swiper .swiper-next {
    right: 20px;
  }
  .swiper .swiper-next span:after{
    content: "\e101";
  }
  .swiper .swiper-prev {
    left: 20px;
  }
  .swiper .swiper-prev span:after{
    content: "\e100";
  }
  .swiper .swiper-arrow:not(.swiper-button-disabled):hover,
  .swiper .swiper-arrow:not(.swiper-button-disabled):focus-within {
  }
  .swiper .swiper-prev span {
    transform: translate(-50%, -50%);
  }
  .swiper .swiper-prev:not(.swiper-button-disabled):hover,
  .swiper .swiper-prev:not(.swiper-button-disabled):focus-within {
    left: 15px;
  }
  .swiper .swiper-next span {
    transform: translate(-50%, -50%);
  }
  .swiper .swiper-next:not(.swiper-button-disabled):hover,
  .swiper .swiper-next:not(.swiper-button-disabled):focus-within {
    right: 15px;
  }
  .swiper-paging {
    display: inline-block;
    vertical-align: top;
  }
  .swiper-paging > a,
  .swiperCtrls .swiper-paging > span {
    display: inline-block;
    height: 34px;
    width: 10px;
    position: relative;
    vertical-align: top;
    text-indent: -9999px;
    opacity: 1;
  }
  .swiper-paging > a:before,
  .swiperCtrls .swiper-paging > span:before {
    content: "";
    position: absolute;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    width: 8px;
    height: 8px;
    border: 1px solid #ccc;
    display: block;
    /* box-shadow: 0px 5px 30px 5px rgba(0, 0, 0, 0.2); */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease 0s, height 0.3s ease 0s,
      background-color 0.3s ease 0s;
  }
  .swiperCtrls .swiper-paging .swiper-pagination-bullet-active{
    width: 38px;
  }
  .swiperCtrls .swiper-paging .swiper-pagination-bullet-active:before {
    background-color: var(--red1);
		border-color: var(--red1);
    width: 28px;
    border-radius: 5px;
  }
  .swiperCtrls .swiper-paging .swiper-pagination-bullet:hover:before {
    /* background-color: var(--orange); */
  }
  .swiper-paging .swiper-pagination-bullet,
  .swiper-paging .swiper-pagination-bullet-active {
    background: none;
  }
  .swiper-button-disabled {
    cursor: default;
  }
  .swiper-notification {
    position: absolute;
    height: 0;
    width: 0;
    display: inline-block;
    overflow: hidden;
    margin: 0;
    padding: 0;
    font-size: 0;
    text-indent: -9999px;
  }
  .btn-play {
    display: inline-block;
    position: relative;
    text-indent: -9999px;
    width: 35px;
    height: 34px;
    z-index: 10;
    transition: background-color 0.3s ease 0s;
  }
  .btn-play:hover {
  }
  .btn-play:before {
    left: 12px;
  }
  .btn-play:after {
    right: 10px;
  }
  .btn-play:before,
  .btn-play:after {
    position: absolute;
    width: 4px;
    height: 14px;
    background-color: var(--red1);
    content: "";
    top: 50%;
    transform: translateY(-50%);
  }
  .btn-play.stop:before {
    border-bottom: 7px solid transparent;
    border-left: 10px solid var(--red1);
    border-top: 7px solid transparent;
    background: none;
    border-radius: 0;
    height: 0;
    top: 50%;
    left: 50%;
    width: 0;
    transform: translate(-50%, -50%);
  }
  .btn-play:not(.stop):hover:before,
  .btn-play:not(.stop):hover:after,
	.btn-play:not(.stop):focus-within:before,
  .btn-play:not(.stop):focus-within:after{
    background-color: var(--orange3);
  }
  .btn-play.stop:hover:before,
  .btn-play.stop:focus-within:before {
    border-bottom: 7px solid transparent;
    border-left: 10px solid var(--orange3);
    border-top: 7px solid transparent;
  }
  .btn-play.stop::after {
    display: none;
  }
  /*swiper*/
}
/*end layer*/
/*custom style*/
.f-left {
  float: left;
}
.f-right {
  float: right;
}
.a-center {
  text-align: center;
}
.a-right {
  text-align: right;
}
.v-top {
  vertical-align: top;
}
.v-middle {
  vertical-align: middle;
}
.v-bottom {
  vertical-align: bottom;
}
.no-wrap {
  white-space: nowrap;
}
.no-padding {
  padding: 0;
}
.no-margin {
  margin: 0;
}
.display-m {
  display: none;
}
/* main#content {
  position: relative;
  z-index:50;
} */
/*search*/
#shopSearchWrap {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: rgba(35, 35, 35, 0.9);
  color: #fff;
  display: none;
  margin-top: 22px;
  z-index: 100;
  line-height: 26px;
}
#wrapper:not(.isHome) #shopSearchWrap.fixed{
  position: absolute;
}
#shopSearchWrap.active {
  z-index: 2000;
  /* display: block; */
}
#shopSearchMain {
  position: relative;
  padding: 30px;
  max-width: 1720px;
  margin: 0 auto;
}
#shopSearchMain *:focus-visible, #searchOptsWrap_m *:focus-visible{
    outline: #fff solid 2px;
  }
#searchTriggerWrap {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1720px;
  z-index: 1100;
}
#wrapper:not(.isHome) #searchTriggerWrap.fixed{
  position: absolute;
}
#searchTrigger {
  cursor: pointer;
  position: absolute;
  overflow: hidden;
  right: 30px;
  bottom: 0;
  padding: 12px 30px 12px 22px;
  font-weight: 700;
  background: var(--red1);
  color: #fff;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  transition: background-color 0.3s ease 0s, color 0.3s ease 0s;
}
#searchTrigger:before{
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width:0;
  height: 100%;
  background: var(--orange3);
  transition: width .3s ease 0s;
}
#searchTrigger:hover:before,
#searchTrigger:focus-within:before {
  width: 100%;
}
#searchTrigger.clicked {
  display: none;
}
.btnSeach > span {
  position: relative;
  padding-left: 24px;
  line-height: 18px;
  display: block;
}
.btnSeach > span:before {
  content: "\e903";
}
#btnSearchClose:after {
  content: "\e904";
}
#btnSearchClose {
  cursor: pointer;
  width: var(--button-size);
  height: var(--button-size);
  overflow: hidden;
  border-radius: 50%;
  background-color: var(--grey2);
  position: absolute;
  right: 30px;
  top: -22px;
  opacity: 1;
  transition: opacity 0.3s ease 0.3s, background-color 0.3s ease 0s;
  box-shadow: 0px 0px 6px rgba(0,0,0,0.2);
}
#wrapper.isHome #btnSearchClose {
  opacity: 0;
	display: none;
}
#btnSearchClose:before{
  content: '';
  position: absolute;
  width: 0;
  height: 100%;
  left: 0;
  top: 0;
  border-radius: 50%;
  background-color: var(--orange);
  transition: width .3s ease 0s;
}
#btnSearchClose:after {
  font-family: icons;
  display: block;
  font-size: 20px;
  line-height: 20px;
  color: var(--red2);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: color 0.3s ease 0s;
}
#btnSearchClose > span {
  text-indent: -9999px;
  display: block;
}
#btnSearchClose:hover:before,
#btnSearchClose:focus-within:before {
  width: 100%;
}
#btnSearchClose:hover:after,
#btnSearchClose:focus-within:after {
  color: #fff;
}
#searchContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  column-gap: 30px;
}
#btnSearchGo {
  cursor: pointer;
  position: relative;
  overflow: hidden;
  padding: 36px 30px;
  font-weight: 700;
  background: var(--red1);
  color: #fff;
  border-radius: 20px;
  transition: background-color 0.3s ease 0s, color 0.3s ease 0s;
}
#btnSearchGo:hover,
#btnSearchGo:focus-within{
	color: var(--red2);
}
#btnSearchGo:before{
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width:0;
  height: 100%;
  border-radius: 20px;
  background: var(--red4);
  transition: width .3s ease 0s;
}
#btnSearchGo:hover:before,
#btnSearchGo:focus-within:before {
  width: 100%;
}
#searchOptsWrap{
  flex: 1;
}
#searchOptsWrap .formRow {
  column-gap: 30px;
  row-gap: 15px;
  align-items: center;
  margin-bottom: 15px;
}
#searchOptsWrap .formRow:last-child{ margin-bottom: 0;}
#searchOptsWrap .searchForm .inputWrap {
  /* border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 30px;
  padding: 8px 20px;
  display: flex;
  align-items: center; */
}
#searchkey .inputWrap, #searchkey input[type="text"]{
  flex: 1;
}
.searchForm input[type="text"] {
	padding:0 10px;
  height: 26px;
  font-weight: 300;
}
.searchForm .inputWrap label {
  font-size: 0.778em;
  font-weight: 500;
  color: var(--red3);  
  white-space: nowrap;
}
#searchContainer > .btnWrap{
  width: 140px;
}
#searchFilters{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
#searchFilters > div{
  position: relative;
}
#searchFilters .selectWrap{
  flex: 1;
}
#searchFilters .selectWrap .select-selected{
  position: relative;
}

/*search form mobile*/
#searchContainer_m{ 
  color: #fff;
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  background-color: var(--greybg);
  border-bottom: 2px solid var(--red1);
  opacity: 0;
  display: none;
  pointer-events: none;
  transition: opacity 0.3s ease 0s, transform 0.3s ease 0s;
}
#searchOptsWrap_m{
   padding: 40px 20px 60px 20px;
   line-height: 26px;
}
#mSearchCtrl > a{
  z-index: 1200;
}
/* , #toolShare > a:before, #toolShare > a:after */
#mSearchCtrl > a:before, #mSearchCtrl > a:after, #mmenuCtrl > a:before, #mmenuCtrl > a:after{
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  transition: opacity .3s ease 0s;
}
/* , #toolShare.active > a:before, #toolShare.active > a:after */
#mSearchCtrl.active > a:before, #mSearchCtrl.active > a:after, #mmenuCtrl.active > a:before, #mmenuCtrl.active > a:after{
  opacity: 1;
}/* , #toolShare > a:before */
#mSearchCtrl > a:before, #mmenuCtrl > a:before{  
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid #fff;
}
#mSearchCtrl > a:after, #mmenuCtrl > a:after/*, #toolShare > a:after*/{
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--red1);
}
#toolShare .subnav:before, #toolShare .subnav:after{
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  opacity: 0;
  transition: opacity .3s ease 0s;
}
#toolShare.active .subnav:before, #toolShare.active .subnav:after{
  opacity: 1;
}
#toolShare .subnav:before{
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid #fff;
  top: -1px;
}
#toolShare .subnav:after{
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--red1);
  top: -4px;
}
/* #toolShare > a:before  {  
  bottom: -18px;  
}
#toolShare > a:after  {
  bottom: -12px;
} */
#mSearchCtrl.active button,
#mSearchCtrl.active form {
  display: none;
}
#mSearchCtrl.active > .subnav button,
#mSearchCtrl.active > .subnav form {
  display: block;
}
#mSearchCtrl.active .subnav{
  opacity: 1;
  pointer-events: visible;
  box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.2);
}
#btnSearchGo_m {
  cursor: pointer;
  padding: 12px 20px;
  font-weight: 700;
  background: var(--red1);
  color: #fff;
  border-radius: 20px;
  transition: background-color 0.3s ease 0s, color 0.3s ease 0s;
}
#btnSearchGo_m:hover,
#btnSearchGo_m:focus-within {
  background: var(--red4);
	color: var(--red2);
}
#searchOptsWrap_m .formRow{ margin-bottom: 20px;}
#searchOptsWrap_m .inputWrap{
  margin-bottom: 20px;
}
#searchOptsWrap_m .inputWrap > label{
  display: block;
  margin-bottom: 5px;
}
#searchOptsWrap_m .searchForm input[type="text"] {
	padding: 5px 20px;
  width: 100%;
  height: 42px;
  font-weight: 300;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 30px;
}
#searchOptsWrap_m .selectWrap{
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 30px;
}
#searchOptsWrap_m .select-selected{
  padding: 8px 25px 8px 20px;
}
#searchOptsWrap_m .select-selected:after{
  right: 20px;
}

/*popup*/
#popupLayer{
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0); 
  z-index: 9990;
  left: 0;
  top: 0;
  animation: fadeIn 0.3s forwards;
}
@keyframes fadeIn{
  100% {background-color: rgba(0,0,0,.85);}
}
#popupLayer.iscookies{
  background-color: transparent; 
}
.iscookies #popupWrap{
  max-width: 760px;
  background-color: rgba(35, 35, 35, 0.85);
  color: #fff;
  min-height: inherit;
  top: 50%;
  transform: translate(-50%,-50%);
}
#popupWrap{
	position: absolute;
	width: 84%;
  max-width: 1200px;
  min-height: 60%;
	top: 12%;
	left: 50%;
	transform: translateX(-50%);
	border-radius: 22px;
  background-color: #fff;
}
#popupWrap:before, #popupWrap:after{
	content: '';
	position: absolute;
	width: 98px;
	height: 80px;
	background-position: 0 0;
	background-repeat: no-repeat;
	background-size: 100% auto;
}
#popupMain{
	height: 100%;
	width: 100%;
	padding: 50px;	
}
#popupMain .content{
  overflow-y: auto;
  height: 100%;
  line-height: 1.556em;
  font-weight: 300;
}
#popupLayer.custom #popupWrap{ min-height:initial; }
#popupLayer.custom #popupMain .content{
  overflow: inherit;
}
#popupLayer.custom #bookmarksWrap{
  overflow: auto;
  height: 500px;
}
#popupMain .content h2{ font-size:2em; line-height: 1em; color: var(--red2); font-weight: 700; margin-bottom: 25px; }
#popupMain .btn-wrap button{
  position: relative;
  overflow: hidden;
	margin: 0 5px 0;
  cursor: pointer;
}
#popupMain .btn-wrap button span{ position: relative;}
#popupMain .btn-wrap button:after{
  content:'';
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  transition: width .3s ease 0s;
}
#popupMain .btn-wrap button#btnSetCookies{
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
#popupMain .btn-wrap button#btnSetCookies:before{
  background: transparent;
}
#popupMain .btn-wrap button#btnSetCookies:after{
  background-color: var(--grey2);
}
#popupMain .btn-wrap button:hover:after, #popupMain .btn-wrap button:focus-within:after{
  width: 100%;
}
#btnSetCookies:hover, #btnSetCookies:focus-within{  
  color: var(--grey4);
}
#btnAcceotCookies:before{
  background-color: var(--red1);
  padding: 7px 30px;
}
#btnAcceotCookies:after{
  background-color: var(--red3);
}
#popupMain .btn-wrap button#btnAcceotCookies:hover, #popupMain .btn-wrap button#btnAcceotCookies:focus-within{  
  color: var(--red2);
}
#popupWrap .popupClose {
  cursor: pointer;
  position: absolute;
  width: var(--button-size);
  height: var(--button-size);
  top: 10px;
  right: 10px;  
}
#popupWrap .popupClose span{
  width: 24px;
  height: 24px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  display: block; 
  text-align: center;
  transition: width 0.3s ease 0s, height .3s ease 0s; 
}
/* #popupWrap .popupClose:hover span, #popupWrap .popupClose:focus-within span{
  width: 28px;
  height: 28px;
} */
#popupWrap .popupClose span:after{
  content: "\e904";
  font-family: 'icons';
  display: block;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 100%;
  height: 100%;
  color: var(--red2);
  line-height: 20px;
  transition: color 0.3s ease 0s;
}
#popupWrap .popupClose:hover span:after, #popupWrap .popupClose:focus-within span:after{
  color: var(--orange3);
}
/*swapContent for animated content swapping effect */
.swapContent #mainZone{
  overflow: hidden;
}
#animLayer{
  position: fixed;
  top: 100%;
  width: 100%;
  height: 100vh;
  z-index: 2000;
  background-color: var(--red1);
  transition: top .8s ease 0s;
  transition-timing-function: cubic-bezier(0.1, 0.8, 0.9, 0.1);
  
}
.swapContent #animLayer{
  top: -100%;
  /* opacity: 0; */
}
#wrapper.htmx-changing #shopSearchWrap{
  transform: translateY(260px);
}

/*added Sept 2024*/
#popupLayer.qrcode #popupWrap{
  overflow: hidden;
  top: 10vh;
	max-width: 800px;
  /* max-height: 80vh; */
}
#popupLayer.qrcode #popupMain{
  padding: 30px 0 0;
  height: 100%;
}
#popupQRCodeMain{
	padding-top: 44px;
}
#pdfArea{	
	margin: 0 auto;
	max-width: 437px;
	padding: 0 20px 20px;
	display: flex;
	/* justify-content: center; */
	align-items: center;
}
#popupQRCodeMain .qrcodeDIV{
  /* height: 600px; 
  max-height: 65vh;*/
  overflow: auto;
	border: 1px solid #000;
	aspect-ratio: 397 / 559;
	width: 437px;
	display: flex;
	flex-wrap: wrap;
}
#popupQRCodeMain .qrcodeDIV::-webkit-scrollbar {
	width: 8px;
}
#popupQRCodeMain .qrcodeDIV::-webkit-scrollbar-track {
	background: var(--grey2);
}
#popupQRCodeMain .qrcodeDIV::-webkit-scrollbar-thumb {
	background: var(--grey4);
}
#popupQRCodeMain .qrcodeDIV:hover::-webkit-scrollbar-thumb:hover {
	
}
#popupLayer .shopQRCode{
  position: relative;
  margin: 0 auto;
  /* max-width: 450px; */
  width: 100%;
}
#popupLayer .qrcodeWrap{
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  background-image: url(../images/qrcode-bg.jpg);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: contain;
  transform-origin: center center;
}
#popupLayer .qrcodeWrap .qrcode{
  position: absolute;
  top: 27.5%;
  left: 22%;
  width: 56%;
  aspect-ratio: 1/1;
  line-height: 0;
	overflow: hidden;
}
#popupLayer .qrcodeWrap .qrcode canvas{
	width: 100%;
	height: 100%;
	transition: width .3s ease 0s;
}
#popupLayer .qrcodeWrap .qrcode img{
  width: 100%;
}
#popupLayer.qrcode .shopname{
  font-size:1.125rem;
	/* font-size: 16px; */
  font-weight: 700;
  line-height: 1.2em;
  text-align: center;
  padding: 20px;
	font-family: "MS PGothic", "微軟正黑體", "Microsoft JhengHei", sans-serif;
	width: 100%;
}
#modalShares{
  background-color: #f3f3f3;
  padding: 25px 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}
#modalShares .socialmedia > span,
#modalShares .socialmedia > a{
  display: inline-block;  
}
#modalShares .socialmedia > a{
  margin-left: 10px;
}
#modalShares .socialmedia > span{
  font-size: 1.125em;
  font-weight: 700;
}
#modalShares .socialmedia a > span{
  background-size: 34px 34px;
}
#modalShares .socialmedia a.btnTwitter > span {
  background-image: url(../images/icon-twitter-x-2.svg);
}
#modalShares .right{
  display: flex;
  gap: 10px;
}
#modalShares .right button{
	cursor: pointer;
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  position: relative;
  text-decoration: none;
  padding: 12px 30px 12px 22px;
  border-radius: 30px;
  line-height: 30px;
  color: #fff;
  background: var(--red1);
  font-weight: 700;
  transition: background-color 0.3s ease 0s, color 0.3s ease 0s;
}
#modalShares .right button:before{
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width:0;
  height: 100%;
  background: var(--orange3);
  transition: width .3s ease 0s;
}
#modalShares .right button:hover:before,
#modalShares .right button:focus-within:before {
  width: 100%;
}
#modalShares .right button>span{
  position: relative;
  padding-left: 24px;
  line-height: 18px;
  display: block;
}
#modalShares .right button>span:before{
  font-family: icons;
  display: block;
  font-size: 18px;
  font-weight: 400;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  line-height: 18px;
  transition: color 0.3s ease 0s;  
}
#modalShares .right button.btnDownload>span:before{
  content: "\e908";
}
#modalShares .right button.btnPrint>span:before{
  content: "\e909";
}
#popupMain{
  container: popupMain / inline-size;
}
@container popupMain (inline-size < 500px) {
	#popupLayer.qrcode .shopname{
    padding: 10px 0;
  }
  /* #popupLayer .qrcodeWrap{
   transform: scale(0.9);
  } 
	#popupLayer.qrcode .shopname{
    padding-top: 5px;
  } */
}
@container popupMain (inline-size < 360px) {
  /* #popupLayer .qrcodeWrap{
    transform: scale(0.85);
  }
	#popupLayer.qrcode .shopname{
    padding-top: 0;
  }  */ 
}
@media screen and (max-width: 767.98px) {
  #popupQRCodeMain .qrcodeDIV{
    /* padding: 0 40px; 
    margin-bottom: 20px;*/
    /* max-height: 58svh; */
  }
  #modalShares{
    padding: 25px 20px;
  }
  #modalShares > div{
    width: 100%;
  }
}
@media screen and (max-width: 575.98px) {
	#popupLayer.qrcode #popupWrap{
		top: 6vh;
	}
	#popupLayer.qrcode #popupMain{
		padding: 10px 0 0;
	}
  #popupQRCodeMain .qrcodeDIV{
    /* padding: 0 20px; */
  }
}
.DOM-slider-hidden-temp {
	height: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	border-top-width: 0 !important;
	border-bottom-width: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	overflow: hidden !important;
}