@charset "utf-8";
@import "https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap";



@font-face {
  font-family: 'icon';
  src: url('../fonts/icon.woff2') format("woff2"),
    url('../fonts/icon.woff') format("woff");
}

:root {
  --primary-orange: #DC582A;
  --primary-grey: #D0D0CE;
  --secondary-orange: #F4572D;
  --secondary-grey: #F6F5F5;
  --gold: #AF9534;
  --light-orange: #FFB68A;
  --secondary-orange: #FDC2A4;
  --peach: #FFF0E7;
  --black: #101213;
  --placeholder: #adb5bd;
  --light-black: #4e4e4e;
  --white: #fff;
  --tag-green: #afe0b8;
  --tag-lime: #74b816;
  --tag-blue: #a3c9ea;
  --tag-yellow: #f8bc4c;
  --tag-orange: #f99551;
  --tag-grape: #dfb2e9;
  --tag-indigo: #b3c1f7;
  --tag-cyan: #9eccd3;
  --tag-red: #e9aaaa;
  --red: #EE4141;
  --icon-size: 44px;
  --icon-border: 2px;
  --icon-padding: 10px;
  --icon-gap: 10px;
  --border-radius: 10px;
  --page-header-height: 120px;
}

[id] {
  scroll-margin-top: var(--page-header-height);
}

@layer core {
  html {
    border: 0;
    margin: 0 auto;
    padding: 0;
    min-height: 100vh;
    scroll-behavior: smooth;
  }

  body {
    font-family: "Nunito Sans", Arial, "微軟正黑體", "Microsoft JhengHei", sans-serif;
    font-variant-ligatures: none;
    font-size: 14px;
    color: var(--light-black);
    line-height: 125%;
    letter-spacing: 0.17px;
    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: 0;
  }

  a {
    text-decoration: none;
    transition: font-size .3s ease 0s, color .3s ease 0s, background-color .3s ease 0s, padding .3s ease 0s, margin .3s ease 0s;
  }

  sub,
  sup {
    font-size: 0.777em;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }

  sup {
    top: -0.5em;
  }

  sub {
    bottom: -0.35em;
  }

  .videoWrap,
  .youtubeWrap {
    position: relative;
  }

  .youtubeWrap iframe,
  .videoWrap video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;    
    object-fit: cover;
  }

  .hidden,
  .invisible {
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
  }



  /********* dialog ************/
  dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    border: 0;
    max-width: none;
    max-height: 100svh;
    overflow: hidden;
    padding: 0;
    /* -webkit-backdrop-filter: blur(5px);
   backdrop-filter: blur(5px); */
    background-color: rgba(0, 0, 0, .5);
  }

  dialog article {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--white);
    max-width: 800px;
    width: 95%;
    border-radius: var(--border-radius);
    max-height: 100svh;
    box-shadow: 0 0 15px 7px rgba(0, 0, 0, 0.2);
  }

  @keyframes backdrop-fade-in {
    from {
      -webkit-backdrop-filter: blur(0);
      backdrop-filter: blur(0);
    }

    to {
      -webkit-backdrop-filter: blur(5px);
      backdrop-filter: blur(5px);
    }
  }

  @keyframes fade-in {
    from {
      top: -20%;
    }

    to {
      top: 50%;
    }
  }

  dialog[open] {
    animation: backdrop-fade-in 0.5s ease-out;
    animation-fill-mode: forwards;
  }

  dialog[open] article {
    animation: fade-in 0.5s ease-out;
  }

  dialog article header {
    font-size: 1.777em;
    line-height: 1em;
    padding: 1.5rem;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
  }

  dialog article header>*:last-child,
  dialog article .modal-content .modal-scroll-content>*:last-child {
    margin-bottom: 0 !important;
  }

  dialog article .modal-content {
    padding: 1.5rem;
  }

  dialog article .modal-content .modal-scroll-content {
    max-height: calc(100svh - 280px);
    overflow-y: auto;
    padding-right: 5px;
  }

  .firefox dialog article .modal-content .modal-scroll-content {
    scrollbar-color: var(--primary-grey) var(--secondary-grey);
    scrollbar-width: thin;
  }

  dialog article .modal-content .modal-scroll-content::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }

  dialog article .modal-content .modal-scroll-content::-webkit-scrollbar-track {
    background-color: var(--secondary-grey);
    border-radius: 0;
  }

  dialog article .modal-content .modal-scroll-content::-webkit-scrollbar-thumb {
    background-color: var(--primary-grey);
    border-radius: 0;
  }

  dialog article footer {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid var(--primary-grey);
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
  }

  dialog article footer.no-border {
    border-top: none;
  }

  dialog article footer.text-center {
    justify-content: center;
  }

  dialog a.close-modal-btn {
    width: 40px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    position: absolute;
    right: 20px;
    top: 20px;
    background-color: var(--primary-grey);
    color: var(--white) !important;
    transition: all 0.3s ease 0s;
  }

  dialog a.close-modal-btn:is(:hover, :focus) {
    background-color: var(--primary-orange);
    color: var(--primary-grey) !important;
  }

  dialog a.close-modal-btn:before, 
  dialog a.close-modal-btn:after {
    content: '';
    position: absolute;
    width: 55%;
    height: 2px;
    background-color: currentColor;
    top: 19px;
    left: 9px;
  }

  dialog a.close-modal-btn:before {
    transform: rotate(45deg);
  }

  dialog a.close-modal-btn:after {
    transform: rotate(-45deg);
  }

  /****** dialog end *********/


  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: var(--placeholder);
  }

  :-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: var(--placeholder);
    opacity: 1;
  }

  ::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: var(--placeholder);
    opacity: 1;
  }

  :-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: var(--placeholder);
  }

  ::-ms-input-placeholder {
    /* Microsoft Edge */
    color: var(--placeholder);
  }

  ::placeholder {
    /* Most modern browsers support this now. */
    color: var(--placeholder);
  }

  /* 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 2.22em;
    margin: 0 auto;
    max-width: 1700px;
    -webkit-transition: padding .3s ease 0s, gap .3s ease 0s;
    transition: padding .3s ease 0s, gap .3s ease 0s;
  }

  #wrapper {
    width: 100%;
    min-width: 320px;
    max-width: 3000px;
    min-height: 100vh;
    margin: 0 auto;
    position: relative;
    background: var(--white);
  }

  #wrapper.grayscale {
    filter: grayscale(1);
  }

  #announcementWrap{    
    background-color: var(--primary-orange);
    overflow: hidden;
   /*  max-height: 80px; */
    transition: max-height .5s;
  }
  #announcementWrap.hide{
    max-height: 0;
  }
  #announcementWrap > div{
    padding: 10px 2.14em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 20px;
    transition: padding .3s;
  }
  #announcementWrap a{
    color: var(--white);
    font-size: 1.14em;
    line-height: 125%;
  }
  a.close-btn{
    text-indent: -9999px;
    font-size: 0;
    line-height: 0;
    width: 30px;
    height: 30px;
    position: relative;
  }
  a.close-btn:before,
  a.close-btn:after{
    content: '';
    width: 22px;
    height: 2px;
    background-color: var(--white);
    position: absolute;
    top: 50%;
    left: 50%;
    transition: background-color .3s;
  }
  a.close-btn:before{
    transform: translate(-50%, -50%) rotate(-45deg);
  }
  a.close-btn:after{
    transform: translate(-50%, -50%) rotate(45deg);
  }
  a.close-btn:hover:before,
  a.close-btn:hover:after{
    background-color: var(--light-black);
  }

  #headerZone {
    width: 100%;
    position: relative;
    overflow: hidden;
  }

  .headerWrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2.14em;
    border-bottom: 1px solid var(--primary-grey);
    height: 80px;
    column-gap: 20px;
    transition: height .3s;
  }

  #logoWrap {
    flex: 1 1 auto;
  }

  #logoWrap a {
    font-size: 2.85em;
    line-height: 100%;
    color: var(--primary-orange);
  }

  header .common-btn{
  position: relative;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 20px;
  line-height: 145%;
  color: var(--primary-orange);
  text-align: center;
  font-weight: 700;
  background-color: var(--white);
  border: 2px solid var(--primary-orange);
}

header .common-btn:hover {
  background-color: var(--primary-orange);
  color: var(--white);
}

header #search-wrap{
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  background-color: var(--white);
  z-index: 2000;
  height: 100%;
  width: 100%;
  padding: 10px 1.42em 10px 2.14em;
  display: grid;
  align-items: center;
  column-gap: 10px;
  opacity: 0;
  grid-template-columns: auto 50px;
  border-bottom: 1px solid var(--primary-orange);
  transition: opacity .5s;
}
header #search-wrap.active{
  pointer-events: inherit;
  opacity: 1;
}
header #search-wrap .input-wrap{
  position: relative;
}
header #search-wrap .input-wrap input{
  width: 100%;
  display: block;
  position: relative;
  z-index: 1;
  line-height: 122%;
  font-size: 1.28em;
}
header #search-wrap .input-wrap a{
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  z-index: 2;
}
header #search-wrap .close-btn{
  width: 50px;
  height: 100%;
}
header #search-wrap .close-btn:before,
header #search-wrap .close-btn:after{
  background-color: var(--light-black);
}
header #search-wrap .close-btn:hover:before,
header #search-wrap .close-btn:hover:after{
  background-color: var(--primary-orange);
}


  #mmenuCtrl {
    display: none;
    width: 64px;
    height: 100%;
  }

  #mmenuCtrl a {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
  }

  #mmenuCtrl.active {
    background-color: var(--primary-grey);
    margin-left: 10px;
  }

  #mmenuCtrl a>span {
    display: block;
    width: 42px;
    height: 42px;
  }

  #mmenuCtrl a>span {
    text-indent: -9999px;
    color: #000;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--light-black);
  }

  #mmenuCtrl a>span:before,
  #mmenuCtrl a>span:after {
    content: "";
    height: 2px;
    width: 28px;
    background-color: var(--light-black);
    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: var(--white);
  }

  #mmenuCtrl a>span:before {
    top: -8px;
  }

  #mmenuCtrl a>span:after {
    top: 8px;
  }

  #mmenuCtrl:hover span,
  #mmenuCtrl:hover span:before,
  #mmenuCtrl:hover span:after,
  #mmenuCtrl.focus span,
  #mmenuCtrl.focus span:before,
  #mmenuCtrl.focus span:after {
    width: 24px;
  }

  #mmenuCtrl.active a>span {
    background: transparent;
    width: 24px;
  }

  #mmenuCtrl.active a>span:before,
  #mmenuCtrl.active a>span:after {
    top: 0;
    width: 24px;
    background-color: var(--white);
  }

  #mmenuCtrl.active a>span:before {
    transform: rotate(45deg);
  }

  #mmenuCtrl.active a>span:after {
    transform: rotate(-45deg);
  }

  #topNavWrap {
    display: flex;
    column-gap: 15px;
    justify-content: right;
    align-items: center;
  }

  .search-btn,
	.logout-btn  {
    text-indent: -9999px;
    font-size: 0;
    line-height: 0;
    position: relative;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;   
    transition: width .3s, height .3s;
  }
  .search-btn span,
  .logout-btn span{    
    -webkit-mask: var(--svg);
    mask: var(--svg);
    width: 30px;
    height: 30px;
    background-color: var(--light-black);
    transition: width .3s, height .3s, background-color .3s;
  }
   .search-btn span{
	   --svg: url(../images/icon-search.svg);
   }
  .logout-btn span{
    --svg: url(../images/icon-logout.svg);
  }
  .search-btn:hover span,
  .logout-btn:hover span{
    background-color: var(--primary-orange);
  }
  #mobileMenu .logout-btn{
	  display: inline-block;
		vertical-align: middle;
  }
  #mobileMenu .logout-btn span{
	  display: block;
  }
	
  #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 {
    border-bottom: 1px solid rgba(255, 255, 255, 1);
  }

  #toolSearch .searchForm .btnSearch {
    position: absolute;
    text-align: left;
    width: 22px;
    height: 100%;
    color: var(--white);
    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: var(--white);
  }

  #toolSearch .searchForm .advSearch a:hover {
    text-decoration: underline;
  }


  #mainZone {
    position: relative;
    background: var(--white);
    min-height: calc(100vh - 161px);
  }

  #footerZone {
    border-top: 1px solid var(--primary-grey);
  }

  #footerMain {
    display: grid;
    justify-content: space-between;
    grid-template-columns: auto 140px;
    align-items: center;
    min-height: 80px;
    padding: 1em 2.14em;
    column-gap: 10px;
    color: var(--black);
    font-size: 0.85em;
    line-height: 133%;
  }

  /*mobile menu css starts*/
  #mobileBgLayer {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.5;
    z-index: 998;
    left: 0;
    top: 0;
  }

  #mobileNavWrap {
    position: fixed;
    width: 100%;
    height: 100%;
    top: -100%;
    opacity: 1;
    z-index: 999;
    display: none;
    background: rgba(208, 208, 206, 0.8);
    transition: top 0.5s ease 0s;
  }

  .showMMenu #mobileNavWrap {
    display: block;
  }

  #mobileNavWrap.show {
    top: 0;
  }

  #mobileNav {
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    height: 100%;
  }

  #mobileMenu {
    display: block;
    background-color: var(--white);
    min-height: calc(100% - 64px);
    padding-left: 1.785em;
    padding-right: 1.785em;
    padding-bottom: 1.785em;
  }

  a#mmenuClose {
    width: 64px;
    height: 64px;
    text-indent: -9999px;
    font-size: 0;
    line-height: 0;
    background-color: var(--white);
    display: block;
    position: relative;
  }
  a#mmenuClose:before,
  a#mmenuClose:after{
    content: '';
    width: 28px;
    height: 2px;
    background-color: var(--primary-orange);
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: 0 0;
    transition: background-color .3s;
  }
  a#mmenuClose:before{
    transform: rotate(-45deg) translate(-50%, -50%);
  }
  a#mmenuClose:after{
    transform: rotate(45deg) translate(-50%, -50%);
  }
  a#mmenuClose:hover:before,
  a#mmenuClose:hover:after{
    background-color: var(--light-black);
  }

  #mobileMenu p{
    font-size: 1.28em;
    line-height: 122%;
    margin-bottom: 1em;
  }
  #mobileMenu p.account-details{
    margin-top: 1em;
  }
  #mobileMenu p:not(.account-details){
    color: var(--primary-orange);
  }
  #mobileMenu a.common-btn{
    font-size: 1.142em;
    line-height: 125%;
    padding: 8px 20px;
    border-radius: 25px;    
    font-weight: 700;
    height: 40px;
    width: 100%;
    max-width: 165px;
    margin-bottom: 2.4em;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #mobileMenu > a.common-btn{
    border: 1px solid var(--primary-orange);
    color: var(--primary-orange);
  }
  #mobileMenu > a.common-btn:hover{
    background-color: var(--primary-orange);
    color: var(--white);
  }
  #mobileMenu a.sino-logo{
    width: 160px;
    display: block;
  }


  /*mobile menu css ends*/
  #backToTop {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 45px;
    height: 45px;
    opacity: 0;
    z-index: 1000;
    text-indent: -9999px;
    color: var(--primary-grey);
    background-color: var(--secondary-light);
    visibility: hidden;
    border-radius: 50%;
    transition: background-color 0.5s ease 0s, opacity 0.3s ease 0s, width 0.3s ease 0s, height 0.3s ease 0s;
  }

  #backToTop:hover,
  #backToTop.focus {
    background-color: var(--primary-grey);
    color: var(--secondary-light);
  }

  #backToTop:before {
    content: "";
    height: 14px;
    width: 14px;
    display: block;
    border: 2px solid currentColor;
    border-left-width: 0;
    border-bottom-width: 0;
    transform-origin: left top;
    transform: rotate(-45deg) translate(-50%, -50%);
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: 4px;
    transition: border-color 0.3s ease 0s;
  }

  #backToTop.fixed {
    position: absolute;
    bottom: 20px;
  }

  #backToTop.active {
    opacity: 1;
    visibility: visible;
  }

  #wrapper.showMMenu #backToTop {
    visibility: hidden;
  }

  /*inside*/
  #insideVisualWrap {
    height: 200px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 100% auto;
  }

  #insideVisualWrap.loaded {}

  #pageTitle {
    position: relative;
    padding: 0 0 10px;
    margin-bottom: 0.75em;
    font-size: 2.22em;
    color: var(--primary-grey);
    font-weight: 600;
    border-bottom: 4px solid var(--primary-light);
  }

  #contentWrap {
    position: relative;
  }

  #contentWrap.hasLeftNav .container {
    display: flex;
    column-gap: 40px;
  }

  #mainContent {
    width: 100%;
    position: relative;
    min-height: 460px;
    opacity: 0;
	  container: content / inline-size;
    transition: opacity 0.2s ease 0s;
  }

  #contentWrap.shown #mainContent,
  #contentWrap.shown #content {
    opacity: 1;
  }

  #content {
    opacity: 0;
  }
  
  body#content{
	  opacity: 1;
  }
}

/*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;
}