@charset "utf-8";
html,body{margin:0;font-size:10px;}
/*a,a:focus,a:visited,a:hover{text-decoration: none;color:black;}*/
/*a,a:focus,a:visited,a:hover{color:white;}*/


/* gradient background */
body,html{width:100%;height:100%;margin:0;overflow:hidden;}
body {
    background:rgb(19,29,13);
    background-size: 300% 300%;
    background-repeat: no-repeat;
    -webkit-animation: gradient 13s ease infinite;
            animation: gradient 13s ease infinite;
}

@-webkit-keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
/* gradient background - END */ 







text{font-weight: bold;}
main{
  display:flex;
  justify-content:space-around;
  width:98%;
  height:100vh;
  color:#ffcc00;
  overflow: auto;
}
/*#side,#disp_lg{
  display: flex;
  flex-direction: column;
  align-items: center;
}*/
#side{
	width:25%;	
  height:80%;  
	font-size:26px;
  display: flex;
  align-self:center; 
  align-items: stretch;
  flex-direction: column;
}
#disp_lg{
  width:75%;
  height:80%;
  /*border:1px solid #BFBFBF;*/
  font-size: 26px;
  align-self: center;
  /*background: url('../images/login_bg1.png') no-repeat 0 -30%;*/
  background-size:contain;
  position: relative;
  top:10%;
}
#login_access{
  width:100%;
  display:flex;
  justify-content:center;
}
#login_access a,#login_access a:link,#login_access a:visited{
  color:#ffcc00;text-decoration: none;font-size:20px;
}
.login_access{
  width:80px;
  height:80px;
  border-radius: 50%;
  margin:10px;
  font-size:20px;
}
#guest,#member,#dealer{
  background-color: rgb(42,63,29);
}
/*
#back_home a:link,#back_home a:visited{
  color:#ffcc00;text-decoration: none;font-size:60px;
}
*/
#back_home {margin-top:60px;cursor: pointer;text-align: center;}
#back_home i {font-size:50px;cursor: pointer;color:#ffcc00;}
#back_home_i:hover {
  transform: scale(1.2);
}
#guest p,#member p,#dealer p{
  color:#fff2cc;background-color: rgb(42,63,29);
  display:flex; justify-content: center;
  align-items: center;
  height:1.5em; border-radius:8px;
  margin:1em auto;
}
.login_access img,.login_access p{
  display:block; 
  text-align: center;
  width:80%;
  height:80%;
  margin:10%;
  cursor: pointer;
}
.login_access img:hover{
  transform: scale(1.2);
}
#login_form{
  width:100%;
  /*position: absolute;*/
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  flex-direction: column;
  /*top:10vh;*/

}
#login_form form{
  width:100%;
  display:flex;
  justify-content:center; 
  flex-wrap: wrap;
}
/*
#login_form div{
  width:100%;    
  display:flex;
  justify-content: left; 
}
*/
#login_form form input{
  /*margin:auto 5px;*/
  margin:3px 5px;
}
input[type='text'],input[type='password']{
  background-color: rgb(42,63,29);
  color:#ffcc00;
  border-radius: 0px;
  border:none; 
  text-shadow:none;
}
input[type='button']{
  background-color:#16ABFF;
  color:#ffcc00;
  border:none;
  line-height: 42px;
  margin:0 5px;
  padding:0 10px;
}

#ad1,#ad2,#ad3{
  display:inline-block;
  width:22vw;height:33.3%;
  border:1px solid #BFBFBF;
  margin:auto;
}
.title{
    font-size: 3rem;
    margin : 20px;
    text-align: center;
}
.rem {
    /*font-size: 1.5rem;*/
    font-weight:700px;
    display:inline-block;
    width:100%;
    text-align: center;
}
.forget {
    width:100%;
    text-align:center;
    margin:0.5em auto;
    font-size:18px;
    color:#ffcc00;
}
.error_msg{
  margin-top:20px;
  color:#F52A36;
}
.pw {
    color:#ffcc00;
    text-decoration:underline;
}
#help_modal {
    font-size: 2.6rem;
    line-height: 3.2rem;
}
.help1 {
    color: #EEEE00;
    font-weight: 600px;
}
.help1 a {
    color: #66B3FF;
    font-weight: 600px;
    text-decoration:underline;
}
#help_modal button {
    font-size: 2.2rem !important;
}
.guest {padding-top:20px;padding-bottom:20px;color:red;font-size:2rem;}


/* 調整 checkbox */
/* The container */
.container {
  display:flex;
  position: relative;
  /*padding-left:35px;*/
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 18px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  justify-content: center;
}

/* Hide the browser's default checkbox */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left:calc(50% - 4.6em);
  height: 25px;
  width: 25px;
  background-color: rgb(42,63,29);
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
  background-color: rgb(42,63,29);
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
  background-color: rgb(42,63,29);
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
  left: 9px;
  top: 3px;
  width: 8px;
  height: 16px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
/* 調整 checkbox - END*/



@media(max-width:1024px){
#disp_lg{
  /*background: url('../images/login_bg1.png') no-repeat 20% 20%;*/
  background-size: cover;
}
#login_form{
  position: absolute;
  /*bottom:30%;*/
}
}

/*@media(max-width:450px){*/
@media(max-width:767px){
main{
  flex-direction: column-reverse;
  height:100vh;
  margin:auto;
}
.container-fluid{
  padding-right:0;
  padding-left:0;
  margin-right:0;
  margin-left:0;

}
#side,#disp_lg{
  display: flex;
  flex-direction: column;
}
#side{
  width:100%;
  height:50%;  
  font-size:26px;
  justify-content:space-between;  
}
#disp_lg{
  width:100%;
  height:100%;
  border:none;
  font-size: 26px;
  /*background:linear-gradient(135deg,#E6EDFD,#CADBF4);*/
  background-size:cover;
  align-self: flex-start;

}
#login_form {
  display: flex;
  align-items: center;
  flex-direction: column;   
  position: relative;
}
#login_form form{
  display: flex;
  flex-direction: column;
  
}
/*#login_form form input{margin-bottom:5px;}*/
input[type='text'],input[type='password']{
  background-color: rgb(42,63,29);
  color:#ffcc00;
  border-radius: 0px;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;  
}
input[type='button']{
  width:30%;
}
.error_msg{
  font-size:16px;
  text-align: left;
  background-color: rgba(255,255,255,0.8);
}
#ad1,#ad2,#ad3{
  display:inline-block;
  width:100%;height:32%;
  border:1px solid #BFBFBF;
  margin:auto;
}
.rem {
    /*font-size: 2rem;*/
}
/*.forget {
    font-size: 2rem;
    padding-left: 30px;
}*/
}

@media(max-width: 420px){
input[type='text'],input[type='password']{
  width:90%; 
}
#login_form form input{
  margin:3px auto;
}
}
