/* 編輯器整體 */

.html-edit {
  font-size: 18px;
  letter-spacing: 0.5px;
  max-width: 1400px;
  margin: 0 auto;
  line-height: 180%;
  overflow-wrap: break-word;
  /* word-break: break-all; */
  word-break: normal;
  hyphens: auto;
  /* padding-left: 20px;
  padding-right: 20px; */
}
/* .html-edit .container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
} */
.html-edit p{ margin: .75em 0; }
.html-edit img { max-width: 100%; }
.html-edit a { text-decoration: underline; color: #FF6100; }

/* 編輯器table */
.html-edit table {
  border-collapse: collapse;
}
.html-edit .table {
  width: 100%;
  margin: .75em 0;
  color: #212529;
}

.table td,.table th {
  padding: 0.75rem;
  /* border: 1px solid #E0E0E0; */
  
}

.tab-box{
  background: #ffffff;
  border-radius: 30px;
  padding: 40px 50px;
}
/* tab */
.html-edit .table{
  /* max-width: 1090px; */
}
.html-edit .table td,.html-edit .table th {
  padding: 0.75rem;
  line-height: 1.7;
}
.html-edit .table td{
  border-right: 1px solid #FFCEB3;
}
.html-edit .table td:last-child{
  border-right: 0px solid #FFCEB3;
}
.html-edit .table tr:nth-child(even) td {
  background-color: #ffffff;
}
.html-edit .table tr:nth-child(odd) td {
  background-color: #FFF6F1;
}
.html-edit .table tr:last-child{
  border-bottom: 1px solid #ff8033;
}
.html-edit .table th
 {
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    /* background: #FF8033; */
    border-bottom: 1px solid #FF8033;
    line-height: 1.3;
    font-weight: 500;
    color: #FF8033;
}


/* tab-sty0 */
.table.tab-sty0 td,.table.tab-sty0 th {
  padding: 0.15rem;
  border: none;
}
.table.tab-sty0 tr:nth-child(even) td {
    background-color: transparent;
  }

/* tab-sty1 */
.table.tab-sty1 td,.table.tab-sty1 th {
  padding: 0.75rem;
  line-height: 1.7;
}
.table.tab-sty1 tr:nth-child(even) td {
  background-color: #ffffff;
}
.table.tab-sty1 tr:nth-child(odd) td {
  background-color: #FFF6F1;
}
.table.tab-sty1 td{
  border-right: 1px solid #FFCEB3;
}
.table.tab-sty1 td:last-child{
  border-right: 0px solid #FFCEB3;
}
.table.tab-sty1 th {
  color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-bottom: 1px solid #FF8033;
    line-height: 1.3;
    font-weight: 500;
    color: #FF8033;
}
.table.tab-sty1 td{
  border-right: 1px solid #FFCEB3;
}

/* tab-sty2 */
.table.tab-sty2{
  /* max-width: 1090px; */
}
.table.tab-sty2 td,.table.tab-sty2 th {
  padding: 0.75rem;
  line-height: 1.7;
}
.table.tab-sty2 td{
  border-right: 1px solid #FFCEB3;
}
.boder-bottom{
  border-bottom:1px solid #FFCEB3;
}
.table.tab-sty2 td:last-child{
  border-right: 0px solid #FFCEB3;
}
.table.tab-sty2 tr:nth-child(even) td {
  background-color: #ffffff;
}
.table.tab-sty2 tr:nth-child(odd) td {
  background-color: #FFF6F1;
}
.table.tab-sty2 tr:last-child{
  border-bottom: 1px solid #ff8033;
}
.table.tab-sty2 th
 {
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    /* background: #FF8033; */
    border-bottom: 1px solid #FF8033;
    line-height: 1.3;
    font-weight: 500;
    color: #FF8033;
}

/* tab-sty3 */
.table.tab-sty3 td,.table.tab-sty3 th {
  padding: 0.75rem;
  line-height: 1.7;
}
.table.tab-sty3 td{
  border-right: 1px solid #FFCEB3;
  /* border-bottom: 1px solid #FFCEB3; */
}
.table.tab-sty3 td:last-child{
  border-right: 0px solid #FFCEB3;
}
.table.tab-sty3 tr:nth-child(even) td {
  background-color: #ffffff;
}
.table.tab-sty3 tr:nth-child(odd) td {
  background-color: #FFF6F1;
}
.table.tab-sty3 tr:last-child{
  border-bottom: 1px solid #ff8033;
}
.table.tab-sty3 th {
  color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-bottom: 1px solid #FF8033;
    line-height: 1.3;
    font-weight: 500;
    color: #FF8033;
}

.table.text-break td,.table.text-break th{
  word-wrap: break-word !important;
  word-break: break-word !important;
  hyphens: auto;
}
@media screen and (max-width: 768px){
  .table-bordered {
      border: none;
  }
  .table thead {
    display: none;
  }
  /* tab-sty1 */
  .table.tab-sty1 tbody, .table.tab-sty1 tr, .table.tab-sty1 td {
    display: block;
  }
  .table.tab-sty1 tr {
    border-bottom: 1px solid #ff8033;
  }

  .table.tab-sty1 td {
    border: none;
    position: relative;
    text-align: left;
    border-bottom: 1px solid #E0E0E0;
  }
  .table.tab-sty1 td:last-child{
    padding-left: 90px;
  }
  .table.tab-sty1 td {
    border: none;
    position: relative;
    text-align: left;
    border-bottom: 1px solid #ffceb3;
    padding-left: 90px;
  }
  .table.tab-sty1 td.lines-3 {
    padding-top: 30px;
      padding-bottom: 30px;
  }
    
  .table.tab-sty1 td::before {
    content: attr(data-label);
    margin-right: 10px;
    display: inline-block;
    min-width: 80px;
    font-weight: 400;
    font-size: 90%;
    color: #ff8033;
    position: absolute;
    left: 15px;
  }
  .table.tab-sty1 td.lines-3::before {
    white-space: normal;
    display: block;
    max-width: 70px; 
    min-width: 70px; 
    top: 3px;
  }
  .table.tab-sty1 td:last-child{
    border-bottom: 1px solid #ff8033;
  }

  /* tab-sty3 */
  .table.tab-sty3 tbody, .table.tab-sty3 tr, .table.tab-sty3 td {
      display: block;
  }
  .edit .table.tab-sty3 tr {
      margin-bottom: 20px;
      border: 1px solid #E0E0E0;
      padding: 15px;
  }

  .table.tab-sty3 td {
      border: none;
      position: relative;
      text-align: left;
      border-bottom: 1px solid #E0E0E0;
      padding-left: 90px; /* 將 padding-left 應用到 td 本身 */
  }
  .table.tab-sty3 td:last-child{
    border-bottom: 1px solid #ff8033;
  }
  .table.tab-sty3 td::before {
      content: attr(data-label);
      margin-right: 10px;
      display: inline-block;
      min-width: 80px;
      font-weight: 400;
      font-size: 90%;
      color: #777777;
      position: absolute; /* 將偽元素定位到左側 */
      left: 15px; /* 調整這個值以匹配您 tr 的 padding */
  }
}


/* 編輯器list */
.html-edit dl,.html-edit ol,.html-edit ul {
  margin-top: .5em;
  margin-bottom: .5em;
}
.html-edit ol li,.html-edit ul li{
  margin-bottom: .5em;
}
.html-edit ul,.html-edit ol{
  margin-left: 2em;
  /* add*/
  text-indent: 0em; */
}
.html-edit ul>li {
  list-style: disc;
  margin-bottom: .5em;
}
.html-edit ol>li {
  list-style: decimal;
}
.html-edit ol li p,.html-edit ul li p{
  margin: 10px 0;
}

.html-edit pre{
  white-space: pre-wrap;
}
.cjk-ideographic li{
  list-style: cjk-ideographic;
}
.none-style,.none-style > li{
  list-style: none !important;
  text-indent: -2em;
}

/**YT Video RWD****/
.video-container {
  position: relative;
  /* 設定影片容器的寬度，可以根據需求調整 */
  width: 100%; /* 例如，讓影片寬度佔滿父元素 */
  padding-bottom: 56.25%; /* 16:9 的長寬比 (高 / 寬 = 9 / 16 = 0.5625) */
  height: 0; /* 高度設為 0，讓 padding-bottom 來撐開 */
  overflow: hidden; /* 確保內容不會溢出 */
  background-color: black; /* 影片載入前的背景色 */
  border-radius: 20px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0; /* 移除 iframe 的邊框 */
}
.inner_youtube {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; 
  overflow: hidden; 
  background-color: black; 
  border-radius: 20px;
}

.inner_youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.user-share_video .inner_youtube{
  padding-bottom: 178%;
}



/* common */
.f-8 { font-size: 8px; } 
.f-9 { font-size: 9px; } 
.f-10 { font-size: 10px; }
.f-11 { font-size: 11px; }
.f-12 { font-size: 12px; }
.f-13 { font-size: 13px; }
.f-14 { font-size: 14px; }
.f-16 { font-size: 16px; }
.f-18 { font-size: 18px; }
.f-20 { font-size: 20px; }
.f-22 { font-size: 22px; }
.f-24 { font-size: 24px; }
.f-26 { font-size: 26px; }
.f-30 { font-size: 30px; }
.f-36 { font-size: 36px; }
.f-44 { font-size: 44px; }
.lh110 { line-height: 110% !important;}

.br-hide { display: none; }

.text-justify { text-align: justify !important }
.text-wrap { white-space: normal !important }
.text-nowrap { white-space: nowrap !important }
.text-indent-0{text-indent: 0em !important; }
.text-indent-1{text-indent: -1em !important; }
.text-indent-2{text-indent: -2em !important; }
.text-indent-3{text-indent: -3em !important; }


.text-indent-0 li {text-indent: 0em !important;}
.text-indent-1 li {text-indent: -1em !important;}
.text-indent-1-5 li {text-indent: -1.5em !important;}
.text-indent-2 li {text-indent: -2em !important;}

.text-indent-3 li {text-indent: -3em !important;}

/* 超過其容器寬度時，自動截斷並顯示省略符號 */
.text-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.text-left { text-align: left !important }
.text-right { text-align: right !important }
.text-center { text-align: center !important }
.align-baseline { vertical-align: baseline !important } 
.align-top { vertical-align: top !important } 
.align-middle { vertical-align: middle !important } 
.align-bottom { vertical-align: bottom !important } 
.align-text-bottom { vertical-align: text-bottom !important } 
.align-text-top { vertical-align: text-top !important }
.p-0 {padding: 0 !important}
.m-0 {margin: 0 !important;}
.mt-1{margin-top: .25rem !important;}
.mt-2{margin-top: .5rem !important;}
.mt-3{margin-top: 1rem !important;}
.ml-0{margin-left: 0rem !important;}
.ml-1{margin-left: .25rem !important;}
.ml-2{margin-left: .5rem !important;}
.ml-3{margin-left: 1rem !important;}
.ml-4{margin-left: 1.5rem !important;}
.ml-5{margin-left: 2rem !important;}
.ml-6{margin-left: 3rem !important;}
.ml-7{margin-left: 4rem !important;}
.ml-n3{margin-left: -1rem !important;}
.inline-block {
  display: inline-block !important;
}

.color-1{ color: #FF6100;}
.bg-none{background-color: transparent !important;}
.text-break {
  overflow-wrap: break-word;
  word-break: break-all;
  hyphens: auto;
}
.nowrap{white-space:nowrap;}
.text-decoration{text-decoration: underline !important;}

@media screen and (max-width: 768px) {
  .html-edit {
    /* padding: 20px;
    font-size: 18px; */
    letter-spacing: 0px;
  }

  .html-edit .table {
    letter-spacing: 0px;
  }

  .tab-box {
    padding: 20px;
  }

  /* common-m */
  .br-hide-m {
    display: none;
  }

  .text-wrap-m {
    white-space: normal !important
  }

  .text-nowrap-m {
    white-space: nowrap !important
  }

  .text-left-m {
    text-align: left !important
  }

  .text-right-m {
    text-align: right !important
  }

  .text-center-m {
    text-align: center !important
  }
}
@media screen and (max-width: 450px){
  .html-edit {
    font-size: 16px;
  }
  .html-edit .table{
    font-size: 16px;
    letter-spacing: 0;
  }
  .table.tab-sty1 td.lines-3 {
    padding-top: 25px;
    padding-bottom: 25px;
  }
}
@media screen and (max-width: 330px){
.html-edit .table{
  /* font-size: 15px; */
}
}
.btn{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 48px;
  padding: 10px 35px;
  border-radius: 100px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  background-color: #202020;
  color: #ffffff;
}
/* htmledit END*/
html {
  scroll-padding-top: 100px; /* 替換成你的 Header 高度 */
}

.html-edit a.link_item{
    text-decoration: none !important;
}
.create-flow_character .create-flow_item p{
  margin: 0 0;
}
.timeline_title_step{
  margin: 0 0 2px 0 !important;
}
.timeline_title_num{
  margin: 0 0 !important;
}

ul.post-inner_catagory{
  margin-left: 0;
}
ul.post-inner_catagory li{
  list-style: none !important;
}
ul.post-inner_catagory li a{
  text-decoration: none !important;
}
.timeline_content p{
  margin: 0;
}
.overview_search .input {
  padding: 0 15px;
}
.blog-banner .breadcrumb {
  color: #fff;
}
pre {
  white-space: pre-wrap;
  word-wrap: break-word; 
  overflow-wrap: break-word;
}
.search-result{
  min-height: 600px;
  padding-bottom: 345px;
}
.search-result br:first-child{
  display: none;
}
.search-result center{
  text-align: left !important;
}
.search-result a font{
  color: #FF6100 !important;
}
.search-result table.table-striped{
width: 100% !important;
}
.search-result table.table-striped tr th{
  color: #b6dfa2 !important;
  font-size: 20px;
  border-bottom: 1px solid #333;
  padding-top: 20px;;
}
.search-result table.table-striped tr td{
  font-weight: 300 !important;
  border-bottom: 1px solid #333;
}
.search-result table.table-striped thead.thead-dark{
  display: contents;
}
.search-result font[color="blue"] {
  color: #46c2df !important;
}
.search-result h4{
  font-size: 26px;
  margin-bottom: 10px;
  font-weight: 400;
}
.search-result a img{
  padding: 20px;
  background: #ffffff;
  border-radius: 50px;
  margin: 20px;
  width: 150px;
}
@media screen and (max-width: 991px){
  .search-result a img{
    padding: 10px;
    background: #ffffff;
    border-radius: 50px;
    margin: 0px;
    width: 150px;
}
.search-result {
  min-height: 600px;
  padding-bottom: 0px;
}
}
@media screen and (max-width: 991px){
  .blog-list_search_catagory ul a.active, .blog-list_search_catagory ul a:hover{
    color: #202020;
  }
  .page-sidebar_title .title {
    width: 100%;
  }
  .page-sidebar_title.page-sidebar_title-qa .title {
    width: 100%;
  }
  .page-sidebar_title-qa a.btn-expand-all{
    margin-top: 20px;
  }
}
@media screen and (max-width: 575px) {
    .input{
        padding: 0 15px;
    }
    .footer_map .container{
        gap: 18px;
    }
    .footer_map_item {
        width: 47%;
    }
}
@media screen and (max-width: 430px) {
  .footer_map_item {
    margin-bottom: 10px;
    width: 100%;
}
}
@media screen and (max-width: 350px) {
    @-webkit-keyframes move-right {
      0% {
        left: 0px;
        -webkit-transform: rotate(270deg);
                transform: rotate(270deg);
      }
      100% {
        left: 12%;
        -webkit-transform: rotate(360deg);
                transform: rotate(360deg);
      }
    }
    @keyframes move-right {
      0% {
        left: 0px;
        -webkit-transform: rotate(270deg);
                transform: rotate(270deg);
      }
      100% {
        left: 12%;
        -webkit-transform: rotate(360deg);
                transform: rotate(360deg);
      }
    }
  }

  
  .post-card_intro.allshow {
    margin-bottom: 30px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 9999;
    overflow: visible;
  }


  .formula-container {
    display: flex;
    align-items: center;
}

.fraction-group {
    display: flex;
    align-items: center;
    margin: 0 5px;
}

.fraction {
    display: flex;
    flex-direction: column;
    text-align: center;
    margin: 0 5px;
}

.numerator {
    padding-bottom: 2px;
    border-bottom: 1px solid #333;
    line-height: 1.2;
}

.denominator {
    padding-top: 2px;
    line-height: 1.2;
}
.large-bracket {
    font-size: 1.5em;
    line-height: 1;
    position: relative; 
    top: 0.1em;
    user-select: none;
}
.ch-none{
  display: none;
}
span.select2.select2-container.select2-container--default {
  width: 100% !important;
  /* border-radius: 10px;
    border: 1px solid #cccccc;
    width: 100%;
    font-size: 18px;
    background-color: #fff;
    padding: 0 15px;
    border-radius: 100px;
    height: 54px;
    width: calc(100% - 40px - 10px)!important; */
}
span.select2-container--default .select2-selection--multiple{
  border-radius: 10px;
  border: 1px solid #cccccc;
  width: 100%;
  font-size: 18px;
  background-color: #fff;
  padding: 0 15px;
  border-radius: 30px;
  min-height: 54px;
  display: flex;
  align-items: center;
}
span.select2-container--default.select2-container--focus .select2-selection--multiple{
  border: 1px solid #cccccc;
}

.footer_info_phone a {
  color: #ffffff !important;
}
p[name="rule_noreg"]{
  color: red;
  font-size: 22px;
}
.register-status .btn-cta.btn-rect-dark{
  padding: 15px 15px;
  font-size: 18px;
  justify-content:center; 
}
.btn-side_cart_num{
  top: 0;
  right: 0;
}
.btn-cta{
  text-align: center;
}
.choose-company_list .swiper-container .swiper-wrapper{
  margin-bottom: 0px;
}
.choose-company_swiper .swiper-pagination.swiper-pagination-bullets{
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  width: 100%;
}
.swiper-pagination-clickable .swiper-pagination-bullet{

}
@media screen and (max-width: 991px) {
  .btn-side_cart_inner{
    width: 56px;
    height: 56px;
  }
  .choose-company_chosen > h4{
    text-align: center;
  }
}
@media screen and (max-width: 768px) {
  .qa_content_a{
    width: 38px;
    height: 38px;
    font-size: 18px;
  }
}
@media screen and (max-width: 440px) {
  .domain-list_item p {
      font-size: 18px;
  }
  .domain-list_item a{
    width: 40px;
    height: 40px;
  }
  .domain-list_item a svg{
    width: 20px;
    height: 20px;
    top: 54%;
  }
  .btn-side_cart_inner{
    width: 50px;
    height: 50px;
  }
  .btn-side_cart {
    right: 5px;
  }
  .recommand-domain_search{
    gap: 5px;
  }
  .recommand-domain_search_main{
    width: calc(100% - 80px - 10px);
  }
  .recommand-domain_search_main label{
    display: inline-block;
    /* width: 100%; */
  }
  .recommand-domain_search_main input{
    font-size: 16px;
  }
  .recommand-domain_search .switch p{
    font-size: 16px;
  }
  .recommand-domain_search_main label{
    font-size: 16px;
  }
  .switch_main{
    width: 72px;
  }
  .recommand-domain_search button{
    width: 140px;
    height: 44px;
  }
}
@media screen and (max-width: 335px){
  .btn-side a{
    font-weight: 400;
    font-size: 14px;
  }
  .recommand-domain_search_main input{
    font-size: 14px;
  }
}
/* whois popup */
.whois_popup_content{
  top: 10px;
  -webkit-transform: translate(-50%, 0%);
  transform: translate(-50%, 0%);
  max-width: 1000px;
  height: 97vh;
}
.whois_popup_input{
  overflow-y: auto;
    max-height: 87vh;
}
.whois_popup_input table{
  width: 100%;
  margin-bottom: 20px;
}
.whois_popup_input table tr td{
  padding: 5px 15px;
}
.whois_popup_input table div.boder{
  border-bottom: 1px solid #FF8033;
}
.whois_popup_input table tr td[bgcolor="#EEFFFF"]{
  background-color: #FFF5EF;
}
.whois_popup_input input[type="submit"]{
  cursor: pointer;
  font-size: 18px;
  color: #ff6100;
  border: 2px solid #ff6100;
  transition: all .3s ease;
}
.whois_popup_input input[type="submit"]:hover{
  color: #fff;
  background: #FF6100;
}
.whois_popup_input  font[size="+2"] b{
  color: #8ec176;
}
.choose-company_title .subtitle{
  margin-bottom: 0;
}
.whois_popup_input a{
  text-decoration: underline;
}
.whois_popup_input a:hover{
  color: #FF6100;
}
@media screen and (max-width: 500px) {
  .choose-company_list .swiper-container .swiper-wrapper {
    margin-bottom: 30px;
  }
}
.chairman_img{
  border-radius: 20px;
}
.chairman .page-sidebar_title {
  display: flex;
  flex-direction: row; 
}
@media screen and (max-width: 991px) {
  .chairman .page-sidebar_title{
    align-items: flex-start;
  }

  .chairman .page-sidebar_title .btn-back {
    order: -1;
    margin-bottom: 15px;
  }

  .chairman .page-sidebar_title .title {
    order: 0;
  }
}

.post-inner_catagory.opendata {

  display: inline-block;
  flex-wrap: nowrap; 
  overflow-x: auto;
  overflow-y: hidden;
  /* max-width: 1360px;  */
  flex-shrink: 0;
  gap: 10px;
  margin-bottom: 0px;
  padding-bottom: 0px;
}

.post-inner_catagory.opendata li {
  flex-shrink: 0; 
  list-style: none; 
  width: fit-content;
  display: inline-block;
  margin-bottom: 10px;
}

.post-inner_catagory.opendata a {
  display: block;
  border-radius: 100px;
  background-color: #fff;
  border: 1px solid #ff6100;
  color: #ff6100;
  padding: 10px 20px;
  font-size: 20px;
}

.post-inner_catagory.opendata::-webkit-scrollbar {
  display: none;
}
.post-inner_catagory.opendata::-webkit-scrollbar {
  height: 0px; 
  width: 0px;  
}
.post-inner_catagory {
  user-select: none; 
      cursor: grab; }

.post-inner_catagory.opendata.active-drag {
  cursor: grabbing; 
}

@media screen and (max-width: 991px){
  .post-inner_catagory.opendata {
    display: flex;
  }

  .post-inner_catagory.opendata li {
    flex-shrink: 0; 
    list-style: none; 
  }
  
  .post-inner_catagory.opendata a {
    display: block;
    border-radius: 100px;
    background-color: #fff;
    border: 1px solid #ff6100;
    color: #ff6100;
    padding: 10px 20px;
    font-size: 20px;
  }
}
