ul {
    list-style: none;
}

a {
    text-decoration: none;
}

input {
    font-family: inherit;
}

#header ul {
    margin-left: 50px;
    display: flex;
    align-items: center;
    gap: 40px;
}

#header .layout {
    display: flex;
    align-items: center;
    /* gap: 50px; */
}

#header ul li a {
    font-size: 15px;
    color: #757575;
    font-weight: 600;
    transition: color .2s linear;
}

#header ul li a:hover {
    color: #5d96f7;
}
#header ul li.active a {
    color: #5d96f7;
}
#header .nav .search {
    position: relative;
    width: 370px;
    margin-right: 10px;
    margin-left: 30px;
}
#header .nav .search input.text {
    width: 343px;
    height: 38px;
    border: 1px solid #efefef;
    border-radius: 30px;
    padding-left: 25px;
    font-size: 15px;
    color: #757575;
    outline: none;
    opacity: .7;
}
#header .nav .search input.btn {
    width: 28px;
    height: 24px;
    background-position: 0px 0px;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 50%;
    margin-top: -12px;
    right: 40px;
    background: url(https://resource.erfdiasl.com/bear_download/images/indexIcons.png) no-repeat;
}
#header .nav .search input.btn:hover {
    background-position: -462px -315px;
}

footer {
  background-color: #333;
  color: #888888;
  padding: 15px;
  margin-top: 20px;
}
footer .container {
  display: flex;
  gap: 20px;
  justify-content: center;
  font-size: 14px;
}
footer .container a {
  color: inherit;
}
footer .container div::after {
  content: '';
  height: 10px;
  border-right: 1px solid #888888;
  margin-left: 20px;
}
footer .container div::after :last-of-type::after {
  display: none;
}