﻿: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;
}

@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);
}
body
{
  overflow-x: clip;
}

a {
    text-decoration: none;
    color: inherit;
}

.customPageMenu {
    margin-top: 1rem;
}

.isNotIndexPage.verticalMenuExist .mcShell {
    min-height: 70vh;
}

/* Main content in non-index page */
.isNotIndexPage .variableContent, .isNotIndexPage.noVerticalMenu .mcShell {
    padding: var(--r-container-padding);
}

.isNotIndexPage .variableContent
{
   margin-top : 90px; 
}

.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;
}

@media (max-width: 480px) {
    .blockTitle h2:not([class]) {
        font-size: 2.3rem;
        line-height: 1;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .blockTitle h2:not([class]) {
        font-size: 2.4rem;
        line-height: 1;
    }
}

.vtaHeader
{
  background: linear-gradient(to bottom, rgba(0,0,0,1) 0%,rgba(0,0,0,1) 5%,rgba(0,0,0,0) 100%);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
}
/* Scroll down more than 50px add this class to vtaHeader */
.smallHeader
{
  background: linear-gradient(to bottom, rgba(0,98,137,1) 0%,rgba(133,178,211,0.3) 100%);
}
.vtaHeaderContainer
{
   display : flex;
   flex-direction: row;
   flex-wrap: nowrap;
   justify-content: space-between;
   align-items: flex-start;
}
.vtaSchoolLogoAndName
{
   flex-grow: 1;
}
.vtaSubMenu
{
   flex-grow: 0;
   margin-top: 12px;
}
.vtaMainMenu
{
   flex-basis : 90px;
}

@media (max-width: 480px) 
{
  .vtaHeaderContainer
  {
     display : block;
  }
  .vtaHeader {
    background: linear-gradient(to bottom, rgba(0,98,137,1) 0%,rgba(133,178,211,0.3) 100%);
  }
  .vtaSubMenu
  {
    margin-top: 0;
  }
}
@media (min-width: 481px) and (max-width: 767px) 
{
  .vtaHeaderContainer
  {
     display : block;
  }
  .vtaSubMenu
  {
     margin-top: 0px;
     text-align: end;
  }
}
@media (min-width: 768px) and (max-width: 979px) 
{

}

@media (min-width: 980px) and (max-width:1199px) {
}

@media (min-width: 1200px) and (max-width:1919px) {
}

@media (min-width: 1920px) {
}

























