*
{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body { padding-top: 56px;
min-height: 100 vh;
background: linear-gradient(#530656); 
margin: 0;
max-width: 100%;
overflow-x: hidden;
}
/*.left-aligned { margin-left: auto; }*/
.bg-dark { background-color: #140337 !important; }

.affix {
    top: 20px;
    z-index: 9999 !important;
  }
  
  @media screen and (max-width: 810px) {
    #section1, #section2, #section3, #section4, #section5, #section6, #section7, #section8, #section9  {
      margin-left: 150px;
    }
  }



/*.bg-hero {
    background-image: url(https://static.igem.wiki/teams/4361/wiki/sustainable/sustainable-header.jpg);
    background-attachment: fixed;
    background-repeat: no-repeat, no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 30em;
    max-height: 500em;
    width: 100%;
    height: auto;
}*/

/*header {
    height: 95vh;
    min-height: 200px;
    max-height: 300px;
    background-attachment: unset;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}*/
nav-item dropdown{
  border: none;
  
}

header{
  position: relative;
  text-align: justify;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-item {
    padding-right: 0.5em;
    margin-left: 0%;
}
nav, li {
    text-align: left;
}
/*
ul.nav-pills1 .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #4460EF;
    max-width: 300px;
    padding: 2px 8px;
    display: inline-block;
    align-self: center;
    line-height: 22px;
    border: 2px solid;
    border-radius: 15px;
    text-align: left;
}
 a:active.nav-link{
                background-color: #4460EF;
            }*/

/* reset */
* {margin: 0; padding: 0; box-sizing: border-box;}


/* 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; }

/* Basic Body/Container Styles */
body {
  font-family: "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:#FFFFFF;
}
a {
  outline: none;
  display: inline-block;
}

h1, h2 {
  text-transform: uppercase;
  color: #4460EF;
  font-weight: 650 !important
}
h2 {
  border-bottom: 1px solid #4460EF;
  width: 100%;
  padding-bottom: 0.5em;
  font-weight: 600 !important;
}
h3 {
  text-transform: uppercase;
  color: #4460EF;
  font-weight: 600;
  border-bottom: 1px solid #4460EF;
  width: 100%;
  padding-bottom: 0.5em;
}
h4 {
  text-transform: uppercase;
  color: #4460EF;
  font-weight: 600;
  border-bottom: 1px solid #4460EF;
  width: 100%;
  padding-bottom: 0.5em;
  font-size: medium;
}
h5{
  font-style: italic;
  font-size: medium;
}

h6{
  font-style: underlined;
  font-size: medium;
  color: #4460EF

}

p{
  text-align: justify;
  font-size: medium;
  font-family: "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: normal;

}
.references ol li{
    counter-increment: OrderedList;
    list-style: none;
    font-style: italic;
  
}
.references ol li:before {
    content: "[" counter(OrderedList) "]   ";
    font-size: 0.9em;
}

.fa {
  padding: 20px;
  font-size: 30px;
  width: 50px;
  text-align: inline-block;
  text-decoration: none;
}

/*dropdown*/
.dropdowntu {
    float: left;
}

.dropdowntu .dropbtn {
    font-size: 16px;  
    border: none;
    outline: none;
    color: #525252;
    padding: 10px;
    background-color: inherit;
    font-family: inherit;
    margin:0px;
    text-decoration: none;
    margin-top: 10px;
}

/*
.dropdown-item {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 160px;
}*/

.references h2 {
    font-size: 2em;
    padding: 0.5em 0 0.5em 0;
    padding-top: 100px;
    margin-top: -70px;
}
/* figure {
  max-width: 100%;
    height: auto;
    padding: 1em;
    margin: 0 0 1em;
    display: inline-block;
}
*/

figure2 {
  display: block;
}

figcaption{
  text-align: center;
  font-style: normal;
  font-size: smaller;
  
}

/* Add a hover effect if you want */
.fa:hover {
  opacity: 0.7;
} 

/* collapsible button */
.collapsible {
  background-color: #530656;
  color: white;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: 2px solid #530656;
  text-align: center;
  outline: none;
  font-size: 25px;
  margin-top: 0.5em;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .collapsible:hover {
  background-color: #F82584;
  border: 2px solid #F82584;
  /*opacity: 0.5;*/
}
.collapsible:after {
  content: '\02795'; /* Unicode character for "plus" sign (+) */
  font-size: 20px;
  color: #FFFFFF ;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2796"; /* Unicode character for "minus" sign (-) */
}

/* Style the collapsible content. Note: hidden by default */
.content {
  padding: 0 18px;
  display: none;
  overflow: hidden;
  background-color: #f1f1f1;
}
/*end collapsible*/

/*back to top button */
#myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: #F82584; /* Set a background color */
  opacity: 0.5;
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 0px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
}

#myBtn:hover {
  background-color: #F82584; /* Add a dark-grey background on hover */
}

/*table */
table, td {
  border: 1px solid #530656;
  border-collapse: collapse;
  border-color: #530656;
  background-color: white;
  text-align: center;
  color: #140337;
  width: 100%;
  table-layout: auto;
}
th{
  border: 1px solid #530656;
  border-collapse: collapse;
  border-color: #530656;
  background-color: #b061b34c;
  text-align: center;
  color: #140337;
  width: 100%;
  table-layout: auto;
}

.sections-container {
    width: 90%;
    margin: auto;
}


nav-item {
    background-color: none;
    border-right: #530656 solid 4px;
    padding-right: 0.5em;
}

tablecaption{
  text-align: left;
  font-style: italic;
  font-size: smaller;
}
.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.team-flexbox {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
} 

span {
  content: "\00B5";
}

li{
  font-size: medium;
  font-style: normal;
}

.zoom {
  transition: transform .15s;
  display: inline-block;
}

.zoom:hover {
  transform: scale(1.2); 
}
 
.virus {
    background-color: #b061b34c;
    border: solid 8px #530656;
    border-radius: 150px;
}
.circle-content {
    color: #140337;
    text-align: justify;
    padding: 3em;
}
.figure-wrapper-align-start {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.bacteria{
  background-color: #4461ef3b;
    border: solid 8px #4460EF;
    border-radius: 150px;
}


/* This container is needed to position the front and back side */
.photogrid {
  display: flex;
  flex-wrap: wrap;
  display: -webkit-box;
  -ms-flex-wrap: wrap;
}


.flip {
  position: relative;
  display: inline-block;
  margin: 25px 25px;
  width: 18vw;
  height: 18vw;
}

.flip>.front {
  transform: rotateY(0deg);
  width: 100%;
  height: 100%;
  
}

.flip>.back {
  position: absolute;
  opacity: 0;
  top: 0px;
  left: 0px;
  transform: rotateY(-180deg);
  border-radius: 50%;
  text-align: center;
  width: 100%;
  height: 100%;
}

.flip>.back1 {
  position: absolute;
  opacity: 0;
  top: 0px;
  left: 0px;
  transform: rotateY(-180deg);
  border-radius: 50%;
  text-align: center;
  width: 100%;
  height: 100%;
}


.flip>.front,
.flip>.back {
  display: block;
  color: white;
  background-size: cover !important;
  background-position: center !important;
  width: 100%;
  height: 100%;
  padding: 1em 2em;
  background: #4CCAF1;
  border-radius: 50%;
  transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition-duration: .5s;
  transition-property: transform, opacity;
}

.flip>.front,
.flip>.back1 {
  display: block;
  color: white;
  background-size: cover !important;
  background-position: center !important;
  width: 100%;
  height: 100%;
  padding: 1em 2em;
  background: #530656;
  border-radius: 50%;
  transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition-duration: .5s;
  transition-property: transform, opacity;
}

.flip:hover>.front {
  transform: rotateY(180deg);
}

.flip:hover>.back {
  opacity: 1;
  transform: rotateY(0deg);
}
.flip:hover>.back1 {
  opacity: 1;
  transform: rotateY(0deg);
}

.flip.flip-vertical>.back {
  transform: rotateX(-180deg);
}
.flip.flip-vertical>.back1 {
  transform: rotateX(-180deg);
}

.flip.flip-vertical:hover>.front {
  transform: rotateX(180deg);
}

.flip.flip-vertical:hover>.back {
  transform: rotateX(0deg);
}
.flip.flip-vertical:hover>.back1 {
  transform: rotateX(0deg);
}

img.responsive-image {
    max-width: 100%;
    height: auto;
}

.ml-auto, .mx-auto {
    margin-left: auto!important;
}
.mr-auto, .mx-auto {
    margin-right: auto!important;
}
.d-block {
    display: block!important;
}

.sub{
    font-weight: normal;  
    padding-bottom: 1em;
    padding-top: 0;
  }

  .team-flexbox{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
 
  .team-pic img {
    width: 100%;
  }

 .team-box {
    width: 45%;
  }
  .team-square {
    cursor: pointer;
  } 


  .team-picture-modal {
    width: 30%;
    margin: auto;
  }


  /* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }
  .supervisor-pic img{
      width: 100%;
      border-radius: 30px;
      margin-bottom: 1em;
  }

  .team-pic:hover img{
    background-color:rgba(255, 255, 255, 0.76);
  }


  .team-square:hover .team-pic{
    -webkit-filter: opacity(50%);
            filter: opacity(50%);
    -webkit-transition: .3s all;
    -o-transition: .3s all;
    transition: .3s all;
  }

  .team-outerbox {
    width: 33%;
    padding: 1em 2em 1em 2em;
}

  .supervisor-outerbox {
      width: 25%;
      padding: 0.5em 1em;
  }

 .team-box {
    width: 100%;
    padding-bottom: 1em;
  }

  .team-square {
    cursor: pointer;
  } 


  .team-picture-modal {
    width: 30%;
    margin: auto;
  }

  .team-picture-modal img {
    border-radius: 50px;
  }

  .intro-box {
      padding: 0em 1.5em 0em 1.5em;
      background-color: #f0f0f0;
  }

  .intro-box p {
      padding: 1.25em 0.5em;
  }

  .manager {
      padding-top: 0;
      text-align: center;
      font-weight: normal;
  }

img.animated-gif{
  width: 100%;
  height: auto;
}

/*progress bar*/
.progress-container {
  position: fixed;
    top: 0;
    z-index: 10000;
    width: 100%;
    height: 4px;
    left: 0;
}


.progress-bar {
    height: 4px;
    background: #F82584;
    width: 0%;
}

.modal-backdrop {
  z-index: 0;
}

.fade {
    transition: opacity .2s linear;
}

.modal-body {
    color: #000000;
    padding: 2rem;
}

.modal-header{
  margin: 0 !important;
  padding-bottom: 0rem !important;
  padding-top: 2rem !important;
  padding-left: 2rem !important;
  padding-right: 2rem !important;
  border-bottom: 0px !important;

}

.modal-title {
  margin-bottom: 0;
  line-height: 1.5;
  font-size: 40px;
  font-weight: 700;
  color:#525252;
}

/* Modal
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 0px solid #888;
  width: 80%;
}

}
.modal.fade .modal-dialog {
    transition: -webkit-transform .3s ease-out;
    transition: transform .3s ease-out;
    transition: -webkit-transform .3s ease-out;
    -webkit-transform: translate(0,-50px);
    transform: translate(0,-50px);
    vertical-align: middle;
}
.modal-lg {
    max-width: 50% !important;
}
.modal-dialog-scrollable {
    display: -ms-flexbox;
    display: flex;
    max-height: calc(100% - 1rem);
}
.modal-dialog {
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
}
*/ 

/* The Close Button */
button.close {
    padding: 0;
    background-color: transparent;
    border: 0;
    appearance: none;
}

.BeforeScroll
{
  height: 100px; /*Whatever you want*/
  width: 100%; /*Whatever you want*/
  .
  .
  display: none;
}


/*Use this class when you want your content to be shown after some scroll*/
.AfterScroll
{
  height: 100px; /*Whatever you want*/
  width: 100%; /*Whatever you want*/
  .
  .
  display: block;
}
.reveal{
  position: relative;
  transform: translateY(150px);
  opacity: 0;
  transition: all 2s ease;
}
.reveal.active{
  transform: translateY(0px);
  opacity: 1;
}
ul.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #FCC30D;
    height: 30px;
    max-width: 400px;
    padding: 2px 8px;
    display: inline-block;
    align-self: center;
    line-height: 22px;
    border: 2px solid;
    border-radius: 15px;
    text-align: center;
}
.flex-column {
    -ms-flex-direction: column!important;
    flex-direction: column!important;
}
.nav {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.text-white-50 {
  color: #ffffff !important;
  font-weight: 500;
  margin-top: 1.5rem;
}
