@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap');

/* =====================================
|                 setting               |
=======================================*/

body {
  color: #333333;
  font-family: "Noto Sans TC", "Open Sans", Helvetica, Arial,
    sans-serif;
  font-size: 1rem;
}

body.fixed {
  overflow: hidden;
}

.btn>i {
  margin-right: 6px;
}

input:focus,
select:focus,
button:focus,
.btn:focus,
a:focus,
area:focus,
textarea:focus {
  outline: 2px dotted #0066ff
}

body:focus {
  outline: 2px dotted #0066ff
}

#gotocenter.sr-only-focusable {
  position: absolute;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: -999;
  color: #0e4392;
}

#gotocenter.sr-only-focusable:active,
#gotocenter.sr-only-focusable:focus {
  position: absolute;
  color: #fff;
  background:  #0e4392;;
  top: auto;
  left: calc(50% - 110px);
  width: 220px;
  height: auto;
  margin: 10px auto;
  padding: 0.5rem;
  border-radius: 0.5rem;
  text-align: center;
  font-size: 1rem;
  z-index: 999999;
}

a {
  color: #1859e7;
}

input:focus,
button:focus {
  outline: 2px dotted #0066ff;
}

/* =====================================
|              accesskey                |
=======================================*/

header,
.content,
section,
footer {
  position: relative;
}

a[accesskey] {
  position: absolute;
}

#AU[accesskey] {
  color: #444444;
  left: -1.25rem;
}

#AC[accesskey] {
  color: #ffffff;  
  z-index: 1;

}

#L[accesskey] {
  color: #444;
  left: 0;
}

#B[accesskey] {
  color: #1c1b75;
  top: 10px;
  left: 1.5rem;
}

#AU:focus,
#AC:focus {
  color: #00416f;
}

#B:focus {
  color: #ffffff;
}

/* @media (max-width: 1024px) {
  #AU[accesskey] {
    left: 35%;
  }
} */
@media (max-width: 992px) {
  #AU[accesskey] {
    left: 0%;
  }
}

/* =====================================
            header                
=======================================*/

header {
  border-top: 3px solid #1c1b75;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
  /* position: absolute; */
  background: #fff;
  z-index: 999;
  width: 100%;
}

.navbar {
  padding: 0 1rem ;
}

.navbar h1 {
  margin-bottom: 0;
}

.navbar h1 a {
  display: flex;
  align-items: center;
}

.brand-logo {
  display: inline-block;
  margin-right: 8px;
}

.brand-title p {
  font-size: 1.125rem;
  color: #000;
  margin-bottom: 0.25rem;
}

.brand-title .brand-text {
  font-size: 1.325rem;
  color: #456ab5;
  font-weight: 600;
}

.navbar-collapse {
  flex-direction: column;
  align-items: flex-start;
}

.topnav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-left: auto;
  margin-bottom: 0.75rem;
  gap: 1.5rem;

}

/*---輔助導覽列---*/

.secondarynav {
  margin: 0;
  display: flex;
  align-items: center;
  position: relative;
  gap: .25rem;
}

.secondarynav a {
  /* position: relative; */
  text-decoration: none;
}

.secondarynav .nav-link {
  /* background: #46ad90; */
  padding: 2px 0;
  text-align: center;
}
/* 
.secondarynav a:not(:last-child) {
  margin: 0 2px;
}

.secondarynav a:last-child {
  margin: 0 0 0 4px;
} */

.secondarynav .circle {
  border-radius: 30px;
  width: 30px;
  height: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.secondarynav .nav-link i {
  font-size: 1rem;
  color: #fff;
  text-align: center;
  vertical-align: middle;
}

.secondarynav .icon-text {
  display: none;
}

.secondarynav .icon-search {
  background: #000;
  padding: 4px 7px;
}

.secondarynav .icon-home,
.secondarynav .icon-envelope,
.secondarynav .icon-sitemap {
  background: #46ad90;
  padding: 4px 6px;
}

.secondarynav .icon-envelope {
  padding: 4px 7px;
}

.secondarynav .icon-sitemap {
  padding: 4px 5px;
}

.secondarynav .icon-epa {
  background: #26bcff;
  color: #fff;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.secondarynav .icon-epa>img {
  width: 16px;
  height: 16px;
  margin: 0 3px;
  padding: 0;
}

.secondarynav .icon-lang {
  background: #247ab3;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 5px 5px;
  text-align: center;
}

.secondarynav .nav-link:hover .circle {
  background: #369278;
  border-radius: 30px;
}

.secondarynav .nav-link:hover .icon-epa {
  background: #1ba9eb;
}

.secondarynav .nav-link:hover .icon-lang {
  background: #3735b1;
  border-radius: 30px;
}

.secondarynav .nav-link:hover .icon-search {
  background: #666;
}

/*---search box搜尋---*/
/* .nav-search {
  background: #000;
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  padding: 0.5rem;
  text-decoration: none;
  position: absolute;
  left: 39%;
  margin: 0.375rem 0;
}

.nav-search i {
  font-size: 1rem;
  color: #d5ddf5;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.nav-search:hover,
.nav-search:focus {
  text-decoration: none;
}

.nav-search:focus {
  outline: 2px solid #000;
} */

.search-box {
  /* width: fit-content;
  height: fit-content; */
  position: relative;
  /* display: inline-flex; 
  align-items: center;
  justify-content: center;*/
  margin-right: 0.5rem;
}
/* 
input.form-control {
  margin-right: .5rem;
} */

.input-search {
  border: 1px solid #5c70a0;
  border-radius: 0.25rem;
  padding: 2px 2rem 2px 10px;
  font-size: 0.9375rem;
  transition: all 0.5s ease-in-out;
  background: transparent;
  color: #707070;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  height: auto;
}

.input-search::placeholder {
  color: rgba(92, 92, 92, 0.8);
}

.input-search:focus,
.input-search:active,
.input-search.focus {
  background: transparent;
  color: #7a7a7a;
  border-color: #1975ff;
  box-shadow: 0 0 0 0.2rem rgba(84, 186, 255, 0.45);
}

.search-box .btn-search {
  width: 2rem;
  height: 1.875rem;
  border-color: transparent;
  cursor: pointer;
  border-radius: 0 0.25rem 0.25rem 0;
  position: absolute;
  color: transparent;
  background: #2d3474;
  pointer-events: painted;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  top: 50%;
  right: 0;
  z-index: 2;
  transform: translate(0, -50%);
}

.search-box .btn-search:hover,
.search-box .btn-search:focus {
  background: #444;
}

.search-box .btn-search:focus {
  box-shadow: 0 0 0 0.2rem rgba(74, 173, 255, 0.45);
}

.search-box .btn-search+i,
.search-box .btn-search:hover+i,
.search-box .btn-search:focus+i {
  position: absolute;
  padding: 0.25rem 0.5rem;
  font-size: 1.125rem;
  top: 50%;
  right: 8px;
  color: #fff;
  transform: translate(8px, -50%);
  z-index: 10;
}

.search-box .btn-search:hover+i,
.search-box .btn-search:focus+i {
  color: rgba(255, 255, 255, 0.8);
}

/*---分眾功能---*/

.focus-nav {
  display: inline-flex;
}

.focus-nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  border-radius: 0 0 6px 6px;
  background: #1c1b75;
  color: #fff;
  gap: .5rem;

}
.focus-nav ul li {
  position: relative;
}

/* .focus-nav ul li:not(:last-child) {
  position: relative;
  display: inline-block;
  padding-right: 8px;
} */

.focus-nav ul li:not(:last-child):after {
  display: block;
  content: "|";
  color: rgba(255, 255, 255, 0.6);
  position: absolute;
  right: -.375rem;
  top: 4px;
}

.focus-nav ul li a {
  display: block;
  color: #fff;
  padding: .5rem .75rem;
  position: relative;
  text-decoration: none;
  font-size: 0.9375rem;
  line-height: 1.2;
  white-space: nowrap;
}

.focus-nav ul li a:hover {
  background: #0c6bbb;
  color: #fff;
}

.focus-nav ul li:first-child a:hover {
  border-radius: 0 0 0 6px;
}

.focus-nav ul li:last-child a:hover {
  border-radius: 0 0 6px 0;
}

.focus-nav ul li a.active:first-child {
  border-radius: 0 0 0 6px;
  background: #0c75d8;
  color: #fff;
}

/*---主選單---*/

.primary-nav {
  /* margin:.3125rem auto  0 1.5rem; */
  margin: .3125rem auto 0 10rem;
}

.primary-nav .navbar-nav {
  justify-content: space-around;
  gap:3rem;
  margin:0 0 0 2rem;
}

.primary-nav .navbar-nav .nav-item {
  /* margin: 0 2rem; */
}

.primary-nav .navbar-nav .nav-link {
  padding: 0.75rem 1.5rem 0.5rem;
  font-size: 1.25rem;
  color: #333;
  white-space: nowrap;
  letter-spacing:.5px;
  text-align:center;
  font-weight: 500;
  border-radius: .75rem .75rem 0 0;
}
.primary-nav .navbar-nav .nav-link:hover,
.primary-nav .navbar-nav .nav-link:focus,
.primary-nav .navbar-nav .nav-link:active{
  background: rgb(237 240 244 / 69%);
}

.primary-nav .dropdown-menu {
  position: absolute;
}

.primary-nav .dropdown-menu .dropdown {
  position: relative;
}

.primary-nav .dropdown-menu .dropdown .dropdown-toggle {
  position: relative;
  display: block;
  padding-right: 1.5rem;
}

.primary-nav .dropdown-menu .dropdown .dropdown-toggle:after {
  border: none;
  vertical-align: middle;
  margin-left: 0.375rem;
  position: absolute;
  content: "\f054";
  font-family: "Font Awesome 5 Pro";
  right: 1rem;
  top: 50%;
  transform: translate(0, -50%);
  font-size:.875rem;
}

.primary-nav .dropdown-menu .dropdown-item:hover {
  background: #e1f0ff;
  color: #1c1b75;
  
}

.primary-nav .dropdown-menu .dropdown-menu {
  display: none;
  top: 0;
  left: 100%;
  margin: 0 0 0.5rem 0rem;
  width: auto;
  padding: 0.5rem 0;
}

.primary-nav .dropdown-menu .dropdown-menu li a {
  padding: 0.5rem 0.75rem;
  color: #212529;
  display: block;
}

.primary-nav .dropdown-menu .dropdown-menu {
  margin-bottom: 0;
  opacity: 1;
}

.primary-nav .dropdown-menu .dropdown:hover .dropdown-menu {
  animation: fade-in 0.25s ease-in-out;
  display: block;
}

.primary-nav .dropdown-menu .dropdown:hover .dropdown-menu li a:hover,
.primary-nav .dropdown-menu .dropdown:hover .dropdown-menu li a:focus {
  background: #6f8eff;
  color: #fff;
  text-decoration: none;
}

/*--固定選單--*/

.navFixed {
  z-index: 10;
  position: fixed;
  top: 0;
  left: 0;
  margin-top: 0;
  min-width: 100%;
  opacity: 0.95;
  transition: opacity 0.5s ease-out;
  background: #fff;
  color: #fff;
}
@media (max-width: 1536px) {
  .navbar-collapse {
    margin-right: 0;
  }

  .primary-nav {
    margin: .3125rem 0 0 2.5rem;
  }

  .primary-nav .navbar-nav {
    gap: 1.5rem;
    margin-left: 0;
  }
}
@media (max-width: 1440px) {
  .topnav {
    margin-bottom: 0.25rem;
    gap: .5rem;
  }
  .primary-nav {
    margin: .3125rem 0 0 1.5rem;
  }
 
  .primary-nav .navbar-nav .nav-item .nav-link {
    font-size: 1.125rem;
    padding: 0.75rem 1.25rem 0.5rem 1.25rem;
  }

  .focus-nav ul li a {
    padding: .5rem;
  }

  .search-box .btn-search {
    width: 1.875em;
    height: 1.875rem;
  }

}

@media(max-width:1366px) {
  .navbar{
    padding:0 .75rem;
  }
  .topnav{
    margin-left: 0;
  }
  .search-box {
    margin-right: 0.25rem;
  }
  .primary-nav{
    margin-left: 0;
  }

}
@media(max-width:1280px) {
  .navbar {
    padding:0 0.5rem;
    align-items: stretch;
  }

  .brand-logo {
    width: 54px;
  }
  .brand-title p {
    font-size: 1rem;
    display: flex;
    align-items: center;
  }

  .brand-title p .sys-title {
    margin-left: 0.25rem;
    font-size:.875rem;
  }

  .brand-title .brand-text {
    font-size: 1.125rem;
  }
.topnav{
  margin: 0;
}
  .secondarynav {
    margin:0;
  }
  .focus-nav {
    margin-right: 0;
  }

  .focus-nav ul li a {
    padding:.625rem .375rem;
    font-size:.875rem;
  }
  .primary-nav {
    margin: 0;
    position: absolute;
    top: 64px;
    background: #1c1b75;
    left: 0;
    right: 0;
  }
  .primary-nav .navbar-nav .nav-item {
    margin: 0;
  }
  .primary-nav .navbar-nav .nav-item .nav-link {
    font-size: 1.125rem;
    padding: 0.75rem 1.25rem 0.5rem 1.25rem;
    color: #fffbd3;
  }
  .primary-nav .navbar-nav .nav-link:hover,
.primary-nav .navbar-nav .nav-link:focus,
.primary-nav .navbar-nav .nav-link:active{
  background: rgb(94 65 186 / 69%);
  border-radius:0;
}
  .en .nav-container .primary-nav{
    top: 71px;
  }
  .en .nav-container.show .primary-nav{
    top: 0px;
  }
}
@media (max-width: 1024px) {
  .navbar-expand-lg .navbar-toggler {
    display: block;
  }

  .navbar {
    padding: 0 0.5rem;
    align-items:center;
  }

  .navbar-brand {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .navbar-toggler {
    padding: 0.5rem 0.75rem;
    border: none;
    color: #3735b1 !important;
    margin-right: 0.5rem;
  }

  .navbar-toggler .navbar-toggler-icon {
    width: 1.5rem;
    height: 1.5rem;
  }

  .brand-logo {
    width: 54px;
  }

  .brand-title p {
    font-size: 1.0375rem;
  }

  .brand-title .brand-text {
    font-size: 1.25rem;
  }

  .nav-container {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    width: 100%;
    /* height: 100%; */
    z-index: 10;
    overflow-y: auto;
    visibility: hidden;
    transition: bottom 0.2s ease-in, visibility 0.2s ease-in;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0.5rem 0;
  }

  .nav-container.show {
    visibility: visible;
    bottom: 0;
  }

  .navbar-light .navbar-nav .active>.nav-link,
  .navbar-light .navbar-nav .nav-link.active,
  .navbar-light .navbar-nav .nav-link.show,
  .navbar-light .navbar-nav .show>.nav-link {
    color: #1ba9eb;
  }

  .navbar-collapse {
    margin-right: 0;
    padding: .625rem 0;
    background: #0e5fb1;
  }


  /*---主選單---*/

  .primary-nav {
    position: relative;
    top: 0;
    order: 1;
    width: 100%;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    padding: 0 1.5rem 0.5rem;
  }

  .primary-nav .navbar-nav {
    flex-direction: column;
    margin: 0;
  }

  .primary-nav .navbar-nav .nav-item {
    margin: 0;
  }

  .primary-nav .navbar-nav .nav-item .nav-link {
    color: #fff;
    padding: 0.5rem 0.5rem;
    font-size: 1.125rem;
    position: relative;
    text-align: left;
  }

  .primary-nav .navbar-nav .nav-link:hover,
  .primary-nav .navbar-nav .nav-link:focus {
    color: rgb(246 250 252 / 86%);
    border-radius:.25rem;
  }
  .primary-nav .navbar-nav .nav-link:hover,
  .primary-nav .navbar-nav .nav-link:focus,
  .primary-nav .navbar-nav .nav-link:active{
    background:  rgb(80 153 227 / 54%);
  }
  .primary-nav .dropdown-menu {
    position: relative;
    border: none;
    border-radius: 0;
    background: transparent;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    margin-left: 1rem;
    margin-top: 0;
    padding: 0.25rem 0 0.5rem;
    /* display: block; */
  }

  .primary-nav .dropdown-menu.show {
    position: relative;
  }

  .primary-nav .dropdown-toggle:after {
    border: none;
    vertical-align: 0;
    margin-left: 0;
    position: absolute;
    content: "\f054";
    font-family: "Font Awesome 5 Pro";
    right: 1rem;
    transition: all 0.3s ease-in-out;
  }

  .primary-nav .dropdown.show .dropdown-toggle:after {
    top: inherit;
    transform: rotate(90deg);
  }

  .primary-nav .dropdown-menu .dropdown .dropdown-toggle:after {
    content: "";
  }

  .primary-nav .dropdown-menu .dropdown-item {
    color: #deeeff;
    padding: 0.25rem 1rem;
    white-space: normal;
  }

  .primary-nav .dropdown-menu .dropdown-menu {
    display: block;
    left: 1.5rem;
    padding: 0.25rem 0;
    position: relative;
    width: calc(100%  - 1.5rem);
  }

  .primary-nav .dropdown-menu .dropdown-menu li a {
    padding: 0.25rem 0.75rem;
    color: #b4defe;
  }

  .topnav {
    order: 2;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0;
  }

  /*---輔助導覽列---*/
  .secondarynav {
    order: 1;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    width: 100%;
    padding: 1rem 1.5rem 1rem;
  }

  .secondarynav .nav-link {
    white-space: nowrap;
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 0.9375rem;
    padding: 0;
  }

  .secondarynav a:not(:last-child) {
    margin: 0.25rem 0;
  }

  .secondarynav .circle {
    margin-right: 6px;
    text-align: center;
  }
  .search-box,
  .keyword-wrap {
    width: 100%;
  }
  .search-box .input-search {
    padding:.3125rem 2.25rem .3125rem 1.25rem;
    background: #ffffff;
    border-color:transparent;
  }
  .search-box .btn-search {
    background: #409ff9;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    padding: .375rem !important
  }

  .keyword-wrap {
    padding: .3rem 0 .5rem;
    color:#fff !important;
  }

  .keyword-wrap font {
    color: #ffffff;
  }

  .keyword-wrap .tags {
    color: #fffcc3
  }


  /* 小圖示選單 */
  .secondarynav .nav-link:not(.nav-search) .icon-text {
    display: block;
  }
  .secondarynav .icon-home {
    padding: 1px 6px;
  }

  .secondarynav .icon-envelope {
    padding: 2px 6px;
  }

  .secondarynav .icon-sitemap {
    padding: 0 5px;
  }

  .secondarynav a:last-child {
    margin: 0;
  }

  /*---分眾功能---*/
  .focus-nav {
    flex-direction: column;
    order: 2;
    margin-right: 0;
    width: 100%;
    padding: 0.5rem 1.5rem 0;
  }

  .focus-nav ul {
    background: transparent;
    margin: 0;
    border-radius: 0;
    justify-content: flex-start;
    gap:.25rem;
  }

  .focus-nav ul li {
    margin: 0.25rem 0;
    padding-right: 0;
  }

  .focus-nav ul li:not(:last-child) {
    display: block;
    padding-right: 0;
  }

  .focus-nav ul li:not(:last-child):after {
    content: "";
  }

  .focus-nav ul li a {
    font-size: 1rem;
    padding: 6px 1.25rem;
    color: rgba(255, 255, 255, 0.75);
  }

  .focus-nav ul li a.active:first-child {
    border-radius: 0.25rem;
    background: #2495ff;
  }
  .en .nav-container{
    top:83px;
  }
}

@media (max-width: 992px) {
  header {
    height: inherit;
    left: 0;
    top: 0;
    right: 0;
    width: 100%;
  }

  .navbar {
    padding: 0.5rem 1rem;
    justify-content: flex-start;
    align-items: center;
  }

  .navbar-brand {
    padding-top: 0.3125rem;
    padding-bottom: 0.3125rem;
  }
  .nav-container{
    top:83px;
  }
    .en .nav-container{
    top:93px;
  }
}

@media (max-width: 540px) {
  .navbar-toggler{
    padding: .5rem .5rem;
  }
  .primary-nav {
    padding: 0 1.25rem 0.5rem;
  }

  .primary-nav .navbar-nav .nav-item .nav-link {
    padding: 0.375rem 0;
    font-size:1rem;
  }

  .focus-nav {
    padding: 0.5rem 0;
  }

  .focus-nav ul {
    flex-direction: column;
  }

  .focus-nav ul li {
    margin: 0;
  }

  .focus-nav ul li a {
    padding: 0.25rem 1.5rem;
    border-radius: 0;
    font-size: .9375rem;
  }

  .focus-nav ul li a.active:first-child {
    border-radius: 0;
  }

  .secondarynav {
    padding: .625rem 1.25rem;
  }
  /*英文版*/
  .en .brand-title p {
    font-size: 0.7rem;
  }
  .en .brand-title .brand-text {
    font-size: 0.7rem;
  }
    .en .nav-container{
    top:80px;
  }
}

@media (max-width: 420px) {
  .navbar {
    padding: 0.5rem;
  }

  .brand-logo {
    width: 45px;
  }

  .brand-title p {
    font-size: 1rem;
  }

  .brand-title .brand-text {
    font-size: 1.125rem;
  }

  .nav-container, .en .nav-container {
    top: 71px;
  }
}


@media (max-width: 360px) {
  .navbar-toggler {
    margin-right: 0.35rem;
  }


  .navbar-brand {
    margin-right: 0.5rem;
  }

  .brand-title p {
    line-height: 1.5;
  }

  .brand-title .brand-text {
    font-size: 1.075rem;
  }
    /*英文版*/
  .en .brand-title p {
    font-size: 0.6rem;
  }
  .en .brand-title .brand-text {
    font-size: 0.6rem;
  }
}

/* ===============================
            首頁main
================================*/
.hp {
  position: relative;
}

/* ===============================
            banner
================================*/
.hp-banner {
  display: block;
  overflow: hidden;
}

.hp-banner>img {
  display: block;
  width: 100%;
}

/* ===================================
          便民服務hp-service
====================================*/

.hp-service {
  padding: 100px 240px;
  background: #546ede url("../images/bg-service.svg") center top no-repeat;
  background-size: cover;
  overflow: hidden;
}

.hp-service:before {
  position: absolute;
  content: "";
  background: #546ede;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hp-heading {
  padding: 1.5rem 0 2rem 0;
  text-align: center;
}

.hp-heading>h2 {
  font-size: 1.75rem;
  margin-bottom: 0;
  letter-spacing: 2px;
  color: #fff;
}

.service-list {
  margin: 0 auto;
}

.service-list ul {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap:4rem;
}

.service-list ul li {
  flex:1;
}

.service-list ul li .service-item {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.2s ease-in-out;
}

.service-item .item-img {
  background: #fff;
  border-radius: 100%;
  padding: 40px;
  margin-bottom: 1.5rem;
  width: 200px;
  height: 200px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.service-item .item-img>img {
  display: block;
  margin: auto;
  width: 100%;
}

.service-item .item-control>img {
  width: auto;
  height: 100%;
}

.service-item .item-title {
  font-size: 1.25rem;
  color: #fff;
  background: transparent;
  letter-spacing: 0.5px;
  text-decoration: none;
  text-align: center;
  width: 100%;
}

.service-list ul li .service-item:hover,
.service-list ul li .service-item:focus {
  transform: scale(1.05) !important;
  text-decoration: none;
}

.service-list ul li .service-item:hover .item-img,
.service-list ul li .service-item:focus .item-img {
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
}

.service-list ul li .service-item:hover .item-title,
.service-list ul li .service-item:focus .item-title {
  text-decoration: none;
  color: #ffdb5c;
}

@media (max-width: 1536px) {
  .primary-nav .navbar-nav{
    gap:2rem
  }
  .hp-service {
    padding: 100px 165px;
    background: url("../images/bg-service.svg") center top no-repeat;
    background-size: cover;
  }

  .hp-service:before {
    position: absolute;
    content: "";
    background: #546ede;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }
}

@media (max-width: 1440px) {
  .hp-service {
    padding: 100px 110px;
  }
}

@media (max-width: 1366px) {
  .hp-service {
    padding: 100px 80px;
  }

  .service-item .item-img {
    width: 180px;
    height: 180px;
    padding: 2.25rem;
    margin-bottom: 1.125rem;
  }

  .service-item .item-title {
    font-size: 1.125rem;
  }
}

@media (max-width: 1024px) {
  .primary-nav .navbar-nav{
    gap:0;
  }
  .hp-service {
    padding:80px 60px;
    background-position: right 20% top;
  }
  .service-list ul{
    gap:2rem;
  }
  .service-list ul li {
    padding: 0;
    width: 180px;
  }

  .service-item .item-title {
    font-size: 1.25rem;
    letter-spacing: 0;
    padding: 0 1.5rem;
  }
}

@media (max-width: 992px) {
  .hp-service {
    padding: 40px 40px 1.75rem;
  }

  .service-list ul {
    flex-wrap: wrap;
    gap:2rem;
  }

  .service-list ul li {
  flex: 1 1 calc(50% - 2rem);
  }


  .hp-service .hp-heading {
    padding: 0 0 1.5rem 0;
  }

  .service-item .item-img {
    width: 150px;
    height: 150px;
    padding: 1.75rem;
  }
}

@media (max-width: 540px) {
  .hp-service {
    padding: 60px 40px;
  }

  .service-list ul {
    flex-direction: column;
    flex: inherit;
  }

  .service-list ul li {
    margin: 0;
    width: 100%;
    padding: 0;
  }

  .service-list ul li:first-child {
    margin: 0;
  }

  .service-list ul li .service-item {
    flex-direction: row;
    width: 100%;
    margin-bottom: 1.25rem;
    background: #2c00b0;
    border-radius: 80px;
    border: 3px solid #2c00b0;
    justify-content: flex-start;
  }

  .service-item .item-img {
    width: 72px;
    height: 72px;
    padding: 16px;
    margin-bottom: 0;
    margin-right: 0.75rem;
  }

  .service-item .item-title {
    text-align: inherit;
    padding: 0.25rem 0;
    width: calc(100% - 72px - 1.5rem);
  }
}

@media (max-width: 420px) {
  .hp-service {
    padding: 40px 1.5rem 40px;
  }

  .service-list ul li .service-item {
    margin-bottom: 0.75rem;
  }

  .service-item .item-img {
    width: 60px;
    height: 60px;
    padding: 0.5rem;
  }

  .service-item .item-title {
    font-size: 1rem;
  }
}

@media (max-width: 360px) {
  /* .hp-service:after {
    font-size: 2.75rem;
  } */
}

/* ===================================
          最新消息+影片hp-newsvideo
====================================*/

.hp-newsvideo {
  padding: 80px 120px;
  overflow: hidden;
}

.hp-newsvideo>.container {
  max-width: 1320px;
}

.hp-news {
  margin: 0 4rem 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hp-news-title {
  border-bottom: 4px solid #80b274;
  padding: 1.875rem 0 0.5rem 1.5rem;
  overflow: hidden;
  position: relative;
  margin-bottom: 0;
}

.hp-news-title:before {
  content: "news";
  color: rgba(242, 242, 242, 0.5);
  text-transform: uppercase;
  position: absolute;
  left: 10px;
  top: -2rem;
  font-size: 76px;
  z-index: -1;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 5px;
}

.hp-news-title>h4 {
  margin-bottom: 0;
  font-size: 1.75rem;
  font-weight: 500;
  color: #3d3d3d;
  letter-spacing: 2px;
}

.hp-news-cont {
  padding: 1.5rem 1.25rem 1rem 1.25rem;
  margin-bottom: 1rem;
}

.hp-news-cont ul {
  list-style: none;
  margin-bottom: 0;
}

.hp-news-cont ul li {
  border-bottom: 1px dashed #b9b9b9;
  margin-bottom: 12px;
}

.hp-news-cont ul li a,
.hp-news-cont ul li a:hover {
  text-decoration: none;
}

.hp-news-cont ul li a:focus,
.hp-news-cont ul li a:active {
  outline: 2px dotted #0066ff;
}

.hp-news-item {
  padding: 1.25rem 8px 1rem 8px;
  display: flex;
  align-items: flex-start;
  color: #0d0d0d;
  font-size: 1.125rem;
  text-decoration: none;
}

.hp-news-item:hover,
.hp-news-item:focus {
  background: #f6fbf4;
  text-decoration: none;
  outline: 2px dotted #0066ff;
}

.hp-news-cont ul li a:focus .hp-news-item {
  outline: 2px dotted #0066ff;

}

.badge-top {
  /* background: #ffa200; */
  background: #be5a04;
  color: #fff;
  font-size: 0.875rem;
  border-radius: 4px;
  padding: 0.25rem 0.75rem;
  margin-right: 8px;
}

.hp-news-item .date {
  color: #327f26;
  font-size: 1rem;
  display: inline-flex;
  margin-right: 2rem;
  padding: 3px 0;
}

.hp-news .btn-more {
  background: #328739;
  border-radius: 6px;
  text-align: center;
  color: #fff;
  text-decoration: none;
  margin: 0.5rem auto 1rem;
  padding: 0.75rem 4rem;
  font-size: 1.125rem;
  position: relative;
  z-index: 1;
}

/* .hp-news .btn-more:hover{
  background: #57b95f;
} */

.hp-news .btn-more:after {
  position: absolute;
  content: "";
  width: 100%;
  height: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  border-radius: 5px;
  background-color: #6ece42;
  background-image: linear-gradient(315deg, #6ece42 0%, #85ce63 74%);
  box-shadow: -7px -7px 20px 0px #fff9, -4px -4px 5px 0px #fff9,
    7px 7px 20px 0px #0002, 4px 4px 5px 0px #0001;
  transition: all 0.3s ease;
}

.hp-news .btn-more:hover {
  color: #fff;
}

.hp-news .btn-more:hover:after {
  top: 0;
  height: 100%;
}

.hp-news .btn-more:active {
  top: 2px;
}

.hp-news-item:hover .items-title {
  color: #328739;
}

/*影音專區*/

.hp-video {
  position: relative;
  background: url("../images/img-video-pat.svg") left top no-repeat;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 0 auto;
  width: 480px;
  background-size: cover;
}

.hp-video:before {
  position: absolute;
  /* background: #74b4d5; */
  background: #4db0cd;
  content: "";
  z-index: -1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.hp-video-inner {
  background: #fff;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hp-video-title {
  padding: 1.875rem 0 0.5rem 1.5rem;
  overflow: hidden;
  position: relative;
  margin-bottom: 0;
  z-index: 1;
}

.hp-video-title:before {
  content: "video";
  color: rgba(242, 242, 242, 0.5);
  text-transform: uppercase;
  position: absolute;
  left: 10px;
  top: -2.5rem;
  z-index: -1;
  font-size: 76px;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 5px;
}

.hp-video-title>h4 {
  margin-bottom: 0;
  font-size: 1.75rem;
  font-weight: 500;
  color: #3d3d3d;
  letter-spacing: 2px;
}

.hp-video-cont {
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.hp-video-cont a>img {
  display: block;
  width: 100%;
}

.video-title {
  padding: 1.25rem 0 0 0;
  color: #212529;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  word-break: break-all;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
.hp-video-cont+p{
  margin-bottom: 0;
}
.hp-video .btn-more {
  background: #117ca2;
  border-radius: 1.875rem 1.875rem 0 0;
  margin: 0.5rem auto 0;
  padding: 1.125rem 4rem;
  color: #fff;
  font-size: 1.125rem;
  z-index: 1;
  position: relative;
}

.hp-video .btn-more:after {
  position: absolute;
  content: "";
  width: 100%;
  height: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  border-radius: 1.875rem 1.875rem 0 0;
  background-color: #42c3e2;
  background-image: linear-gradient(315deg, #1b93b0 0%, #42c3e2 74%);
  box-shadow: inset 1px 1px 1px 0px rgba(255, 255, 255, 0.5),
    7px 7px 20px 0px rgba(0, 0, 0, 0.1), 4px 4px 5px 0px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.hp-video .btn-more:hover {
  color: #fff;
}

.hp-video .btn-more:hover:after {
  top: 0;
  bottom: auto;
  height: 100%;
}

.hp-video .btn-more:active {
  top: 2px;
}

.hp-video-cont a:hover .video-title {
  color: #117ca2;
}

@media (max-width: 1536px) {
  .hp-newsvideo {
    padding: 60px 120px;
  }

  .hp-news {
    margin: 0 3rem 0 0;
  }

  .hp-news-cont {
    margin-bottom: 0.25rem;
  }
}

@media (max-width: 1440px) {
  .hp-newsvideo {
    padding: 60px 120px;
  }

  .hp-news {
    margin: 0 3rem 0 0;
  }

  .hp-news-item {
    padding: 1rem 0.5rem;
  }
}

@media (max-width: 1366px) {
  .hp-newsvideo {
    padding: 60px 80px;
  }

  .hp-news {
    margin: 0 2rem 0 0;
  }

  .hp-video {
    width: inherit;
    margin: 0 auto;
  }
}

@media (max-width: 1024px) {
  .hp-newsvideo {
    padding: 3rem 1.875rem;
  }

  .hp-news {
    margin: 0;
  }

  .hp-news-title {
    padding: 1.25rem 0 0.5rem 1.5rem;
  }

  .hp-news-cont {
    padding: 1rem 1.25rem 0.5rem;
  }

  .hp-news-item {
    align-items: flex-start;
    padding: 0.75rem 0.5rem;
    font-size: 1rem;
  }

  .hp-news-item .date {
    margin-right: 1.25rem;
  }

  .hp-video {
    margin: 0;
  }
}

@media (max-width: 992px) {
  .hp-newsvideo {
    padding: 60px 60px;
  }

  .hp-news {
    margin: 0 0 2rem 0;
  }

  .hp-video {
    margin: 0;
  }
}

@media (max-width: 540px) {
  .hp-newsvideo {
    padding: 40px 1.5rem 60px;
  }

  .hp-news {
    margin: 0 0 2.5rem 0;
  }

  .hp-news-cont {
    padding: 1rem 0.5rem 0.5rem;
  }

  .hp-news-item {
    flex-wrap: wrap;
  }

  .items-title {
    order: 3;
    width: 100%;
  }

  .hp-news .btn-more {
    margin: 0 0 1.5rem 0;
  }

  .hp-video {
    margin: 0 0 2rem 0;
    padding: 1.5rem;
  }

  .hp-video:before {
    border-radius: 0;
  }
}

@media (max-width: 440px) {
  .hp-newsvideo {
    padding: 40px 0.5rem 40px;
  }

  .hp-news {
    margin: 0 0 2rem 0;
  }

  .hp-news-cont {
    padding: 1rem 0;
  }

  .hp-news-item {
    flex-direction: column;
  }

  .hp-news-item .badge-top {
    margin: 0;
    order: 1;
  }

  .hp-news-item .date {
    order: 2;
    margin-right: 0;
  }

  .hp-news-item .items-title {
    order: 3;
  }

  .hp-news-cont ul li {
    margin-bottom: 0.375rem;
  }

  .hp-news .btn-more {
    margin-bottom: 1.25rem;
  }

  .hp-video {
    margin: 0 0 2rem 0;
    padding: 1.25rem;
  }

  .hp-video-title {
    padding-left: 1.25rem;
  }

  .hp-video-cont {
    padding: 1rem 1.25rem;
  }
}

/* ===================================
          生活廢棄物Q&A hp-qa
====================================*/

.hp-qa {
  padding: 80px 120px;
  background: #34419a url("../images/img-hpqa-pat.svg") center top no-repeat;
  position: relative;
  background-size: cover;
  overflow: hidden;
}

.hp-qa::before {
  background: #34419a;
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: -1;
}

.hp-qa-wrap {
  width: 90%;
  margin: 0 auto;
}

.hp-qa-wrap [class*="col-"] {
  padding: 0 2.25rem;
}

.hp-qaitem-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-direction: column;
  padding-bottom: 1.5rem;
  margin-bottom: 1.875rem;
  height: calc(100% - 1.875rem);
}

.box-inner {
  margin-bottom: 1.25rem;
}

.item-heading {
  background: url("../images/mask-qa.png") right top no-repeat;
  background-size: cover;
  padding: 3.5rem 4rem 7.25rem 4rem;
  border-radius: 12px 12px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.item-heading>h3 {
  color: #fff;
  background: #3371d7;
  font-size: 1.5rem;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 0;
  display: inline-block;
  line-height: 2.4;
}

.item-cont {
  padding: 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  font-size: 1.125rem;
}

.item-cont ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.item-cont ul li::before {
  position: absolute;
  content: "\f061";
  font-family: "Font Awesome 5 Pro";
  font-weight: 600;
  left: 0;
  color: #4c6680;
}

.item-cont ul li {
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.item-cont ul li a {
  color: #212529;
}

.item-cont ul li a:hover,
.item-cont ul li a:focus {
  transform: translateX(10px);
  color: #3371d7;
}

.item-cont ul li:hover::before {
  color: #3371d7;
}

.item-cont ul li:hover {
  transform: translateX(10px);
}

.box-footer {
  text-align: center;
  padding: 1rem 0;
}

.hp-qaitem-box .btn-more {
  padding: 1rem 5rem;
  font-size: 1.125rem;
  /* color: #5f8de8; */
  color: #34419a;
  text-transform: capitalize;
  /* border: 3px solid #5f8de8; */
  border: 3px solid #34419a;
  border-radius: 80px;
  width: auto;
  height: 65px;
  margin: 0;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  z-index: 0;
}

.hp-qaitem-box .btn-more:hover {
  color: #fff;
  border-radius: 80px;
}

.hp-qaitem-box .btn-more:hover:after {
  width: 100%;
  border-radius: 80px;
}

.hp-qaitem-box .btn-more:after {
  content: "";
  position: absolute;
  z-index: -1;
  transition: all 0.3s ease;
  right: 0;
  top: 0;
  width: 0;
  height: 100%;
  /* background: #5f8de8; */
  background: #34419a;
  border-radius: 80px;
}

@media (max-width: 1536px) {
  .hp-qa {
    padding: 80px 100px;
  }

  .hp-qa-wrap {
    width: 100%;
  }

  .hp-qa-wrap [class*="col-"] {
    padding: 0 1.5rem;
  }
}

@media (max-width: 1440px) {
  .hp-qa {
    padding: 60px 80px;
    background: url("../images/img-hpqa-pat.svg") left 20% top no-repeat;
  }

  .item-cont {
    padding: 1.5rem 2.25rem;
  }
}

@media (max-width: 1366px) {
  .hp-qaitem-box {
    margin: 0;
  }
}

@media (max-width: 1024px) {
  .hp-qa {
    padding: 60px 40px;
    background: url("../images/img-hpqa-pat.svg") left 50% top no-repeat;
  }

  .hp-qa-heading {
    padding: 1.875rem 0 1.5rem 0;
  }

  .hp-qa-wrap [class*="col-"] {
    padding: 0 15px;
  }

  .item-cont {
    padding: 1rem 1.5rem 0;
  }
}

@media (max-width: 992px) {
  .hp-qa {
    padding: 60px;
    background: url("../images/img-hpqa-pat.svg") right 20% top no-repeat;
  }

  .hp-qa-wrap {
    margin-bottom: 1.5rem;
  }

  .hp-qa-wrap [class*="col-"] {
    padding: 0 2rem;
  }

  .hp-qaitem-box {
    margin-bottom: 2rem;
    height: calc(100% - 2rem);
  }

  .hp-qa-heading {
    padding: 1.5rem 0 2rem 0;
  }

  .item-heading {
    background-position: center bottom;
    background-size: cover;
    padding: 3.5rem 4rem 9.25rem 4rem;
  }

  .item-cont {
    padding: 1.5rem 2.5rem 0;
  }
}

@media (max-width: 540px) {
  .hp-qa {
    padding: 40px 1.5rem 60px;
    background: url("../images/img-hpqa-pat.svg") right 30% top no-repeat;
  }

  .hp-qa-heading {
    padding: 1.5rem 0 2rem 0;
  }

  .item-heading {
    background-size: cover;
    padding: 3.5rem 4rem 6.25rem 4rem;
  }

  .item-cont {
    padding: 1.5rem 2rem 0;
  }
}

@media (max-width: 440px) {
  .hp-qa {
    padding: 60px 1.875rem;
    background: url("../images/img-hpqa-pat.svg") right 30% top no-repeat;
  }

  .hp-qa-heading {
    padding: 1.5rem 0 2rem 0;
  }

  .hp-qa-wrap [class*="col-"] {
    padding: 0;
  }

  .item-heading {
    background-position: right 20% bottom;
    background-size: cover;
    padding: 3.5rem 4rem 6.25rem 4rem;
  }

  .item-cont {
    padding: 1.5rem 2rem 0;
  }
}

/* ===================================
          相關連結 hp-link
====================================*/

.hp-link {
  padding: 60px 0;
  background: #f6f9fd;
  overflow: hidden;
}

.link-slider {
  position: relative;
  margin: 2.5rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.link-slider .swiper-link.swiper-container {
  position: relative;
  background: transparent;
  width: 80%;
}

.link-slider .swiper-link .swiper-wrapper {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
}

.swiper-link .swiper-slide {
  padding: 0;
  background: transparent;
}

.swiper-link .swiper-slide a {
  border: 1px solid #b7c9e0;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease-in-out;
}

.swiper-link .swiper-slide a:hover {
  transform: scale(1.05);
}

.swiper-link .swiper-slide img {
  display: block;
  width: 100%;
}

.link-slider .swiper-button-next,
.link-slider .swiper-button-prev {
  background-image: none;
  width: 80px;
  height: 60px;
  margin: 2px 0;
  top: 50%;
  transform: translateY(-50%);
  background: #8995ad;
  z-index: 2;
}

.link-slider .swiper-button-next {
  left: auto;
  right: -15px;
  border-radius: 100px 0 0 100px;
}

.link-slider .swiper-button-prev {
  left: -15px;
  right: auto;
  border-radius: 0 100px 100px 0;
}

.link-slider .swiper-button-prev:after,
.link-slider .swiper-button-next:after {
  color: #fff;
  font-family: "Font Awesome 5 pro";
  background-image: none;
  display: inline;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.link-slider .swiper-button-prev:after {
  content: "\f053";
}

.link-slider .swiper-button-next:after {
  content: "\f054";
}

@media (max-width: 768px) {
  .link-slider {
    margin: 3rem 0;
  }

  .link-slider .swiper-button-next,
  .link-slider .swiper-button-prev {
    width: 60px;
    height: 60px;
    z-index: 2;
  }

  .link-slider .swiper-button-next {
    right: 0;
  }

  .link-slider .swiper-button-prev {
    left: 0;
  }

  .link-slider .swiper-button-prev:after,
  .link-slider .swiper-button-next:after {
    font-size: 2rem;
  }
}

@media (max-width: 540px) {
  .link-slider {
    margin: 0;
  }

  .link-slider .swiper-link.swiper-container {
    width: 65%;
  }

  .link-slider .swiper-button-next,
  .link-slider .swiper-button-prev {
    background-image: none;
    width: 50px;
    height: 48px;
    margin: 2px 0;
    top: 50%;
    transform: translateY(-50%);
    background: #8995ad;
    z-index: 2;
  }
}

@media (max-width: 440px) {
  .link-slider .swiper-link.swiper-container {
    width: 67%;
  }
}

/* ===================================
          頁尾footer
====================================*/

footer {
  background: #1c1b75;
  color: #fff;
}

footer a {
  color: #fff;
}

.footer-menu {
  padding: 70px 120px;
}

.footer-menu>.container {
  max-width: 1440px;
}

.footer-menu nav {
  margin: 0 auto;
}

.footer-menu nav ul {
  list-style: none;
  margin-bottom: 0;
  padding: 0;
}

.footer-menu nav>ul {
  display: flex;
  justify-content: space-between;
}

.footer-menu nav>ul>li a {
  display: block;
  padding: 0.25rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  font-size: 1.125rem;
  margin: 0;
  transition: all 0.3s ease;
  position: relative;
  z-index: 0;
  color: #fff;
}

.footer-menu nav>ul>li a:hover,
.footer-menu nav>ul>li a:focus {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  border-radius: 6px;
}

.footer-menu nav>ul>li a:hover:after {
  width: 100%;
}

.footer-menu nav>ul>li a:after {
  content: "";
  position: absolute;
  z-index: -1;
  transition: all 0.3s ease;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: #313098;
  border-radius: 6px;
}

.footer-menu nav>ul>li>ul {
  display: block;
  margin: 0;
  padding: 0.5rem 0.5rem 1.25rem;
}

.footer-menu nav>ul>li>ul>li {
  margin-bottom: 0.25rem;
}

.footer-menu nav>ul>li>ul>li a {
  border: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  padding: 0.25rem 0.25rem;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  z-index: 0;
}

.footer-menu nav>ul>li>ul>li a:hover,
.footer-menu nav>ul>li>ul>li a:focus {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-menu nav>ul>li>ul>li a:hover:after {
  width: 100%;
}

.footer-menu nav>ul>li>ul>li a:after {
  content: "";
  position: absolute;
  z-index: -1;
  transition: all 0.3s ease;
  left: 0;
  top: inherit;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #ffd12a;
}

.footer-info {
  padding: 3rem 120px 2rem 120px;
  background: #060550;
  font-size: 1rem;
}

.footer-info>.container {
  max-width: 1440px;
}

.announce {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1.5rem;
}

.announce a {
  position: relative;
  padding: 0.25rem 1.5rem;
}

.announce a:hover {
  color: rgba(255, 255, 255, 0.75);
}

.announce a:not(:last-child):after {
  position: absolute;
  content: "";
  width: 1px;
  height: 50%;
  right: 0;
  background: rgba(255, 255, 255, 0.5);
  top: 50%;
  transform: translateY(-50%);
  bottom: 0.25rem;
  vertical-align: middle;
}

address {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

address a {
  display: block;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}

address a:hover {
  color: #fff;
  text-decoration: none;
}

address a>img {
  margin-bottom: 0.5rem;
}

.footer-title {
  white-space: nowrap;
}

.footer-row p {
  margin-bottom: 0.25rem;
}

.footer-row-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
}

.footer-row-left .icon-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-row-left .icon-media a {
  display: block;
  margin-right: 0;
  line-height: 1;
  padding: 2px 0.25rem;
  border: 1px dashed transparent;
  gap:.5rem
}

.footer-row-left .icon-media a i {
  font-size: 1.75rem;
}

.footer-row-left .icon-media a:hover,
.footer-row-left .icon-media a:focus {
  border: 1px dashed rgba(255, 255, 255, 0.75);
}

.footer-row-left .icon-media a span {
  font-size: 0.9375rem;
}

.footer-browser {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  font-size: 0.9375rem;
  gap: 1.5rem;
}

.footer-browser p {
  text-align: right;
  line-height: 1.4;
}

.footer-browser p span {
  display: block;
}

.updateinfo {
  display: flex;
  align-items: flex-end;
  gap:1.5rem;
}

.updateinfo .label {
  background: transparent !important;
}

.updateinfo span {
  background: #3533a0;
  padding: 0.25rem 0.5rem;
  margin-left: 0.5rem;
  border-radius: 4px;
}

/*置頂-*/

.spytop_fixed {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  font-size: 2.75rem;
  color: #f6f9ff;
  display: none;
}

.btn-spytop span {
  color: #000;
  background: #fff;
}

.spytop_fixed:hover {
  color: rgba(247, 250, 255, 0.5);
}

@media (max-width: 1536px) {
  .footer-info {
    padding: 3rem 100px 2rem;
  }
}

@media (max-width: 1440px) {
  .footer-row {
    padding: 0;
  }
}

@media (max-width: 1366px) {

  .footer-menu,
  .footer-info {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

@media (max-width: 1024px) {
  .footer-info {
    font-size: 0.9375rem;
  }

  .footer-info>.container {
    padding: 0;
  }

  .announce {
    margin-bottom: 0.5rem;
  }

  .announce a {
    padding: 0.25rem 1rem;
  }

  .announce a:first-child {
    padding-left: 0;
  }

  .announce a:last-child {
    padding-right: 0;
  }

  .footer-menu {
    padding: 40px 2.5rem;
  }

  .footer-info {
    padding: 2.5rem;
  }

  .footer-row {
    padding-left: 0;
    align-items: flex-start;
  }

  .footer-row-left>a {
    display: flex;
    align-items: center;
    margin:0 1.5rem .375rem 0;
  }

  .footer-row-left>a img {
    margin-right: 0.5rem;
    margin-bottom: 0;
  }

  .footer-row-left .icon-media a {
    padding: 2px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .footer-row-left .icon-media a span {
    display: block;
  }

  .footer-browser a {
    margin-bottom: 2px !important;
  }

  .updateinfo .visitors,
  .updateinfo .update {
    display: flex;
    align-items: center;
  }


  .updateinfo span {
    margin-left: 0;
  }

  .updateinfo .label {
    padding: 0.25rem 0.75rem 0.25rem 0;
  }
}

@media (max-width: 992px) {

  .announce,
  address,
  .footer-browser {
    justify-content: center;
    width: 100%;
  }

  .footer-menu,
  .footer-info {
    padding: 2rem;
  }

  .footer-menu {
    padding-bottom: 1rem;
  }

  .footer-info {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .footer-menu nav {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .footer-menu nav>ul {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .footer-menu nav>ul>li {
    min-width: calc(100% / 3);
    margin: 0 0 1rem 0;
    padding-right: 2.5rem;
  }

  .footer-menu nav>ul>li:first-child {
    min-width: 32%;
  }

  .footer-menu nav>ul>li:last-child {
    padding-right: 0;
  }

  .footer-row {
    flex-direction: column;
  }

  .footer-browser {
    align-items: flex-start;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.25rem;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 1rem;
  }

  .footer-browser>a {
    order: 3;
    margin-bottom: 0 !important;
  }

  .footer-browser p {
    order: 1;
  }

  .footer-browser .updateinfo {
    order: 2;
    margin-top: 0;
  }

  .footer-browser p span {
    display: inline-block;
  }

  .updateinfo {
    flex-direction: row;
    align-items: center;
  }

  .updateinfo .visitors {
    margin-bottom: 0;
  }

  .updateinfo .label {
    margin-left: 0;
    padding: 0.25rem 0.75rem 0.25rem 0;
  }
}

@media (max-width: 540px) {
  .footer-menu,
  .footer-info {
    padding: 1.5rem 1.5rem;
  }

  .footer-menu {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .footer-menu nav>ul {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .announce {
    white-space: nowrap;
    flex-wrap: wrap;
  }

  .announce a {
    padding: 0.25rem 0.5rem;
  }

  address,
  .footer-row-left>a {
    flex-direction: column;
  }

  .footer-row-left {
    flex-direction: row;
    margin-right: 1rem;
  }

  .footer-row-left>a {
    margin-right: 1rem;
    padding-right: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
  }

  .footer-row-left .icon-media a i {
    font-size: 2rem;
    margin-bottom: 0.25rem;
  }

  .footer-browser {
    align-items: flex-start;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1.25rem 0;
  }

  .footer-browser p {
    text-align: center;
  }

  .footer-browser p span {
    display: inline-block;
  }

  .updateinfo {
    flex-direction: row;
    align-items: center;
  }

  .updateinfo .label {
    margin-left: 0;
    padding: 0.25em;
    margin-right: 0.25rem;
  }

  .updateinfo span {
    padding: 0.25rem 0.5rem;
  }
}

@media (max-width: 440px) {
  .announce {
    white-space: nowrap;
    flex-wrap: wrap;
  }

  .announce a {
    padding: 0.25rem 0.5rem;
    text-align: center;
  }
  .footer-row {
    flex-direction: column;
    padding-left: 0;
  }

  address {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .footer-row-left{
    flex-direction: column;
  }
  address .footer-row-left>a {
    flex-direction: column;
    border-right:none;
    margin:0 ;
  }

  .footer-row-left .icon-media {
    margin-bottom: 0.5rem;
  }

  .footer-row-left .icon-media a {
    flex-direction: row;
  }
  .footer-row-left .icon-media a>i {
    margin-right: 0.75rem;
    margin-bottom: 0;
  }

  .info-address {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 90%;
    margin: 0 auto;
  }

  .footer-browser {
    align-items: flex-start;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1.25rem 0rem;
    flex-direction: column;
    gap:.5rem
  }

  .footer-browser p {
    text-align: left;
  }

  .footer-browser p span {
    display: inline-block;
  }

  .footer-browser .updateinfo, .updateinfo {
    align-items: flex-start;
    margin-bottom: 0.375rem;
    margin-right: 0;
    gap:.5rem;
  }

  .visitors,
  .update {
    display: flex;
    align-items: center;
  }

  .updateinfo .visitors,
  .updateinfo .update {
    margin-bottom: 0.5rem;
  }

  .updateinfo .label {
    text-align: right;
    background: transparent;
    padding: 0.25rem 0.5rem 0.25rem 0;
    margin-left: 0;
    margin-right: 0;
  }

  .updateinfo span {
    padding: 0.25rem 0.5rem;
  }
}

@media (max-width: 390px) {
  .announce a {
    padding: 0.25rem 1rem;
    min-width: inherit !important;
  }

  .updateinfo {
    flex-direction: column;
  }
}

/* ===============================
            內頁
================================*/

.cp-banner {
  background: url("../images/cp-banner.png") left top no-repeat;
  background-size: cover;
  width: 100%;
  overflow: hidden;
}

.cp-banner>img {
  display: block;
  width: 100%;
}

/*---breadcrumb+頁面標題---*/
.jumbotron {
  background: #f2f7fd;
  border-radius: 0 0 120px 120px;
  padding: 1.125rem 10rem 1.5rem 10rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.breadcrumb {
  background: #4f52a0;
  display: flex;
  justify-content: flex-end;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  padding: 0.25rem 1rem;
  margin-left: auto;
  border-radius: 50px;
}

.breadcrumb li {
  position: relative;
  padding: 0;
}

.breadcrumb li:not(:last-child):after {
  position: absolute;
  content: "/";
  right: 0;
  color: rgba(255, 255, 255, 0.25);
}

.breadcrumb li a {
  /* color: rgba(255, 255, 255, 0.5); */
  color: #fff;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.breadcrumb li.active {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  color: #ffd22d;
}

.main-title {
  font-size: 2.25rem;
  color: #6572c5;
  margin-bottom: 0;
  letter-spacing: 2px;
  text-align: center;
}

.cp-wrapper .cp-container {
  max-width: 1440px;
  margin: 0 auto;
}

.cp-container .col-lg-3 {
  flex: inherit;
  max-width: 280px;
}

.cp-container .col-lg-9 {
  max-width: calc(100% - 280px);
  flex: inherit;
}

/*---側選單sidebar ---*/
.sidebar {
  margin-bottom: 1.875rem;
}

.sidebar-header {
  position: relative;
  background: #4964a7 url("../images/sidebar-header-pat.svg") left center no-repeat;
  background-size: cover;
  border-radius: 1.5rem 1.5rem 0 0;
  height: 80px;
  padding: 1.5rem 1.875rem 1.25rem;
  margin-bottom: 4px;
  overflow: hidden;
}

.sidebar-header:before {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  background: #4964a7;
  width: 100%;
  height: 100%;
  border-radius: 1.5rem 1.5rem 0 0;
  z-index: -1;
}

.sidebar-title {
  font-size: 1.3125rem;
  color: #fff;
  margin-bottom: 0;
  line-height: 1.6;
  letter-spacing: 1.5px;
}

.sidebar-body {
  margin-bottom: 4px;
}

.sidebar-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-body ul li {
  position: relative;
  margin-bottom: 1px;
}

.sidebar-body ul li a {
  display: block;
  background: #dfdeee;
  background: -moz-linear-gradient(to right, #cdd3f3 0%, #b3b9e4 80%, #9fa8e7 100%);
  background: -webkit-linear-gradient(to right, #cdd3f3 0%, #b3b9e4 80%, #9fa8e7 100%);
  background: linear-gradient(to right, #cdd3f3 0%, #b3b9e4 80%, #9fa8e7 100%);
   filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#9fa8e7', endColorstr='#cdd3f3 ', GradientType=1);
  color: #0b1660;
  font-size: 1.125rem;
  padding: 0.75rem 1.875rem 11px;
  position: relative;
  transition: all 0.2s linear;
  letter-spacing: 1px;
}

.sidebar-body ul a.collapsible {}

.sidebar-body ul a.collapsible:after {
  content: "\f078";
  font-size: 1rem;
  font-family: "Font Awesome 5 Pro";
  display: inline-block;
  border: none;
  position: absolute;
  right: 15px;
  transition: all 0.3s ease-in-out;
}

.sidebar-body ul a.collapsible.collapsed {}

.sidebar-body ul a.collapsible.collapsed:after {
  /*縮起來時*/
  transform: rotate(-90deg);
}

.sidebar-body ul a.active,
.sidebar-body ul a:hover {
  text-decoration: none;
}

.sidebar-body ul li a:hover {
  background: #636eb5;
  background: -moz-linear-gradient(to right, #a0a9d4 0%, #8088c5 40%, #636eb5 100%);
  background: -webkit-linear-gradient(to right, #a0a9d4 0%, #8088c5 40%, #636eb5 100%);
  background:linear-gradient(to right, #a0a9d4 0%, #8088c5 40%, #636eb5 100%);
  color: #fff;
  text-decoration: none;
  padding-left: 2.5rem;
}

.sidebar-body ul li a:hover:after {
  color: #fff;
}

.sidebar-body ul li a.active {
  background: #5d58ba;
  background: -moz-linear-gradient(to right, #5d58ba 0%, #726ec5 60%, #7d7abd 100%);
  background: -webkit-linear-gradient(to right, #5d58ba 0%, #726ec5 60%, #7d7abd 100%);
  background: linear-gradient(to right, #5d58ba 0%, #726ec5 60%, #7d7abd 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5d58ba', endColorstr='#7d7abd', GradientType=1);
  color: #fff;
  position: relative;
  overflow: hidden;
}


.sidebar-body ul li:has(.sub-nav){
  margin-bottom: 3px;

}
.sidebar-body ul li>ul {
  padding: 0 ;
  position: relative;
  margin-bottom: 0;
}

.sidebar-body ul li>ul li {
  position: relative;
  margin-bottom: 0;
}

.sidebar-body ul li>ul li a {
  font-size: 1rem;
  padding: 0.5rem 1.875rem 0.5rem 2.75rem;
  letter-spacing: 1px;
  position: relative;
  color: #212529;
  background: #edeffb;
  transition: transform 0.3s ease-in-out;
  box-shadow:inset 0 -1px rgba(0,0,0,.08);
}

.sidebar-body ul li>ul li a:hover {
  background:#8c95ce;
  padding-left: 50px;
}
.sidebar-body ul li>ul li a.active{
  background:#7370a8;
  border-top:1px solid rgba(255,255,255,.6);
}
.sidebar-body ul li>ul li a.active:before {
  position: absolute;
  content: "";
  width: 20px;
  height: 2px;
  right: 0;
  background: #fff;
  top: 50%;
  transform: translate(0, -50%);
  box-shadow: inset 1px 1px 1px rgb(120 130 162 / 60%);
}

.sidebar-body ul li>ul li a.active:after {
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  right: 20px;
  background: #fff;
  border-radius: 40px;
  top: 50%;
  transform: translate(0, -50%);
  box-shadow: inset 1px 1px 1px rgb(120 130 162 / 60%);
}

.sidebar-bottom {
  position: relative;
  background: #4964a7 url("../images/sidebar-bottome-pat.svg") center top no-repeat;
  background-size: cover;
  border-radius: 0 0 1.25rem 1.25rem;
  height: 40px;
  overflow: hidden;
}

.sidebar-bottom::before {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  /* background: #6d90c9; */
  background: #4964a7;
  width: 100%;
  height: 100%;
  border-radius: 0 0 1.25rem 1.25rem;
  z-index: -1;
}

/*--頁面主要內容--*/
.page-container {
  margin: 0 0 1.875rem auto;
  padding: 1.5rem;
}

@media (max-width: 1440px) {
  .cp-wrapper .cp-container {
    max-width: 100%;
    padding: 0 60px;
  }
}

@media (max-width: 1366px) {
  .cp-wrapper .cp-container {
    max-width: 100%;
    padding: 0 40px;
  }
}

@media (max-width: 1024px) {
  .cp-wrapper .cp-container {
    max-width: 100%;
    padding: 0 30px;
  }
}

@media (max-width: 768px) {
  .cp-container .col-lg-3 {
    display: none;
  }

  .cp-container .col-lg-9 {
    max-width: 100%;
  }

  .jumbotron {
    padding: 1rem 6rem;
    margin-bottom: 1.5rem;
    border-radius: 0;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 1rem 2rem;
  }

  .breadcrumb {
    order: 2;
    margin-bottom: 0;
  }

  .main-title {
    font-size: 2rem;
  }

  .page-container {
    margin: 0 auto 1.875rem;
    padding: 1.5rem 1.875rem;
  }
}

@media (max-width: 540px) {
  .cp-wrapper .cp-container {
    padding: 0 1.5rem;
  }

  .page-container {
    margin: 0 auto 1.875rem;
    padding: 1.5rem 0;
  }

  .jumbotron {
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .breadcrumb {
    order: 1;
    margin-bottom: 0.25rem;
    padding: 0.25rem 0.5rem;
    justify-content: center;
    margin-left:inherit
  }

  .breadcrumb span {
    display: none;
  }

  .breadcrumb li.active {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .main-title {
    order: 2;
    font-size:1.875rem;
  }
}

/*---2022.11.11 搜尋----*/
.gsc-control-wrapper-cse {
  margin-right: .5rem;
}

.gsc-control-cse.gsc-control-cse-zh-TW {
  padding: 0 .5rem 0 0;
}

table.gsc-search-box td.gsc-input {
  padding-right: .5rem !important;
}

form.gsc-search-box {
  margin-bottom: 0;
}

table.gsc-search-box {
  margin-bottom: 0 !important;
}

.gsc-input-box {
  border-radius: .25rem;
  padding: 0 !important;
  margin-top: .25rem;
  border: none !important;
}

.gstl_50.gsc-input {
  border: none;
  line-height: 1.2;
}

.gsib_a {
  padding: 0 !important;
}

input.gsc-input {
  border: 1px solid #dfe1e5 !important;
  padding: .3125rem 1rem !important;
  border-radius: .25rem;
}

input.gsc-input:focus {
  outline: 2px dashed #0066ff !important;
}

input.gsc-input,
.gsc-input-box,
.gsc-input-box-hover,
.gsc-input-box-focus {
  border-color: #c0c1c3;
}

.gsc-search-button-v2 {
  padding: .375rem .75rem;
  border-radius: .25rem;

}

.finalize .gsc-search-button-v2 svg {
  width: 1rem;
  height: 1rem;
}

.finalize input.gsc-input {
  height: 50px !important;
}

.finalize .gsc-search-button-v2,
.finalize .gsc-search-button-v2:hover,
.finalize .gsc-search-button-v2:focus {
  height: 50px;
  background: #6572c5;
  border-color: #6572c5;
  border-radius: .25rem;

}

/*標題*/
.finalize .gs-webResult.gs-result a.gs-title:link,
.finalize .gs-webResult.gs-result a.gs-title:link b,
.finalize .gs-imageResult a.gs-title:link,
.finalize .gs-imageResult a.gs-title:link b {
  font-size: 1.5rem;
  color: #6572c5;
}

/*路徑*/
.finalize .gs-webResult div.gs-visibleUrl {
  color: #898989 !important;
}

/*說明*/
/* .finalize .gs-webResult:not(.gs-no-results-result):not(.gs-error-result) .gs-snippet,
.finalize .gs-fileFormatType {
  font-size: .9rem;
  color: #626262;
}

.finalize .gsc-webResult.gsc-result {
  padding: 18px 0px;
}

.finalize .gsc-results .gsc-cursor-box {
  margin: 10px auto 20px;
  text-align: center;
}

.finalize .gsc-results .gsc-cursor-box .gsc-cursor-page {
  display: inline-block;
  font-size: 1.125rem;
  font-weight: 400;
  color: #3e3e3e;
  border-radius: 20px;
  width: 1.8em;
  height: 1.8em;
  line-height: 1.8em;
  margin: 5px 2px;
  text-align: center;
}

.finalize .gsc-results .gsc-cursor-box .gsc-cursor-current-page {
  color: #fff;
  background-color: #6572c5;
} */

.keyword-wrap {
display: flex;
align-items: center;
justify-content: flex-start;
flex-wrap: wrap;
font-size:.8125rem;
color:hsl(219, 11%, 45%) !important;
margin:0 1rem 0 0 !important;
gap:.25rem;
}

.keyword-wrap a{
  color:#5564d7;
   text-decoration: underline;
   margin:0;
   padding: 2px 2px;
   /* border-radius: 2px; */
    cursor: pointer;
    line-height: 1.2

}

@media (max-width: 1366px) {
  .keyword-wrap {
    margin:0 .5rem 0 0 !important
  }
}


/* ======================
              英文版
=======================*/
.en.navbar {
  padding: 0rem 1.5rem;
}
.en.navbar-brand{
  width: 440px;
  white-space: normal;
}
.en.brand-title p {
  font-size: 0.8125rem;
  letter-spacing: -0.2px;
  margin-bottom: 0.25rem;
  width:75%;
  line-height:1.2;
  white-space: normal;
}
.en.brand-title .brand-text {
  font-size: 1.25rem;
  letter-spacing: -0.1px;
  font-weight:600;
}
.en.topnav{
  margin-bottom: 0.25rem;
}
.en.secondarynav{
  margin-top: 0.3125rem;
}
.en.primary-nav{
  /* margin:.3125rem auto  0 1.5rem; */
  display: block;
  width:80%;
}
.en .primary-nav .navbar-nav{
  gap:1rem;
}
.en.primary-nav .navbar-nav .nav-item{
  flex: 1 1 auto;
}
.en.primary-nav .navbar-nav .nav-item:first-child{
  min-width:25%;
}
.en.primary-nav .navbar-nav .nav-link{
  text-align:center;
  font-weight: 500;
  border-radius: .75rem .75rem 0 0;
}
.en.primary-nav .navbar-nav .nav-link:hover, 
.en.primary-nav .navbar-nav .nav-link:focus,
.en.primary-nav .navbar-nav .nav-link:active{
  background: rgb(237 240 244 / 69%);
}
.en.primary-nav .navbar-nav .nav-link.active{
  color: #4072d5;
  background: rgb(237 240 244 / 69%);
}
.en.primary-nav .nav-item .dropdown-menu a{
  white-space:normal;

}
/* footer fo english */
.en.announce {
  margin-bottom: 1rem;
}

.enfooter address {
  font-size: 0.9375rem;
  margin-right: 1.5rem;
}
.en.footer-row p{
  letter-spacing: .5px;
}
.en.footer-row-left{
  margin-right:1.5rem;
  width: 25%;
}
.en.footer-row-left a>img{
  margin-bottom: 0.3125rem;
}
.en.footer-title{
  font-size:.875rem;
  white-space: normal;
  margin: 0 auto .25rem;
  line-height: 1.4;
}
.en.footer-title>span{
  display: block;
}
.en.updateinfo span {
  margin: 0;
  line-height:1.4
}

.en.updateinfo .visitors,
.en.updateinfo .update {
  display: flex;
  white-space: nowrap;
}

.en.updateinfo .label {
  padding: 0.25rem 0.3125rem 0.25rem 0;
}
.en.main-title{
  letter-spacing: 0;
}
.en.page-container{
  padding:1.5rem 2.5rem 0;
}
.web-site .card-body {
  padding: 1rem;
}
.web-site .card-body .dropdown-item {
      white-space: normal;
      padding: .25rem .5rem;
}




@media (max-width: 1536px) {
  .en .primary-nav .navbar-nav{
    gap:0
  }

  .en.footer-row {
    flex-direction: column;
  }

  .enfooter address {
    width: 100%;
    margin-right: 0;
  }


  .en.footer-browser {
    flex-direction: row;
    justify-content: flex-start;
    margin-left: 25%;
  }


  .en.footer-browser a {
    margin-bottom: 0 !important;
    order:2;
  }

}
@media (max-width: 1440px) {
  .en.primary-nav{
    width: 100%;
    margin:.3125rem 0 0;
  }
.en.primary-nav .navbar-nav{
  margin: 0;
}

}
@media(max-width:1280px){
  .en.navbar{
    padding:0 .75rem;
  }
  .en.primary-nav .navbar-nav .nav-item{
    margin:0
  }
  .en.secondarynav{
    margin-right: 0;
  }
}
@media (max-width: 1024px) {
  .enheader{
    height: inherit
  }
  .en.navbar{
    padding:.5rem;
  }
  .en.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
  }
  .en.primary-nav .navbar-nav{
    align-items: flex-start;
  }
  .en.nav-container{
    top: 78px;
  }
 
  .en.primary-nav .nav-item{
    margin-bottom:.25rem;
    width: 100%;
  }
  .en.primary-nav .navbar-nav .nav-item:first-child{
    min-width:inherit;
  }
  .en.primary-nav .navbar-nav .nav-link{
    text-align: left;
    border-radius:.75rem;
    padding:.5rem 1.875rem .5rem 1.5rem;
    color:#fff;
    font-size:1rem
  }
  .en.primary-nav .navbar-nav .nav-link.active{
    color:#fff202;
    background:#001f49
  }
.en.primary-nav .dropdown-toggle:after{
  right:.75rem;
}
    .en.footer-row-left>a {
    display: block;
    margin-right:0;
  }
  .enfooter address{
    font-size: .875rem;
  }

  .en.footer-browser{
    width: 100%;
    justify-content: flex-end;
    margin-left: 0;
  }
  /* .en.footer-browser a,
  .en.visitors {
    margin-right: 1.5rem;
  } */

  .en.updateinfo {
    flex-direction: row;
    margin-top: 0;
  }

  .en.visitors {
    margin-bottom: 0;
  }
}

@media (max-width: 992px) {
  .en.navbar {
    align-items: center;
  }
.en.jumbotron{
  flex-direction: column;
  align-items: center;
  
}
.en.breadcrumb{
  order: inherit;
  justify-content: center;
  margin-left: inherit;
}
.en.footer-row-left{
  width:40%;
  margin-right: 1.25rem;
}
.en.footer-browser{
  padding-top: 0.5rem;
  margin-top: 0.75rem;
}
.en.footer-row p{
  letter-spacing: 0;
}
}

@media (max-width: 540px) {
  .en.navbar {
    padding: 0.75rem 0.5rem;
  }
  .en.navbar-light .navbar-toggler {
    margin-right: 5px;
    padding:.25rem .375rem;
  }
  .en.navbar-brand{
    width: 100%;
  }
  .en.brand-logo {
    width: 48px;
  }
  .en.brand-title p{
    font-size:.75rem;
  }
  .en.brand-title .brand-text{
    font-size:1.125rem;
  }
  .en.nav-container {
    top: 79px;
  }
  .en.main-title{
    font-size: 1.875rem;
  }
  .en.page-container{
    padding:1.5rem 1rem 0
  }
  .en.jumbotron{
    padding:1rem 1.25rem;
  }
  .en.announce{
    justify-content: flex-start;
  }
.enfooter address{
    flex-direction: column;
    align-items: center;
  }

  .en.footer-row-left {
    margin-right: 0;
    margin-bottom: 0.5rem;
    width: 100%;
  }
  .en.footer-row-left{
    align-items: flex-end;
  }
  .en.footer-row-left>a{
    margin-right: 1rem;
    max-width: calc(50% - 1rem);
  }
  .en.footer-title{
    font-size: 0.8125rem;
  }

  .en.footer-row-left .icon-media a {
    font-size: 2rem;
  }

  .en.footer-row {
    padding: 0;
  }
  .en.footer-row p{
    letter-spacing: 0;;
  }
  .en.footer-browser{
    font-size: 0.875rem;
    padding:1rem 0 .5rem;
    gap:1.25rem
  }
  .en.footer-browser a, .en.visitors{
    margin-right: 0;
  }
  .en.footer-browser p {
    display: none;
  }

  .en.updateinfo {
    margin: 0 0 0.5rem 0;
  }

}

@media (max-width: 440px) {
  .en.navbar{
    padding:.5rem .375rem;
    flex-wrap: nowrap;
  }
  .en.brand-logo {
    width: 40px;
    margin-right: 5px;
  }
  .en.navbar-brand {
    margin-right: 0;
    white-space: normal;
    flex-wrap: nowrap;
  }

  .en.brand-title p {
    font-size: 0.75rem;
  }
  .en.brand-title .brand-text{
    white-space: normal;
    word-break:inherit;
    font-size:1rem;
  }
  .en.nav-container {
    top: 71px;
  }
  .en.jumbotron{
    padding:1rem;
  }
  .en.main-title{
    font-size:1.625rem;
    letter-spacing: -.2px;
  }
  .en.page-container{
    padding:1.5rem .25rem 0;
  }

  .en.announce a{
    font-size: .875rem;
    padding:.25rem .5rem;
    min-width: inherit;
  }
  .en .announce a:nth-child(2):after{
    background:rgba(255, 255, 255, 0.5);
  }
  .en.footer-row-left{
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-bottom:1px solid rgba(255, 255, 255, 0.2);
  }
  .en.footer-row-left>a{
    display: flex;
    flex-direction: row ;
    align-items: center;
    justify-content: center;
    border-right:none;
    margin: 0 auto .5rem;
    padding-right: 0;
    width:70%;
    max-width:inherit
  }
  .en.footer-title{
    font-size:.875rem;
    margin:.25rem 0;
    text-align: left;
  }
  .en.footer-title>span{
    display: inline-block;
  }
  .en.footer-row-left .icon-media{
    flex-wrap: wrap;
  }
  .en.info-address{
    width: 100%;
    gap:.5rem;
  }
  .en.footer-browser{
    gap:1rem;
  }
  .en.updateinfo, .updateinfo .update{
    gap:.5rem
  }
}

@media (max-width: 375px) {
  .en.brand-title p{
    width: 100%;
  }
  .en.nav-container {
    top: 90px;
  }
  .en.announce a{
    font-size:.9375rem;
  }
  .en.footer-info{
    padding:1.5rem 1.25rem;
  }

  .en.footer-row-left>a{
    width: 90%;
  }
  .en.footer-browser, .en.updateinfo{
    flex-direction: column;
  }
  .en.updateinfo, .updateinfo .update{
    margin: 0;
}
}