/* html version */

/* general */

:root{
    --bg-color: #FFFFFF;
    --outline-color: #617042;
    --title-color: #062A3F;
    --content-color: #000000;
    --content-white-color: #FFFFFF;
  
    --highlight-color: rgb(0, 38, 80);
  }
  
  @font-face {
      font-family: Times New Roman;
      src: url("font/LiberationSerif-Regular.ttf") format('truetype');
  }
  @font-face {
      font-family: Times New Roman;
      src: url("font/LiberationSerif-Italic.ttf") format('truetype');
      font-style: italic;
  }
  @font-face {
      font-family: Times New Roman;
      src: url("font/LiberationSerif-Bold.ttf") format('truetype');
      font-weight: bold;
  }
  @font-face {
      font-family: Times New Roman;
      src: url("font/LiberationSerif-BoldItalic.ttf") format('truetype');
      font-style: italic;
      font-weight: bold;
  }
  
  @font-face {
    font-family: "Noto San";
    src: url("font/NotoSans-Regular.ttf") format('truetype');
  }

  @font-face {
      font-family: "Noto San";
      src: url("font/NotoSans-Italic.ttf") format('truetype');
      font-style: italic;
  }

  @font-face {
      font-family: "Noto San";
      src: url("font/NotoSans-Bold.ttf") format('truetype');
      font-weight: bold;
  }

  @font-face {
      font-family: "Noto San";
      src: url("font/NotoSans-BoldItalic.ttf") format('truetype');
      font-weight: bold;
      font-style: italic;
  }
  
  @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;
  }
  
  @font-face {
    font-family: Courgette;
    src: url("font/Courgette-Regular.ttf");
  }
  
  @font-face {
    font-family: LXGWWenKai;
    src: url("font/LXGWWenKai-Light.ttf");
    font-weight: 300;
  }
  @font-face {
    font-family: LXGWWenKai;
    src: url("font/LXGWWenKai-Regular.ttf");
    font-weight: 400;
  }
  @font-face {
    font-family: LXGWWenKai;
    src: url("font/LXGWWenKai-Bold.ttf");
    font-weight: 700;
  }
  
  @font-face {
    font-family: SarahScript;
    src: url("font/Sarah Script Regular.ttf");
  }
  
  :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: 16px;
    line-height: 1.2;
    letter-spacing: 0.015em;
    /* text-align: center; */
    /* text-align: justify; */
    text-align-last: center;
  }
  
  
  h1, h2, h3, h4, h5, h6{
    color: #062A3F;
    color: var( --title-color );
    line-height: 1.2em;
  }
  
  h1{
    font-size: 2.8em;
    margin: 0;
  }
  
  h2{
    font-size: 2em;
    margin: 0;
    margin-bottom: .5em;
  }
  
  h3{
    font-size: 1.6em;
  }
  
  
  :lang( zh ) body{
    font-size: 13px;
    line-height: 1.25;
  }
  
  :lang( zh ) main {
    font-size: 1.15em;
  }
  
  :lang( zh ) h1{
    font-size: 2.2em;
    margin: 0 0 .5em 0;
  }
  
  :lang( zh ) h2{
    font-size: 2em;
    margin: 0 0 .5em 0;
  }
  
  :lang( zh ) h3{
    font-size: 1.4em;
    margin: 0 0 .5em 0;
  }
  
  p{
    color: #000000;
    color: var( --content-color );
  }
  
  
  /* margin */
  header,
  main > *{
    margin-left: 20px;
    margin-right: 20px;
  }
  
  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;
  }
  
  
  /*  header  */
  #remark-1{
    margin-bottom: 5px;
  }
  
  #img-ac-logo{
    width: 145px;
    max-width: 25%;
    /* max-width: 40%; */
  }
  
  #img-news-logo{
    width: 260px;
    max-width: 40%;
    -ms-flex-item-align: end;
        align-self: flex-end;
    /* margin-bottom: 20px; */
    margin: auto 0;
  }
  
  section:not( :last-child ){
    margin-bottom: 20px;
  }
  
  section.highlight-section{
    background-color: var(--highlight-color);
    padding: 5px 15px;
  }
  section.highlight-section * {
    color: white;
  }
  
  footer,
  .deco-bar {
    width: 100%;
    height: 35px;
  
    background-image: url("img/pattern_deco-01.jpg");
    background-repeat: repeat;
    background-size: cover;
  }
  
  p.remark{
    font-size: .75em;
    margin: 1em 0 0 0;
  }
  
  img{
    max-width: 100%;
    -ms-flex-negative: 1;
        flex-shrink: 1;
  }
  
  
  
  .mobile-only{
    display: block;
  }
  
  .desktop-only{
    display: none;
  }
  
  .flex-box{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  
  .flex-box > div:not( :last-child ) {
    /* margin-bottom: 10px; */
  }
  
  .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.three-item > .item-box {
    flex-basis: 33%;
  }
  
  
  .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-last: left;
  }
  
  .text-align-center{
    text-align: center;
    text-align-last: center;
  }
  
  .text-align-right{
    text-align: right;
    text-align-last: right;
  }
  
  
  .small-divider {
    width: 65px;
    margin:0;
  }
  
  .big-divider{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
  }
  
  .big-divider img{
    width: 20px;
    height: 20px;
  }
  .big-divider hr{
    border-width: 1px;
    border-color: #617042;
    border-color: var( --outline-color );
    width: auto;
    min-width: 20px;
    flex-grow: 1;
  }
  
  .big-divider h2{
    font-family: "Times New Roman";
    font-weight: normal;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0 10px;
    flex-shrink: 1;
    /* width: min-content; */
  }
  
  :lang( zh ) .big-divider h2{
    font-weight: bold;
    padding: 0 20px;
  }
  
  
  .big-divider-white{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
  }
  
  .big-divider-white img{
    width: 12px;
    height: 12px;
  }
  
  .big-divider-white hr{
    border: none;
    background: white;
    height: 2px;
    width: auto;
    min-width: 50px;
    flex-grow: 1;
  }
  
  .big-divider-white p{
    color: white;
    font-weight: bold;
    line-height: 1em;
    font-size: 1.2em;
    margin: 0 30px;
    flex-shrink: 1;
  }
  
  
  :lang( zh ) .big-divider h2{
    width: auto;
  }
  
  .border-box {
    border: 1px solid var( --highlight-color );
    text-align: center;
    text-align-last: center;
  }
  
  @media( min-width: 800px ){
    body{
      max-width: 800px;
      /* text-align: left; */
      /* text-align: justify; */
      text-align-last: auto;
    }
  
  
    header,
    main > * {
      margin-left: 45px;
      margin-right: 45px;
    }
  
    h1{
      font-size: 2.8em;
      margin: 0;
    }
  
    h2{
      font-size: 2.15em;
      margin: 1em 0;
    }
  
    h3{
      font-size: 1.6em;
    }
  
  
    :lang( zh ) body{
      /* font-size: 13px; */
      line-height: 1.25;
    }
  
    :lang( zh ) h1{
      font-size: 2.2em;
      margin: 0 0 .5em 0;
    }
  
    :lang( zh ) h2{
      /* font-size: 1.6em; */
      font-size: 2.35em;
      margin: 0 0 .5em 0;
    }
  
    :lang( zh ) h3{
      font-size: 1.4em;
      margin: 0 0 .5em 0;
    }
  
    .mobile-only{
      display: none;
    }
  
    .desktop-only{
      display: block;
    }
  
    .flex-box > div:not( :last-child ) {
      /* margin-right: 20px;
      margin-bottom: unset; */
    }
  
    .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 > .text-box {
      width: 100%;
    }
  
    .flex-box > .text-box:first-child {
      padding-right: 25px;
    }
    .flex-box > .text-box:last-child {
      padding-left: 25px;
    }
  
    .flex-box > .text-box h2 {
      margin-top: 0;
      margin-bottom: .5em;
    }
  
    .flex-box > .img-box{
      flex-shrink: .7;
    }
  
    footer{
      height: 60px;
    }
  
  
  }

  
/* custom */
:root {
    --frame-color: #c29649;
    --text-highlight-color: #042A3F;
    --contact-us-bg-color: #FFFBF0;
}

body {
    border: var( --frame-color ) solid;
    border-width: 0 6px;
    text-align: center;
    text-align-last: auto;
  
    padding: 0;
    letter-spacing: 0.012em;
}

main > * {
    margin-left: 15px;
    margin-right: 15px;
}


header {
    margin: 0;
}

header #remark-1 {
    background-color: var(--frame-color);
    padding: 1em 0;
    margin-bottom: 0;
}

header #remark-1 .remark{
    margin: 0;
    color: var( --content-white-color );
}

header #remark-1 .remark a {
    color: var( --content-white-color );
}


#section-0 {
    background-image: url("img/leaflet_design_resources(Nov 2023)-03.png");
    background-size: cover;
    background-position: center;
    
    width: 100%;
    aspect-ratio: 760/518;
}


#section-0 .flex-box {
    justify-content: flex-start;
    align-content: center;
    padding-bottom: 0;
}

#section-0 #img-logo {
    max-width: 90px;
}

#section-0 h1 {
  font-family: Cinzel !important;
  font-weight: 600;
  font-size: 32px;
  
  color: var( --content-white-color );
}

#section-0 p {
    padding: 0 20px;
    
    color: var( --content-white-color );
    font-weight: 600;
}


:lang(zh) #section-0 p {
    font-weight: 500;
    font-size: 15px;
}


#section-1 {}

#section-1 .img-box img {
    max-width: 300px;
}

#section-1 .deco-box {
    background: -moz-radial-gradient(circle, rgba(209,199,40,1) 0%, rgba(226,146,25,1) 19%, rgba(254,243,170,1) 43%, rgba(191,133,0,1) 64%, rgba(209,199,40,1) 83%, rgba(226,146,25,1) 100%);
    background: -webkit-radial-gradient(circle, rgba(209,199,40,1) 0%, rgba(226,146,25,1) 19%, rgba(254,243,170,1) 43%, rgba(191,133,0,1) 64%, rgba(209,199,40,1) 83%, rgba(226,146,25,1) 100%);
    background: radial-gradient(circle, rgba(209,199,40,1) 0%, rgba(226,146,25,1) 19%, rgba(254,243,170,1) 43%, rgba(191,133,0,1) 64%, rgba(209,199,40,1) 83%, rgba(226,146,25,1) 100%);

    border-radius: 5px;
    padding: 1px;
    margin-bottom: 45px;

    display: flex;
    justify-content: stretch;
    align-items: stretch;

    position: relative;
}

#section-1 .inner-box {
    background: var( --contact-us-bg-color );
    border-radius: 5px;

    padding-bottom: 40px;
}



#section-1 .inner-box > p {
    color: var( --text-highlight-color );
    padding: 0 20px;
    text-align: center;
}


:lang(zh) #section-1 .inner-box > p {
    font-size: .8em;
}


#section-1 .deco-ball {
    position: absolute;
    width: 90px;

    left: calc( 50% - 45px );
    right: calc( 50% - 45px );
    bottom: -50px;
}


#section-2 {}

#section-2 .flex-item-con {
    display: flex;
    flex-direction: column;
}

#section-2 #flex-item-1 b {
    color: var( --text-highlight-color ) !important;
    font-size: 1.15em;
}

#section-2 #flex-item-1 .large {
    font-size: 1.25em;
}

:lang(zh) #flex-item-1 p {
    font-size: 1em !important;
}



#section-2 #flex-item-1 .deco-box {
    border: 1px solid var( --text-highlight-color );
    border-radius: 5px;

    padding: 10px 20px;
}

#section-2 #flex-item-2 p{
    text-align: left;
    font-size: 0.9em;
}

#section-2 ul {
    font-size: 1em;
    padding-left: 2px;
    margin: 0;
    margin-top: .25em;

    text-align: left;
}

#section-2 ul li {
    list-style: none;
    padding-left: 15px;
    margin: .75em 0;

    background: url(img/divide_star.png) no-repeat;
    background-size: 10px;
    background-position: 0 3px;

    line-height: 1.2;
    font-size: 0.9em;
}


:lang(zh) #section-2 #flex-item-1{
    font-size: .9em;
}

:lang(zh) #section-2 ul {
    margin-top: 20px;
    font-size: .8em;
}
:lang(zh) #section-2 ul li {
    margin: 20px 0;
}

:lang(zh) #section-2 #flex-item-2 p {
    text-align: center;
}

:lang(zh) #section-2 #flex-item-1 .deco-box {
    padding: 12px 50px;
    font-size: 1.35em;
}


#section-2 #flex-item-1 {
    order: 1;
}
#section-2 #flex-item-2 {
    order: 3;
}
#section-2 #flex-item-3 {
    order: 2;
}

#section-3 img {
    margin-bottom: 10px;
}


#footer {
    background-color: var(--frame-color);
    
    margin: 0;
    padding: 1em;
    padding-bottom: 2em;
}

#footer p {
    color: var( --content-white-color );
    
    margin: 0;
    font-weight: bold;
    font-size: .95em;
    text-align: center;
}



@media( min-width: 800px ){
    body {
        border-width: 0 12px;
        text-align: left;
    }

    
    main > * {
        margin-left: 20px;
        margin-right: 20px;
    }

    #section-0 {
        background-image: url("img/leaflet_design_resources(Nov 2023)-02.png");
        aspect-ratio: 1212/538;
        margin-bottom: 15px;
    }

    #section-0 #img-logo {
        max-width: 115px;
    }

    #section-0 h1 {
        font-size: 36px;
        margin-left: 18px;
        margin-top: 12px;
    }

    #section-0 p {
        padding-right: 80px;
    }

    #section-1 {
        margin-right: 30px;
    }

    #section-1 .text-box {
        padding-left: 18px;
    }

    #section-1 .text-box > p {
        font-size: 14px;
        line-height: 1.1;
    }

    #section-1 .img-box img {
        max-width: 215px;
    }
        
    #section-1 .inner-box {
        padding-bottom: 0;
        padding-right: 50px;
    }

    #section-1 .inner-box p {
        padding: 0 10px;
        text-align: left;
    }

    #section-1 .deco-ball {
        left: auto;
        right: -30px;
        bottom: -35px;
    }


    #section-2 > img {
        margin-bottom: 10px;
    }

    #section-2 .flex-item-con {
        flex-direction: row;
        justify-content: space-between;
        align-content: flex-start;
        flex-wrap: wrap;
    }

    #section-2 #flex-item-1 p:nth-child(1){
        margin-top: .25em;
        font-size: .85em;
    }


    #section-2 #flex-item-1 .large {
        font-size: 1.15em;
    }

    #section-2 #flex-item-2 img {
        width: 100%;
        max-width: 300px;
    }    

    #section-2 #flex-item-2 p {
        margin: 0;
        font-size: .85em;
        line-height: 1.35;
    }


    #section-2 #flex-item-1 .deco-box {
        padding: 8px 50px;
        margin-bottom: 30px;
    }

    #section-2 ul {
        display: flex;
        flex-direction: column;
        margin-top: 0;
        height: 5em;
        flex-wrap: wrap;
    }

    #section-2 ul li {
        width: 50%;
        margin: 0.5em 0;
        padding-right: 15px;
        font-size: .85em;
    }


    :lang(zh) #section-2 ul {
        height: 6em;
    }

    :lang(zh) #section-2 ul li {
        margin: 0.5em 0;
    }

    :lang(zh) #section-2 #flex-item-2 p {
        text-align: left;
    }

    :lang(zh) #section-2 #flex-item-1 .deco-box {
        margin-top: 50px;
        margin-bottom: 10px;
    }
    
    #section-2 #flex-item-1 {
        width: 50%;
        margin-right: 15px;
        
        order: 1;
        flex-grow: 1;
        flex-shrink: 1;
    }
    #section-2 #flex-item-2 {
        width: 300px;
        order: 2;
    }
    #section-2 #flex-item-3 {
        width: 100%;
        order: 3;
    }

}