/* color */
:root {
    --i2-theme-blue: #019ABA;
    --i2-theme-yellow: #FFD467;
    --i2-theme-black: #000;
    --i2-theme-purple: #FFAEFC;
    --i2-theme-orange-1: #FFA667;
    --i2-theme-orange-2: #FFDDC5;
    --i2-theme-bg-green: #DCFADF;
    --i2-theme-bg-earth: #F5F3DE;
    --i2-theme-bg-blue-1: #CBF3FD;
    --i2-theme-bg-blue-2: #E2FBFF;
    --i2-theme-bg-pink-1: #FDE5F9;
    --i2-theme-bg-pink-2: #F1DAED;
    --i2-theme-bg-yellow-1: #FFFEF7;
    --i2-theme-bg-yellow-2: #F4F29D;
    --i2-theme-color-black-2: #272727;
    --i2-theme-border-lightBlue: #BBEFF7;
    --i2-theme-border-green-1: #B6F0BB;
    --i2-theme-border-green-2: #99DA9F;
}

/* system */
ul {
    padding-left: 0;
    margin-bottom: 0;
}

.item-list li,
li {
    margin: 0;
}

.main-content .region-content {
    padding-left: 0;
    padding-right: 0;
}

.section-padding {
    padding: 100px 0;
}

.title-icon {
    position: relative;
}

.title-icon::before {
    content: '';
    width: 10px;
    height: 50px;
    border-radius: 10px;
    border: 2px solid var(--i2-theme-yellow);
    transform: rotate(-16.761deg);
    position: absolute;
    left: -38px;
    top: 3px;
}

.title-icon::after {
    content: '';
    width: 10px;
    height: 50px;
    border-radius: 10px;
    border: 2px solid var(--i2-theme-yellow);
    transform: rotate(16.761deg);
    position: absolute;
    right: -38px;
    top: 3px;
}

a:hover {
    color: var(--i2-theme-black);
}

@media (min-width: 1400px) {
    .container-xxl {
        max-width: 1600px;
    }
}

.node__content> :last-child {
    overflow: hidden;
}

.medium-container {
    max-width: 1010px;
    margin: 0 auto;
    padding-right: 20px;
    padding-left: 20px;
}

.container,
.container-fluid,
.container-xxl,
.container-xl,
.container-lg,
.container-md,
.container-sm {
    padding-right: 20px;
    padding-left: 20px;
}

.form-required::after {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 0.3em;
    content: "";
    vertical-align: super;
    background-image: url(/themes/custom/i2_theme/image/icon/required.svg);
    background-repeat: no-repeat;
    background-size: 6px 6px;
}

.ajax-progress-fullscreen {
    position: fixed;
    z-index: 1261;
    top: 48.5%;
    left: calc(50% - 30px);
    width: 60px;
    height: 60px;
    padding: 4px;
    background-color: unset;
    background-image: url(/themes/custom/i2_theme/image/icon/loading-small.gif);
    background-repeat: no-repeat;
    background-position: center center;
}

/*********** chatbot ***********/
.chat-popup {
    width: 350px;
    height: 500px;
    display: none;
    /* 初始状态为隐藏 */
    position: fixed;
    bottom: 30px;
    right: 25px;
    z-index: 99;
    opacity: 0;
    filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.20));
    /* 初始透明度 */
    transition: opacity 0.3s ease, transform 0.3s ease;
    /* 添加过渡效果 */
    transform: translateY(100%);
}

.chat-popup iframe {
    border: none;
    border-radius: 20px;
    width: 100%;
    height: 100%;
}

.chat-popup .chat-body {
    overflow: hidden;
    /* 防止内容溢出 */
    width: 100%;
    height: 100%;
}

.chat-popup.show {
    display: block;
    /* 显示时设置为块级元素 */
    opacity: 1;
    /* 完全不透明 */
    transform: translateY(0);
    /* 移动到正常位置 */
}

.chat-popup #close-btn {
    position: absolute;
    cursor: pointer;
    right: -20px;
    top: -20px;
}

.chat-popup .screen {
    display: inline-block;
    position: absolute;
    cursor: pointer;
    right: -20px;
    top: 44px;
}

#open-chat {
    position: fixed;
    z-index: 97;
    bottom: 50px;
    right: 21px;
    cursor: pointer;
    transition: transform 0.3s;
    /* 添加过渡效果 */
}

#open-chat:hover {
    transform: translateY(-10px);
    /* 向上移动10px */
}

#open-chat img {
    width: 156px;
    height: auto;
    cursor: pointer;
}

.chat-popup .screen-btn {
    display: block;
}

.chat-popup .screen-extend-btn,
.chat-popup.centered .screen-btn {
    display: none;
}

.chat-popup.centered .screen-extend-btn {
    display: block;
}

/* 中心化後的樣式 */
.chat-popup.centered {
    width: 90vw;
    height: 90vh;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    display: block;
}

/* 背景虛化樣式 */
.background-blur {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 98;
}

.background-blur.active {
    display: block;
}

/* 背景 */
.page-node-9 #block-i2-theme-content,
.page-node-11 #block-i2-theme-content,
.page-node-24 #block-i2-theme-content,
.page-node-25 #block-i2-theme-content {
    background-color: #fff;
    background-image:
        linear-gradient(to right, #F5F5F5 1px, transparent 1px),
        linear-gradient(to bottom, #F5F5F5 1px, transparent 1px);
    background-size: 20px 20px;
}

/* paragraph */
.paragraph>.paragraph__column {
    padding: 0;
}

/* Header */
body:not(.path-user, .path-webform) header,
body.user-body header {
    width: 100%;
    position: fixed;
    z-index: 98;
}

header>nav {
    /* background-color: var(--i2-theme-bg-blue-2); */
    padding: 23px 0 !important;
    background-color: unset;
    transition: all 0.2s ease;
}

.scrolled-fixed header>nav {
    background-color: var(--i2-theme-bg-blue-2);
    padding: 15px 0 !important;
}

/* Header logo */
header .region-nav-branding,
header .header-logo-section>ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    /* row-gap: 10px; */
    position: relative;
}

.header-logo-section>ul>li:last-child img {
    width: auto;
    height: 70px;
}

.navbar-brand img {
    height: 65px;
}

/* Header login */
header .login-section>ul {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
    transition: all 0.2s ease;
}

.scrolled-fixed header .login-section>ul {
    margin-bottom: 10px;
}

header .header-logo-section>ul>li:nth-child(1) {
    margin-right: 30px;
}

header .header-logo-section>ul>li:nth-child(1) img {
    height: 66px;
}

header .header-logo-section>ul>li:nth-child(2) {
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;
}

header .header-logo-section>ul>li:nth-child(2) p {
    margin-bottom: 0;
    margin-left: 10px;
    margin-right: 30px;
}


header .login-section>ul>li:not(:last-child) {
    margin-right: 10px;
}

header .login-section>ul>li {
    padding: 10px 14px;
    color: var(--i2-theme-blue);
    background-color: #fff;
    border: 1px solid var(--i2-theme-border-lightBlue);
    font-size: 1rem;
    border-radius: 30px;
    letter-spacing: 0.8px;
    display: inline-block;
}


header .login-section>ul>li:last-child {
    background-color: var(--i2-theme-yellow);
}

header .login-section>ul>li:last-child img {
    vertical-align: text-top;
    margin-right: 2px;
    margin-top: 1px;
}

header .offcanvas {
    width: 100vw !important;
}

.login-section>ul>li:last-child {
    position: relative;
    cursor: pointer;
}

.login-section>ul>li:last-child>.dropdown-menu {
    border: 1px solid var(--i2-theme-border-lightBlue);
    min-width: unset;
    width: 100%;
    padding: 0;
    overflow: hidden;
    position: absolute;
    left: 2px;
    top: 42px;

}

.login-section>ul>li:last-child>.dropdown-menu a {
    display: block;
    padding: 10px;
    text-align: center;
}

.login-section>ul>li:last-child>.dropdown-menu a:hover {
    color: var(--i2-theme-blue) !important;
    background-color: var(--i2-theme-yellow);
}

.login-section>ul>li a {
    color: var(--i2-theme-blue) !important;
}

header .login-section>ul>li:not(:last-child):hover {
    background-color: var(--i2-theme-blue);
}

header .login-section>ul>li:not(:last-child):hover a {
    color: #fff !important;
}

header .offcanvas .offcanvas-body {
    display: block !important;
}

header #block-i2-theme-branding .navbar-brand>div {
    display: none;
}

header #block-i2-theme-main-navigation>ul {
    margin-right: -15px;
}

header #block-i2-theme-main-navigation>ul>li>a,
header #block-i2-theme-main-navigation>ul>li>span {
    color: var(--i2-theme-blue);
    font-size: 1.125rem;
    line-height: 1;
    cursor: pointer;
    padding: 10px 15px;
    position: relative;
}

header #block-i2-theme-main-navigation>ul>li>a:hover {
    color: #ED985C;
}

header #block-i2-theme-main-navigation>ul>li>a.active {
    color: var(--i2-theme-blue);
}

header #block-i2-theme-main-navigation>ul>li>a.active::after {
    content: '';
    width: 100%;
    height: 4px;
    border-radius: 8px;
    background-color: var(--i2-theme-yellow);
    display: block;
    position: relative;
    bottom: -10px;
}

#block-i2-theme-account-menu {
    display: none;
}

header .navbar-brand img,
header .navbar-brand {
    margin-right: 0;
    padding: 0;
}

/* Side Share */
#block-i2-theme-sidesharesection {
    display: none;
    width: 50px;
    position: fixed;
    right: 8px;
    z-index: 95;
    top: 24%;
    background-color: #fff;
    border: 1px solid var(--i2-theme-blue);
    border-radius: 100px;
    padding: 25px 9px 19px;
}

#block-i2-theme-sidesharesection>div:not(.contextual) {
    display: inline-block;
    margin-bottom: 14px;
}

#block-i2-theme-sidesharesection>div:not(.contextual):last-child {
    margin-bottom: 0;
}

#block-i2-theme-sidesharesection>div:not(.contextual)>a {
    display: inline-block;
}

/* Homepage **************************************************/
/* Homepage banner **************************************************/
.frontpagebanner-Swiper {
    background-color: var(--i2-theme-bg-blue-2);
}

.frontpagebanner-Swiper .banner-item>img {
    /* height: calc(100vh - 151.89px); */
    width: 100%;
    object-fit: contain;
    height: 100vh;
}

.bannerSwiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--i2-theme-yellow) !important;
}

/* Homepage News List **************************************************/
.homepage-news-list-Swiper .swiper-slide {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    transition: 300ms;
    transform: scale(0.85);
    width: 50%;
}

.homepage-news-list-Swiper .swiper-slide .views-field,
.homepage-news-list-Swiper .swiper-slide .views-field img {
    aspect-ratio: 16 / 9;
    width: 100%;
    object-fit: cover;
    border-radius: 30px;
    /* max-width: 810px; */
}

.homepage-news-list-Swiper .swiper-slide-active,
.swiper-slide-duplicate-active {
    transform: scale(1);
}

.homepage-news-list-Swiper .swiper-slide .content {
    color: #019ABA;
    font-size: 1.25rem;
    margin-top: 10px;
    line-height: 1.7;
    display: none;
}

.homepage-news-list-Swiper .swiper-slide-active:hover .content {
    color: #ED985C;
}

.homepage-news-list-Swiper .swiper-slide-active .content {
    display: block;
}

.homepage-news-list-Swiper .swiper-slide .content time {
    display: block;
    font-size: 1rem;
    color: #272727;
    margin-top: 15px;
}

.block-views-blockblock-homepage-news-block-1 .view-header {
    margin-bottom: 50px;
    text-align: center;
}

h2.title-icon {
    color: var(--i2-theme-blue);
    font-weight: 400;
    line-height: 1.087;
    margin-bottom: 0;
    letter-spacing: 2.3px;
    display: inline-block;
}


.block-views-blockblock-homepage-news-block-1 .swiper-button,
.block-views-blockblock-homepage-news-block-1 .swiper-button .swiper-button-prev,
.block-views-blockblock-homepage-news-block-1 .swiper-button .swiper-button-prev,
.block-views-blockblock-homepage-news-block-1 .swiper-button .swiper-button-prev,
.block-views-blockblock-homepage-news-block-1 .swiper-button>.swiper-button-content {
    position: relative;
    z-index: 11;
}

.block-views-blockblock-homepage-news-block-1 .swiper-button {
    justify-content: center;
    display: flex;
    margin-top: 50px;
    height: 34px;
}

.block-views-blockblock-homepage-news-block-1 .swiper-button>.swiper-button-content {
    max-width: 600px;
    width: 100%;
}

.block-views-blockblock-homepage-news-block-1 .swiper-button-prev,
.block-views-blockblock-homepage-news-block-1 .swiper-button-next {
    background: url(/themes/custom/i2_theme/image/icon/swiper_arrow.svg) center center no-repeat;
    background-size: contain;
    width: 34px;
    height: 34px;
    margin-top: -17px;
    opacity: 1;
    transition: all 0.2s ease;
}

.block-views-blockblock-homepage-news-block-1 .swiper-button-prev:hover,
.block-views-blockblock-homepage-news-block-1 .swiper-button-next:hover {
    background: url(/themes/custom/i2_theme/image/icon/swiper_arrow_hover.svg) center center no-repeat;
    background-size: contain;
}

.block-views-blockblock-homepage-news-block-1 .swiper-button-next {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.block-views-blockblock-homepage-news-block-1 .swiper-button-prev:after,
.block-views-blockblock-homepage-news-block-1 .swiper-button-next:after {
    display: none;
}

.block-views-blockblock-homepage-news-block-1 .swiper-button-prev:hover,
.block-views-blockblock-homepage-news-block-1 .swiper-button-next:hover {
    opacity: 1;
}

.block-views-blockblock-homepage-news-block-1 .swiper-pagination-fraction {
    color: var(--i2-theme-blue);
    font-size: 1.25rem;
    height: 100%;
    bottom: 0;
}

.block-views-blockblock-homepage-news-block-1 .swiper-pagination-fraction>span:first-child {
    color: var(--i2-theme-blue);
}

/* Homepage Story **************************************************/
.homepage-story {
    background: var(--i2-theme-bg-green);
    padding: 100px 0;
}

.homepage-story>.paragraph {
    justify-content: center;
    display: flex;
}

.homepage-story>.paragraph>.paragraph__column {
    max-width: 1100px;
    padding: 0;
}

.homepage-story .paragraph--type--text-two-column>.paragraph__column>.layout--twocol-section {
    justify-content: space-between;
    column-gap: 0;
}

.homepage-story .layout--twocol-section>.layout__region--first {
    width: 484px;
    flex: 0 1 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.homepage-story .layout--twocol-section>.layout__region--second {
    width: 454px;
    flex: 0 1 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.homepage-story .block-field-blockparagraphtext-two-columnbp-header {
    text-align: center;
    margin-bottom: 20px;
}

.homepage-story .block-field-blockparagraphtext-two-columnbp-header>h2 {
    display: inline-block;
}

.homepage-story .layout__region--second {
    display: flex;
    justify-content: center;
    align-items: center;
}

.homepage-story .layout__region--second .story-left-section {
    text-align: center;
}

.homepage-story .layout__region--second .story-left-section>.content>div {
    font-size: 1.25rem;
    color: var(--i2-theme-blue);
    line-height: 1.7;
    letter-spacing: 1px;
    text-align: left;
    padding-left: 50px;
    padding-right: 48px;
    padding-top: 13px;
    position: relative;
}

.homepage-story .layout__region--second .story-left-section>.content>div::before {
    background: url(/themes/custom/i2_theme/image/icon/story_right_icon.png) no-repeat;
    background-size: contain;
    content: '';
    top: 0;
    left: -5px;
    position: absolute;
    width: 45px;
    height: 29px;
}

.homepage-story .layout__region--second .story-left-section>.content>div::after {
    background: url(/themes/custom/i2_theme/image/icon/story_right_icon.png) no-repeat;
    background-size: contain;
    content: '';
    bottom: 0px;
    right: 0;
    position: absolute;
    width: 45px;
    height: 29px;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.homepage-story .field--name-field-media-image img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.homepage-story .layout__region--second .story-left-section>.content>ul {
    display: flex;
    margin-top: 40px;
    justify-content: center;
}

.homepage-story .layout__region--second .story-left-section>.content>ul>li:first-child {
    margin-right: 10px;
}

.homepage-story .layout__region--second .story-left-section>.content>ul>li>a {
    color: var(--i2-theme-blue);
    border-radius: 30px;
    border: 1px solid var(--i2-theme-border-green-1);
    background: #FFF;
    padding: 13px 20px;
    display: inline-block;
}

.homepage-story .layout__region--second .story-left-section>.content>ul>li>a:hover {
    background: var(--i2-theme-blue);
    color: #fff !important;
}

.homepage-story .layout__region--second .story-left-section>.content>ul>li>a img {
    margin-left: 10px;
    vertical-align: baseline;
}

/* Homepage team */
.view-block-homepage-team-list {
    display: none;
}

.view-block-homepage-team-list .view-header {
    text-align: center;
}

.view-block-homepage-team-list .view-header>div {
    margin-top: 30px;
}

.view-block-homepage-team-list .view-header>div>p {
    display: inline-block;
    border-radius: 30px;
    border: 2px solid var(--i2-theme-blue);
    font-size: 1.25rem;
    line-height: 1.3;
    color: var(--i2-theme-blue);
    padding: 9px 24px;
    margin-bottom: 50px;
}

.view-block-homepage-team-list .view-content.row {
    margin-left: -25px;
    margin-right: -25px;
}

.view-block-homepage-team-list .view-content .col-md-6,
.view-block-homepage-team-list .view-content .col-lg-4 {
    padding-left: 25px;
    padding-right: 25px;
}

.view-block-homepage-team-list .card-list {
    padding: 90px 0 50px;
    border-radius: 300px;
    margin-bottom: 30px;
    overflow: hidden;
    max-width: 392px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.view-block-homepage-team-list .card-list .content {
    text-align: center;
}

.view-block-homepage-team-list .card-list .content .card-avatar {
    position: relative;
    z-index: 2;
}
.view-block-homepage-team-list .card-list .content .card-avatar img {
    max-width: 200px;
}


.view-block-homepage-team-list .views-row:nth-child(4n + 1) .card-list {
    background: var(--i2-theme-bg-blue-1);
}

.view-block-homepage-team-list .views-row:nth-child(4n + 1) .card-avatar::after {
    background: url(/themes/custom/i2_theme/image/icon/graphic_1.png) no-repeat;
    background-size: contain;
    content: '';
    width: 282px;
    height: 242px;
    position: absolute;
    top: -60px;
    left: calc(50% - 141px);
    z-index: -1;
}

.view-block-homepage-team-list .views-row:nth-child(4n + 2) .card-list {
    background: var(--i2-theme-bg-earth);
}

.view-block-homepage-team-list .views-row:nth-child(4n + 2) .card-avatar::after {
    background: url(/themes/custom/i2_theme/image/icon/graphic_2.png) no-repeat;
    background-size: contain;
    content: '';
    width: 310px;
    height: 115px;
    position: absolute;
    top: 25px;
    left: calc(50% - 155px);
    z-index: -1;
}

.view-block-homepage-team-list .views-row:nth-child(4n + 3) .card-list {
    background: var(--i2-theme-bg-green);
}

.view-block-homepage-team-list .views-row:nth-child(4n + 3) .card-avatar::after {
    background: url(/themes/custom/i2_theme/image/icon/graphic_3.png) no-repeat;
    width: 294px;
    height: 152px;
    bottom: 0;
    left: calc(50% - 147px);
    background-size: contain;
    content: '';
    position: absolute;
    z-index: -1;
}

.view-block-homepage-team-list .views-row:nth-child(4n + 4) .card-list {
    background: var(--i2-theme-bg-pink-1);
}

.view-block-homepage-team-list .views-row:nth-child(4n + 4) .card-avatar::after {
    background: url(/themes/custom/i2_theme/image/icon/graphic_4.png) no-repeat;
    width: 285px;
    height: 160px;
    bottom: 37px;
    left: calc(50% - 142.5px);
    background-size: contain;
    content: '';
    position: absolute;
    z-index: -1;
}

.view-block-homepage-team-list .card-list .subContent {
    max-width: 200px;
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-top: 2px dashed var(--i2-theme-blue);
    color: var(--i2-theme-blue);
}

.view-block-homepage-team-list .card-list .subContent .card-chinese-name {
    font-size: 1.375rem;
    margin-top: 10px;
}

.view-block-homepage-team-list .card-list .subContent .card-english-name {
    font-size: 1.125rem;
    margin-bottom: 20px;
}

.view-block-homepage-team-list .card-list .subContent .number-label {
    font-size: 1rem;
    padding: 4px 6px;
    border-radius: 4px;
    background-color: var(--i2-theme-bg-yellow-2);
    display: inline-block;
    margin-bottom: 10px;
}

.view-block-homepage-team-list .card-list .subContent .card-number {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.view-block-homepage-team-list .card-list .subContent .card-software {
    display: none;
}

.view-block-homepage-team-list .card-list .subContent .card-software ul {
    margin-bottom: 0;
    display: flex;
    justify-content: center;
}

.view-block-homepage-team-list .card-list .subContent .card-software ul>li {
    width: 30px;
    height: 30px;
}

.view-block-homepage-team-list .card-list .subContent .card-software ul>li .icon {
    position: relative;
}

.view-block-homepage-team-list .card-list .subContent .card-software ul>li .icon-1::before {
    background: url(/themes/custom/i2_theme/image/icon/instagram.svg) no-repeat;
    background-size: contain;
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    left: 0;
}

.view-block-homepage-team-list .card-list .subContent .card-software ul>li .icon-2::before {
    background: url(/themes/custom/i2_theme/image/icon/whatsapp.svg) no-repeat;
    background-size: contain;
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    left: 0;
}

.view-block-homepage-team-list .card-list .subContent .card-software ul>li .icon-3::before {
    background: url(/themes/custom/i2_theme/image/icon/whatsapp.svg) no-repeat;
    background-size: contain;
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    left: 0;
}

.view-block-homepage-team-list .card-list .subContent .card-software ul>li+li {
    margin-left: 20px;
}

/* footer **************************************************/
footer:not(.comment__meta) {
    background-color: var(--i2-theme-bg-blue-2);
    padding: 50px 0;
}

footer #block-i2-theme-sitebranding .navbar-brand>div {
    display: none;
}

footer .footer-top .navbar-brand img {
    height: 90px;
}

footer .footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 50px;
}

footer #block-i2-theme-footertopleft .subcontent {
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

footer #block-i2-theme-footertopleft .subcontent>:nth-child(2) {
    width: 84px;
}

footer #block-i2-theme-footertopleft ul li,
footer #block-i2-theme-footertopleft a {
    height: 100%;
    display: block;
    line-height: 30px;
    color: var(--i2-theme-blue);
    margin-bottom: 0;
}

footer .footer-bottom {
    display: flex;
    justify-content: space-between;
}

footer .footer-top .region-footer-top-right,
footer .bottomLeft-section,
footer .bottomLeft-section ul,
footer .bottomLeft-section .content {
    display: flex;
}

footer .footer-top .region-footer-top-right .navbar-nav .nav-link {
    color: var(--i2-theme-blue);
    padding: 0;
    white-space: nowrap;
}

footer .footer-top .region-footer-top-right .navbar-nav a.nav-link {
    cursor: pointer;
}

footer .footer-top .region-footer-top-right .navbar-nav a.nav-link:hover {
    color: #ED985C;
}

footer .footer-top .region-footer-top-right .navbar-nav>li:not(:last-child) {
    margin-bottom: 14px;
}

footer .footer-top .region-footer-top-right #block-i2-theme-mainnavigation {
    margin-right: 130px;
}

footer .login-section>ul>li {
    text-align: right;
    margin-bottom: 20px;
}

footer .login-section>ul>li:last-child {
    margin-bottom: 0px;
}

footer .login-section>ul>li>a,
footer .login-section>ul>li>.menu-trigger {
    padding: 10px 14px;
    color: var(--i2-theme-blue);
    background-color: #fff;
    border: 1px solid var(--i2-theme-border-lightBlue);
    font-size: 1rem;
    border-radius: 30px;
    letter-spacing: 0.8px;
    display: inline-block;
    white-space: nowrap;
}

footer .login-section>ul>li:not(:last-child) a:hover {
    background-color: var(--i2-theme-blue);
    color: #fff !important;
}

footer .login-section>ul>li:last-child img {
    display: none;
}

footer .login-section>ul>li:last-child>.menu-trigger {
    background-color: var(--i2-theme-yellow);
}

footer .footer-bottom {
    margin-top: 114px;
}

footer .bottomLeft-section .content>ul {
    margin-right: 50px;
}

footer .bottomLeft-section .content>ul>li:not(:last-child) {
    margin-right: 20px;
}

footer .bottomLeft-section .content>div>ul>li>a,
#block-i2-theme-footerbottomright a {
    height: 100%;
    display: block;
    line-height: 30px;
    color: var(--i2-theme-blue);
    margin-bottom: 0;
}

footer .bottomLeft-section .content>div>ul>li:first-child {
    margin-right: 30px;
    font-size: 1rem;
}

/* ComingSoon **************************************************/
.ComingSoonBody .ComingSoon-body {
    background: var(--i2-theme-bg-green);
    text-align: center;
    padding: 220px 20px 150px 20px;
}

.ComingSoonBody .ComingSoon-body .content>img {
    margin-top: 20px;
    margin-bottom: 60px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.content-botton a,
.content-botton div {
    background-color: var(--i2-theme-yellow);
    padding: 15px 48px;
    color: var(--i2-theme-blue);
    border: 1px solid var(--i2-theme-border-lightBlue);
    font-size: 1.5rem;
    border-radius: 30px;
    letter-spacing: 0.8px;
    display: inline-block;
    cursor: pointer;
    transition: all 0.2s ease;
}

.webform-type-radios .content-botton div {
    display: none;
}

/* 咩係戒賭輔導 page **************************************************/
.page-node-8 #block-i2-theme-content {
    background-color: var(--i2-theme-bg-green);
}

.SmartPlay-section {
    background: var(--i2-theme-bg-earth);
    padding: 80px 0px 400px 0px;
}

.SmartPlay-section>.paragraph {
    max-width: 1260px;
}

.SmartPlay-section .block-field-blockparagraphtext-two-columnbp-header {
    display: none;
}

.SmartPlay-section .block-field-blockparagraphtext-two-columnfield-left-content .title {
    font-size: 6.25rem;
    letter-spacing: 5px;
    color: #fff;
    line-height: 1;
}

.SmartPlay-section .block-field-blockparagraphtext-two-columnfield-left-content h2.title-icon {
    margin-left: 48px;
    margin-top: 8px;
}

.SmartPlay-section .block-field-blockparagraphtext-two-columnfield-left-content .content>p {
    color: var(--i2-theme-blue);
    font-size: 1.125rem;
    line-height: 1.77;
    margin-top: 50px;
    margin-bottom: 0;
    width: 100%;
    max-width: 700px;
}

.SmartPlay-step {
    margin-top: -350px;
}

.SmartPlay-step>div {
    border-radius: 30px;
    border: 2px solid #019ABA;
    background: #FFF;
    max-width: 1560px;
    padding: 60px 50px;
}

.SmartPlay-step>div>div.paragraph__column {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    /* 讓子項目能換行 */
}

.SmartPlay-step>div>div.paragraph__column>div:not(.field--name-field-width-content, .field--name-field-class) {
    flex: 0 1 auto;
    width: 270px;
    padding-top: 33px;
}

.SmartPlay-step .paragraph--type--card-list-section .paragraph__column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.SmartPlay-step .paragraph--type--card-list-section .field--name-field-media-image {
    width: 100%;
    max-width: 230px;
}

.SmartPlay-step .paragraph--type--card-list-section .field--name-field-text-title {
    color: var(--i2-theme-blue);
    font-size: 1.125rem;
    line-height: 1.77;
    margin-top: 20px;
    margin-bottom: 0;
    width: 100%;
    max-width: 260px;
    text-align: center;
    letter-spacing: 1.2px;

}

.SmartPlay-step .paragraph--type--card-list-section>.paragraph__column {
    position: relative;
}

.SmartPlay-step .paragraph--type--card-list-section>.paragraph__column>.field--name-bp-modal-title {
    color: var(--i2-theme-blue);
    font-size: 3.75rem;
    line-height: 1;
    position: absolute;
    top: -33px;
    left: 0;
    z-index: 2;
}

.SmartPlay-step .paragraph--type--card-list-section>.paragraph__column>.field--name-bp-modal-title::after {
    content: '';
    border-radius: 10px;
    border: 2px solid var(--i2-theme-yellow);
    height: 10px;
    width: 74px;
    position: absolute;
    bottom: -18px;
    left: 0;
}

.SmartPlay-Service {
    margin-top: 100px;
    margin-bottom: 100px;
}

.SmartPlay-Service>.paragraph {
    max-width: 1220px;
}

.Service-section .content {
    text-align: center;
}

.Service-section .content p {
    color: var(--i2-theme-blue);
    font-size: 1.125rem;
    line-height: 1.77;
    letter-spacing: 1.2px;
}

.Service-section .subTitle {
    margin-top: 30px;
    text-align: center;
    margin-bottom: 50px;
}

.Service-section .subTitle p {
    margin-bottom: 0;
    display: inline-block;
    border-radius: 30px;
    border: 2px solid var(--i2-theme-blue);
    background: #FFF;
    padding: 8px 24px;
}

.SmartPlay-Step {
    background-color: #fff;
    background-image: linear-gradient(to right, #F5F5F5 1px, transparent 1px), linear-gradient(to bottom, #F5F5F5 1px, transparent 1px);
    background-size: 20px 20px;
    padding-top: 100px;
    padding-bottom: 150px;
}

.SmartPlay-Step .paragraph--type--card-list-section>.paragraph__column {
    display: flex;
}

.SmartPlay-Step .paragraph--type--card-list>.paragraph__column>div:not(.field--name-bp-modal-title, .field--name-field-images, .field--name-bp-modal-title) {
    padding: 60px 50px 60px 0;
    border-radius: 30px;
    margin-bottom: 30px;
    background-color: var(--i2-theme-bg-blue-2)
}

.SmartPlay-Step .paragraph--type--card-list>.paragraph__column>div:nth-child(3) {
    background-color: var(--i2-theme-bg-blue-2)
}

.SmartPlay-Step .paragraph--type--card-list>.paragraph__column>div:nth-child(4) {
    background-color: var(--i2-theme-bg-earth)
}

.SmartPlay-Step .paragraph--type--card-list>.paragraph__column>div:nth-child(5) {
    background-color: var(--i2-theme-bg-green)
}

.SmartPlay-Step .paragraph--type--card-list>.paragraph__column>div:nth-child(6) {
    background-color: var(--i2-theme-bg-pink-1);
}

.SmartPlay-Step .paragraph--type--card-list-section .field--name-bp-modal-title {
    writing-mode: vertical-rl;
    text-orientation: upright;
    color: var(--i2-theme-blue);
    font-size: 2.75rem;
    position: relative;
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.SmartPlay-Step .paragraph--type--card-list-section .field--name-bp-modal-title::after {
    content: '';
    /* position: absolute;
    border-radius: 10px;
    border: 2px solid var(--i2-theme-yellow);
    width: 38px;
    height: 10px;
    top: 23%;
    left: calc(50% - 19px); */

}

.SmartPlay-Step .paragraph--type--card-list-section .field--name-field-images {
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    width: calc(7% + 282px);
}

.SmartPlay-Step .paragraph--type--card-list-section .list {
    flex: 0 1 auto;
    width: 55%;
}

.SmartPlay-Step .paragraph--type--card-list-section .list .title {
    color: var(--i2-theme-color-black-2);
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.SmartPlay-Step .paragraph--type--card-list-section .list li {
    color: var(--i2-theme-blue);
    font-size: 1.125rem;
    margin-bottom: 20px;
    padding-left: 32px;
    position: relative;
}

.SmartPlay-Step .paragraph--type--card-list-section .list li:last-child {
    margin-bottom: 0;
}

.SmartPlay-Step .paragraph--type--card-list-section .list li::before {
    position: absolute;
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--i2-theme-yellow);
    left: 0;
    top: 7px;
}

/* 睇吓你有冇賭癮 page **************************************************/
.page-node-9 .test-start {
    padding-top: 100px;
    padding-bottom: 150px;

}

.page-node-9 .test-section,
.page-node-9 .webform-submission-form #edit-main-area fieldset {
    border: 2px solid #019ABA;
    border-radius: 10px;
    background: var(--i2-theme-bg-green);
    padding: 30px 25px;
}

.page-node-9 .test-section>.content {
    border-top: 2px dashed var(--i2-theme-border-green-2);
    border-bottom: 2px dashed var(--i2-theme-border-green-2);
}

.page-node-9 .test-section .subcontent {
    margin: 50px 0;
}

.page-node-9 .test-section .test-top {
    display: flex;
    flex-wrap: wrap;
}

.page-node-9 .test-section .test-top>div {
    flex: 0 1 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0 20px;
}


.page-node-9 .test-section .test-top>img {
    max-width: 378px;
}

.page-node-9 .test-section .subcontent .title-icon {
    margin-left: 45px;
    margin-bottom: 30px;
}

.page-node-9 .test-section .subcontent .text p {
    color: var(--i2-theme-blue);
    font-size: 1.125rem;
    line-height: 1.77;
    width: 100%;
}

.page-node-9 .test-section .subcontent .text>div {
    width: 100%;
}

.page-node-9 .test-section .test-footer {
    text-align: center;
}

.content-botton {
    margin: 30px 0
}

.test-footer>div:nth-child(2) {
    color: var(--i2-theme-blue);
    font-size: 0.9375rem;
}

.page-node-9 .webform-submission-form #edit-form-title,
.page-node-9 .webform-submission-form #edit-intro,
.page-node-9 .webform-submission-form #edit-warning-msg,
.page-node-9 .webform-submission-form .form-actions {
    display: none;
}

.page-node-9 .webform-submission-form #edit-main-area fieldset {
    margin-top: 100px;
    margin-bottom: 150px;
    padding: 14% 6.7% 50px 0;
    position: relative;
    display: none;
}

.page-node-9 .webform-submission-form #edit-main-area fieldset legend {
    background-color: unset;
    padding: 0;
    border: unset;
    color: var(--i2-theme-blue);
    font-size: 1.125rem;
    line-height: 1.77;
    font-weight: 400;
    margin-top: 35px;
    min-height: 160px;
}

.page-node-9 .webform-submission-form #edit-main-area fieldset .fieldset-top {
    display: flex;
    justify-content: space-between;
}

.page-node-9 .webform-submission-form #edit-main-area fieldset .fieldset-top h2.title-icon {
    margin-left: 48px;
}

.page-node-9 .webform-submission-form #edit-main-area fieldset .fieldset-top .sequence {
    display: flex;
    align-items: flex-end;
    color: var(--i2-theme-blue);
    font-size: 1.5rem;
}

.page-node-9 .webform-submission-form #edit-main-area fieldset .test-footer {
    text-align: center;
    margin-top: 80px;
    margin-bottom: 50px;
}


.page-node-9 .webform-submission-form #edit-main-area fieldset .fieldset-wrapper {
    padding: 0;
}

.page-node-9 .webform-submission-form #edit-main-area fieldset .fieldset-wrapper>div {
    display: flex;
}

.page-node-9 .webform-submission-form #edit-main-area fieldset .fieldset-wrapper>div>div {
    min-width: 180px;
    margin: 0;
}

.page-node-9 .webform-submission-form #edit-main-area fieldset .fieldset-wrapper>div>div:nth-child(1) {
    margin-right: 20px;
}

.page-node-9 .webform-submission-form #edit-main-area fieldset .fieldset-wrapper>div>div input {
    opacity: 0;
}

.page-node-9 .webform-submission-form #edit-main-area fieldset .fieldset-wrapper>div>div label {
    border-radius: 30px;
    border: 1px solid var(--i2-theme-border-green-1);
    font-size: 1.5rem;
    padding: 13px;
    text-align: center;
    max-width: 180px;
    display: block;
    width: 100%;
    cursor: pointer;
}

.page-node-9 .webform-submission-form #edit-main-area fieldset .fieldset-wrapper>div>div:nth-child(1) label {
    background: var(--i2-theme-blue);
    color: #fff;
}

.page-node-9 .webform-submission-form #edit-main-area fieldset .fieldset-wrapper>div>div:nth-child(2) label {
    background: #fff;
    color: var(--i2-theme-blue);
}

.page-node-9 .webform-submission-form #edit-main-area fieldset .fieldset-wrapper>div>div label:hover {
    background-color: var(--i2-theme-yellow) !important;
    color: (--i2-theme-black) !important;
}

.page-node-9 .webform-submission-form #edit-main-area fieldset .fieldset-top,
.page-node-9 .webform-submission-form #edit-main-area fieldset legend,
.page-node-9 .webform-submission-form #edit-main-area fieldset .fieldset-wrapper>div {
    padding-left: calc(100% - 425px);
}

.page-node-9 input[type="radio"]:checked+label {
    background-color: var(--i2-theme-yellow) !important;
    color: var(--i2-theme-blue);
}

.page-node-9 .webform-submission-form #edit-main-area fieldset::after {
    content: '';
    background: url(/themes/custom/i2_theme/image/content/fieldset_left.png) no-repeat;
    position: absolute;
    background-size: cover;
    width: 332px;
    height: 403px;
    left: calc((93.3% - 757px) * 0.5);
    top: 114px;
}

.page-node-9 .webform-submission-form #edit-main-area fieldset::before {
    content: '';
    position: absolute;
    width: 95%;
    border-top: 2px dashed var(--i2-theme-border-green-2);
    top: 27px;
    right: 2.5%;
}

.page-node-9 .webform-submission-form #edit-main-area fieldset .test-footer::before {
    content: '';
    position: absolute;
    width: 95%;
    border-top: 2px dashed var(--i2-theme-border-green-2);
    bottom: 27px;
    right: 2.5%;
}

.page-node-9 .test-footer .content-botton>div:hover {
    background: var(--i2-theme-blue);
    color: #fff;
}

.page-node-9 .Assessment-results-section {
    text-align: center;
    margin-top: 100px;
    margin-bottom: 150px;
    border: 2px solid var(--i2-theme-blue);
    border-radius: 10px;
    background: var(--i2-theme-bg-earth);
}

.page-node-9 .Assessment-results-section>div {
    padding: 27px 30px;
}

.page-node-9 .Assessment-results-section>div>div {
    border-top: 2px dashed var(--i2-theme-border-green-2);
    border-bottom: 2px dashed var(--i2-theme-border-green-2);
    padding: 120px 50px;
}

.Assessment-results-section #edit-main-area {
    margin: 20px;
}

.page-node-9 .Assessment-results-section .subTitle {
    margin-top: 20px;
    font-size: 1.5rem;
    color: var(--i2-theme-black-2);
    margin-bottom: 20px;
}

.page-node-9 .Assessment-results-section .subcontent p {
    color: var(--i2-theme-blue);
    font-size: 1.125rem;
    margin-bottom: 80px;
}

.page-node-9 .Assessment-results-section .results-button {
    display: flex;
    justify-content: center;
}

.page-node-9 .Assessment-results-section .results-button>li {
    display: inline-block;
    margin: 0 13px;
}

.page-node-9 .Assessment-results-section .results-button>li:nth-child(1) {
    border-radius: 30px;
    border: 1px solid var(--i2-theme-border-green-1);
    font-size: 1.5rem;
    padding: 13px;
    text-align: center;
    max-width: 180px;
    display: block;
    width: 100%;
    cursor: pointer;
    background: #fff;
    color: var(--i2-theme-blue);
}

.page-node-9 .Assessment-results-section .results-button>li:nth-child(2) {
    border-radius: 30px;
    border: 1px solid var(--i2-theme-border-green-1);
    font-size: 1.5rem;
    padding: 13px;
    text-align: center;
    max-width: 180px;
    display: block;
    width: 100%;
    cursor: pointer;
    background-color: var(--i2-theme-yellow);
    color: var(--i2-theme-blue);
}

.page-node-9 .Assessment-results-section .results-button>li:hover {
    border: 1px solid var(--i2-theme-border-green-1);
    background: var(--i2-theme-bg-pink-1);
}

.page-node-9 .Assessment-results-section {
    display: none;
}

.page-node-9 .Assessment-results {
    padding-left: 20px;
    padding-right: 20px;
}

/* 點搵我地 page **************************************************/
.page-node-11 .contact-us {
    background: var(--i2-theme-bg-green);
    padding: 100px 0;
}

.page-node-11 .contact-us .paragraph--type--text-two-column>.paragraph__column>.layout--twocol-section {
    justify-content: space-between;
}

.page-node-11 .contact-us .paragraph--type--text-two-column>.paragraph__column>.layout--twocol-section .column-50 {
    margin: 0;
}

.page-node-11 .contact-us .layout__region--first {
    display: flex;
    align-items: center;
}

.page-node-11 .contact-us .block-field-blockparagraphtext-two-columnbp-header {
    text-align: center;
}

.page-node-11 .contact-us .head-html {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 50px;
}

.page-node-11 .contact-us .head-html>div {
    display: inline-block;
    border-radius: 30px;
    border: 2px solid var(--i2-theme-blue);
    background: #FFF;
    padding: 10px 24px;
    color: var(--i2-theme-blue);
    font-size: 1.25rem;
}

.page-node-11 .contact-us .left-section {
    color: var(--i2-theme-blue);
}

.page-node-11 .contact-us .left-section .title {
    font-size: 2rem;
    line-height: 1.75;
    letter-spacing: 1.6px;
    margin-bottom: 30px;
    position: relative;
}

.page-node-11 .contact-us .left-section .title::before {
    content: '';
    background: url(/themes/custom/i2_theme/image/content/title_pins.svg) no-repeat;
    position: absolute;
    background-size: cover;
    width: 80px;
    height: 93px;
    left: -38px;
    top: -93px;
}

.page-node-11 .contact-us .left-section .content ul.subcontent li {
    margin-bottom: 20px;
    font-size: 1.125rem;
    display: flex;
}

.page-node-11 .contact-us .left-section .content ul.subcontent li>span:nth-child(1) {
    flex: 0 0 auto;
    width: 20%;
}

.page-node-11 .contact-us .left-section .content ul.share {
    display: flex;
    margin-top: 50px;
}

.page-node-11 .contact-us .left-section .content ul.share li:not(:last-child) {
    margin-right: 30px;
}

.page-node-11 .contact-us .block-field-blockparagraphtext-two-columnfield-right-content .block-field-blockparagraphbp-simplebp-text {
    margin-right: 10px;
    margin-bottom: 10px;
    position: relative;
}

.page-node-11 .contact-us .block-field-blockparagraphtext-two-columnfield-right-content .block-field-blockparagraphbp-simplebp-text::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--i2-theme-bg-pink-1);
    border: 2px solid var(--i2-theme-blue);
    bottom: -10px;
    right: -10px;
    border-radius: 30px;
}

.page-node-11 .contact-us .block-field-blockparagraphtext-two-columnfield-right-content .block-field-blockparagraphbp-simplebp-text .field--name-bp-text {
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.page-node-11 .webform-submission-contact-form-new-form {
    margin-top: 94px;
    margin-bottom: 150px;
}

.page-node-11 .block-webform .title {
    margin-top: 100px;
    text-align: center;
}

.page-node-11 .block-webform .hint {
    position: relative;
}

.page-node-11 .block-webform .hint::after {
    content: "";
    background-image: url(/themes/custom/i2_theme/image/icon/plane.svg);
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    width: 366px;
    height: 181px;
    right: -34px;
    top: -139px;
}

.page-node-11 .block-webform .hint p {
    font-size: 1rem;
    color: #FF8B66;
    padding-left: 20px;
    position: relative;
}

.page-node-11 .block-webform .hint p::before {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 0.3em;
    content: "";
    vertical-align: super;
    background-image: url(/themes/custom/i2_theme/image/icon/required.svg);
    background-repeat: no-repeat;
    background-size: 6px 6px;
    position: absolute;
    left: 0;
    top: 8px;
}

.page-node-11 .block-webform .webform-submission-contact-form-new-form {
    background-color: var(--i2-theme-bg-yellow-2);
    border: 2px solid var(--i2-theme-blue);
    border-radius: 30px;
    padding: 70px calc(7.8% + 20px);
    position: relative;
}

.page-node-11 .block-webform .webform-submission-contact-form-new-form::before {
    content: '';
    position: absolute;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    background-color: var(--i2-theme-bg-yellow-1);
    border: 2px solid var(--i2-theme-blue);
    left: 20px;
    top: 20px;
    border-radius: 18px;
    z-index: 0;
}

.page-node-11 .block-webform .webform-submission-contact-form-new-form::after {
    content: '';
    background: url(/themes/custom/i2_theme/image/content/title_clip.svg) no-repeat;
    position: absolute;
    background-size: cover;
    width: 200px;
    height: 90px;
    left: calc(50% - 100px);
    z-index: 2;
    top: -44px;

}

.page-node-11 .block-webform .webform-submission-contact-form-new-form>div {
    position: relative;
    z-index: 1;
    margin-top: 0;
    margin-bottom: 30px;
}

.page-node-11 .block-webform .webform-submission-contact-form-new-form>div#edit-actions {
    margin-bottom: 0;
}

.page-node-11 .block-webform .webform-submission-contact-form-new-form #edit-container {
    display: flex;
}

.page-node-11 .block-webform .webform-submission-contact-form-new-form #edit-container>div {
    flex: 0 1 50%;
}

.page-node-11 .block-webform .webform-submission-contact-form-new-form #edit-container .js-form-item {
    display: flex;
    margin-top: 0;
    margin-bottom: 30px;
}

.page-node-11 .block-webform .webform-submission-contact-form-new-form #edit-container .js-form-item.form-item-phone {
    margin-bottom: 20px;
}

.page-node-11 .block-webform .webform-submission-contact-form-new-form #edit-container #edit-contact-type-radio .js-form-item {
    margin-bottom: 10px;
}

.page-node-11 .block-webform .webform-submission-contact-form-new-form #edit-container #edit-contact-type-radio .js-form-item:last-child {
    margin-bottom: 0;
}

.page-node-11 .block-webform .webform-submission-contact-form-new-form #edit-container .js-form-item label {
    color: var(--i2-theme-blue);
    font-size: 1.125rem;
    flex: 0 0 auto;
    padding: 0 20px;
    position: relative;
}

.page-node-11 .block-webform .webform-submission-contact-form-new-form #edit-container .js-form-item .form-required::after,
.page-node-11 .block-webform .webform-submission-contact-form-new-form>div.form-item-comment label::after {
    position: absolute;
    left: 0;
    top: 8px;
}

.page-node-11 .block-webform .webform-submission-contact-form-new-form #edit-container .js-form-item>input {
    border: unset;
    border-bottom: 1px solid var(--i2-theme-blue);
    border-radius: unset;
    background-color: unset;
    padding: 0;
}

.page-node-11 .block-webform .webform-submission-contact-form-new-form #edit-container .js-form-item>input[type="text"] {
    flex: 1 1 auto;
}

.page-node-11 .block-webform .webform-submission-contact-form-new-form #edit-container .js-form-item>input#edit-name,
.page-node-11 .block-webform .webform-submission-contact-form-new-form #edit-container .js-form-item>input#edit-age,
.page-node-11 .block-webform .webform-submission-contact-form-new-form #edit-container .js-form-item>input#edit-gender {
    max-width: 300px;
}

.page-node-11 .block-webform .webform-submission-contact-form-new-form fieldset legend,
.page-node-11 .block-webform .webform-submission-contact-form-new-form fieldset {
    padding: 0;
    background-color: unset;
    border: unset;

}

.page-node-11 .block-webform .webform-submission-contact-form-new-form fieldset {
    flex-direction: row;
}

.page-node-11 .block-webform .webform-submission-contact-form-new-form #edit-container fieldset legend {
    display: inline-block;
    width: 110px;
}

.page-node-11 .block-webform .webform-submission-contact-form-new-form #edit-container fieldset legend>span {
    padding-left: 20px;
    font-weight: 400;
    color: var(--i2-theme-blue);
}

.page-node-11 .block-webform .webform-submission-contact-form-new-form #edit-container fieldset .fieldset-wrapper {
    flex: unset;
    padding: unset;
    margin-left: 20px;
}

.page-node-11 .block-webform .webform-submission-contact-form-new-form #edit-container .js-form-item>input[type="radio"] {
    accent-color: var(--i2-theme-blue);
    transform: scale(1.4);
    border: 1px solid var(--i2-theme-blue) !important;
}

.page-node-11 .block-webform .webform-submission-contact-form-new-form #edit-container #edit-help-options {
    display: flex;
}

.page-node-11 .block-webform .webform-submission-contact-form-new-form #edit-container #edit-help-options>.js-form-item>input {
    border: 1px solid rgba(0, 0, 0, 0.25);
}

.page-node-11 .block-webform .webform-submission-contact-form-new-form #edit-disclaimers--wrapper legend {
    display: none;
}

.page-node-11 .block-webform .webform-submission-contact-form-new-form>div.form-item-comment {
    display: flex;
}

.page-node-11 .block-webform .webform-submission-contact-form-new-form>div.form-item-comment label {
    position: relative;
    padding: 0 20px;
    color: var(--i2-theme-blue);
    font-size: 1.125rem;
    min-width: 90px;
}

.page-node-11 .block-webform .webform-submission-contact-form-new-form>div.form-item-comment .form-textarea-wrapper {
    width: 100%;
}

.page-node-11 .block-webform .webform-submission-contact-form-new-form>div.form-item-comment .form-textarea-wrapper textarea.form-control {
    border: 1px solid var(--i2-theme-blue);
}

.page-node-11 .block-webform .webform-submission-contact-form-new-form #edit-disclaimers--wrapper {
    flex-direction: row;
    margin-top: 50px;
    margin-bottom: 50px;
}

.page-node-11 .block-webform .webform-submission-contact-form-new-form #edit-disclaimers--wrapper>.fieldset-wrapper {
    padding: 0;
}

.page-node-11 .block-webform .webform-submission-contact-form-new-form #edit-disclaimers--wrapper>.fieldset-wrapper .form-radios .form-item {
    margin: 0;
}

.page-node-11 .block-webform .webform-submission-contact-form-new-form #edit-disclaimers {
    color: var(--i2-theme-blue);
}

.page-node-11 .block-webform .webform-submission-contact-form-new-form #edit-disclaimers input {
    accent-color: var(--i2-theme-blue);
    transform: scale(1.4);
    transform-origin: left;
}

.page-node-11 .block-webform .webform-submission-contact-form-new-form #edit-disclaimers label {
    padding: 0 20px;
}

.page-node-11 .block-webform .webform-submission-contact-form-new-form .form-actions input {
    border-radius: 30px;
    background: var(--i2-theme-yellow);
    color: var(--i2-theme-blue);
    font-size: 24px;
    display: block;
    width: 100%;
    max-width: 180px;
    margin-left: auto;
    margin-right: auto;
    padding: 13px 15px 15px;
    border: unset;
}

.page-node-11 .block-webform .webform-submission-contact-form-new-form .form-actions input:hover {
    background-color: var(--i2-theme-blue);
    color: #fff;
}

/* Details Page Banner **************************************************/
.paragraph--type--banner-section {
    width: 100%;
    height: 500px;
    background: url("/themes/custom/i2_theme/image/content/banner_bg.jpg") no-repeat;
    background-size: cover;
    background-position: 50%;
    position: relative;
    font-size: 1.5rem;
}

.paragraph--type--banner-section .field--name-field-color {
    display: none;
}

.paragraph--type--banner-section .paragraph__column {
    height: 100%;
    position: unset;
}

.paragraph--type--banner-section .field--name-field-title {
    line-height: 1;
    color: var(--i2-theme-blue);
    font-size: 2.5rem;
    width: 495px;
    height: 144px;
    padding-top: 63px;
    position: absolute;
    left: calc(50% - 254px);
    top: 54%;
}

.paragraph--type--banner-section .field--name-field-title.color-14 {
    background: url("/themes/custom/i2_theme/image/content/badge_green.png") no-repeat;
    background-size: auto;
    background-size: cover;
    background-position: 50%;
    display: flex;
    justify-content: center;
}

.paragraph--type--banner-section .field--name-field-title.color-15 {
    background: url("/themes/custom/i2_theme/image/content/badge_pink.png") no-repeat;
    background-size: auto;
    background-size: cover;
    background-position: 50%;
    display: flex;
    justify-content: center;
}

.paragraph--type--banner-section .field--name-field-title.color-16 {
    background: url("/themes/custom/i2_theme/image/content/badge_yellow.png") no-repeat;
    background-size: auto;
    background-size: cover;
    background-position: 50%;
    display: flex;
    justify-content: center;
}

/* user login Page  **************************************************/
.user-body #block-i2-theme-local-tasks nav.tabs-wrapper {
    display: none;
}

.user-body {
    background-color: var(--i2-theme-bg-green);
}

.user-main #block-i2-theme-content {
    align-items: flex-start;
    margin: 220px 0 150px;
}

.user-main #block-i2-theme-content .left {
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
}

.user-main #block-i2-theme-content .left img {
    width: 100%;
    max-width: 530px;
}

.user-main #block-i2-theme-content>form {
    background: #F5FFF6;
    border-radius: 20px;
    border: 2px solid var(--i2-theme-blue);
    width: calc(50% - 40px);
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 80px;
    padding: 40px;
    position: relative;
}

.user-main #block-i2-theme-content>form.user-register-form {
    background: #FFFEF7;
}

.user-main #block-i2-theme-content>form::after {
    content: '';
    background: url(/themes/custom/i2_theme/image/icon/user_pins.svg) no-repeat;
    position: absolute;
    background-size: cover;
    width: 80px;
    height: 93px;
    right: -22px;
    top: -38px;
}

.user-main #block-i2-theme-content>form .title {
    position: absolute;
    top: -90px;
    left: 50px;
}

.user-main #block-i2-theme-content>form label {
    font-size: 1.125rem;
    line-height: 1;
    color: var(--i2-theme-blue);
    margin-bottom: 15px;
}

.user-main #block-i2-theme-content>form .form-type-managed-file,
.user-main #block-i2-theme-content>form .form-type-managed-file>label,
.user-main #block-i2-theme-content>form #edit-contact {
    color: var(--i2-theme-blue);
    border-color: var(--i2-theme-blue);
}

.user-main #block-i2-theme-content>form .form-type-managed-file .form-managed-file {
    padding: 5px 20px 0;
    margin-bottom: -10px;
}

.user-main #block-i2-theme-content>form .form-type-managed-file .form-file {
    width: 100%;
}

.user-main #block-i2-theme-content>form .form-type-managed-file input::file-selector-button {
    border: var(--i2-theme-blue) 1px solid;
    border-radius: 4px;
    color: var(--i2-theme-blue);
}

.user-main #block-i2-theme-content>form #edit-contact .card-header {
    border-color: var(--i2-theme-blue);
    color: var(--i2-theme-blue);
}

.user-main #block-i2-theme-content>form .form-control {
    border-color: var(--i2-theme-blue);
    border-radius: 4px;
}

.user-main #block-i2-theme-content>form .form-item .description {
    color: var(--i2-theme-blue);
    margin-top: 10px;
}

.user-main #block-i2-theme-content>form .js-form-item {
    margin-bottom: 30px;
    margin-top: 0;
}

.user-main #block-i2-theme-content>form .form-actions>a {
    color: var(--i2-theme-blue);
}

.user-main #block-i2-theme-content>form .form-actions {
    justify-content: space-between;
    display: flex;
    margin-bottom: 0;
    margin-top: 50px;
    align-items: center
}

.user-main #block-i2-theme-content>form .form-actions input {
    background-color: var(--i2-theme-yellow);
    border: unset;
    border-radius: 50px;
    color: var(--i2-theme-blue);
    font-size: 24px;
    line-height: 1;
    width: 180px;
    padding: 13px;
}

.user-main #block-i2-theme-content>form .form-actions input:hover {
    background: var(--i2-theme-bg-pink-1);
}

/* user register Page  **************************************************/
.user--register-body {
    background-color: var(--i2-theme-bg-earth);
}

.user--register-body .user-main #block-i2-theme-content>form .form-actions a {
    visibility: hidden;
}

/* 喂!我哋都搞掂咗! Page  **************************************************/
.page-node-10 {
    background-color: var(--i2-theme-bg-green);
}

.page-node-10 .casino-debt-card {
    border-radius: 30px;
    border: 2px solid var(--i2-theme-blue);
    background: #FFF;
    margin-bottom: 57px;
}

.page-node-10 .casino-debt-card .content {
    display: flex;
    padding: 60px 70px 30px 60px;
    position: relative;
}

.page-node-10 .casino-debt-card .content .card-left {
    position: relative;
    flex: 1 0 auto;
    width: 463px;
}

.page-node-10 .casino-debt-card .content .card-right {
    flex: 1 0 auto;
    width: calc(100% - 463px);
    position: relative;
}

.page-node-10 .casino-debt-card .content .card-left::after {
    content: '';
    background: url(/themes/custom/i2_theme/image/content/card_left_image.svg) no-repeat;
    position: absolute;
    background-size: contain;
    width: 393px;
    aspect-ratio: 393 / 307;
    left: 0;
    top: -85px;
}

.page-node-10 .casino-debt-card .content .card-left img {
    width: 100%;
    max-width: 325px;
    position: relative;
    z-index: 1;
    border: 2px solid var(--i2-theme-blue);
    border-radius: 20px;
}

.page-node-10 .casino-debt-card .content .card-left a {
    position: relative;
    display: inline-block;
    z-index: 3;
    transform: rotate(2.5deg);
    bottom: 60px;
    left: 23px;
}

.page-node-10 .casino-debt-card .content .card-left a::after {
    content: '';
    background: url(/themes/custom/i2_theme/image/icon/play.svg) no-repeat;
    position: absolute;
    background-size: contain;
    width: 53px;
    height: 53px;
    z-index: 3;
    bottom: -22px;
    right: 10px;
}

.page-node-10 .casino-debt-card .content .card-left a:hover::after {
    background: url(/themes/custom/i2_theme/image/icon/play_hover.svg) no-repeat;
}

.page-node-10 .casino-debt-card .content .card-right .card-title {
    color: var(--i2-theme-color-black-2);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.page-node-10 .casino-debt-card .content .card-right .card-text {
    color: var(--i2-theme-blue);
    font-size: 1.125rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-node-10 .casino-debt-card .content .card-right .card-text p {
    color: var(--i2-theme-blue);
    margin-bottom: 20px;
}

.page-node-10 .casino-debt-card .content .card-right .more a {
    /* background-color: var(--i2-theme-yellow); */
    background: var(--i2-theme-yellow) url(../image/icon/play_icon.svg) right 17px center no-repeat;
    background-size: right 17px top 17px;
    border-radius: 30px;
    color: var(--i2-theme-blue);
    font-size: 1.25rem;
    line-height: 1;
    padding: 11px 17px 13px 23px;
    display: inline-block;
    margin-top: 30px;
}

.page-node-10 .casino-debt-card .content .card-right .more a img {
    opacity: 0;
    margin-left: 8px;
    margin-bottom: 2px;
}

.page-node-10 .casino-debt-card .content .card-right .more a:hover {
    background: var(--i2-theme-blue) url(../image/icon/play_icon_white.svg) right 17px center no-repeat;
    color: #fff;
}

.page-node-10 .block-views-blockblock-casino-debt-block-1 .views-field-field-tags {
    display: none;
}

.page-node-10 .casino-debt-card .content .card-tag {

    border: 2px solid var(--i2-theme-blue);
    border-radius: 50px;
    background: var(--i2-theme-yellow);
    color: var(--i2-theme-blue);
    font-size: 24px;
    line-height: 1;
    padding: 11px 25px 15px;
    position: absolute;
    right: 48px;
    top: -27px;
}

.page-node-10 .casino-debt-card .content .card-tag.tag-1 {
    background: #FDE5F9;
}

.page-node-10 .casino-debt-card .content .card-tag.tag-2 {
    background: #FFDDC5;
}

.page-node-10 .casino-debt-card .content .card-tag.tag-3 {
    background: #F4F29D;
}

.page-node-10 .casino-debt-card .content .card-tag.tag-4 {
    background: #E2FBFF;
}

.page-node-10 .view-block-casino-debt .casino-debt-header .title {
    text-align: center;
}

.page-node-10 .casino-debt-card .content .card-tag.tag-1.tag-2,
.page-node-10 .casino-debt-card .content .card-tag.tag-1.tag-3,
.page-node-10 .casino-debt-card .content .card-tag.tag-1.tag-4,
.page-node-10 .casino-debt-card .content .card-tag.tag-2.tag-3,
.page-node-10 .casino-debt-card .content .card-tag.tag-2.tag-4,
.page-node-10 .casino-debt-card .content .card-tag.tag-3.tag-4 {
    border: 2px solid var(--i2-theme-blue);
    background: var(--i2-theme-yellow);
}

.page-node-10 .view-block-casino-debt .casino-debt-header .title>p {
    display: inline-block;
    border: 2px solid var(--i2-theme-blue);
    padding: 14px 24px;
    background-color: #fff;
    color: var(--i2-theme-blue);
    border-radius: 30px;
    margin-top: 100px;
    margin-bottom: 50px;
}

.page-node-10 .view-block-casino-debt .casino-debt-header ul {
    justify-content: space-between;
    display: flex;
    flex-wrap: wrap;
}

.page-node-10 .view-block-casino-debt .casino-debt-header ul li {
    position: relative;
    cursor: pointer;
    border: 2px solid var(--i2-theme-blue);
    color: var(--i2-theme-blue);
    font-size: 28px;
    line-height: 1;
    max-width: 290px;
    width: calc(25% - 15px);
    text-align: center;
    border-radius: 50px;
    padding-bottom: 41px;
    padding-top: 17px;
    background: var(--i2-theme-bg-pink-1);
    margin-bottom: 30px;
}

.page-node-10 .view-block-casino-debt .casino-debt-header ul li::after {
    position: absolute;
    content: '';
    border-radius: 10px;
    border: 2px solid #FFAEFC;
    width: 74px;
    height: 10px;
    bottom: 17px;
    left: calc(50% - 37px);
}

.page-node-10 .view-block-casino-debt .casino-debt-header ul li:nth-child(2) {
    background: var(--i2-theme-orange-2);
}

.page-node-10 .view-block-casino-debt .casino-debt-header ul li:nth-child(2)::after {
    border: 2px solid #FFA667;
}

.page-node-10 .view-block-casino-debt .casino-debt-header ul li:nth-child(3) {
    background: #F4F29D;
}

.page-node-10 .view-block-casino-debt .casino-debt-header ul li:nth-child(3)::after {
    border: 2px solid #E9AF1A;
}

.page-node-10 .view-block-casino-debt .casino-debt-header ul li:nth-child(4) {
    background: #E2FBFF;
}

.page-node-10 .view-block-casino-debt .casino-debt-header ul li:nth-child(4)::after {
    border: 2px solid #54C3D5;
}

.page-node-10 .view-block-casino-debt .casino-debt-header ul li.active,
.page-node-10 .view-block-casino-debt .casino-debt-header ul li:hover {
    border: 2px solid var(--i2-theme-blue);
    background: var(--i2-theme-blue);
    color: #fff;
}

.page-node-10 .view-block-casino-debt .casino-debt-header ul li.active::after,
.page-node-10 .view-block-casino-debt .casino-debt-header ul li:hover::after {
    border-color: #fff;
}

.block-views-blockblock-casino-debt-block-1 {
    margin-bottom: 100px;
}

.view-id-block_casino_debt .view-filters {
    display: none;
}

.view-id-block_casino_debt .view-content {
    margin-top: 100px;
    margin-bottom: 150px;
}

/* forum **************************************************/
.forum-section {
    background-color: var(--i2-theme-bg-blue-2);
    padding-top: 200px;
    padding-bottom: 100px;
}

.forum-section>div {
    position: relative;
}

.forum-section .part-1 .title-icon {
    margin-left: 47px;
}

.forum-section .part-1>div {
    margin: 30px 0;
}

.forum-section .part-1>div>p {
    display: inline-block;
    border: 2px solid var(--i2-theme-blue);
    border-radius: 30px;
    background-color: #fff;
    color: var(--i2-theme-blue);
    font-size: 1.25rem;
    line-height: 1;
    letter-spacing: 1px;
    margin-bottom: 0;
    padding: 12px 22px;
}

.forum-section .part-2 .part-title {
    width: 293px;
    height: 86px;
    background: url(/themes/custom/i2_theme/image/icon/forum_badge_1.png) no-repeat;
    background-size: auto;
    background-size: cover;
    background-position: 50%;
    color: var(--i2-theme-blue);
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    line-height: 88px;
    position: relative;
    left: -18px;
}

.forum-section .part-4 .part-title {
    width: 293px;
    height: 86px;
    background: url(/themes/custom/i2_theme/image/icon/forum_badge_2.png) no-repeat;
    background-size: auto;
    background-size: cover;
    background-position: 50%;
    color: var(--i2-theme-blue);
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    line-height: 88px;
    position: relative;
    left: -18px;
}

.forum-section .part-2 {
    margin-top: 100px;
}

.forum-section .part-2>p,
.forum-section .part-4>p {
    color: var(--i2-theme-blue);
    font-size: 1.125rem;
    max-width: 320px;
}

.forum-section .part-4>p {
    max-width: 350px;
}

.forum-section ul li {
    color: var(--i2-theme-blue);
    font-size: 1.125rem;
    line-height: 1.75rem;
    padding-left: 17px;
    position: relative;
}

.forum-section ul {
    margin: 30px 0;
}

.forum-section ul li::before {
    position: absolute;
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--i2-theme-yellow);
    left: 0;
    top: 10px;
}

.forum-section .part-2>div:last-child>a,
.forum-section .part-4>div:last-child>a {
    background: var(--i2-theme-yellow) url(../image/icon/play_icon.svg) right 20px center no-repeat;
    color: var(--i2-theme-blue);
    font-size: 1.25rem;
    line-height: 1;
    display: inline-block;
    padding: 12px 22px;
    border-radius: 30px;
    transition: all 0.2s ease;
}

.forum-section .part-2>div:last-child>a:hover,
.forum-section .part-4>div:last-child>a:hover {
    background: var(--i2-theme-blue) url(../image/icon/play_icon_white.svg) right 20px center no-repeat;
    color: #fff;
}

.forum-section .part-2>div:last-child>a img,
.forum-section .part-4>div:last-child>a img {
    margin-left: 7px;
    opacity: 0;
    position: relative;
    top: -3px;
}

.forum-section .part-3 {
    position: absolute;
    top: -20px;
    z-index: 0;
    left: calc(50% - 509px);
}

.forum-section .part-4 {
    position: absolute;
    right: 20px;
    top: 0;
}

.forum-Terms-section {
    padding-top: 90px;
    padding-bottom: 150px;
    color: var(--i2-theme-blue);
}

.forum-Terms-section p {
    color: var(--i2-theme-blue);
}

.forum-Terms-section>div>p {
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: calc(1rem + 10px);
}

.forum-Terms-section>div>p:first-child {
    margin-bottom: 20px;
    font-size: 1.125rem;
    line-height: calc(1.125rem + 10px);
}

.forum-Terms-section ul {
    margin-bottom: 10px;
}

.forum-Terms-section ul li {
    font-size: 1rem;
    line-height: calc(1rem + 10px);
    margin-bottom: 0;
    padding-left: 17px;
    position: relative;
}

.forum-Terms-section ul li::before {
    position: absolute;
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--i2-theme-blue);
    left: 0;
    top: 9px;
}

.page-node-type-forum main {
    padding-top: 250px;
}

/* forum **************************************************/
.page-node-31 #block-i2-theme-content article>.node__content>.layout--onecol:nth-child(1),
.page-node-48 #block-i2-theme-content article>.node__content>.layout--onecol:nth-child(1) {
    max-width: 1140px;
}

.page-node-31 #block-i2-theme-content,
.page-node-48 #block-i2-theme-content {
    background-color: #fff;
    background-image: linear-gradient(to right, #F5F5F5 1px, transparent 1px), linear-gradient(to bottom, #F5F5F5 1px, transparent 1px);
    background-size: 20px 20px;
    padding-top: 200px;
    padding-bottom: 150px;
}

.forum-title-personal-wrap {
    background: var(--i2-theme-bg-green) url(/themes/custom/i2_theme/image/content/forum-title-personal-img.png) right -10px center no-repeat;
    background-size: contain;
    border-top-left-radius: 58px;
    display: flex;
    padding: 20px 38px;
}

.forum-title-family-wrap {
    background: var(--i2-theme-bg-pink-1) url(/themes/custom/i2_theme/image/content/forum-title-family-img.png) left -50px center no-repeat;
    background-size: contain;
    border-top-right-radius: 58px;
    display: flex;
    justify-content: flex-end;
    padding: 20px 38px;
}

.forum-title-family-wrap .forum-title-family {
    max-width: 424px;
    width: 45.5%;
    margin: 1px -138px 1px 0;
}

.page-node-31 .forum-title-personal-wrap .forum-title-text,
.page-node-48 .forum-title-family-wrap .forum-title-text {
    display: flex;
    align-items: flex-end;
    padding-left: 20px;
}

.page-node-31 .forum-title-personal-wrap .forum-title-text p,
.page-node-48 .forum-title-family-wrap .forum-title-text p {
    margin-bottom: 10px;
}

.view-block-page-personal {
    background-color: #fff;
    padding: 38px 50px 50px;
    border: 1px solid var(--i2-theme-blue);
    border-top: unset;
    border-bottom-left-radius: 58px;
    border-bottom-right-radius: 58px;
}

.create-topic-link {
    display: none;
}

.user-logged-in .create-topic-link {
    margin-bottom: 20px;
    display: block;
}

.user-logged-in .create-topic-link a {
    background-color: #fff;
    border: #999999 1px solid;
    border-radius: 20rem;
    color: #999999;
    padding: 6px 16px 8px 16px;
}

.create-topic-link a:hover {
    background-color: var(--i2-theme-blue);
    color: #fff !important;
}

.view-block-page-personal .views-exposed-form>.form--inline {
    flex-wrap: nowrap;
    display: flex;
}

.view-block-page-personal .views-exposed-form>.form--inline>div {
    display: flex;
    margin: unset;
}

.view-block-page-personal .views-exposed-form>.form--inline>div label,
.page-node-48 .block-views-blockblock-page-personal-block-2 .views-exposed-form>.form--inline>div label {
    white-space: nowrap;
    display: flex;
    align-items: center;
    color: var(--i2-theme-blue);
    font-size: 20px;
    width: auto;
    margin-right: 13px;
}

.view-block-page-personal .views-exposed-form>.form--inline .js-form-item-sort-order {
    order: 3;
    margin-left: auto;
}

.view-block-page-personal .views-exposed-form .form-actions input {
    padding: 8px 25px;
    background-color: var(--i2-theme-blue);
    color: #fff;
    border: 1px solid var(--i2-theme-border-lightBlue);
    font-size: 1rem;
    border-radius: 30px;
    letter-spacing: 0.8px;
    display: inline-block;
    margin-right: 10px;
    margin-left: 20px;
}

.view-block-page-personal .views-exposed-form .form-actions input:hover {
    color: var(--i2-theme-blue);
    background-color: var(--i2-theme-yellow);
}

.view-block-page-personal .view-filters .js-form-item-sort-by,
.view-block-page-personal #edit-reset {
    display: none !important;
}

.view-block-page-personal .view-filters,
.page-node-48 .block-views-blockblock-page-personal-block-2 .view-filters {
    margin-bottom: 30px;
}

.view-block-page-personal .forum-list-head {
    background-color: var(--i2-theme-bg-earth);
}

.page-node-48 .block-views-blockblock-page-personal-block-2 .forum-list-head {
    background-color: var(--i2-theme-bg-green);
}

.view-block-page-personal .forum-list-head>.row>div:first-child {
    padding: 10px 20px;
}

.view-block-page-personal .forum-list-head>.row>div:nth-child(2) {
    padding: 10px 16px;
}

.view-block-page-personal .view-content p {
    margin-bottom: 0;
}

.view-block-page-personal .view-content .views-row:nth-child(even) {
    background-color: #F3F3F3;
}

.topic-card {
    border-bottom: 1px solid #F5F5F5;
}

.topic-card>div {
    padding: 10px 20px;
}

.topic-card>div:nth-child(2)>.row {
    height: 100%;
}

.topic-card>div:nth-child(2)>.row>div {
    display: flex;
    align-items: center;
    height: 100%;
    justify-content: center;
    font-size: 16px;
}

.topic-card .topic {
    margin-bottom: 4px;
}

.topic-card .topic a {
    color: var(--i2-theme-blue);
    font-size: 20px;
}

.topic-card>div:nth-child(1) p {
    font-size: 14px;
}

.icon-like {
    background: url(/themes/custom/i2_theme/image/icon/icon-like.svg) center left no-repeat;
    padding-left: 22px;
}

.last-updated em.placeholder {
    margin-right: 2px;
}

.page-node-type-forum .container-xl {
    max-width: 1170px;
}

.page-node-type-forum .field--name-field-taxonomy-forums {
    margin-bottom: 45px;
}

.page-node-type-forum .field--name-field-taxonomy-forums .listing_link img {
    transform: rotate(180deg);
    margin-bottom: 3px;
    margin-right: 16px;
}

.page-node-type-forum h1 {
    font-size: 28px;
}

.page-node-type-forum .block-field-blocknodeforumuid,
.page-node-type-forum .block-field-blocknodeforumcreated {
    display: inline-block;
}

.page-node-type-forum .block-field-blocknodeforumcreated .field--name-created {
    font-size: 16px;
}

.page-node-type-forum .block-field-blocknodeforumuid {
    margin-right: 30px;
}

.page-node-type-forum .field--name-body {
    margin-top: 50px;
}

/* .page-node-type-forum .block-extra-field-blocknodeforumflag-like-node {
    display: none;
} */

.page-node-type-forum .node__content>div:nth-child(2) .layout__region--first {
    display: flex;
}

.page-node-type-forum .node__content>div:nth-child(2) .layout__region--first .flag-like-node>a {
    background: url(/themes/custom/i2_theme/image/icon/icon-like.svg) center left no-repeat;
    background-size: auto 22px;
    position: relative;
    font-size: 0;
    width: 50px;
    display: block;
    height: 34px;
    margin-right: 30px;
    margin-top: 1px;
    display: none;
}

.user-logged-in.page-node-type-forum .node__content>div:nth-child(2) .layout__region--first .flag-like-node>a {
    display: block;
}

.page-node-type-forum .node__content>div:nth-child(2) .layout__region--first .block-field-blocknodeforumfield-like-count .field--name-field-like-count {
    color: #676767;
    font-size: 18px;
    margin-top: 6px;
    /* margin-left: -47px; */
    background: url(/themes/custom/i2_theme/image/icon/icon-like.svg) center left no-repeat;
    background-size: auto 22px;
    position: relative;
    padding-left: 30px;
}

.user-logged-in.page-node-type-forum .node__content>div:nth-child(2) .layout__region--first .block-field-blocknodeforumfield-like-count .field--name-field-like-count {
    margin-left: -50px;
    background: unset;
    padding-left: 0px;
}

.page-node-type-forum .node__content>div:nth-child(2) .layout__region--first .flag-bookmark-node,
.page-node-type-forum .node__content>div:nth-child(2) .layout__region--first .flag-eport-spam-node {
    margin-top: 7px;
}

.page-node-type-forum .node__content>div:nth-child(2) .layout__region--first .flag-bookmark-node a {
    background: url(/themes/custom/i2_theme/image/icon/icon-bookmark.svg) center left no-repeat;
    font-size: 18px;
    padding-left: 26px;
    margin-top: 7px;
    margin-right: 38px;
}

.page-node-type-forum .node__content>div:nth-child(2) .layout__region--first .flag-eport-spam-node a {
    background: url(/themes/custom/i2_theme/image/icon/icon-report-spam.svg) center left no-repeat;
    font-size: 18px;
    padding-left: 28px;
}

.page-node-type-forum .node__content>div:nth-child(2) .layout__region--first .flag-bookmark-node,
.page-node-type-forum .node__content>div:nth-child(2) .layout__region--first .flag-eport-spam-node {
    display: none;
}

.user-logged-in.page-node-type-forum .node__content>div:nth-child(2) .layout__region--first .flag-bookmark-node,
.user-logged-in.page-node-type-forum .node__content>div:nth-child(2) .layout__region--first .flag-eport-spam-node {
    display: block;
}

.page-node-type-forum .node__content>div:nth-child(2) .layout__region--second {
    justify-content: flex-end;
    display: flex;
}

.page-node-type-forum .node__content>div:nth-child(2) .layout__region--second .addtoany_share {
    display: none;
}

.page-node-type-forum .node__content>div:nth-child(2) {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #EBEBEB;
}

.page-node-type-forum .block-extra-field-blocknodeforumaddtoany::before {
    content: '分享至';
    font-size: 18px;
    position: relative;
    top: 5px;
}

.page-node-type-forum .form-type-textarea label,
.page-node-type-forum #edit-subject-wrapper {
    display: none;
}

.page-node-type-forum .field--name-field-comment-forum h2 {
    font-size: 28px;
    margin-top: 60px;
}

.page-node-type-forum .field--name-field-comment-forum .js-filter-wrapper {
    display: none;
}

.page-node-type-forum footer {
    margin-top: 100px !important;
}

.page-node-type-forum .field--name-field-comment-forum .form-actions {
    display: flex;
    justify-content: flex-end;
}

.page-node-type-forum .form-actions input {
    color: #000;
    background-color: var(--i2-theme-yellow);
    border: 1px solid var(--i2-theme-border-lightBlue);
}

.page-node-type-forum .form-actions input:hover {
    color: #fff;
    background-color: var(--i2-theme-blue);
    border: 1px solid var(--i2-theme-blue);
}

.page-node-type-forum .field--name-field-comment-forum>h2 {
    display: none;
}

.page-node-type-forum footer.comment__meta {
    margin-top: 0px !important;
}


.field--name-field-comment-forum article .content::after {
    content: '';
    position: absolute;
    right: 100%;
    top: 20px;
    border-top: 20px solid transparent;
    border-right: 20px solid #EBEBEB;
    border-bottom: 20px solid transparent;
    margin-right: -1px;
}

.field--name-field-comment-forum article .content h3 {
    display: none;
}

.field--name-field-comment-forum article {
    display: flex;
    margin-bottom: 30px;
}

.field--name-field-comment-forum article .user {
    flex: 0 0 auto;
    width: 16.66666667%;
}

.field--name-field-comment-forum article .user .comment__meta {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.field--name-field-comment-forum article .content {
    flex: 0 0 auto;
    width: 80%;
    margin-left: 3.333333%;
    background-color: #FAFAFA;
    border-color: #EBEBEB;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 111px;
    border: 1px solid #d3d7d9;
    position: relative;
    padding: 10px 25px 50px 25px;
}

.field--name-field-comment-forum article:nth-child(4n) .comment__meta {
    background: linear-gradient(135deg, #EF7C62, #E3694F);
}

.field--name-field-comment-forum article:nth-child(4n+1) .comment__meta {
    background: linear-gradient(135deg, #60E0F7, #2CC0DA);
}

.field--name-field-comment-forum article:nth-child(4n+2) .comment__meta {
    background: linear-gradient(135deg, #80D589, #5BC164);
}

.field--name-field-comment-forum article:nth-child(4n+3) .comment__meta {
    background: linear-gradient(135deg, #CCA3E5, #B481D4);
}

.page-node-type-forum .form-textarea-wrapper {
    margin-top: 100px;
}

.field--name-field-comment-forum .comment__meta .comment__author {
    padding-left: 10px;
    padding-right: 10px;
}

.field--name-field-comment-forum .comment__meta .comment__author .username {
    color: #000;
    font-size: 20px;
    max-width: 90%;
    text-align: center;
    margin: auto;
}

.field--name-field-comment-forum .comment__meta .comment__time {
    font-size: 16px;
}

.field--name-field-comment-forum article .flag-like-comment,
.field--name-field-comment-forum article .flag-report-spam-comment {
    position: absolute;
    bottom: 11px;
}

.field--name-field-comment-forum article .flag-report-spam-comment {
    left: 100px;
    background: url(/themes/custom/i2_theme/image/icon/icon-report-spam.svg) center left no-repeat;
    font-size: 18px;
    padding-left: 28px;
}

.field--name-field-comment-forum article .content ul.links>li:nth-child(1) {
    padding-left: 0;
}

/* T&C **************************************************/
.page-node-24 #block-i2-theme-content p,
.page-node-25 #block-i2-theme-content p {
    color: var(--i2-theme-blue);
}

.page-node-24 #block-i2-theme-content ul,
.page-node-25 #block-i2-theme-content ul {
    color: var(--i2-theme-blue);
    margin-bottom: 20px;
    padding-left: 22px;
}

.page-node-24 #block-i2-theme-content ul li,
.page-node-25 #block-i2-theme-content ul li {
    list-style: inherit;
}

/* form **************************************************/
.node>footer.node__meta {
    display: none;
}

.page-node-type-service-acceptance-service-agree main,
[class*="page-node-type-case"] main {
    padding-top: 200px;
    padding-bottom: 100px;
}

/* pagination **************************************************/
nav.pager ul.pagination {
    margin-top: 50px;
}

nav.pager ul.pagination>li.page-item>a {
    border: 1px solid var(--i2-theme-blue);
    color: var(--i2-theme-blue);
    font-size: 18px;
}

nav.pager ul.pagination>li.page-item>a span {
    font-size: 18px;

}

nav.pager ul.pagination>li.page-item>a.page-link {
    background-color: var(--i2-theme-bg-earth);
}

/* media **************************************************/
@media screen and (max-width: 1600px) {
    .SmartPlay-step {
        padding: 0 20px;
    }
}

@media screen and (max-width: 1500px) {

    /* forum */
    .forum-section>div.container-xxl {
        max-width: 1000px;
    }

    .forum-section .part-3 {
        position: absolute;
        top: unset;
        z-index: 0;
        left: unset;
        width: 530px;
        bottom: -100px;
        right: 0px;
    }
}

@media screen and (max-width: 1050px) {
    .medium-container {
        padding: 15px;
    }
}

@media screen and (max-width: 1399.98px) {

    /* Header */
    header .navbar .navbar-nav .dropdown-toggle::after {
        content: none;
    }

    header button.navbar-toggler {
        border: unset;
    }

    header button.navbar-toggler:focus {
        box-shadow: none;
    }

    header button.navbar-toggler .navbar-toggler-button {
        background-position: 50%;
        background-size: contain;
        cursor: pointer;
        display: inline-block;
        flex: 0 0 26px;
        height: 32px;
        position: relative;
        width: 26px;
    }

    header button.navbar-toggler .navbar-toggler-button span {
        background: var(--i2-theme-blue);
        height: 3px;
        left: 50%;
        position: absolute;
        top: 50%;
        transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        /* IE 9 */
        -moz-transform: translate(-50%, -50%);
        /* Firefox */
        -webkit-transform: translate(-50%, -50%);
        /* Safari å’Œ Chrome */
        -o-transform: translate(-50%, -50%);
        /* Opera */
        transition: .5s;
        -ms-transition: .5s;
        /* IE 9 */
        -moz-transition: .5s;
        /* Firefox */
        -webkit-transition: .5s;
        /* Safari å’Œ Chrome */
        -o-transition: .5s;
        /* Opera */
        width: 26px;
    }

    header button.navbar-toggler .navbar-toggler-button .top {
        top: 25%
    }

    header button.navbar-toggler .navbar-toggler-button .bot,
    header button.navbar-toggler .navbar-toggler-button .top {
        transform: translate(-50%, -50%)
    }

    header button.navbar-toggler .navbar-toggler-button .bot {
        top: 75%
    }

    header button.navbar-toggler[aria-expanded="true"] .navbar-toggler-button .mid {
        opacity: 0
    }

    header button.navbar-toggler[aria-expanded="true"] .navbar-toggler-button .top {
        left: 45%;
        top: 18%;
        transform: rotate(-45deg) translate(-50%, -50%);
        -ms-transform: rotate(-45deg) translate(-50%, -50%);
        /* IE 9 */
        -moz-transform: rotate(-45deg) translate(-50%, -50%);
        /* Firefox */
        -webkit-transform: rotate(-45deg) translate(-50%, -50%);
        /* Safari å’Œ Chrome */
        -o-transform: rotate(-45deg) translate(-50%, -50%);
        /* Opera */
    }

    header button.navbar-toggler[aria-expanded="true"] .navbar-toggler-button .bot {
        left: 38%;
        top: 75%;
        transform: rotate(-45deg) translate(-50%, -50%);
        -ms-transform: rotate(-45deg) translate(-50%, -50%);
        /* IE 9 */
        -moz-transform: rotate(-45deg) translate(-50%, -50%);
        /* Firefox */
        -webkit-transform: rotate(-45deg) translate(-50%, -50%);
        /* Safari å’Œ Chrome */
        -o-transform: rotate(-45deg) translate(-50%, -50%);
        /* Opera */
    }

    header #block-i2-theme-main-navigation>ul {
        margin-right: 0;
    }

    header #block-i2-theme-main-navigation>ul>li>a,
    header #block-i2-theme-main-navigation>ul>li>span {
        /* text-align: right; */
        float: right;
    }

    header .offcanvas.show:not(.hiding) {
        background-color: var(--i2-theme-bg-blue-2);
    }

    header .offcanvas-body>div {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: column;
    }

    header .offcanvas-body .region-nav-main {
        order: 1;
        margin-bottom: 50px;

    }

    header .offcanvas-body .region-nav-additional {
        order: 2;
    }

    header .login-section>ul {
        display: unset;
    }

    header .login-section>ul>li {
        padding: 0px;
        display: block;
        margin-bottom: 20px;
    }

    .login-section>ul>li a,
    .login-section>ul>li div.menu-trigger {
        display: block;
        padding: 10px;
        text-align: center;
    }

    header .login-section>ul>li+li {
        margin: 10px 0;
    }

    /* 喂!我哋都搞掂咗! **************************************************/
    .page-node-10 .casino-debt-card .content {
        padding: 50px 50px 30px 40px;
    }

    .page-node-10 .casino-debt-card .content .card-left {
        width: 443px;
    }

    .page-node-10 .casino-debt-card .content .card-right {
        width: calc(100% - 443px);
    }

    .page-node-10 .casino-debt-card .content .card-tag {
        right: 38px;
    }

    /* 點搵我地? **************************************************/
    .page-node-11 .block-webform .hint::after {
        width: 324px;
        height: 160px;
        top: -126px;
    }
}

@media screen and (max-width: 1299.98px) {

    /* 咩係戒賭輔導 **************************************************/
    .SmartPlay-step>div>div.paragraph__column {
        justify-content: space-evenly;
        column-gap: 15%;
        row-gap: 30px;
    }
}

@media screen and (max-width: 1199.98px) {

    /* 咩係戒賭輔導 page **************************************************/
    .SmartPlay-section .layout--twocol-section {
        justify-content: space-between;
        row-gap: 50px;
    }

    /* 咩係戒賭輔導 **************************************************/
    .SmartPlay-Step .paragraph--type--card-list-section .list {
        width: 48%;
    }

    /* 點搵我地? **************************************************/
    .page-node-11 .block-webform .hint::after {
        width: 263px;
        height: 130px;
        right: 0;
    }

    .page-node-11 .block-webform .webform-submission-contact-form-new-form {
        padding: 70px 50px;
    }

    .page-node-11 .block-webform .webform-submission-contact-form-new-form #edit-container .js-form-item label.form-required {
        padding-left: 20px;
        padding-right: 10px;
    }

    /* 喂!我哋都搞掂咗! **************************************************/
    .page-node-10 .casino-debt-card .content .card-right .card-title {
        font-size: 1.375rem;
    }

}

@media screen and (max-width: 991.98px) {

    /* Header **************************************************/
    /* Header logo */
    .navbar-brand img {
        height: 60px;
    }

    /* Homepage */
    /* Homepage banner */
    .frontpagebanner-Swiper .banner-item>img {
        /* object-fit: cover; */
        object-fit: contain;
        transform: scale(1.7);
        transform-origin: center;
    }

    /* news */
    .homepage-news-list-Swiper .swiper-slide {
        width: 75%;
    }

    .title-icon::before,
    .title-icon::after {
        height: 40px;
        top: 0;
    }

    /* Homepage Story */
    .homepage-story .layout--twocol-section>.layout__region--first {
        width: 42%;
    }

    /* Homepage team */
    .view-block-homepage-team-list .views-row .card-list {
        max-width: 340px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    /* 睇吓你有冇賭癮 Page Banner **************************************************/
    .page-node-9 .webform-submission-form #edit-main-area fieldset::after {
        display: none;
    }

    .page-node-9 .webform-submission-form #edit-main-area fieldset .fieldset-top,
    .page-node-9 .webform-submission-form #edit-main-area fieldset legend,
    .page-node-9 .webform-submission-form #edit-main-area fieldset .fieldset-wrapper>div {
        width: 100%;
        padding-left: 0;
    }

    .page-node-9 .webform-submission-form #edit-main-area fieldset .fieldset-top {
        flex-direction: column-reverse;
        align-items: center;
        row-gap: 10px;
    }

    .page-node-9 .webform-submission-form #edit-main-area fieldset .fieldset-top h2.title-icon {
        margin-left: 0;
    }

    .page-node-9 .webform-submission-form #edit-main-area fieldset {
        text-align: center;
        padding: 50px 20px;
    }

    .page-node-9 .webform-submission-form #edit-main-area fieldset .fieldset-wrapper>div {
        justify-content: center;
    }

    .page-node-9 .webform-submission-form #edit-main-area fieldset legend {
        font-size: 1.2rem;
    }

    .page-node-9 .webform-submission-form #edit-main-area fieldset .test-footer {
        margin-top: 50px;
        margin-bottom: 0;
    }

    /* 咩係戒賭輔導 page **************************************************/
    .SmartPlay-section .column-67 {
        width: calc(58.33% - 20px) !important;
    }

    .SmartPlay-section .column-33 {
        width: calc(41.67% - 20px) !important;
    }

    .SmartPlay-section .block-field-blockparagraphtext-two-columnfield-left-content .title {
        font-size: 5rem;
    }

    .SmartPlay-section .block-field-blockparagraphtext-two-columnfield-left-content .content>p {
        max-width: unset;
    }

    .SmartPlay-step>div>div.paragraph__column {
        column-gap: 10%;
    }

    /* 咩係戒賭輔導 **************************************************/
    .SmartPlay-Step .paragraph--type--card-list>.paragraph__column>div:not(.field--name-bp-modal-title, .field--name-field-images, .field--name-bp-modal-title) {
        padding: 60px 20px 60px 0;
    }

    .SmartPlay-Step .paragraph--type--card-list-section .field--name-field-images {
        width: calc(4% + 282px);
    }

    .SmartPlay-Step .paragraph--type--card-list-section .list {
        width: 42%;
    }

    /* 點搵我地? Page **************************************************/
    .page-node-11 .contact-us .left-section {
        margin-bottom: 50px;
    }

    .page-node-11 .block-webform .webform-submission-contact-form-new-form #edit-container {
        display: block;
    }

    .page-node-11 .block-webform .webform-submission-contact-form-new-form #edit-container>div {
        flex: 0 1 100%
    }

    .page-node-11 .block-webform .webform-submission-contact-form-new-form #edit-container .js-form-item>input#edit-name,
    .page-node-11 .block-webform .webform-submission-contact-form-new-form #edit-container .js-form-item>input#edit-age,
    .page-node-11 .block-webform .webform-submission-contact-form-new-form #edit-container .js-form-item>input#edit-gender {
        max-width: none;
    }

    .page-node-11 .block-webform .webform-submission-contact-form-new-form #edit-container .js-form-item label {
        white-space: nowrap;
    }

    .page-node-11 .block-webform .webform-submission-contact-form-new-form #edit-container #edit-help-options .js-form-item {
        margin-bottom: 0;
    }

    .page-node-11 .block-webform .webform-submission-contact-form-new-form #edit-container .js-form-item.form-item-phone {
        margin-bottom: 50px;
    }

    .page-node-11 .block-webform .hint::after {
        right: -98px;
        top: -128px;
    }

    /* user Page **************************************************/
    .user-main #block-i2-theme-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .user-main #block-i2-theme-content .left {
        display: none;
        /* margin-bottom: 60px; */
    }

    .user-main #block-i2-theme-content>form {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .user-main #block-i2-theme-content>form {
        padding: 40px 20px;
    }

    /* 喂!我哋都搞掂咗! **************************************************/
    /* .page-node-10 .view-block-casino-debt .casino-debt-header ul li {
        max-width: 50%;
    } */

    /* 喂!我哋都搞掂咗! **************************************************/
    .page-node-10 .casino-debt-card .content {
        flex-direction: column;
        align-items: center;
        padding: 50px 30px;
    }

    .page-node-10 .casino-debt-card .content .card-left {
        width: 393px;
        margin-right: 200px;
    }

    .page-node-10 .casino-debt-card .content .card-right {
        margin-top: 50px;
        width: 100%;
    }

    .page-node-10 .casino-debt-card {
        margin-top: 110px;
    }

    .page-node-10 .view-block-casino-debt .casino-debt-header ul {
        justify-content: space-around;
    }

    .page-node-10 .casino-debt-card .content .card-tag {
        right: 30px;
    }

    /* forum */
    .forum-section>div.container-xxl {
        max-width: unset;
    }

    .forum-section .part-3 {
        right: -35px;
    }

    .page-node-31 .forum-title-personal-wrap {
        display: block;
        background-position: right -188px center;
        border-top-left-radius: 48px;
        padding: 20px 28px;
    }

    .page-node-31 .forum-title-personal-wrap .forum-title-text p {
        margin-left: 50px;
        margin-top: 10px;
        margin-bottom: 0;
    }

    .view-block-page-personal {
        padding: 20px 30px 30px;
        border-bottom-left-radius: 48px;
        border-bottom-right-radius: 58px;
    }

    .forum-title-family-wrap {
        flex-direction: column;
        align-items: flex-end;
        background-position: left -160px center;
    }

    .forum-title-family-wrap .forum-title-family {
        margin: 1px 0;
        max-width: 313px;
        object-fit: contain;
        width: 100%;
    }

    .page-node-48 .forum-title-family-wrap .forum-title-text {
        max-width: 297px;
        width: 100%;
        padding-left: 0;
    }
}

@media screen and (max-width: 799.98px) {

    .homepage-story .layout--twocol-section>.layout__region--first,
    .homepage-story .layout--twocol-section>.layout__region--second {
        flex: 0 1 auto;
        width: 100%;
    }

    .homepage-story .field--name-field-media-image img {
        margin-bottom: 80px;
    }

    /* forum */
    .field--name-field-comment-forum article {
        display: block;
    }

    .page-node-type-forum .container-xl {
        max-width: 100%;
    }

    .field--name-field-comment-forum article .user {
        width: 100px;
        height: 100px;
        margin-bottom: 32px;
    }

    .field--name-field-comment-forum article .content {
        width: 100%;
        margin-left: 0;
    }

    .field--name-field-comment-forum article .content::after {
        content: '';
        position: absolute;
        left: 20px;
        /* 根据需要调整位置 */
        top: -20px;
        /* 放在内容块上方 */
        border-left: 20px solid transparent;
        border-right: 20px solid transparent;
        border-bottom: 20px solid #EBEBEB;
        /* 这里是三角形的颜色 */
        border-top: 0 solid transparent;
    }

    .field--name-field-comment-forum article {
        margin-bottom: 50px;
    }
}

@media screen and (max-width: 767.98px) {

    /* Header */
    header>nav>.container-xxl {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Header logo */
    header>nav {
        padding: 15px 0 !important;
    }

    .scrolled-fixed header>nav {
        padding: 10px 0 !important;
    }

    #block-i2-theme-branding {
        position: absolute;
        bottom: 15px;
        left: calc(50% + 40px);
    }

    header .header-logo-section>ul>li:nth-child(1) {
        margin-right: 0;
    }

    header .header-logo-section>ul>li:nth-child(2) p {
        margin-right: 122px;
    }

    .header-logo-section>ul>li:first-child img {
        height: 52px;
    }

    .navbar-brand img {
        height: 45px;
    }

    header .region-nav-branding,
    header .header-logo-section>ul {
        row-gap: unset;

    }

    header .header-logo-section>ul {
        display: unset;
    }

    header .header-logo-section>ul>li {
        margin-right: 0px;
    }

    header .header-logo-section>ul>li:nth-child(2) {
        margin-top: 15px;
    }

    .header-logo-section img {
        height: 45px !important;
        width: auto;
    }

    header .login-section>ul>li {
        /* padding: 10px; */
    }

    /* Homepage */
    /* Homepage banner */
    .frontpagebanner-Swiper {
        padding-top: 50px;
    }

    /* Team */
    .view-block-homepage-team-list .view-header>div>p {
        font-size: 20px;
    }

    /* 睇吓你有冇賭癮 page **************************************************/
    .page-node-9 .test-section .test-top {
        display: block;
    }

    .page-node-9 .test-section,
    .page-node-9 .webform-submission-form #edit-main-area fieldset {
        padding-left: 20px;
        padding-right: 20px;
    }

    .page-node-9 .test-section .subcontent .text>div {
        text-align: center;
        margin-top: 30px;
    }

    .page-node-9 .test-section .subcontent .text>div .title-icon {
        margin-left: unset;
    }

    .page-node-9 .Assessment-results-section>div {
        padding: 0;
    }

    .page-node-9 .Assessment-results-section>div>div {
        padding: 40px 0px;
    }

    .page-node-9 .Assessment-results-section .results-button>li:nth-child(1) {
        font-size: 1.3rem;
    }

    /* 咩係戒賭輔導 page **************************************************/
    .SmartPlay-section .column-67 {
        width: 100% !important;
    }

    .SmartPlay-section .column-33 {
        width: 100% !important;
        text-align: center;
    }

    .SmartPlay-section .column-33 .img-fluid {
        max-width: 80%;
    }

    .SmartPlay-section .block-field-blockparagraphtext-two-columnfield-left-content .title {
        font-size: 4rem;
    }

    .SmartPlay-section .block-field-blockparagraphtext-two-columnfield-left-content h2.title-icon {
        margin-top: 18px;
    }

    /* 咩係戒賭輔導 **************************************************/
    .SmartPlay-step>div {
        padding: 60px 20px;
    }

    .SmartPlay-step>div>div.paragraph__column {
        column-gap: 0;
    }

    .SmartPlay-Step .paragraph--type--card-list>.paragraph__column>div:not(.field--name-bp-modal-title, .field--name-field-images, .field--name-bp-modal-title) {
        padding: 30px 20px;
    }

    .SmartPlay-Step .paragraph--type--card-list-section>.paragraph__column {
        display: block;
    }

    .SmartPlay-Step .paragraph--type--card-list-section .field--name-bp-modal-title {
        display: block;
        writing-mode: unset;
        text-align: center;
    }

    .SmartPlay-Step .paragraph--type--card-list-section .field--name-field-images {
        display: block;
        margin: 0 auto;
    }

    .SmartPlay-Step .paragraph--type--card-list-section .field--name-field-images img {
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-top: 20px;
        margin-bottom: 40px;
    }

    .SmartPlay-Step .paragraph--type--card-list-section .list {
        width: 100%;
    }

    /* 點搵我地? Page **************************************************/
    .page-node-11 .contact-us .left-section .title::before {
        width: 50px;
        height: 68px;
        left: -22px;
        top: -55px;
    }

    .page-node-11 .block-webform .webform-submission-contact-form-new-form {
        padding: 50px 30px;
    }

    .page-node-11 .block-webform .webform-submission-contact-form-new-form::before {
        width: calc(100% - 20px);
        height: calc(100% - 20px);
        left: 10px;
        top: 10px;
    }

    .page-node-11 .block-webform .webform-submission-contact-form-new-form::after {
        width: 120px;
        height: 54px;
        left: calc(50% - 60px);
        top: -29px;
    }

    .page-node-11 .block-webform .hint::after {
        width: 162px;
        height: 80px;
        right: -20px;
        top: -105px;
    }

    /* forum */
    .forum-section {
        padding-top: 180px;
    }

    .forum-section .content {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .forum-section .part-1 {
        order: 1;
        text-align: center;
    }

    .forum-section .part-1 .title-icon {
        margin-left: 0;
    }

    .forum-section .part-3 {
        order: 2;
    }

    .forum-section .part-2 {
        order: 3;
        margin-top: unset;
        margin-bottom: 80px;
    }

    .forum-section .part-4 {
        order: 4;
    }

    .forum-section .part-3,
    .forum-section .part-4 {
        position: unset;
    }

    .forum-section .part-3 {
        width: calc(100% + 40px);
        margin-left: -20px;
        margin-bottom: 30px;
    }

    .forum-section .part-2>p,
    .forum-section .part-4>p {
        max-width: 100%;
        width: 100%;
    }

    .page-node-31 .forum-title-personal-wrap {
        background-position: right -222px center;
    }

    .page-node-31 .forum-title-personal-wrap>img {
        width: 100%;
        max-width: 160px;
    }

    .page-node-31 .forum-title-personal-wrap .forum-title-text p {
        margin-left: -15px;
    }

    .view-block-page-personal {
        padding: 20px 15px 30px;
    }

    .view-block-page-personal .views-exposed-form>.form--inline {
        display: block;
    }

    .view-block-page-personal .views-exposed-form>.form--inline>div {
        width: 100%;
        margin-bottom: 20px;
    }

    .view-block-page-personal .views-exposed-form .form-actions input {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    .view-block-page-personal .forum-list-head>.row>div:nth-child(2) {
        display: none;
    }

    .view-block-page-personal .topic-card>div {
        padding: 10px 10px 0 10px;
    }

    .view-block-page-personal .topic-card>div:nth-child(2) {
        padding: 0px 10px 50px 10px;
    }

    .view-block-page-personal .topic-card>div:nth-child(2)>.row>div {
        justify-content: unset
    }

    .forum-title-family-wrap {
        background-position: left -317px center;
    }
}

@media screen and (max-width: 575.98px) {

    /* header */
    header button.navbar-toggler {
        position: absolute;
        right: 0;
    }

    header>nav>.container-xxl {
        justify-content: center !important;
    }

    header .header-logo-section>ul>li:nth-child(2) {
        display: unset;
        text-align: center;
        display: block;
    }

    header .login-section>ul>li:last-child {
        margin-top: 20px;
    }

    /* homepage banner */
    .frontpagebanner-Swiper .banner-item>img {
        height: 68vh;
    }

    /* story */
    .homepage-story .field--name-field-media-image img {
        width: 80%;
    }

    .homepage-story .layout__region--second .story-left-section>.content>div {
        padding-left: 0;
        padding-right: 0;
    }

    .homepage-story .layout__region--second .story-left-section>.content>div::before {
        left: 0;
        top: -23px;
    }

    .homepage-story .layout__region--second .story-left-section>.content>ul {
        display: block;
    }

    .homepage-story .layout__region--second .story-left-section>.content>ul li:nth-child(1) {
        margin-bottom: 20px;
    }

    /* footer */
    footer .footer-top .region-footer-top-right {
        justify-content: space-between;
        width: 100%;
    }

    footer .footer-top .region-footer-top-right #block-i2-theme-mainnavigation {
        margin-right: unset;
    }

    footer .bottomLeft-section .content>div>ul>li:first-child {
        margin-right: 6px;
    }

    /*********** chatbot ***********/
    #open-chat img {
        max-width: 100px;
        width: 100%;
    }

    .chat-popup {
        width: 80%;
    }

    /* Details Page Banner **************************************************/
    .paragraph--type--banner-section {
        background-size: auto;
        height: 380px;
    }

    /* 睇吓你有冇賭癮 Page Banner **************************************************/
    .page-node-9 .test-section .test-top>div {
        padding: 0;
    }

    .paragraph--type--banner-section .field--name-field-title {
        width: 344px;
        height: 100px;
        font-size: 28px;
        padding-top: 44px;
        left: calc(50% - 172px);
        top: calc(100% - 200px);
    }

    .page-node-9 .webform-submission-form #edit-main-area fieldset .fieldset-wrapper>div {
        display: block;
    }

    .page-node-9 .webform-submission-form #edit-main-area fieldset .fieldset-wrapper>div>div label {
        max-width: 100%;
    }

    .page-node-9 .webform-submission-form #edit-main-area fieldset .fieldset-wrapper>div>div:nth-child(1) {
        margin-right: 0px;
    }

    .page-node-9 .webform-submission-form #edit-main-area fieldset {
        padding-left: 15px;
        padding-right: 15px;
    }

    .Assessment-results-section #edit-main-area {
        margin: 40px 0;
    }

    .webform-submission-form .content-botton div,
    .page-node-9 .Assessment-results-section .results-button {
        display: block;
    }

    .page-node-9 .Assessment-results-section .results-button>li {
        max-width: 100% !important;
        margin: 20px 0 !important;
    }

    /* 點搵我地? Page Banner **************************************************/
    .page-node-11 .block-webform {
        padding: 0 10px;
    }

    /* .page-node-11 .block-webform .webform-submission-contact-form-new-form #edit-container #edit-help-style {
        display: block;
    } */

    .page-node-11 .block-webform #edit-help-options--wrapper,
    .page-node-11 .block-webform #edit-contact-type-radio--wrapper {
        display: block !important;
    }

    .page-node-11 .block-webform #edit-help-options--wrapper>legend,
    .page-node-11 .block-webform #edit-contact-type-radio--wrapper>legend,
    .page-node-11 .block-webform .webform-submission-contact-form-new-form>div.form-item-comment>label {
        margin-bottom: 10px;
    }

    .page-node-11 .block-webform .webform-submission-contact-form-new-form>div.form-item-comment {
        flex-direction: column;
    }

    .page-node-11 .block-webform .form-item-contact-number label {
        width: 160px !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
    }

    /* user Page Banner **************************************************/
    .user-main #block-i2-theme-content>form::after {
        right: -20px;
    }

    /* 喂!我哋都搞掂咗! page **************************************************/
    .view-id-block_casino_debt .view-content {
        margin-top: 44px;
    }

    .page-node-10 .casino-debt-card {
        margin-top: 0;
    }

    .page-node-10 .casino-debt-card .content {
        padding: 35px 20px 20px;
        ;
    }

    .page-node-10 .casino-debt-card .content .card-left {
        text-align: center;
        width: 100%;
        position: relative;
        margin-right: 0;
        margin-bottom: 33px;
    }

    .page-node-10 .casino-debt-card .content .card-left::after {
        display: none;
    }

    .page-node-10 .casino-debt-card .content .card-left a {
        transform: none;
        left: 0;
        bottom: 0;
    }

    .page-node-10 .casino-debt-card .content .card-left img {
        width: 100%;
        left: 0;
    }

    .page-node-10 .casino-debt-card .content .card-left a::after {
        right: 5%;
        bottom: -24px;
    }

    .page-node-10 .casino-debt-card .content .card-right {
        margin-top: 0;
    }

    .page-node-10 .view-block-casino-debt .casino-debt-header ul li {
        font-size: 24px;
        width: calc(50% - 15px);
        border-radius: 30px;
    }

    .page-node-10 .casino-debt-card .content .card-tag {
        font-size: 18px;
        padding: 11px 20px 15px;
        left: 20px;
        right: auto;
    }
}