﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

:root {
    --green: #28caa7;
    --light-blue: #2d3d70;
    --blue: #0d175f;
    --white-highlight: #e0d7d7;
    --footer-green: #2cc69b;
    --dark-green: #13a485;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
    height: 100%;
}

@media (min-width: 576px) {
    .footer-padding {
        padding-bottom: 14em;
    }
}

@media (min-width: 768px) {
    .footer-padding {
        padding-bottom: 9em;
    }
}

@media (min-width: 992px) {
    .footer-padding {
        padding-bottom: 6em;
    }
}

.full-height {
    height: 95%;
}

header {
    background-color: #54d4ff;
}

.vh-50 {
    height: 50vh;
}

.background-icon {
    position: relative;
}

    .background-icon:before {
        content: "\25AE"; /* this is your text. You can also use UTF-8 character codes as I do here */
        font-family: FontAwesome;
        left: -5px;
        position: absolute;
        top: 0;
    }

.cert-card {
    cursor: pointer;
    transition: 0.3s ease-in;
}

    .cert-card:hover {
        transform: scale(1.02);
        background: #e7e7e7;
    }

.footer-logo {
    height: 1.4rem;
    transform: translateY(-0.25rem);
}

#top-link {
    position: fixed;
    right: 0;
    top: 80vh;
    z-index: 9999;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

#map {
    height: 400px;
    width: 100%;
}

.grid-card:hover {
    background-color: #f8f7f7;
    transform: scale(101%);
    transition: background-color 0.3s ease-in, transform 0.3s linear;
}

.grid-card.inactive:hover {
    transform: none;
    background-color: inherit;
    transition: none;
}

.link-card {
    color: inherit;
    text-decoration: inherit;
}


    .link-card:link {
        text-decoration: none;
    }

    .link-card:visited {
        text-decoration: none;
    }

    .link-card:hover {
        color: inherit;
        text-decoration: none;
    }

    .link-card:active {
        text-decoration: none;
    }

.link-card-underlined {
    color: #0366d6;
}

    .link-card-underlined:hover {
        color: #0366d6;
        text-decoration: underline;
    }

.unstyled-button {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
}

.markdown-preview {
    min-height: 3rem;
}

.ql-editor {
    min-height: 4em;
}

.mw-30 {
    max-width: 30%;
}

.card-text-overflow-20 {
    max-height: 20em;
    overflow: hidden;
    white-space: pre-line;
    text-overflow: ellipsis;
}

.card-text-overflow-10 {
    max-height: 10em;
    overflow: hidden;
    white-space: pre-line;
    text-overflow: ellipsis;
}

.padding-bottom-large {
    padding-bottom: 4em;
}

.site-title {
    text-transform: uppercase;
    font-weight: 800;
    color: white;
    font-size: 17px;
}

header {
    background-color: #0d175f;
    color: white;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
}

    .navbar-brand > img:first-child {
        flex-shrink: 0;
    }

a.navbar-brand {
    word-break: break-word;
    color: white;
}

    a.navbar-brand:hover {
        color: #e7dcdc;
    }

.top-nav a {
    color: white;
}

    .top-nav a:hover {
        color: #e7dcdc;
    }

.navbar-nav .nav-item .nav-link {
    text-transform: uppercase;
}

footer {
    background-image: url('/img/footer_small_image.png');
    background-repeat: no-repeat;
    background-position: center;
    background-color: #0e1952;
    background-size: cover;
    color: white;
    min-height: 20vh;
    display: flex;
    flex-direction: column;
    padding-top: 1em;
    padding-bottom: 0.3em;
}

    footer h6 {
        color: var(--footer-green);
        text-align: center;
    }

.footer-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

    .footer-row:last-of-type {
        justify-content: space-around;
    }

    .footer-row > :not(:last-child) {
        margin-bottom: 0.8em;
    }

    .footer-row:first-child > :last-child {
        margin-bottom: 1.5em;
    }

    .footer-row:last-of-type > :last-child {
        margin-bottom: 0;
    }

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .footer-column > h6 {
        font-weight: 900;
        text-align: center;
    }

.half-underline {
    position: relative;
    display: inline-block;
}

    .half-underline::after {
        content: '';
        width: 50%;
        left: 25%;
        height: 0.1rem;
        background: var(--footer-green);
        position: absolute;
        bottom: -0.2rem;
    }

.uppercase {
    text-transform: uppercase;
}

footer a {
    color: inherit;
    text-decoration: none;
}

footer * {
    font-weight: 800;
}

footer a:hover {
    color: inherit;
    text-decoration-thickness: 0.15em;
}

footer a:visited {
    color: inherit;
}

.btn-rounded {
    --color: black;
    color: white;
    background-color: var(--color);
    border-color: var(--color);
    border-top-left-radius: 10rem;
    border-top-right-radius: 10rem;
    border-bottom-right-radius: 10rem;
    border-bottom-left-radius: 10rem;
    padding: 0.8em;
    padding-left: 1.2em;
    padding-right: 1.2em;
    font-weight: 800;
}

.btn-green {
    background-color: var(--green);
    color: var(--blue);
}

    .btn-green:hover {
        color: var(--light-blue);
    }

.btn-blue {
    background-color: var(--light-blue);
    color: white;
}

    .btn-blue:hover {
        color: var(--white-highlight);
    }

.main-nav {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    min-height: 9em;
}

.main-nav-menu {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: stretch;
    justify-self: flex-end;
    margin: 1em;
}

    .main-nav-menu > *:first-child {
        margin-bottom: 0.7em;
        margin-top: 0.5em;
    }

    .main-nav-menu > *:last-child {
        margin-bottom: 0.5em;
    }

.vertical-divider {
    display: none;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .main-nav {
        flex-direction: row;
    }

    .main-nav-menu {
        margin: 0.7em;
    }


    .site-title {
        font-size: 20px;
    }

    .main-nav-brand {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

        .main-nav-brand:hover {
            text-decoration-line: underline;
            text-decoration-style: solid;
            text-decoration-thickness: 0.2em;
            color: inherit;
        }

    .footer-row {
        flex-direction: row;
        align-items: baseline;
    }

        .footer-row > :not(:last-child) {
            margin-bottom: inherit;
        }

        .footer-row > :only-child {
            justify-content: center;
        }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .main-nav-menu {
        flex-direction: row;
        align-items: center;
        margin: inherit;
        margin-left: 0.5em;
        margin-right: 0.5em;
    }

        .main-nav-menu > *:first-child {
            margin-right: 0.5em;
        }

    .site-title {
        font-size: 26px;
    }

    .main-nav-menu .vertical-divider {
        border-left: 0.05em;
        border-right: 0.05em;
        height: 50%;
        border-style: solid;
        margin-left: 1.3em;
        margin-right: 1.3em;
    }

    .main-nav-brand {
        align-items: center;
    }

    .main-nav {
        flex-direction: row;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .padding-bottom-large {
        padding-bottom: 4em;
    }

    .vertical-divider {
        display: inherit;
    }

    .main-nav-menu > :first-child {
        margin-right: inherit;
    }

    footer {
        background-image: url('/img/footer_large_img.png');
        background-color: #0e1952;
    }
}

@media (min-width: 1400px) {
    .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 1320px;
    }

    .main-nav {
        justify-content: space-between;
    }
}

@media (min-width: 1600px) {
    .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 1480px;
    }
}

li{
    list-style:none;
}
