﻿:root {
    --r-font-color : #000000;
    --r-font-size : 16px; 
    --r-line-height : 1.5;
    --r-el-border-bottom: solid 1px #dddddd;  /* el = Each loop element */
    --r-el-padding: 1rem;
    --r-smaller-font : 0.8em;
    --r-container-padding : 1em;
    --r-hori-gap : 2em;
    --r-heading-font-weight : 700;
    --r-heading-font-size : 1.2em;
    --r-index-block-title-align : center;
    --r-nonIndex-content-to-header-distance : 0; /* Non-index page main content to header distance, for overlaping banner and content */
}

@media (max-width: 480px) {
    :root {
        --r-font-size: 14px;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    :root {
        --r-font-size: 14px;
    }
}
html, body {
    font-family: 'Outfit', 'Noto Sans HK', '微軟正黑體', sans-serif;
    font-size: var(--r-font-size);
    color: var(--r-font-color);
    line-height: var(--r-line-height);
    -webkit-text-size-adjust: none;
}

body
{
  /* background-image : url(/download/Resource/BGImage/liquid-cheese.svg); */
  background-image : url(/download/Resource/BGImage/bg001a.jpg);
  /*background-repeat: no-repeat;*/
  /*background-size: 100% 100%;*/
  background-attachment: fixed;
  /*background-attachment:scroll;*/
}

a {
    text-decoration: none;
    color: inherit;
}

.isNotIndexPage.verticalMenuExist .mcShell {
    min-height: 70vh;
    overflow: hidden;  /*to prevent page from too long*/
}

/* Main content in non-index page */
.isNotIndexPage .variableContent, .isNotIndexPage.noVerticalMenu .mcShell {
    padding: var(--r-container-padding);
}

/* Non-index page banner overlay main content */
.isNotIndexPage .mcShellInner
{
   padding-top : var(--r-nonIndex-content-to-header-distance); 
}

.blockTitle {
    margin: 1rem 0;
    text-align: center;
}

    /* old style 3 images heading */
    .blockTitle .hasStyle {
        display: inline-block;
    }

    .blockTitle h2:not([class]) {
        margin: 0;
        font-weight: 400;
        font-family: "M PLUS Rounded 1c", sans-serif;
        font-style: normal;
        font-size: 2.5rem;
        line-height: 1;
    }

/* more link */
.showMoreLoopElements {
    text-align: right;
    font-weight: 700;
    font-size: 1.5em;
    margin-right: 2em;
    font-style: italic;
    line-height: 2;
}

.khHeader
{
  background-image : url(/download/Resource/BGImage/topLeftBg001.png), url(/download/Resource/BGImage/topBg01.jpg), linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 40%,rgba(255,255,255,0) 100%);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: top left, bottom right, top left;
  background-size: contain, contain, 100% 100%;
}
.khInnerHeader
{
  max-width : var(--maxWidth_Y_nonIndexPage);
  margin : 0 auto;
  display : flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
}
.khSchoolLogoAndName{}
.khMainMenu
{
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 70%, rgba(255,255,255,1) 100%);
  border-bottom : solid 3px var(--color-darkRed01);
}
.khSubmenu
{
  display : none;
}
.khFooter
{
  background: linear-gradient(135deg, rgba(201,222,150,1) 0%,rgba(138,182,107,1) 44%,rgba(57,130,53,1) 100%);
}
.khSchoolInfo
{
  max-width : var(--maxWidth_Y_nonIndexPage);
  margin : 0 auto; 
}

.importantNotice
{
   text-align : center;
   padding: 2em;
}

@media (max-width: 480px) {
  .blockTitle h2:not([class]) {
    font-size: 2.3rem;
    line-height: 1;
  }
  .khHeader
  {
    background-image : linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0.7) 50%,rgba(255,255,255,1) 100%), url(/download/Resource/BGImage/topBg01.jpg);
    background-position: top left, top left;
    background-size: 100% 100%, 100% 100%;
  }
  .khInnerHeader
  {
    display : block;
  }
  .khSubmenu
  {
    display : block;
    text-align: center;
  }
}

@media (min-width: 481px) and (max-width: 767px) {
  .blockTitle h2:not([class]) {
    font-size: 2.4rem;
    line-height: 1;
  }
  .khHeader
  {
    background-image : linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0.7) 50%,rgba(255,255,255,1) 100%), url(/download/Resource/BGImage/topBg01.jpg);
    background-position: top left, top left;
    background-size: 100% 100%, 100% 100%;
  }
  .khInnerHeader
  {
    display : block;
  }
}

@media (min-width: 768px) and (max-width: 979px) {
  .khHeader
  {
    background-image : linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0.7) 50%,rgba(255,255,255,1) 100%), url(/download/Resource/BGImage/topBg01.jpg);
    background-position: top left, top left;
    background-size: 100% 100%, 100% 100%;
  }
  .khInnerHeader
  {
    display : block;
  }
}

@media (min-width: 980px) and (max-width:1199px) {
  .khHeader
  {
    background-image : linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0.7) 50%,rgba(255,255,255,1) 100%), url(/download/Resource/BGImage/topBg01.jpg);
    background-position: top left, top left;
    background-size: 100% 100%, 100% 100%;
  }
}

@media (min-width: 1200px) and (max-width:1919px) {
}

@media (min-width: 1920px) {
}





























