@import "cascade.css";
@import "team.css";
@import "default_igem.css";
@import "pages.css";
@import "fonts.css";
@import "home_buttons.css";


html,body {width:100%;height:100%;}

body { 
  background-color: #FFDBE9 !important;
  font-family:'Gisha', sans-serif !important;
  margin: 0px;
  overflow-x: hidden; /* Prevent scrollbar */
}

.lead
{
  font-family: 'Optima' !important;
  font-weight: bold;
  font-size:24px !important;
  color: #622452; /*c4338c*/
  text-align: center !important;
}

.quote
{
  font-family: 'Optima' !important;
  font-weight: bold;
  font-size:24px !important;
  color: #622452;
  text-align: center !important;
}

.my-toc
{
  padding-top: 60px;
  top: 70px;
}

.entry 
{
  background-color: #ffffff !important;
}

.logo 
{
    max-width: 100%;
    width: 40%;
    height: 40% 
}

.group-photo {max-width: 90%;}

.foot-icons{width: 35px;}

.navbar-brand
{
  display: inline-block;
  padding-top: 0rem;
  padding-bottom: 0rem;
  margin-right: 1rem;
  font-size: 1.25rem;
  line-height: inherit;
  white-space: nowrap;
  width: 120px;
  padding-right: 50px;
}

.bottomRef{
  position: fixed;
  bottom: 0;
}

.reftext {font-size: 13px;}


.rowheader {
  background: url(https://static.igem.wiki/teams/4633/wiki/banner.png); /*url('https://static.igem.wiki/teams/4179/wiki/banner.svg');*/
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  height: 100%;
  }

/* Custom CSS to make the row narrower */
.narrow-row {
  max-width: 600px; /* Adjust to your desired width */
  margin: 0 auto; /* Center the row if needed */
}

.footerspace {margin-right: 5px;}

.slick-track
{
  position: relative;
  top: 0;
  left: 0;
  display: flex !important;
  align-items: center !important;
  margin-left: auto !important;
  margin-right: auto;
}

.justify { text-align: justify;
  text-justify: inter-word;}

 
.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6
{
  padding-top: 100px;
  margin-top: -100px;
  font-family: 'Gisha' !important; /*'Optima' !important;*/
  font-weight: normal;
}

/* Disable this fix for the timeline in HP page */
.js-cd-timeline h1,
.js-cd-timeline h2,
.js-cd-timeline h3,
.js-cd-timeline h4,
.js-cd-timeline h5,
.js-cd-timeline h6
{
  padding-top: 0px;
  margin-top:  0px;
  font-family:'Gisha' !important;
  font-weight: normal;
}


.page-content p
{
  text-align: justify;
	text-justify: inter-word;
  line-height: 150%;
}
	
.slick-track{
	display: flex; align-items:center; }

  #multi-bg{
    height: 100%;
    display: block;
    background-image:
            url("https://static.igem.wiki/teams/4633/wiki/home/new/utbye-logo-animation-with-background.gif");
    background-size: 100%;
    background-position:center ;
    background-repeat: no-repeat;   
}

.graphic-abstract
{
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0%;
}

.victoryimage
{
  display: block;
  position: relative;
  border: solid 3px #5F2250;
  padding: 3px 3px;
  max-width: 800px;
  font-size: 17px;
  line-height: 28px;
  transform: rotate(-3deg);
  box-shadow: 3px 15px 8px -10px rgba(0, 0, 0, 0.3);
  transition: all 0.13s ease-in;
}

.victoryimage:hover {
  transform: translateY(-10px) rotate(5deg);
  box-shadow: 3px 15px 8px -10px rgba(0, 0, 0, 0.3);
}

.victoryimage:hover .border {
  transform: translateY(4px) rotate(-5deg);
}

.prizes-list
{
  font-family:'Optima' !important;
}

.prizes-list>li{
  display: flex;
  align-items: center;
  justify-content: center;
}

.prizes-list img {
  width: 32px;
  height: auto;
  margin-right: 5px;
}

.imgcenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  
}

/*footer*/

.contact-info {
  background-color: #EE90B9 ;
  
}

.contact-info-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  padding: 1.9em 1em;

}

.boxfooter {
  width: 50%;
  text-align: justify;
}

.boxfooter h3 {
  font-size: 1em;
  padding: 0em;
  color: white;
}

.boxfooter p{
  color: white;
  font-size: 0.7em;
  padding: 0em;
}

.social-media-icons {
  padding: 0 0.3em ;
  font-size: 3em;
}

.social-media-icons a, .social-media-icons a:active, .social-media-icons a:visited, .box a, .box a:active, .box a:visited{
  color: white;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.social-media-icons a:hover,  .box a:hover{
  color: #EE90B9 ;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.app-game
{
  padding-top: 100px;
  padding-bottom: 50px;
}
.figure-text {font-size: 11px; color: #787277; padding-bottom: 15px;
  text-align: justify !important;
  text-align-last: center;
  max-width:70%;
  word-wrap:break-word;
  margin-left: auto;
  margin-right: auto;
}
.figure-text p {font-size: 14px; color: #787277; padding-bottom: 15px;
  text-align: justify !important;
  text-align-last: center;
  max-width:70%;
  word-wrap:break-word;
  margin-left: auto;
  margin-right: auto;}

/* Styles used on education page */
.imgcenter {
    display: block;
    margin-left: auto;
    margin-right: auto;

}

.columnimg {
    float: left;
    width: 33.33%;
    padding: 0px;
}

/* Clearfix (clear floats) */
.row::after {
    content: "";
    clear: both;
    display: table;
}

.modal-content 
{
    background: #F5E3F1;
}

.sticky-top /* TOC behind navbar */
{
  z-index: 0 !important;
}

.page-host {
  padding-left: 2% !important;
  padding-right: 2% !important;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23c470b0' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E") !important;
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23c470b0' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background: var(--color-white);
  transition: all 0.6s ease-out;
  width: 100%;
  height: 100vh;
}

#preloader:before,
#preloader:after {
  content: "";
  position: absolute;
  border: 4px solid #ee90b9;
  border-radius: 50%;
  -webkit-animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

#preloader:after {
  -webkit-animation-delay: -0.5s;
  animation-delay: -0.5s;
}

@-webkit-keyframes animate-preloader {
  0% {
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    opacity: 1;
  }

  100% {
    width: 72px;
    height: 72px;
    top: calc(50% - 36px);
    left: calc(50% - 36px);
    opacity: 0;
  }
}

@keyframes animate-preloader {
  0% {
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    opacity: 1;
  }

  100% {
    width: 72px;
    height: 72px;
    top: calc(50% - 36px);
    left: calc(50% - 36px);
    opacity: 0;
  }
}

/* Human Practices Vertical Two-Sided Timeline */
/* The actual timeline (the vertical ruler) */
.main-timeline {
position: relative;
}

/* The actual timeline (the vertical ruler) */
.main-timeline::after {
content: "";
position: absolute;
width: 6px;
background-color: #ee90b9;
top: 0;
bottom: 0;
left: 50%;
margin-left: -3px;
}

/* Container around content */
.timeline {
position: relative;
background-color: inherit;
width: 50%;
}

/* The circles on the timeline */
.timeline::after {
content: "";
position: absolute;
width: 25px;
height: 25px;
right: -13px;
background-color: #ffffff;
border: 5px solid #ee90b9;
top: 15px;
border-radius: 50%;
z-index: 1;
}

/* Place the container to the left */
.left {
padding: 0px 40px 20px 0px;
left: 0;
}

/* Place the container to the right */
.right {
padding: 0px 0px 20px 40px;
left: 50%;
}

/* Add arrows to the left container (pointing right) */
.left::before {
content: " ";
position: absolute;
top: 18px;
z-index: 1;
right: 30px;
border: medium solid white;
border-width: 10px 0 10px 10px;
border-color: transparent transparent transparent white;
}

/* Add arrows to the right container (pointing left) */
.right::before {
content: " ";
position: absolute;
top: 18px;
z-index: 1;
left: 30px;
border: medium solid white;
border-width: 10px 10px 10px 0;
border-color: transparent white transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
left: -12px;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
/* Place the timelime to the left */
.main-timeline::after {
  left: 31px;
}

/* Full-width containers */
.timeline {
  width: 100%;
  padding-left: 70px;
  padding-right: 25px;
}

/* Make sure that all arrows are pointing leftwards */
.timeline::before {
  left: 60px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
}

/* Make sure all circles are at the same spot */
.left::after,
.right::after {
  left: 18px;
}

.left::before {
  right: auto;
}

/* Make all right containers behave like the left ones */
.right {
  left: 0%;
}
}

/* Timeline will appear only as user scrolls down */
.timeline-item {
opacity: 0;
transform: translateY(20px); /* Start offscreen and move up */
transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Add a fade-in animation */
.fade-in {
opacity: 1;
transform: translateY(0);
transition: opacity 1s ease, transform 1s ease;
}

/* Add a fade-out animation */
.fade-out {
opacity: 0;
transform: translateY(20px); /* Move element slightly down when fading out */
transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Link markup highlight for elements with the "toc" and "entry" classes */
.my-toc a,
.entry a {
  position: relative;
  background-color: transparent;
  transition: background-color 0.3s ease-out;
  padding: 0 3px;
  z-index: 1; /* Increase the z-index to make sure the text is on top */
  overflow: hidden; /* Hide any overflow from the ::before element */
}

.my-toc a::before,
.entry a::before {
  content: '';
  position: absolute;
  width: 0; /* Start with a width of 0 */
  height: 100%;
  background-color: #247ba0;
  top: 0;
  left: 0;
  transition: width 0.3s ease-out; /* Animate the width property */
  z-index: -1; /* Lower the z-index to position it behind the text */
}

.my-toc a:hover::before,
.entry a:hover::before {
  width: 100%; /* Expand to 100% width on hover */
}

.padded-div {
  padding-top: 7vh; /* % of the viewport height */
}


  /*Accordion*/
  .accordion-button:focus {
    box-shadow: none !important;
  }
  
  .accordion-button:not(.collapsed) {
    color: #50514f !important;
    background-color: #ee90b9 !important;
  }

  .accordion-button:not(.collapsed)::after {
    background-image: url("https://static.igem.wiki/teams/4633/wiki/chevron-down-gray.png");
  }
  /*
  .accordion-button::after {
  background-image: url("https://static.igem.wiki/teams/4633/wiki/competence.png");
  }*/
  
  .accordion-body {
    background-color: #FFDBE9;
  }

  .accordion-body-pdf {
    background-color: #ffffff;
  }

  .accordion-body-mor {
    background-color: #ffffff;
    padding: 20px;
  }


/*Table*/
.tg {
  border-collapse: collapse;
  border-spacing: 0;
}

.tg td {
  border-color: #b03b94  ;
  border-style: solid;
  border-width: 1px;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  overflow: hidden;
  padding: 10px 5px;
  word-break: normal;
}

.tg th {
  border-color: #b03b94  ;
  border-style: solid;
  border-width: 1px;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: bold;
  overflow: hidden;
  padding: 10px 5px;
  word-break: normal;
}

.tg .tg-0lax {
  text-align:center !important;
  vertical-align: top
}
.tg-0lax .MathJax {font-size: 1.3em !important; }

.hidden {
  display: none;
}


.split-table th:first-child,
.split-table td:first-child {
  word-wrap: break-word;
}




/*Integrate titles*/
.bold-tag {
  font-size: 1.2rem;
  font-weight: bold !important;
}

/*protocols buttons*/
.prot-title {
  font-size: 1.5rem;
  padding-left: 5px;
  padding-right: 5px;
}



/*Medals Tables*/
.mtg {
  border-collapse: collapse;
  border-spacing: 0;
}

.mtg td {
  border-color: #b03b94  ;
  border-style: solid;
  border-width: 1px;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  overflow: hidden;
  padding: 10px 5px;
  word-break: normal;
  text-align: center;
}

.mtg th {
  border-color: #b03b94  ;
  border-style: solid;
  border-width: 1px;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: bold;
  overflow: hidden;
  padding: 10px 5px;
  word-break: normal;
  text-align: center;
}

.mtg .tg-0lax {
  text-align:center !important;
  vertical-align: top
}
.mtg-0lax .MathJax {font-size: 1.3em !important; }

.hidden {
  display: none;
}


.split-table th:first-child,
.split-table td:first-child {
  word-wrap: break-word;
}

.first-column {
  width: 20%;
}
