
/* remember to define focus styles! */ 
:focus { 
  outline: 0; 
} 

/* remember to highlight inserts somehow! */ 
ins { 
  text-decoration: none; 
} 
del { 
  text-decoration: line-through; 
} 

/* tables still need 'cellspacing="0"' in the markup */ 
table { 
  border-collapse: collapse; 
  border-spacing: 0; 
}
:root {
--center-logo-height-baseratio: 2;
}

*, html, body {
margin: 0px;
}



@font-face {
  font-family: ArialBold;
  src: url('./fonts/Arial Bold.ttf');
}


#login-background {
  background-image: url('/static/SSO BG_1920_1080@1x.jpg');
  height: 100%;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;  
}

#login-copyright {
  position: relative;
  top: 45%;
  left: -50%;
  font-size: 14px;
}

#login-wrapper {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}

#login-box-first {
position: relative; 
background-color: white;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
top: 0%;
left: 30%;
}

#topleft-logo-first {
position: relative;
}

#center-logo-wrapper-first {
width: 100%;
position: relative;
display: -ms-flexbox;
display: flex;
-ms-flex-pack: center;
justify-content: center;
-ms-flex-align: center;
align-items: center;
-ms-flex-direction: column;
flex-direction: column; 
}

#center-logo-wrapper-first img {
  max-height: 100%;
  max-width: 100%;
}

@media (max-width: 767px) {
#particles-js {
  display: none;
}
}

@media (min-width: 768px) {
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
/* 淺色背景請依序改成這兩個值: #FAFAFA, #969696 深色背景請依序改成這兩個值: #10253f, #080f18*/
  background-image: radial-gradient(#10253f, #080f18); 
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;  
}
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none){

#particles-js {
  position: absolute;
  height: auto;
  -ms-overflow-style: none !important;
  height: 100%;
/* 淺色背景請依序改成這兩個值: #FAFAFA, #969696 深色背景請依序改成這兩個值: #10253f, #080f18*/
  background-image: radial-gradient(#10253f, #080f18); 
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;  

}}
#login-message-first {
  transform-origin: left; 
  font-family: Arial; 
  position: relative;
}

#login-form-first {
position: relative;
}
#forget-form-first {
  position: relative;
  }
#login-username-first {
margin: 0 auto;
border-radius: 0px;
border-color: #C2C2C2;
border-width: 2px 2px 1px 2px;  
}

#login-username-first:focus {
border: solid #99CAFF;
border-width: 2px 2px 1px 2px;
color: #000000;
}

#login-pwd-first {
margin: 0 auto;
border-radius: 0px;
border-color: #C2C2C2;
border-width: 1px 2px 2px 2px;
}

#login-pwd-first:focus {
border: solid #99CAFF;
border-width: 1px 2px 2px 2px;
color: #000000;
}

#login-rememberme-first {
position: relative;
transform-origin: left; 
font-family: Arial; 
font-weight: 400;
}
  
#login-rememberme-first-forget {
  float: right;
  color: #3395ff;
}

#login-forgetpwd-first {
transform-origin: right; 
font-family: Arial; 
position: absolute;
}
#forget-btn-first{
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-direction: column;
  flex-direction: column;
  cursor: pointer; 
  position: relative; 
  background-color: #40506f; 
  font-family: ArialBold; 
  color: #FEFEFE; 
}
#login-btn-first {
display: -ms-flexbox;
display: flex;
-ms-flex-pack: center;
justify-content: center;
-ms-flex-align: center;
align-items: center;
-ms-flex-direction: column;
flex-direction: column;
cursor: pointer; 
position: relative; 
background-color: #40506f; 
font-family: Arial;
font-size: 14px; 
color: #FEFEFE;
}

#center-nav-bar {
  position: relative;
}

#center-nav-bar .nav {
  height: 100%;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

#center-nav-bar .nav-item {
  width: 50%;
  color: #A0A0A0;
  text-align: center;
  border-bottom: 1px solid #dfdfdf;
}

#center-nav-bar .nav-item a {
  color: #A0A0A0
}

#center-nav-bar .nav-item a:hover {
  background-color: transparent;
  cursor: pointer;
}

#center-nav-bar .nav-item.active {
  color: #408ccc;
  font-weight: bold;
  border-bottom: 3px solid #408ccc;
}

#center-nav-bar .nav-item.active a {
  color: #408ccc;
}

#login-return-login {
  position: relative;
  text-align: center;
}

#login-return-login-btn {
  color: #408ccc;
} 

#login-return-login-btn:hover {
  cursor: pointer;
}

#login-rememberme-first-forget:hover {
  cursor: pointer;
}

#login-rememberme-first label{
  font-weight: normal;
  margin: 0;
}

@media (max-width: 424px) {
  #login-box-first {
    width: 750px;
    height: 1334px;
    transform: scale(0.55);
  }
  
  #topleft-logo-first {
    width: 167px;
    height: 87px;
    margin: 144px 544px 0 39px;
  }
  
  #center-logo-wrapper-first {
    width: 672px;
    height: 168px;
    margin: 101px 39px 0 39px;
  }
  
  #center-logo-wrapper-first img {
    width: 100%;
  }
  
  #center-nav-bar {
    width: 672px;
    height: 83x;
    margin: 40px 39px 0 39px;
    font-size: 28px;
  }
  
  #login-message-first {
    width: 672px;
    margin: 14px 39px 0 39px;
    font-size: 28px;
    padding: 27px 81px 17px 25px;
  }
  
  #login-form-first {
    width: 674px;
    height: 166px;
    margin: 0 38px;
    font-size: 28px;
  }
  #forget-form-first{
    width: 674px;
    height: 166px;
    margin: 20% 38px 10px 38px;
    font-size: 28px;
  }
  #login-username-first, #login-pwd-first{
    width: 674px;
    height: 83px;
    font-size: 28px;
  }
  
  #login-rememberme-first {
    width: 672px;
    height: 72px;
    margin: 14px 39px 0 39px;
    padding: 24px 0 28px 0;
    line-height: 28px;
    color: #000000;
    font-size: 28px;
  }
  
  #login-rememberme-first input {
    width: 17px;
    height: 17px;
  }
  
  #login-rememberme-first-remember {
    height: 21px;
    width: 204px;
    line-height: 28px;
    color: #000000;
    font-size: 28px;
  }
  
  #login-rememberme-first-forget {
    height: 21px;
    line-height: 28px;
    font-size: 28px;
    vertical-align: baseline;
  }
  
  #login-btn-first {
    width: 218px;
    height: 85px;
    margin: 15px 39px 0 493px;
    font-size: 34px;
  }
  #forget-btn-first {
    width: 270px;
    height: 85px;
    margin: 15px 39px 0 418px;
    font-size: 34px;
  }
  
  #login-return-login {
    width: 672px;
    height: 73px;
    margin: 96px 39px 0 39px;
    padding: 23px 142px 21px 139px;
    font-size: 28px;
  }
}

@media (min-width: 425px) and (max-width: 767px) {
  #login-box-first {
    width: 1080px;
    height: 1920px;
    transform: scale(0.3);
  }
  
  #topleft-logo-first {
    width: 249px;
    height: 129px;
    margin: 181px 788px 0 43px;
  }
  
  #center-logo-wrapper-first {
    width: 994px;
    height: 249px;
    margin: 151px 43px 0 43px;
  }
  
  #center-logo-wrapper-first img {
    width: 100%;
  }
  
  #center-nav-bar {
    width: 994px;
    height: 125px;
    margin: 60px 42px 0 43px;
    font-size: 42px;
  }
  
  #login-message-first {
    width: 994px;
    margin: 28px 43px 0 43px;
    font-size: 42px;
    padding: 34px 112px 21px 34px;
  }
  
  #login-form-first {
    width: 996px;
    height: 260px;
    margin: 0 42px;
    font-size: 43px;
  }
  #forget-form-first{
    width: 996px;
    height: 260px;
    margin: 20% 42px 10px 42px;
    font-size: 43px;  
  }

  #login-username-first, #login-pwd-first{
    width: 996px;
    height: 130px;
    font-size: 43px;
  }
  
  #login-rememberme-first {
    width: 994px;
    height: 97px;
    margin: 17px 43px 0 43px;
    padding: 31px 0 41px 0;
    line-height: 42px;
    color: #000000;
    font-size: 42px;
  }
  
  #login-rememberme-first input {
    width: 25px;
    height: 25px;
  }
  
  #login-rememberme-first-remember {
    height: 32px;
    width: 305px;
    line-height: 42px;
    color: #000000;
    font-size: 42px;
  }
  
  #login-rememberme-first-forget {
    height: 42px;
    line-height: 42px;
    font-size: 42px;
    vertical-align: baseline;
  }
  
  #login-btn-first {
    width: 373px;
    height: 125px;
    margin: 12px 43px 0 664px;
    font-size: 50px;
  }
  #forget-btn-first {
    width: 448px;
    height: 125px;
    margin: 12px 43px 0 589px;
    font-size: 50px;
  }
  #login-return-login {
    width: 994px;
    height: 97px;
    margin: 146px 43px 0 43px;
    padding: 29px 212px 26px 204px;
    font-size: 42px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  
#login-box-first {
  width: 310px;
  height: 448px;
}

#topleft-logo-first {
  width: 64px;
  height: 35px;
  margin: 23px 219px 0 27px;
}

#center-logo-wrapper-first {
  width: 256px;
  height: 64px;
  margin: 38px 27px 0 27px;
}

#center-nav-bar {
  margin: 16px 27px 0 27px;
  height: 32px;
  width: 256px;
  font-size: 11px;
}

#login-message-first {
  margin: 8px 27px 0 27px;
  padding: 9px 9px 4px 9px;
  width: 256px;
  max-height: 35px;
  line-height: 11px;
  color: #342d2c;
  font-size: 11px;
}

#login-form-first {
  margin: 0 26px;
  width: 258px;
}
#forget-form-first{  
  margin: 20% 26px 10px 26px;
  width: 258px;}

#login-username-first, #login-pwd-first {
  height: 32px;
}

#login-rememberme-first {
  margin: 6px 27px 0 27px;
  width: 256px;
  height: 25px;
  line-height: 8px;
  color: #342d2c;
  font-size: 8px;
  padding: 8px 0;
}

#login-rememberme-first input {
  margin: 0;
  width: 8px;
  height: 9px;
  vertical-align: text-bottom;
}

#login-rememberme-first label {
  height: 9px;
}

#login-rememberme-first-remember {
  width: 81px;
  height: 8px;
  font-size: 8px;
  line-height: 8px;
  vertical-align: text-bottom;
}

#login-rememberme-first-forget {
  line-height: 8px;
  font-size: 8px;
}

#login-btn-first {
  margin: 8px 27px 0 187px;
  width: 96px;
  height: 32px;
}
#forget-btn-first {
  margin: 8px 27px 0 112px;
  width: 171px;
  height: 32px;
}
#login-btn-first span {
  line-height: 16px;
  font-size: 1.05em;
}

#forget-btn-first span{
  line-height: 16px;
  font-size: 1.05em;
}
#login-return-login {
  margin: 32px 27px 0 27px;
  width: 256px;
  height: 25px;
  padding: 8px 0 5px 0;
  font-size: 11px;
}
}

@media (min-width: 1024px) and (max-width: 1439px) {

#login-box-first {
  width: 310px;
  height: 448px;
}

#topleft-logo-first {
  width: 64px;
  height: 35px;
  margin: 23px 219px 0 27px;
}

#center-logo-wrapper-first {
  width: 256px;
  height: 64px;
  margin: 38px 27px 0 27px;
}

#center-nav-bar {
  margin: 16px 27px 0 27px;
  height: 32px;
  width: 256px;
  font-size: 11px;
}

#login-message-first {
  margin: 8px 27px 0 27px;
  padding: 9px 9px 4px 9px;
  width: 256px;
  max-height: 35px;
  line-height: 11px;
  color: #342d2c;
  font-size: 11px;
}

#login-form-first {
  margin: 0 26px;
  width: 258px;
}
#forget-form-first{ 
  margin: 20% 26px 10% 26px;
  width: 258px;
}
#login-username-first, #login-pwd-first {
  height: 32px;
}

#login-rememberme-first {
  margin: 6px 27px 0 27px;
  width: 256px;
  height: 25px;
  line-height: 8px;
  color: #342d2c;
  font-size: 8px;
  padding: 8px 0;
}

#login-rememberme-first input {
  margin: 0;
  width: 8px;
  height: 9px;
  vertical-align: text-bottom;
}

#login-rememberme-first label {
  height: 9px;
}

#login-rememberme-first-remember {
  width: 81px;
  height: 8px;
  font-size: 8px;
  line-height: 8px;
  vertical-align: text-bottom;
}

#login-rememberme-first-forget {
  line-height: 8px;
  font-size: 8px;
}

#login-btn-first {
  margin: 8px 27px 0 187px;
  width: 96px;
  height: 32px;
}

#login-btn-first span {
  line-height: 16px;
  font-size: 1.05em;
}
#forget-btn-first {
  margin: 8px 27px 0 112px;
  width: 171px;
  height: 32px;
}
#forget-btn-first span {
  line-height: 16px;
  font-size: 1.05em;
}
#login-return-login {
  margin: 32px 27px 0 27px;
  width: 256px;
  height: 25px;
  padding: 8px 0 5px 0;
  font-size: 11px;
}
}

@media (min-width: 1440px) and (max-width: 2559px) {
input[type='text'], input[type='password'] {
  font-size: 1.09em !important;
}
#login-box-first {
  width: 372px;
  height: 538px;
}

#topleft-logo-first {
  width: 78px;
  height: 41px;
  margin-top: 32px;
  margin-left: 28px;
}

#center-logo-wrapper-first {
  margin: 46px 32px 0 32px;
  width: 308px;
  height: 77px;
}

#center-logo-wrapper-first img {
  width: 100%;
}

#center-nav-bar {
  margin: 19px 32px 0 32px;
  height: 39px;
  width: 308px; 
}

#center-nav-bar .nav {
  width: 100%;
  height: 39px;
  display: flex;
  flex-wrap: wrap;
}

#center-nav-bar .nav-item {
  font-size: 13px;
  text-align: center;
  margin: 0;
}

#login-message-first {
  margin: 9px 32px 0 32px;
  width: 308px;
  max-height: 42px;
  line-height: 13px;
  color: #000000;
  font-size: 13px;
  text-align: left;
  padding: 10px 30px 6px 11px;

}

#login-form-first {
  margin: 0 31px;
  width: 310px;
}
#forget-form-first{ 
  margin: 20% 31px 10% 31px;
  width: 310px;
}
#login-username-first {
  width: 310px;
  height: 40px;
}

#login-pwd-first {
  width: 310px;
  height: 40px;
}

#login-rememberme-first {
  margin: 8px 32px 0 32px;
  padding: 10px 0;
  width: 308px;
  height: 29px;
  line-height: 10px;
  color: #342e2d;
  font-size: 10px;
}

#login-rememberme-first input {
  width: 15px;
  height: 15px;
}

#login-rememberme-first-remember {
  height: 10px;
  width: 96px;
  line-height: 19px;
  color: #000000;
  font-size: 13px;
}

#login-rememberme-first-forget {
  height: 19px;
  line-height: 19px;
  font-size: 13px;
  vertical-align: baseline;
}

#login-btn-first {
  margin: 9px 32px 0 224px;
  width: 116px;
  height: 40px;
}

#login-btn-first span {
  font-size: 1.37em;
  line-height: 18px;
}
#forget-btn-first {
  margin: 9px 32px 0 149px;
  width: 181px;
  height: 40px;
}

#forget-btn-first span {
  font-size: 1.37em;
  line-height: 18px;
}
#login-return-login {
  margin: 39px 32px 0 32px;
}
}

@media (min-width: 2560px) {
#login-box-first {
  width: 620px;
  height: 896px;
}

#topleft-logo-first {
  margin: 48px 437px 0 55px;
  width: 128px;
  height: 67px;
}

#center-logo-wrapper-first {
  width: 512px;
  height: 129px;
  margin: 77px 53px 0 55px;
}

#center-logo-wrapper-first img {
  width: 100%;
}

#center-nav-bar {
  width: 512px;
  height: 64px;
  margin: 32px 53px 0 55px;
  font-size: 22px;
}

#login-message-first {
  width: 512px;
  max-height: 89px;
  margin: 15px 53px 0 55px;
  font-size: 22px;
  padding: 17px 49px 10px 18px;
}

#login-form-first {
  width: 514px;
  height: 132px;
  margin: 0 52px 0 54px;
  font-size: 22px;
}
#forget-form-first{ 
  width: 514px;
  height: 132px;
  margin: 20% 52px 10% 54px;
  font-size: 22px;
}
#login-username-first, #login-pwd-first{
  width: 514px;
  height: 66px;
  font-size: 22px;
}

#login-rememberme-first {
  margin: 14px 53px 0 55px;
  padding: 15px 0;
  width: 512px;
  height: 49px;
  line-height: 22px;
  color: #000000;
  font-size: 22px;
}

#login-rememberme-first input {
  width: 17px;
  height: 18px;
}

#login-rememberme-first-remember {
  height: 17px;
  width: 161px;
  line-height: 22px;
  color: #000000;
  font-size: 22px;
}

#login-rememberme-first-forget {
  height: 17px;
  line-height: 22px;
  font-size: 22px;
  vertical-align: baseline;
}

#login-btn-first {
  width: 192px;
  height: 65px;
  margin: 15px 53px 0 375px;
  font-size: 26px;
}
#forget-btn-first {
  width: 217px;
  height: 65px;
  margin: 15px 53px 0 300px;
  font-size: 26px;
}
#login-return-login {
  width: 512px;
  height: 49px;
  margin: 79px 53px 0 55px;
  padding: 14px 97px 13px 98px;
  font-size: 22px;
}
}