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

html {
    min-height: 100%;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif
}

body {
    background-image: url("/img/background_gradient.jpeg");
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
}


#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;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4O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.blazor-error-boundary::after {
        content: "An error has occurred."
    }


.content-wrapper {
    position: relative;
    min-height: 100vh;
}

.main-content {
    padding-bottom: 120px; /* Footer height */
}

.container {
    width: 90%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.empty-space {
    height: 30px;
}

.flex-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 10px;
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
}

.grid-item {
    margin: 10px;
}

.page-header {
    width: 100%;
    background-color: #ffffffe8;
    text-align: center;
    box-shadow: 0px 0px 10px #8d8d8d;
}

    .page-header .content {
        padding: 20px;
        margin-bottom: 20px;
    }

    .page-header p {
        font-size: 19px;
    }

.search-frame {
    position: relative;
    z-index: -1;
    margin-top: -20px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: -40px;
    min-width: 320px;
    max-width: 50%;
    border-left: 30px solid #fff0;
    border-right: 30px solid #fff0;
    border-top: 60px solid #f9f9f9e8;
    filter: drop-shadow(0 0 5px #8d8d8d);
}

.search-bar {
    position: relative;
    min-width: 240px;
    max-width: 43%;
    top: -28px;
    margin-left: auto;
    margin-right: auto;
}

.no-results {
    position: relative;
    text-align: center;
    width: 100%;
}

.card-frame-blank {
    border-radius: 10px;
    padding: 8px;
    border: 1px solid rgb(185, 185, 185);
    box-shadow: 0px 0px 2px #8d8d8da9;
    background-color: rgba(255, 255, 255, 0.199);
    margin-left: auto;
    margin-right: auto;
    width: 318px;
    height: 339px;
    text-align: center;
    transition: all ease;
    transition: background-color 600ms;
}

    .card-frame-blank:hover {
        background-color: rgb(255 255 255 / 48%);
        box-shadow: 0px 0px 4px #8d8d8da9;
    }

    .card-frame-blank .mud-button {
        margin-top: 130px;
        transform: scale(1.5);
    }

.card-frame {
    border-radius: 10px;
    padding: 8px;
    border: 1px solid rgb(185, 185, 185);
    box-shadow: 0px 0px 2px #8d8d8da9;
    background-color: rgba(255, 255, 255, 0.199);
    margin-left: auto;
    margin-right: auto;
    transition: all ease;
    transition: background-color 600ms;
    text-align: right;
}

    .card-frame:hover {
        background-color: #ffa200a4;
        box-shadow: 0px 0px 4px #8d8d8da9;
    }

    .card-frame .mud-button {
        margin-bottom: 10px;
        margin-left: 10px;
    }

.customer-card {
    position: relative;
    width: 300px;
    height: 275px;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid rgb(124, 124, 124);
    box-shadow: 0px 0px 6px #53535352;
    overflow: hidden;
}

    .customer-card .content {
        position: absolute;
        transform: translateY(155px);
        height: 120px;
        width: 100%;
        background: linear-gradient(to bottom, #fff0, rgb(241, 241, 241));
    }

    .customer-card p {
        box-shadow: 0px 0px 4px #1b1b1b;
        background: linear-gradient(to right,#f0f0f0, #fff, #fff, #fff, #f0f0f0);
        margin-top: 20px;
        color: rgb(31, 31, 31);
        font-size: 18px;
        text-align: center;
        padding: 5px;
        min-height: 36px;
    }

    .customer-card:hover p {
        background: linear-gradient(to right,#f3f3f3, #fff, #fff, #fff, #f3f3f3);
    }

    .customer-card img {
        position: absolute;
        max-height: 175px;
        max-width: 300px;
        top: 0;
        left: 0;
        right: 0;
        margin-left: auto;
        margin-right: auto;
    }

    .customer-card .xafax-button {
        position: absolute;
        bottom: 11px;
        right: 12px;
        border-radius: 7px;
        border: 1px solid rgb(177, 177, 177);
        height: 44px;
        box-shadow: 0px 0px 0px #8d8d8d;
        width: 47px;
        transition: all ease;
        transition-duration: 500ms;
    }

    .customer-card:hover .xafax-button {
        width: 135px;
        box-shadow: 0px 0px 2px #8d8d8d;
    }

    .customer-card .xafax-button-text {
        position: absolute;
        top: 10px;
        left: 10px;
        color: rgb(58, 58, 58);
        font-size: 18px;
        font-weight: 500;
        opacity: 0;
        transition-delay: 0ms;
        transition-duration: 0ms;
    }

    .customer-card:hover .xafax-button-text {
        opacity: 1;
        transition-delay: 290ms;
        transition-duration: 420ms;
    }

    .customer-card .xafax-button-image {
        position: absolute;
        top: 3px;
        right: 44px;
    }

.admin-frame {
    border-radius: 10px;
    padding: 8px;
    border: 1px solid rgb(185, 185, 185);
    box-shadow: 0px 0px 2px #8d8d8da9;
    background-color: rgba(255, 255, 255, 0.199);
    margin-left: auto;
    margin-right: auto;
}

.admin-card {
    position: relative;
    width: 100%;
    min-height: 275px;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid rgb(124, 124, 124);
    box-shadow: 0px 0px 6px #53535352;
    overflow: hidden;
    padding: 15px;
}

    .admin-card .mud-form {
        max-width: 100%;
    }

    .admin-card .form-title {
        margin-top: 15px;
        margin-bottom: 5px;
        margin-left: 10px;
        width: 100%;
    }

    .admin-card .mud-input-control {
        margin-bottom: 20px;
    }

    .admin-card .radio-group {
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .admin-card .form-buttons {
        display: flex;
        margin-top: 10px;
        justify-content: flex-end;
    }

        .admin-card .form-buttons .mud-button {
            margin-left: 5px;
        }

    .admin-card hr {
        margin-top: 20px;
    }

    .admin-card .search-tags {
        position: relative;
        margin-top: -5px;
        width: 100%;
    }

    .admin-card .searchtag-bar {
        max-width: calc(100% - 42px);
    }

    .admin-card .searchtag-button {
        position: absolute;
        top: 18px;
        right: 0px;
    }

    .admin-card .image-info {
        opacity: 0.9;
        margin-top: 5px;
    }

    .admin-card .validation-error {
        background-color: #f9f9ab;
        border: 1px solid orange;
        border-radius: 5px;
        padding: 10px;
        font-size: 15px;
        color: #c57e23;
        margin-bottom: 20px;
    }

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 120px;
    background-color: #ffffff75;
    box-shadow: 0px 0px 10px #8d8d8d;
    overflow: hidden;
}

.footer-column {
    font-size: 15px;
    width: 33%;
    min-width: 0px;
}

.column-1 {
    text-align: right;
}

.column-2 {
    text-align: center;
}

.column-3 {
    text-align: left;
}

@media (hover: none) {
    .card-frame-blank {
        background-color: rgb(255 255 255 / 48%);
        box-shadow: 0px 0px 4px #8d8d8da9;
    }

    .customer-card p {
        background: linear-gradient(to right,#f3f3f3, #fff, #fff, #fff, #f3f3f3);
    }

    .customer-card .xafax-button {
        width: 135px;
        box-shadow: 0px 0px 2px #8d8d8d;
    }

    .customer-card .xafax-button-text {
        opacity: 1;
        transition-delay: 290ms;
        transition-duration: 420ms;
    }
}

@media only screen and (max-width: 600px) {
    .main-content {
        padding-bottom: 180px; /* Footer height */
    }
    
    .footer {
        height: 180px;
    }
    
    .footer-column {
        font-size: 15px;
        width: 33%;
        min-width: 300px;
    }

    .column-1 {
        text-align: center;
    }

    .column-2 {
        text-align: center;
    }

    .column-3 {
        text-align: center;
    }
}