@font-face {
    font-family: "parastoo";
    src: url("../../fonts/Parastoo.ttf") format("truetype");
}
@font-face {
    font-family: "calibri";
    src: url("../../fonts/calibril.ttf") format("truetype");
}

@font-face {
    font-family: "vivaldi";
    src: url("../../fonts/vivaldi.ttf") format("truetype");
}

.font-calibri {
    font-family: "calibri" !important;
}

.Vivaldi {
    font-family: "vivaldi" !important;
}

.font-parastoo {
    font-family: "parastoo" !important;
}

/* Body overwride */
body {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
}

/* Overriding main colors */
.bg-primary {
    background-color: #a1a8a8 !important;
    color: #fff !important;
}

.bg-card {
    background-color: #829191 !important;
    color: #fff !important;
}

.btn-primary {
    background-color: #344f7b !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn.btn-primary.active {
    background-color: #344f7b !important;
    opacity: 0.8 !important;
}

.border-primary {
    border-color: #344f7b !important;
}

.bg-yellow {
    background-color: #f6e1c9 !important;
}

.text-primary {
    color: #344f7b !important;
}

.badge-primary {
    background-color: #344f7b !important;
    color: #fff !important;
}

/* Other CSS */

.bg-main {
    background-color: #95b8d1 !important;
}

.bg-app {
    background-color: #36454f !important;
}

.bg-nav {
    background-color: #d6eadf !important;
}

.bg-yellow {
    background-color: #f6e1c9 !important;
}

.app-header-primary .logo {
    height: 40px !important;
}

/* x-cloak to avoid ALPINE JS load hidden x-show on page load */
[x-cloak] {
    display: none !important;
}

.h-30px {
    height: 30px !important;
}

/* Max height 60px */
.mx-h-40 {
    max-height: 40px !important;
}

/* Max height 60px */
.mx-h-50 {
    max-height: 50px !important;
}

/* Max height 60px */
.mx-h-60 {
    max-height: 60px !important;
}

/* Max height 90px */
.mx-h-90 {
    max-height: 90px !important;
}

/* Max height 100px */
.mx-h-100 {
    max-height: 100px !important;
}

/* Max height 120px */
.mx-h-120 {
    max-height: 120px !important;
}

/* Min height 400px */
.mn-h-400 {
    min-height: 400px !important;
}

/* Table column bordered */
.table-column-bordered tr td {
    border-left-width: 1px;
    border-left-style: solid;
    border-left-color: #eaeaea;
}

/* Table column bordered */
.table-column-bordered-rtl tr td:not(:last-child) {
    border-left-width: 1px;
    border-left-style: solid;
    border-left-color: #eaeaea;
}

/* Table column bordered */
.table-column-bordered-ltr tr td:not(:first-child) {
    border-left-width: 1px;
    border-left-style: solid;
    border-left-color: #eaeaea;
}

/* Backgrounds */
.bg-purple {
    background: #b699bf !important;
    color: #fff !important;
    font-weight: bold;
}

/* Text rotation */
.rotate90 {
    height: 60px !important;
    width: 20px !important;
}

.rotate90 span {
    width: 50px !important;
    position: absolute;
    -webkit-transform: rotate(-90deg) translate(11px, -25px);
}

/* Text rotation */
.rotate270 {
    height: 70px !important;
    width: 20px !important;
}

.rotate270 span {
    width: 50px !important;
    position: absolute;
    -webkit-transform: rotate(-270deg) translate(-5px, -25px);
}

/* For Modal Printing */
@media screen {
    #printSection {
        display: none;
    }
}

/* Printing specification */
@media print {
    html,
    body {
        height: 100% !important;
        max-height: 100% !important;
        overflow: hidden !important;
    }
    body * {
        visibility: hidden;
        /* max-width: 100%; */
    }

    /* Print section: used by Javascript print function */
    #printSection,
    #printSection * {
        visibility: visible;
    }

    #printSection {
        position: absolute;
        width: 100%;
        left: 0;
        top: 0;
    }

    /* tbody::after {
        content: ''; display: block !important;
        page-break-after: always !important;
        page-break-inside: avoid !important;
        page-break-before: avoid !important;        
    } */

    /* table { 
        page-break-inside:auto !important; 
    }

    tr { 
        page-break-inside:avoid !important; 
        page-break-after:auto !important; 
    } */

    /* Start: Table bordering properties */
    /* .bordered-print {
        border: none !important;
    }

    .bordered-print td,
    th {
        border: 1px solid #000 !important;
    }

    .bordered-print > tbody > tr:last-child td {
        border: 1px solid #000 !important;
    }

    .bordered-print th {
        font-weight: bold !important;
    } */
    /* End: Table bordering properties */

    .break-always {
        page-break-after: always;
    }
}

.ml-auto {
    margin-left: auto;
}

.table-accent-bg-none {
    --bs-table-accent-bg: none !important;
}

.avatar-img {
    width: 130px;
    height: auto;
    aspect-ratio: 3 / 4;
    border-radius: 10px !important;
}
