@font-face {
  font-family: "Noto Sans";
  src: url(../fonts/NotoSans-Regular.ttf);
  font-weight: 400;
}

@font-face {
  font-family: "Noto Sans";
  src: url(../fonts/NotoSans-Bold.ttf);
  font-weight: 700;
}

@font-face {
  font-family: "Noto Sans";
  src: url(../fonts/NotoSans-SemiBold.ttf);
  font-weight: 600;
}

@font-face {
  font-family: "Noto Sans TC";
  src: url(../fonts/NotoSansTC-Regular.ttf);
  font-weight: 400;
}

@font-face {
  font-family: "Noto Sans TC";
  src: url(../fonts/NotoSansTC-Bold.ttf);
  font-weight: 700;
}

@font-face {
  font-family: "Noto Sans TC";
  src: url(../fonts/NotoSansTC-SemiBold.ttf);
  font-weight: 600;
}

@font-face {
  font-family: "Noto Sans SC";
  src: url(../fonts/NotoSansSC-Regular.ttf);
  font-weight: 400;
}

@font-face {
  font-family: "Noto Sans SC";
  src: url(../fonts/NotoSansSC-Bold.ttf);
  font-weight: 700;
}

@font-face {
  font-family: "Noto Sans SC";
  src: url(../fonts/NotoSansSC-SemiBold.ttf);
  font-weight: 600;
}

:root {
  --color-purple-8: #fbf8ff;
  --color-purple-4: #87469c;
  --natural-black: #383838;
  --natural-gray: #d9d9d9;
  --blue-2: #67729d;
  --purple-dark: #6009bc;
  --pink-dark: #d868a3;
}

/* Webkit browsers (Chrome, Safari, newer versions of Edge) */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #888 #f1f1f1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--natural-black);
}

a {
  text-decoration: none;
  color: var(--natural-black);
}

/* header styles */
header {
  font-size: 16px;
  /* background-color: var(--color-purple-8); */
  box-shadow: 12px 0px 24px 0px rgba(45, 45, 45, 0.1);
  /* padding: 20px 30px; */
}

.hide {
  display: none !important;
}

.h-l {
  padding: 20px 30px 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.h-l img {
  height: 50px;
}

.h-l > img {
  margin-right: 24px;
}

.h-l > div > img:first-child {
  margin-right: 24px;
}

.h-r {
  background: #fafafb;
  display: flex;
  justify-content: flex-end;
  padding: 16px 30px;
}

.h-r nav a img {
  display: none;
}

.h-r .active {
  color: var(--purple-dark);
  font-weight: 700;
  cursor: default;
}

.h-r .lang {
  display: inline-block;
  padding-left: 16px;
  border-left: 2px solid var(--natural-gray);
}

.h-r .lang .options {
  display: inline;
}

.options a {
  cursor: pointer;
}

.h-r .lang a:last-child {
  margin-right: 0;
}

.h-r a {
  margin-right: 20px;
  display: inline-flex;
  align-items: center;
}

.dropdown-content a {
  margin: 0;
}

.h-r a:hover {
  text-shadow: 0px 0px 10px rgba(45, 45, 45, 0.2);
}

.toggle-menu {
  display: none;
}

.toggle-menu img {
  width: 24px;
  height: auto;
  transition: transform 0.3s ease-in-out;
}

.rotate-in {
  transform: rotate(0deg);
}

.rotate-out {
  transform: rotate(180deg);
}

.h-r nav > a,
.h-r nav > div {
  margin-right: 20px;
  display: inline-flex;
  align-items: center;
}

.lang a {
  margin-right: 20px;
}

img#women-comission-logo {
  margin-right: 15px;
}

img#home-and-youth-logo {
  margin-right: 15px;
}

#closeSubMenu {
  display: none;
}

#toggle-dropdown {
  display: flex;
  align-items: center;
  color: var(--natural-black);
  cursor: default;
}

.dropdown-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

/* Dropdown container */
#nav-participate-h {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
}

/* Dropdown content (hidden by default) */
#nav-participate-h .dropdown-content {
  display: none;
  position: absolute;
  top: 20px;
  background-color: #f9f9f9;
  /* min-width: 160px; */
  box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  padding-top: 3px;
  border-top: 2px solid var(--natural-black);
}

/* Links inside the dropdown */
#nav-participate-h .dropdown-content a {
  /* min-width: max-content; */
  width: 100%;
  padding: 12px;
  text-decoration: none;
  display: block;
  font-size: 14px;
}

/* Change color of dropdown links on hover */
#nav-participate-h .dropdown-content a:hover {
  background-color: #f1f1f1;
}

.agenda-moderator {
  padding-bottom: 20px;
}

/* Show the dropdown menu on hover */
@media (min-width: 1000px) {
  #nav-participate-h:hover .dropdown-content {
    display: block;
  }

  #nav-participate-h:hover .dropdown-icon {
    transform: rotate(180deg);
  }
}

.toggle-menu {
  display: none;
}

.toggle-menu img {
  width: 24px;
  height: auto;
  transition: transform 0.3s ease-in-out;
}

.rotate-in {
  transform: rotate(0deg);
}

.rotate-out {
  transform: rotate(180deg);
}

.d-none{
  display:none;
}

.d-block{
  display: block;
}

.d-flex{
  display:flex !important;
}

html[lang="tc"]  body {
  font-family: "Noto Sans TC", sans-serif !important;
}

html[lang="sc"] body {
  font-family: "Noto Sans SC", sans-serif !important;
}

html[lang="tc"] #nav-participate-h .dropdown-content a,
html[lang="sc"] #nav-participate-h .dropdown-content a {
  min-width: max-content;
}


@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1300px) {
  header {
    font-size: 15px;
  }
}

@media (max-width: 1250px) {
  header {
    display: block;
    padding: 0;
    background-color: #fff;

    box-shadow: none;
  }
}

@media (max-width: 1000px) {
  .flex-animation {
    display: flex !important;
    animation: slideIn 0.5s ease-out;
    background-image: url(../img/bg.png);
  }

  .h-r {
    flex-direction: column-reverse;
    padding: 0;
  }

  .h-r nav {
    display: none;
    flex-direction: column;
    padding: 10px 30px;
    background: #fff;
  }

  .h-r .lang {
    border: none;
    font-size: 18px;
  }

  .h-r nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 15px 0;
    border-bottom: 1px solid var(--natural-gray);
    width: 100% !important;
  }

  .h-r nav > div {
    border-bottom: 1px solid var(--natural-gray);
    margin-right: 0;
  }

  .h-r nav > div {
    padding: 15px 0;
  }

  #nav-participate-h .dropdown-content {
    width: 100%;
    top: 50px;
  }

  /* .h-r nav a img {
      display: block;
      width: 20px;
      height: auto;
    } */

  .h-r nav a:last-child {
    border: none;
  }

  .h-r .lang a:first-child {
    margin-left: 0;
  }

  .h-r .lang a:hover {
    text-shadow: none;
  }

  .toggle-group {
    display: flex;
    justify-content: flex-end;
    padding: 16px 30px;
  }

  .toggle-menu {
    display: flex;
    align-items: center;
    margin-left: 24px;
  }

  .toggle-menu > img {
    cursor: pointer;
  }

  #nav-participate-h {
    display: block;
  }

  #nav-participate-h .dropdown-content.show {
    display: block !important;
  }

  #nav-participate-h .dropdown-content {
    position: static;
    border: none;
    box-shadow: none;
    background-color: #fff;
  }

  #nav-participate-h .dropdown-content a {
    border: none;
    padding: 15px 0 0 15px;
  }

  #toggle-dropdown {
    justify-content: space-between;
    cursor: pointer;
  }

  #nav-participate-h .dropdown-content a:hover {
    background-color: unset;
  }

  .rotate {
    transform: rotate(180deg);
  }
}

@media (max-width: 920px) {
  .h-l {
    padding: 20px 20px 16px;
  }
}

@media (max-width: 800px) {
  .h-l {
    display: block;
  }

  .h-l > div {
    margin-top: 15px;
  }

  .h-r nav {
    padding: 10px 20px;
  }

  .h-l img {
    height: 40px;
  }
}

@media (max-width: 600px) {
  .h-l img {
    height: 30px;
  }
}

/* content styles */
.theme-bg-color {
  background: linear-gradient(90deg, #e0dffe 14.58%, #efe0fd 85.57%);
}

.theme {
  position: relative;
  background-image: url(../img/banner.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: bottom;
  padding-bottom: 22vw;
}

.theme-box {
  max-width: 960px;
  margin: auto;
  padding: 40px 30px;
}

.theme-box > picture > img {
  width: 100%;
  display: block;
}

.content {
  padding: 20px 30px 60px;
  max-width: 1400px;
  margin: auto;
}

h1 {
  font-size: 32px;
  background: linear-gradient(90deg, #8f4fd8 0%, #a050cd 15%, #ff5995 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 25px;
}

h2 {
  font-size: 24px;
  /* color: var(--color-purple-4); */
}

.i-row {
  display: flex;
  justify-content: space-between;
  padding: 24px 0;
  border-bottom: 1px solid var(--natural-gray);
}

.i-row:last-child {
  border: none;
}

hr {
  margin: 40px 0 20px;
  border-top: 1px solid var(--natural-gray);
}

ol {
  padding: 0 20px;
  margin: 0;
  line-height: 1.5em;
}

.a-div {
  display: flex;
  align-items: center;
  font-weight: 700;
  margin: 10px 0;
}

.a-div img {
  width: auto;
  height: 24px;
  margin-right: 10px;
}

.agenda {
  margin-top: 60px;
}

.wrapper {
  border-radius: 20px;
  background: var(--Pink-Pink-6, #fff6fb);
  width: 100%;
  height: calc(100% + 40px);
  position: absolute;
  left: 0;
  z-index: -1;
  top: -20px;
}

.agenda-row {
  display: flex;
  padding: 0 20px;
  /* min-height: 70px; */
  position: relative;
}

.divider {
  min-height: 70px;
}

.agenda-col-left {
  width: 350px;
  font-size: 1.2em;
  font-weight: 700;
}

.agenda-col-left .sm {
  font-size: 0.85em;
}

.agenda-col-left > div {
  display: flex;
  align-items: center;
}

.agenda-col-left > div > img {
  height: 24px;
  width: auto;
  margin-right: 10px;
}

.agenda-col-right {
  width: calc(100% - 350px);
  padding-left: 80px;
  position: relative;
  border-left: 2px solid #d9d9d9;
}

.circle {
  width: 24px;
  height: 24px;
  border: 3px solid var(--color-purple-4);
  border-radius: 50%;
  position: absolute;
  left: -12.5px;
  top: 0;
  background-color: #fff;
}

/* .agenda-row:last-child .agenda-col-right {
    border: none;
  } */

.agenda-row:last-child .circle {
  left: -11px;
}

.agenda-title {
  font-size: 1.5em;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.agenda-speakers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
}

.speaker > div {
  /*display: flex;*/
  display: none;
  align-items: flex-start;
  margin-top: 20px;
}

.speaker .placeholder {
  width: 120px;
}

.speaker img {
  width: 120px;
  height: auto;
  border-radius: 50%;
  box-shadow: -10px 0px 0px 0px #c58cf2;
}

.agenda-moderator .speaker img {
  box-shadow: -10px 0px 0px 0px #66bce2;
}

.speaker-info {
  margin-left: 15px;
  width: calc(100% - 135px);
}

.role {
  font-size: 14px;
  color: var(--pink-dark);
  text-transform: capitalize;
}

.speaker-info .name {
  font-size: 1.2em;
  font-weight: 700;
  margin: 5px 0 10px;
}

.speaker-info .position {
  font-size: 1em;
}

.agenda-description {
  margin-top: 10px;
}

.f-info {
  font-size: 1em;
  margin: 40px 0 60px;
}

.modal-wrapper {
  position: fixed;
  display: flex;
  width: 100%;
  height: 100vh;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  left: 0;
  top: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.modal-wrapper.show {
  opacity: 1;
  visibility: visible;
}

.modal {
  width: 80%;
  max-height: 80vh;
  background-color: var(--color-purple-8);
  border-radius: 20px;
  padding: 20px;
  position: relative;
  display: flex;
  transform: scale(0.7);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal-wrapper.show .modal {
  transform: scale(1);
  opacity: 1;
}

#close-modal {
  width: 30px;
  height: auto;
  cursor: pointer;
}

.close-box {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 30px;
  height: auto;
  cursor: pointer;
}

.m-l {
  width: 380px;
  overflow: auto;
}

.m-r {
  width: calc(100% - 380px);
  padding: 10px 40px 10px 10px;
  overflow: auto;
}

#m-image {
  width: 300px;
  border-radius: 50%;
}

#m-name {
  font-size: 1.5em;
  margin: 10px 0 20px;
  color: var(--color-purple-4);
  font-weight: 700;
}

#m-position {
  font-size: 1.2em;
}

#m-bio {
  font-size: 1.1em;
  text-align: justify;
}

.readmore {
  font-weight: 600;
  text-decoration: underline;
  display: inline-block;
  margin-top: 10px;
  font-size: 0.97em;
  cursor: pointer;
}

.orderInfo {
  font-size: 0.92em;
  margin-top: 3em;
  font-weight: 600;
}

.play-icon {
  display: block;
  filter: invert(32%) sepia(48%) saturate(978%) hue-rotate(244deg)
    brightness(92%) contrast(84%);
  margin-left: 20px;
  align-items: center;
}

.play-icon span {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.play-icon img {
  width: 20px !important;
  box-shadow: unset !important;
  display: block;
  box-shadow: unset;
  border-radius: unset;
  margin-left: 5px;
}

.speaker .play-icon {
  margin: 10px 0 0;
}

@media (max-width: 1350px) {
  .agenda-speakers {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 20px;
  }
}

@media (max-width: 1250px) {
  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }

  .agenda-col-left {
    /* width: 300px; */
    font-size: 1.1em;
  }

  .agenda-col-right {
    /* width: calc(100% - 300px); */
    padding-left: 60px;
  }

  .agenda-title {
    font-size: 1.3em;
  }

  .agenda-col-left > div > img {
    height: 20px;
  }

  #m-image {
    width: 250px;
  }

  .m-l {
    width: 320px;
  }

  .m-r {
    width: calc(100% - 320px);
  }

  #m-name {
    margin: 5px 0 10px;
    font-size: 1.2em;
  }

  #m-position {
    font-size: 1.1em;
  }

  #m-bio {
    font-size: 1em;
  }

  .speaker .placeholder,
  .speaker img {
    width: 100px;
  }
}

@media (max-width: 920px) {
  .content {
    padding: 20px 20px 60px;
  }

  h1 {
    font-size: 22px;
  }

  h2 {
    font-size: 18px;
  }

  .agenda-col-left .sm {
    font-size: unset;
  }

  .agenda-col-left {
    font-size: 0.89em;
    width: 300px;
  }

  .agenda-col-right {
    width: calc(100% - 300px);
    padding-left: 40px;
  }

  .agenda-title {
    font-size: 1.1em;
  }

  .agenda-col-left > div > img {
    height: 16px;
  }

  .agenda-speakers {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 20px;
  }

  .speaker-info {
    width: calc(100% - 115px);
  }

  .modal {
    display: block;
    overflow: auto;
  }

  .m-l {
    width: 100%;
    overflow: unset;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--natural-gray);
  }

  .m-r {
    padding: 20px 0;
    width: 100%;
    overflow: unset;
  }

  .close-box {
    position: sticky;
    width: 100%;
    top: 0;
    right: 0;
  }

  #close-modal {
    position: absolute;
    right: 0;
    top: 0;
  }
}

@media (max-width: 800px) {
  .agenda-row {
    display: block;
  }

  .agenda-col-left {
    width: 100%;
  }

  .agenda-col-right {
    width: 100%;
    padding-left: 0;
    border: none;
  }

  .circle {
    display: none;
  }

  .agenda-col-left > div {
    padding: 8px 0 15px;
    border-bottom: 1px solid var(--natural-gray);
  }

  .agenda-col-right {
    padding-top: 15px;
  }

  .speaker-info {
    margin: 5px 0 0 15px;
  }

  #m-image {
    width: 120px;
  }
}

@media (max-width: 600px) {
  .theme {
    background-image: url(../img/mobile-banner.jpg);
    background-size: cover;
    padding-bottom: 35vw;
  }

  .theme-box {
    padding: 30px 20px 20px;
  }

  .content {
    padding: 10px 15px 40px;
  }

  .i-row {
    flex-direction: column;
    padding: 15px 0;
  }

  .f-info {
    font-size: 14px;
  }

  .speaker .placeholder,
  .speaker img {
    width: 64px;
    height: auto;
  }

  .agenda-moderator .speaker img {
    box-shadow: -6px 0px 0px 0px #66bce2;
  }

  .speaker img {
    box-shadow: -6px 0 0 0 #c58cf2;
  }
}

/* footer styles */
#scrollToTopBtn {
  display: none;
  align-items: center;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: var(--purple-dark);
  color: white;
  cursor: pointer;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 18px;
  font-weight: 600;
}

#scrollToTopBtn:hover {
  opacity: 0.9;
}

.f-nav {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 10px;
  background-color: var(--color-purple-8);
  box-shadow: 12px 0px 24px 0px rgba(45, 45, 45, 0.1);
  padding: 40px 30px;
}

.f-nav picture {
  width: 45%;
}

.f-nav picture img {
  width: 100%;
}

.f-nav-right {
  width: 45%;
}

.f-nav-right a:first-child {
  padding-top: 0;
}

.f-nav-right a:last-child {
  padding-bottom: 0;
  border: none;
}

.f-nav-right a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  text-decoration: none;
  border-bottom: 1px solid var(--natural-gray);
}

.f-nav-right a img {
  width: 20px;
  height: 20px;
}

.f-nav-right a span {
  font-size: 17px;
  font-weight: 400;
  line-height: 24px;
  color: var(--natural-black);
}

footer {
  background-color: var(--blue-2);
  padding: 20px 30px 80px;
}

footer a {
  color: #fff;
}

.f-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-bottom: 1px solid #fff;
  padding-bottom: 10px;
}

.f-top img {
  margin-left: 20px;
}

.f-bottom {
  font-size: 15px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: #fff;
}

.f-bottom-left a:nth-child(2) {
  margin: 0 20px;
}

.f-bottom-right {
  text-align: right;
}

@media (max-width: 1400px) {
  .f-nav-right a span {
    font-size: 16px;
  }

  .f-nav-right a {
    padding: 10px 0;
  }
}

@media (max-width: 920px) {
  .f-nav {
    padding: 30px 20px;
  }

  footer {
    padding: 20px 20px 40px;
  }

  .theme-text {
    width: 250px;
  }

  .f-nav-right {
    width: 50%;
  }

  .f-nav-right a span {
    font-size: 15px;
  }

  .f-bottom {
    font-size: 14px;
  }
}

@media (max-width: 650px) {
  .f-bottom {
    display: block;
  }

  .f-bottom-left {
    margin-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .f-nav {
    display: block;
  }

  .f-nav-right {
    width: 100%;
    margin-top: 40px;
  }

  .f-bottom-left {
    display: flex;
    justify-content: space-between;
  }
}
