/*

耶稣保佑
屎山别塌

*/
.left-aligned { margin-left: auto; }
.bg-dark { background-color: var(--tenuniv) !important; }
.bg-he { background-color: #45b06cff; }

/* 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 }
/*
@font-face {
	font-family: swikif;
	src: url(montserrat.woff);
}
*/
/* footer */
:root {
	--univ: #f8f4dc;
	--gold: #ffd700;
	--darkblue: #23395d;
	--tenuniv: #f4eec8;
	--fontcolor: var(--darkblue);
	--cald: #23395d;
	--cals: #ffffff;
	--pinb: var(--darkblue);
	--a: #7A94Ff;
}
.univ a{
	color: var(--a) !important;
	text-decoration: underline;
}
footer a { color: black; font-weight: bold; text-decoration: none; }
footer a:hover { color: black; text-decoration: underline; }
body a { color: black; text-decoration: none; }
body a:hover { color: black; text-decoration: underline; }
footer{
	background-color: var(--univ);
	color: black;
	font-family: swikif;
	position: relative;
}
body{
	font-family: swikif;
	/*background:linear-gradient(#7450a1, #7450a1, #677ce7, #7450a1, #7450a1) no-repeat;*/
	background-color: #f8f4dc;
	color: black;
	padding-top: 56px;
	
}
.page-header{
    /* padding-top: 10%;
     */
    text-align: center;
    justify-content: center;
    font-size: 11.5555vh;
    font-weight: bold;
    /*background: linear-gradient(to right, #166d3b, #04619f);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    */
	color: var(--fontcolor);
}
.justify-content-cente
{
	position: relative;
	top: 42.444444vh;

}
.page-header1
{
	margin-top: -10%!important;
    text-align: center;
    font-size: 6.5vw;
    font-weight: bold;
    /*background: linear-gradient(to right, #166d3b, #04619f);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    */
	color: rgb(35,57,93);
}
#subdescription_title h4 {
	text-align: center !important;
	color: var(--fontcolor);
	font-size: 3.555555vh !important;
}
.phb {
	padding-top: auto;
	/*
	background: white;
	width: 100vw;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	*/

}
@keyframes glow{
	from {
		text-shadow: 0 0 10px var(--univ);
	}
	to {
		text-shadow: 0 0 20px var(--gold);
	}
}
.page-subheader {
    /* padding-top: 10%;
     */
    margin-top: 10%;
    text-align: center;
    font-size: 2.5vw;
    font-weight: bold;
    background: black;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;

}
.ig
{
	background:url(https://static.igem.wiki/teams/5162/ig.png);
	width: 300px;
	height: 45px;
	background-size: contain;
	background-repeat: no-repeat;
}
.fb
{
	background:url(https://static.igem.wiki/teams/5162/fb.png);
	width: 300px;
	height: 45px;
	background-size: contain;
	background-repeat: no-repeat;
}
.in
{
	background:url(https://static.igem.wiki/teams/5162/in.png);
	width: 300px;
	height: 45px;
	background-size: contain;
	background-repeat: no-repeat;
}
.email
{
	background:url(https://static.igem.wiki/teams/5162/email.png);
	width:300px;
	height:45px;
	background-size: contain;
	background-repeat: no-repeat;
}
.hkssc
{
	top: 0px;
	background:url(https://static.igem.wiki/teams/5162/hkssc.png);
	width: 250px;
	height: 250px;
	background-size: contain;
	background-repeat: no-repeat;
	margin-top: -5% !important;
}
.hkssc3
{
	background: var(--tenuniv);
}
.footerla
{
	text-align: center;
	margin-bottom: -5%;
}
.tp p, .tp ul, .tp h6{
	/* text with <p> */
	font-size: 115% !important;
}
.menu{
	position: -webkit-sticky;
	position: sticky !important;
	top: 30px;
	height: 1px; /* THANK YOU SO MUCH FORUM SQUARESPACE */
	z-index: 10;
	font-size: 1.2rem;
	bottom: 0px;
	/*margin-bottom: 100vh;*/ /* THANK YOU STACK OVERFLOW */
}
.menu100{
	margin-bottom: 1000px;
}
.menu90{
	margin-bottom: 900px;
}
.menu80{
	margin-bottom: 800px;
}
.menu70{
	margin-bottom: 700px;
}
.menu60{
	margin-bottom: 600px;
}
.menu50{
	margin-bottom: 500px;
}
.menu40{
	margin-bottom: 400px;
}
.menu30{
	margin-bottom: 300px;
}
.menu20{
	margin-bottom: 200px;
}
.menu10{
	margin-bottom: 100px;
}
.menu.stuck-to-footer{
	position: absolute;
	bottom: 0;
}
.menu li{
	padding-bottom: 1rem;
	list-style: none;
}

.menu li:hover{
	font-size: 95%;
	font-weight: bold;
}
.active {
	color: var(--darkblue);
	background: var(--univ);
	font-weight: bold;
	font-size: 95%;
}
.refsubh h4{
	/* reference subheading*/
	font-weight: bold;
}
.univ h4{
	/* universal page subheadings*/
	font-weight: bold;
	font-size: 200%;
}
.univ h1{
	font-weight: 200;
}
#buton {
  display: none; 
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99; 
  border: none;
  outline: none;
  background-color: white; 
  color: white; 
  cursor: pointer; 
  border-radius: 10px; 
  font-size: 200%; 
  border-radius: 50%;
  height: 50px;
  width: 50px;
  color: black;
}

#buton:hover {
  background-color: #555; 
  color: white;
}

#buteon {
  position: fixed;
  bottom: 20px;
  left: 30px;
  z-index: 99; 
  border: none;
  outline: none;
  background-color: white; 
  color: white; 
  cursor: pointer; 
  border-radius: 10px; 
  font-size: 75%; 
  border-radius: 50%;
  height: 50px;
  width: 50px;
  color: black;
}
#buteon:hover {
  background-color: #555; 
  color: white;
}
.navbar {
    /* background: none; */
    border-radius: 15px;
    width: 67.5% ;
    margin-left: auto;
    margin-right: auto;
    height: 84px !important;
}
.dropdown-menu {
    background: var(--tenuniv);
    border-radius: 0px 0px 20px 20px;
    padding-bottom: unset;
    outline: none;
    border: none;
}
.dropdown-menu > li > a:hover {
    background-image: none;
    background-color: white;
    text-decoration: none !important;
    color: black;
}
.underline {
    border-bottom: 1px solid black;
    display: block;
    width: 90%;
    margin: 0 auto;
}
.dropdown-item {
    color: black;
    border-radius: 15px;

    padding: 7px 20px;
    background: var(--tenuniv);
}
.dropdown > a:hover {
    background-image: none;
    text-decoration: none !important;
}
.navbar .nav-item:hover .dropdown-menu {
    display: block;
}
.navbar .nav-item .dropdown-menu {
    display: none;
}
.nav-item > a:hover{
	text-decoration: none !important;
}
.dropdown > a > span {
    padding: 2px 8px;
}
.dropdown > a:hover > span {
    background-image: none;
    background-color: white;
    border-radius: 20px;
}
#containerid {
	max-height: 1000vh;
	max-width: 1000vw;
	overflow: hidden;
	z-index: 50000;
	background: #f8f4dc;
}
.navbarover{
	background: var(--tenuniv);
	width: 100%;
	height: 84px;
	position:relative;
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	justify-content:space-between;
	padding-top:.5rem;
	padding-bottom:.5rem;
	position:fixed;
	top:0;
	right:0;
	left:0;
	z-index:1000;
}
#third{

	transition: transform 0.05s ease-out;
	z-index: 50000;
}
.desdir{
    font-weight: 500;
    position: static;
    border: 1px solid #000000;
    color: black;
    padding: 15px 100px;
    text-align: center;
    align-items: center;
    text-decoration: none;
    font-size: 16px;
    margin: auto;
    cursor: pointer;
    bottom: 600px;
    left: 30px;
    border-radius: 5px;
    background: transparent;
   	height: auto;
   	display: grid;
}
.desdir:hover{
	background: white;
	color: black;
	font-weight: 700;
}
.refinstyle
{
	/*+852 5245 5001
	evanxiaa@gmail.com
	38133670 */
}
.hidden {
	opacity: 0;
}
.fhr{
    margin-bottom: 0;
    color: black;
    height: 3px;
}
.footer-wrapper {
     display: flex;
     flex-direction: row;
     align-items: flex-end;
     justify-content: space-evenly;
    /* padding: 5%; */
}
.footer-contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 55px;
    color: black;
    /* padding: 2vw; */
    font-weight: 600 !important;
}
.footer-icons {
    display: flex;
    flex-direction: row;
}

.footer-icons-col {
	display: flex;
    flex-direction: column;
    align-items: flex-start;
}
#icon {
    height: 45px;
    width: 315px;
}
#iconssc{
    height: 112px;
    width: 112px;
}
.wompwompwomp{
	text-align: center;
	font-family: swikif;
	font-size: 3em;
	font-weight: 700;

}
.containers{
	display: flex;
}
.column{
	width: 50vw;
}
.tertius{
	width: 33.3vw;
}
.quartus{
	width: 25vw;
}
.saf{
	
	margin-bottom: 50px !important;
}
.navbar-toggler{
	background: var(--tenuniv);
	border: 2px solid black;
	color: black;
}
.navbar-collapse{
	width: 100vw;
	background: var(--tenuniv);
}
.smallboink {
	position: relative;
	text-align: center;
	font-size: 120%;
}
@media screen and (max-width: 1024px) {
  .menu{
  	font-size: 0.01%;
  	width: 0.01px;
  }
}

.exp
{
	background:url(https://static.igem.wiki/teams/5162/h.jpg);
	width: 70vw;
	height: 40vw;
	background-size: contain;
	background-repeat: no-repeat;
	    border-radius: 5px;
	    border: 3px solid black;
	align-items: center;
}
.expp
{
	text-align: center;
	color: gray;
	font-size: 12px !important;
	font-weight: 400;
}
.quartus1
{
	text-align: center;
	width: 350px;
	margin-bottom: 0vw;
	position: relative;
	height: 350px;
}
.quartus2
{
	text-align: center;
	width: 25vw;
	margin-bottom: 0vw;
	position: relative;
	height: 20vw;
}
.persoannetitle
{
	font-weight: 800;
	font-style: italic;
	font-size: 150%;
}
.persoannedesc
{
	font-weight: 600;
	font-size: 150%;
}
.imgc
{
      justify-content: center;
      display: flex;
}
.imgtc
{
	justify-content: center;
}
.imgr
{
	      display: flex;
      justify-content: right;
}
.imgl
{
	display: flex;
	justify-content: left;
}

.sectertius
{
	width: 66.6vw;
}
.txtr
{
	text-align: right;
}
.txtc
{
	text-align: center;
}
#pbc {
  position: fixed;
  top: 0;
  z-index: 10000;
  width: 100%;
  height: 6px;
  left: 0;
}



#pb {
  height: 6px;
  background: var(--darkblue);
  width: 0%;
}
.header-divider{
	width: 50%;
	text-align: center;
	margin: auto;
	color: white;
	height: 2px;
}
.hr-divider {
	color: white;
	height: 2px;
}
.ah iframe{
	margin-top: 50px;
	border: 1px solid black;
	margin-bottom: 50px;
}
nav a{
	  transition: all ease-out 250ms;
}


/*

FLIPCARD ON TEAMS CREDITS TO W3SCHOOLS

*/
.flip-card {
  background-color: transparent;
  width: 350px;
  height: 350px;
  border: 1px solid #f1f1f1;
  perspective: 1000px;
}

.flip-card-inner {
  position: static;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 15px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card-front {
  background-color: transparent;
  color: black;
}

/* Style the back side */
.flip-card-back {
  transform: rotateY(180deg);
}



.tl {
	color: var(--fontcolor);
	position: -webkit-sticky;
    position: sticky !important;
    top: 84px;
    height: 1px;
    width: 100vw;
    z-index: 750;
    bottom: 0px;
    margin-left: 0%;
}
.cald {
    background: var(--cald);
    height: 84px;
    width: 100%;
    position: relative;
    z-index: 900;
    margin-left: 0%;
}
.note {
	margin-top: 15%;
}
.pin {
    z-index: 100;
    margin-left: 0%;
    margin-top: -13px;
    content: "";
    left: 50%;
    width: 28px;
    border: 13px solid transparent;
    border-bottom: 20px solid var(--pinb);
}
.pinr {
    z-index: 50;
    margin-top: -8px;
    background: var(--pinb);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #ffffff;
    position: relative;
    margin-left: 0%;
}

.pinr h2 {
    position: absolute;
    font-size: 100%;
    text-align: center;
    top: -17%;
    width: 100%;
    cursor: grab;
    color: white;
}

.pinr h3 {
    position: absolute;
    font-size: 80%;
    text-align: center;
    top: 30%;
    width: 100%;
    cursor: grab;
    color: white;
    font-weight: bold;
}
.cals {
    position: absolute;
    width: 1px;
    height: 20px;
    bottom: 0;
    background-color: var(--cals);
}
.calnm {
	position: absolute;
	font-size: 100%;
	color: white !important;
}
.disp p {
	text-align: center;
}
.mb5a {
	margin-bottom: 5vw;
}
.footerc {
	border-radius: 15px;
	width: 30vw;
	height: 250px;
}
.footerc a:hover {
	opacity: 75%;
}
.footerc a {
	font-size: 1.2rem !important;
	line-height: 0.5 !important;
	font-weight: 400;
}
.hawktuah:hover {
	text-decoration: none !important;
	opacity: 1 !important;
}
.loader {
  width: 100%;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--univ);
  z-index: 1000000000;
}
.n_month h2{
	font-weight: bold;
}
.n_month p{
	font-size: 150%;
}
.pinr h2{
	color: var(--darkblue);
}
@keyframes showup {
    0% {opacity:0;}
    20% {opacity:1; text-align: center;}
    80% {opacity:1;}
    100% {opacity:0;}
}
@keyframes showup {
    0% {opacity:0;}
    20% {opacity:1; text-align: center;}
    80% {opacity:1;}
    100% {opacity:1;}
}
@keyframes slidein {
    0% { margin-left:-800px; }
    20% { margin-left:-800px; }
    35% { margin-left:0px; }
    100% { margin-left:0px; }
}

@keyframes reveal {
    0% {opacity:0;width:0px;}
    40% {opacity:0;width:0px;}
    50% {opacity:1;width:0px;}
    60% {width:355px;}
    80% {opacity:1;}
    100% {opacity:0;width:355px;}
}
@keyframes revealtitle {
    0% {opacity:0;width:0px;}
    30% {opacity:0;width:0px;}
    45% {opacity:1;width:0px;}
    60% {width:355px;}
    80% {opacity:1;}
    100% {opacity:1;width:355px;}
}
@keyframes danhua { /*淡化*/
	0% {	  background-color: rgba(255, 255, 255, 0.0);}
	50% {background-color: rgba(255, 255, 255, 0.0);}
	100% {	  background-color: rgba(255, 255, 255, 0.5);}
}
@keyframes qianghua { /*强化*/
	0% {opacity: 0;}
	50% {opacity: 0;}
	100% {opacity: 1;}
}
.i1 {
  animation: showup 8s infinite;
}

.i2 {
  width:0px;
  opacity: 0;
  animation: reveal 8s infinite;
}

.i2 span {
  margin-left:-355px;
  animation: slidein 8s infinite;

}
.i1t {
	animation: showup 8s;
}
.i2t {
  width:0px;
  opacity: 1;
  animation: revealtitle 8s;
}

.hpt {
	font-size: 3rem;
	font-weight: 700;
	width: 100%;
}
.phpt {
	text-align: center;
}
.hpt div {
	display:inline;
  overflow:hidden;
  white-space:nowrap;
}
@media screen and (max-width: 1024px) {
	body {
		text-align: justify;
	}
}
.taj {
	text-align: justify;
}
.ml {
	margin-left: auto;
}
.z100m {
	z-index: 100000000;
}
.z1 {
	z-index: 1;
}
.z-1 {
	z-index: -1;
}
.z-100m {
	z-index: -100000000;
}
@media screen and (max-width: 1500px) {
  .team1f, .team1b, .team2f, .team2b, .team3f, .team3b, .team4f, .team4b, .team5f, .team5b, .team6f, .team6b, .team7f, .team7b, .team8f, .team8b{
  	width: 300px !important;
  	height: 300px !important;
  	background-size: 300px 300px !important;
  }
  .flip-card {
  	width: 300px !important;
  	height: 300px !important;
  .flip-card-front, .flip-card-back{
  	width: 300px !important;
  	height: 300px !important;
  }
  .quartus1
{
	text-align: center;
	width: 300px !important;
	margin-bottom: 0vw;
	position: relative !important;
	height: 300px !important;
}
}
@media screen and (max-width: 1250px) {
  .team1f, .team1b, .team2f, .team2b, .team3f, .team3b, .team4f, .team4b, .team5f, .team5b, .team6f, .team6b, .team7f, .team7b, .team8f, .team8b{
  	width: 250px !important;
  	height: 250px !important;
  	background-size: 250px 250px !important;
  }
  .flip-card {
  	width: 250px !important;
  	height: 250px !important;
  .flip-card-front, .flip-card-back{
  	width: 250px !important;
  	height: 250px !important;
  }
  .quartus1
{
	text-align: center;
	width: 250px !important;
	margin-bottom: 0vw;
	position: relative !important;
	height: 250px !important;
}
}