.left-aligned { margin-left: auto; }
.bg-dark { background-color: #343a40 !important; }
.bg-hero { background-color: #45b06cff; }
/* width */
::-webkit-scrollbar {
    width: 10px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: #EBF1FF;
  }
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #1C2334;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #364363;
  }
body {
    margin: 0%;
    padding: 0;
    /* background-image: url('https://static.igem.wiki/teams/4879/wiki/lines-bg-1.svg'); */
    background-repeat: repeat;
    /* background-size: 2666.6666667px 1500px; */
    background-color: #EBF1FF;
    font-family: "Montserrat";
   cursor: url('https://static.igem.wiki/teams/4879/wiki/cursor-2-copy.svg'), auto;
   width: 100vw;
   overflow-x: hidden;
}

h1,h2,h3 {
    font-family: 'Raleway';
    font-weight: 900;
}

.content h2, .content h1 {
    font-size: 4.3vh;
    color: #20366c;
} 

.content h3 {
    font-size: 2.7vh;
    color: #5a7ac9;
    font-family: 'Raleway';
}

.hp.res.content h3{
    margin-bottom: 0%;
    padding-bottom: 0%;
}

.header {
    /* background-color: #1C2334; */
    transform: translateY(-10vh);
    width: 100%;
    aspect-ratio: 2 / 1;
    z-index: 2;
}

.content {
    background-color:#F5F8FF;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    padding-left: 40px;
    font-size: 1.2em;
    padding-right: 40px;
    padding-top: 30px ;
    margin-bottom: 40px;
    border-radius: 10px;
    line-height: 32px;
}

.big.content_image div img {
    width: 35vw;
    margin-left: 40px;
    margin-right: 40px;
}

.wide.content_image div img {
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
}

.sm.content_image  img {
    width: 25vw;
}

.aw_note {
    display: flex;
    flex-direction: row;
}

.reac.content_image div {
    width: 100%;
    cursor: auto;
}

.sm_reac.content_image div {
    width: 100%;
    cursor: auto;
}

.sm_reac.content_image div img {
    width: 60%;
    margin-left: 20%;
    margin-right: 20%;
}

.content iframe {
    width: 100%;
    height: 60vh;
}

.spsm_reac.content_image div {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: auto;
}

.spsm_reac.content_image div img {
    width: 20%;
    margin-left: 40%;
    margin-right: 40%;
}

.note.content_image img{
    width: 15vw;
}

.reac.content_image div img{
    width: 60%;
    margin-left: 20%;
}

.content.ref ul li a{
    color: #868686;
}

.content.ref ul li {
    color: #868686;
}

.content.ref ul li a:hover{
    color: #ffb320;
}

.content.ref ul {
    margin-bottom: 40px;
}

.gal {
    display: flex;
    flex-direction: row;
}

.gal .icon div img {
    width: 15vw;
}

.container {
    margin-top: 115px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    height: fit-content;
}

.list_p li {
    margin-bottom: 25px;
}

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


.safe-gallery {
    flex-direction: row;
    align-items: center;
    display: none;
    margin-bottom: 5vh;
}

.safe-gallery .img {
    background-repeat: no-repeat;
    background-size: 100%;
    height: 40vh;
    width: 500px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.safe-gallery .prev, .safe-gallery .next {
    width: calc(50% - 10vw);
}

.desc_gif {
    width: 50vw;
}

.safe-gallery.active {
    display: flex;
}

.ihp-gallery {
    flex-direction: row;
    align-items: center;
    display: none;
    margin-bottom: 5vh;
}

.ihp-gallery .img {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.ihp-gallery .prev, .ihp-gallery .next {
    width: 10vw;
}

.ihp-gallery.active {
    display: flex;
}

.ihp-gallery img {
    width: 30vw;
    height: auto;
}

#img_1 {
    background-image: url('https://static.igem.wiki/teams/4879/wiki/safety-1.jpg');
}

#img_2 {
    background-image: url('https://static.igem.wiki/teams/4879/wiki/safety-2.jpg');
}

#img_3 {
    background-image: url('https://static.igem.wiki/teams/4879/wiki/safety-3.jpg');
}

/* footer */
footer a { color: white; font-weight: bold; text-decoration: none; }
footer a:hover { color: white; text-decoration: none; }
footer {
    display: flex;
    background-color:#1C2334;
    justify-content: center;
    height: fit-content;
    width: 100%;
    padding-bottom: 10px;
}
footer p {
    padding: 0;
    margin: 0%;
    padding-left: 30px;
}
.logos {
    height: 30vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: space-between;
}

.content p, .content li {
    color: #242424;
}

.sp {
    background-size: 100%;
    background-repeat: no-repeat;
    height: 150px;
    margin-top: 25px;
    width: 150px;
}

.consec.content_image {
    margin-bottom: 0%;
    margin-top: 0%;
}

.filter_1 {
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(289deg) brightness(104%) contrast(104%);
}

.filter_2 {
    filter: invert(100%) sepia(88%) saturate(1997%) hue-rotate(179deg) brightness(81%) contrast(98%);
}

#iiser {
    background-image: url('https://static.igem.wiki/teams/4879/wiki/asset-6.svg');
    transform: translateX(-80px);
}

#igem {
    background-image: url('https://static.igem.wiki/teams/4879/wiki/asset-9.svg');
    transform: translate(-10px,40px);
}

.sponsor {
    width: auto;
    margin-left: 100px;
    display: flex;
    flex-direction: row;
    transform: translate(-40px,50px);
}

#sponsors1, #sponsors2 {
    display: flex;
    transform: translate(6vw,10px);
}

#sponsors1 div, #sponsors2 div {
    height: 200px;
    width: 6vw;
    background-size: 100%;
    background-repeat: no-repeat;
    margin-left: 50px;
}

#sponsor1 {
    background-image: url('https://static.igem.wiki/teams/4879/wiki/asset-1.svg');
    transform: translate(0,30px);
}

#sponsor2 {
    background-image: url('https://static.igem.wiki/teams/4879/wiki/asset-3.svg');
    transform: translate(0,19px);
}

#sponsor3 {
    background-image: url('https://static.igem.wiki/teams/4879/wiki/asset-4.svg');
}

#sponsor4 {
    background-image: url('https://static.igem.wiki/teams/4879/wiki/asset-5.svg');
    transform: translate(0,10px);
}

#sponsor5 {
    background-image: url('https://static.igem.wiki/teams/4879/wiki/asset-7.svg');
    transform: translate(0,20px);
}

#sponsor6 {
    background-image: url('https://static.igem.wiki/teams/4879/wiki/asset-8.svg');
    transform: translateY(28px);
}

.progress_bar {
    height: 40vh;
    border-radius: 10px;
    position: fixed;
    width: 10px;
    top:20vh;
    left: 3.5vw;
    background-color: #cacaca;
    opacity: 1;
}

.progress-bar-fill {
    position:fixed;
    border-radius: 10px;
    width: 10px;
    background-color: #ffb320;
    opacity: 1;
    z-index: 7;
}

.pb_list {
    margin-bottom: 0%;
    padding-bottom: 0%;
}

h2 {
    padding-bottom: 1vh;
}

p {
    padding-bottom: 10px;
}

.content a {
    color: #0E61D1;
    text-decoration: none;
}

.scroll-to-top-button {
    display: none;
    position: fixed;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #1C2334;
    border: none;
    border-radius: 50%;
    font-size: 45px;
    bottom: 7vh;
    right: 2.5vw;
    cursor: pointer;
    outline: none;
}

.scroll-to-top-button img {
    transform: scale(1.25);
}

.filter_arrow {
    filter: invert(100%) sepia(100%) saturate(9%) hue-rotate(167deg) brightness(104%) contrast(104%);
}

.scroll-to-top-button:hover {
  background-color: #ffb320;
  transition: ease-in 0.1s;
}  

.scroll-to-top-button div {
    position: relative;
    transform: translate(0px,-7px);
    font-family: 'Raleway';
}

@media screen and (max-width:1400px) {
    #iiser {
        transform: translateX(10px);
    }

    #igem {
        transform: translate(25px,35px);
    }
}

@media screen and (max-width:1200px) {
    .sponsor {
        flex-direction: column;
        width: auto;
        transform: translateX(-50px);
    }

    #sponsors1,#sponsors2 {
        height: fit-content;
    }

    #sponsors1 div, #sponsors2 div {
        height: 100px;
        width: 10vw;
    }
    
    .big.content_image div img {
        width: 49vw;
        margin-left: 40px;
        margin-right: 40px;
    }
    
    .sm_reac.content_image div img {
        width: 80%;
        margin-left: 10%;
        margin-right: 10%;
    }
    
    
    .spsm_reac.content_image div img {
        width: 18vw;
    }
    
    .reac.content_image div img{
        width: 80%;
        margin-left: 10%;
        margin-right: 10%;
    }

    .sm.content_image  img {
        width: 40vw;
    }

    .note.content_image img {
        width: 25vw;
    }
    .content iframe {
        width: 100%;
        height: 50vh;
    }
}

@media screen and (max-width:850px) {
    .logos {
        height: 40vh;
    }

    #igem {
        transform: translate(-105px,125px);
    }

    #iiser {
        transform: translate(40px,-50px);
    }

    .sponsor {
        transform: translate(-120px,20px);
        margin: 0;
    }

    #sponsors1 div, #sponsors2 div {
        height: 130px;
        width: 13vw;
    }

    .aw_note {
        flex-direction: column;
    }

    .content {
        font-size: 1em;
    }

    .ihp-gallery {
        width: 100%;
    }
    .content iframe {
        width: 100%;
        height: 40vh;
    }

}

@media screen and (max-width:700px) {
    .logos {
        height: 25vh;
    }

    #igem {
        transform: translate(-55px,65px);
    }

    .sp {
        height: 100px;
        width: 100px;
    }

    #iiser {
        transform: translate(40px,-40px);
    }

    .sponsor {
        transform: translate(-120px,10px);
        margin: 0;
        transform: translateX(-50px);
    }

    #sponsors1 div, #sponsors2 div {
        height: 90px;
        width: 60px;
    }

    .big.content_image div img {
        width: 75vw;
    }

    .wide.content_image div img {
        width: 95%;
        margin-left: 2.5%;
        margin-right: 2.5%;
    }
    
    .sm_reac.content_image div img {
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
    }

    .note.content_image img {
        width: 45vw;
    }

    .sm.content_image  img {
        width: 60vw;
    }
    
    .spsm_reac.content_image div img {
        width: 21vw;
    }
    
    .reac.content_image div img{
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
    }
    .content iframe {
        width: 100%;
        height: 36vh;
    }
}

@media screen and (max-width:540px) {
    .logos {
        height: 22vh;
    }

    #igem {
        transform: translate(-65px,65px);
    }

    .sp {
        height: 80px;
        width: 80px;
    }

    #iiser {
        transform: translate(10px,-40px);
    }

    .sponsor {
        transform: translate(-120px,10px);
        margin: 0;
        transform: translateX(-50px);
    }

    #sponsors1 div, #sponsors2 div {
        height: 80px;
        width: 60px;
        margin: 5px;
    }

    .ihp-gallery {
        width: calc(100% + 80px);
        transform: translate(-40px);
    }

    .content {
        line-height: 26px;
    }
    .content iframe {
        width: 100%;
        height: 30vh;
    }

}

@media screen and (max-width:380px) {
    .sp {
        height: 80px;
        width: 80px;
    }

    #iiser {
        transform: translate(10px,-40px);
    }

    .sponsor {
        transform: translate(-120px,10px);
        margin: 0;
        transform: translateX(-50px);
    }

    #sponsors1 div, #sponsors2 div {
        height: 70px;
        width: 50px;
        margin: 2px;
    }

    .sm.content_image  img {
        width: 75vw;
    }
}