﻿
/* Body For All The Site 
--------------------------------*/
body {
    font-family: 'Cairo-Regular';
    font-size: 14px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 0px;
    padding-right: 0px;
}
/* --------------------- End Body ------------------------------- */

.fullControl-text {
    text-align: right;
    position: absolute;
    top: 20%;
    right: 20%;
    color: black;
}

.meal-text {
    text-align: right;
    position: absolute;
    top: 35%;
    right: 20%;
    color: black;
}

.meal-textMeal {
    text-align: right;
    position: absolute;
    top: 25%;
    right: 20%;
    color: black;
}

.normal-text {
    text-align: right;
    top: 35%;
    right: 20%;
    color: black;
}

.center-text {
    text-align: center;
    color: black;
}

.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.2rem 0.2rem;
    font-family: 'Cairo-Regular';
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
/*    border-radius: 0.25rem;
*/    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-size: 14px;
    line-height: 1.2;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.input-group > .form-control:not(:first-child), .input-group > .custom-select:not(:first-child) {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    font-size: 14px;
}

.input-group > .form-control:not(:last-child), .input-group > .custom-select:not(:last-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    font-size: 14px;
}

  .input-group > .input-group-prepend > .btn
, .input-group > .input-group-prepend > .input-group-text
 {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    font-size: 14px;
}

  .input-group > .input-group-append > .btn
, .input-group > .input-group-append > .input-group-text
, .input-group > .input-group-append:not(:last-child) > .btn
, .input-group > .input-group-append:not(:last-child) > .input-group-text
 {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    font-size: 14px;
}

/*-------------------------------------------------------------------------------------------------------------*/
/* cart */

.btnAddToCart {
    right: 25%;
}

@media screen and (max-width: 768px) {

    .btnAddToCart {
        right: 30%;
    }
}


.popup {
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 100%;
    width: 300px;
    margin-top: 0;
    background: #ffffff;
    margin-left: 0px;
    left: 0px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.3);
}/*-------------------------------------------------------------------------------------------------------------*/

/*-------------------------------------------------------------------------------------------------------------*/
/*# Header Override
--------------------------------------------------------------*/
.header {
    /*padding-right: 20px;*/
}

    .header .search-form button {
        margin-right: -30px;
    }

.logo img {
    margin-left: 6px;
}

.header-nav .nav-icon {
    margin-left: 25px;
}

.header .toggle-sidebar-btn {
    padding-right: 10px;
}

.header-nav .profile .dropdown-item i {
    margin-left: 10px;
}
/*--------------------------------------------------------------
/*--------------------------------------------------------------
# Sidebar Override
--------------------------------------------------------------*/

/*.sidebar {
    right: 0;
}*/

@media (max-width: 1199px) {
    .toggle-sidebar .sidebar {
        right: -300px;
    }
}

@media (min-width: 1200px) {

    .toggle-sidebar #main,
    .toggle-sidebar #footer {
        margin-right: 0;
    }

    .toggle-sidebar .sidebar {
        right: -300px;
    }
}

.sidebar-nav .nav-link i {
    margin-left: 10px;
}

.sidebar-nav .nav-link .bi-chevron-down {
    margin-left: 0;
}

.sidebar-nav .nav-content a {
    padding: 10px 40px 10px 0;
}

    .sidebar-nav .nav-content a i {
        margin-left: 8px;
    }

/*--------------------------------------------------------------
# DataTable Over ride
--------------------------------------------------------------*/
/* Flip the length and search controls in Arabic */
#example_wrapper > .row.justify-content-between:first-of-type {
    display: flex;
    flex-direction: row-reverse;
}

/* Remove auto margins */
#example_wrapper .dt-layout-start.mr-auto {
    margin-right: 0 !important;
}

#example_wrapper .dt-layout-end.ml-auto {
    margin-left: 0 !important;
}

#example_wrapper > .row.justify-content-between:last-of-type {
    display: flex;
    flex-direction: row-reverse;
}

#example_wrapper .dt-layout-start.mr-auto,
#example_wrapper .dt-layout-end.ml-auto {
    margin: 0 !important;
}

#example_wrapper .dt-length select {
    direction: rtl;
    text-align: center;

    /* Flip the dropdown arrow for RTL */
    background-position: left center !important;
    background-origin: content-box !important;
}

table.dataTable.table > tbody > tr.dtrg-group > th {
   text-align: right !important;
}