@charset "utf-8";
/*登入外框*/
.login-form-container {
  max-width: 800px;
  margin: 0 auto;
}
/*切換按鈕*/
.login-form-tab {
  margin: 0;
  padding: 0;
}
.login-form-tab li {
  display: inline-block;
  width: 200px;
  border: 1px solid #d8d8d8;
  border-top: 3px solid #d8d8d8;
  margin: 0 -4px -1px 0;
  text-align: center;
  cursor: pointer;
  font-size: 15px;
  font-size: 1.5rem;
  line-height: 40px;
  color: #999;
  background-color: #f9f9f9;
}
.login-form-tab li.active {
  border-top: 3px solid #337ab7;
  border-bottom: 1px solid #fff;
  color: #666666;
  background-color: #fff;
}
/*內容框*/
.login-form-area {
  display: flex;
  border: 1px solid #d8d8d8;
  padding: 15px 0;
}

/*左右內容*/
.login-left,
.login-right {
  display: flex;
  flex: 1 1 50%;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px 20px;
}
.login-form-container input,
.login-form-container button,
.login-form-container img {
      margin-bottom: 8px;
}
.login-form-container button{
   margin-top: 8px;
}
.login-form-container .form-control {
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  box-shadow: none;
  border-radius: 0px;
  border: 1px solid #eee;
  border-top: 0px;
  border-right: 0px;
  border-left: 0px;
}
.login-form-container .form-control:focus {
  box-shadow: none;
  border-bottom: 1px solid #337ab7;
}
.login-form-container .form-group {
  margin-bottom: 12px;
  position: relative;
}
.login-form-container .bmd-form-group{
    padding-top: 0.70312rem;
}
.login-right {
  border-left: 1px solid #d8d8d8;
}
/*右邊有文字內容時*/
.register-right-text {
  max-width: 250px;
}
/*"或者選擇"文字*/
.login-or {
  display: block;
  margin-bottom: 20px;
}
/*手機登入或e-mail登入按鈕*/
.use_register_block:first-child {
  margin-right: 40px;
}
.use_register_block:before {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-left-color: #666;
}

.use_register_block.on {
    font-weight: bold;
    color: #666;
    text-decoration: none;
  }

/*忘記密碼按鈕*/
.login-forget {
  text-align: right;
  display: block;
}
/*註解文字*/
.login-comment {
  display: block;
  color: #999;
}
/*登入附註說明*/
.login-memo{
	margin-top: 1rem;
}
/*fb顏色*/
.login-fb .btn-primary {
  background: #3A5897;
  border-color: #3A5897;
}
/*===註冊===*/
.register-title {
  font-size: 24px;
  font-size: 2.4rem;
}
.register-subtitle {
  text-align: center;
  color: #666;
  margin-top: 4px;
  margin-bottom: 12px;
}
/*註冊步驟*/
.register-step {
  margin: 15px 0 28px 0;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.register-step:before {
  content: '';
  position: absolute;
  width: 70%;
  left: 50%;
  -moz-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  height: 2px;
  background: #D8D8D8;
  top: 40%;
}
.register-step li {
  list-style-type: none;
  color: #fff;
  font-size: 13px;
  width: 33.33%;
  float: left;
  position: relative;
}
.register-step li span {
  border-radius: 50%;
  width: 30px;
  height: 30px;
  line-height: 30px;
  display: block;
  color: #fff;
  background: #D8D8D8;
  margin: 0 auto 5px auto;
  text-align: center;
}
.register-step li.active span {
  background: #337ab7;
}
/*帶入手機號碼*/
.register-phone {
  font-size: 18px;
  font-size: 1.8rem;
  color: #666;
  margin-top: 0px;
  margin-bottom: 25px;
  position: relative;
}
/*手機驗證碼欄位重發驗證*/
.login-form-container #verify_code,
.login-form-container #mobile {
  padding-right: 50px;
}
#resend_btn {
  position: absolute;
  right: 0;
  top: 0;
  padding-right: 0;
}
/*電話欄位文字位置修改*/
.intl-tel-input {
 /* margin-bottom: 20px;*/
  width: 100%;
}
.intl-tel-input.separate-dial-code .selected-dial-code {
  padding-left: 8px!important;
}
/*===修改密碼.單欄使用===*/
.register-step-block {
  max-width: 400px;
  border: 1px solid #eee;
}
.register-block,
.login-fb {
  width: 95%;
  max-width: 500px;
}
/*發送驗證碼位置在文字下方時*/
.login-code-btn {
  margin-bottom: 25px;
}
@media (max-width: 767px) {
  .login-form-area {
    flex-wrap: wrap ;
    padding: 15px;
  }
  .register-step-block {
    padding: 15px;
  }
  /*切換按鈕*/
  .login-form-tab {
    margin: 0;
    padding: 0;
  }
  .login-form-tab li {
    width: 49%;
    border: 1px solid #d8d8d8;
    border-top: 3px solid #d8d8d8;
    margin: 0 -4px -1px 0;
    text-align: center;
    cursor: pointer;
    font-size: 15px;
    line-height: 40px;
    color: #999;
    background-color: #f9f9f9;
  }
  .login-left,
  .login-right {
    display: flex;
    flex: 1 1 100%;
    padding: 0px;
  }
  .login-right {
    border-left: 0px;
    margin-top: 0px;
  }
  .register-right {
   margin-top: 5px;
  margin-bottom: 0px;
  }
  /*新增文字最大寬度*/
  .register-right-text {
    max-width: 350px;
}
  .register-block,
  .login-fb {
    min-width: 240px;
  }
  .login-fb img {
    display: none;
  }
  .login-comment {
    margin-bottom: 8px;
  }
}
/*2014/10/20增加-會員登入時的畫面*/
.account-wall input {
  margin-bottom: 10px;
}

/*----20180928會員有社群登入時----*/
.social-login{

}
.social-login-btn{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
 /* max-width: 200px;*/
}
.social-login-btn button{
text-align: left;
}
.social-login-btn > div{
      margin: 4px 0;
}


/*一般會員登入20181003新增加修改的社群按鈕*/
.default-social-login{
  display: flex;
  justify-content: center;
   margin-top: 15px;
  margin-bottom: 10px;
}
.default-social-login button{
  margin-right: 2px;
  flex: 1;
  text-align: left;
}
.default-social-login button:hover,.social-login-btn button:hover,.social-login-g:hover {
  opacity: 0.7;
}
.default-social-login button:last-child{
  margin-right: 0px;
}

.default-social-login .social-login-g {
   margin-top: 0;
 width: 130px;
}

.default-social-login  .social-login-g .g-signin2 , .social-login-btn .social-login-g .g-signin2{
    opacity: 0;
    margin-top: 0;
}
/*各個按鈕顏色和設定*/
 #facebook_login, #line_login, .social-login-g,#guest_login {
 width: 220px;
  height: 38px;
  font-size: 0;
 }
.g-signin2{
    width:100%;
  height: 38px;
  }
 #facebook_login{
    background: url('../images/fb-login.svg?1011') no-repeat   #3b5998;
    border-color: #3b5998;
}

#line_login{
     background:url('../images/line-login.svg?1011') no-repeat  #00c300;
    border-color: #00c300;

}
.social-login-g{
     border-radius: 4px;
}
#guest_login {
 background: url('../images/guest-login.svg') no-repeat var(--secondary);

 }

/*一般版的圖片按鈕位置修正*/
.default-social-login   #facebook_login ,
.default-social-login   #line_login {
background-position: center 0;
 }

/*會員加入時替換按鈕*/
 #facebook_login.fb-join{
  background: url('../images/fb-join.svg?1011') no-repeat  #3b5998;
 }
  #line_login.line-join{
  background: url('../images/line-join.svg?1011') no-repeat  #00c300;
 }
.social-login-g.social-join-g{
 }

@media (max-width: 1200px) {
.default-social-login {
    flex-wrap: wrap;
  /*  max-width: 155px;*/
    margin: 25px auto 5px auto;
  }
 .default-social-login button {
       width: 100%;
       flex: auto;
       margin-bottom: 8px;
       margin-right: 2px;
 } 
 .default-social-login .social-login-g {
    width: 100%;
    background-position: center 0;
}


}
@media (max-width: 991px) {

}
@media (max-width: 767px) {
.social-login {
        width: 95%;
        max-width: 500px;
}  
.social-login-btn{
  margin-top: 15px;
  width: 100%;
  flex-wrap: nowrap;
}
/*.social-login-btn button{
  margin-right: 2px;
  flex: 1;

}*/
.social-login-btn > div{
  margin-right: 2px;
  width: 100%;
  flex: 1;
}
#facebook_login, #line_login, .social-login-g,#guest_login {
  width: 100%;
  flex: 1;
  margin: 0 2px 0 0;
}
/*按鈕圖片替換*/
 #facebook_login{
    background: url('../images/fb-login-m.svg?1011') no-repeat center 0   #3b5998;
}

#line_login{
     background:url('../images/line-login-m.svg?1011') no-repeat  center 0  #00c300;

}
/*手機板上的google登入按鈕增加文字*/
.social-login-g{
     background-color:#2e6ee4;
     display: flex;
     justify-content: center;
     align-items: center;
     gap:4px;
}
.social-login-g::after {
    content: "登入";
    display: block;
    font-size: 16px;
    color: #fff;
}
 
.social-login-g::before{
	content:"登入"
}
/*會員加入時替換按鈕*/
 #facebook_login.fb-join{
  background: url('../images/fb-join-m.svg?1011') no-repeat  center 0  #3b5998;
 }
  #line_login.line-join{
  background: url('../images/line-join-m.svg?1011') no-repeat center 0  #00c300;
 }
.social-login-g.social-join-g{
     background: url('../images/google-join-m.svg?1011') no-repeat center 0  #dd4b39 ;
 }
#guest_login {
 background: url('../images/guest-login-m.svg') no-repeat center 0 var(--secondary);
  }
}

.login-email{
    font-weight: bold;  
}

/*IE版的CSS-處理會員登入和會員專區*/
@media screen\0 {   
 .social-login-btn{
  display: block;
   }
    .member-box{
 flex: 1 1 20%;
  }
  }

.login-comment--small{
 font-size: 0.875rem;
}
