/* This font should be replaced by your own fonts, or those from Google Fonts */
/*
@font-face {
    font-family: wix-handwritten-font;
    src: url("https://webarchive.lib.cuhk.edu.hk/20220901143746oe_/https://static.wixstatic.com/ufonts/53212f_767ce66075784cf4967265833a2c9a38/woff/file.woff") format("woff"),
    url("https://webarchive.lib.cuhk.edu.hk/20220901143746oe_/https://static.wixstatic.com/ufonts/53212f_767ce66075784cf4967265833a2c9a38/woff2/file.woff2") format("woff2"),
    url("https://webarchive.lib.cuhk.edu.hk/20220901143746oe_/https://static.wixstatic.com/ufonts/53212f_767ce66075784cf4967265833a2c9a38/ttf/file.ttf") format("ttf");
}*/

/*Google Noto Sans TC Font*/
/* noto-sans-tc-regular - latin_chinese-traditional */
/* noto-sans-tc-regular - latin_chinese-traditional */
@font-face {
  font-family: 'Noto Sans TC';
  font-style: normal;
  font-weight: 400;
  src: url('/20220901143746oe_/http://www.bme.cuhk.edu.hk/hope4care/fonts/Noto-Sans-TC/noto-sans-tc-v4-latin_chinese-traditional-regular.eot'); /* IE9 Compat Modes */
  src: local('Noto Sans TC Regular'), local('NotoSansTC-Regular'),
       url('/20220901143746oe_/http://www.bme.cuhk.edu.hk/hope4care/fonts/Noto-Sans-TC/noto-sans-tc-v4-latin_chinese-traditional-regular.eot#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/20220901143746oe_/http://www.bme.cuhk.edu.hk/hope4care/fonts/Noto-Sans-TC/noto-sans-tc-v4-latin_chinese-traditional-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('/20220901143746oe_/http://www.bme.cuhk.edu.hk/hope4care/fonts/Noto-Sans-TC/noto-sans-tc-v4-latin_chinese-traditional-regular.woff') format('woff'), /* Modern Browsers */
       url('/20220901143746oe_/http://www.bme.cuhk.edu.hk/hope4care/fonts/Noto-Sans-TC/noto-sans-tc-v4-latin_chinese-traditional-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/20220901143746oe_/http://www.bme.cuhk.edu.hk/hope4care/fonts/Noto-Sans-TC/noto-sans-tc-v4-latin_chinese-traditional-regular.svg#NotoSansTC') format('svg'); /* Legacy iOS */
}
/* noto-sans-tc-500 - latin_chinese-traditional */
@font-face {
  font-family: 'Noto Sans TC';
  font-style: normal;
  font-weight: 500;
  src: url('/20220901143746oe_/http://www.bme.cuhk.edu.hk/hope4care/fonts/Noto-Sans-TC/noto-sans-tc-v4-latin_chinese-traditional-500.eot'); /* IE9 Compat Modes */
  src: local('Noto Sans TC Medium'), local('NotoSansTC-Medium'),
       url('/20220901143746oe_/http://www.bme.cuhk.edu.hk/hope4care/fonts/Noto-Sans-TC/noto-sans-tc-v4-latin_chinese-traditional-500.eot#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/20220901143746oe_/http://www.bme.cuhk.edu.hk/hope4care/fonts/Noto-Sans-TC/noto-sans-tc-v4-latin_chinese-traditional-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('/20220901143746oe_/http://www.bme.cuhk.edu.hk/hope4care/fonts/Noto-Sans-TC/noto-sans-tc-v4-latin_chinese-traditional-500.woff') format('woff'), /* Modern Browsers */
       url('/20220901143746oe_/http://www.bme.cuhk.edu.hk/hope4care/fonts/Noto-Sans-TC/noto-sans-tc-v4-latin_chinese-traditional-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/20220901143746oe_/http://www.bme.cuhk.edu.hk/hope4care/fonts/Noto-Sans-TC/noto-sans-tc-v4-latin_chinese-traditional-500.svg#NotoSansTC') format('svg'); /* Legacy iOS */
}
/* noto-sans-tc-900 - latin_chinese-traditional */
@font-face {
  font-family: 'Noto Sans TC';
  font-style: normal;
  font-weight: 900;
  src: url('/20220901143746oe_/http://www.bme.cuhk.edu.hk/hope4care/fonts/Noto-Sans-TC/noto-sans-tc-v4-latin_chinese-traditional-900.eot'); /* IE9 Compat Modes */
  src: local('Noto Sans TC Black'), local('NotoSansTC-Black'),
       url('/20220901143746oe_/http://www.bme.cuhk.edu.hk/hope4care/fonts/Noto-Sans-TC/noto-sans-tc-v4-latin_chinese-traditional-900.eot#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/20220901143746oe_/http://www.bme.cuhk.edu.hk/hope4care/fonts/Noto-Sans-TC/noto-sans-tc-v4-latin_chinese-traditional-900.woff2') format('woff2'), /* Super Modern Browsers */
       url('/20220901143746oe_/http://www.bme.cuhk.edu.hk/hope4care/fonts/Noto-Sans-TC/noto-sans-tc-v4-latin_chinese-traditional-900.woff') format('woff'), /* Modern Browsers */
       url('/20220901143746oe_/http://www.bme.cuhk.edu.hk/hope4care/fonts/Noto-Sans-TC/noto-sans-tc-v4-latin_chinese-traditional-900.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/20220901143746oe_/http://www.bme.cuhk.edu.hk/hope4care/fonts/Noto-Sans-TC/noto-sans-tc-v4-latin_chinese-traditional-900.svg#NotoSansTC') format('svg'); /* Legacy iOS */
}

/* nanum-gothic-regular - latin */
@font-face {
    font-family: 'Nanum Gothic';
    font-style: normal;
    font-weight: 400;
    src: url('/20220901143746oe_/http://www.bme.cuhk.edu.hk/hope4care/fonts/nanum-gothic/nanum-gothic-v14-latin-regular.eot'); /* IE9 Compat Modes */
    src: local('NanumGothic'),
    url('/20220901143746oe_/http://www.bme.cuhk.edu.hk/hope4care/fonts/nanum-gothic/nanum-gothic-v14-latin-regular.eot#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('/20220901143746oe_/http://www.bme.cuhk.edu.hk/hope4care/fonts/nanum-gothic/nanum-gothic-v14-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
    url('/20220901143746oe_/http://www.bme.cuhk.edu.hk/hope4care/fonts/nanum-gothic/nanum-gothic-v14-latin-regular.woff') format('woff'), /* Modern Browsers */
    url('/20220901143746oe_/http://www.bme.cuhk.edu.hk/hope4care/fonts/nanum-gothic/nanum-gothic-v14-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
    url('/20220901143746oe_/http://www.bme.cuhk.edu.hk/hope4care/fonts/nanum-gothic/nanum-gothic-v14-latin-regular.svg#NanumGothic') format('svg'); /* Legacy iOS */
}
/* nanum-gothic-800 - latin */
@font-face {
    font-family: 'Nanum Gothic';
    font-style: normal;
    font-weight: 800;
    src: url('/20220901143746oe_/http://www.bme.cuhk.edu.hk/hope4care/fonts/nanum-gothic/nanum-gothic-v14-latin-800.eot'); /* IE9 Compat Modes */
    src: local('NanumGothic ExtraBold'), local('NanumGothic-ExtraBold'),
    url('/20220901143746oe_/http://www.bme.cuhk.edu.hk/hope4care/fonts/nanum-gothic/nanum-gothic-v14-latin-800.eot#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('/20220901143746oe_/http://www.bme.cuhk.edu.hk/hope4care/fonts/nanum-gothic/nanum-gothic-v14-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
    url('/20220901143746oe_/http://www.bme.cuhk.edu.hk/hope4care/fonts/nanum-gothic/nanum-gothic-v14-latin-800.woff') format('woff'), /* Modern Browsers */
    url('/20220901143746oe_/http://www.bme.cuhk.edu.hk/hope4care/fonts/nanum-gothic/nanum-gothic-v14-latin-800.ttf') format('truetype'), /* Safari, Android, iOS */
    url('/20220901143746oe_/http://www.bme.cuhk.edu.hk/hope4care/fonts/nanum-gothic/nanum-gothic-v14-latin-800.svg#NanumGothic') format('svg'); /* Legacy iOS */
}
/* nanum-gothic-700 - latin */
@font-face {
    font-family: 'Nanum Gothic';
    font-style: normal;
    font-weight: 700;
    src: url('/20220901143746oe_/http://www.bme.cuhk.edu.hk/hope4care/fonts/nanum-gothic/nanum-gothic-v14-latin-700.eot'); /* IE9 Compat Modes */
    src: local('NanumGothic Bold'), local('NanumGothic-Bold'),
    url('/20220901143746oe_/http://www.bme.cuhk.edu.hk/hope4care/fonts/nanum-gothic/nanum-gothic-v14-latin-700.eot#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('/20220901143746oe_/http://www.bme.cuhk.edu.hk/hope4care/fonts/nanum-gothic/nanum-gothic-v14-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
    url('/20220901143746oe_/http://www.bme.cuhk.edu.hk/hope4care/fonts/nanum-gothic/nanum-gothic-v14-latin-700.woff') format('woff'), /* Modern Browsers */
    url('/20220901143746oe_/http://www.bme.cuhk.edu.hk/hope4care/fonts/nanum-gothic/nanum-gothic-v14-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
    url('/20220901143746oe_/http://www.bme.cuhk.edu.hk/hope4care/fonts/nanum-gothic/nanum-gothic-v14-latin-700.svg#NanumGothic') format('svg'); /* Legacy iOS */
}
.header-links {
    text-decoration: none;
}

#header-container {
    height: auto;
    width: 100%;

    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#f7f0e7+0,e6eaeb+100 */
    background: #f7f0e7; /* Old browsers */
    background: -moz-linear-gradient(45deg, #f7f0e7 0%, #e6eaeb 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(45deg, #f7f0e7 0%,#e6eaeb 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(45deg, #f7f0e7 0%,#e6eaeb 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f0e7', endColorstr='#e6eaeb',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

#header-logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 48px;
    padding-bottom: 31px;
}

@media screen and (min-width: 419px) {
    #cuhk-logo-svg {
        width: 418px;
        height: 73px;
    }

    #hkjc-logo-svg {
        width: 434px;
        height: 74px;
    }
}

@media screen and (max-width: 418px) {
    #cuhk-logo-svg {
        width: 100%;
        height: 73px;
    }

    #hkjc-logo-svg {
        width: 100%;
        height: 74px;
    }

}


@media screen and (min-width: 1000px) {
    #header-logo-container {
        flex-direction: row;

    }
    #logo-spacer {
        order: 2;
        flex: 0 0 100px;
    }
    #campaign-chinese-title {
        font-size: 70px;
    }
    #campaign-english-title {
        font-size: 30px;
    }
}

@media screen and (max-width: 999px) {
    #header-logo-container {
        flex-direction: row;
        text-align: center;
    }
    #logo-spacer {
        flex: 0 0 50px
    }
    #campaign-chinese-title {
        font-size: calc(16px + 10 * ((100vw - 120px) / 120));
    }

    #campaign-english-title {
        font-size: calc(16px + 2 * ((100vw - 120px) / 120));
    }
}

#hkjc-logo-link-wrapper {
    order: 1;
    height: auto;
}

#cuhk-logo-link-wrapper {
    order: 3;
    height: auto;
}

#logo-spacer {
    order: 2;
}

#campaign-chinese-title, #campaign-english-title {
    width: 100%;
    font-family: 'Noto Sans TC';
	font-weight: 500;
    text-align: center;
    color: #486a74;
    margin: 0;
}

#campaign-english-title {
    text-decoration: none;
    font-family: "Nanum Gothic";
    font-weight: 700;
}


.navbar {
    min-height: 40px;
}

.navbar-brand {
    font-family: 'Noto Sans TC';
	font-weight: 500;
    color: white;
}

.nav-item, .navbar-brand {
    font-size: 20px;
}

.bg-custom {
    background: #8fd3e8;
}

.dropdown-menu {
    margin-top: 8px;
    width: 100%;
}

.dropdown-item {
    text-align: center;
}

.dropdown-item:active {
    background-color: #8fd3e8;
    color:white;
}

@media screen and (min-width: 999px) {
    .navbar-nav {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .navbar-nav > li {
        float: none;
        flex: 1 1 auto;
        max-width: 20%;
        text-align: center;
    }
}


@media screen and (max-width: 998px) {
    .navbar-nav {
        width: 100%;
        display: flex;
    }

    .navbar-nav > li {
        float: none;
        width: 100%;
        text-align: center;
        flex: 1 1 auto;
    }
}

#bottom-container {
    background-color: #8fd3e8;
    position: relative;
    padding: 50px;
    margin: 0;
    margin-top: 20px;
}

.social-icon-container {
    display: flex;
    flex-direction: row;
    vertical-align: middle;
    size: 50px;
}

.social-icon{
    flex: 0 0 30px;
    line-height: 30px;
    width: 30px;
    height: 30px;
    text-align: center;
    vertical-align: bottom;
}

.more-info-button {
    margin: 20px;
    margin-left: 50px;
    margin-right: 50px;
    padding: 10px;
}

.btn-primary {
    color: white; !important;
    background-color: #8fd3e8; !important;
    border-color: #bef0ff; !important;
    width: 100%
}

.btn-primary:hover {
    color: white; !important;
    background-color: #bef0ff !important;
    border-color: #bef0ff; !important;
}

.btn-primary:focus {
    color: white; !important;
    background-color: #6b9eae !important;
    border-color: #bef0ff; !important;
}

.btn-primary:active {
    color: white; !important;
    background-color: #6b9eae !important;
    border-color: #bef0ff; !important;
}

