﻿﻿:root {
    --bs-dark: #1d232a;
    --bs-light: white;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: var(--bs-light) !important;
    color: var(--bs-dark) !important;
    transition: background-color 0.5s, color 0.5s;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden; 
}

    body.dark-mode {
        background-color: var(--bs-dark) !important;
        color: var(--bs-light) !important;
    }

a, .btn-link {
    color: #006bb7;
}

 
/*---------------- dark-mode  -------------------- */
.dark-mode .night-color-white {
    color: white;
}


.dark-mode .card-header {
    background-color: silver;
    color: var(--bs-dark);
}

.dark-mode .card-body {
    background-color: #000;
    color: var(--bs-dark);
}

.dark-mode .lbl-title {
    background-color: var(--bs-dark);
    color: white;
}

.dark-mode .lbl-top {
    background-color: var(--bs-dark) !important;
    color: white !important;
}

.dark-mode .bg-round-1 {
    background-color: var(--bs-dark);
    color: white;
}

.dark-mode .table-hover {
    background-color: var(--bs-dark);
    color: white;
}

/*------------------------------------ */
.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link .nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.grabbable {
    cursor: move; /* Fallback برای مرورگرهای قدیمی */
    cursor: grab; /* استاندارد */
    cursor: -webkit-grab; /* پشتیبانی از Safari */
    cursor: -moz-grab; /* پشتیبانی از Firefox */
}

    .grabbable:active {
        cursor: grabbing;
        cursor: -webkit-grabbing;
        cursor: -moz-grabbing;
    }

.cursor-none {
    cursor: none;
}

.cursor-hand {
    cursor: pointer;
}

.cursor-sresize {
    cursor: s-resize;
}

.page-item {
    cursor: pointer;
}

.bg-silver-dark {
    background-color: rgb(145, 140, 140) !important;
}

.card-shadow {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.card-body {
    padding: .5rem !important;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}


.cursor-pointer {
    cursor: pointer
}

.required:after {
    content: "\002A";
    margin-right: .3rem;
    --bs-text-opacity: 1;
    color: rgba(var(--bs-danger-rgb),var(--bs-text-opacity)) !important
}

.zindex-2000 {
    z-index: 2000
}

.zindex-2 {
    position: relative;
    z-index: 2
}

.translate-start {
    transform: translate(-10%,-80%) !important
}


.ltr {
    direction: ltr !important
}

.rtl {
    direction: rtl !important
}

.txt-number-rtl {
    direction: rtl !important;
    text-align: right !important
}

.txt-number-ltr {
    direction: ltr !important;
    text-align: left !important
}

.txt-dir-ltr {
    direction: ltr !important;
}

.txt-dir-ltr-unicode {
    direction: ltr !important;
    unicode-bidi: bidi-override;
}
.txt-nowrap {
    white-space: nowrap;
}
.txt-control {
    border: 1px solid #ced4da;
    border-radius: .25rem;
    background-color: #fff;
    width: 100%;
    appearance: none;
}

    .txt-control:focus {
        color: #212529;
        background-color: #fff;
        border-color: #86b7fe;
        outline: 0;
        box-shadow: 0 0 0 .09rem rgba(13,110,253,.25)
    }

.left-1 {
    left: 1rem !important
}

.border-success {
    background-color: #d1ffbd;
}

.panel-float-center {
    position: absolute;
    z-index: 2000;
    right: 0;
    left: 0;
    margin: auto;
    width: 25%;
    border-radius: .5rem;
    padding: .5rem;
    display: flex;
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.spinner-border {
    width: 1.5rem !important;
    height: 1.5rem !important;
    margin: 1rem !important;
}

.lbl-top {
    position: absolute !important;
    transform: translate(-10%,-80%) !important;
    z-index: 2 !important;
    background-color: white !important;
    padding-right: .25rem !important;
    padding-left: .25rem !important;
    border-radius: .2rem !important;
    color: rgba(var(--bs-black-rgb),var(--bs-text-opacity)) !important;
    border-radius: .4rem;
}

div:has(> .lbl-top) {
    position: relative;
}

.lbl-title {
    min-width: 30%;
    text-align: center;
    background-color: whitesmoke;
    border-radius: 0 .2rem .2rem 0;
    border: 1px solid #ced4da;
    padding: .3rem;
    flex-wrap: nowrap;
    align-content: center;
}

.lbl-value {
    width: 100%;
    border-radius: .2rem 0 0 .2rem;
    border: 1px solid #ced4da;
}

.form-control {
    min-height: 1.8rem;
}

.h-px-250 {
    max-height: 250px !important;
    overflow-y: auto;
}

.word-break-all {
    word-break: break-all !important;
}


.hw-1 {
    height: 1.3rem;
    width: 1.3rem;
    margin: .3rem;
}

.min-h-100 {
    min-height: 100% !important
}

.min-h-25 {
    min-height: 25% !important
}

.min-h-100 {
    min-height: 100% !important
}

.min-w-100px {
    min-width: 100px !important
}

.min-w-25 {
    min-width: 25% !important
}

.min-w-5-rem {
    min-width: 5rem !important
}

.min-w-8-rem {
    min-width: 8rem !important
}

.min-w-10-rem {
    min-width: 10rem !important
}

.min-w-50-rem {
    min-width: 50rem !important
}

.min-w-calc-70-rem {
    min-width: calc(100vh - 70rem);
}

.min-w-calc-5-rem {
    width: calc(100% - 5rem) !important;
}

.modal-width-70 {
    width: 70% !important;
    max-width: none !important;
    margin: 1.75rem auto;
}

.max-height-calc-5 {
    max-height: calc(100vh - 5rem) !important;
}

.max-height-calc-10 {
    max-height: calc(100vh - 10rem) !important;
}

.max-height-calc-12 {
    max-height: calc(100vh - 12rem) !important;
}

.max-height-calc-15 {
    max-height: calc(100vh - 15rem) !important;
}

.max-height-calc-20 {
    max-height: calc(100vh - 20rem) !important;
}

.max-height-2 {
    max-height: 2rem;
}

.max-height-3 {
    max-height: 3rem;
}

.max-height-10 {
    max-height: 10rem;
}

.border-right-left {
    border-right: .1rem dashed #0d6efd;
    border-left: .1rem dashed #0d6efd;
    border-radius: .3rem;
}

.line-h-1 {
    height: 50%;
    width: .1rem;
    margin: 1em 0 1em 0;
    background-color: #121417;
}



.top-menu {
    height: 3.5rem;
    width:100%;
    display: flex;
    padding: .2rem 0 0 .2rem;
    overflow-x: scroll;
    white-space: nowrap; 
    scrollbar-width: none;
} 
.top-menu-profile {
    height: 3.5rem;
    width: 3.5rem;
    border: .1rem dashed #0d6efd;
    border-radius: 20rem;
    margin: 0 1rem 0 1rem;
}

    .top-menu-profile:hover {
        height: 7rem;
        width: 7rem;
        z-index: 999;
        transition: width 2s, height 2s, background-color 2s;
        border-radius: 1rem;
        cursor: none;
        position:absolute;
    }

    .top-menu .one {
        width: 24rem;
        text-align:center;
    }
.top-menu-icon {
    height: 1.5rem;
    width: 1.5rem;
    cursor: pointer;
}

    .top-menu-icon:hover {
        height: 2rem;
        width: 2rem;
    }  
.img-box {
    height: 10rem;
    border: .1rem dashed #0d6efd;
    width: 10rem;
    background-color: darkgray;
    border-radius: 20rem;
}

    .img-box:hover {
        height: 15rem;
        width: 15rem;
        z-index: 999;
        border-radius: 1rem;
        transition: width 2s, height 2s, background-color 1s;
        cursor: none;
    }

.img-box-50 {
    height: 50px;
    width: 50px;
    background-color: darkgray;
    border-radius: 5rem;
}

    .img-box-50:hover {
        height: 200px;
        width: 200px;
        z-index: 999;
        border-radius: .5rem;
        transition: width 3s, height 3s, background-color 1s;
        cursor: none;
    }


.max-width-5rem {
    max-width: 5rem !important;
}


.box-min-20 {
    max-height: 20px;
    max-width: 20px;
}

.img-box-25 {
    max-height: 25px;
    max-width: 25px;
    background-color: darkgray;
    border-radius: 5rem
}

.img-box-35 {
    max-height: 35px;
    max-width: 35px;
    background-color: darkgray;
    border-radius: 5rem
}

.overflow-x-flex {
    overflow-y: hidden;
    min-width: 10rem;
    display: flex;
}

.overflow-y {
    overflow-y: scroll;
    scrollbar-width: none;
}
/*------ Animate ----------*/

.box {
    display: block;
    transition: width 1s, height 1s, background-color 1s, rotate 1s;
}

    .box:hover {
        rotate: 360deg;
    }



/*----------------*/

.my-reconnect-modal > div {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    overflow: hidden;
    background-color: #fff;
    opacity: 0.8;
    text-align: center;
    font-weight: bold;
}

.components-reconnect-hide > div {
    display: none;
}

.components-reconnect-show > div {
    display: none;
}

.components-reconnect-show > .show {
    display: block;
}

.components-reconnect-failed > div {
    display: none;
}

.components-reconnect-failed > .failed {
    display: block;
}

.components-reconnect-rejected > div {
    display: none;
}

.components-reconnect-rejected > .rejected {
    display: block;
}

/*----------------*/

.img-center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 3rem);
}


.overflow-x-scroll {
    overflow: hidden !important;
    overflow-x: scroll !important;
}

.overflow-x-auto {
    overflow-x: auto !important;
}

.overflow-auto {
    overflow: auto !important;
}



.flex-container {
    display: flex;
    flex-wrap: nowrap;
}

.w-10 {
    width: 10% !important;
}

.w-15 {
    width: 15% !important;
}

.w-18 {
    width: 18% !important;
}

.w-85 {
    width: 85% !important;
}

.w-2rem {
    width: 2rem !important;
}

.w-3rem {
    width: 3rem !important;
}
.w-max-content {
    width: max-content !important;
}

.h-2rem {
    height: 2rem !important;
}

.h-3rem {
    height: 3rem !important;
}

.h-5rem {
    height: 5rem !important;
}

.pluqe {
    background-image: url("images/sites/pluqe.png");
    background-repeat: no-repeat;
    display: flex !important;
    height: 4rem;
    width: 19rem;
    padding: 1rem .6rem .3rem .1rem;
}

.pluqe1 {
    width: 20%;
    margin: .1rem .2rem .1rem .1rem;
    background-color: #fd0;
    text-align: center;
    border-radius: .5rem;
}

.pluqe2 {
    width: 35%;
    margin: .1rem .3rem .1rem .1rem;
    background-color: #fd0;
    text-align: center;
    border-radius: .5rem;
}

.pluqe3 {
    width: 20%;
    margin: .1rem 1.9rem .1rem .1rem;
    background-color: #fd0;
    text-align: center;
    border-radius: .5rem;
}
 
.bg-round-1 {
    background-color: #fdfcfc;
    border-radius: .5rem;
    border: 1px solid rgba(0,0,0,.325);
    margin: .2rem;
    padding: .5rem;
    flex: 1 1 calc(33.333% - 10px);
    min-width: 30rem;
    max-width:50%;
}
.bg-round-2 {
    background-color: #fdfcfc;
    border-radius: .5rem;
    border: 1px solid rgba(0,0,0,.325);
    margin: .2rem;
    padding: .5rem;
    width:100%;
    min-width: 30rem; 
}


.bg-round-02 {
    background-color: #fdfcfc;
    border-radius: .2rem;
    border: 1px solid #56aaff;
    margin: .1rem;
    padding: .2rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 3.2rem;
    height: 1.3rem;
    background-color: #ffff;
    margin-top: .1rem;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #d9c6c6;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: '\0078';
        padding-right: .4rem;
        color: red;
        height: 1.1rem;
        width: 1.3rem;
        left: .1rem;
        bottom: .1rem;
        background-color: #fff;
        -webkit-transition: .5s;
        transition: .5s;
        transition-delay: .2s;
    }

input:checked + .slider:before {
    content: '\2713';
    padding-right: .2rem;
    transition-delay: .2s;
    -webkit-transform: scaleX(-1) translateX(1.6rem);
    -ms-transform: translateX(1.6rem);
    transform: translateX(1.6rem) rotate(720deg);
    color: #03710f;
}

input:checked + .slider {
    background-color: #60aa45;
}

input:focus + .slider {
    box-shadow: 0 0 .5rem #60aa45;
}

.slider.round {
    border-radius: 3rem;
}

    .slider.round:before {
        border-radius: 1rem;
    }

/*-----------*/
.checkbox-Round {
    width: 1.2rem;
    height: 1.2rem;
    color: dodgerblue;
    vertical-align: middle;
    -webkit-appearance: none;
    background: none;
    border: 0;
    outline: 0;
    flex-grow: 0;
    border-radius: 50%;
    background-color: #FFFFFF;
    transition: background 300ms;
    cursor: pointer;
    margin: .2rem;
}

    .checkbox-Round::before {
        content: "";
        color: transparent;
        display: block;
        width: inherit;
        height: inherit;
        border-radius: inherit;
        border: 0;
        background-color: transparent;
        background-size: contain;
        box-shadow: inset 0 0 0 1px #CCD3D8;
    }

    .checkbox-Round:checked {
        background-color: #60aa45;
    }

        .checkbox-Round:checked::before {
            box-shadow: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E %3Cpath d='M15.88 8.29L10 14.17l-1.88-1.88a.996.996 0 1 0-1.41 1.41l2.59 2.59c.39.39 1.02.39 1.41 0L17.3 9.7a.996.996 0 0 0 0-1.41c-.39-.39-1.03-.39-1.42 0z' fill='%23fff'/%3E %3C/svg%3E");
        }

    .checkbox-Round:disabled {
        background-color: #CCD3D8;
        opacity: 0.84;
        cursor: not-allowed;
    }

/*-----------*/

.close-icon {
    color: red;
    cursor: pointer;
    margin: .5rem;
    float: inline-end;
    position: sticky;
    top: 0;
}

.input-icon {
    display: flex;
}

    .input-icon small {
        position: absolute;
        left: .5rem;
    }

    .input-icon input {
        padding-left: 2rem !important;
    }
/*-----------*/

.resize-width {
    resize: horizontal;
    overflow: hidden;
}

.resize-height {
    resize: vertical;
    overflow: hidden;
}

/*-----------*/

.msgbox-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border: 1px solid #badbcc;
    border-radius: .25rem;
    width: 100%;
    padding: 0 1rem 0 2rem;
    margin: .2rem;
}

.msgbox-danger {
    color: #842029;
    background-color: #f8d7da;
    border: 1px solid #f5c2c7;
    border-radius: .25rem;
    margin: .2rem;
    overflow-wrap: break-word;
}

.captchabox {
    width: 10rem;
    height: 3rem;
    border: 1px solid #298ef2;
    border-radius: .3rem;
    margin: 0 .3rem 0 .3rem;
}

.fix-column {
    /*background-color: white !important;
    position: absolute; */
    min-width: 4rem;
}

.en-number {
    /*background-color: yellow !important;*/
    font-family: Segoe UI !important;
    direction: ltr !important;
}

/*-----------*/

.toggle-side {
    position: fixed;
    z-index: 1999;
    top: 2.5rem;
    right: .5rem;
    cursor: pointer;
    width: 1.2rem;
    height: 1.2rem;
    padding: 0;
    -webkit-appearance: none;
    border-radius: 50%;
    background-color: #CCD3D8;
    transition: background 300ms;
    transform: rotate(-45deg);
}
 
    .toggle-side::before {
        content: "\21F2";
        display: block;
        width: inherit;
        height: inherit;
        border-radius: inherit;
        box-shadow: inset 0 0 0 1px #CCD3D8;
    }

    .toggle-side:checked {
        background-color: #151852;
    }

        .toggle-side:checked::before {
            content: "\21F1";
            color: #CCD3D8;
        }



/*----------------*/

.focus-none:focus {
    outline: none;
    box-shadow: none;
}
.autocomplete-list {
    border: 1px solid #ddd;
    border-radius: .2rem;
    max-height: 150px;
    overflow-y: auto;
    overflow-x: auto;
    background-color: white;
    z-index: 1000;
    word-wrap: normal;
    margin-top: .4rem;
}

    .autocomplete-list ul {
        list-style: none;
    }

    .autocomplete-list li {
        padding: .3rem;
        cursor: pointer;
    }

        .autocomplete-list li:hover {
            background-color: #f0f0f0;
        }

        .autocomplete-list li:focus {
            background-color: #f0f0f0;
        }

.autocomplete-inputhide {
    width: 0rem;
    height: 0rem;
    border: none;
    position: absolute;
    z-index: -1;
}

.autocomplete-box {
    position: relative; 
}
.autocomplete-box:focus-within .autocomplete-panel {
    display: block;
}

.autocomplete-icon {
    position: absolute;
}

.autocomplete-panel {
    position: fixed;
    z-index: 2000;
    background-color: #fff;
    border: solid .1rem #ced4da;
    border-radius: .3rem;
    /*width: 100%;*/
    display: none;
    min-height: 2rem;
    min-width: 15rem;
}

    .autocomplete-panel .autocomplete-search {
        padding: .3rem;
        width: inherit;
        z-index: 0; 
    }


    .autocomplete-panel .autocomplete-list {
        padding: .2rem .5rem 0 0;
        cursor: pointer;
        max-height: 10rem;
        overflow: hidden;
        overflow-y: scroll;
    }

.autocomplete-lbl {
    background-color: #fff !important;
    cursor:default;
}
    .autocomplete-lbl:focus {
        outline: none;  
        box-shadow: none;
    }

.autocomplete-item {
    padding: .2rem .5rem 0 0;
    border: none;
    width: 100%;
    cursor: pointer;
    outline: none;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    height: 2.5rem;
    border-radius: .3rem;
}

    .autocomplete-item:hover {
        background-color: #ced4da;
        font-weight: bold;
    }

/*----------------*/

.inputselectdisabled {
    pointer-events: none;
    opacity: 0.5;
}

.border-black {
    border-radius: .1rem;
    border: .1rem solid #8a8484;
    padding: .5rem;
}

.element-hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

.element-show:hover .element-hidden {
    opacity: 1;
    visibility: visible;
}
/*----------------*/

.text-hover:hover {
    padding: .5rem .5rem 0 0;
    cursor: pointer;
}

.tree-box-selected {
    display: flex;
    flex-wrap: wrap;
    overflow: auto !important;
    max-height: 7rem;
    border: .1rem solid #11d82236;
    border-radius: .3rem;
}

.tree-box {
    margin-top: .2rem;
    padding: .2rem;
}

.tree-node {
    border-right: 1px dashed darkgray;
    margin: .2rem 0 0 0;
}

.tree-child {
    margin: .2rem 0 0 0;
    border-right: 1px dashed darkgray;
}

.hover-color:hover {
    padding: .1rem;
    cursor: pointer;
    color: black;
}
/*-----------*/
.action-buttons {
}

    .action-buttons ul {
        display: none;
        position: absolute;
        background-color: white;
        z-index: 1000;
        border: 1px solid #ccc;
        max-width: 20rem;
        min-width: 7rem;
        padding: .3rem;
        list-style: none;
        border-radius: .2rem;
    }

    .action-buttons li {
        margin: .1rem;
        list-style: none;
    }

    .action-buttons input[type="checkbox"] {
        display: none;
    }

        .action-buttons input[type="checkbox"] :hover {
            color: powderblue;
        }

        .action-buttons input[type="checkbox"]:checked + label ul {
            display: block;
        }

            .action-buttons input[type="checkbox"]:checked + label ul li:hover {
                background-color: #f0f0f0;
            }
/*-----------*/
.print-page { 
    padding: 2rem; 
    overflow-x: auto;
    border: .1rem solid #ced4da;
    background-color: white;
    border-radius: .5rem;
}

.printA4 {
    width: 190mm;
    padding: 1mm;
    margin: 0 auto;
    overflow-x: auto;
    border: .1rem solid #ced4da;
    background-color: white;
    border-radius: .5rem;
}

.printA5 {
    width: 128mm;
    padding: 1mm;
    margin: 0 auto;
    overflow-x: auto;
    background-color: white;
    border: .1rem solid #ced4da;
    border-radius: .5rem;
}

@media print {
    /* Add page numbers in the footer */
    @page {
        @bottom-center {
            content: "صفحه " counter(page) " از " counter(pages);
        }
    }
}
/*----------------*/

@media (max-width: 641px) {
    .toggle-side {
        display: none;
    }
}

@media (min-width: 641px) {
    .toggle-side:checked ~ .sidebar {
        overflow: hidden;
        width: 0rem;
        transition: width 250ms;
    }
}
/*----------------*/

/* Define the keyframes for fadeInDown */
@keyframes fadeInDown {
    0% {
        opacity: .5;
        transform: translateY(-25px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Style for the animated element */
.fadeInDown {
    animation: fadeInDown .5s ease forwards; /* apply animation */
}


/*----------------*/

.print-page-qr{
    left: 10mm !important;
    top: 15mm !important;
    position: absolute; 
}
 

/*----------------*/



.print-cmr {
    height: 11in;
    width: 8.5in;
    background-image: url("images/sites/cmrprint.jpeg");
    background-repeat: no-repeat;
    padding: 5px 0 0 150px;
    direction: ltr;
}

    .print-cmr pre {
        font-size: .8rem;
    }

    .print-cmr .box-one {
        height: 70px;
        width: 350px;
        overflow: hidden;
        word-wrap: normal;
    }

    .print-cmr .box-two {
        height: 70px;
        width: 350px;
        margin-top: 20px;
        overflow: hidden;
        word-wrap: normal;
    }


    .print-cmr .box-three {
        height: 48px;
        width: 350px;
        margin-top: 20px;
        overflow: hidden;
        word-wrap: normal;
    }


    .print-cmr .box-four {
        height: 48px;
        width: 350px;
        margin-top: 18px;
        overflow: hidden;
        word-wrap: normal;
    }


    .print-cmr .box-five {
        height: 48px;
        width: 350px;
        margin-top: 18px;
        overflow: hidden;
        word-wrap: normal;
    }


    .print-cmr .box-six {
        height: 30px;
        width: 300px;
        margin-top: 40px;
        overflow: hidden;
        word-wrap: normal;
        padding: .1rem 0 0 0;
    }

    .print-cmr .box-six-desc {
        height: 200px;
        width: 650px;
        overflow: hidden;
        word-wrap: normal;
        padding: .1rem 0 0 0;
    }


    .print-cmr .box-seven {
        height: 100px;
        width: 350px;
        overflow: hidden;
        word-wrap: normal;
        padding: 1rem 0 0 0;
    }

    .print-cmr .box-eight {
        height: 90px;
        width: 340px;
        margin-top: 10px;
        overflow: hidden;
        word-wrap: normal;
    }

    .print-cmr .box-nine {
        height: 108px;
        width: 330px;
        overflow: hidden;
        word-wrap: normal;
        position: relative;
        top: -570px;
        left: 350px;
    }

    .print-cmr .box-ten {
        height: 50px;
        width: 85px;
        overflow: hidden;
        word-wrap: normal;
        position: relative;
        top: -540px;
        left: 526px;
        text-align: center;
    }


/*----quiil to bootstarp------------*/


.ql-align-center {
    text-align: center !important;
}

.ql-align-right {
    text-align: right !important;
}

.ql-align-justify {
    text-align: justify !important;
}


/*----------------*/


/*----------------*/



/*----------------*/
