/* main-banner */
body {
    color: #555;
    background-color: #fff;
    font-size: 12px;
}
h2{
    text-transform:none !important;
}
h1 h2 h3 h4 h5, .theme-blue {
    color: #0248A8;
}

h3 , .theme-blue{
    font-size: 18px;;
    font-weight: 400;
}

h1 h2 h3 h4 h5, .theme-grey {
    color: #555;
}

p.theme-blue {
    color: #0248A8;
}

div.bg-white {
    color: #f2f2f2;
}

.bg-video {
    width:100%;
    height: 480px;
    object-fit: cover;
}

.wrapper {
    position: relative;
}

/* .tablet-v {
    display: none;
}
.desktop-v {
    display: block;
}
.mobile-v {
    display: none;
} */

.mobile-v img{
    height:60px;
    margin: 15px 0px;
}

.set-footer-banner-flex{
    /* flex-wrap: wrap; */
}

.set-footer-banner-flex a{
    margin:5px;
}





@media screen and (min-width: 1024px) {
    /* desktop view */
    .tablet-v {
        display: none !important;
    }
    .desktop-v {
        /* display: block !important; */
    }
    .mobile-v {
        display: none !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    /* tablet view */
    .tablet-v {
        display: none !important;
    }
    .desktop-v {
        display: none !important
    }
    .mobile-v {
        display: block !important;
    }
}

@media screen and (max-width: 767px) {
    /* mobile view */
    .tablet-v {
        display: none !important;
    }
    .desktop-v {
        display: none !important;
    }
    .mobile-v {
        display: block !important;
    }
}


.indexWrapper{
  width: 100%;
   
}


/* .main-banner{
    position: relative;
    left:0px;
    width: 100%;
    height:60vh;
} */

.bg-video{
    width:100%;
    /* height: 488px; */
    height:800px;
    object-fit: cover;
    object-position: bottom;
}


@media (max-width:767px) {
    .bg-video{
        height:auto;
    }

}

.main-banner-content {
    position: relative;
    left: 0px;
    width: 100%;
    /* height: 480px; */
    height:800px;
}

@media (max-width:767px) {    
    .main-banner-content{
        height: fit-content;
    }
}

.main-banner-content img {

    height:788px;
    width: 1920px;
    object-fit: cover;
}

@media (max-width:767px) {
    .main-banner-content img {
        height: auto;
    }
}


.video-overlay {
    position:absolute;
    top: 50%;
    left: 50%;    
    transform: translate(-50%, -50%);
    padding: 10px;
    color: #fff;
    background-color: rgba(0,0,0,0.3);
}

.video-overlay .video-content {
    color: #fff;
}

.video-overlay a {
    background-color: #0248A8;
    color: #fff;
    padding: 8px 18px;
    text-decoration: none;
}

.video-content p {
    font-size: 2em;
    font-weight: bold;
}

.media-partner-wrapper {
    background-color: #fff;
}

.caption{
    padding-left:10px;
    border-left: 5px solid #e7e31c;
}

.caption>a{
    text-decoration: none;
    background-color: #325aa8;
    color:#fff;
    padding:5px;
    border-radius: 10%;
}


.accordion {
    padding: 0px;
    margin: 0px;
}

.media-partner-wrapper {
    text-align: center;
    color: #004a80;
}

.lower-footer-banner {
    color: #004a80;
}

.desktop-v img {
    height: 35px;        
}


.lower-footer-banner .img-container {
    padding: 5px;
}

.bar{
    display: block;
    width:25px;
    
    height:5px;
    margin: 5px auto;
    background-color: grey;
}

.hiddenNavbar{
    display:none;
}

/* End of main banner */

.sub-banner{
    margin-bottom: 20px;
    margin-top:20px;
    padding: 30px 10px;
    text-align: center;
    background: rgb(189,234,255);
    background: linear-gradient(90deg, rgba(189,234,255,1) 0%, rgba(172,229,255,1) 48%);
    color: black;
    display: none;
}

.sub-banner > p {
    font-weight: bold;
    display: block;
    color: #1424db;
}


@media screen and (min-width: 1024px) {
    /* desktop view */
    .divider1 {
        margin: 20px auto;
        text-align: center;
        height: 0.5px;
        width: 50%;
        background: rgba(0,74,128,1);
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    /* tablet view */
    .divider1 {
        margin: 20px auto;
        text-align: center;
        height: 0.5px;
        width: 50%;
        background: rgba(0,74,128,1);
    }
}

@media screen and (max-width: 767px) {
    /* mobile view */
    .divider1 {
        margin: 20px auto;
        text-align: center;
        height: 0.5px;
        width: 80%;
        background: rgba(0,74,128,1);
    }
}


.owl-dots button.owl-dot.active {
    color: #004a80 !important;
}


@media screen and (min-width: 1024px) {
    /* desktop view */
    .subscribe_form_wrapper {
        width: 50%;
        margin: auto;
    }

    .title-center{
        width: 95%;
        margin-left: -30px;
        
        font-size: 1.5rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    /* tablet view */
    .subscribe_form_wrapper {
        width: 80%;
        margin: auto;
    }
}

@media screen and (max-width: 767px) {
    /* mobile view */
    .subscribe_form_wrapper {
        width: 80%;
        margin: auto;
    }
}

form.subscribe_form input {
    width: 100%;
    line-height: 30px;
    margin-bottom: 20px;
    outline: red;
}

form.subscribe_form label {
    font-weight: bold;
    margin-bottom: 5px;
}

span.required {
    color: red;
}

form.subscribe_form input[type="button"] {
    background-color: #004a80;
    text-decoration: none;
    border: none;
    color: white;
}
div.subscribe_form_checkbox {
    margin-bottom: 20px;
}

div.subscribe_form_checkbox label,
div.subscribe_form_checkbox input[type="checkbox"] {
    margin: 0px;
    display: inline-block;
    vertical-align: middle;
}

div.subscribe_form_checkbox input[type="checkbox"] {
    margin-right: 20px;
}

div.terms_condition {
    text-align: justify;
}

.aboutus-wrapper-container .text-content {

}

.aboutus-wrapper .content-wrapper {
    width: 70%;
    margin: auto;
}

@media screen and (min-width: 1024px) {
    /* desktop view */
    .aboutus-wrapper .content-wrapper {
        width: 70%;
        margin: auto;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    /* tablet view */
    .aboutus-wrapper .content-wrapper {
        width: 70%;
        margin: auto;
    }
}

@media screen and (max-width: 767px) {
    /* mobile view */
    .aboutus-wrapper .content-wrapper {
        width: 80%;
        margin: auto;
    }
}




@media screen and (min-width: 1024px) {
    /* desktop view */
    .swiper{
        width: 92% !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    /* tablet view */
    .swiper{
        width: 100% !important;
    }
}

@media screen and (max-width: 767px) {
    /* mobile view */
    .swiper{
        width: 100% !important;
    }
}



.content-container {
    width: 100%;
}

.content-container input[name="query"] {
    width: 100%;
}

.content-container #searchIcon2 {
    background-color: #0248A8;
    color: #fff;
    /* margin-left: 20px; */
    padding: 4px 20px;
}

input#searchIcon2 {
    font-size: 16px;
}

@media screen and (min-width: 1024px) {
    /* desktop view */
    .content-container table {
        width: 50%;
        margin: auto;
    }
    
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    /* tablet view */
    .content-container table {
        width: 100%;
        margin: auto;
    }
}

@media screen and (max-width: 767px) {
    /* mobile view */
    .content-container table {
        width: 100%;
        margin: auto;
    }

    .content-container input:not(input[id="searchIcon2"]) {
        margin-bottom: 20px;
    }

    .content-container #searchIcon2 {
        width: 100%;
        margin-bottom: 20px;
    }

    table.search-result tr td:first-child {
        text-align: center !important;
    }

    table.search-result tr:last-child {
        text-align: center;
    }
}

.tranding {
    padding: 0px !important;
    margin-bottom: 20px;
}

.footer-banner {
    width: 50%;
    margin: auto !important;
}

.extra-height {
    height: 120px;
}

.open-button{
    z-index: 999;
    position: absolute; 
    top: 10px; 
    left: 10px; 
    text-decoration: none; 
    font-size: 14px;
    font-weight: bold;
    font-family: "Montserrat", sans-serif; 
    padding:15px 15px; 
    background-color:#3e48cb;
    border:none; 
    color: white;
    border-radius: 10px; 
}

.youtube-video{
    width:550px;
    height:300px;
    border-radius: 1rem;
}

@media (max-width:500px) {
    .youtube-video{
        width: 100%;
        height: auto;
    }
}

/* banner text */

.banner-text {
    font-size:2.8vw; 
    position:absolute; 
    z-index:100;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    width: 100%;
    text-align: center;
    color: rgba(255,255,255,255);
    text-shadow:4px 4px 4px rgba(51,64,83,255);
    font-weight:600;
}

@media screen and (max-width:767px) {
    .banner-text{
        font-size: 15px;
    }
}



.open-button-en{
    font-size: 12px;
}

#footer {
    font-size: 12px !important;
}

#footer .container {
    padding-bottom: 0px !important;
}


#logo-section i{
    font-size: 24px;
}



#meun_title_eng {
    font-family: verdana, Helvetica, sans-serif;
    
}

#meun_title {
    font-family: 微軟正黑體;
   
}


/* added by Ricky */

/* root */

html{
    font-size: 12px;
}


/* hidden navbar */

#__menu {
    font-size: 12px;
}

/* footer page */

.desktop-v img {
    height: 40px;
}

#media-partner {
    display: block;
}

#media-partner-logo{
    display: block;
}


/* subscrition page */


.subscribe_form_wrapper{
    font-size: 12px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.terms_condition{
    font-size: 12px;
}


.subscribe_form_wrapper label{
    font-size: 1.5em;
    color:  #000;
}

.subscribe_form_wrapper h3 {
    color: rgb(2, 72, 168);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: 700;
    font-size: 33px;
}

.subscribe_form_wrapper .indicates_mandatory {
    color: rgb(2, 62, 127);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1.5em;
}

.subscribe_form_label>label {
    color: rgb(2, 62, 127);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1.5em;
}

.subscribe_form_wrapper .privacy{
    margin-bottom: 150px;
}

.terms_condition li , p, h2, h3 {
    font-size: 1.5em;
}


.declaration h3 {
    color: rgb(2, 62, 127);
    text-decoration: underline;
    font-size: 1.5em;
}

.privacy h3{
    text-decoration: underline;
}

.subscribe-wrapper-chi {
    font-family: 微軟正黑體;
}


/* captcha */

#captcha label{
    color: rgb(2, 62, 127);
}


/* banner-text */

/* .banner-text {
    top:15%;
} */

#hidden-navbar{
    opacity: 0.8;
}

.banner-text-date{
    font-size:3.5vw;
}


/* activities detail */

.activities_details_wrapper h2{
    font-size: 24px;
}

.acti-detail-description{
    font-size: 16px;
    line-height:24px;
    margin-bottom:30px
}

/* footer */

/*.desktop-v:nth-of-type(2)  div:nth-of-type(6) {
    display: none;
}*/

/*.mobile-v  .row  div:nth-of-type(11) {
    display: none;
}*/


.popupwindow {
    position: sticky; 
    top: 0;
    left: 0;
    width: 100%;   
    background-color:  #0248A8 ;
    color: rgba(242, 242, 242, 1);
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
   padding: 8px;

  }
  
  
  /*.marquee {
    overflow: hidden;
    white-space: nowrap;
    animation: marquee 50s linear infinite;
  }*/
  
  .marquee p {
    display: inline-block;
    margin-bottom:0px;  
    padding-right: 100px;
    font-weight: 600;
   
  }
  .marquee-t{
    display: inline-block;
    margin-bottom:0px;
    padding-left: 60px;
    font-weight: 600;
    white-space: nowrap;
    padding-right:5px !important;
    height:100%;
    font-size: 18px;
    

  }
  .closebtn {
    position: absolute;
    top: 8%;
    right: 10px;
    width: 20px;
    height: auto;
    cursor: pointer;
    margin: 3px;
    font-size: 24px;
    padding-right: 40px;
    display: block;
    z-index: 999;
  }
  .popupbody.close {
    margin-top: -20px; 
    display: inline-block;

  }
  .popupwrapper{
    height: 100px;
  }
  /*@keyframes marquee {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100%);
    }
  }*/

  @media screen and (max-width:500px) {
     .popupwindow {
        font-size: 7px;
        padding-right: 30px;
      }
     .popupbody.close {
        margin-top: -10px; 
      }
     .popupwrapper{
        height: 120px;
      }
      .marquee-t {
        padding-left: 5px;
        padding-right: 0px !important;
        font-size: 10px;
       
      }
      .marquee p {
        padding-right: 20px !important;
        font-size: 10px !important;
       float: right;
      }
      .closebtn {
        top: 1%;
        padding-right: 20px;
      }
  }

  /* added by Ricky */

  .closebtn{
    font-size: 18px;
    top:3%;
  }

  .closebtn-chi{
    top:5%
  }

  @media screen and (max-width: 500px) {
    .closebtn{
        font-size: 10px;
        top:5%;
    }

    .closebtn-chi{
        top:10%
    }
  }




  .popup-overlay {display:flex;/* 改為立即顯示 */position:fixed;margin-top:130px;width:100%;line-height:1.3;justify-content:center;align-items:center;z-index:10000;}

.popup-content {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    max-width: 900px;
    /* width: 90%; */
}

.popup-title {
    font-size: 33px;
    font-weight: bold;
    color: rgb(2, 72, 168); /* 標題顏色 */
    text-align: center;
    margin-bottom: 15px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.popup-content ul li{
    font-size: 20px;
    color: rgb(2, 62, 127); /* 內文顏色 */
    text-align: left;
    list-style-type: disc;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
   
}
.popup-content ul{
  padding-left: 70px;
  padding-right: 40px;
}
.popupFooter{
  font-size: 20px;
    color: rgb(2, 62, 127); /* 內文顏色 */
    text-align: left;
    list-style-type: disc;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    padding-left: 40px;
    padding-right: 40px;
}
/* .char {
    background: linear-gradient( rgb(2, 62, 127) 40%, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
  } */

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    color: rgb(74, 83, 92);
    cursor: pointer;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;

}



    /* .popFooter{
    display: inline-block;
    position: relative;
   }
   .popFooter:before{
    position: absolute;
    inset: 0;  translate: 0 0.7em;
    content: attr(title);
    transform: scaleY(-1) ;
    opacity: 0.2;
    padding-bottom: 25px;
   }
   .popFooter:after{
     content: "";
     position: absolute;
     width: 100%;
     height: 50%;
     inset: 100% 0 auto;
     background-image: linear-gradient(to bottom, rgba(255 ,255 ,255, 0) 0, rgba(255 ,255 ,255, 1) 50%);
   }

 */






