html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}








.fine-grid {
    display: grid;
    gap: .5rem;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
}

.fine-card {
    cursor: pointer;
    position: relative;
    display: block;
}

    .fine-card input[type="checkbox"] {
        position: absolute;
        inset: 0;
        opacity: 0;
        width: 100%;
        height: 100%;
        appearance: none;
        -webkit-appearance: none; /* belt & braces */
        pointer-events: auto; /* allows label click to toggle */
    }

.fine-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    padding: .5rem;
    transition: .15s;
    background: #fff;
}

    .fine-visual img {
        width: 40px;
        height: 40px;
        object-fit: contain;
        margin-bottom: .25rem;
    }

.fine-name {
    font-size: .8rem;
    text-align: center;
}

.fine-card input[type="checkbox"]:checked + .fine-visual {
    border-color: #0a5232;
    box-shadow: 0 0 0 .15rem rgba(10,82,50,.15);
    background: #f3f8f5;
}