@font-face{
  font-family: segoe_w;
  src: url(/font/segoe/segoeui.ttf);
}

@font-face{
  font-family: segoe_w;
  src: url(/font/segoe/segoeuib.ttf);
  font-weight: bold;
}

@font-face{
  font-family: segoe_w;
  src: url(/font/segoe/segoeuii.ttf);
  font-style: italic;
}
 
html{
  height: 100%;  
  width: 100%; 
}

/*Microsoft YaHei UI*/

body{
  width: 100%; 
  background-color: rgba(255,250,238,0.5) /*#F4F4F4*/;
  color: #505050;
  height: 100%;
  font-family: segoe_w, Verdana, Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  margin: 0px;
}

#header{
  width: 100%;
  background: linear-gradient(rgb(251, 173, 24), rgb(254, 198, 62));
  margin-bottom: 30px;
  height: 40px;
  padding-top: 10px;
  padding-bottom: 10px;
  position: fixed;
}

#header_body img{
  height: 70px;
  margin-top: -15px;
}

#header_body a{
  text-decoration: none;
  color: white !important;
}

#header_body a:first-of-type{
  float: left;
}

#header_body a h2{
  font-weight: normal;
  display: inline-block;
  margin-top: -50px;
  margin-left: 20px;
  vertical-align: middle;
}

#logout{
  text-decoration: none;
  font-size: 16px;
  float: right;
  line-height: 37px;
  vertical-align: middle;
}

#main{
  padding-top: 90px;
  max-width: 1300px;
  width: 95%;
  margin: 0px auto;
  min-height: calc(100vh - 180px);
}

#header_body{
  padding: 0px 2%;
  max-width: calc(1300px - 4%);
  width: 91%;
  margin: 0px auto;
}

.shadow{
  box-shadow: 0px 3px 10px 1px rgba(128,128,128, 0.2); 
}

.shadow_r{
 box-shadow: 0px -3px 10px 1px rgba(128,128,128, 0.2);
}

a.shadow:hover{
  animation: shadow_hover 0.5s;
  box-shadow: 0px 5px 10px 3px rgba(128,128,128, 0.3);
}

@keyframes shadow_hover {
  from  {box-shadow: 0px 3px 10px 1px rgba(128,128,128, 0.2); }
  to {box-shadow: 0px 5px 10px 3px rgba(128,128,128, 0.3);}
}

.box{
  background-color: white;
  border-radius: 4px;
}

#footer{
  color: white !important;
  width: 97%;
  height: 40px;
  padding: 10px 1.5% 10px 1.5% !important;
  background-color: rgb(119,119,119); 
  text-align: center;
  font-size: 16px;
  line-height: 40px;
  vertical-align: middle;
  clear: both;
  margin-top: 30px;
}

#footer a, #footer a:visited{
  color: white;
  text-decoration: none;
}

/*----------------------------------------------------------------------------*/

#welcome{
  padding: 2%;
  font-size: 16px;
}

#welcome img{
  width: 300px;
  margin-right: 50px;
  display: inline-block;
  vertical-align: middle;
}

#welcome div{
  width: calc(100% - 360px);
  display: inline-block;
  vertical-align: middle;
}

.card{
  display: inline-block;
  vertical-align: top;
  height: 390px;
  width: 16.2%;
  padding: 1.5%; 
  margin-right: 1%;
  margin-bottom: 1%;
  text-align: center;
  text-decoration: none;
}

.card:nth-of-type(5n){
  margin-right: 0px;  
}

.card .photo{
  height: 220px;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}

/*----------------------------------------------------------------------------*/

#basic_info{
  vertical-align: top;
  float: left;
  width: 260px;
  padding: 2%;
  margin-right: 1%;
  margin-bottom: 30px;
}

#basic_info .photo{
  height: 300px;
  margin-bottom: 10px;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}

#basic_info .icon{
  display: inline-block;
  margin-right: 10px;
  font-size: 22px;
  vertical-align: top;
}

#basic_info p{
  line-height: 190%;
}

#basic_info a{
  text-decoration: none;
  color: #505050;
}

#basic_info ul{
  list-style-type: none;
  padding: 0px;
  margin: 0px;
  line-height: 180%;
}

#name{
  font-size: 16px;
  margin-bottom: 20px;
}

#info{
  margin-bottom: 30px;     
}

#info, #name{
  padding: 2%;
  width: calc(91% - 261px);
  float: right;
}

#info h3{
  margin-top: 0px;
}

#info .icon:before{
  font-size: 30px;
  width: 30px;
  display: inline-block;
  margin-right: 15px;
  vertical-align: middle;
}

#info ul{
  padding-left: 20px;
  padding-start: 0px;
}

/*----------------------------------------------------------------------------*/

#login{
  width: calc(100% - 60px);
  max-width: 500px;
  padding: 30px;
  margin: 0px auto;
}

/*----------------------------------------------------------------------------*/

table{
  border-collapse: collapse;
  border: none; 
}

th{
  background-color: rgb(173,195,61);
  color: white;
  font-weight: bold; 
  text-align: left;   
}


h1{
  margin-top: 5px;  
}


td, th{
  padding: 10px 12px 10px 0px;
  vertical-align: top;
  border: none;
}

tr td:nth-of-type(2){
  vertical-align: middle;
}

a {
  color: rgb(0,0,0);
}

a:hover{
  text-decoration: none;
}

hr{
  height: 1px;
  border: none;
  background-color: rgb(192,192,192);
  clear: both;
  margin-top: 20px;
  margin-bottom: 20px;
}

button{
  background-color: rgb(251, 173, 24);
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  border-radius: 4px; 
  border: none;
  color: white;
  font-weight: bold;
  font-size: 16px; 
  -moz-box-shadow: 0px 3px 10px 1px rgba(64,64,64, .2);
  -webkit-box-shadow: 0px 3px 10px 1px rgba(64,64,64, .2);
  box-shadow: 0px 3px 10px 1px rgba(64,64,64, .2);
}

input{
  width: calc(100% - 24px);
  padding: 10px;
  border-radius: 4px; 
  border: 2px solid rgb(251, 173, 24);
  font-size: 16px; 
  margin-top: 10px;
  margin-bottom: 20px;
  font-family: segoe_w;
  background-color: white !important;
}

@media screen and (max-width: 1130px) {
  .card, .card:nth-of-type(5n){
    width: 21.2%;
    padding: 1.5%; 
    margin-right: 1%;
  }
  
  .card:nth-of-type(4n){
    margin-right: 0px;  
  }
  
  #welcome img{
    width: 25%;
  }
  
  #welcome div{
    width: calc(75% - 60px);
  }
}

@media screen and (max-width: 853px) {
  .card, .card:nth-of-type(4n), .card:nth-of-type(5n){
    height: 400px;
    width: 29.6% !important;
    padding: 1.5%; 
    margin-right: 1%;
  }
  
  .card p{
    margin-top: 5px;
    margin-bottom: 5px;
  }
  
  .card h3{
    margin-bottom: 5px;
  }
  
  .card:nth-of-type(3n){
    margin-right: 0px;
  }
  
  #welcome{
    padding: 3%;
  }
}

@media screen and (max-width: 780px) {
  #info, #name, #basic_info{
    float: none;
    display: block;
    padding: 4%;
    width: 92%;  
  }
  
  #basic_info{
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 692px) {
  #welcome img, #welcome div{
    display: block;
    width: 100%;
  }
  
  #welcome img{
    width: 50%;
    margin: 0px auto;
    margin-bottom: 30px; 
  }  
}

@media screen and (max-width: 602px) {
  .card, .card:nth-of-type(3n), .card:nth-of-type(4n), .card:nth-of-type(5n){
    height: 390px;
    width: 43% !important;
    padding: 3% !important; 
    margin-right: 2%;
    margin-bottom: 2%;
  }
  
  .card:nth-of-type(2n){
    margin-right: 0px;  
  }
}

@media screen and (max-width: 500px) {
  #info, #name, #basic_info{
    padding: 6%;
    width: 88%;
  }
}

@media screen and (max-width: 410px) {
  .card, .card:nth-of-type(2n), .card:nth-of-type(3n), .card:nth-of-type(4n), .card:nth-of-type(5n){
    height: auto !important;
    width: 92% !important;
    padding: 4% !important; 
    height: 380px;
    margin-right: 0px;
    margin-bottom: 3%;
  }
  
  #welcome{
    padding: 5%;
  }
  
  #welcome img{
    width: 60%;
  }
}

@media screen and (max-width: 244px) {
  #footer{
    height: auto !important;
  }
}

@media screen and (max-width: 244px) {
  #header_body a h2{
    display: none;  
  }
}
