
:root {
  --dark-blue: #0D2853;
  --clear-blue: #1D5998;
  --light-blue: #CDE0E5;
  --aqua-blue: #99BDD1;
  --light-gray: #F2F2F2;
  --gray: #9FA0A0;
  --dark-gray: #595757;
}

:root {
  scroll-padding-top: 90px;
}


body{
  font-family: arial,"Microsoft JhengHei","微軟正黑體",sans-serif;
  color: var(--dark-gray);
  letter-spacing: 1px;
  font-size: 1.0625rem;
}


a{
  color: var(--clear-blue);
  text-decoration: none;

}

.w-850{
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
}

/*標題*/

h1{
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

h2{
  color: var(--clear-blue);
  font-size: 1.3rem;
  font-weight: bold;
}

.page_title{
  font-weight: bold;
  text-align: center;
  font-size: 3.3rem;
  margin-bottom: 0;
  letter-spacing: 5px;
  margin-bottom: 6px;
}

.sbu_title{
  font-weight: bold;
  text-align: center;
  font-size: 1.1rem;
}


.section_title{
  color: #6E6F70;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 6px;
  border-bottom: 1px solid #999999;
}

.section_title:before{
  content: '';
  position: absolute;
  left: -9px;
  bottom: -7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid #999999;
  background: #FFF;

}

.section_title_2{
  color: #FFF;
  background: var(--clear-blue);
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
  display: inline-block;
  padding: 13px 20px;
  border-radius: 50px;
  min-width: 190px;
  letter-spacing: 3px;
}

.section_title_3{
  display: inline-block;
  background: #A5A5A5;
  color: #FFF;
  font-size: 1.1em;
  padding: 12px;
  text-align: center;
  margin-bottom: 30px;
  border-radius: 50px;
  font-weight: bold;
  min-width: 250px;
}


/*按鈕*/

.main_btn{
  display: inline-block;
  background: #FFF;
  color: #6E6F70;
  border: 2px solid #C6C6C6;
  border-radius: 50px;
  font-size: 1.4rem;
  padding: 10px 20px;
  min-width: 180px;
  box-shadow: 4px 4px 0 #D9D9D9;
}

.main_btn i{
  color: #378BBF;
}

.main_btn:hover,.main_btn:active,.main_btn:focus{
  color: #FFF;
  background: linear-gradient(to right,  #8dbdcc 0%,#dbedfc 100%);
  border-color: #FFF;
}

.main_btn_2{
  display: inline-block;
  background: #FFF;
  color: #595757;
  border: 2px solid #595757;
  border-radius: 50px;
  font-size: 1.3rem;
  font-weight: bold;
  padding: 10px 20px;
  min-width: 210px;
}

.main_btn_2:hover,.main_btn_2:active,.main_btn_2:focus{
  color: #FFF;
  background: #595757;
}



.btn-primary {
  color: #fff;
  background-color: var(--clear-blue);
  border-color: var(--clear-blue);
  border-radius: 0;
  min-width: 100px;
}

.btn-primary:hover {
    color: #fff;
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
}


/*其他*/

.fit-img{
  width: 100%;
}

section.dashed_line{
  border-bottom: 2px dashed #ccc;
}

.cursor-ptr{
  cursor: pointer;
}

.ellipsis-1{
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1; /*行數*/
  -webkit-box-orient: vertical;
  white-space:normal;
}

.ellipsis-2{
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2; /*行數*/
  -webkit-box-orient: vertical;
  white-space:normal;
}

/*#goTop{*/
/*    position: fixed;*/
/*    bottom: 20px;*/
/*    right: 20px;*/
/*    background: var(--clear-blue);*/
/*    border-radius: 0px;*/
/*    padding: 10px;*/
/*    cursor: pointer;*/
/*    z-index: 999;*/
/*    display: none;*/
/*}*/

/*#goTop:hover,*/
/*#goTop:active,*/
/*#goTop:focus{*/
/*	background: var(--aqua-blue);*/
/*}*/

/*#goTop img{*/
/*	width: 26px;*/
/*}*/

/*=====================RWD=======================*/

@media (min-width: 1400px) {
  .container{
    max-width: 1140px;
  }
}

/*平板*/
@media screen and (max-width: 991px){
  body{
    margin-top: 60px;
  }

  .page_title{
    font-size: 2.6rem;
  }

  .sbu_title{
    font-size: 0.9rem;
  }

}

/*手機*/
@media screen and (max-width: 767px){

  .page_title {
      font-size: 2.4rem;
      letter-spacing: 3px;
  }

  .main_btn_2{
    font-size: 1.2rem;
  }

  .section_title_2{
    font-size: 1.2rem;
    padding: 13px 15px;
    min-width: 150px;
  }
}

/*小尺寸裝置*/
@media screen and (max-width: 375px){
  .page_title {
      font-size: 2rem;
  }
  .logo-en {
    display: none !important;
  }
}

/*============================================*/


/*============ navbar選單 ==============*/
.navbar{
  padding-top: 30px;
  padding-bottom: 60px;
  border-bottom: 1px solid #606060;
  background: #FFF;
  z-index: 999;
}

.navbar-brand{
  position: relative;
  color: #FFF;
  display: inline-block;
  padding: 12px 20px 12px 40px;
  margin: 0;
  transform: translateY(-10px);
  -webkit-transform: translateY(-10px);
  -ms-transform: translateY(-10px);
}

.navbar-brand img{
  height: 38px;
}

.navbar-brand:before{
  content: '';
  position: absolute;
  top: 0;
  left: -20px;
  height: 100%;
  width: calc(100% + 100px);
  z-index: -1;
  background: var(--dark-blue);
  transform: skewX(-10deg);
  -webkit-transform: skewX(-10deg);
  -ms-transform: skewX(-10deg);
}


.logo-en{
  position: relative;
  color: #FFF;
  display: inline-block;
  padding: 15px 30px;
  margin: 0 5px 0 0;
  z-index: 0;
}

.logo-en img{
  height: 20px;
}

.logo-en:before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--clear-blue);
  z-index: -1;
  transform: skewX(-10deg);
  -webkit-transform: skewX(-10deg);
  -ms-transform: skewX(-10deg);
}


.navbar-light .navbar-nav .nav-link{
  padding: 15px 30px!important;
  font-size: 1.0625rem;
  font-weight: bold;
  color: var(--dark-gray);
}

.navbar-nav .nav-link {
  position: relative;
  margin-right: 5px;
}

.navbar-nav .nav-link:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--light-blue);
  z-index: -1;
  transform: skewX(-10deg);
  -webkit-transform: skewX(-10deg);
  -ms-transform: skewX(-10deg);
}

.navbar-nav .nav-item:nth-child(2) .nav-link:before{
  background: var(--light-gray);
}

.navbar-nav .nav-item:nth-child(3) .nav-link{
  color: var(--gray);
}
.navbar-nav .nav-item:nth-child(3) .nav-link:before{
  background: #FFF;
  border: 1px solid #C9CACA;
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .show>.nav-link{
  color: #FFF;
}

.navbar-light .navbar-nav .nav-link:focus:before,
.navbar-light .navbar-nav .nav-link:hover:before,
.navbar-light .navbar-nav .nav-link.active:before,
.navbar-light .navbar-nav .show>.nav-link:before{
  background: linear-gradient(to right,  #2e527c 0%,#a3bdd6 100%);
  border: 0;

}

.navbar-light .navbar-toggler{border:none;}
.navbar-light .navbar-toggler {
    color: rgb(205 224 229);
}

/*=========== 選單第二層 ===============*/
.navbar-expand-lg .navbar-nav .dropdown-menu{
  position: fixed;
  left: 0;
  right: 0;
  top: 95px;
  background: var(--aqua-blue);
  border: 0;
  border-radius: 0;
  text-align: center;
}


.navbar-expand-lg .navbar-nav .dropdown-menu li{
    display: inline-block;
    padding: 0 5px;
    width: 15%;
}

.dropdown-item{
  color: #FFF;
}

.dropdown-item:focus, .dropdown-item:hover{
  background: var(--light-blue);
  color: var(--dark-gray);
}
/*====================================*/

/*選單 RWD*/
@media screen and (max-width: 991px){
  .navbar{
    padding-top: 0;
    padding-bottom: 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
  }

  .navbar .container-fluid{padding: 0;}

  .navbar-brand {
    padding: 32px;
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
  }
  .navbar-brand img{
    height: 40px;
  }

  .logo-en {
    padding: 20px 25px;
    transform: translateY(8px);
    -webkit-transform: translateY(8px);
    -ms-transform: translateY(8px);
  }
  .navbar-nav .nav-link:before{
    transform: skewX(0);
    -webkit-transform: skewX(0);
    -ms-transform: skewX(0);
  }
  .navbar-nav .nav-item:nth-child(3) .nav-link:before{
    border: 0;
  }

  .navbar-light .navbar-nav .nav-link {
      font-size: 1rem;
      margin-right: 0;
  }

  .navbar-light .navbar-toggler{
    margin-right: 12px;
  }

}

@media screen and (max-width: 767px){
  .navbar-brand{
    padding: 15px 5px 15px 20px;
  }
  .navbar-brand img{
    height: 28px;
  }

  .logo-en {
      padding: 10px 15px;
  }

  .logo-en img {
      height: 13px;
  }


}

@media screen and (max-width: 375px){

  .logo-en {
      padding: 10px 8px;
  }

  .logo-en img {
      height: 11px;
  }

}


/*=========== 彈出視窗 ===============*/
.modal-backdrop {
    background-color: #0D2853;
}

.modal-backdrop.show {
    opacity: .3;
}

.modal-content {
    background-color: #EFEFEF;
    border: 2px solid #FFF;
    border-radius: 20px;
}

.modal-content{
  padding: 1.5rem 1rem;
}

.modal-header{
  border-bottom: 0;
}

.modal-body{
  padding: 0.5rem 1rem;
}

.modal-footer{
  border-top: 0;
  padding: 0.5rem 1rem;
}

.modal-footer .check_area .form-check{
  background: var(--clear-blue);
  color: #FFF;
  padding: 5px;
  padding-left: 2em;
  margin-bottom: 4px;
}

.modal-header .btn-close {
  padding: 0.8rem 0.8rem;
  margin: 0;
  border: 2px solid #ddd;
  border-radius: 50%;
  box-shadow: 2px 2px 2px rgb(0 0 0 / 50%);
  position: absolute;
  top: 4px;
  right: 9px;
}

@media (min-width: 576px){

  .modal-dialog {
      max-width: 620px;
  }

}


@media screen and (max-width: 767px){
  .modal-header .btn-close {
      top: -2px;
      right: -4px;
  }
}


/*=========== 輪播 ===============*/
.splide__slide{
  margin-right: 1rem;
}

.splide__slide img{
  height: 100%;
}

.splide__arrow--prev {
    left: -4em;
}

.splide__arrow--next {
    right: -4em;
}

.splide__arrow{
  background: #ddd;
}

.splide__arrow svg{
  fill: #FFF;
}

.splide__pagination{
  bottom: -1.5rem;
}

.splide__pagination__page.is-active{
  background: #1D5998;
}

@media screen and (max-width: 1300px){
  .splide__arrow--prev {
      left: 1em;
  }

  .splide__arrow--next {
      right: 1em;
  }
}

@media screen and (max-width: 767px){
  .splide__slide {
      margin-right: 2px;
      height: 11rem!important;
  }
}


/*============ 問卷 ==============*/
.selected-list{
  max-width: 800px;
  margin: 0 auto;
}
.selected-list .item{
  display: block;
  background: #A5A5A5;
  color: #FFF;
  font-size: 1.1em;
  padding: 12px;
  text-align: center;
  margin-bottom: 12px;
  border-radius: 50px;
  font-weight: bold;
}

.selected-list .sub-items .item{
  background: #FFF;
  color: #A5A5A5;
  border: 1px solid #595757;
  font-weight: normal;
  font-size: 1.05rem;
  padding: 9px;
}

.col-form-label{
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 2px;
  position: relative;
}

.col-form-label.w-fixed{
  max-width: 140px;
}

.col-form-label.required:before{
  font-size: 1.3rem;
  color: #DE863C;
  content: "* ";
  position: absolute;
  left: 0;
  top: 0;
}

.form-control {
  border: 1px solid #595757;
  border-radius: 50px;
}

.form-select{
  border: 1px solid #595757;
  border-radius: 50px;
}

.check-style-1 .form-check{
  background: #A5A5A5;
  color: #FFF;
  padding: 10px 10px 10px 40px;
  margin-bottom: 10px;
  position: relative;
}

.check-style-1 .form-check label{
  display: block;
  cursor: pointer;
}


.check-style-1  .form-check .form-check-input{
  transform: translateY(-2px);
  -webkit-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
}

.check-style-1 .tips_btn{
  right: 10px;
  top: 50%;
}

.check-style-1 .tips_btn i{
  font-size: 1.3rem;
}


.tips_btn{
  color: #1D5998;
  display: inline-block;
  cursor: pointer;
  position: absolute;
  right: -25px;
  top: 46%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

.tips_btn:hover{
  color: #0d6efd;
}

.tips_btn i{
  font-size: 1.4rem;

}


.check-style-2 .form-check{
  background: #CDDEE8;
  color: var(--clear-blue);
  font-size: 1.1rem;
  padding: 1rem 3rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  border: 2px solid #FFF;
  box-shadow: 4px 4px 4px rgb(0 0 0 / 20%);
  position: relative;
}

.check-style-2 .form-check label{
  display: block;
  cursor: pointer;
}

.check-style-2 .tips_btn{
  color: #1D5998;
  display: inline-block;
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

.check-style-2 .tips_btn:hover{
  color: #0d6efd;
}


.check-style-3 > .item > .form-check{
  font-size: 1.3rem;
  font-weight: bold;
  background: #BAD7E5;
  color: #32485B;
  border: 4px solid #FFF;
  border-radius: 50px!important;
  box-shadow: 1px 3px 4px rgb(0 0 0 / 40%);
  padding: 0.8rem 4rem;
  position: relative;
}

.check-style-3 > .item:nth-child(2) > .form-check{
  background: #CAE0EF;
}

.check-style-3 > .item:nth-child(3) > .form-check{
  background: #D9DCE8;
}

.check-style-3 > .item:nth-child(4) > .form-check{
  background: #A7C0D3;
  color: #FFF;
}

.check-style-3 > .item:nth-child(4) >  .form-check .time{
  color: #FFF;
}

.check-style-3 > .item > .form-check label{
  display: block;
  cursor: pointer;
}

.check-style-3 > .item > .form-check label .time{
  float: right;
  font-size: 1rem;
  font-weight: normal;
  color: #595757;
  line-height: 2rem;
}


.check-style-3 .accordionBox{
  border: 2px dashed #92A0A8;
  margin: 1rem;
  padding: 1rem;
}


input::placeholder {
  color: #A5A5A5!important;
}

.form-caption{
  display: flex;
  justify-content: space-between;
  padding:0 1.1rem;
}
.form-caption .form-check{
  font-size: 1.2rem;
  font-weight: bold;
}

.tooltip-inner {
  background-color: #1d5998;
}


@media screen and (max-width: 767px){

  .col-form-label{font-size: 1.1rem}

  .col-form-label.required:before {
      font-size: 1.3rem;
      color: #DE863C;
      content: "* ";
      position: absolute;
      left: 7px;
      top: -7px;
  }

  .selected-list .sub-items .item{
    font-size: 1rem;
  }

  .form-caption{
    flex-direction: column;
  }

  .check-style-3 > .item > .form-check label .time{
    float: none;
    display: block;
  }
  .check-style-3 > .item > .form-check {
    border-radius: 20px!important;
  }
}

@media screen and (max-width: 375px){

  .selected-list .sub-items .item{
    font-size: 0.8rem;
  }

}
