﻿/* version 0.0.1 */

@font-face {
    font-family: Gotham;
    font-weight: bold;
    src: url('/assets/fonts/GOTHAM-BOLD.OTF');
}

@font-face {
    font-family: Radikal;
    src: url('/assets/fonts/Nootype\ -\ Radikal\ Light.otf');
}

@font-face {
    font-family: Radikal_Medium;
    src: url('/assets/fonts/Nootype\ -\ Radikal\ Medium.otf');
}

@font-face {
    font-family: Radikal_Bold;
    font-weight: bold;
    src: url('/assets/fonts/Nootype\ -\ Radikal\ Bold.otf');
}

@font-face {
    font-family: MHeiHK-Medium;
    src: url('MHeiHK-Medium.otf');
}

@font-face {
    font-family: DFLiHeiHK-W7;
    font-weight: bold;
    src: url('/assets/fonts/DFLiHeiHK-W7.otf');
}

@font-face {
    font-family: AktivGrotesk;
    src: url('/assets/fonts/AktivGrotesk.ttf');
}

@font-face {
    font-family: AktivGrotesk_Rg;
    font-weight: bold;
    src: url('/assets/fonts/AktivGrotesk_Rg.ttf');
}

@font-face {
    font-family: AktivGrotesk_Md;
    src: url('/assets/fonts/AktivGrotesk_Md.ttf');
}

html {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0px;
    /*	font-family: Radikal_Bold !important;*/
    font-family: AktivGrotesk_Md !important;
    /*	font-family: 'AktivGrotesk';*/
}

[lang='en'],
[lang='zh-hk'],
[lang='zh-cn'],
[lang='en-inline'],
[lang='zh-hk-inline'],
[lang='zh-cn-inline'],
[lang='en-flex'],
[lang='zh-hk-flex'],
[lang='zh-cn-flex'] {
    display: none;
}

a, a:hover, a:active, a:visited, a:focus {
    text-decoration: none;
}

.radikal-medium {
    font-family: Radikal_Medium !important;
}

.radikal {
    font-family: Radikal !important;
}

.dfliheilhk-w7 {
    font-family: DFLiHeiHK-W7 !important;
}

.hk-medium {
    font-family: MHeiHK-Medium !important;
}

.sans-serif {
    font-family: sans-serif !important;
}

.padding {
    padding: 16px;
}

.padding-horizontal {
    padding: 0px 16px;
}

.padding-vertical {
    padding: 16px 16px;
}

.column {
    display: flex;
    flex-direction: column;
}

.tile.column {
    line-height: 1;
}

.row {
    display: flex;
    flex-direction: row;
}

.small-font {
    font-size: small;
}

.medium-font {
    font-size: medium;
}

.large-font {
    /* font-size: large; */
    font-size: 29px;
    line-height: 1;
}

.extra-large-font {
    font-size: 44px;
    line-height: 1;
}

.green-bg {
    background-color: #1C949C;
}

.image-container.row {
    margin-right: 0px;
}

.image-container img {
    width: 100%;
}

.image-container .col {
    padding: 0px !important;
}

.footer-image-container img {
    position: absolute;
    bottom: -74px;
    right: -411px;
}

.main-bg-container {
    /*	background-color: #C1C1C0;*/
    margin: 2em 3em 0;
}

#logo {
    width: 100%;
    text-align: center;
}

    #logo img {
        /* height: 50px; */
        padding-top: 24px;
    }

.menu {
    position: absolute;
    right: 28px;
    /*	top: 19px;*/
    top: 47px;
}

.header-container .menu {
    position: absolute;
    right: 24px;
    top: 69px;
}

.small-header {
    height: 13em !important;
}

.landing-title {
    font-size: 25px;
    padding: 16px 16px 5px 16px;
}

.main-bg-container .tri-group {
    position: relative;
    left: -28px;
    padding-bottom: 18px;
}

.top-left-design {
    position: absolute;
    top: 88px;
    left: -11px;
}

.left-tri-group {
    position: absolute;
    left: 0;
    top: 12em;
}

/* ribbon */
.corner-ribbon {
    width: 200px;
    background: #e43;
    position: absolute;
    top: 25px;
    left: -50px;
    text-align: center;
    line-height: 50px;
    letter-spacing: 1px;
    color: #f0f0f0;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

    /* Custom styles */

    .corner-ribbon.sticky {
        position: fixed;
        z-index: 10;
    }

    .corner-ribbon.shadow {
        box-shadow: 0 0 3px rgba(0, 0, 0, .3);
    }

    /* Different positions */

    .corner-ribbon.top-left {
        top: 25px;
        left: -50px;
        transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
    }

    .corner-ribbon.top-right {
        top: 25px;
        right: -50px;
        left: auto;
        transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
    }

    .corner-ribbon.bottom-left {
        top: auto;
        bottom: 25px;
        left: -50px;
        transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
    }

    .corner-ribbon.bottom-right {
        top: auto;
        right: -50px;
        bottom: 25px;
        left: auto;
        transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
    }

.bottom-right.br-2 {
    right: -94px;
    line-height: 68px;
    bottom: 9px;
}

/* Colors */

.corner-ribbon.green {
    background: #1C949C;
    color: #1C949C;
}

.corner-ribbon.yellow {
    background: #FFC900;
    color: #FFC900;
}

/* ribbon end */

/* word highlight */

span.word:after,
div.word:after,
h2.word:after {
    content: " ";
    height: 50%;
    position: absolute;
    left: 0;
    /* margin-left: -0.5rem; */
    top: 53%;
    width: calc(100%);
    /*2.75rem */
    z-index: -1;
}

span.word.green:after,
div.word.green:after,
h2.word.green:after {
    /*	background-color: #449a89;*/
}

.word.title:after {
    margin-left: -0.7rem;
    width: 110%;
    height: 30%;
    top: 71%;
}

span.word.yellow:after,
div.word.yellow:after,
h2.word.yellow:after {
    /*	background-color: #FFC900;*/
}



span.word,
div.word,
h2.word {
    position: relative;
    z-index: 1;
    display: -webkit-inline-box;
}

.word.table {
    display: table;
    width: unset;
    margin: 0;
    text-shadow: 0px 0px 9px #f6f6f6ad;
}

.text-green {
    color: #1C949C;
}

.text-grey {
    color: #706F6F;
}

.text-light-grey {
    color: #6e6e6e;
}

.text-yellow {
    color: #FFC900;
}

.leisure-bg {
    background: url(../assets/image/sensation/sen-1.png) 0 0 no-repeat;
}

.fun-bg {
    background: url(../assets/image/sensation/sen-2.png) 0 0 no-repeat;
}

.learning-bg {
    background: url(../assets/image/sensation/sen-3.png) 0 0 no-repeat;
}

.header-container {
    /*	background: linear-gradient(to bottom, #157686cc, #157686), url(../assets/image/banner-bg.jpg) 0 0 no-repeat;*/
    background: url(../assets/image/banner-bg.jpg) 0 0 no-repeat;
    background-size: cover;
    flex-basis: 14%;
    margin: 4em 2.5em 2em;
    padding-bottom: 5em;
}

.program-header-teacher {
    background: url(../assets/image/teacher-banner.png) 0 0 no-repeat;
    background-size: cover;
    flex-basis: 14%;
    padding-bottom: 15em;
}

.program-header-student {
    background: url(../assets/image/student-banner.png) 0 0 no-repeat;
    background-size: cover;
    flex-basis: 14%;
    padding-bottom: 15em;
}

.header-container-green {
    background: url(../assets/image/banner-bg-green.png) 0 0 no-repeat;
    background-size: cover;
    flex-basis: 14%;
    margin: 4em 2.5em 2em;
    padding-bottom: 5em;
}

.header-container-long {
    /*	background: url(../assets/image/long-banner.png) 0 0 no-repeat;*/
    background: url(../assets/image/programme/quiz/header.png) 0 0 no-repeat;
    background-size: cover;
    flex-basis: 14%;
    padding-bottom: 14em;
}

.header-container-fade {
    background: linear-gradient(to bottom, #ffffffcc, #e9e9e9ab), url(../assets/image/fade-banner.png) 0 0 no-repeat;
    background-size: cover;
    /*	flex-basis: 14%;*/
    padding-bottom: 7em;
    margin: 4em 2.5em 2em;
}

.header-container-district {
    /*	background: url(../assets/image/district-header.png) 0 0 no-repeat;*/
    background-size: cover;
    flex-basis: 14%;
    padding-bottom: 5em;
    margin: 1em 2.5em 2em;
}

.header-container-orange {
    background: url(../assets/image/orange-banner.png) 0 0 no-repeat;
    background-size: cover;
    /*	flex-basis: 14%;*/
    padding-bottom: 7em;
    margin: 2em 2.5em 2em;
}

.header-image-container {
    margin: 0em 1.5em 0 1.5em;
}

.header-image {
    width: 100%;
    margin-top: 2.3em;
}

    .header-image img {
        width: 100%;
    }

/* .header-container .tri-group {
    right     : -50px;
    position  : relative;
    float     : right;
    margin-top: 2.5em;
} */

.header-container .tri-group {
    right: -50px;
    position: relative;
    float: right;
    top: -46px;
    width: 170px;
    opacity: 0.7;
}

    .header-container .tri-group.one {
        top: -15px;
    }

    .header-container .tri-group.three {
        top: -80px;
    }

.header-container .title,
.header-container-fade .title,
.header-container-district .title,
.header-container-orange .title {
    display: inline-block;
    position: relative;
    left: -28px;
    font-size: 30px;
    margin: 0px;
    /*		top: -21px;*/
    top: 5px;
    line-height: 1;
    width: 100%;
}

.body-container {
    margin: 0 2.5em;
}

.bg-yellow {
    background-color: #FFC900 !important;
}

.bg-grey {
    background-color: #DADADA !important;
}

.bg-green {
    background-color: #1C949C !important;
}

.contact-input {
    width: 100%;
    border: none;
    height: 35px;
    text-align: center;
    font-weight: bold;
}

.btn {
    text-transform: uppercase;
    font-weight: bold !important;
}

.error-message {
    text-align: center;
    /*	padding: 8px 4em 0 4em;*/
    font-weight: bold;
    text-transform: uppercase;
    font-size: 10px;
    color: #E5006A;
    /*	font-family: AktivGrotesk_Md !important;*/
}

.center-button {
    display: flex !important;
    margin: 0 auto !important;
    align-items: center;
    justify-content: center;
}

.mg-top {
    margin-top: 10px !important;
}

.mg-bottom {
    margin-bottom: 2em;
}

.mg-top {
    margin-top: 2em;
}

.mg-top-0 {
    /* margin-top: 0px !important; */
    /* top: -54px; */
}

.mg-bottom-0 {
    margin-bottom: 0px !important;
}

.form-title {
    padding: 1em;
    padding-top: 0;
    line-height: 1;
    text-align: center;
}

.font-main {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
}


/* custom checkbox */
div.options > label > input {
    visibility: hidden;
}

div.options > label {
    display: block;
    margin: 0 0 0 -10px;
    padding: 0 0 20px 0;
    height: 20px;
    width: 150px;
}

    div.options > label > img {
        display: inline-block;
        padding: 0px;
        height: 25px;
        width: 25px;
        background-color: white;
    }

    div.options > label > input:checked + img {
        background: url('/assets/svg/tick.svg');
        background-repeat: no-repeat;
        background-position: center center;
        background-size: 25px 25px;
        background-color: white;
    }

.options label {
    font-size: 18px;
}

.subtitle {
    position: absolute;
    font-size: 12px;
    /*	width: 50%;*/
    width: 73%;
    color: white;
    top: 158px;
    line-height: 1.1;
}

#question .col {
    /*	height: 97px;
	border: 1px solid white;
	font-size: 2em;
	color: white;
	padding-top: 14px;*/
    /*	margin: 3px 10px;*/
    padding: 0px;
    color: white;
}

.no-border {
    border: none !important;
}

.mg-none {
    margin: 0 !important;
}

.force-bottom .follow {
    bottom: 0 !important;
}

.hint-section {
    /*	background-color: #FFC900;*/
    /*	background-color: #1BA0AC ;*/
    position: absolute;
    top: 25%;
    /* height          : 30%; */
    height: auto;
    width: 100%;
    /*	opacity: 0.9;*/
    font-size: 24px;
    /*	padding-bottom: 2em;*/
}

    .hint-section img {
        width: 100%;
    }

.hint-title {
    padding-top: 15%;
}

.hint-message {
    /*	padding: 0 3em;*/
    padding: 0 1em;
    line-height: 1.1;
}

.sitemap {
    line-height: 1.8;
    padding-top: 1em;
}

    .sitemap * {
        font-size: 17px;
    }

.container {
    padding: 0;
    margin-bottom: 2em;
}

.mb-6 {
    margin-bottom: 9em;
}

.rotated {
    transform: rotate(-16deg);
    right: -37px !important;
}

.function {
    padding: 6px 12px;
    text-align: center;
    height: 80px;
}

    .function .row {
        height: 100%;
    }

        .function .row .col-6 {
            height: 100%;
        }

            .function .row .col-6 img {
                height: 100%;
            }


    .function .col-5 {
        text-align: left;
        font-weight: bold;
        color: #878482;
        font-size: 1.1em;
    }

.divider {
    width: 100%;
    height: 1px;
    background-color: grey;
}

.ios-letter-spacing {
    letter-spacing: -1px;
    font-family: AktivGrotesk !important;
    font-weight: bold !important;
}

@media only screen and (max-width: 360px) {

    #header .title {
        font-size: 1.7em !important;
    }

    .header-container .title {
        font-size: 24px !important;
    }

    .header-container .tri-group {
        /* top: -5px !important; */
        width: 140px;
    }

        .header-container .tri-group.one {
            top: -5px !important;
        }

    .small-header {
        height: 11em !important;
    }

    div.options > label > input:checked + img {
        background-size: 20px 20px;
    }

    .options span {
        font-size: 13px;
    }

    .grid.main-bg-container {
        font-size: 14px;
    }

    /*	.landing-container {
		width: 60% !important;
	}*/

    .stamp-pos {
        width: 85px !important;
    }

    .inner-box {
        width: 85px !important;
        height: 85px !important;
        line-height: 85px !important;
    }

    .sign-in-btn {
        width: 12em !important;
    }
}
