html{scroll-behavior: smooth;}

/*SLIDER*/
.slider {
  height: 250px;
  margin: auto;
  position: relative;
  width: 90%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.slide-track {
  display: flex;
  width: calc(250px * 6);
  animation: scroll 10s linear infinite;
}

.slide-track:hover {
  animation-play-state: paused;
}

.slide {
  height: 200px;
  display: flex;
  align-items: center;
  padding: 25px;
  perspective: 100px;
}

.slide img {
  height: 200px;
  transition: transform 0.5s;
}
.slide img:hover {
  transform: translateZ(20px);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px*3));
  }
}

.slider::before,
.slider::after {
  background: linear-gradient(to right, rgba(1, 46, 74, 1) 0%, rgba(1, 46, 74, 0) 100%);
  content: "";
  height: 100%;
  position: absolute;
  width: 15%;
  z-index: 2;
}
.slider::before {
  left: 0;
  top: 0;
}

.slider::after {
  right: -1px;
  top: 0;
  transform: rotateZ(180deg);
}


/*--------------------*/
.one_image {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.2rem;
  margin-bottom: 1.2rem;
  height: 50vh;
}

.one_image img {
  max-width: 80vw;
}

.center-image {
  width: 65vw;
  margin-left: 10vw;
  margin-top: 10vh;
  margin-bottom: 10vh;
}
.center-image_b {
  width: 70vw;
  margin-left: 5vw;
  margin-top: 50px;
  margin-bottom: 50px;
}
.center-image_s {
  width: 40vw;
  margin-left: 23vw;
  margin-top: 6vh;
  margin-bottom: 6vh;
}
.center-image_ss {
  width: 30vw;
  margin-left: 28vw;
  margin-top: 6vh;
  margin-bottom: 6vh;
}
/*GRID*/
.role {
  /*text-align: center;*/
  color: white;
  scale: 0.1;
  position: absolute;
  display: inline-block;
  background-color: #012e4a;
  opacity: 80%;
  padding: 10px;
  opacity: 0%;
  border-radius: 15px;
  transition: 1s ease;
  width: 250px; /*30vh*/
  margin-left:50px; /*9vh*/
  /*transform: translate(0%, 200%);*/
  z-index: 2000;
}
/*@media (max-width: 576px) {
  .role {
    margin-left: 15vw;
  }
}*/
.role::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -15px;
  border-width: 15px;
  border-style: solid;
  border-color: #012e4a transparent transparent transparent;
}
.grid-item:hover .role {
  display: block;
  scale: 1;
  opacity: 80%;
  transform: translate(0%, -50%);
  z-index: 2000;
}
.grid-back {
  display: grid;
  grid-template-columns: auto;
  padding-left: 0vw;
}
.grid-item {
  position: relative;
  height: 200px; /*30vh*/
  margin-right: 0vw;
  margin-bottom: 5vw;
  padding: 0px;
  text-align: center;
  opacity: 100%;
  /*border: solid black 1px;*/
  animation: fadeIn 3s 1s ease;
  animation-iteration-time: 1;
  animation-fill-mode: forwards;
  animation-timeline: view(80vh 0vh);
}
.gridImage {
  height: 20vh;
  margin: 10px;
  border-radius: 50%;
  box-shadow: 5px 5px 25px grey;
  transition: 0.3s ease;
}
.grid-item b {
  font-size: 1rem;
  display: block;
  transition: 0.3s;
}
.grid-item:hover .gridImage {
  box-shadow: 0 0 0;
  scale: 1.2;
}
.grid-item:hover b {
  /*font-size: 1.3rem;*/
  transform: translate(0%, 50%);
}
@media only screen and (min-width: 576px) {
  .grid-back {
    width: 540px;
    grid-template-columns: auto auto;
    padding-left: 0vw;
    padding-right: 0vw;
  }
  .center-image {
    width: 400px;
    margin-left: 50px;
    margin-top: 10vh;
    margin-bottom: 10vh;
  }
  .center-image_b {
    width: 490px;
    margin-left: 10px;
    margin-top: 50px;
    margin-bottom: 50px;
  }
  .center-image_s {
    width: 250px;
    margin-left: 150px;
    margin-top: 6vh;
    margin-bottom: 6vh;
  }
  .center-image_ss {
    width: 170px;
    margin-left: 170px;
    margin-top: 6vh;
    margin-bottom: 6vh;
  }
}
@media only screen and (min-width: 768px) {
  .grid-back {
    width: 700px;
    grid-template-columns: auto auto;
    padding-left: 0vw;
    padding-right: 0vw;
  }
  .center-image {
    width: 500px;
    margin-left: 100px;
    margin-top: 10vh;
    margin-bottom: 10vh;
  }
  .center-image_b {
    width: 680px;
    margin-left: 10px;
    margin-top: 50px;
    margin-bottom: 50px;
  }
  .center-image_s {
    width: 300px;
    margin-left: 210px;
    margin-top: 6vh;
    margin-bottom: 6vh;
  }
  .center-image_ss {
    width: 250px;
    margin-left: 210px;
    margin-top: 6vh;
    margin-bottom: 6vh;
  }
}
@media only screen and (min-width: 1200px) {
  .grid-back {
    grid-template-columns: auto auto auto;
    width: 1100px;
    padding-left: auto;
  }
  .center-image {
    width: 600px;
    margin-left: 230px;
    margin-top: 10vh;
    margin-bottom: 10vh;
  }
  .center-image_b {
    width: 900px;
    margin-left: 110px;
    margin-top: 50px;
    margin-bottom: 50px;
  }
  .center-image_s {
    width: 450px;
    margin-left: 315px;
    margin-top: 6vh;
    margin-bottom: 6vh;
  }
  .center-image_ss {
    width: 300px;
    margin-left: 390px;
    margin-top: 6vh;
    margin-bottom: 6vh;
  }
}
@keyframes fadeIn {
  /*0%{opacity:0%;}
  100%{opacity:100%;}*/
}
  
  
  /*GRID*/


.relContainer {
    position: relative;
    height: 10vh;
}
.downloadBtn {
text-decoration: none;
color: white;
padding: 1rem;
position: absolute;
top: 50%;
left: 50%;
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
/*border: 1px black solid;*/
background-color: #012e4a;
text-align: center;
transition: 0.2s;
}
.downloadBtn:hover {
    color: white;
    background-color: #059efc;
    padding: 1.3rem;
    box-shadow: 0px 5px 10px #6ec7ff;
}
.mainText {
    text-align: center;
    font-size:7vw !important;
    color: white;
    /*font-family: 'Times New Roman', Times, serif;*/
    font-family: 'Times New Roman', Times, serif;
    margin-top:-15vh;
    animation: mainLogo 2s;
}
.bg-dark{background-color:#012e4a!important;}
.mainLogo {
  height:60vh;
  margin:auto;
  margin-top:-15vh;
  padding:0;
  display:block;
  animation: mainLogo 2s;
}
.animatedArrow {
    opacity: 0%;
    animation: animatedArrow 6s 1s;
    animation-iteration-count: infinite;
    text-decoration: none;
    color: white;
    margin-left: 50%;
    margin-top: 0%;
    font-size: 4vw;
    transition:2s;
    z-index: 2;
}
.animatedArrow:hover {
    cursor:pointer;
}
@keyframes animatedArrow {
    0% {opacity: 0%;}
    75% {opacity: 100%;}
    100% {opacity: 0%;}
}
@media only screen and (max-width:800px) {
    .mainLogo {
        max-height:50vw;
        max-width: 50vw;
        margin:auto;
        margin-top:-15vh;
        overflow:hidden;
    }
}
@keyframes mainLogo {
    0% {opacity: 0%;margin-top:5vh;}
    100% {opacity:100%;margin-top:-15vh;}
}

body { padding-top: 56px; }
.left-aligned { margin-left: auto; }
.bg-dark { background-color: #012e4a !important; }
.bg-hero {
    background-color: #012e4a;
    animation: scale2;
    animation-timeline: view(0vh 100vh);
}

@keyframes scale2 {
to{background-color: rgba(255, 255, 255, 0);}
}

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

@media screen and (max-width: 600px) {
  .table-engineering-3column {
    margin-left: 0;
    width: 100%;
  }
  .table-engineering-3column th:nth-child(1) {
    width: 35%;
  }
  .table-engineering-3column th:nth-child(2) {
    width: 35%;
  }
  .table-engineering-3column th:nth-child(3) {
    width: 30%;
  }

  .table-engineering-5column {
    margin-left: 0;
    width: 100%;
    font-size: 0.8rem;
  }
}

.safety_main-image {
  width: 80%;
  margin-left: 0;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.safety_chemicals-div {
  margin-left: 1.5rem;
}

.safety_chemicals-div > p {
  margin-bottom: 0.5rem;
}

.safety_ordered-list > li {
  margin: 1rem 0;
}

.safety_autoclave-img {
  width: 150px;
}

.safety_personal-safety {
  display: flex;
  flex-direction: row;
}

.safety_personal-safety-img {
  width: 220px;
  margin: 2rem;
}

@media screen and (max-width: 600px) {
  .safety_personal-safety {
    display: flex;
    flex-direction: column;
  }
}

@media screen and (min-width: 600px) {
  .ent_plan-img {
    width: 800px;
  }
}

.contributions_par-div {
  margin-bottom: 1.5rem;
}

.contributions_link-div {
  display: flex;
  flex-direction: row;
}

.contributions_link-div div:nth-child(1) {
  width: 175px;
}

.experiments_pdf-div {
  margin-bottom: 2.2rem;
}

.human-practices_contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  gap: 1rem;
}

.human-practices_contact > div {
  padding: 0.5rem;
}

.human-practices_contact img {
  width: 100%;
}

.human-practices_lipid-system-div {
  max-width: fit-content;
}

.human-practices_contact-photos-div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.human-practices_contact-photos-div img {
  max-width: 100%;
  max-height: 282px;
}

.human-practices_contact-involved-photos-div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}

.human-practices_contact-involved-photos-div div {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem;
  font-size: 1.2rem;
  font-weight: 400;
}

.human-practices_contact-involved-photos-div img {
  width: 100%;
  height: auto;
}

.human-practices_contact-photos-lab-last-div {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 1fr 1fr;
}

.human-practices_contact-photos-lab-last-div div {
  width: 100%;
  padding: 1rem;
}

.human-practices_contact-photos-lab-last-div img {
  width: 100%;
}

@media screen and (min-width: 600px) {
  .human-practices_producers_table {
    td:nth-child(1) {
      width: 9rem;
    }
  }
}

.human-practices_questionnaire-pdf-text {
  text-align: center;
}