
:root {
  --main_color: #6BD425;
  --sub_color: #3454D1;
  --dark_color: #364652;
  --dark_color_2: #2A6041;
}

:root {
  scroll-padding-top: 90px;
}

body{
  font-family: arial,"Microsoft JhengHei","微軟正黑體",sans-serif;
  font-size: 17px;
  margin-top: 60px;

}


a{
 color: #212529;
 text-decoration: none;
}

a:hover,a:focus{
  color: var(--main_color);
}

h2 {
  font-weight: bold;
  color: var(--sub_color);
  margin-bottom: 1.2rem;
}

h3 {
  font-weight: bold;
  color: var(--main_color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

h4 {
  font-weight: bold;
  font-size: 1.05rem;
  background: var(--main_color);
  color: #FFF;
  display: inline-block;
  padding: 4px 16px;
  border-radius: 50px;
}

h5 {
  font-weight: bold;
  color: #000;
}

.container_defined{
  max-width: 650px;
  padding-right: var(--bs-gutter-x, .75rem);
  padding-left: var(--bs-gutter-x, .75rem);
  margin-right: auto;
  margin-left: auto;
}


.fit-img{
	width: 100%;
}

.navbar{
  background: linear-gradient(90deg, rgba(202,237,115,1) -50%, rgba(58,210,91,1) 100%);
  box-shadow: 1px 1px 8px #666;
  -webkit-box-shadow: 1px 1px 8px #666;
  -ms-box-shadow: 1px 1px 8px #666;
  z-index: 999;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  min-height: 58px;
}


.navbar-light .navbar-nav .nav-link{
  font-weight: bold;
  color: #FFF;
  padding: 0.5rem 1rem;
}

.navbar-light .navbar-nav .nav-link.disabled{
  color: #FFF;
}


.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
  color: var(--dark_color_2);
}
.navbar .line_logo{
  padding:0.5rem 2rem ;
}

.navbar .line_logo img{
  width: 32px;
}

.dropdown-menu{
  border: 2px solid #000;
}

.dropdown-item{
  color: #000;
  font-size: 0.95rem;
  font-weight: bold;
}

.dropdown-item:focus, .dropdown-item:hover {
    color: #1e2125;
    background-color: #ecf4ff;
}

footer{
  background: var(--dark_color);
  color: #FFFFFF;
  padding: 1rem 0;
  line-height: 1.8rem;

}

footer a {
  color: #FFF;
}

footer .service_info span{
  padding: 0 10px;
}




.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: 80px;
    right: 25px;
    background: var(--mainColor);
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    z-index: 999;
    display: none;
}

#goTop:hover,
#goTop:active,
#goTop:focus{
	background: var(--lightPink);
}

#goTop img{
	width: 40px;
}

.line-login-btn {
  display: inline-flex;
  align-items: center;
  padding: 1px 16px 0px 7px;
  background-color: #00c300;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.line-login-btn:hover {
  background: #06C755 ;
  color: #FFF;
}

.line-login-btn i {
  margin-right: 10px;
  font-size: 1.6rem;
}


.btn-primary{
  background: var(--sub_color);
  border-radius: 50px;
}

.table th {
  min-width: 90px;
  background-color: var(--dark_color_2);
  color: #FFF;
}

.table-hover>tbody>tr:hover>*{
  --bs-table-accent-bg:#f3ffeb;
}

.table tr.disable td{
  --bs-table-accent-bg: #f8f8f8!important;
  color: #9d9d9d;
}

.table tr.disable td a{
  color: #9d9d9d;
  pointer-events: none;
}

#task-list th:last-child,#task-list td:last-child,
#task-list th:nth-last-child(2),#task-list td:nth-last-child(2){
  text-align: center;
}

#task-list td:first-child a{
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  white-space:normal;
}

.accordion-button:focus{
  box-shadow: none;
}

.accordion-button:not(.collapsed){
  background-color: #fff;
  color: var(--main_color);
}

.accordion-button::after{
  background-image:url(../img/arrow_down.svg);
}

.accordion-button:not(.collapsed)::after{
  background-image:url(../img/arrow_down.svg);
}

.nav-tabs .nav-link{
  width: calc(100%/ 2);
  font-weight: bold;
  font-size: 1.2rem;
  color: #888;
}

.record-list{
  list-style: none;
  padding: 0;
}
.record-item{
  border: 1px solid #dee2e6;
  padding: 10px;
  margin-bottom: 0.5rem;
}


.record-item .right{
  float: right;
}

.tab-content>.tab-pane {
  padding: 1rem;
  border: 1px solid #dee2e6;
  border-top: none;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active{
  color: var(--main_color);
}

.page-link{
  color: #212529;
}

.page-link:hover,.page-link:focus{
  color: var(--main_color);
  background-color: #f6f6f6;
  border-color: #dee2e6;
}

.member-info{
  border: 1px solid #a3a3a3;
  border-radius: 8px;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: bold;
  box-shadow: 4px 4px 0 #dee2e6;
}

.member-info .avatar{
  border-radius: 50%;
}

.member-info .name{
  font-size: 1.3rem;
}

.member-info .point{
  text-align: right;
  font-size: 1.1rem;
}

.member-info .point strong{
  color: var(--main_color);
  font-size: 1.4rem;
}

.navbar-light .navbar-toggler{
  border: none;
}

.navbar-light .navbar-toggler-icon {
    background-image: url(../img/menu.svg);
}

.navbar-toggler:focus{
  color: transparent;
  opacity: 0.5;
}
/*=====================RWD=======================*/
/*平板*/
@media screen and (max-width: 991px){

  .navbar-brand img{
    height: 40px;
  }


}

/*手機*/
@media screen and (max-width: 767px){

  h3 {
    font-size: 1.3rem;
  }

  h4{
    font-size: 1rem;
  }

  .navbar-brand img{
    height: 40px;
  }

  .nav-item{
    border-top: 1px solid #FFF;
  }

  .member-info .avatar{
    width: 50%;
    margin-bottom: 1rem;
  }

  .record-item .right {
    float: none;
    display: block;
  }

  footer .service_info span{
    display: block;
  }

}


/*小尺寸裝置*/
@media screen and (max-width: 375px){

}

/*手機橫式*/
@media only screen and (min-device-width : 375px) and (max-device-width : 812px) and (orientation : landscape){

}



