﻿: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 */
    --r-top-margin : 100px;
}

@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;
    overflow-x: hidden; /* Prevent horizontal scroll bar */
}

a {
    text-decoration: none;
    color: inherit;
}

.isNotIndexPage.verticalMenuExist .mcShell {
    min-height: 70vh;
    overflow: hidden;  /*to prevent page from too long*/
    margin-top : var(--r-top-margin);
  background-image : url(/download/Resource/BGImage/trianglemosaic.webp);
  background-repeat: repeat;
  /*background-position: bottom right;*/
}

/* 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: 800;
        font-size: 2.7rem;
        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;
}

/* Custom Setting Start ---------------- */
.whkHeader
{
  position : fixed;
  background-image : linear-gradient(180deg, var(--color-darkBlue01) 0%, rgba(255, 255, 255, 0) 100%);
  top : 0;
  left : 0;
  right : 0;
  z-index : 1;
}
.whkHeaderLeftRight
{
  display : flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: stretch;
}
.whkHeaderRight
{
  display : flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-end;
}
.whkMainMenu{}
.whkSchoolNameAndLogo{}
.whkSubMenu{}
.whkFooter
{
  background-color: var(--color-darkBlue01);
}
.whkSchoolInfo{}

/* Custom Setting End ---------------- */

@media (max-width: 480px) {
  .blockTitle h2:not([class]) {
    font-size: 2.3rem;
    line-height: 1;
  }
  .whkHeaderLeftRight
  {
    display : block;
  }
}

@media (min-width: 481px) and (max-width: 767px) {
  .blockTitle h2:not([class]) {
     font-size: 2.4rem;
     line-height: 1;
  }
  .whkHeaderLeftRight
  {
    display : block;
  }
}

@media (min-width: 768px) and (max-width: 979px) {
  .whkHeaderLeftRight
  {
    display : block; 
  }
}

@media (min-width: 980px) and (max-width:1199px) {
}

@media (min-width: 1200px) and (max-width:1919px) {
}

@media (min-width: 1920px) {
}












