﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

:root {
    --colors-navbar: #118086 ;
    /* --colors-table-heading: #188499 ; */
    --colors-table-heading: rgba(26, 91, 118, 0.95);
    /* color-scheme:light */
}

/* // Chrome can't decode font type of this: url(/css/DroidKufi-Regular.woff) format('woff'), So it is removed. */
@font-face {
    font-family: 'Droid-Arabic-Kufi';
    font-style: normal;
    font-weight: 400;
    src: url(/notes/css/DroidKufi-Regular.eot);
    src: url(/notes/css/DroidKufi-Regular.eot?#iefix) format('embedded-opentype'),
        url(/notes/css/DroidKufi-Regular.woff2) format('x-woff2'),
        url(/notes/css/DroidKufi-Regular.ttf) format('truetype');
}

@font-face {
    font-family: 'Droid-Arabic-Kufi2';
    font-style: normal;
    font-weight: 400;

    src: url(/notes/css/DroidKufi-Regular.eot);
    src: url(/notes/css/DroidKufi-Regular.eot?#iefix) format('embedded-opentype'),
        url(/notes/css/DroidKufi-Regular.woff2) format('x-woff2'),
        url(/notes/css/Droid.Arabic.Kufi.ttf) format('truetype');
}


@font-face {
    font-family: 'MOE_Light';
    font-style: normal;
    font-weight: 400;
    src: url(/notes/css/GE_SS_Two_Light.otf);
}

/* @font-face {
    font-family: 'MOE_Light';
    font-style: normal;
    font-weight: 400;
    src: url(/css/MOE_Light.ttf) format('truetype');
} */

@font-face {
    font-family: 'MOE_Bold';
    font-style: normal;
    font-weight: 400;
    src: url(/notes/css/GE-SS-Two-Bold.otf) format('opentype');
}



/* // <uniquifier>: Use a unique and descriptive class name */
/* // <weight>: Use a value from 200 to 1000 */
.cairo-extra-light {
    font-family: "Cairo", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
    font-variation-settings: "slnt" 0;
}
.cairo-light {
  font-family: "Cairo", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-variation-settings: "slnt" 0;
}
.cairo-regular {
    font-family: "Cairo", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "slnt" 0;
}
.cairo-medium {
    font-family: "Cairo", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-variation-settings: "slnt" 0;
}
.cairo-semi-bold {
    font-family: "Cairo", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings: "slnt" 0;
}
.cairo-bold {
    font-family: "Cairo", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings: "slnt" 0;
}
.cairo-extra-bold {
    font-family: "Cairo", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
    font-variation-settings: "slnt" 0;
}
.cairo-black {
    font-family: "Cairo", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-variation-settings: "slnt" 0;
}
.cairo-1000 {
    font-family: "Cairo", sans-serif;
    font-optical-sizing: auto;
    font-weight: 1000;
    font-style: normal;
    font-variation-settings: "slnt" 0;
}



a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;

    font-family: "Cairo", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
    font-variation-settings: "slnt" 0;
}
@media (min-width: 768px) {
    html {
        font-size: 16px;

        font-family: "Cairo", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
    font-variation-settings: "slnt" 0;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}
.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;

    
    /* background-image: url('https://tr.medu.sa/notes/images/background.jpg');  */
    /* background-image: url('https://localhost:5001/images/anjez-background.png'); */
    /* background-image: url('https://localhost:5001/images/duplo264.jpg'); */
    /* background-image: url('https://tr.medu.sa/notes/images/anjez-background.png'); */
    background-image: url('../images/anjez-background.png');
    background-size: 100vw 100vh;
    background-repeat: repeat-y;
    /* background-size: cover;
    background-position: center center; 
    text-align: right;  */

    background-attachment: fixed;


    font-family: "Cairo", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "slnt" 0;

	font-size: 1.1rem;

}
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    /* Set the fixed height of the footer here */
    height: 60px;
    line-height: 60px; /* Vertically center the text there */
}

/* .top-banner {
    height: 200px;
    background-image: linear-gradient(to right, rgba(145, 203, 201, 0.5), rgba(145, 203, 201, 1));
} */

.top-banner {
    height: 200px;
    /* background-image: linear-gradient(to right, rgba(145, 203, 201, 0.5), rgba(145, 203, 201, 1)); */
    /* background-color: rgb(250 250 250/1); */
}

nav {
    /* background-color: var(--colors-navbar); */
    background-color: rgba(26, 91, 118, 0.95);
}

table {
    text-align: center;
}
table thead {
    /* background-color: #616161; */
    /* background-color: #114F5F; */
    /* background-color: var(--colors-table-heading); */
    background-color: rgba(26, 91, 118, 0.95);
}
table tbody {
    /* text-align: center; */
    /* color: var(--colors-table-heading); */
    color: rgba(26, 91, 118, 0.95);
}
.table-dark{
    /* background-color: var(--colors-table-heading); */
    background-color: rgba(26, 91, 118, 0.95);
    color: white;
}



.table-cell-red{
    background-color: red; 
    color: white;
}

.table-cell-yellow{
    background-color: yellow; 
    color: var(--colors-table-heading);
}

.table-cell-orange{
    background-color: darkorange; 
    color: var(--colors-table-heading);
    /* color: darkorange; */
}



.app-header{
    /* 
        Original image has size of 2400x1008.
        Aspect ratio as a percentage = 42%.
        1008 (height) / 2400 (width) = 42 === 42%.

        600/940=63.829%
    */
    
    width: 100%; /* complete width of its parent  */
    padding-top: 63.829%; /* padding top of our element width 100% which will add to the height of the element ==> Height/Width=Percentage => Aspect ratio as a percentage   */
    background: url('../images/Anjez-Bar-Mobile.png') no-repeat center;
    background-size: contain; /* contain or cover => both works fine */
}


.hidden-display {
    display: none;
}

.hidden-display-cell {
    display: none;
}

/* Hide the watermark on screen */
.watermark-grid {
    display: none;
}

@media (min-width: 768px) {
    /* 
        Original image has size of 2400x1008.
        Aspect ratio as a percentage = 42%.
        1008 (height) / 2400 (width) = 42 === 42%.
    */
    .app-header {
        width: 100%; /* complete width of its parent  */
        padding-top: 9.89%; /* padding top of our element width 100% which will add to the height of the element ==> Height/Width=Percentage => Aspect ratio as a percentage   */
        background: url('../images/Anjez-Bar.png') no-repeat center;
        background-size: contain; /* contain or cover => both works fine*/

    }
}

@media print {
    .app-header {
        width: 100%; /* complete width of its parent  */
        padding-top: 9.89%; /* padding top of our element width 100% which will add to the height of the element ==> Height/Width=Percentage => Aspect ratio as a percentage   */
        background: url('../images/Anjez-Bar1.png') no-repeat center;
        background-size: contain; /* contain or cover => both works fine*/
    }

    .no-print {
        display: none;
    }

    .hidden-display {
        /* display: block; */
        display: flex;
    }

    .hidden-display-cell {
        /* display: block; */
        display: table-cell;
    }

    body {
        background-image: none;
        font-size: 0.9rem;
    }

    h3 {
        margin-top: 10px;
    }

    /* table {
        border-color: black;
        border-style: solid;
        border-width: 1px;
    } */

    /* tr {
        border-color: black;
        border-style: solid;
        border-width: 1px;
    } */

    thead.table-dark tr td {
        border-color: gray;
        border-style: solid;
        border-width: 0.1px;

        vertical-align: middle;
    }

    tbody#myTable tr td {
        border-color: gray;
        border-style: solid;
        border-width: 0.1px;

        vertical-align: middle
    }

    /* .print-color{
        background-color: transparent;
        color: black;
    } */

    td.table-cell-red{
        /* background-color: red !important;  */
        background-color: transparent; 
        /* color: var(--colors-table-heading); */
        color: red;
    }
    
    td.table-cell-yellow{
        background-color: transparent; 
        /* color: var(--colors-table-heading); */
        color: yellow;
    }

    td.table-cell-orange{
        background-color: transparent; 
        /* color: var(--colors-table-heading); */
        color: darkorange;
    }

    thead.table-dark tr td{
        background-color: var(--colors-table-heading) !important;
        color: white;

        /* border-color: black; */
    }




    /* Display the watermark only when printing */
    .watermark-grid {
        display: grid;
        position: fixed;
        /* position: absolute; */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        grid-template-columns: repeat(4, 1fr); /* Adjust columns as needed */
        grid-template-rows: repeat(5, 1fr); /* Adjust rows as needed */
        color: rgba(0, 0, 0, 0.1); /* Light color for subtle effect */
        pointer-events: none;
        /* z-index: -1; */
        z-index: 1;
        font-size: 3em; /* Adjust font size */
        transform: rotate(-30deg); /* Angle for watermark text */
        text-align: center;
    }

    /* Style for individual watermark text */
    .watermark-text {
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }
}






.btn-success{
    background-color: #17a2b8;
}
.btn-success:hover{
    background-color: #28a745;
}

.btn-warning{
    background-color: #ffd7b5;
}

.btn-primary{
    /* background-color: #ADD8E6; */
    background-color: #81d2ed;
}

