@import url('open.iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html, body {
    display: flex;
    flex-direction: column;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.button-link {
    text-decoration: unset;
}

#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;
    }

.title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0.625rem;
}

    .title.title-secondary {
        padding-top: 0.313rem;
        padding-bottom: 0;
        color: var(--bs-secondary-color);
    }

.title-header-text {
    font-size: 2.5rem;
    line-height: 3rem;
    font-weight: 600;
    letter-spacing: 0rem;
    padding: 0.3125rem 0;
}

.title-content-text {
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 2.5rem;
    letter-spacing: 0rem;
}

.main-content {
    display: flex;
    justify-content: left;
    align-items: start;
    flex-direction: column;
    height: 100%;
    width: 100%;
    padding: 40px;
}

.block-content {
    width: 31.25rem;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 100%;
}

.PageTitle {
    margin: 15px;
}

.grid-catalog{
    max-height: 70%;
}

.header-bold span {
    font-weight: 700;
}
.alt-item > td:not(.dxbl-grid-empty-cell),
.alt-item > td:not(.dxbl-grid-indent-cell) {
    background-color: color-mix(in srgb, var(--bs-gray-300), transparent 50%);
}

/*---------*/
.product-card {
    width: 320px !important;
    position: relative;
    box-shadow: 0 2px 7px #dfdfdf;
    margin: 50px auto;
    background: #fafafa;
    border-radius: 5px;
}

.product-card:hover {
    transition: ease-in-out 0.2s;
    transform: scale(1.02);
    cursor: pointer;
}

.badge {
    left: 0;
    top: 30px;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    background: red;
    color: #fff;
    padding: 3px 10px;
    position: absolute;
}

.badgeVendas {
    position: absolute;
    left: 0;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    background: red;
    color: #fff;
    padding: 3px 10px;
    border-radius: 5px 0 0 0;
}

.product-tumb {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    background: #f0f0f0;
    overflow: hidden;
    padding: 30px 0px;
}

.product-tumb img {
    width: 100%;
}

.product-details {
    padding: 20px;
}

.product-catagory {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ccc;
    margin-bottom: 12px;
}

.product-details h4 a {
    font-weight: 500;
    display: block;
    text-transform: uppercase;
    color: #363636;
    text-decoration: none;
    transition: 0.3s;
}

.product-details h4 a:hover {
    color: #fbb72c;
}

.product-details p {
    font-size: 15px;
    line-height: 22px;
    margin-bottom: 18px;
    color: #999;
}

.product-bottom-details {
    overflow: hidden;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.product-bottom-details div {
    float: left;
    width: 50%;
}

.product-price {
    font-size: 18px;
    color: #fbb72c;
    font-weight: 600;
}

.product-price small {
    font-size: 80%;
    font-weight: 400;
    text-decoration: line-through;
    display: inline-block;
    margin-right: 5px;
}

.product-links {
    text-align: right;
}

.product-links a {
    display: inline-block;
    margin-left: 5px;
    color: #e1e1e1;
    transition: 0.3s;
    font-size: 17px;
}
.product-links a:hover {
    color: #fbb72c;
}

.products-content {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.sidebar {
    min-width: 300px !important;
    overflow-x: hidden;
    overflow-y: auto;
    transition: ease-in-out 0.5s;
    -webkit-transition: all 0.35s !important;
    transform-origin: left;
}

.sidebar.collapsed {
    height: 100%;
    position: absolute;
    transform: scaleX(0);
    z-index: 1;
}

/**Modelo Detalhe*/
.modelo-img {
    width: 600px;
    height: auto;
    display: block;
    margin: auto;
}

.modelo-img-thumb img {
    width: 100px !important;
}

.modelo-info {
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    background: rgba(220, 220, 220, 0.1);
    border-radius: 5px;
    padding: 20px;
}

.modelo-contacto {
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    background: rgba(220, 220, 220, 0.1);
    border-radius: 5px;
    padding: 20px;
}

.login-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100%;
    width: 100%;
    padding: 40px;
}

.login-form {
    margin: auto;
    width: 20%;
    padding: 10px;
    text-align: center;
}

@media (max-width: 800px) {
    .products-content {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .sidebar {
        width: 100%;
        height: 500px;
        transition: ease-in-out 0.5s;
    }

    .modelo-img {
        width: 200px; 
        height: auto; 
        display: block; 
        margin: auto;
    }

    .modelo-img-thumb img {
        width: 50px !important;
    }

    .login-form {
        margin: auto;
        width: 80%;
        padding: 10px;
        text-align: center;
    }
}