/* html version */

/* general */

:root{
  --bg-color: #FFFFFF;
  --outline-color: #617042;
  --title-color: #062A3F;
  --content-color: #000000;
}

:lang( en ){
  font-family: "Noto San";
}

:lang( zh ){
  font-family: "Noto San HK";
}

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html{
  width: 100%;
}

body{
  max-width: 500px;
  margin: auto;

  background-color: #FFFFFF;
  background-color: var( --bg-color );

  font-size: 15px;
  text-align: center;
}

header,
main > *{
  margin-left: 25px;
  margin-right: 25px;
}

main > *.no-margin{
  margin-left: 0;
  margin-right: 0;
}

h1.no-margin,
h2.no-margin,
h3.no-margin,
h4.no-margin,
h5.no-margin,
h6.no-margin,
p.no-margin,
img.no-margin{
  margin: 0;
}

section{
  margin-bottom: 35px;
}


section.center-text{
  text-align: center;
}


footer{
  width: 100%;
  height: 35px;

  background-image: url("img/pattern_deco-01.jpg");
  background-repeat: repeat;
  background-size: cover;
}


h1, h2, h3, h4, h5, h6{
  color: #062A3F;
  color: var( --title-color );
}

h1{
  font-size: 2.8em;
  margin: 0;
}

h2{
  font-size: 2em;
  margin: 1em 0;
}

h3{
  font-size: 1.6em;
}

p{
  color: #000000;
  color: var( --content-color );
}

p.remark{
  font-size: .75em;
  margin: 1em 0 0 0;
}

img{
  max-width: 100%;
  -ms-flex-negative: 1;
      flex-shrink: 1;

  margin: .5em 0;
}

:lang( zh ) h1{
  font-size: 2.2em;
  margin: 0 0 .5em 0;
}

:lang( zh ) h2{
  font-size: 1.6em;
  margin: 0 0 .5em 0;
}

:lang( zh ) h3{
  font-size: 1.4em;
  margin: 0 0 .5em 0;
}



#img-ac-logo{
  width: 110px;
  max-width: 40%;
}

#img-news-logo{
  width: 135px;
  max-width: 40%;
  -ms-flex-item-align: end;
      align-self: flex-end;
  margin-bottom: 20px;
}

.separater{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
}

.separater > div {
  height: 1px;
  width: auto;

  -webkit-box-flex: 1;

      -ms-flex-positive: 1;

          flex-grow: 1;
  background-color: #617042;
  background-color: var( --outline-color );
}

.separater > h3{
  -webkit-box-flex: 0;
      -ms-flex-positive: 0;
          flex-grow: 0;
  color: #062A3F;
  color: var( --title-color );

  font-size: 1.2em;

  margin: 1.2em;
}

.mobile-only{
  display: block;
}

.desktop-only{
  display: none;
}

.flex-box{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.flex-box.flex-start,
.flex-box.flex-start.responsive
{
  align-items: flex-start;
}

.flex-box.responsive{
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}


.flex-box.separate{
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.flex-box.responsive.separate{
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.flex-box > div{
  width: 100%;
  height: 100%;
}

.relative-wrapper{
  position: relative;
}

.absolute-wrapper{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.center-flex-wrapper{
  width: 100%;
  height: 100%;

  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.text-align-left{
  text-align: left;
}


.text-align-center{
  text-align: center;
}

.text-align-right{
  text-align: right;
}

@media( min-width: 800px ){
  body{
    max-width: 800px;
    text-align: left;
  }


  header,
  main > * {
    margin-left: 40px;
    margin-right: 40px;
  }

  .mobile-only{
    display: none;
  }

  .desktop-only{
    display: block;
  }

  .flex-box.responsive{
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }

  .flex-box.responsive.separate{
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }


  .flex-box .divider-line{
    width: 2px;
    background-color: #617042;
    background-color: var( --outline-color );
    align-self: stretch !important;
    height: auto;
  }

  .flex-box > div{
    width: 48%;
  }

  .flex-box > div.small{
    width:  40%;
  }

  .flex-box > div.big{
    width: 55%;
  }

  .flex-box > div.full{
    width: 100%;
  }
}



/* custom */
@font-face {
  font-family: Cinzel;
  src: url("font/Cinzel-Regular.ttf");
  font-weight: 400;
}

@font-face {
  font-family: Cinzel;
  src: url("font/Cinzel-Medium.ttf");
  font-weight: 500;
}

@font-face {
  font-family: Cinzel;
  src: url("font/Cinzel-SemiBold.ttf");
  font-weight: 600;
}

@font-face {
  font-family: Cinzel;
  src: url("font/Cinzel-Bold.ttf");
  font-weight: 700;
}

@font-face {
  font-family: Cinzel;
  src: url("font/Cinzel-ExtraBold.ttf");
  font-weight: 800;
}

@font-face {
  font-family: Cinzel;
  src: url("font/Cinzel-Black.ttf");
  font-weight: 900;
}

.curvy-font{
  font-family: Cinzel;
  font-weight: 600;
}

#headline-deco{
  max-width: 450px;
  margin: auto;
  text-align: center;
}

#img-13{
  max-width: 280px;
}

#img-18{
  width: 100%;
  max-width: 500px;
}


.highlight{
  font-size: 1.5em;
  color: #062A3F;
  color: var( --title-color );
}

:lang( zh ) .highlight{
  font-size: 1.35em;
}

img.divider{
  max-width: 250px;
  margin-bottom: 20px;
}

section.dark-bg{
  background-color: #e5e5e5;
}

section.blue-bg{
  background-color: #062A3F;
  background-color: var( --title-color );
}

section.blue-bg h3,
section.blue-bg p{
  color: #FFFFFF;
  color: var( --bg-color );
}

.divider-2{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

.divider-2 img{
  width: 20px;
  height: 20px;
}
.divider-2 hr{
  /* border-width: 1px;
  border-color: #617042;
  border-color: var( --outline-color ); */
  border: none;
  background-color: #617042;
  background-color: var( --outline-color );
  height: 2px;
  width: auto;
  min-width: 50px;
  flex-grow: 1;
}

.divider-2 h2{
  font-size: 2.8em;
  line-height: 1em;
  margin: 0 10px;
  flex-shrink: 1;
  width: min-content;
}

:lang( zh ) .divider-2 h2{
  font-size: 2.2em;
  width: auto;
}

#menu-section{
  padding: 20px 0;
  margin: 0 0 35px 0;
}

#menu-section > img{
  margin: 0;
}

#menu-section > .space-box{
  height: 20px;
}

#section-1{
  margin-bottom: 20px;
}

#section-2{
  text-align: center;
  margin-bottom: 20px;
}

#section-6{
  text-align: center;
  padding: 30px 20px;
}

#section-6 .padding{
  padding: 5px 30px;
}

#section-7 h3{
  margin: 40px auto 20px auto;
}

#section-7 .horizontal{
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
}

#section-7 .horizontal > img{
  justify-content: space-between;
  align-content: flex-start;
  flex-grow: 1;
  flex-shrink: 1;
  height: auto;
}

#section-7 .horizontal > img:first-child {
  width: 33%;
}

#section-7 .horizontal > img:last-child {
  width: 66%;
}

#section-8 h3{
  margin: 35px auto 15px auto;
}

#section-8 .img-flex{
  display: flex;
  flex-direction: column;
}

#section-8 .img-flex > div:first-child{
  margin-bottom: 5px;
}

#section-8 .img-flex img {
  margin: 0;
  padding: 0;
}

#section-8 .img-flex .inner-flex-box{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

#section-8 .img-flex .inner-flex-box > img{
  width: 49%;
}

#section-9 h3{
  margin: 25px auto 15px auto;
}

#section-11 h3{
  margin-bottom: 10px;
}

/* #section-7 .horizontal > img:first-child {
  width: 35%;
}
#section-7 .horizontal > img:last-child {
  width: 65%;
} */

@media( min-width: 800px ){
  .flex-box.three-item > *{
    height: 160px;
  }

  .divider-2{
    margin-bottom: 20px;
  }

  .divider-2 h2{
    width: auto;
  }

  #menu-section{
    padding: 20px;
  }

  #section-2{
    text-align: left;
  }

  #section-6{
    text-align: left;
    padding: 0 0 20px 25px;
  }

  #section-6 h3{
    margin-top: 20px;
  }

  #section-6 .padding{
    padding: 0;
  }

  #section-6 .padding-right{
    padding-right: 20px;
  }

  #section-6 .flex-box > div:first-child{
    width: calc( 55% - 15px );
  }
  #section-6 .flex-box > div:last-child{
    width: 43%;
  }

  #section-7 .responsive > div:first-child{
    width: 45%;
  }
  #section-7 .responsive > div:last-child{
    width: 55%;
  }


  #section-8 .flex-box.responsive > div:first-child{
    width: 45%;
  }

  #section-8 .flex-box.responsive > div:last-child{
    width: 50%;
  }

  #section-9 .flex-box > div:first-child{
    width: 45%;
  }

  #section-9 .flex-box > div:last-child{
    width: 55%;
  }
  /* .flex-box.three-item > *:not(:last-child){
    margin-right: 5px;
  } */
}
