﻿/*
    Al-Madina for Software Solutions

    Colors Palette:
    - Deep Green #107386
    - Background Light Green #c2e9fb78
*/

/* ############# Fonts ############# */

@font-face {
    font-family: DroidKufi-Regular;
    src: url(../fonts/DroidKufi-Regular.woff2) format("woff2"), url(../fonts/DroidKufi-Regular.woff) format("woff"), url(../fonts/DroidKufi-Regular.eot) format("embedded-opentype"), url(../fonts/DroidKufi-Regular.ttf) format("TrueType");
}
@font-face {
    font-family: Rakkas-Regular;
    src: url(../fonts/Rakkas-Regular.otf) format("TrueType"), url(../fonts/Rakkas-Regular.ttf) format("opentype");
}

/* ############# Setting Defaults ############# */

body {
    text-align: center;
    background-color: #c2e9fb78;
    height: 100vh;
    font-size: 20px;
    font-family: DroidKufi-Regular !important;
    color: #107386;
}

.login-body {
    color: #fff;
    background: #c2e9fb78;
}

:focus {
    outline: 0 !important;
}

a:focus, a:visited, a:link, a:hover, a:active {
    text-decoration: none !important;
}

.container, .container-fluid, .row, input {
    direction: rtl;
    text-align: right;
}

.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
    padding-right: 0px;
    padding-left: 0px;
}

/* ############# Buttons ############# */

.btn.active, .btn:active {
    outline: 0;
    -webkit-box-shadow: inset 0 3px 5px rgba(107, 182, 204, 0.25);
    box-shadow: inset 0 3px 5px rgba(107, 182, 204, 0.25);
}

.btn-white {
    color: #107386;
    background-color: #fff;
    border-color: #fff;
}

    .btn-white:focus, .btn-white:visited, .btn-white:link, .btn-white:hover, .btn-white:active {
        color: #107386;
        background-color: #fff;
        border-color: #fff !important;
        outline: 0 !important;
    }

.btn-primary {
    padding: 5px 15px;
    background-color: #107386;
    border-color: #107386;
}

    .btn-primary:focus, .btn-primary:visited, .btn-primary:link, .btn-primary:hover, .btn-primary:active {
        background-color: #107386;
        border-color: #107386;
        outline: none !important;
    }

        .btn-primary:active:hover, .btn-primary.active:hover, .open > .dropdown-toggle.btn-primary:hover, .btn-primary:active:focus, .btn-primary.active:focus, .open > .dropdown-toggle.btn-primary:focus, .btn-primary:active.focus, .btn-primary.active.focus, .open > .dropdown-toggle.btn-primary.focus {
            color: #fff;
            background-color: #107386;
            border-color: #107386;
        }

.btn-default:focus, .btn-default:visited, .btn-default:link, .btn-default:hover, .btn-default:active {
    outline: 0 !important;
}

.btn-rounded {
    padding: 5px;
    border-radius: 10px;
}

.btn-block {
    padding: 8px;
    font-size: 18px;
    border-radius: 10px;
}

.btn-default.active, .btn-default:active, .open > .dropdown-toggle.btn-default {
    background-color: #fff !important;
}

/* ############# Inputs ############# */

.input-transparent {
    background-color: #ffffff80;
    border-radius: 15px;
    border: 1px;
    transition: ease-in-out 0.25s;
}

    .input-transparent:focus {
        background-color: #ffffffaa;
        border: 0;
        box-shadow: initial;
    }

.search-input {
    border-bottom: 1px solid #6bb6cc;
    border-radius: 0;
    font-size: 20px;
    background-color: #e1f7fd;
    line-height: 27px;
}

.dropdown-menu {
    padding-top: 0;
    background-color: #e1f7fd;
    border-radius: 10px;
    border: 0;
}

    .dropdown-menu li a {
        font-family: DroidKufi-Regular;
        color: #107386;
        font-size: 18px;
    }

/* ############# Login Page ############# */
.login {
    text-align: right !important;
    padding-right: 10px !important;
}

    /* Place Holder CSS */
    .login::-webkit-input-placeholder {
        color: #fff !important;
    }

    .login:-moz-placeholder {
        color: #fff !important;
    }

    .login::-moz-placeholder {
        color: #fff !important;
    }

    .login:-ms-input-placeholder {
        color: #fff !important;
    }
    /* Focus */
    .login:focus::-webkit-input-placeholder {
        opacity: 0;
        -webkit-transition: opacity 0.35s ease-in-out;
        transition: opacity 0.35s ease-in-out;
    }

    .login:focus:-moz-placeholder {
        opacity: 0;
        -moz-transition: opacity 0.35s ease-in-out;
        transition: opacity 0.35s ease-in-out;
    }

    .login:focus::-moz-placeholder {
        opacity: 0;
        -moz-transition: opacity 0.35s ease-in-out;
        transition: opacity 0.35s ease-in-out;
    }

    .login:focus:-ms-input-placeholder {
        opacity: 0;
        -ms-transition: opacity 0.35s ease-in-out;
        transition: opacity 0.35s ease-in-out;
    }

/* ############# Index Page ############# */
#menu {
    margin-top: 0px;
    height: 30vh;
    width: 100%;
    animation-name: menu-animation;
    animation-duration: 1.5s;
}

.widget:focus, .widget:visited, .widget:link, .widget:hover, .widget:active {
    color: #fff !important;
    text-decoration: none !important;
}

/* Add Order Page */
#selectItemBtn, #selectPOSBtn {
    padding: 5px;
    width: 100%;
    border: 0;
    line-height: 25px;
    color: #fb9f8b;
    font-size: 18px;
}

/* DD */

@media only screen and (max-width: 500px) {
    .mt5 {
        margin-top: 2px;
    }
}

@media only screen and (max-width: 1200px) {
    .mt5 {
        margin-top: 5px;
    }
}

.error {
    line-height: 28px;
    color: red;
}

.f-18 {
    font-size: 18px;
}

/* ############# Animations ############# */
.shake {
    animation: shake 0.3s;
    animation-iteration-count: 1;
    background-color: #ffcaca4d;
}

@keyframes shake {
    0% {
        transform: translate(1px, 0px);
    }

    20% {
        transform: translate(-3px, 0px);
    }

    40% {
        transform: translate(1px, 0px);
    }

    60% {
        transform: translate(-3px, 0px);
    }

    80% {
        transform: translate(-1px, 0px);
    }

    100% {
        transform: translate(1px, 0px);
    }
}

.menu-shake {
    animation: shake 0.3s;
    animation-iteration-count: 4;
}

@keyframes menu-animation {
    from {
        opacity: 0.3;
        margin-top: 5vh;
    }

    to {
        opacity: 1;
        margin-top: 0px;
    }
}

@keyframes table-animation {
    from {
        opacity: 0.6;
        /*        margin-top: 1vh;*/
    }

    to {
        opacity: 1;
        /*        margin-top: 0vh;*/
    }
}

#table_paginate {
    text-align: center;
}

/* ############# Dynamics ############# */
.hidden {
    display: none;
}

/* ############# Navigation Bar ############# */

#bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #107386;
    color: #fff !important;
    border-top: 5px;
    z-index: 100;
}

    #bottom-nav .nav-item {
        display: block;
        color: #fff !important;
        padding: 4px 0;
    }

    #bottom-nav .nav-item-clicked {
        background-color: #0b5360;
    }

    #bottom-nav .nav-item .item-icon {
        font-size: 24px;
        text-align: center;
    }

    #bottom-nav .nav-item .item-title {
        margin-top: -2px;
        text-align: center;
        font-size: 13px;
    }

/* ############# dataTables modifications ############# */

.table {
    width: 100% !important;
    font-size: 15px;
    border: 0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

    .table thead {
        background-color: #107386;
        color: #fff;
        font-weight: 500 !important;
    }

    .table tbody {
        background-color: #fff;
        border-bottom-right-radius: 15px;
        border-bottom-left-radius: 15px;
        border: 0;
        text-align: center;
    }

    .table thead th:first-child {
        border-right: none;
        border-top-right-radius: 10px;
        -webkit-border-top-right-radius: 10px;
        -moz-border-radius-topright: 10px;
    }

    .table thead th:last-child {
        border-left: none;
        border-top-left-radius: 10px;
        -webkit-border-top-left-radius: 10px;
        -moz-border-radius-topleft: 10px;
    }

dataTables_wrapper row {
    direction: rtl;
}

table tr th {
    text-align: center;
}

.dataTables_filter input {
    width: 100% !important;
    padding: 5px;
    font-size: 23px;
    height: auto;
}

.dataTables_filter label {
    width: 100%;
}

.table-bordered > tbody > tr > td, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > td, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > thead > tr > th {
    border: 0;
}

.dataTables_scroll {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    animation-name: table-animation;
    animation-duration: 0.5s;
    /*animation-delay: 1s;*/
    margin-top: 0vh;
}

.dataTables_scrollBody {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

@media screen and (max-width: 767px) {
    div.dataTables_wrapper div.dataTables_length, div.dataTables_wrapper div.dataTables_filter, div.dataTables_wrapper div.dataTables_info, div.dataTables_wrapper div.dataTables_paginate {
        text-align: center !important;
    }
}

.pagination {
    margin-top: 10px !important;
    padding-right: 0;
    font-size: 15px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

#table_previous a, #table_next a {
    padding: 9px 11px 5px 11px;
    border: 0;
}

.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #107386;
    border-color: #107386;
    font-size: 21px;
    padding: 2px 10px 1px 10px;
}

.paginate_button a:focus {
    outline: 0;
}

.pagination > li > a, .pagination > li > span {
    float: right;
    color: #107386;
}

/* ############# Custom Classes ############# */
.display-unit {
    border-radius: 5px;
    width: 100%;
    padding: 5px;
    border: #6bb6cc solid 1px;
    text-align: center;
    font-size: 18px;
    min-height: 37px;
}

.label-unit {
    background-color: #6bb6cc;
    color: #fff;
}

.data-unit {
    background-color: #fff;
    color: #6bb6cc;
}

.input-unit {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 10px;
    line-height: 32px;
    font-size: 23px;
    color: #6bb6cc;
    text-align: center;
}

    .input-unit:focus {
        outline: 0;
    }

    /* Place Holder CSS */
    .input-unit::-webkit-input-placeholder {
        color: #6bb6cc !important;
        opacity: 0.7;
        font-size: 18px;
        -webkit-transition: opacity 0.20s ease-in-out;
        transition: opacity 0.20s ease-in-out;
    }

    .input-unit:-moz-placeholder {
        color: #6bb6cc !important;
        opacity: 0.7;
        font-size: 18px;
        -moz-transition: opacity 0.20s ease-in-out;
        transition: opacity 0.20s ease-in-out;
    }

    .input-unit::-moz-placeholder {
        color: #6bb6cc !important;
        opacity: 0.7;
        font-size: 18px;
        -moz-transition: opacity 0.20s ease-in-out;
        transition: opacity 0.20s ease-in-out;
    }

    .input-unit:-ms-input-placeholder {
        color: #6bb6cc !important;
        opacity: 0.7;
        font-size: 18px;
        -ms-transition: opacity 0.20s ease-in-out;
        transition: opacity 0.20s ease-in-out;
    }

    /* Focus */
    .input-unit:focus::-webkit-input-placeholder {
        opacity: 0;
        -webkit-transition: opacity 0.35s ease-in-out;
        transition: opacity 0.35s ease-in-out;
    }

    .input-unit:focus:-moz-placeholder {
        opacity: 0;
        -moz-transition: opacity 0.35s ease-in-out;
        transition: opacity 0.35s ease-in-out;
    }

    .input-unit:focus::-moz-placeholder {
        opacity: 0;
        -moz-transition: opacity 0.35s ease-in-out;
        transition: opacity 0.35s ease-in-out;
    }

    .input-unit:focus:-ms-input-placeholder {
        opacity: 0;
        -ms-transition: opacity 0.35s ease-in-out;
        transition: opacity 0.35s ease-in-out;
    }

.panel {
    background: #fff;
    border: 0;
    border-radius: 10px;
    padding: 0 30px 15px 30px;
    width: 100%;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

    .panel .panel_header {
        background-color: #107386;
        border: 0;
        border-top-right-radius: 10px;
        border-top-left-radius: 10px;
        font-size: 15px;
        color: #fff;
        text-align: center;
        padding: 8px;
    }

.panel_animation {
    animation-name: table-animation;
    animation-duration: 0.5s;
}

.hide {
    visibility: hidden;
}

.show {
    display: block;
    visibility: visible;
}

.loading_panel {
    background-color: #000000a6;
    height: 100vh;
    width: 100%;
    display: none;
    z-index: 9999;
    position: fixed;
    left:0;
    top:0;
}

.circle {
    z-index: 10000;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    border-radius: 50%;
}

.loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #0b5360;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
    /*    margin: 40vh auto;*/
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


#orderAlert {
    font-size: 16px;
    text-align: center;
    direction: rtl;
}