﻿.line-breaks {
    white-space: pre-line;
}

.navbar {
    padding: 0;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
    padding: 0;
}

.navbar-brand img {
    height: 57px;
}

.navbar-collapse {
    padding: 0 1em 0 1em;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
    text-decoration: none;
}

    a:not(.btn):hover {
        text-decoration: underline;
    }

details.no-marker > summary {
    list-style: none;
}

    details.no-marker > summary::marker {
        display: none;
    }

.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;
}

.navbar-toggler {
    margin: 0.5em;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
}

@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);
}

[data-bs-theme=dark] .box-shadow {
    box-shadow: 0 .25rem .75rem rgba(255, 255, 255, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

.color-admin {
    color: darkgoldenrod;
}

.color-audit {
    color: blueviolet;
}

.color-cert {
    color: gold;
}

.color-dash {
    color: mediumseagreen;
}

.color-data {
    color: slategrey;
}

.color-events {
    color: goldenrod;
}

.color-link {
    color: royalblue;
}

.color-reports {
    color: orangered;
}

.color-quality {
    color: deepskyblue
}

.color-complaint {
    color: red;
}

.color-ecosystem {
    color: mediumblue;
}

img.icon {
    height: 1em;
}

.product-image {
    margin-bottom: 1em;
    width: 33%;
}

    .product-image.right {
        float: right;
        margin-left: 2em;
    }

    .product-image.left {
        float: left;
        margin-right: 2em;
    }

.integration-logo img {
    width: 100%;
    max-height: 45px;
    object-fit: scale-down;
    background-color: white;
}

.columns-2 {
    column-count: 2;
}
    ul.columns-2 li {
        display: list-item;
        margin-left: 1ch;
        margin-right: 1ch;
    }

.columns-3 {
    column-count: 3;
}

    ul.columns-3 li {
        display: list-item;
        margin-left: 1ch;
        margin-right: 1ch;
    }

@media screen and (max-width: 991px) {
    ul.columns-3 {
        column-count: 2;
    }

    ul.columns-2 {
        column-count: 1;
    }

    .product-image {
        width: 33%;
    }
}

@media screen and (max-width: 768px) {
    ul.columns-3 {
        column-count: 1;
    }

    ul.columns-2 {
        column-count: 1;
    }

    .product-image {
        width: 50%;
    }
}

@media screen and (max-width: 500px) {
    ul.columns-3 {
        column-count: 1;
    }

    ul.columns-2 {
        column-count: 1;
    }

    .product-image {
        width: 100%;
    }
}

.news h2 {
    display: block;
    border-top: 2px solid #499eff; /*rgba(0, 0, 0, 0.05);*/
    background: rgba(0, 0, 0, 0.03);
    color: black;
    padding-left: 0.5em;
    padding-bottom: 0.25em;
    margin-top: 1em;
}

[data-bs-theme="dark"] .news h2 {
    background: rgba(255, 255, 255, 0.03);
    color: white;
}

.news h3 {
    margin-left: 1em;
}

.news ul {
    margin-left: 1em;
}

#markdown-editor {
    height: 82vh;
}

#markdown-preview {
    height: 82vh;
}

@media screen and (max-width: 768px) {
    #markdown-editor {
        height: 37vh;
    }

    #markdown-preview {
        height: 37vh;
    }
}

.markdown-alert svg {
    margin-right: 10px;
    width: 20px;
    height: 20px;
}

.markdown-alert-title {
    font-size: large;
}

[data-bs-theme="dark"] .markdown-alert svg path {
    stroke: var(--bs-alert-color);
}