body { padding-top: 56px; width:100% !important; background-color: #DBEDFF !important; }
body {
  padding: 0px;
} /*is compensated for in the fullbar margin of AmbitiousToolbar.css*/
  
body {
overflow-x: hidden;
font-family: "OpenSans", sans-serif !important;
}

body {
  scroll-behavior: smooth;
}

/* Preeeeeeeeeeeeeeloader gif */
.preloader{
  background: var(--palette-bg) url(https://static.igem.wiki/teams/4663/wiki/icons-logos/cherry-shoes.gif)  no-repeat center center;
  background-size: 40%;
  height: 100vh;
  width: 100%;
  position: fixed;
  z-index: 100;
}


.content > * {
  scroll-margin-top: calc(9.6);
}



/* a:link{
  text-decoration: underline !important;
  color: var(--palette-orange) ;
} */

/* a:not([href="/"]):not(:has( img,div,a,span,path,svg)) {
  
  text-decoration: underline !important;
  color: var(--palette-orange) ;
  
} */
a{
  text-decoration: none !important;
}
/* .icon {
  height: 1.5em;
  width: 1.5em;
} */

.icon.rounded-icon {
  border-radius: 50%;
}

 

.page-container {    
  display: block;
  align-items: center;
  width: 100%;
 
  background-color: white;
  border: 3vw solid white;
  border-left: 3vw solid white;
  border-right: 3vw solid white;
  border-radius: 1rem 1rem 1rem 1rem;
  padding: 2vw;
 
  text-align: center;
  
  z-index: 80;
  box-shadow: 1px 2px 3px 4px rgba(12,12,12,0.2);
  
}


.page-container-white-bg {    
  display: block;
  align-items: center;
  width: 100%;
 
  /* background-color: white; */
  border: 3vw ; 
  border-left: 3vw ;
  border-right: 3vw ;
  /*  border-radius: 1rem 1rem 1rem 1rem; */
  padding: 2vw;
 
  text-align: center;
  
  z-index: 80;
  /* box-shadow: 1px 2px 3px 4px rgba(12,12,12,0.2); */
  
}



.reference-container{
  display: block;
  align-items: center;
  width: 100%;
  background-color: white;
  border: 20px solid white;
  border-radius: 1rem 1rem 1rem 1rem;
  text-align: center;
  z-index: 80;
  box-shadow: 1px 2px 3px 4px rgba(12,12,12,0.2);
  }

.container-titles {
  color:white ;
  font-size: 2rem;
  font-family: "OpenSans", sans-serif;
  font-weight: bold;
  font-style: normal;

  display: flow-root;
  margin: auto;
  background-color: var(--palette-footer);
  height: fit-content;
  width: fit-content;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 6px;
  padding-bottom: 6px;
  border: 10px solid var(--palette-footer);
  border-radius: 1rem 1rem 1rem 0rem;
  margin-bottom: -1rem;

  position: relative;
  margin-top: 2rem;
  margin-left: 5%;
  z-index: 90;
}

@media(max-width:1200px){
  .container-titles{
    font-size: 1.5rem;
  }
}

.ref-title {
  color:white !important;
  font-size: 2rem;
  font-family: "OpenSans", sans-serif;
  font-weight: bold;
  font-style: normal;

  display: flow-root;
  margin: auto;
  background-color: var(--palette-footer);
  height: fit-content;
  width: fit-content;
  padding-left: 1.5rem;
  padding-right: 1.5rem;

  border: 10px solid var(--palette-footer);
  border-radius: 0rem 1rem 1rem 1rem;
  margin-bottom: -1rem;

  position: relative;
  margin-top: 2rem;
  margin-left: 0%;
  z-index: 90;
}


.text-ref{
  font-size: medium;
  font-weight: 400;
  line-height: 1.5;
  height: 1;
}



.cardReferences {
  border-radius: 1rem;
  box-shadow: 1px 2px 3px 4px rgba(12,12,12,0.2);
  background-color: #fffffe;
  margin-top: 15px;
  margin-bottom: 15px;
  margin-left: 0%;
  margin-right: 0%;
  padding: 0%;
}

.ref-titleInBody {
  color:white !important;
  font-size: 1.5rem;
  font-family: "OpenSans", sans-serif;
  font-weight: bold;
  font-style: normal;

  display: flow-root;
  
  background-color: var(--palette-footer);
  height: fit-content;
  width: fit-content;
  padding-left: 1.5rem;
  padding-right: 1.5rem;

  border: 10px solid var(--palette-footer);
  border-radius: 0rem 1rem 1rem 1rem;

  position: relative;
  margin-top: 1rem;
  margin-bottom: 0rem;
  margin-left: 0%;
  z-index: 90;
}

/* #header {
    background-image: url(https://static.igem.wiki/teams/4663/wiki/maxresdefault.jpg);  in each page the costum header photo needs to be plugged in the pages custom css
    background-size: cover;
    backdrop-filter: blur(3px);
    background-repeat: no-repeat;
    background-position: center;
    min-height: 550px;
    padding: unset;
    background-color: white;
    width: 100%;
} */
.page-title {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: var(--palette-yellow) !important;
    background-color: rgba(0,0,0,0.2);
    font-family: "OpenSans", sans-serif;
    text-align: center;
    min-height: 550px;
    font-size: 4em;
}

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

  
* {
    font-family: "OpenSans", sans-serif;
    text-align: justify;
    text-justify: auto;
    /* scroll-margin: 70px; */
    letter-spacing: 0.02em;
  }
  
  strong {
    font-weight: 600;
    font-family: inherit;
    font-size: inherit !important;
  }
  
  i {
    font-family: inherit !important;
    font-size: inherit !important;
  }
  @media(max-width:992px){
  #more5pdInSmallScreens.container
    {padding-top: 5vw !important;}
  }

  .IndexStylling{
    padding-left: 0.5vw !important;
    padding-top: 0.3vw !important;
    color: #78243f;
    text-decoration: solid;
  }

  :root {
    --palette-bg:#DBEDFF;
    --palette-footer:#7492ce;
    --palette-light-blue: #cdeef8;
    --palette-cherry: #FBE9E7;
    --palette-red: #e06153;
    --palette-light-red: #ee8b80;
    --palette-orange: #fba649;
    --palette-orange-dark:#965310;
    --palette-turquoise: #45c4af;
    --palette-green: rgba(77, 139, 49, 100);
    --palette-purple: #641877;
    --palette-yellow: rgb(235, 228, 173);
    --palette-gray: rgb(197, 196, 187);
    --bs-font-sans-serif: "OpenSans", sans-serif;
    /* Shades of Gray */
    --AT-gray-0: #f5f5f5;
    --AT-gray-1: #d0d0d0;
    --AT-gray-2: #909090;
    --AT-gray-3: #606060;
    --AT-gray-4: #404040;
    --AT-gray-5: #202020;
  
    /*header and footer*/
    --header-color: #343a40;
    --footer-color: #45b06c;
  
  }
  .bg-dark { background-color: #343a40 !important; }
  .bg-hero { background-color: #45b06cff; }
  
  :root {
      color-scheme: only light;
    }
  
    
  
 .clickme {
    
    /* color: var(--palette-orange) !important; */
    color: rgb(201, 123, 89) !important;
    text-decoration: none !important;
  }

  .clickme:hover {
    text-decoration: underline !important;
    color: rgb(201, 160, 94) !important;
  }

  a:visited {
    text-decoration: none;
  }
  
  a:active {
    text-decoration: underline;
  }

  .textCentered{
    text-align: center;
  }
  
.caption {
    font-size: 1.5vw;
    font-style: italic;
    color: #78243f;
    margin-left: 10px;
    padding-top: 0.5rem;
    margin-bottom: 20px;
    text-align: center;
    margin-right:2vw;
    margin-left: 2vw;
  }
  #fpVideoContainer {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (9 / 16 = 0.5625) */
    height: 0;
    overflow: hidden;
  }
  #fpVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .caption-rem {
    font-size: 1.0rem;
    font-style: italic;
    color: #78243f;
    margin-left: 10px;
    padding-top: 0.5rem;
    margin-bottom: 20px;
    text-align: center;
  }
    
  .caption-rem-none {
    font-size: 1.0rem;
    font-style: normal;
    color: #78243f;
    margin-left: 10px;
    padding-top: 0.5rem;
    margin-bottom: 20px;
    text-align: center;
  }

p, .body-text {
    font-size: 1.1rem;
    color: black;
    font-family: "OpenSans", sans-serif;
    line-height: 1.7;
  }
  

  .textt {
    font-size: large;
    font-weight: 300;
    font-size: 1.4rem;
    margin-top: 20px;
  }

  .body-text-b  {
    font-size: 1.3rem;
    color: black;
    line-height: 1.7;
  }  

.body-text-big {
    font-size: 1.5rem;
    color: black;
    line-height: 1.7;
  }
  .body-text-big {
    font-size: 1.65rem;
    color: black;
    line-height: 1.7;
  }

.body-text-bigger {
    font-size: 1.8rem;
    color: black;
    line-height: 1.7;
  }
  
.titles {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    text-align: left !important;
  }
  
.subtitles {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    text-align: left !important;
    padding-left: 1rem;
    color:#c36c15 ;
   }

  .bg-dark {
    background-color: #343a40 !important;
  }
  
  .bg-hero {
    height: 550px;
    background-color: #917f68;
  }
  
  @keyframes fadeIn {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

  .source-container {
    color: black;
    padding-top: 1rem !important;
    border-bottom: beige 2px solid;
    padding-bottom: 1rem !important;
    font-size: 0.75rem;
  }
  
  .source-container:empty {
    display: none;
  }
  
  /* .MathJax_Display {
    margin: 1.8rem;
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  @keyframes moveleft {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100%);
    } 
  }*/
  

  img {
    min-height: 0% !important;
    min-width: 0% !important;
    max-width: 100% !important;
    max-height: 100% !important;
  }
  
  
  .main-block-container {
    font-size: 1.2rem;
    display: block;
    margin: auto;
    width: 75vw;
  }

  /* PDF toggle button opener */
  .pdfDiv {
    width: 100%;
    display: flow;
    box-sizing: content-box;
    margin: 50px auto 50px auto;
  }
  
  .pdfButton {
    display: inline-block;
    width: fit-content;
    height: fit-content;
    padding: 1em;
    padding-left: 2em;
    padding-right: 2em;
    background-color: #FBA649;
    text-align: center;
    border: 5px solid purple;
    border-radius: 1rem;
    font-family: "OpenSans", sans-serif !important;
    font-weight: bold;
  }

   .pdfButton:hover {
    cursor: pointer;
  }
  
  .pdfFrame {
    display: none;
    width: 100%;
    height: 70vh;
  }

  .bold {
    font-weight: bold;
  }

  .italic {
    font-style: italic;
  }

  .underlined {
    text-decoration: underline;
  }
  .textCentered{
    text-align: center;
  }

  
.captionLessWidth{
  margin: 0 5%;
}

  @media(min-width:993px){

    .COL1-row{
      width: 15vw;
      margin-right: 0 auto;
    }
    .COL2-row{
      width: 85vw;
    }
    .ROW-cols{
   
    display: flex;
    flex-wrap: nowrap;
    
    }

   }

   .overlayGifHeaders{
    position: absolute;  
    top: 0;  
    left: 0; 
    z-index: 1;
    width: 100vw;
     height: 69.85vw; 
   transition: opacity 0.7s ease;
   top:0; 
   }

   .nav-link::before {
    content: attr(data-tooltip);
    display: none;
    position: absolute;
    background-color: #d7b4d3;
    color: #000000;
    padding: 5px;
    border-radius: 5px;
    z-index: 1;
    font-size: 1.35rem;
    font-family: 'Open', sans-serif;
    left: 5.5vw;
    margin: 0.5vw;
    border:0.25vw solid #d9bdd6;
    text-wrap: nowrap;
    /* transform: translateX(-5vw); */
    animation: tooltipAnimation 0.5s forwards; /* Apply the animation */
  }

  @media(max-width:992px){
  .nav-link::before {
    left: 17vw !important;
  }}

  /* Define the animation */
  @keyframes tooltipAnimation {
    0% {
      opacity: 0;
      transform: translateX(0vw);
    }
    100% {
      opacity: 1;
      transform: translateX(1vw);
    }
  }

  

  /* .nav-link:hover::before {
    display: block;
  } */
  .nav-link:hover::before {
    display: block;
    transform: translateX(0);}




    #image-flash2 {
      width: 100%;
      height: 100%;
      animation: fadeInIN 1.5s linear infinite; /* Animation settings */
    }

   
      @keyframes fadeInIN {
      0%, 100% {
        opacity: 1; /* Start and end with opacity 0 */
      }
      50% {
        opacity: 0; /* Opacity 1 at 50% of the animation */
      }}

      .quote {
        display: inline-block;
        /* margin-left: 10px; */
        font-size: 1.2rem;
        font-weight: bold;
        font-style: italic;
        margin-right: 2.5vw;
        width: 100%;
        margin-left: 1% !important;
        display: flex;
        justify-content: center; 
        align-items: center;
        margin: auto 0;
        margin-top:1vw;
        padding-left: 0.5vw;
        padding-right: 0.5vw;
         
        height: fit-content;
        border-radius: 0.5em;
    }