*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: msyh;
    src: url(../font/msyh.ttf);
  }


body {
    color: #333;
    position: relative;
    font-family: "msyh";
}

:root {
    --main-theme-color:#92020b; /*146, 2, 11*/
    --main-subTheme-color:#fae0bf;/* 250, 224, 191 */
    --span-font-grey:#8c8c8c;
}

.font-grey {
  color: var(--span-font-grey);
}

h1,h2,h3,h4,h5,p,span,ul {
    margin: 0;
    padding: 0;
}
.row>* {
    padding: 0 12px;
}
a{
    display: inline-block;
}

.fs-7 {
    font-size: .875rem;
}


#offcanvasMobileMenu .offcanvas-header {
  background-color: var(--main-theme-color);
}

#offcanvasMobileMenu .offcanvas-header .btn-close {
  filter: invert(1);
  -webkit-filter: invert(1);
}

#offcanvasMobileMenu .offcanvas-body {
  background-color: rgba(250, 224, 191,0.25);
  position: relative;
}


#offcanvasMobileMenu .offcanvas-body .mobile-menu_side .mobile-item .item-block {
  border-bottom: 1px dashed #d5d5d5;
}

#offcanvasMobileMenu .offcanvas-body .mobile-menu_side .mobile-item .item-block {
  display: flex;
  justify-content: space-between;
}

#offcanvasMobileMenu .offcanvas-body .mobile-menu_side .mobile-item .item-block a{
  width: 100%;
  padding: 15px 0;
  font-size: 22px;
}

#offcanvasMobileMenu .offcanvas-body .mobile-menu_side .mobile-item .item-block .down {
  width: 42px;
  height: auto;
  display: flex;
}

#offcanvasMobileMenu .offcanvas-body .mobile-menu_side .mobile-item .item-block .down span {
  margin: auto;
  font-size: 24px;
  transform: rotateZ(90deg);
  -webkit-transform: rotateZ(90deg);
  -moz-transform: rotateZ(90deg);
  -ms-transform: rotateZ(90deg);
  -o-transform: rotateZ(90deg);
}

#offcanvasMobileMenu .offcanvas-body .mobile-menu_side .mobile-item .sub-list {
  display: none;
}

#offcanvasMobileMenu .offcanvas-body .mobile-menu_side .mobile-item .sub-list .mobile-item .item-block {
  margin-left: 15px;
}

#offcanvasMobileMenu .offcanvas-body .mobile-menu_side .mobile-item .sub-list .mobile-item .item-block a {
  font-size: 18px;
}



header #header .top_bg {
    background: url(../images/bg_top.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    padding: 24px 0;
    position: relative;
    z-index: 1;
  }

  header #header .top_bg::before {
    content:"";
    position: absolute;
    left: 0;
    top: 0;
    width: 25%;
    height: 100%;
    background: linear-gradient(to right ,
    rgba(255,255,255,1),
    rgba(255,255,255,0.75),
    rgba(255,255,255,0.5),
    rgba(255,255,255,0.25),
    rgba(255,255,255,0.125),
    rgba(255,255,255,0.025)
     );
     z-index: 2;
  }


#main #section-body-container .public-border .head .title h4 a:hover{
color:var(--main-theme-color);
}


  header #header .top_bg::after {
    content:"";
    position: absolute;
    right: 0;
    top: 0;
    width: 25%;
    height: 100%;
    background: linear-gradient(to left ,
     rgba(255,255,255,1),
     rgba(255,255,255,0.75),
     rgba(255,255,255,0.5),
     rgba(255,255,255,0.25),
     rgba(255,255,255,0.125),
     rgba(255,255,255,0.025)
     );
     z-index: 2;
  }


  header #header .top_bg .logo {
    margin-right:50px;
    position: relative;
    z-index: 3;
  }

  header #header .top_bg .search-container {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 3;
  }

  header #header .top_bg .search-container .mobile-menu span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--main-theme-color);
    margin-bottom: 7px;
    transform-origin: left;
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transition: all 0.75s;
    -webkit-transition: all 0.75s;
    -moz-transition: all 0.75s;
    -ms-transition: all 0.75s;
    -o-transition: all 0.75s;
  }

  header #header .top_bg .search-container .mobile-menu span:nth-of-type(1) {
    transform: rotate(0);
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);

}

  header #header .top_bg .search-container .mobile-menu.active span:nth-of-type(1) {
    transform: rotate(40deg);
    -webkit-transform: rotate(40deg);
    -moz-transform: rotate(40deg);
    -ms-transform: rotate(40deg);
    -o-transform: rotate(40deg);
    width: 30px;

  }

  header #header .top_bg .search-container .mobile-menu span:nth-last-of-type(1) {
    margin: 0;
  }

  header #header .top_bg .search-container .mobile-menu.active span:nth-last-of-type(1) {
    transform: rotate(320deg);
    -webkit-transform: rotate(320deg);
    -moz-transform: rotate(320deg);
    -ms-transform: rotate(320deg);
    -o-transform: rotate(320deg);
    width: 30px;
  }

  header #header .top_bg .search-container .search form {
    position: relative;
  }
  header #header .top_bg .search-container .search input[type=text] {
    height: 38px;
    border: 1px solid var(--main-theme-color);
    border-radius: 28px;
    width: 260px;
    font-size: 14px;
    text-indent: 20px;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
}


  header #header .top_bg .search-container .search input[type=text]::-moz-placeholder {
    font-size: 14px;
    color: #ccc;
  }
  header #header .top_bg .search-container .search input[type=text]:-ms-input-placeholder {
    font-size: 14px;
    color: #ccc;
  }
  header #header .top_bg .search-container .search input[type=text]::placeholder {
    font-size: 14px;
    color: #ccc;
  }
  header #header .top_bg .search-container .search .search-icon {
    position: absolute;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    top: 0;
    right: 0;
    background-color: var(--main-theme-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
  }

  header #header .top_bg .search-container .search .search-icon.icon {
    display: none;
  }

  

  header #header .top_bg .search-container .search .search-icon input[type=image] {
    font-size: 24px;
    color: #fff;
  }
  
  nav #nav ul {
    background-color: var(--main-theme-color);
  }
  nav #nav ul .nav-item {
    width: 100%;
    position: relative;
  }

  nav #nav ul .nav-item.nav-active a::before{
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
  }

  nav #nav ul .nav-item > a {
    color: #fff;
    font-size: 1rem;
    width: 100%;
    height: 100%;
    padding: 15px 0;
    text-align: center;
    position: relative;
    font-weight: 500;
    transition: all 0.25s;
    -webkit-transition: all 0.25s;
    -moz-transition: all 0.25s;
    -ms-transition: all 0.25s;
    -o-transition: all 0.25s;
  }
  nav #nav ul .nav-item > a::before {
    content: attr(data-name);
    position: absolute;
    inset: 0;
    margin: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0);
    background-color: #830109;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    opacity: 0;
    visibility: hidden;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    font-weight: bold;
    color: var(--main-subTheme-color);
  }
  nav #nav ul .nav-item .sub-nav {
    position: absolute;
    left: 0;
    top: 145%;
    left:50%;
    transform: translateX(-50%);
    z-index: 999;
    width: 100%;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.125);
    transition: all 0.25s;
    -webkit-transition: all 0.25s;
    -moz-transition: all 0.25s;
    -ms-transition: all 0.25s;
    -o-transition: all 0.25s;
    opacity: 0;
    visibility: hidden;
  }
  nav #nav ul .nav-item .sub-nav::before {
    content: "";
    position: absolute;
    top: calc(0% - 5px);
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid rgba(0, 0, 0, 0.25);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
  }
  nav #nav ul .nav-item .sub-nav .sub-nav-item {
    border-bottom: 1px dashed rgba(0, 0, 0, 0.125);
  }
  nav #nav ul .nav-item .sub-nav .sub-nav-item:nth-last-of-type(1) {
    border: none;
  }
  nav #nav ul .nav-item .sub-nav .sub-nav-item a {
    width: 100%;
    color: #000;
    padding: 10px 5px;
    font-size: 0.875rem;
    text-align: center;
    white-space: nowrap;
  }
  nav #nav ul .nav-item .sub-nav .sub-nav-item a:hover {
    background-color: var(--main-theme-color);
    color: #fff;
  }
  nav #nav ul .nav-item:hover .sub-nav {
    top: calc(100% + 5px);
    left:50%;
    opacity: 1;
    visibility: visible;
    width: auto;
    transform: translateX(-50%);
    min-width:120px;
  }
  nav #nav ul .nav-item:hover > a::before {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
  }





.public-border {
    border: 1px solid #f2f2f2;
    position: relative;
    height: 100%;
}

.public-border::before {
    content:"";
    position: absolute;
    top: 0;
    left: -1px;
    width: calc(100% + 2px);
    height: 2px;
    background-color: var(--main-theme-color);
}

#section-body-container .public-border .head {
    border-bottom: 1px solid #f2f2f2;
}

#section-body-container .public-border .head .title h4 {
    padding: 10px 0 10px 12px;
    height: 100%;
    position: relative;
}

#section-body-container .public-border .head .title h4::before {
    content:"";
    position: absolute;
    left: -1px;
    top: 0;
    width: calc(100% + 2px);
    height: 2px;
    background-color: #ffa800;
}

#section-body-container .public-border .head .more {
    padding: 0 12px 0 0 ;
}

#section-body-container .public-border .head .more a {
    display: flex;
    align-items: center;

}

#section-body-container .public-border .head .more a .icon {
    margin-left: 5px;
    color: #bdbdbd;

}

#section-body-container .public-border .head .more a:hover .icon {
    color:var(--main-theme-color);
}

#section-body-container .public-border .head .more a:hover {
    color: var(--main-theme-color);
}


#footer {
    background: url(../images/bg.png) no-repeat;
    background-size: cover;
    background-position: top;
  }
  #footer .footer-info {
    padding: 18px 0;
  }
  #footer .friendly-link {
    border-bottom: 1px solid rgba(255, 255, 255, 0.75);
  }
  #footer .friendly-link .link-item a {
    color: #fff;
    opacity: 0.9;
  }
  #footer .friendly-link .link-item a:hover {
    color: var(--main-subTheme-color);
  }
  #footer .footer-info .contact-info .info-item {
    color: #fff;
    display: flex;
    align-items: center;
    opacity: 0.9;
  }
  #footer .footer-info .contact-info .info-item:nth-of-type(2) img {
    padding: 2px;
    border: 1px solid #fff;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
  }
  #footer .footer-info .contact-info .info-item img {
    width: 18px;
    margin-right: 5px;
  }
  #footer .copyright img {
    width: 55px;
  }
  #footer .copyright ul {
    height: 4em;
  }
  #footer .copyright ul li {
    color: #fff;
    opacity: 0.9;
  }
  
  #sider-image {
    position: fixed;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
  }
  #sider-image .sider-img img {
    width: 120px;
  }
  #sider-image .sider-btn {
    position: absolute;
    top: -24px;
    right: 0;
    cursor: pointer;
  }
  #sider-image .sider-btn span {
    display: flex;
    padding: 5px;
    font-size: 12px;
    color: var(--main-subTheme-color);
    background: linear-gradient(to top, rgb(146, 2, 11), rgba(146, 2, 11, 0.75), rgba(146, 2, 11, 0.5), rgba(146, 2, 11, 0.25));
  }


  /* insidePage */

  .secondary-navigation {
    border: 1px solid #f5f5f5;
    box-shadow: 4px 4px 12px rgba(0,0,0,0.1),
                -4px -4px 12px rgba(0,0,0,0.1);
  }

  .secondary-navigation .first-column h4 {
    padding: 24px 0;
    text-align: center;
    background-color: var(--main-theme-color);
    color: #fff;
  }

  
  .secondary-navigation .sub-column {
    background-color: #fff;
    padding: 10px;
  }

  .secondary-navigation .sub-column .column-item {
    margin-bottom: 10px;
  }

  .secondary-navigation .sub-column .column-item a {
    width: 100%;
    font-size: 18px;
    padding: 20px 10px;
    text-align: left;
    background-color: #f3f3f3;
    
  }

  .secondary-navigation .sub-column .column-item .sub-menu{
    margin-top: 10px;
    padding-left: 10px;
  }

  .secondary-navigation .sub-column .column-item a.active {
    background-color: #f0e4e5;
    color: var(--main-theme-color);
    font-weight: bold;
  } 

  .secondary-navigation .sub-column .column-item a:hover {
    background-color: #f0e4e5;
    color: var(--main-theme-color);
  }

  .content-container {
    border: 1px solid #f5f5f5;
    box-shadow: 4px 4px 12px rgba(0,0,0,0.1),
                -4px -4px 12px rgba(0,0,0,0.1);
                padding: 30px;
                border-radius: 5px;
                -webkit-border-radius: 5px;
                -moz-border-radius: 5px;
                -ms-border-radius: 5px;
                -o-border-radius: 5px;
  }

  .content-container .head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #d3d3d3;
  }

  .content-container .head .current-column h5 {
    font-size: 22px;
    padding-bottom: 10px;
    position: relative;
  }

  .content-container .head .current-column h5::before {
    content:"";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 66.7%;
    height: 3px;
    background-color: var(--main-theme-color);
    z-index: 10;
  }

  .content-container .head .current-column h5::after {
    content:"";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 3px;
    background-color: var(--main-subTheme-color);
    z-index: 9;
  }
  .content-container .head .current-addr {
    display: flex;
    align-items: center;
  }

  .content-container .head .current-addr ul{
    display: flex;
  }

  .content-container .head .current-addr ul li {
    margin-right: 5px;
  }

  .content-container .detail {min-height:500px;}

@media (max-width:991.98px) {

  header #header .top_bg .search-container .search input[type=text] {
    width: 38px;
  }

  header #header .top_bg {
    background-position: 65% center;
  }

  header #header .top_bg .search-container .search .search-icon.icon{
    display: flex;
  }

  .secondary-menu {
    position: absolute;
    left: 0%;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.25);
    z-index: 99;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s;
    -webkit-transition: all 0.25s;
    -moz-transition: all 0.25s;
    -ms-transition: all 0.25s;
    -o-transition: all 0.25s;
}

.secondary-menu.menu-active {
  opacity: 1;
  visibility: visible;
}

.secondary-menu .secondary-navigation {
  position: fixed;
  top: 50%;
  left: -50%;
  width: 25%;
  transform: translateY(-50%);
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition-delay: 0.25s;
}

.secondary-menu.menu-active .secondary-navigation {
  left: 0;
}

html:has(.menu-active) {
  overflow: hidden;
}

.siderbar {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  padding: 15px;
  border: 1px solid #f5f5f5;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  background-color: #efefef;
  box-shadow: 4px 4px 12px #efefef;
  z-index: 998;
}

.siderbar img {
  width: 36px;
}


header #header .top_bg .search-container .search input[type=text].wid-active {
  width: 180px;
}

header #header .top_bg .logo {
  margin-right: 25px;
}

header #header .top_bg .search-container .search .search-icon {
  transform: scale(.8);
}

.mobile-menu {
  display: block;
}

}


@media (max-width:767.98px) {
  .secondary-menu .secondary-navigation {
    width: 50%;
  }

  header #header .top_bg .search-container .search input[type=text].wid-active {
    width: 150px;
  }

  header #header .top_bg .search-container .search input[type=text]::placeholder {
    font-size: 11px;
  }
}

@media (max-width:575.98px) {
  .secondary-menu .secondary-navigation {
    width: 67.5%;
  }
  header #header .top_bg .search-container .search input[type=text] {
    height: 28px;
    width: 28px;
  }

  header #header .top_bg .search-container .search input[type=text].wid-active {
    width: 130px;
    font-size: 10px;
    height: 28px;
  }
  header #header .top_bg .search-container .search .search-icon {
    width: 28px;
    height: 28px;
  }

  .content-container {
    padding: 15px;
  }
  
}



@media (min-width:320px) {
  
}

@media (min-width:576px) {
  
}

@media (min-width:768px) {
  
}


@media (min-width:998px) {
  .mobile-menu {
    display: none!important;
  }
}

@media (min-width:1200px) {
nav #nav ul .nav-item > a {font-size:18px;}
}

@media (min-width:1320px) {
nav #nav ul .nav-item > a {font-size:20px;}

#main #section-body-container .content .notice-item a,#main #section-body-container .public-border .head .title h4 {font-size:18px!important;}

#main #section-body-container .service-list-container .service-item .title {font-size:1rem;}
}


@media (min-width:1560px) {
    .container {
        max-width: 1440px;
    }
}