* {
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
}

/* 样式表头 */
header {
  background: #7C44A1;
  padding: 1rem 1rem;
  text-align: center;
  color: white;
}
    .logo{
    float: left;
    padding: 1rem 1rem;
    display: block;
    width: 150px;
    height: 100px;
    margin: 0 auto;
    }

header h1 {
  color: white;
  text-shadow: 0 1px 0 black;
  font-size: calc(1rem + 1.5vw);
}

header p {
  font-size: 95%;
  text-align: right;
  font-weight: bold;
  color: black;
}



@media only screen and (max-width: 600px) {
  .column {
    display: block;
    width: 100%;
  }
}

/* 弹性盒子的容器 */
section {
  display: -webkit-flex;
  display: flex;
}

/* Style the navigation menu */
nav {
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  padding: 0px;
}

/* Style the list inside the menu */
nav ul {
  list-style-type: none;
  padding: 0;
}
/* Style the tab */
.tab {
  float: left;
  border: 0px solid #ccc;
  /* background-color: #F6F8F9; */
  background: #42434C;
  color: white;
}

/* Style the buttons inside the tab */
.tab button {
  display: block;
  background-color: inherit;
  color: #F2CFEE;
  padding: 10px 20px;
  width: 100%;
  border: none;
  outline: none;
  text-align: left;
  cursor: pointer;
  transition: 0.3s;
  font-size: 16px;
  text-decoration: underline;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #8C96CB;
  color: white;
}

/* Create an active/current "tab button" class */
.tab button.active {
  /* background-color: #7374AA; */
  color: white;
}


.tab a {
  display: block;
  color: #F2CFEE;
  padding: 10px 20px;
  text-decoration: underline;
  font-size: 16px;
}


.tab a:hover:not(.active) {
  background-color: #7374AA;
  color: white;
}


.tab h4 {
 /* background-color: #7374AA; */
  background: #1d1e22;
  color: white;
  letter-spacing: 0.01rem;
  text-transform: uppercase;
  padding: 1rem 1rem 1rem 1rem;
  margin: 0rem 0 0.5rem 0;
}
/* 样式化内容 */

.tabcontent {
  -webkit-flex: 3;
  -ms-flex: 3;
  flex: 3;
  float: left;
  width: 100%;
  border-left: none;
  padding: 16px;
}
/* Style the table */
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  border: 1px solid #ddd;
  font-size: 14px;

}

th,tr,td{
border: 1px solid #ddd;
}


th, td {
  text-align: left;
  padding: 16px;
  line-height: 1.6;
}

/*
th:first-child, td:first-child {
  text-align: left;
}
*/

tr:nth-child(even) {
  background-color: #f2f2f2
}


/* insert a verticle line before a text */
.text {
  position: relative;
  padding-left: 13px;
  margin: 24px 0;
  color:#5B5287;
  text-align:justify;
  text-justify:inter-ideograph;
  line-height: 1.5;
}

.text:before {
  content: "";
  background-color: #5B5287;
  width: 5px;
  height: 24px;
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -10px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

/* arrow */
.arrow {
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
}

.right {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.left {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}

.up {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}


/* 样式页脚 */
footer {
  padding: 0.5px;
  text-align: center;
  color: white;
  background-color: #1d1e22;
  background-image: url('data:image/svg+xml,%3Csvg width="52" height="26" viewBox="0 0 52 26" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%239C92AC" fill-opacity="0.1"%3E%3Cpath d="M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z" /%3E%3C/g%3E%3C/g%3E%3C/svg%3E');

}

/* Responsive layout - makes the menu and the content (inside the section) sit on top of each other instead of next to each other */
@media (max-width: 600px) {
  section {
    -webkit-flex-direction: column;
    flex-direction: column;
  }
  .column {
    width: 100%;
  }
}