﻿@font-face {
    font-family: 'Noto Kufi Arabic';
    font-style: normal;
    font-weight: 400;
    src: url("/gradingapp/javax.faces.resource/uj-layout/fonts/NotoKufiArabic-Regular.ttf.xhtml") format('truetype');
}

@font-face {
    font-family: 'Noto Kufi Arabic';
    font-style: normal;
    font-weight: 700;
    src: url("/gradingapp/javax.faces.resource/uj-layout/fonts/NotoKufiArabic-Bold.ttf.xhtml") format('truetype');
}

root {
    font-size: 0.96rem !important;
}

.ui-widget, .ui-widget .ui-widget {
    font-size: 0.96rem !important;
}

body {
    font-family: 'Noto Kufi Arabic', serif !important;
}

    body .ui-widget {
        font-family: 'Noto Kufi Arabic', serif !important;
    }

h1 {
    font-size: 2.40rem;
}

h2 {
    font-size: 1.90rem;
}

h3 {
    font-size: 1.65rem;
}

h4 {
    font-size: 1.40rem;
}

h5 {
    font-size: 1.15rem;
}

h6 {
    font-size: 0.95rem;
}

.login-body .login-wrapper .login-panel > p {
    margin-top: 25px;
}

.login-body .login-wrapper .login-panel .logo {
    margin-bottom: 12px;
}

.login-body .login-wrapper .login-panel {
    padding: 25px 20px;
}

.layout-topbar .topbar-separator {
    display: block;
    width: 1px;
    border-left: 1px solid #dee2e6;
    align-self: stretch;
    margin: 0 1rem;
}

.login-body .login-wrapper-2 {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    flex-direction: column;
    height: 1vh;
}

    .login-body .login-wrapper-2 .login-panel-2 {
        width: 100%;
        height: 100%;
        text-align: center;
        padding: 40px 20px;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-pack: center;
        justify-content: center;
        flex: 1 1 100%;
    }

.login-body .login-wrapper .login-panel .login-form > input {
    margin-bottom: 15px;
}

.login-body .login-wrapper-2 .login-footer h6 {
    line-height: 17px;
    margin: 0;
    color: rgba(41, 50, 65, 0.5);
    font-weight: 500;
}

.layout-topbar-light .layout-topbar .layout-topbar-wrapper .layout-topbar-left .layout-topbar-logo {
    display: none;
}

.layout-topbar-dark .layout-topbar .layout-topbar-wrapper .layout-topbar-left .layout-topbar-logo {
    display: none;
}

body .ui-dialog .ui-dialog-titlebar .ui-dialog-title {
    font-size: 1.00rem;
}

.product-badge {
    border-radius: 2px;
    padding: 0.25em 0.5rem;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.3px;
}

    .product-badge.status-accepted {
        background: #C8E6C9;
        color: #256029;
    }

    .product-badge.status-rejected {
        background: #FFCDD2;
        color: #C63737;
    }

    .product-badge.status-pending {
        background: #FEEDAF;
        color: #8A5340;
    }

/*****************************************************************/
@media screen and (min-width: 992px) {
    .layout-content {
        padding-top: 3px;
        padding-right: 22px;
        padding-bottom: 3px;
        padding-left: 36px;
    }

    .layout-wrapper.layout-static .menu-wrapper .layout-menu {
        max-width: 244px;
    }

        .layout-wrapper.layout-static .menu-wrapper .layout-menu > li {
            min-width: 244px;
        }

    .menu-wrapper.layout-sidebar-active .layout-menu {
        max-width: 244px;
    }

        .menu-wrapper.layout-sidebar-active .layout-menu > li {
            min-width: 244px;
        }

    .layout-wrapper.layout-slim .topbar-left .topbar-separator {
        display: none;
    }

    .layout-wrapper .layout-topbar .topbar-left .topbar-separator {
        display: none;
    }

    .layout-wrapper .layout-topbar .viewname {
        font-size: 1rem;
    }

    .layout-topbar .viewname {
        font-weight: 550;
        font-size: 1.20rem !important;
        padding: 2px 15rem;
    }
}

@media screen and (max-width: 991px) {
    .layout-topbar .viewname {
        font-weight: 550;
    }

    .menu-wrapper .sidebar-logo img {
        display: none;
    }

    .layout-content {
        padding: 6px 14px;
    }
}

@media screen and (max-width: 40em) {
    .ui-fileupload-buttonbar .ui-button .ui-button-text {
        display: unset;
    }
}

@media ( max-width : 640px) {
    .ui-datatable-reflow .ui-datatable-data td[role="gridcell"]:not(.ui-helper-hidden) {
        display: flex;
    }

    .user-profile {
        display: none !important;
    }

    .ui-datatable-reflow .ui-datatable-data td[role="gridcell"] .ui-column-title {
        font-weight: bold;
        min-width: 45%;
        margin: -0.4em 1em -0.4em 0.4em;
    }

    .ui-reflow-label {
        display: none !important;
    }

    .ui-datatable-reflow .ui-reflow-dropdown {
        color: #222222;
        background: #ffffff;
        box-shadow: inset 0 2px 2px #8f8f8f;
        margin: 0;
        margin-top: 0px;
        margin-right: 0px;
        margin-bottom: 0px;
        margin-left: 0px;
        padding: 4px;
        padding-top: 4px;
        padding-right: 4px;
        padding-bottom: 4px;
        padding-left: 4px;
        border: 1px solid #77d5f7;
        border-radius: 5px;
    }

    .ui-fluid .ui-selectonemenu {
        min-width: 100px !important;
    }

    body .ui-selectonemenu-panel {
        max-width: 300px;
    }

        body .ui-selectonemenu-panel .ui-selectonemenu-items .ui-selectonemenu-item {
            white-space: normal;
        }
}
