/* GENERAL */
:root {
    counter-reset: figures tables;
}
html, body { 
    overflow-x: hidden; 
}
body {
    font-family: "Poppins", sans-serif;
    /* font-family: "Open Sans", sans-serif; */
    color: #333333;
    background-color: #fff;
}
a {
    color: #47b2e4;
    text-decoration: none;
}
a:hover {
    color: #73c5eb;
    text-decoration: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Poppins", sans-serif;
    /* font-family: "Jost", sans-serif; */
}
tr.space-bottom > td {
    padding-bottom: 1em;
}
.teamlogo {
    max-width: 300px;
    height: auto;
}
.figure {
    max-width: 100%;
    min-width: 150px;
    height: auto;
}
.figure-h {
    max-width: 100%;
    width: auto;
}
.figure-md {
    max-width: 100%;
    min-width: 300px;
    height: auto;
}
.left-aligned { 
    margin-left: auto;
}
.animated {
    animation: up-down 2s ease-in-out infinite alternate-reverse both;
}
.shadowed {
    -webkit-filter: drop-shadow(5px 5px 5px #222222);
    filter: drop-shadow(5px 5px 5px #222222);
}
.shadowed-sm {
    -webkit-filter: drop-shadow(2px 2px 2px #222222);
    filter: drop-shadow(2px 2px 2px #222222);
}
.content-responsive {
    overflow-x: auto;
    overflow-y: hidden;
}
.table-centered {
    vertical-align: middle;
}
.left-justify {
    text-align: left; 
}
.right-justify {
    text-align: right; 
}
.center-justify {
    text-align: center; 
}
.full-justify {
    text-align: justify;
    text-justify: inter-word;
}
.float-left {
    float: left;    
    margin: 0 15px 0 0;
}
.float-right {
    float: right;    
    margin: 0 0 0 15px;
}
.fill { 
    min-height: 100%;
    height: 100%;
}
figure {
    text-align: center;
    padding: 5px;
    margin-bottom: 10px;
} 
figcaption {
    font-style: italic;
    text-align: center;
    color: #406a85;
    padding: 5px;
}
figcaption::before {
    counter-increment: figures;
    content: "Figure " counter(figures) ": ";
}
caption {
    caption-side: top;
    font-style: italic;
    text-align: center;
    color: #406a85;
    padding: 4px;
}
table caption::before {
    counter-increment: tables;
    content: "Table " counter(tables) ": ";
}
.carousel-fixed .carousel-item a>img {
    width: auto;
    height: 500px;
    max-height: 500px;
}
@media (max-width: 991px) {
    .carousel-fixed .carousel-item a>img {
        width: auto;
        height: 200px;
        max-height: 200px;
    }
}

/* PRELOADER */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    background: #37517e;
}
#preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid #37517e;
    border-top-color: #fff;
    border-bottom-color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    -webkit-animation: animate-preloader 1s linear infinite;
    animation: animate-preloader 1s linear infinite;
}

/* HEADER */
#header {
    transition: all 0.5s;
    z-index: 997;
    padding: 20px 0;
}
#header.header-scrolled,
#header.header-inner-pages {
    background: rgba(9, 32, 61, 0.9);
    padding: 12px 0;
}
#header .logo {
    font-size: 30px;
    margin: 0;
    padding: 0;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}
#header .logo a {
    color: #fff;
}
#header .logo img {
    max-height: 40px;
}

/* NAVBAR */
.navbar {
    padding: 0;
}
.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
}
.navbar li {
    position: relative;
}
.navbar a,
.navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0 10px 30px;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    transition: 0.3s;
}
.navbar a i,
.navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
}
.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
    color: #47b2e4;
}
.navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 14px;
    top: calc(100% + 30px);
    margin: 0;
    padding: 10px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: #e7eff8;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    transition: 0.3s;
    border-radius: 4px;
}
.navbar .dropdown ul li {
    min-width: 200px;
}
.navbar .dropdown ul a {
    padding: 10px 20px;
    font-size: 14px;
    text-transform: none;
    font-weight: 500;
    color: #0c3c53;
}
.navbar .dropdown ul a i {
    font-size: 12px;
}
.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
    color: #47b2e4;
}
.navbar .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
}
.navbar .dropdown .dropdown ul {
    top: 0;
    left: calc(100% - 30px);
    visibility: hidden;
}
.navbar .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible;
}
.navbar .goto {
    padding: 8px 20px;
    margin-left: 30px;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    border: 2px solid #47b2e4;
    font-weight: 600;
}
.navbar .goto:hover {
    color: #2a90bf;
}

#header .awards {
    padding: 8px 20px;
    margin-left: 30px;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    border: 2px solid #f3ea7a;
    font-weight: 600;
}
#header .awards i {
    line-height: 0;
    color: #ded123;
    font-size: 26px;
    transition: 0.3s;
    margin-right: 8px;
}
#header .awards span {
    color: #fff;
    transition: 0.3s;
    margin-right: auto;
}
#header .awards:hover {
    color: #ded123;
}
#header .awards:hover span {
    color: #ded123;
}
#header .awards:hover i {
    color: #ded123;
}

@media (max-width: 1366px) {
    .navbar .dropdown .dropdown ul {
        left: -90%;
    }
    .navbar .dropdown .dropdown:hover>ul {
        left: -100%;
    }
}

/* NAVBAR-MOBILE */
.mobile-nav-toggle {
    color: #e7eff8;
    font-size: 28px;
    cursor: pointer;
    display: none;
    line-height: 0;
    transition: 0.5s;
}
.mobile-nav-toggle .bi-x {
    color: #e7eff8;
}
@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: block;
    }
    .navbar ul {
        display: none;
    }
}
.navbar-mobile {
    position: fixed;
    overflow: hidden;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(40, 58, 90, 0.9);
    transition: 0.3s;
    z-index: 999;
}
.navbar-mobile .mobile-nav-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
}
.navbar-mobile ul {
    display: block;
    position: absolute;
    top: 55px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    padding: 10px 0;
    border-radius: 10px;
    background-color: #e7eff8;
    overflow-y: auto;
    transition: 0.3s;
}
.navbar-mobile a,
.navbar-mobile a:focus {    
    padding: 10px 20px;
    font-size: 15px;
    color: #37517e;
}
.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
    color: #47b2e4;
}
.navbar-mobile .getstarted {
    margin: 15px;
    color: #37517e;
}
.navbar-mobile .dropdown ul {
    position: static;
    display: none;
    margin: 10px 20px;
    padding: 10px 0;
    z-index: 99;
    opacity: 1;
    visibility: visible;
    background: #e7eff8;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}
.navbar-mobile .dropdown ul li {
    min-width: 200px;
}
.navbar-mobile .dropdown ul a {
    padding: 10px 20px;
}
.navbar-mobile .dropdown ul a i {
    font-size: 12px;
}
.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
    color: #47b2e4;
}
.navbar-mobile .dropdown>.dropdown-active {
    display: block;
}
.navbar-mobile .goto {
    margin: 15px;
    color: #37517e;
}
#header .navbar-mobile .awards {
    margin: 15px;
}
#header .navbar-mobile .awards span {
    color: #37517e;
}


/* SECTION */
section {
    padding: 60px 0;
    overflow: hidden;
}
.section-bg {
    background-color: #f3f5fa;
}
.section-bg-gradient {
    background: linear-gradient(-46deg, #f3f5fa, #b6d0f3, #f3f5fa);
    background-size: 400% 400%;
    animation: pattern-gradient 15s ease infinite;
}
.card-quote {
    background: #f2f4f3db;
    border-width: 2px;
}
.card-quote-text {
    color: #f2f4f3;
    font-size: 32px;
    -webkit-filter: drop-shadow(3px 3px 2px #222222);
    filter: drop-shadow(3px 3px 2px #222222);
}
.card-quote-transp {
    background: none;
    border-width: 0px;
}
@keyframes pattern-gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
.section-bg-image-dna {
    background-image: linear-gradient( rgb(255,255,255,0.99), rgba(255,255,255,0.01), rgb(255,255,255,0.99)), url("https://static.igem.wiki/teams/4170/wiki/home/background-horizontal.jpg");    
    background-size: 180%;
    animation: image-gradient 40s ease-in-out infinite;
}
@media (max-width: 992px) {
    .section-bg-image-dna {
        background-image: linear-gradient( rgb(255,255,255,0.99), rgba(255,255,255,0.01), rgb(255,255,255,0.99)), url("https://static.igem.wiki/teams/4170/wiki/home/background-vertical.jpg");    
        background-size: 220%;
        animation: image-gradient 30s ease-in-out infinite;
    }
}
@keyframes image-gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
.section-bg-image-grid {
    background-image: linear-gradient( rgb(255,255,255,1), rgba(255,255,255,0.5), rgb(255,255,255,0.1)), url("https://static.igem.wiki/teams/4170/wiki/home/grid-horizontal.jpg");    
    background-size: cover;
}
@media (max-width: 992px) {
    .section-bg-image-grid {
        background-image: linear-gradient( rgb(255,255,255,1), rgba(255,255,255,0.5), rgb(255,255,255,0.1)), url("https://static.igem.wiki/teams/4170/wiki/home/grid-vertical.jpg");    
        background-size: cover;
    }
}
.section-title {
    text-align: center;
    padding-bottom: 30px;
}
.section-title h2 {
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
    color: #37517e;
}
.section-title h2::before {
    content: '';
    position: absolute;
    display: block;
    width: 120px;
    height: 1px;
    background: #ddd;
    bottom: 1px;
    left: calc(50% - 60px);
}
.section-title h2::after {
    content: '';
    position: absolute;
    display: block;
    width: 40px;
    height: 3px;
    background: #47b2e4;
    bottom: 0;
    left: calc(50% - 20px);
}
.section-title p {
    margin-bottom: 0;
}

/* TEAM */
.team .member {
    position: relative;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border-radius: 5px;
    background: #fff;
    transition: 0.5s;
}
.team .member .pic {
    overflow: hidden;
    width: 180px;
    border-radius: 50%;
}
.team .member .pic img {
    transition: ease-in-out 0.3s;
}
.team .member:hover {
    transform: translateY(-10px);
}
.team .member .member-info {
    padding-left: 30px;
}
.team .member h4 {
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 20px;
    color: #37517e;
}
.team .member span {
    display: block;
    font-size: 15px;
    padding-bottom: 10px;
    position: relative;
    font-weight: 500;
}
.team .member span::after {
    content: '';
    position: absolute;
    display: block;
    width: 50px;
    height: 1px;
    background: #cbd6e9;
    bottom: 0;
    left: 0;
}
.team .member p {
    margin: 10px 0 0 0;
    font-size: 14px;
}
.team .member .social {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.team .member .social a {
    transition: ease-in-out 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    width: 32px;
    height: 32px;
    background: #eff2f8;
}
.team .member .social a i {
    color: #37517e;
    font-size: 16px;
    margin: 0 2px;
}
.team .member .social a:hover {
    background: #47b2e4;
}
.team .member .social a:hover i {
    color: #fff;
}
.team .member .social a+a {
    margin-left: 8px;
}
.team #team-filters {
    list-style: none;
    margin-bottom: 20px;
}
.team #team-filters li {
    cursor: pointer;
    display: inline-block;
    margin: 10px 5px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    color: #444444;
    transition: all 0.3s;
    padding: 8px 20px;
    border-radius: 50px;
    font-family: "Poppins", sans-serif;
}
.team #team-filters li:hover,
.team #team-filters li.filter-active {
    background: #47b2e4;
    color: #fff;
}

@media (max-width: 992px) {
    .team .member .pic {
        width: 90px;
    }
    .team .team-filter {
        scale: 0.6;
    }
}

/* KEYFRAMES */
@-webkit-keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@-webkit-keyframes up-down {
    0% {
        transform: translateY(10px);
    }
    100% {
        transform: translateY(-10px);
    }
}
@keyframes up-down {
    0% {
        transform: translateY(10px);
    }
    100% {
        transform: translateY(-10px);
    }
}
@-webkit-keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* 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 {
    font-size: 14px;
    background: #0e2c52;
}
#footer .logo img {
    max-width: 300px;
    height: auto;
}
#footer .sponsor img {
    filter: grayscale(1);
    -webkit-filter: grayscale(1);
}
#footer .sponsor img:hover {
    filter: none;
    -webkit-filter: grayscale(0);
}
#footer .sponsor-img {
    max-width: 300px;
    width: auto;
}
#footer .footer-top {
    padding: 60px 0 30px 0;
    background: #b6d0f3;
}
#footer .footer-top .footer-contact {
    margin-bottom: 30px;
}
#footer .footer-top .footer-contact h3 {
    font-size: 28px;
    margin: 0 0 10px 0;
    padding: 2px 0 2px 0;
    line-height: 1;
    text-transform: uppercase;
    font-weight: 600;
    color: #406a85;
}
#footer .footer-top .footer-contact p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 0;
    /* font-family: "Jost", sans-serif; */
    font-family: "Poppins", sans-serif;
    color: #2a4353;
}
#footer .footer-top h4 {
    font-size: 16px;
    font-weight: bold;
    color: #406a85;
    position: relative;
    padding-bottom: 12px;
}
#footer .footer-top .footer-info p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 0;
    /* font-family: "Jost", sans-serif; */
    font-family: "Poppins", sans-serif;
    color: #2a4353;
}
#footer .footer-top .footer-links {
    margin-bottom: 30px;
}
#footer .footer-top .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
#footer .footer-top .footer-links ul i {
    padding-right: 2px;
    color: #47b2e4;
    font-size: 18px;
    line-height: 1;
}
#footer .footer-top .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}
#footer .footer-top .footer-links ul li:first-child {
    padding-top: 0;
}
#footer .footer-top .footer-links ul a {
    color: #2a4353;
    transition: 0.3s;
    display: inline-block;
    line-height: 1;
}
#footer .footer-top .footer-links ul a:hover {
    text-decoration: none;
    color: #47b2e4;
}
#footer .footer-top .social-links a {
    font-size: 18px;
    display: inline-block;
    background: #47b2e4;
    color: #fff;
    line-height: 1;
    padding: 8px 0;
    margin-right: 4px;
    border-radius: 50%;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
}
#footer .footer-top .social-links a:hover {
    background: #209dd8;
    color: #fff;
    text-decoration: none;
}
#footer .footer-bottom {
    padding-top: 30px;
    padding-bottom: 30px;
    color: #e7eff8;
}
#footer .copyright {
    float: center;
}
#footer .credits {
    float: right;
    padding-left: .5rem;
    font-size: 13px;
}
#footer .credits a {
    transition: 0.3s;
}
@media (max-width: 768px) {
    #footer .footer-bottom {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    #footer .copyright,
    #footer .credits {
        text-align: center;
        float: none;
    }
    #footer .credits {
        padding-top: 4px;
    }
}

/* FORMS */
.login-form {
    width: 340px;
    margin: 50px auto;
  	font-size: 15px;
}
.login-form form {
    margin-bottom: 15px;
    background: #d8e7fa;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    padding: 30px;
    text-shadow: none;
}
.register-form {
    width: 540px;
    margin: 50px auto;
  	font-size: 15px;
}
.register-form form {
    margin-bottom: 15px;
    background: #d8e7fa;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    padding: 30px;
    text-shadow: none;
}
.btn-outline {
    background: #47b2e4;
    color: #fff;
}
.btn-outline:hover {
    background: #209dd8;
    color: #fff;
}
.accordion-custom {
    color: #37517e;
}
.accordion-custom .accordion-item {
    border-color: #37517e;
}
.accordion-custom .accordion-item .accordion-header .accordion-button {
    background-color: #37517e;
    color: #fff;
}
.accordion-custom .accordion-item .accordion-header .accordion-button.collapsed {
    background-color: #37517e;
    color: #fff;
}
.accordion-custom .accordion-item .accordion-header .accordion-button:focus {
    box-shadow: none;
}
.accordion-custom .accordion-item .accordion-header .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.accordion-custom .accordion-item .accordion-header .accordion-button.collapsed::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* BOOTSTRAP OVERRIDE */
.btn-outline-info:hover{
    color: #fff !important;
}
