﻿/*@import url(https://fonts.googleapis.com/earlyaccess/droidarabickufi.css);
html, body, table, input, select {
    font-family: 'Droid Arabic Kufi', Tahoma;
    font-size: 14px;
}
@font-face {
    font-family: "JF Flat Regular";
    src: url('fonts/JF-Flat-regular.eot');
    src: url('fonts/JF-Flat-regular.eot?#iefix') format('embedded-opentype'), url('fonts/JF-Flat-regular.svg#JF Flat Regular') format('svg'),
    url('fonts/JF-Flat-regular.woff') format('woff'),
url('fonts/JF-Flat-regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}

*/

@import url('fonts/neo-sans-arabic.css');

:root {
    scroll-behavior: initial;
}

html, body {
    font-family: 'Neo Sans Arabic', sans-serif;
    font-size: 13px;
}

body {
    overflow-x: clip;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

    body form {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

body, caption {
    text-align: initial;
}

table, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

table {
    border-collapse: collapse;
    border: 0;
    padding: 0;
    border-spacing: 0;
}

    table td, table th {
        border: 0;
        padding: 0;
    }

body {
    /*background-color: #e6efd4;*/
    margin: 0;
}

img {
    border: none;
}

.textbox, input, select, textarea {
    border: 1px solid #c3c3c3;
    border-collapse: collapse;
}

    input[type='button'], input[type='submit'], a.btn, button.btn {
        min-height: 2.5em; /*border: 1px solid #c3c3c3;*/
        min-width: 3em;
        font-weight: bold;
        color: Black;
        background-color: ghostwhite;
        cursor: pointer;
        margin-bottom: 2px;
        display: inline-flex;
        align-items: center;
        margin-inline-start: 0.3em;
        border-radius: 0.4em;
    }

.num {
    direction: ltr;
    text-align: right;
}

input[readonly], input[disabled], select[disabled], .gray {
    background-color: #DADADA !important;
}

input[type='text']:focus, input[type='password']:focus, select:focus, textarea:focus {
    background-color: lavender;
    color: Black;
    border: 1px solid blue;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
}


.fwPanel textarea {
    /*width: 100%;*/
}

.Combo, .fwPanel select {
    color: #293431;
}

.container-fluid.mHeader {
    max-width: 120em;
}

.mHeader .col {
    padding: 0px;
    direction: rtl;
    /*height: 127px;*/
    background-image: url(../../static/img/header/header_left.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: right;
}

    .mHeader .col img {
        max-width: 100%;
    }


.Copyrights {
    font-size: .8em;
    color: #4b4b4b;
    padding: 0 1em 1em;
}

.box {
    max-width: 100%;
    padding: 0;
    border: 0;
    /*border-radius: 1em;*/
    margin: 0;
    flex-grow: 1;
    /*min-height: 100vh;*/
    max-width: 100vw;
    /*overflow: scroll;*/
    /*z-index: auto;*/
}

.HeadBG {
    /*background: url("../../static/img/HeadBG.jpg");*/
    color: #B9940C;
    font-family: 'Neo Sans Arabic', sans-serif;
    font-size: min(1.35em,3vw);
    /*font-weight: bold;*/
    padding: 3px;
}
/*****************Grid **************/
table.Grid > tbody > td {
    /*color: #000000; 	background-color: #ffffff;*/
    padding: 3px;
}

table.Grid {
    border: thin 1px solid #9aeeb2;
    width: 100%;
}

    table.Grid > tbody > tr td {
        color: #000000;
        text-decoration: none;
    }

    table.Grid > tbody > tr.head {
        text-indent: 3px; /*padding-left was not working, therefore text-indent has been used 						  just to sync the heading text of both type of grids (asp:gridview and componentart:grid)*/
        font-weight: bold; /*background: #E0DFE3 url(../../static/img/header_rowBg.gif) repeat-x bottom;*/
        height: 24px; /*border-color: #9eaab2;*/
        background-color: #CDC;
    }

        table.Grid > tbody > tr.head a {
            color: #36923c;
        }

    table.Grid > tbody > tr:nth-child(odd) td {
        background-color: #eaeaea;
    }

    table.Grid > tbody > tr.selected td {
        background-color: #eeffee;
    }

    table.Grid > tbody > tr:hover td {
        background-color: #BFFF8C;
        /*cursor: pointer;*/
    }

    table.Grid tr.foot {
    }
/* end grid */
.MandatoryAsterisk {
    color: Red;
}

.modalBackground {
    background-color: Gray; /*filter: alpha(opacity=70); 	opacity: 0.7;*/
    z-index: 10000 !important;
}

.modalPopup {
    background-color: White;
    border: Solid 3px #AACCFF;
    padding: 0px;
    width: 100%;
    color: #000000;
    z-index: 11000 !important;
}

.right {
    text-align: right;
}

.float {
    float: left;
}

.floatOpp {
    float: right;
}

.tab {
}

.mandatory {
    color: Red;
}

.english {
    direction: ltr;
}

fieldset {
    padding: 5px;
}

    fieldset legend {
        font-weight: bold;
        /*font-size: 12px;*/
        /*font-family: Tahoma;*/
        margin: 0 8px;
        white-space: nowrap;
    }

.rtl {
    direction: rtl;
}

.ltr {
    direction: ltr;
}

.PlayerPhoto {
    width: 100%;
}

.photo {
    border: 1px solid black;
}

    .photo img {
        width: 150px;
        max-height: 200px;
    }

.photos_list {
    /*border: 1px solid #aaaaaa;*/
    text-align: center;
    /*padding: 4px;*/
    display: flex;
    flex-wrap: wrap;
}

    .photos_list > div {
        padding: 0.5em;
    }

.wrnMsg {
    padding: 0 10px;
    color: Red;
}

.imgSign {
    max-width: 200px;
}

/******************************* popup *******************************/
.grayPanel {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url(../../static/img/trans.gif);
}

div.grayPanel div {
    position: absolute;
    width: 27px;
    height: 38px;
    background-image: url(../../static/img/hour-glass-s.png);
}

.popupBG {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-image: url(../../static/img/trans.gif);
}

.popup .panel {
    padding: 10px;
    background-color: #ffffff;
    width: 100%;
}

.popup .dragme {
    cursor: move;
    background-color: Blue;
    color: white;
    font-weight: bold;
    height: 20px;
    padding: 1px 5px;
}

.popup .window {
    position: absolute;
    border-style: solid;
    border-color: black;
    border-width: 1px 2px 2px 1px;
    visibility: hidden;
    width: auto;
}

.popup #scroll {
    overflow: auto;
}
/******************************* end popup *******************************/
.tab_button {
    background-color: #dddddd;
    border: 1px solid #888888;
    border-bottom: 1px solid #000000;
    cursor: pointer;
    padding: 5px;
}

    .tab_button:hover {
        background-color: #eeeeee;
    }

.tab_pressed {
    background-color: white;
    border: 1px solid black;
    border-bottom: 1px solid white;
    font-weight: bold;
    padding: 5px;
    border-top: 3px #97a131 solid;
}

div[id$="tabButtons"] table td {
    display: inline-block;
    padding: 0;
    padding-top: 4px;
    height: auto !important;
}

    div[id$="tabButtons"] table td label {
        height: 100%;
        display: inline-block;
        border-radius: 5px 5px 0 0;
    }

.RedBackGround td {
    background: #ff9999 !important;
}

.smry {
    color: Red;
    background-color: #ffffaa;
    border: 1px solid #ff11ff;
    padding: 4px;
}

    .smry ul {
        margin: 3px;
    }

img.attImg {
    padding: 0 5px;
}

div.tooltip img {
    max-height: 250px;
    max-width: 500px;
    background-color: white;
    border: 1px solid black;
    padding: 4px;
}


/*New responsive Menu*/
.navbar.menu {
    padding: .1em 1em;
    background-color: #a21c18;
    /*font-weight: bold;*/
    /*background-image: url("../../static/img/menu/menu_bg.jpg");*/
    /*height: 27px;*/
    border: 1px black solid;
    vertical-align: top;
    z-index: auto;
    font-family: 'Neo Sans Arabic', sans-serif;
    /*font-size: 13px;*/
    /*font-weight: 500;*/
}

    .navbar.menu a, .navbar.menu i {
        color: white;
    }

    .navbar.menu .language-icon {
        margin: 0;
    }

        .navbar.menu .language-icon a img {
            max-width: 2em;
        }

    .navbar.menu .user {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

        .navbar.menu .user .name {
            /*max-width: 15em;*/
        }

        .navbar.menu .user .logout {
            font-size: 1.5em;
            padding: 0 .5em;
        }

    .navbar.menu .root li li {
        border-bottom: none;
        min-width: 15em;
    }

    .navbar.menu .root li:nth-child(odd) {
        background-color: #0002;
    }

.menu .root, .menu .root ul {
    padding: 10px;
    display: contents /*inline-block*/;
    margin: 0;
}

    .menu .root li {
        display: block;
        padding: .5em;
    }

        .menu .root li li {
            border-bottom: dashed;
        }

        .menu .root li a {
            white-space: nowrap;
        }

        .menu .root li ul {
            display: none;
            visibility: hidden;
            opacity: 0;
            /*display: block;*/
            padding: 20px;
            margin-top: -0.25em;
            z-index: 1;
            /*display: flex;*/
            flex-direction: column; /* flow top → bottom */
            flex-wrap: wrap; /* wrap into next column */
            /*max-height: 29em;*/
            column-gap: 1em;
            min-width: max-content;
            /* animate dropdown */
            /*display: block;*/
            opacity: 0;
            transform: translateY(10px);
            transition: opacity .5s ease, transform .5s ease;
            pointer-events: none;
        }

            .menu .root li ul a {
                color: white;
                width: 100%;
                display: inline-flex;
                justify-content: space-between;
                text-decoration: none;
            }

            .menu .root li ul ul {
                margin: 0 10mm;
            }

    .menu .root ul {
        position: absolute;
        background-color: #9b1313;
        border: #fed136 solid 1px;
        box-shadow: 5px 5px 10px grey;
        border-radius: 2mm;
    }

    .menu .root > li {
        display: block;
    }

.menu ul.root {
    padding-top: 0;
    padding-bottom: 0;
}

.navbar.menu li li a.has_sub:after {
    content: "\f107";
    margin-inline-start: 1em;
    font-family: 'Font Awesome 5 Free';
    font-weight: bold;
    font-size: 1.25em;
    transition: all .2s;
    transform: rotate(-90deg);
}

@media (min-width: 768px) {
    .navbar.menu {
        background-image: url("../../static/img/menu/menu_bg.jpg");
    }

    .menu .root > li {
        border-inline-end: dashed 1px white;
        display: inline-block;
        padding-inline-start: 0.75em;
        padding-inline-end: 0.75em;
    }

    .menu .root li ul {
        max-height: 29em;
    }
}

.menu .root > li:last-child {
    border-inline-end: none;
}

.menu .root li:hover {
    background-color: #FFF4 !important;
}

    .menu .root li:hover > ul, .menu .root li ul:hover {
        /*display: block;*/
        /*transition: all 0.5s ease-in-out;*/
        /*padding: 10px;*/
        visibility: visible;
        opacity: 1;
        margin-top: -0.2em;
        display: flex;
        /* animate dropdown */
        transform: translateY(0);
        pointer-events: auto;
    }

    .menu .root li:hover > a:after {
        transform: rotate(0deg) !important;
    }

@media (max-width: 767px) {
    .navbar-custom .navbar-collapse {
        order: 1;
    }

        .navbar-custom .navbar-collapse .nav {
            flex-direction: column;
        }

            .navbar-custom .navbar-collapse .nav .language-icon {
                order: 1;
            }
}
/*end menu*/

.hide {
    display: none;
}

@media print {
    .noprint {
        display: none !important;
    }
}

a:visited {
    color: #804180;
}

.btnExport {
    background: url('../../static/img/btn/export-xls.png') left center no-repeat;
    background-size: contain;
    padding-left: 2.4em;
}

/*override bootstrap*/
fieldset legend {
    font-size: 1em;
}

div.dropdown {
    display: contents;
}

    div.dropdown .dropdown-menu .btn {
        white-space: nowrap;
    }

    div.dropdown .dropdown-menu.show {
        text-align: start;
        padding: 0.6em;
        gap: 0.5em;
        display: flex;
        flex-direction: column;
        /*align-items: flex-start;*/
    }

.dropdown-toggle::after {
    margin-inline-start: 0.255em;
    margin-inline-end: 0;
}

.fwPanel input[type='radio'] {
    width: auto;
    margin-inline-start: 2em;
    margin-inline-end: .5em;
}

hr {
    opacity: 0;
}
