﻿.footer {
  width: 100%;
}
.footer-main {
  width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background: rgba(5, 49, 124, 0.1);
  padding: 24px 12px 30px 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.footer-links {
  -ms-grid-column-align: end;
  justify-self: end;
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;
  margin-right: 10px;
}

.links-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  width: 429px;
}

.links-list > li {
  width: 143px;
  margin: 0px 0px 20px;
  position: relative;
}

.links-list > li > a::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border: 2px solid #333;
  border-radius: 50%;
  background-color: #333;
  top: 50%;
  left: -8px;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);
}

.links-list > li > a {
  display: block;
  -webkit-transition: 400ms all;
  -o-transition: 400ms all;
  transition: 400ms all;
  font-weight: 400;
  color: #333;
  -o-text-overflow: -o-ellipsis-lastline;
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
}

.links-list > li > a:hover {
  color: #0b3191;
  padding-left: 12px;
}

.xy-logo {
  border-left: 1px solid #6a80b8;
  border-right: 1px solid #6a80b8;
  padding: 0 30px;
}

.xy-logo img {
  width: 160px;
  display: block;
}

.code-box {
  margin-left: 35px;
  -ms-grid-column-align: start;
  justify-self: start;
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;
}
.code-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.code-list > li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 0 15px;
  position: relative;
}
.code-list > li p {
  margin-top: 8px;
  font-weight: 400;
  color: #666;
  font-size: 13px;
  text-align: center;
}
.code-list > li > img {
  width: 60px;
  display: block;
}

.code-pic {
  position: absolute;
  left: -40px;
  bottom: 95px;
  display: none;
  background-color: #fff;
  -webkit-box-shadow: 0px 0px 8px 1px rgb(5, 49, 124, 0.3);
  box-shadow: 0px 0px 8px 1px rgb(5, 49, 124, 0.3);
}
.code-pic img {
  width: 150px;
  height: auto;
}

.code-pic p {
  display: none;
}

.code-list > li:hover .code-pic {
  display: block;
}

.footer-info {
  width: 100%;
  background-color: #2a4894;
  color: #fff;
}
.info-detal {
  margin: 0 auto;
  width: 60%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 18px 0;
  font-size: 13px;
}
.info-detal p {
  margin: 6px;
}
@media screen and (max-width: 1200px) {
  .footer-links {
    margin-right: 10px;
  }
  .links-list > li {
    margin: 0 0 16px;
  }
  .code-list > li {
    margin: 0 10px;
  }
  .code-box {
    margin-left: 0px;
  }
}
@media screen and (max-width: 1050px) {
  .xy-logo {
    display: none;
  }
}
@media screen and (max-width: 870px) and (min-width: 800px) {
  .code-list > li {
    margin: 0 5px;
  }
}
@media screen and (max-width: 800px) {
  .footer-main {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .footer-links {
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-right: 0px;
    padding: 0 5px;
  }

  .links-list {
    width: 90%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
  }

  .links-list > li {
    width: 33%;
    margin: 0px 0px 20px;
    position: relative;
  }

  .code-box {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .code-list {
    width: 90%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: distribute;
    justify-content: space-around;
  }
  .code-list > li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 0 5px 5px;
    position: relative;
  }
}

@media screen and (max-width: 800px) {
  .code-list > li > img {
    display: none;
  }
  .code-list > li > p {
    display: none;
  }
  .code-pic {
    position: static;
    display: block;
    background-color: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
  .code-pic img {
    width: 100px;
    height: 100px;
  }
  .code-pic p {
    display: block;
  }
}
@media screen and (max-width: 550px) {
  .code-pic img {
    width: 70px;
    height: 70px;
  }
}
@media screen and (max-width: 500px) {
  .links-list {
    width: 98%;
  }
  .code-list {
    width: 98%;
  }
  .links-list > li > a {
    font-size: 14px;
  }
}