﻿/* You can add global styles to this file, and also import other style files */

/* Provide sufficient contrast against white background */

@font-face {
    font-family: 'Montserrat-Light';
    src: url('../lib/fonts/Montserrat-Light.ttf');
}

@font-face {
    font-family: 'Montserrat';
    src: url('../lib/fonts/Montserrat-Regular.ttf');
}

@font-face {
    font-family: 'Montserrat-SemiBold';
    src: url('../lib/fonts/Montserrat-SemiBold.ttf');
}

@font-face {
    font-family: 'Montserrat-Bold';
    src: url('../lib/fonts/Montserrat-Bold.ttf');
}

@font-face {
    font-family: 'Montserrat-BoldItalic';
    src: url('../lib/fonts/Montserrat-BoldItalic.ttf');
}

@font-face {
    font-family: 'Montserrat-Black';
    src: url('../lib/fonts/Montserrat-Black.ttf');
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh !important;
    height: 100%;
    font-family: Montserrat, sans-serif;
    /*   background-color: #f7f7f7;*/
}

h1, h2, h3, h4, h5, h6 {
    font-family: Montserrat-Bold, sans-serif;
}

p > a {
    color: #0047bb;
    font-family: Montserrat-SemiBold;
    text-decoration: none;
}

    p > a:hover {
        color: #003996;
        font-family: Montserrat-SemiBold;
        text-decoration: underline;
        cursor: pointer;
    }

/*a {
  color: #0366d6;
}*/
.nav-item {
    font-family: Montserrat-SemiBold;
}

.link-active {
    color: #0047bb;
    font-family: Montserrat-Bold;
}

label {
    font-weight: 400;
}

code {
    color: #e01a76;
}

.business-logo {
    height: 200px;
    margin: 0 auto 5px auto;
}

.card-body a {
    text-decoration: none;
}

    .card-body a:hover {
        text-decoration: solid;
    }

.img-wrapper {
    max-height: 100px;
    overflow: hidden;
}

    .img-wrapper img {
        width: auto;
    }

.two-columns {
    column-count: 2;
    column-gap: 1.25em;
    column-width: 500px;
}

.three-columns {
    column-count: 3;
    column-gap: 1.25em;
    column-width: 333px;
}

.blue-2728-hover {
    background-color: #003996;
    color: #ffffff;
}

.blue-2728 {
    background-color: #0047bb;
    color: #ffffff;
}

.blue-286-20-tint {
    background-color: #003996;
}

.fullwidth {
    width: 100%;
    height: auto;
    padding: 1em;
    background-color: #0047bb;
    margin-bottom: 1.5em;
}

    .fullwidth h1, .fullwidth h2 {
        font-family: Montserrat-Black;
        color: #fff;
    }

.media-card {
    --bs-card-spacer-y: 0;
    --bs-card-spacer-x: 0;
    --bs-card-title-spacer-y: 0;
    --bs-card-border-width: 0;
    --bs-card-border-color: var(--bs-border-color-transparent);
    --bs-card-border-radius: 0.75rem;
    --bs-card-inner-border-radius: calc(0.75rem - 1px);
    --bs-card-cap-padding-y: 0;
    --bs-card-cap-padding-x: 0;
    --bs-card-cap-bg: rgba(0, 0, 0, 0);
    --bs-card-bg: #fff;
    --bs-card-img-overlay-padding: 0;
    --bs-card-group-margin: 0.75rem;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: var(--bs-card-height);
    word-wrap: break-word;
    background-color: var(--bs-card-bg);
    background-clip: border-box;
    border: var(--bs-card-border-width) solid var(--bs-card-border-color);
    border-radius: var(--bs-card-border-radius);
}

.media-card-body {
    flex: 1 1 auto;
    padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);
    color: var(--bs-card-color);
}

.media-card {
    transition: .4s all ease-in;
    border: none;
    margin: 25px auto;
}

.card-img-wrapper {
    width: 100%;
    max-height: 15em;
    overflow: hidden;
    border-radius: 1em;
}

.media-card img {
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 250px;
}

.detail {
    position: absolute;
    background-image: linear-gradient(rgba(31, 32, 35, 0), rgba(31, 32, 35, 1));
    color: #fff;
    padding: 1em;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    overflow: hidden;
    padding: 15px;
    transition: ease 0.5s;
    border-radius: 1em;
}

    /*.media-card:hover img {
  filter: grayscale(100%);
}

.media-card:hover .detail {
  height: 100%;
}

  .featurette h2::first-line {
      color: #0047bb;
  }*/

    .detail h5 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .detail a {
        color: #ffffff;
        text-decoration: none;
    }

        .detail a:hover {
            color: #ffffff;
            text-decoration: underline;
        }

.description {
    visibility: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.media-card:hover .description {
    visibility: visible;
}

#map {
    height: 700px;
}
