﻿a {
    text-decoration: none;
}

.zindex-datepicker {
    z-index: 5;
}

.zindex-search {
    z-index: 985;
}

.zindex-header {
    z-index: 990;
}

.zindex-footer {
    z-index: 995;
}

.zindex-dropdown {
    z-index: 1000;
}

.zindex-sticky {
    z-index: 1020;
}

.zindex-fixed {
    z-index: 1030;
}

.zindex-modal-backdrop {
    z-index: 1040;
}

.zindex-offcanvas {
    z-index: 1050;
}

.zindex-modal {
    z-index: 1060;
}

.zindex-popover {
    z-index: 1070;
}

.zindex-tooltip {
    z-index: 1080;
}

.AppPaddingTop {
    padding-top: var(--pt) !important;
}

.AppPaddingBottom {
    padding-bottom: var(--pb) !important;
}


.FillHeight {
    height: 100vh; /* Fallback for browsers that do not support Custom Properties */
    height: calc(var(--vh) - var(--pt) - var(--pb)) !important;
    overflow-y: auto;
}

.FillMinHeight {
    min-height: calc(100vh - var(--pt) - var(--pb)) !important; /* Fallback for browsers that do not support Custom Properties */
    min-height: calc(var(--vh) - var(--pt) - var(--pb)) !important;
}

.w-100 {
    width: 100% !important;
}

.w-90 {
    width: 90% !important;
}

.w-80 {
    width: 80% !important;
}

.w-70 {
    width: 70% !important;
}

.h-100 {
    height: 100% !important;
}

.h-inherit {
    height: inherit !important;
}

.top-0 {
    top: 0;
}

.position-absolute {
    position: absolute !important
}

.text-center {
    text-align: center;
}

.position-sticky {
    position: sticky !important;
}


.ImgContainer {
    position: relative !important;
}

    .ImgContainer:after {
        content: '';
        display: block;
        padding-top: 100%;
    }

.ImgContainer-25:after {
    padding-top: 25%;
}

.ImgContainer-50:after {
    padding-top: 50%;
}

.ImgContainer-75:after {
    padding-top: 75%;
}
.ImgContainer-150:after {
    padding-top: 150%
}

.FixedImageSize {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
}

.Position-absolute.FixedImageSize {
    position: absolute !important;
}

.text-justify {
    text-align: justify !important;
}


.HideUpDownInput {
}


.LDir {
    direction: ltr;
}
.RDir {
    direction: rtl;
}

.Clickable {
    cursor: pointer;
}


.f-12 {
    font-size: 0.75rem !important;
}



.SkeletonLoading {
    position: relative;
    background-color: #CDD4DD;
    overflow: hidden;
}

    .SkeletonLoading::after {
        display: block;
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        transform: translateX(-100%);
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        animation: SkeletonLoading 1.5s infinite;
    }

@keyframes SkeletonLoading {
    100% {
        transform: translateX(100%);
    }
}


/*#region Modal */

.ModalScrollable {
    overflow-y: scroll;
    /* max-height: 70%; */
    max-height: calc(100vh - 150px);
}

/*#endregion */


.M-FieldSet {
    padding: 0.25rem;
    border-width: 2px;
    border-radius: 0.5rem;
    border-color: var(--mud-palette-primary);
    margin-top: 0.7rem;
}

    .M-FieldSet legend, .M-FieldSet .Legend {
        float: none;
        width: auto;
        padding: 0 0.5rem;
        font-weight: bold;
        color: var(--mud-palette-primary);
    }



.Ellipsis-Text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
}


.fa, .fa-brands, .fa-classic, .fa-duotone, .fa-light, .fa-regular, .fa-sharp, .fa-sharp-solid, .fa-solid, .fa-thin, .fab, .fad, .fal, .far, .fas, .fasl, .fasr, .fass, .fat {
    line-height: 1 !important;
}


.flex-Eqw > div {
    flex: 1;
}
/*#blazor-error-ui {
    position: absolute;
    width: 280px;
    height: 210px;
    top: 95px;
    left: 60px;
    background: #fff;
    border-radius: 3px;
    box-shadow: 4px 8px 12px 0 rgba(0,0,0,0.4);
    text-align: center;
    overflow: hidden;
    animation: show-modal .7s ease-in-out;
}


    #blazor-error-ui .blazor-error-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        height:100%;
    }
    #blazor-error-ui .btn {
        background: #fff;
        border: 2px solid blue;
        padding: 10px;
        border-radius: 5px;
        box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
        cursor: pointer;
        font-size: 10pt;
        transition: background 0.5s;
        text-decoration: none;
        width:100px;
    }


#blazor-error-ui .btn:hover {
    background: #6400ff;
    box-shadow: 0px 8px 10px rgba(0, 0, 0, 0.2);
    color: #fff;
}
        #blazor-error-ui .btn.gotohome {
            border: 2px solid green;
        }

        #blazor-error-ui .dismiss {
            cursor: pointer;
            position: absolute;
            right: 0.75rem;
            top: 0.5rem;
        }
*/
#blazor-error-ui {
    position: absolute;
    height: 300px;
    width: 300px;
    max-width: 80vw;
    max-height: 80vh;
    margin: 10vh auto;
    top: 0;
    right: 0;
    background: #fff !important;
    border-radius: 3px;
    box-shadow: 4px 8px 12px 0 rgba(0, 0, 0, 0.4);
    text-align: center;
    overflow: hidden;
    -webkit-animation: show-modal 0.7s ease-in-out;
    animation: show-modal 0.7s ease-in-out;
    color: rgba(43,43,43, 1) !important;
    padding: 0;
    left: 0;
}

    #blazor-error-ui .blazor-error-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        height: 100%;
    }

    #blazor-error-ui.hide {
        -webkit-animation: hide-modal 0.6s ease-in-out both;
        animation: hide-modal 0.6s ease-in-out both;
    }

    #blazor-error-ui img {
        margin-top: 20px;
        height: 50px;
    }

    #blazor-error-ui .title {
        display: block;
        font-size: 18px;
        line-height: 24px;
        font-weight: 400;
        margin: 14px 0 5px 0;
    }

    #blazor-error-ui p {
        font-size: 14px;
        font-weight: 300;
        line-height: 19px;
        margin: 0;
        padding: 0 30px;
    }

    #blazor-error-ui .btn {
        height: 40px;
        bottom: 0;
        left: 0;
        right: 0;
        background: #f65656;
        color: #fff;
        line-height: 40px;
        font-size: 14px;
        font-weight: 400;
        cursor: pointer;
        transition: background 0.3s ease-in-out;
        width: 33.333%;
        text-decoration: none;
    }

    #blazor-error-ui .but:hover {
        /*background: #ec3434;*/
    }

    #blazor-error-ui .btn.gotohome {
        background: #0ebeff;
    }

    #blazor-error-ui .btn.reload {
        background: #fcd000;
    }



@-webkit-keyframes show-modal {
    0% {
        transform: scale(0);
    }

    60% {
        transform: scale(1.1);
    }

    80% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes show-modal {
    0% {
        transform: scale(0);
    }

    60% {
        transform: scale(1.1);
    }

    80% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
    }
}

@-webkit-keyframes hide-modal {
    0% {
        transform: scale(1);
    }

    20% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes hide-modal {
    0% {
        transform: scale(1);
    }

    20% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(0);
    }
}




.mud-application-layout-rtl .mud-flip-x-rtl {
    transform: scaleX(1) !important;
}

.mud-application-layout-rtl .mud-input.mud-input-outlined.mud-input-adorned-start {
    padding-left: 5px;
    padding-inline-start: 5px;
}

.mud-application-layout-rtl .mud-input > input.mud-input-root-outlined.mud-input-root-adorned-start {
    padding-inline-end: 0px;
    /*    text-align:center;
*/
}

.mud-application-layout-rtl .mud-picker .mud-input-adornment.mud-input-adornment-start.mud-input-input-control.mud-ltr {
    margin-right: -10px;
}



.mud-dialog-container {
    right: 0;
}


.M_tooltip {
    position: relative;
    display: inline-block;
    /*border-bottom: 1px dotted black;*/ /* If you want dots under the hoverable text */
}

/* Tooltip text */
.M_tooltip .tooltiptext {
/*    visibility: hidden;
*/    /*width: 120px;*/
    background-color: rgb(0, 0, 0, 0.60);
    color: #fff;
    text-align: center;
    padding: 0 5px;
    border-radius: 6px;
    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.M_tooltip:active .tooltiptext {
    visibility: visible;
}


.MultiLine {
    white-space: pre-wrap;
}


.DualRounded-1-xl {
    border-radius: 0px 24px 24px 0px ;
}

.DualRounded-2-xl {
    border-radius: 24px 0px 0px 24px ;
}
.Responsive-Rounded-xl {
    border-radius: 24px;
}

.Line-clamp-1 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box !important;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.Line-clamp-2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.Line-clamp-3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.Line-clamp-4 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box !important;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}


.HeightLine-3 {
    line-height: 2.5ex;
    height: 7.5ex;
}

.ModalWithoutMP .mud-dialog-content {
    margin: 0 !important;
    padding: 0 !important
}


/* Small devices (landscape phones, 576px and up)*/
@media (max-width: 575.98px) {
    
}

/* Medium devices (tablets, 768px and up)*/
@media (max-width: 767.98px) {
    .DualRounded-1-xl {
        border-radius: 0px 0px 24px 24px;
    }

    .DualRounded-2-xl {
        border-radius: 24px 24px 0px 0px;
    }

    .Responsive-Rounded-xl {
        border-radius: 24px 24px 0px 0px ;
    }
}

/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
    
}

/* Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
    
}

