﻿/* Theme Styles */

.table > :not(caption) > * > * {
    box-shadow: none;
}

.table .form-control {
    background-color: #ffffff !important;
    border-width: 0.5px !important;
    border-bottom-color: #ccc !important;
    color: #000 !important;
}

.table .form-select {
    background-color: #ffffff !important;
    border-width: 0.5px !important;
    border-bottom-color: #ccc !important;
    color: #000 !important;
}

.table .btn-primary {
    background-color: var(--bs-primary);
}

.table .btn-secondary {
    background-color: var(--bs-secondary);
}

.alert-dismissible .btn-close {
    z-index: 1;
}

.controls {
    z-index: 2000;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-right: 10px;
}

.app-menu .nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .app-menu .nav-item a {
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        padding-left: 1rem;
    }

        .app-menu .nav-item a.active {
            background-color: rgba(255,255,255,0.25);
        }

        .app-menu .nav-item a:hover {
            background-color: rgba(255,255,255,0.1);
        }

.app-menu .nav-link .oi {
    width: 1.5rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.app-menu .dropdown-menu {
    background-color: var(--bs-primary);
    text-wrap: nowrap;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
    margin: .5rem;
}

div.app-moduleactions a.dropdown-toggle, div.app-moduleactions div.dropdown-menu {
    /*    color: #ffffff;*/
}

.footer {
    padding-top: 15px;
    min-height: 40px;
    text-align: center;
    color: #ffffff;
    z-index: 1000;
}

@media (max-width: 767px) {

    .app-menu {
        width: 100%
    }

    .navbar {
        position: fixed;
        top: 60px;
        width: 100%;
    }

    .controls {
        height: 60px;
        top: 15px;
        position: fixed;
        top: 0px;
        width: 100%;
        background-color: rgb(0, 0, 0);
    }

    .controls-group {
        float: right;
        margin-right: 25px;
    }

    .content {
        position: relative;
        top: 60px;
    }
}

body .Manage .content {
    padding-top: 6rem;
}

.content:not(.content:has(.homeTop-slider),.content:has(.Manage)) {
    background: url(/Themes/PalizPortal.Blazor.Themes.Ravagh/images/innerBG.png);
    background-position: -280px 55%;
    background-size: 140% 983px;
    background-repeat: no-repeat;
}

.Manage_appbar {
    box-shadow: 0px 0px 30px 0px #20409A1A !important;
}

.loginIndexPage {
    width: 100%;
    margin: 0 auto;
    background-color: white;
    border-radius: 16px;
    padding: 24px 40px;
    max-width: 475px !important;
    box-shadow: 0px 0px 30px -8px #008EFF29 !important;
}

    .loginIndexPage::before {
        content: '';
        background: url('/Themes/PalizPortal.Blazor.Themes.Ravagh/images/refcoImages/logopaliz_login.png') center center no-repeat;
        width: 100%;
        height: 90px;
        background-size: contain;
        display: flex;
    }

    .loginIndexPage > h5::before {
        content: 'به سامانه خوش آمدید';
        display: flex;
        justify-content: center;
        color: #484848;
        font-size: 18px;
    }

    .loginIndexPage > form {
        padding: 0px !important;
    }

        .loginIndexPage > form.formwidth {
            width: 100% !important;
        }

        .loginIndexPage > form.LoginForm label {
            margin: 8px 8px 4px 8px !important;
        }


        .loginIndexPage > form .divCaptcha {
            position: relative !important;
        }

            .loginIndexPage > form .divCaptcha img {
                border-radius: 8px !important;
                width: 100% !important;
            }

            .loginIndexPage > form .divCaptcha > button {
                position: absolute !important;
                right: 8px;
                background-color: #e0b1d4;
                border: 2px solid #594ae2;
            }

html:has(.loginIndexPage) header {
    display: none;
}

html:has(.loginIndexPage) .content {
    padding: 0px;
    height: 100dvh;
}

    html:has(.loginIndexPage) .content > .container-fluid {
        padding-top: 0px !important;
        height: 100%;
        width: 100vw;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    html:has(.loginIndexPage) .content:not(.content:has(.homeTop-slider)) {
        background: url('/Themes/PalizPortal.Blazor.Themes.Ravagh/images/RefahLoginBg12.webp');
        background-position: center center;
        background-size: cover;
    }


.loginIndexPage form div:has(> input) {
    background-color: #EAF2F9 !important;
    border-radius: 8px !important;
    height: 48px !important;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

/*    .loginIndexPage form div:has(> input):focus {
        background-color: #fff !important;
    }*/
.loginIndexPage .LoginForm .mud-input > input.mud-input-root-outlined {
    padding: 14px !important;
}

.loginIndexPage .LoginForm .mud-button-filled.mud-button-filled-primary {
    background-color: unset;
    display: flex;
    width: fit-content;
    height: 48px;
    padding: 10px 28px;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
    border-radius: 30px !important;
    border: unset !important;
    background: linear-gradient(270deg, #21409a 0%, #ce1878 45%, #ce1878 55%, #21409a 100%);
    background-size: 200% 100%;
    background-position: 100% 50%;
    color: #fff;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    transition: all 300ms ease-in-out;
}

    .loginIndexPage .LoginForm .mud-button-filled.mud-button-filled-primary:hover {
        background-position: 0% 50%;
        color: #fff !important;
    }

.loginIndexPage .LoginForm .mud-input-outlined-border {
    border-radius: 8px !important;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    border: 0px !important;
}

.loginIndexPage .LoginForm input {
    border-radius: 8px !important;
}

    .loginIndexPage .LoginForm input:focus-within {
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
        background-color: #fff !important;
    }

.loginIndexPage .LoginForm div:has(>a.ForgotPasswordLink) {
    justify-content: center !important;
    align-items: center !important;
}

.loginIndexPage .LoginForm div.d-flex.flex-column.flex-md-row.justify-center.mb-4.gap-1:has(.divCaptcha) {
    gap: 12px !important;
}

@media (max-width: 767px) {
    html: has(.loginIndexPage) .content {
        top: 0px !important;
    }
}


@media (max-width: 599px) {
    html:has(.loginIndexPage) .content {
        padding-top: 0px !important;
        height: auto;
    }

        html:has(.loginIndexPage) .content > .container-fluid {
            padding: 24px 0px !important;
        }

        html:has(.loginIndexPage) .content:not(.content:has(.homeTop-slider)) {
            background: url('/Themes/PalizPortal.Blazor.Themes.Ravagh/images/RefahLoginBg12.webp');
            background-position: center center;
            background-size: cover;
        }
}
