﻿: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 */
}

.m-plus-rounded-1c-bold {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.m-plus-rounded-1c-extrabold {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.m-plus-rounded-1c-black {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 900;
  font-style: normal;
}

@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/patternRandomized.svg);*/
  /*background-image : url(/download/Resource/BGImage/meteorShower.jpg);
  background-attachment: fixed;
  background-size: cover;*/
  background-image : url(/download/Resource/BGImage/tri.svg);
}

body:has(.isNotIndexPage)
{
  /*background-image : url(/download/Resource/BGImage/patternRandomized.svg);*/
}

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: 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;
}

.spHeader
{
  display : flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom : solid 1px #286da6;
}
.spSchoolName
{
  /*background: linear-gradient(45deg, rgba(30,87,153,1) 0%,rgba(32,124,202,0.74) 26%,rgba(41,137,216,0.73) 27%,rgba(229,229,229,0) 100%);*/
}
.spMenus
{
  flex : 1;
  display : flex;
  flex-wrap: nowrap;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
}
.spSubMenu
{
  margin-bottom : 10px;
}
.spMainMenu{}
.spFooter
{
  background: linear-gradient(135deg, rgba(109,179,242,1) 0%,rgba(84,163,238,1) 50%,rgba(54,144,240,1) 51%,rgba(30,105,222,1) 100%); 
}
.spSchoolInfoContainer
{
  max-width : var(--maxWidth_Y_nonIndexPage);
  margin : 0 auto;
}

@media (max-width: 480px) {
  .blockTitle h2:not([class]) {
    font-size: 2.3rem;
    line-height: 1;
  }
  .spHeader
  {
    display : block;
  }
}

@media (min-width: 481px) and (max-width: 767px) {
  .blockTitle h2:not([class]) {
    font-size: 2.4rem;
    line-height: 1;
  }
  .spHeader
  {
    display : block;
  }
}

@media (min-width: 768px) and (max-width: 979px) {
  .spHeader
  {
    display : block;
  }
  .spSubMenu
  {
    position : absolute;
    top : 20px;
    right : 20px;
  }
}

@media (min-width: 980px) and (max-width:1199px) {
  .spHeader
  {
    display : block;
  }
  .spSubMenu
  {
    position : absolute;
    top : 20px;
    right : 20px;
  }
}

@media (min-width: 1200px) and (max-width:1919px) {
}

@media (min-width: 1920px) {
}





















