/* Colors
Dark Navy - #0d1c3c
Primary Blue - #1e6fd6
Medium Blue - #d2e2f7
Secondary Link Blue - #194f93
Light Blue - #e7f2ff
Light Blue-Gray - #f2f5f8
Medium Gray - #707070
Light Gray - #cfd2d8
Pink - #ffcfdd
Light Pink - #ffebf1
Gold - #ffb73d
Light Gold - #fff3c1
Success Green - #04c585
Success Light Green - #e3fcf3
Error Red - #d63e04
Error Light Red - #fdeae2  */

/* Gradients
Blue to Pink - #e8f0fa - #f3eef6 - #ffebf1
Blue to White - #e8f0fa - #ffffff
Dark Navy Shade - #24314e - #0d1c3c  */

/* ~~~~~~~~~~~~~~~~~~~~~ TYPOGRAPHY ~~~~~~~~~~~~~~~~~~~ */
h1,
.h1 {
    font-size: 30px;
    font-weight: 500;
    line-height: 35px;
    letter-spacing: -0.6px;
    margin: 0.5em 0;
}
h2,
.h2 {
    font-size: 26px;
    font-weight: 500;
    line-height: 42px;
    letter-spacing: -0.4px;
}

/* Special Links */
.intro-section a,
.tiles-footer a {
    padding: 6px 8px;
}
.intro-section a:hover,
.tiles-footer a:hover {
    text-decoration: none;
}
.intro-section .link-icon,
.tiles-footer .link-icon {
    fill: #20558a;
    width: 1em;
    height: 1em;
    display: inline-block;
    font-size: 1.5rem;
}

/* ~~~~~~~~~~~~~~~~~~~~~ TILES ~~~~~~~~~~~~~~~~~~~ */
.flex-tiles {
    display: flex;
    flex-wrap: wrap;
    width: calc(100% + 16px);
    margin: -8px;
}
.flex-tiles .tiles {
    padding: 12px;
    font-weight: normal;
}
.flex-tiles a.tiles:hover {
    text-decoration: none;
    top: -5px;
}
.flex-tiles .tiles-container {
    width: 100%;
    height: 100%;
    position: relative;
    min-width: 100px;
    min-height: 250px;
    overflow: hidden;
    box-shadow: 0 1px 18px 0 rgb(13 28 60 / 0.1);
    border-radius: 4px;
    background-color: #fff;
    display: flex;
}
.flex-tiles.no-min-height .tiles-container {
    min-height: 0px;
}
.tiles-container .tiles-content {
    flex: 1 1 0;
}
.flex-tiles .tiles-title {
    font-weight: bold;
    font-size: 20px;
    letter-spacing: 0.47px;
}
.flex-tiles .tiles-footer {
    margin: 0px 16px;
    padding: 16px 0px;
    border-top: 1px solid #e0e0e0;
    width: calc(100% - 32px);
    display: block;
}
@media only screen and (max-width: 400px) {
    .flex-tiles {
        width: 100%;
        margin: 0;
    }
}

/* ~~~~~ ICON CARDS ~~~~~ */
.flex-tiles.icon-card .tiles-container {
    display: flex;
    padding: 24px;
    align-items: flex-start;
}
.flex-tiles.icon-card .tiles-img {
    width: 100%;
    max-width: 76px;
}
.flex-tiles.icon-card .tiles-content {
    height: 100%;
    flex-grow: 1;
    margin-left: 24px;
}
.flex-tiles.icon-card .tiles-title {
    line-height: 32px;
    margin: 0 0 8px;
}
.flex-tiles.icon-card p {
    margin: 0;
}

/* ~~~~~ IMAGE CARDS ~~~~~ */
.flex-tiles.image-card .tiles-container {
    flex-direction: column;
}
.flex-tiles.image-card .tiles-content {
    padding: 16px 16px 24px;
}
.flex-tiles.image-card .tiles-img {
    display: block;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 146px;
}
.flex-tiles.image-card .tiles-title {
    line-height: 38px;
    margin: 0 0 0.35em;
    font-family: bodyFont, Helvetica, Arial, sans-serif;
}

/* ~~~~~~~~~~~~~~~~~~~~~ HOMEPAGE ~~~~~~~~~~~~~~~~~~~ */
.page-key.home .page-header,
.page-key.home .breadcrumb {
    display: none;
}

/* ~~~~~ HERO ~~~~~ */
.homepage-hero .container-fluid {
    height: 400px;
    padding-bottom: 100px;
    padding-top: 50px;
    display: flex;
    background-repeat: no-repeat;
    background-image:
        url("../img/hero-image-mobile.0c17d22c77b6.png"), url("../img/researchers-2-diamond-bg.e9f9a1fd8db2.png"),
        linear-gradient(315deg, #ffebf1 0%, #f3eef6 51%, #e8f0fa 100%);
    background-size:
        auto 100%,
        auto 45%;
    background-position:
        top right,
        top left;
}
.homepage-hero .text-section {
    width: 100%;
    margin-top: 16px;
    overflow-wrap: anywhere;
}
.homepage-hero .subtitle {
    font-size: 22px;
    font-family: headerFont, Helvetica, Arial, sans-serif;
    font-weight: 500;
    line-height: 36px;
    letter-spacing: -0.47px;
}
.homepage-hero fieldset {
    display: flex;
    padding: 8px;
    max-height: 60px;
}
.homepage-hero fieldset svg {
    max-height: 44px;
}
.homepage-hero fieldset input {
    flex: 1 1 0;
}
@media only screen and (min-width: 600px) {
    .homepage-hero .container-fluid {
        height: 500px;
        align-items: center;
    }
    .homepage-hero .subtitle {
        font-size: 45px;
        line-height: 50px;
        letter-spacing: -0.5px;
    }
    .homepage-hero .text-section {
        margin: 0 auto;
        width: 78%;
    }
}
@media only screen and (min-width: 1000px) {
    .homepage-hero .container-fluid {
        height: 800px;
        background-image:
            url("../img/hero-image-desktop.83d7490aaab8.png"), url("../img/researchers-2-diamond-bg.e9f9a1fd8db2.png"),
            linear-gradient(315deg, #ffebf1 0%, #f3eef6 51%, #e8f0fa 100%);
    }
    .homepage-hero .text-section {
        width: 65%;
        margin-left: 6%;
    }
}
@media only screen and (min-width: 1220px) {
    .homepage-hero .subtitle {
        font-size: 62px;
        line-height: 74px;
        letter-spacing: -0.6px;
    }
}
@media only screen and (max-width: 600px) {
    .homepage-hero .container-fluid {
        background-size:
            auto 45%,
            cover;
        background-image:
            url("../img/researchers-2-diamond-bg.e9f9a1fd8db2.png"),
            linear-gradient(315deg, #ffebf1 0%, #f3eef6 51%, #e8f0fa 100%);
        background-repeat: no-repeat;
        background-position: top left;
        padding-bottom: 20px;
        height: auto;
    }
}

/* ~~~~~ INTRO/MAIN SECTION ~~~~~ */
.bioshare-home #main {
    background:
        url("../img/soft-diamond-background-long.31991916c94c.svg") no-repeat bottom center,
        linear-gradient(rgb(255 255 255 / 0), #f0f5fb);
}
.intro-section {
    text-align: center;
    padding-top: 50px;
}
.intro-section .intro-container .intro-padding {
    color: #0d1c3c;
    width: 100%;
    margin: 0 auto;
    padding: 16px 24px 32px;
}
.intro-section p {
    font-size: 20px;
    font-weight: 400;
    line-height: 38px;
    letter-spacing: 0.47px;
}
@media only screen and (min-width: 880px) {
    .intro-section {
        padding: 0 0 88px;
    }
    .intro-section .intro-container {
        width: 76%;
        top: -32px;
        margin: 0 auto -32px;
        position: relative;
        box-shadow: 0 1px 18px 0 rgb(13 28 60 / 0.1);
        border-radius: 4px;
        background-color: #fff;
    }
    .intro-section .intro-container .intro-padding {
        width: 80%;
        padding: 32px 0px;
    }
}
@media only screen and (min-width: 960px) {
    .intro-section .intro-container {
        top: -64px;
        margin: 0 auto -64px;
    }
    .intro-section .intro-container .intro-padding {
        padding: 48px 0px;
    }
}
@media only screen and (max-width: 400px) {
    .intro-section p {
        font-size: inherit;
        line-height: inherit;
    }
}

/* ~~~~~ Cards Section ~~~~~ */
.cards-section .flex-tiles {
    margin-top: 48px;
}

/* ~~~~~ Researches Section ~~~~~ */
#researchers-requests {
    background-image: url("../img/researchers-2.eecffa31bf30.jpg");
}

#researchers-search {
    background-image: url("../img/researchers-1.54ac81a315fb.jpg");
}

#researchers-contact {
    background-image: url("../img/researchers-3.7f1d054102dc.jpg");
}

/* ~~~~~~~~~~~~~~~~~~~~~ MAIN BODY ~~~~~~~~~~~~~~~~~~~ */
#main {
    background-color: transparent;
    min-height: calc(100vh - 190px);
    background: url("../img/soft-diamond-background-short.737ebd0b.cb6d0332aae3.svg") no-repeat bottom center;
    background-position: 100% 100%;
    background-repeat: no-repeat;
    background-size: 90%;
    padding-bottom: 110px;
}
@media only screen and (min-width: 960px) {
    #main {
        background-size: 50%;
        padding-bottom: 240px;
    }
}

/* ~~~~~~~~~~~~~~~~~~~~~ FOOTER ~~~~~~~~~~~~~~~~~~~ */
footer {
    margin: 0;
}

.footer-column a {
    overflow-wrap: anywhere;
}
