﻿img, svg, iframe {
    max-width: 100% !important;
}
h1:focus-visible {
    outline: none;
}
.s {
    display: flex;
    margin: 15px 0px;
}

.thumb {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.image-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    grid-auto-rows: 360px;
}

.image-hover {
    position: relative;
}

    .image-hover:after {
        content: " ";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        border-radius: 8px;
    }

.sec-title {
    margin-top: 60px;
    margin-bottom: 20px;
}

.image-hover .action {
    display: none;
}

.action {
    position: absolute;
    bottom: 0;
    padding: 5px;
    z-index: 5;
}

.image-hover:hover .action {
    display: block;
}

.amount {
    font-weight: bold;
}

.balance-plus .amount {
    color: rgb(0,163,68) !important;
}

.balance-minus .amount {
    color: rgb(246,96,85) !important;
}

@media screen and (min-width: 668px) {
    .card-tall {
        grid-row: span 2 / auto;
    }

    .card-wide {
        grid-column: span 2 / auto;
    }
}

.photos img {
    width: 100%;
    height: 100%;
}

.image-hover:hover {
    filter: contrast(1.1);
}

    .image-hover:hover::after {
        position: inherit;
    }

.tags {
    text-align: center;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}
.page{
    padding-top:48px;
    padding-bottom:48px;
}
.page h1{
    padding:48px 12px;
    text-align:center;
    font-size:3rem;
}
#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;
    }

.sub-menu .mud-nav-item {
    min-width: 145px;
}
/*.payment {
    filter: grayscale(1)
}*/
@media only screen and (max-width : 667px) {
    .size-medium, .size-large {
        height: auto;
        width: 100%;
    }

    .image-grid {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }
}
