body {
  padding-top: 56px;
  color: #435a63;
}


.gradient-border {
  background-color: rgba(255, 253, 253, 0) !important;
}

p {
  text-align: justify;
}

h1 {
  margin-top: 20px;
}

#box {
  padding: 20px 0 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'Raleway';
  font-size: 2.5rem;
  /* background-image: url('https://static.igem.wiki/teams/4427/wiki/test-common-bg2.jpg'); */
  background-size: cover;
}

.loadingSeven {
  text-align: center;
  margin: 0 auto;
  margin-top: 100px;
}

.loadingSeven span {
  display: inline-block;
  width: 11px;
  height: 100%;
  border-radius: 4px;
  background: rgb(144, 229, 238);
  animation: loadsaven 1.04s ease infinite;
}

@keyframes loadsaven {

  0%,
  100% {
    height: 40px;
    background: rgb(144, 236, 238);
  }

  50% {
    height: 60px;
    margin-top: -20px;
    background: lightblue;
  }
}

.loadingSeven span:nth-child(2) {
  animation-delay: 0.13s;
}

.loadingSeven span:nth-child(3) {
  animation-delay: 0.26s;
}

.loadingSeven span:nth-child(4) {
  animation-delay: 0.39s;
}

.loadingSeven span:nth-child(5) {
  animation-delay: 0.52s;
}



.loading-div {
  font-size: larger;
  width: 1800px;
  height: 800px;
  background-image: url('https://static.igem.wiki/teams/5217/background/background-zly-horizontal.png');
  background-size: cover;
  background-color: #fff;
  display: table-cell;
  vertical-align: middle;
  color: #555;
  overflow: hidden;
  text-align: center;
}

.loading-div::before {
  display: inline-block;
  vertical-align: middle;
}

/* p {
  color: #5073b8;
} */

img {
  cursor: zoom-in;
}

.imgPreview {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
  /* 确保背景层在图片之下 */
}


.imgPreview img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  /* 限制图片最大宽度为预览容器的90% */
  max-height: 90%;
  /* 限制图片最大高度为预览容器的90% */
  z-index: 100;
  object-fit: contain;
  /* 保持图片的宽高比 */
}


.left-aligned {
  margin-left: auto;
}

.bg-dark {
  background-color: #343a40 !important;
}

.bg-hero {
  background-color: #7952b3;
}

/* CALLOUT */
.bd-callout {
  padding: 1.25rem;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  border: 1px solid #e9ecef;
  border-left-width: .25rem;
  border-radius: .25rem
}

.bd-callout h4 {
  margin-bottom: .25rem
}

.bd-callout p:last-child {
  margin-bottom: 0
}

.bd-callout code {
  border-radius: .25rem
}

.bd-callout+.bd-callout {
  margin-top: -.25rem
}

.bd-callout-info {
  border-left-color: #5bc0de
}

.bd-callout-warning {
  border-left-color: #f0ad4e
}

.bd-callout-danger {
  border-left-color: #d9534f
}

/* footer */
footer a {
  color: white;
  font-weight: bold;
  text-decoration: none;
}

footer a:hover {
  color: white;
  text-decoration: underline;
}

.nav-link {
  color: #435a63;
}


@keyframes animated-border {
  0% {
    box-shadow: 0 0 0 0 rgba(2, 246, 230, 0.4);
  }

  100% {
    box-shadow: 0 0 0 20px rgba(7, 84, 250, 0);
  }
}

#flash-box {
  animation: animated-border 1.5s infinite;
  font-family: Arial;
  font-size: 18px;
  line-height: 30px;
  font-weight: bold;
  color: black;
  border: 2px solid;
  border-radius: 10px;
  padding: 15px;
}

*,
:before,
:after {
  box-sizing: border-box;
}

.unstyled {
  list-style: none;
  padding: 0;
  margin: 0;
}

.unstyled a {
  text-decoration: none;
}

.list-inline {
  overflow: hidden;
}

.list-inline li {
  float: left;
}


.main-navhp a {
  padding: 1.1em 0;
  color: #435a63;
  text-align: center;
}

.main-navhp a:hover {
  color: #435a63;
}


.main-nav ul {
  border-top: solid 1px #435a63;
}

.main-nav li {
  border-bottom: solid 1px #435a63;

}

.main-nav a {
  padding: 1.1em 0;
  color: #435a63;
  text-align: center;
  font-size: large;
}

.main-nav a:hover {
  color: #435a63;
}

.list-hover-slide li {
  position: relative;
  overflow: hidden;
}

.list-hover-slide a {
  display: block;
  position: relative;
  z-index: 1;
  transition: .35s ease color;
}

.list-hover-slide a:before {
  content: '';
  display: block;
  z-index: -1;
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  border-right: solid 5px #f1f2f2;
  background: #f1f2f2;
  transition: .35s ease left;
}

.list-hover-slide a.is-current:before,
.list-hover-slide a:hover:before {
  left: 0;
}

.list-hover-slid li {
  position: relative;
  overflow: hidden;
}

/* 
.list-hover-slid a {
  position: relative;
  z-index: 1;
  transition: .35s ease color;
}

.list-hover-slid a:before {
  content: '';
  display: block;
  z-index: -1;
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  border-right: solid 5px #f1f2f2;
  background: #f1f2f2;
  transition: .35s ease left;
}

.list-hover-slid a.is-current:before,
.list-hover-slid a:hover:before {
  left: 0;
} */

.cyq a {
  /* display: block; */
  position: relative;
  z-index: 1;
  transition: .35s ease color;
}

.cyq li:hover {
  color: #435a63;
}

.cyq li:before {
  content: '';
  display: block;
  z-index: -1;
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  border-right: solid 5px #f1f2f2;
  background: #f1f2f2;
  transition: .35s ease left;
}

.cyq li.is-current:before,
.cyq li:hover:before {
  left: 0;
}