@font-face {
    font-family: huaweisans-bold;
    src: url(../fonts/huaweisans-blod.ttf);
    src: url(../fonts/huaweisans-bold.woff) format("woff"), url(../fonts/huaweisans-bold.woff2) format("woff2"), url(../fonts/huaweisans-bold.svg#fontname) format("svg")
}

@font-face {
    font-family: huaweisans-light;
    src: url(../fonts/huaweisans-light.ttf);
    src: url(../fonts/huaweisans-light.woff) format("woff"), url(../fonts/huaweisans-light.woff2) format("woff2"), url(../fonts/huaweisans-light.svg#fontname) format("svg")
}

@font-face {
    font-family: huaweisans-medium;
    src: url(../fonts/huaweisans-medium.ttf);
    src: url(../fonts/huaweisans-medium.woff) format("woff"), url(../fonts/huaweisans-medium.woff2) format("woff2"), url(../fonts/huaweisans-medium.svg#fontname) format("svg")
}

@font-face {
    font-family: huaweisans-regular;
    src: url(../fonts/huaweisans-regular.ttf);
    src: url(../fonts/huaweisans-regular.woff) format("woff"), url(../fonts/huaweisans-regular.woff2) format("woff2"), url(../fonts/huaweisans-regular.svg#fontname) format("svg")
}

html{
    background-color: #f0edf1;
}

.unload {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 1111;
    font-size: 3.4em;
    font-family: 'huaweisans-medium';
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    background-color: #F7F1E4;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: inherit;
    transform: scale(1);
    flex-direction: column;
    text-transform: uppercase;
    transition: all ease .3s .6s;
}

.unload p {
    width: 100%;
    font-size: 0.42em;
    opacity: 0.7;
    font-family: 'huaweisans-regular';
    text-transform: initial;
}

.unload.open{
    opacity: 0;
    transform: scale(1.4);
    visibility: hidden;
    transition: all ease .6s .6s;
}

/* gen */

.hidden-pc {
    display: none;
}


/* Header start now */

header {
    position: relative;
    margin: 0 auto;
    height: 940px;
    overflow: hidden;
}

header .topbar {
    top: 0;
    position: absolute;
    margin: 0 auto;
    width: 100%;
    padding: 40px 0;
    z-index: 2;
    height: 44px;
}

header .topbar .container {
    padding: 0;
    position: relative;
}


/* header - Nav style */

.topbar ul.nav.navbar-nav a {
    text-align: left;
    float: left;
}

.topbar a,
.topbar a:active,
.topbar a:focus,
.topbar a:visited {
    color: #fff;
    font-family: huaweisans-medium;
    font-size: 16px;
    padding: 12px 18px !important;
    border-radius: 14px;
    transition: all .4s ease;
    border: transparent 0.5px solid;
}

.topbar a:hover {
    background-color: #ffffff2e !important;
    border-radius: 10px;
    color: #fff;
    transition: all ease .3s;
    border: #ffffff42 0.5px solid;
}

nav.navbar {
    padding: 0;
    width: 100%;
    position: absolute;
    height: 44px;
}

.topbar button.navbar-toggler {
    position: absolute;
    right: 0;
    bottom: 0;
}

.navbar .navbar-nav {
    margin-left: calc(50% - 268px);
}


/* header - language switcher */

.lang_box {
    position: absolute;
    float: right;
    right: 0;
}

button.lang_switch {
    position: relative;
    font-family: huaweisans-medium;
    font-size: 16px;
    color: #fff;
    background: rgb(255 255 255 / 7%);
    border-radius: 22px;
    padding: 12px 26px;
    padding-right: 38px;
    border: 0;
    transition: all ease .3s;
    width: 120px;   
    margin: auto;
    text-align: center;
}

.eng button.lang_switch,
.eng .lang_expan{
    width: 100%;
}

button.lang_switch::after {
    content: '';
    position: absolute;
    right: 24px;
    top: 20px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid #fff;
    clear: both;
    transition: all ease .3s;
}

button.lang_switch:hover {
    transition: all ease .3s;
    background: #fff;
    color: #c7000b;
}

button.lang_switch:hover::after {
    transition: all ease .3s;
    border-top: 6px solid #c7000b;
}


/* language clicked box */

.lang_expan.open {
    opacity: 1;
    height: auto;
    transform: translateY(10px) scale(1);
    transition: all ease .3s;
    z-index: 11;
    visibility: inherit;
    pointer-events: inherit;
}

.lang_expan {
    width: 120px;
    pointer-events: none;
    opacity: 0;
    position: absolute;
    z-index: 0;
    visibility: hidden;
    background: #fff;
    border-radius: 16px;
    top: 53px;
    right: 0;
    text-align: center;
    padding: 16px 0;
    box-shadow: 0 7px 29px 0 rgba(211, 184, 79, 0.20);
    transform: translateY(43px) scale(0.9);
    transition: all ease .3s;
}

.lang_expan::before {
    content: '';
    position: absolute;
    right: 17px;
    top: -9px;
    transform: rotate(180deg);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #fff;
    clear: both;
    transition: all ease .3s;
}

.topbar .lang_expan a {
    opacity: 0;
    transform: translateY(10px);
    padding: 10px 0 !important;
    width: 100%;
    display: inline-block;
    transition: all ease .3s;
    color: #3B2849;
}

.lang_expan.open a {
    animation-name: fadein;
    animation-duration: .5s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    transition: all ease .3s;
    text-decoration: inherit;
}

.lang_expan.open a:nth-child(1) {
    animation-delay: .1s;
}

.lang_expan.open a:nth-child(2) {
    animation-delay: .2s;
}

.lang_expan.open a:nth-child(3) {
    animation-delay: .3s;
}

@keyframes fadein {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

.lang_expan a:hover {
    text-decoration: none;
    background-color: #faf7fb !important;
    border-radius: 0;
    color: #7C0E9F;
}

.navbar-nav>li {
    margin: 0 10px;
}


/* header live iframe */

header .live_frame {
    position: absolute;
    z-index: 1;
    top: 130px;
    width: 100%;
    margin: auto;
    transition: all ease .3s;
}

header .live_frame iframe {
    border: 0;
    padding: 0;
    display: block;
    height: 640px;
    width: 100%;
    border-radius: 30px;
    overflow: hidden;
    border: #ffffffd1 4px solid;
}

header .live_frame .container {
    position: relative;
}

.live_frame .bottom {
    position: absolute;
    right: 0;
    height: 31px;
    bottom: -57px;
}


/* header others */

header .logo {
    height: 36px;
    float: left;
}

header .bg {
    top: 0;
    position: absolute;
    background-image: linear-gradient(0deg, #6E4181 0%, #171C61 100%);
    height: 100%;
    width: 100%;
}

header .cover {
    bottom: -20px;
    position: absolute;
    z-index: 1;
    width: 100%;
}

header .cover img {
    width: 100%;
    user-select: none;
    -webkit-user-drag: none;
}

.bg img.oval_a,
.bg img.oval_b,
.bg img.oval_c {
    position: absolute;
    animation-name: looper;
    animation-iteration-count: infinite;
}

.bg img.oval_a {
    top: -6%;
    left: 14%;
    animation-delay: 2s;
    animation-duration: 14s;
}

.bg img.oval_b {
    bottom: 0%;
    left: 6%;
    animation-duration: 14s;
}

.bg img.oval_c {
    bottom: -24%;
    right: -14%;
    animation-duration: 20s;
    animation-delay: 1s;
}

@keyframes looper {
    0% {
        opacity: 0;
        transform: scale(1);
    }
    25% {
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    75% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scale(2);
    }
}


/* live details */

.live_frame .container {
    padding: 0;
}

.live_detail {
    background-image: linear-gradient(180deg, #FFFFFF 0%, #f0edf1 100%);
    padding: 80px 0;
    position: relative;
    width: 100%;
}

.live_detail section {
    padding-bottom: 100px;
}


/* swiper */

.live_detail .swiper-pagination {
    bottom: 0;
}

.live_detail .swiper-pagination-bullet {
    height: 16px;
    width: 16px;
    background: transparent;
    border: #7C0E9F solid 1px;
    opacity: 1;
    margin: 0 6px !important;
    transition: all ease .3s;
}

.live_detail .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: linear-gradient(90deg, #C06BE4 0%, #2632CE 100%);
    transition: all ease .3s;
    border: #7C0E9F solid 0px;
}


/* Titles */

.title_dom {
    position: relative;
    width: 100%;
    display: inline-block;
}

.caption {
    font-family: huaweisans-bold;
    font-size: 30px;
    color: #333333;
    position: relative;
    float: left;
}

.caption:before {
    position: absolute;
    content: "";
    height: 30px;
    width: 30px;
    border-radius: 30px;
    border: #8822ff solid 5px;
    z-index: 0;
    opacity: 0.1;
    left: -15px;
    top: -2px;
}

.caption:after {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    border-radius: 20px;
    border: #0730ff solid 4px;
    z-index: 0;
    opacity: 0.1;
    left: -29px;
    top: -7px;
}

.remark {
    font-family: huaweisans-regular;
    font-size: 12px;
    color: #333333;
    text-align: right;
    position: absolute;
    right: 0;
    top: 0;
}


/* speaker dom */

#speaker {
    position: relative;
    width: 100%;
}

.speaker_dom {
    overflow: hidden;
    position: relative;
    height: 360px;
}

.speaker_box {
    background: #fff;
    width: 100%;
    box-shadow: 0 4px 18px 0 rgb(249 248 255 / 32%);
    border-radius: 30px 30px 24px 24px;
    overflow: hidden;
}

.speaker_box .pics {
    background-image: url('../images/live_speaker_bg.png');
    background-size: cover;
    width: 101%;
}

.speaker_box .pics img {
    width: 100%;
}

.speaker_box .info {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 24px;
}

.speaker_box .name {
    font-family: huaweisans-bold;
    font-size: 16px;
    color: #333333;
    text-align: center;
    line-height: 24px;
    margin: 0;
}

.speaker_box .des {
    opacity: 0.7;
    font-family: huaweisans-regular;
    font-size: 12px;
    color: #333333;
    text-align: center;
    margin: 0;
}


/* agenda box */

#agenda .sub_dom {
    display: flex;
    flex-wrap: wrap;
}

.agenda_box {
    background: #fff;
    position: relative;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 30px;
    padding-bottom: 30px;
    border-radius: 20px;
    width: 32%;
    margin: 0.6% 0.5%;
}

.agenda_box::after {
    position: absolute;
    top: 16px;
    right: 22px;
    background-image: url(../images/live_agenda_icon_bg.svg);
    background-size: 100%;
    opacity: 0.04;
    content: "";
    height: 50px;
    width: 66px;
    background-repeat: no-repeat;
}

.agenda_box .time {
    font-family: huaweisans-bold;
    font-size: 13px;
    color: #fff;
    background-image: linear-gradient(90deg, #8C4FAF 0%, #3926A8 100%);
    border-radius: 20px 54px 54px 20px;
    display: inline-block;
    position: relative;
    padding-left: 30px;
    padding-top: 5px;
    padding-bottom: 4px;
    padding-right: 13px;
    margin-bottom: 16px;
}

.agenda_box .time::before {
    position: absolute;
    top: 7px;
    left: 9px;
    height: 18px;
    width: 16px;
    content: "";
    background-image: url(../images/live_agenda_icon_time.svg);
    background-size: 81%;
    background-repeat: no-repeat;
}

.agenda_box .title {
    font-family: huaweisans-bold;
    font-size: 16px;
    color: #300051;
    line-height: 21px;
}

.agenda_box .name {
    font-family: huaweisans-bold;
    font-size: 13px;
    color: #6F2A7B;
    margin-bottom: 5px;
}

.agenda_box .pos {
    font-family: huaweisans-regular;
    font-size: 12px;
    color: #888888;
    line-height: 15px;
}

.agenda_box hr {
    margin: 10px 0;
}

#about .wording {
    background: #fff;
    padding: 34px 38px;
    border-radius: 20px;
    font-family: 'huaweisans-regular';
    font-size: 16px;
    color: #300051;
    line-height: 21px;
    white-space: pre-line;
}

.footer {
    user-select: none;
    -webkit-user-drag: none;
    font-family: 'huaweisans-regular';
    font-size: 12px;
    padding: 16px 0;
    width: 70%;
    background: #fff;
    margin: auto;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 30px 30px 0 0;
}

.footer-link .footer-link-top li {
    display: inline-block;
    vertical-align: top;
    padding: 0 8px;
    position: relative;
}

.footer-link .footer-link-top li:after {
    content: "";
    position: absolute;
    right: -3px;
    top: 50%;
    transform: translateY(-50%);
    height: 12px;
    width: 1px;
    background-color: #a3a3a3;
}

.footer-link .footer-link-top li:nth-last-child(1) {
    padding-right: 0;
}

.footer-link .footer-link-top li:nth-last-child(1):after {
    display: none;
}

.footer-link .footer-link-top li a {
    color: #333333;
    text-decoration: none;
    transition: all ease .6s;
}

.footer ul {
    margin: auto;
    padding: 7px 0;
}

.footer-link-top {
    margin-top: 5px;
}

.footer .footer-link-btm {
    opacity: 0.5;
}

.footer-link .footer-link-top li a:hover {
    color: #c7000b;
    transition: all ease .3s;
}


/* nav switch on mobile */

.offcanvas-header {
    display: none;
}

/* Back to top */

.b2t img {
    width: 16px;
    height: 16px;
    transform: scale(1);
    transition: all .3s ease;
}

.b2t.Switch {
    transform: translateY(0px) scale(1);
    transition: all .8s ease;
}

.b2t {
    opacity: 1;
    background-image: linear-gradient(180deg, #F6F6F6 0%, #FCFCFC 100%);
    border: 1px solid #e4e4e4a3;
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.10);
    border-radius: 71px;
    position: fixed;
    right: 30px;
    bottom: 34px;
    padding: 16px 20px;
    z-index: 10000;
    cursor: pointer;
    transform: translateY(200px) scale(0);
    transition: border .3s ease, transform .4s ease;
}

.b2t:hover {
    border: 1px solid #a048af;
    transition: all .3s ease;
}

.b2t:hover img {
    transform: scale(0.8);
    transition: all .3s ease;
}

@media (max-width: 991px) {
    .topbar .lang_expan a:hover{
        padding: 10px 0 !important;
    }
    .swiper-pagination {
        z-index: 1;
    }
    header {
        overflow: initial;
    }
    .offcanvas-header {
        display: block;
        position: absolute;
        right: 6%;
        top: 2%;
    }
    .navbar .navbar-nav {
        margin: auto;
        margin-top: 30%;
        width: 100%;
    }
    .navbar-nav>li {
        margin: 20px 10px;
    }
    header .live_frame iframe {
        border-radius: 10px;
        transform: scale(0.92);
    }
    .navbar-collapse {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0%;
        width: 100%;
        padding-right: 1rem;
        padding-left: 1rem;
        overflow-y: auto;
        visibility: hidden;
        backdrop-filter: blur(21px);
        -webkit-backdrop-filter: blur(21px);
        background-color: #211065db;
        transform: translateY(-100%);
        opacity: 0;
        /* transition: visibility .2s ease-in-out, -webkit-transform .2s ease-in-out; */
        transition: all ease .3s
    }
    .navbar-collapse.show {
        visibility: visible;
        opacity: 1;
        transform: translateY(0%);
    }
    .navbar-collapse .lang_box {
        opacity: 0;
        top: 10%;
        left: calc(50% - 65px);
        transform: scale(0);
        right: inherit;
    }
    .navbar-collapse.show .lang_box {
        opacity: 1;
        top: 3%;
        transform: scale(1);
        transition: all ease .6s;
    }
    .navbar-collapse .nav-item {
        opacity: 0;
    }
    .navbar-collapse.show .nav-item {
        animation-name: fadein;
        animation-duration: .5s;
        animation-iteration-count: 1;
        animation-fill-mode: forwards;
        transition: all ease .3s;
        text-decoration: inherit;
    }
    .navbar-collapse.show .nav-item:nth-child(1) {
        animation-delay: .3s;
    }
    .navbar-collapse.show .nav-item:nth-child(2) {
        animation-delay: .4s;
    }
    .navbar-collapse.show .nav-item:nth-child(3) {
        animation-delay: .5s;
    }
    .navbar-collapse.show .nav-item:nth-child(4) {
        animation-delay: .6s;
    }
    .topbar a,
    .topbar a:hover,
    .topbar a:active,
    .topbar a:focus,
    .topbar a:visited {
        padding: 18px !important;
    }
    .btn-close {
        width: 1.5em;
        height: 1.5em;
    }
    header .logo {
        position: absolute;
        left: 5%;
    }
    .topbar button.navbar-toggler {
        right: 5%;
        border-color: #ffffff5c;
    }
    header .cover {
        left: -2px;
        right: 0;
        bottom: -1px;
        width: 102%;
    }
    header .live_frame {
        top: 140px;
    }
    .live_frame .bottom {
        left: 0;
        right: 0;
        margin: auto;
        transform: scale(0.8);
        bottom: -80px;
        transition: all ease .3s;
    }
    .oval_c {
        display: none;
    }
    .live_detail {
        padding: 40px 10px;
    }
    .main {
        overflow: hidden;
    }
    .speaker_dom {
        height: 120%;
        overflow: inherit;
    }
    .live_detail .swiper-pagination {
        bottom: -20%;
    }
    .agenda_box {
        width: 48%;
        margin: 1%;
    }
    .footer {
        width: 95%;
    }
}

@media (max-width: 576px) {
    .agenda_box {
        width: 100%;
        margin: 1% 0;
    }
    .button.lang_switch {
        width: 150px;
    }
}