/* Smoothing Scrolling */
html {
	scroll-behavior: smooth;
}

/* Loading */
#loading {
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: 20;
    overflow: visible;
    opacity: 200%;
    background: #C0E6FF url('https://static.igem.wiki/teams/5040/loading.gif') no-repeat center center;
}

/*
// Cursor Trail 
.trail {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #1A43BF;
    border-radius: 50%;
    pointer-events: none;
    animation: fade 0.5s forwards;
    z-index: 10;
}
@keyframes fade {
    0% {
        opacity: 1;
        transform:scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0);
    }
}
*/

/* Menu */
#menuu {
    width: 100vw;
    height: 100vh;
    margin: 0;
    position: fixed;
    height: 70px;
    z-index: 19;
}
#menuu a {
    color: #143369;
    font-size: 18.9px;
    text-decoration: none;
    font-family: monospace;
}
#menuu img{
    align-items: center;
    width: 175px;
    height: auto;
}
.nav-item {
    border-radius: 10px;
}
.nav-item:hover {
    background-color: #DAF1FF;
}
.dropdown-menu {
    background-color: #FFFCC0;
    border-radius: 10px;
}
.dropdown-item a {
    font-size: 16px;
}
.dropdown-item a:hover {
    font-weight: bold;
}
.dropdown-item {
    border-radius: 10px;
}
.dropdown-item:hover {
    background-color: #FFFDE9;
}

/* Progressbar */
.progress {
    background-color: #143369;
    position: fixed;
    top: 70px;
    left: 0;
    width: 0%;
    height: 7px;
    z-index: 18;
}

/* Table of content */
.section-nav li.active > a {
    color: #475265;
    font-weight: 500;
}

.section-nav a {
    font-family: monospace;
    transition: all 100ms ease-in-out;
}
.section-nav {
    float: left;
    line-height: 30px;
    position: sticky !important;
    top: 6.5em;
    padding: 30px 10px;
    padding-left: -10px;
    z-index: 10;
    margin-left: -40px;
}
.section-nav a {
    text-decoration: none;
    font-size: 18px;
    transition: all 50ms ease-in-out;
    color: #475265;
}
.section-nav a:hover,
.section-nav a:focus {
    color: #143369;
    text-decoration: underline;
    font-weight: bold;
}

/*Back to top*/
.back-to-top  {
    position: fixed;
    right: 0px;
    bottom: 0px;
    width: 200px;
    height: auto;
    z-index: 8;
}  

/* Body */
body { 
    /* padding-top: 50px; */
    background-image: url('https://static.igem.wiki/teams/5040/page-bg.png');
    background-size: 100%;
    background-repeat: no-repeat;
    background-attachment : fixed;
    background-color: #F2FBFF; /* It will gradate from #143369 to #F2FBFF */
    margin: 0;
    width: 100vw;
    height: 100vh;
    position: absolute;
}
.rowhead {
    width: 100vw;
    margin: 0;
}
h1 {
    position: relative;
    background-image: url('https://static.igem.wiki/teams/5040/h1bg.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: cover;
    /*margin-right: 0px;
    margin-left: -180px;
    padding-right: 0px;
    padding-left: -140px;
    padding-bottom: 20px; */
    margin: 0;
    width: 100vw;
    height: 400px;
    color: #143369;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 70px;
    font-weight: bold;
    align-items: left;
    text-align: center;
    line-height: 400px;
    text-shadow: 0.1em 0.1em 0.2em #FFFCC0;
}
h2 {
    color: black;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 32px;
    font-weight: bold;
}
h3 {
    color: black;
    font-size: 27px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}
p {
    color: black;
    font-size: 17px;
    font-family: Arial, Helvetica, sans-serif;
    text-align: justify;
    line-height: 200%;
}
a {
    color: #143369;
    font-size: 17px;
    font-family: Arial, Helvetica, sans-serif;
    text-align: justify;
    line-height: 200%;
}
img {
    width: 100%;
}
.yellow {
    background-color: #FFFCC0;
    border-radius: 50px;
    margin:1rem 3rem;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 60px;
    padding-right: 60px;
}
.left-aligned { 
    margin-left: auto; 
}
.bg-dark { 
    background-color: #C0E6FF !important; 
}

/* Content Picture */
.picrow {
    position: static;
    padding: 0 5%;
    width: 100%;
}
.picrow:after {
    content: "";
    display: table;
    clear: both;
}
.pic2 {
    float: left;
    width: 50%;
    padding: 5px;
}
.pic3 {
    float: left;
    width: 33.3%;
    padding: 5px;
}
.pic4 {
    float: left;
    width: 25%;
    padding: 5px;
    padding-top: -5px;
}
.picdes {
    text-align: center;
    padding-bottom: 20px;
    padding-top: 10px;
}
.picspace {
    padding-left: 25%;
    padding-right: 25%;
}
.picspace5 {
    padding-left: 5%;
    padding-right: 5%;
}
.picspace10 {
    padding-left: 10%;
    padding-right: 10%;
}
.picspace15 {
    padding-left: 15%;
    padding-right: 15%;
}
.picspace20 {
    padding-left: 20%;
    padding-right: 20%;
}
.picspace30 {
    padding-left: 30%;
    padding-right: 30%;
}
.picspace35 {
    padding-left: 35%;
    padding-right: 35%;
}
.picspace37 {
    padding-left: 37%;
    padding-right: 37%;
}
.picspace40 {
    padding-left: 40%;
    padding-right: 40%;
}
.picspace43 {
    padding-left: 43%;
    padding-right: 43%;
}

/* Members flip card */
#team-pic {
    background-image: url('https://static.igem.wiki/teams/5040/members/team-pic.jpg');
    background-position: bottom center;
    height: 700px;
    background-size: cover;
    align-items: center;
    padding-bottom: 20px;
}
.flip-card {
    padding-left: 30px;
    padding-right: 60px;
    background-color: transparent;
    width: 300px;
    height: 450px;
    align-items: center;
    perspective: 1000;
    z-index: 5;
}
.flip-card-inner {
    position: relative;
    width: 300px;
    height: 450px;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 300px;
    height: 450px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.flip-card img {
    border-radius: 20px;
}
.flip-card-back img {
    border-radius: 20px;
}
.flip-card-front img {
    border-radius: 20px;
}
.no-flip-card img {
    position: static;
    width: auto;
    height: 430px;
    border-radius: 20px;
    background-color: transparent;
    padding-left: 30px;
    padding-right: 60px;
    align-items: center;
    perspective: 1000;
    z-index: 5;
}
.no-flip-card {
    border-radius: 20px;
}
.m-email {
    width: 50px;
    height: 50px;
    position: absolute;
    bottom: 60px;
    left: 85px;
    z-index: 10;
}
.m-ig {
    width: 50px;
    height: 50px;
    position: absolute;
    bottom: 60px;
    right: 85px;
    z-index: 10;
}
.flip-card-back {
    position: relative;
    transform: rotateY(180deg);
}
.col2 {
    float: left;
    width: 35%;
}
.coll2 {
    float: left;
    width: 50%;
}
.column3 {
    float: left;
    width: 30%;
}
.column4 {
    float: left;
    width: 25%;  
}
.colspace {
    padding-left: 5%;
    padding-right: 5%;
}
.colspace2 {
    padding-left: 15%;
    padding-right: 15%;
}
.colspace4 {
    padding-left: -5%;
}
.noyellow {
    font-size: 45px;
    text-shadow: #FFC 1px 0 10px;
    text-align: center;
    color: #143369;
    padding-top: 20px;
    padding-bottom: 20px;
}
.ulh2 {
    text-align: center;
    font-size: 45px;
    text-shadow: #FFC 1px 0 10px;
    text-decoration: underline;
    text-underline-offset: 8px;
    color: #143369;
    padding-top: 20px;
    padding-bottom: 20px;
}
.row {
    margin: 0 5px;
}
.row:after {
    content: "";
    display: table;
    clear: both;
}
@media screen and (max-width: 600px) {
    .column {
      width: 100%;
      display: block;
      margin-bottom: 20px;
    }
}

/* Sponsorship flip card */
#sponpic {
    background-image: url('https://static.igem.wiki/teams/5040/sponsorships/sponsor-opening.png');
    background-position: center center;
    height: 300px;
    width: 75%;
    background-size: cover;
    align-items: center;
    padding-bottom: 20px;
}
.s-colspace {
    padding-left: 5%;
} 
.column2 {
    float: left;
    width: 40%;
}
.s-flip-card {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 30px;
    background-color: transparent;
    height: 500px;
    width: auto;
    align-items: center;
    perspective: 1000;
    z-index: 5;
}
.s-flip-card-inner {
    position: relative;
    height: 500px;
    width: auto;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}
.s-flip-card:hover .s-flip-card-inner {
    transform: rotateY(180deg);
}
.s-flip-card-front, .s-flip-card-back {
    position: absolute;
    height: 500px;
    width: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.s-flip-card-back img {
    border-radius: 20px;
}
.s-flip-card-front img {
    border-radius: 20px;
}
.s-web {
    width: 235px;
    height: auto;
    position: absolute;
    align-items: center;
    /* right: 80px; */
    top: 240px;
    z-index: 10;
}
.s-flip-card-back {
    position: relative;
    transform: rotateY(180deg);
}

/* References */
h4 {
    color: black;
    font-size: 27px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}
#reference li {
    font-family: Arial, Helvetica, sans-serif;
    color: black;
    font-size: 15px;
    line-height: 200%;
}
#reference a {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 200%;
}

/* CALLOUT */
.bd-callout { 
    padding:1.25rem; 
    margin-top:1.25rem; 
    margin-bottom:1.25rem; 
    border:1px solid #FFFCC0; 
    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 
}

/* Notebook */
.week_zone {
    display: flex;
    justify-content: center;
    min-height: 1000px;
    margin-left: 7%;
    width: 80%;
}
.bigWeek {
    display: flex;
    flex-direction: column;
    margin-top: 10%;
    margin-top: 60px;
    margin-left: 100px;
    margin-right: -70px;
}
.button_month {
    background-color: #C0E6FF;
    border: 2px solid #9AC8E6;
    justify-content: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: large;
    width: 10%;
    height: 60px;
    border-radius: 5px;
}
.month-labels {
    display: flex;
    justify-content: space-between;
    width: 50%;
    margin-left: 30%;
}
.button_month:hover {
    transform: scale(1.1);
}  
.nav_month button:hover {
    background-color: rgba(200, 200, 200, 0.6);
    color: white;
}  
.week {
    display: none;
}  
.week1 {
    display: block;
}  
.month {
    display: none;
    width: 20%;
    margin: 3%;
}
.month1 {
    display: block;
    width: 20%;
    margin: 3%;
}  
.arrow {
    border: solid black;
    border-width: 0 4px 4px 0;
    display: inline-block;
    padding: 5px;
}  
.button_week {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 20px;
    padding-left: 20px;
    margin-top: 10px;
    background-color: #FFDD74;
    border: 2px solid #FFC000;
    border: none;
}
.button_week:hover {
    width:110%;
    margin-left: -10%;
}
.display_zone_text {
    margin-top: 1rem;
    margin-right: 3rem;
    margin-bottom: 3rem;
    border: 2px solid #FFDD74;
    background-color:  #FFFCC0;
    padding: 4rem;
    border-radius: 3rem;
    width: 80%;
    z-index: 3;
    color:#000000;
}  

/* Footer */
footer {
    position: static;
    color: #143369;
    width: 100vw;
    margin: 0;
}
footer p { 
    font-family: Arial, Helvetica, sans-serif;
    text-align: left;
    line-height: 200%;
    font-size: 15px;
}
footer a {
    font-family: Arial, Helvetica, sans-serif;
    text-align: justify;
    line-height: 200%;
    font-size: 13px;
    text-decoration: none;
}
footer h4 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 20.5px;
    font-weight: bold;
}
footer a:hover {
    text-decoration: underline;
}
#footerDown p {
    font-size: 13px;
    text-align: center;
}
#f1{
    width: 25%;
}
#f2 {
    width: 47%;
}
#f3 {
    width: 23%;
}
#f4 {
    padding-top: 20px;
    width: 45%;
}
#f5 {
    padding-top: 30px;
    width: 45%;
}

/* Model & Sponsorship Tab */
.tab_model {
    position: flex;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.tab_model input {
    display: none;
}
.tab_model label {
    margin: 0 5px 5px 0; 
    padding: 10px 20px;
    margin: 2.5rem;
    border: 2px solid #FFDD74;
    border-radius: 20px; 
    background: #FFFCC0; 
    color: #143369; 
    opacity: 0.5;
}
.tab_model input:checked + label, .tab_model label:hover {
    background: url('https://static.igem.wiki/teams/5040/model/model-button.png') center center no-repeat;
    opacity: 1; 
    font-weight:bold;
    transform: scale(1.1);
}
.tab_model input:checked + label + .tab_content { 
    display: initial;
}
.tab_sponsor {
    position: flex;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.tab_sponsor input {
    display: none;
}
.tab_sponsor label {
    margin: 0 5px 5px 0; 
    padding: 10px 20px;
    margin: 2.5rem;
    border: 2px solid #FFDD74;
    border-radius: 20px; 
    background: #FFFCC0; 
    color: #143369; 
    opacity: 0.5;
}
.tab_sponsor input:checked + label, .tab_model label:hover {
    background: url('https://static.igem.wiki/teams/5040/model/model-button.png') center center no-repeat;
    opacity: 1; 
    font-weight:bold;
    transform: scale(1.1);
}
.tab_sponsor input:checked + label + .tab_content { 
    display: initial;
}
.tab_content {
    order: 1;
    display: none;
    width: 100vw;
    margin: 0;
}

/* Table */
table, tbody, thead {
    font-size: 17px;
    color: #000000;
    position: static;
    width: 100%;
    padding: 0 5%;
    border-spacing: 10px;
}
table {
    border-spacing: 10px;
}
thead th {
    padding: 20px;
    text-align: center;
    font-weight: bold;
    background-color: #ffd659;
    border: 2px solid #ffc000;
}
tbody th {
    padding: 20px;
    text-align: center;
    background-color: #ffebcd;
    border: 2px solid #d2c1a8;
}
td {
    padding: 20px;
    text-align: justify;
    background-color: #fff4e3;
    border: 2px solid #ffebcd;
    word-break: break-all;
}
.noallbreak td {
    padding: 20px;
    text-align: justify;
    background-color: #fff4e3;
    border: 2px solid #ffebcd;
    word-break: initial;
}
.noallbreak td {
    padding: 20px;
    text-align: center;
    background-color: #fff4e3;
    border: 2px solid #ffebcd;
    word-break: initial;
}

/* Code */ 
pre{
    counter-reset: line;
}
code{
    counter-increment: line;
}
code:before{
    content: counter(line);
}


/* Awards */
.awardp {
    background-color: #FFFCC0;
    border: 2px solid #ffebcd;
    text-align: center;
    border-radius: 50px;
    margin:1rem 3rem;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 60px;
    padding-right: 60px;
}

/* .image-slider {
    top: 4750px;
    left: 650px;
    position: absolute;
    width: 870px; 
    height: 280px;
    text-align: center;
}
.slider-image {
    top: 4750px;
    left: 650px;
    position: absolute;
    width: 50%;
    height: auto;
    transform: translateX(-50%);
    transition: opacity 0.5s ease-in-out;
}
.arrow-left {
    top: 4900px;
    left: 240px;
    position: absolute;
    width: 64.1675px;
    height: 99.5px;
    transform: translateY(-50%);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}
.arrow-right {
    top: 4900px;
    left: 980px;
    position: absolute;
    width: 64.1675px;
    height: 99.5px;
    transform: translateY(-50%);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
} */
* {box-sizing: border-box}
body {font-family: Verdana, sans-serif; margin:0}
.mySlides {display: none}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}