@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --main-green: #009992;
}

body {
    background-color: #f0f0f0;
}

html,
body {
    height: 100%;
}

.template-parents-page-content h1 {
    /* m-0 */
    margin: 0;
    /* p-2 */
    padding: 0.5rem;
    /* text-center */
    text-align: center;
    /* text-green */
    color: var(--main-green) !important;

    font-size: calc(1.3rem + .6vw) !important;
}

@media (min-width: 1200px) {

    .template-parents-page-content .h1,
    .template-parents-page-content h1 {
        font-size: 1.75rem !important;
    }
}

.template-parents-page-content nav {
    /* d-flex */
    display: flex;
    /* align-items-center */
    align-items: center;
    /* justify-content-around */
    justify-content: space-around;
    /* p-3 */
    padding: 1rem;
    /* text-green */
    color: var(--main-green) !important;
    /* sub-navbar */
}

a {
    text-decoration: none !important;
}

.template-parents-page-content nav,
.template-parents-page-content nav a {
    /* text-green */
    color: var(--main-green) !important;
    /* fw-bold */
    font-weight: bold;
    font-size: 1.2rem;
}

.template-parents-page-content h2 {
    background: no-repeat center center/cover;
    margin-top: 0 !important;
    /* my-5 */
    margin-bottom: 3rem;
    padding: 95px 0px;
    /* color-white */
    color: #ffffff !important;
    /* text-center */
    text-align: center;
}

.template-parents-page-content h2:nth-of-type(4n + 1) {
    background-image: url(https://i-learner.edu.hk/wp-content/uploads/2024/05/shutterstock_262537175-scaled.jpg);
}

.template-parents-page-content h2:nth-of-type(4n + 2) {
    background-image: url(https://i-learner.edu.hk/wp-content/uploads/2024/05/girl-science-scaled.jpg);
}

.template-parents-page-content h2:nth-of-type(4n + 3) {
    background-image: url(https://i-learner.edu.hk/wp-content/uploads/2024/05/27-1-e1562752997162-1366x768-c-default.jpg);
}

.template-parents-page-content h2:nth-of-type(4n + 4) {
    background-image: url(https://i-learner.edu.hk/wp-content/uploads/2024/05/contact-us.png);
}

.template-parents-page-content ul {
    list-style-image: url(../img/bullet-point.svg);
    border-left: 2px solid green;
}

.template-parents-page-content li {
    /* pb-5 */
    padding-bottom: 1.5rem;
}

.template-parents-page-content li::marker {
    font-size: 28px;
    line-height: 1em;
}

.template-parents-page-content li b:first-child,
.template-parents-page-content li strong:first-child {
    /* text-green */
    color: var(--main-green) !important;
}

/* container */
.template-parents-page-content ul {
    width: calc(100% - 3rem);
    margin-right: auto;
    margin-left: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.template-parents-page-content li {
    margin-left: 1.5em;
}

@media (min-width: 576px) {
    .template-parents-page-content ul {
        /* container */
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .template-parents-page-content ul {
        /* container */
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .template-parents-page-content ul {
        /* container */
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .template-parents-page-content ul {
        /* container */
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .template-parents-page-content ul {
        /* container */
        max-width: 1320px;
    }
}


.border-green {
    border-color: var(--main-green) !important;
}

.bg-green {
    background-color: var(--main-green) !important;
}

.content-bg-img {
    position: relative;
}

.border-left-before {
    position: relative;
}

.border-left-before:before {
    content: "";
    position: absolute;
    border-left: 2px solid green;
    width: 1px;
    height: 100%;
    left: 0px;
}

.answer-item {
    font-size: 0.85rem;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 0px 0px #5f8579, 0 0 0px 0px #5f857924;
}

.answer-item p {
    text-indent: 16px;
}

.answer-item:hover {
    box-shadow: inset 0 0 0px 1px #5f8579, 0 0 16px 0px #5f857924;
}

.answer-item:before {
    position: absolute;
    content: "";
    background: url('./img/copy.svg') no-repeat center center;
    width: 18px;
    height: 20px;
    left: 3px;
    top: 7px;
}

.logo-text {
    line-height: 1.0;
    color: #007f80;
    font-size: 1rem;
}

.logo-text div:nth-child(1) {
    font-family: "Noto Sans", sans-serif;
}

.logo-text div:nth-child(2) {
    font-family: "Noto Serif", serif;
    font-weight: bold;
    font-size: 1.3rem;
}


nav {
    background-repeat: no-repeat !important;
    background-position: -3px 0px !important;
}

[name="hero-titles"] {
    font-weight: bold;
    font-size: 13px;
    white-space: nowrap;
}

[name="hero-titles"] input[type="radio"]:checked+label {
    color: #007f80;
}

[name="hero-titles"] input[type="radio"]+label {
    color: black;
}

[name="sub-titles"] {
    font-size: 0.9rem;
    font-weight: bold;
}

[name="sub-titles"] input[type="radio"]:checked+label {
    color: #007f80;
}

[name="sub-titles"] input[type="radio"]+label {
    color: black;
}



figure.sub-topic {
    position: relative;
}

figure.sub-topic .cover-img {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    height: 70px;
}

figure.sub-topic figcaption {
    background-color: #F7CD1C;
    color: black;
}

.sub-navbar a {
    text-decoration: none;
    font-size: 1.3rem;
}