/* general layouts */

body {
    padding-top: 56px;
}
.left-aligned {
    margin-left: auto;
}
.bg-dark {
    background-color: #003060 !important;
}
.bg-hero {
    background-color: #76b947;
}

.no-padding {
    padding-left: 0;
    padding-right: 0;
}

/* CALLOUT */
.bd-callout {
    padding: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid #e9ecef;
    border-left-width: 0.25rem;
    border-radius: 0.25rem;
}
.bd-callout h4 {
    margin-bottom: 0.25rem;
}
.bd-callout p:last-child {
    margin-bottom: 0;
}
.bd-callout code {
    border-radius: 0.25rem;
}
.bd-callout + .bd-callout {
    margin-top: -0.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;
    text-decoration: none;
}
footer a:hover {
    color: #b1d8b7;
    text-decoration: underline;
}

/***** customized for genehackers *****/
/* logo */
.logo_principal {
    width: 50%;
    height: auto;
}

.logo_small {
    width: 200px;
    height: auto;
}

.banner {
    align-items: center;
    justify-content: center;
}

/* elements */
.nav-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 230px;
    height: 230px;
    border-top-right-radius: 30px;
    border-bottom-left-radius: 30px;
    transition: all 0.3s ease;
}

.photo-container {
    border-top-right-radius: 30px;
    border-bottom-left-radius: 30px;
    padding: 10px;
}

.nav-button:hover {
    transform: scale(1.15);
}

.gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    width: 200px;
}

.navigation a {
    color: white;
    text-decoration: none;
}
.navigation a:hover {
    color: #14434c;
    text-decoration: underline;
}

table {
    margin-left: auto;
    margin-right: auto;
    border-collapse: collapse;
    justify-content: center;
    align-items: center;
    width: 80%;
}

.in-text-link {
    color: #14434c;
}

.in-text-link:hover {
    color: #3ca5c2;
}

/* video */
.video-wrapper {
    display: block;
    overflow: hidden;
    top: 0;
    left: 0;
    width: 80%;
    margin: auto;
    height: 100%;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 750px;
    overflow: hidden;
    z-index: -1;
}

.video-background iframe {
    position: absolute;
    top: 0;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%);
}

/* color and font */
.footer {
    background-color: #2f5233;
    color: #fff;
    padding: 20px;
}

.navbar {
    font-family: "Baskerville", Helvetica;
}

.page-title {
    font-family: "Baskerville", Helvetica;
    background-size: cover;
    background-position: center;
    padding: 20px;
    text-align: center;
}

.lead {
    font-family: "Garamond";
    text-align: center;
    font-size: 120%;
}

footer {
    font-family: "Baskerville", Helvetica;
}

.bg-blue-green {
    background-color: #0b814a;
}

.bg-blue {
    background-color: #3ca5c2;
}

.bg-light-green {
    background-color: #62d0c0;
}

.bg-navy {
    background-color: rgba(0, 48, 96, 0.5);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Caslon", "Baskerville" !important;
    scroll-margin-top: 100px;
}

h1,
h2,
h3 {
    text-align: center;
}

/*
p {
    font-family: "Garamond";
}
*/

#anchor {
    scroll-margin-top: 100px;
}

/* styling for henry's template */
.section-link,
.section-link:hover,
.section-link:focus,
.section-link:active {
    padding-top: 60px;
    margin-top: -60px;
    text-decoration: none;
    color: #4b4444;
}

.page_right {
    overflow: hidden;
}

.sidebar {
    top: 100px;
    width: 90%;
    font-size: 1.2rem;
    border-radius: 20px;
    position: sticky;
    overflow: hidden;
    padding: 10px;
    word-wrap: break-word;
}

.sidebar a {
    color: #2f5233;
    text-decoration: none;
}

.sidebar a:hover {
    color: #3ca5c2;
    cursor: pointer;
}

.sidebar li {
    list-style: bullet;
    padding: 4px;
}

/* end of side nav */

/* main content */
.main-content {
    padding: 20px;
}

.main-content h2 {
    scroll-margin-top: 100px;
}

.container {
    font-family: "Caslon", "Baskerville", Garamond, Helvetica;
    font-size: larger;
}

/* scroll to top button */
#scroll-top {
    opacity: 0;
    display: block;
    position: fixed;
    bottom: 20px;
    right: 5px;
    border: none;
    background: none;
}

#scroll-top:hover {
    opacity: 1;
    animation: hop 1.5s ease-in-out;
}

@keyframes hop {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.banner {
    /* background styles */
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner h1 {
    /* remove absolute positioning */
    text-align: center;
}

.footerlinks {
    display: flex;
    align-items: center;
    list-style-type: none;
}

.footerlinks {
    display: flex;
    align-items: center;
}

.link .tooltip {
    position: absolute;
    left: -35px;
    top: -24px;
    display: block;
    width: 120px;
    height: 32px;
    background-color: #0e86d4;
    opacity: 0;
    visibility: hidden;
    z-index: 2;
    color: white;
    transition: all 0.3s ease;
    border-radius: 4px;
    text-align: center;
    line-height: 32px;
}

.link .tooltip::after {
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    float: left;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 0 10px;
    border-color: #003060 transparent transparent transparent;
    content: "";
    clear: both;
    display: block;
}

.link:hover .tooltip {
    top: -36px;
    opacity: 0;
    visibility: visible;
}

/* figures with captions */

.figure-img {
    float: right;
    padding: 0 2rem 0 2rem;
}

.figure-img img {
    width: 20vw;
    height: auto;
}

.figure-img figcaption {
    font-style: italic;
    font-size: 13px;
    position: relative;
    padding-top: 0.5rem;
    bottom: 0;
    right: 0;
    text-align: center;
}
.caption-ctr {
    font-style: italic;
    font-size: 13px;
    position: relative;
    bottom: 0;
    right: 0;
    text-align: center;
}

/* centered figure */

.figure-img-ctr {
    padding: 0 2rem 0 2rem;
    text-align: center;
    scroll-margin-top: 100px;
}

.figure-img-ctr-big {
    padding: 0 2rem 0 2rem;
    text-align: center;
    scroll-margin-top: 100px;
}

.figure-img-ctr img {
    width: 60%;
    vertical-align: middle;
    height: auto;
}

.figure-img-ctr-big img {
    width: 80%;
    vertical-align: middle;
    height: auto;
}

.figure-img-ctr figcaption {
    font-style: italic;
    font-size: 13px;
    position: relative;
    padding-top: 0.5rem;
    bottom: 0;
    right: 0;
    text-align: center;
}

.figure-img-ctr-big figcaption {
    font-style: italic;
    font-size: 13px;
    position: relative;
    padding-top: 0.5rem;
    bottom: 0;
    right: 0;
    text-align: center;
}

.figure-img-two {
    text-align: center;
    scroll-margin-top: 100px;
    padding: 0 2rem 0 2rem;
}

.figure-img-two img {
    width: 49%;
    vertical-align: middle;
    height: auto;
}

.figure-img-two figcaption {
    font-style: italic;
    font-size: 13px;
    position: relative;
    padding-top: 0.5rem;
    bottom: 0;
    right: 0;
    text-align: center;
}

.figure-img-two div {
    display: inline-block;
    vertical-align: middle;
    width: 100%;
    padding: 0;
}

/* end of figures with captions */

/* footer */

.footer-top .socials {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-template-columns: repeat(3, auto);
    grid-gap: 15px;
}

.footer-top .socials .links {
    position: relative;
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border-radius: 50%;
}

.container .text-header {
    font-size: 24px;
    text-align: center;
    padding: 0;
}

.footer-top .socials .link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.footer-top .socials .link-icon {
    display: block;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 32px 32px;
}

.ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.p {
    margin: 0;
}

.text-center {
    text-align: center;
}

.link .tooltip {
    position: absolute;
    left: -30px;
    top: -24px;
    display: block;
    width: 120px;
    height: 32px;
    background-color: rgba(0, 0, 0, 0.85);
    opacity: 0;
    visibility: hidden;
    z-index: 2;
    color: white;
    transition: all 0.3s ease;
    border-radius: 4px;
    text-align: center;
    line-height: 32px;
}

.link .tooltip::after {
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    float: left;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 0 10px;
    border-color: rgba(0, 0, 0, 0.95) transparent transparent transparent;
    content: "";
    clear: both;
    display: block;
}

.link:hover .tooltip {
    top: -36px;
    opacity: 1;
    visibility: visible;
}

.light_green_section {
    background-color: rgba(148, 201, 115, 0.3);
    border-radius: 20px;
    padding: 20px;
    padding-bottom: 10px;
    margin: 20px;
    margin-top: 0px;
}

.mid_green_section {
    background-color: #80ba94;
    border-radius: 20px;
    padding: 20px;
    padding-bottom: 10px;
    margin: 20px;
    margin-top: 0px;
}

.dark_green_section {
    background-color: #085e54;
    border-radius: 20px;
    padding: 20px;
    padding-bottom: 10px;
    margin: 20px;
    margin-top: 0px;
}

.blue_green_section {
    background-color: rgba(33, 182, 168, 0.3);
    border-radius: 20px;
    padding: 20px;
    padding-bottom: 10px;
    margin: 20px;
    margin-top: 0px;
}

.light_blue_section {
    background-color: #b7cfe3;
    border-radius: 20px;
    padding: 20px;
    padding-bottom: 10px;
    margin: 20px;
    margin-top: 0px;
}

.mid_blue_section {
    background-color: rgba(14, 134, 212, 0.3);
    border-radius: 20px;
    padding: 20px;
    padding-bottom: 10px;
    margin: 20px;
    margin-top: 0px;
}

.navy_section {
    background-color: rgba(0, 48, 96, 0.3);
    border-radius: 20px;
    padding: 20px;
    padding-bottom: 10px;
    margin: 20px;
    margin-top: 0px;
}

.iframe-wrapper {
    border-radius: 10px;
    overflow: hidden;
}

.protocol_iframe {
    width: 100%;
    height: 60vh;
    margin-bottom: 20px;
    border: none;
}

.references {
    background-color: #f2f2f2;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    margin: 20px;
}

.references_ol {
    list-style-type: none;
    counter-reset: bracketed-counter;
}

.references_ol li::before {
    content: "[" counter(bracketed-counter) "]";
    counter-increment: bracketed-counter;
    margin-right: 0.5em;
}
