﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html {
    min-height: 100%;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a, .btn-link {
    color: #0366d6;
}

a:not(.btn):not(.nav-link):not(.buy):not(.navbar-brand) {
    text-decoration: underline;
}

a.btn, a.nav-link, a.buy, a.navbar-brand, a:has(img) {
    text-decoration: none;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn-outline-primary {
    color: #1b6ec2;
    border-color: #1b6ec2;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1b6ec2;
}

.content {
    padding-top: 1.1rem;
    flex: 1 0 auto;
}

.footer {
    margin-top: auto;
    flex-shrink: 0;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
.buy {
    color: #000000;
    background-color: #FF8C00;
    border-color: #FF8C00;
    flex-basis: 0;
    flex-grow: .09;
    text-align: center;
    display: block;
    padding: .5rem 1rem;
    text-decoration: none;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
}

.float-end {
    float: right !important
}

.wrapper {
    display: grid;
    grid-template-areas: "a a a a";
    border-left: 1px solid gray;
    border-top: 1px solid gray;
    grid-gap: 0;
}

    .wrapper > div.head {
        background-color: #dfdfdf;
    }

    .wrapper > div {
        background-color: white;
        padding: 0.5rem;
        text-align: center;
        border-bottom: 1px solid gray;
        border-right: 1px solid gray;
    }

        .wrapper > div:last-child {
            border-right: 1px solid gray;
        }
.layspan {
    font-size: 1rem;
    display: inline-block;
    padding: 2px 3px;
    border: 1px solid gray;
    margin: 1px 0 1px 0;
    background-color: white;
}
.display-69 {
    font-size: calc(1rem + 1vw);
    font-weight: 300;
    line-height: 1.25;
    margin-left: 5px;
}

.display-79 {
    font-size: calc(1rem + 1vw);
    font-weight: 400;
    line-height: 1.05;
    margin-left: 5px;
}
.hero-banner {
    background-color: gainsboro;
    background-image: url('/images/banner.svg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 300px;
    transition: opacity 160ms ease-in;
}

.home-intro {
    max-width: 900px;
    margin: 0 auto 2rem auto;
    text-align: center;
}

.home-intro .lead {
    color: #555;
    margin-bottom: 0;
}

.product-card {
    height: 100%;
    border: 1px solid #d9d9d9;
    border-radius: 0.75rem;
    background-color: #fff;
    padding: 2rem;
    transition: transform .15s ease-in-out, box-shadow .15s ease-in-out;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.06);
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08);
}

.product-card-logo {
    width: 88px;
    height: 88px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.product-card-title {
    font-size: 1.75rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.product-card-copy {
    color: #555;
    margin-bottom: 0.35rem;
}

.product-card-link {
    display: inline-block;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.product-card .btn {
    min-width: 160px;
}

@media (max-width: 767.98px) {
    .product-card {
        padding: 1.5rem;
        text-align: center;
    }

    .product-card .d-flex {
        justify-content: center !important;
    }
}
#col3-grid {
    display: grid;
    grid-template-areas: "a a a";
    grid-auto-columns: 150px;
    border-left: 1px solid gray;
    grid-gap: 0px;
}

    #col3-grid > div.head, #col4-grid > div.head {
        border-top: 1px solid gray;
        background-color: #dfdfdf;
    }

    #col3-grid > div, #col4-grid > div {
        padding: 3px;
        border-bottom: 1px solid gray;
        border-right: 1px solid gray;
    }

        #col3-grid > div:last-child, #col4-grid > div:last-child {
            border-right: 1px solid gray;
        }
#col4-grid {
    display: grid;
    grid-template-areas: "a a a a";
    grid-auto-columns: 150px;
    border-left: 1px solid gray;
    grid-gap: 0px;
}
.sqlist {
    list-style-type: square;
}

.romanlist {
    list-style-type: lower-roman;
}

/* Improve contrast for navbar links on dark background */
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link.active {
    color: #ffffff;
}
