﻿

input[type="number"]{
    width: 50px;
}

    input[type="number"][readonly], input[type="number"][readonly]:focus {
        border: none;
        outline: none;
    }

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1050; /* Sit on top */
    padding-top: 65px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    margin-bottom: 100px;
    padding: 20px;
    border: 1px solid #888;
    width: 60%;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    text-align: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }


form input[type=text], form input[type=date], form input[type=number], form input[type=email], form input[type=datetime-local], form select, form textarea {
    width: 100%;
    padding: 8px 10px;
    margin: 5px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 0.875rem;
}

input[type=submit], form button {
    width: 100%;
    color: white;
    padding: 10px 10px;
    margin: 15px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

input[type=submit]:hover, form button:hover {
    background-color: #45a049;
}

.required {
    color: #6F5569;
    font-weight: bold;
}

label {
    font-size: 0.875rem;
    font-weight: 400;
    margin-top: 1rem;
    margin-bottom: 0.2rem;
    color: #7b809a;
    margin-left: 0.25rem;
}

.dataTables_info, .dataTables_paginate {
    font-size: 0.875rem;
    font-weight: 400;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    box-sizing: border-box;
    display: inline-block;
    min-width: 1.5em;
    padding: 0.3em 0.7em;
    margin-left: 2px;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    color: inherit !important;
    border: 1px solid transparent;
    border-radius: 2px;
    background: transparent;
}

.purbleStatus {
    padding: 5px 10px;
    border: #96869e solid 1px;
    background-color: #e1d8e6;
    border-radius: 25px;
    font-size: 0.6rem;
    color: #96869e;
}

.yellowStatus {
    padding: 5px 10px;
    border: #d9cf16 solid 1px;
    background-color: #f7f7da;
    border-radius: 25px;
    font-size: 0.6rem;
    color: #d9cf16;
}

.blueStatus {
    padding: 5px 10px;
    border: #7cc4de solid 1px;
    background-color: #ddebf0;
    border-radius: 25px;
    font-size: 0.6rem;
    color: #7cc4de;
}


.greenStatus {
    padding: 5px 10px;
    border: #89c98c solid 1px;
    background-color: #dcf5e8;
    border-radius: 25px;
    font-size: 0.6rem;
    color: #67a16a;
}

.grayStatus {
    padding: 5px 10px;
    border: #c7c7c7 solid 1px;
    background-color: #e8e8e8;
    border-radius: 25px;
    font-size: 0.6rem;
    color: #9e9d9d;
}

.orangeStatus {
    padding: 5px 10px;
    border: #d4a446 solid 1px;
    background-color: #faedd4;
    border-radius: 25px;
    font-size: 0.6rem;
    color: #d4a446;
}

.redStatus {
    padding: 5px 10px;
    border: #f59f8e solid 1px;
    background-color: #fad2ca;
    border-radius: 25px;
    font-size: 0.6rem;
    color: #eb816c;
}
/*---- Checkbox style -----*/
/* The container */
.cb_container {
    /*display: block;*/
    position: relative;
    padding-left: 30px;
    padding-right: 30px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 0.875rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    /* Hide the browser's default checkbox */
    .cb_container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
}

/* On mouse-over, add a grey background color */
.cb_container:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.cb_container input:checked ~ .checkmark {
    background-color: #20587d;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.cb_container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.cb_container .checkmark:after {
    left: 8px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* Loading View */
.loading {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10000;
    width: 100%;
    height: 100%;
    background-color: rgb(0,0,0,0.5);
}


body, li {
    direction: rtl !important;
    text-align: right !important;
    justify-content: right !important;
    font-family: 'Belal' !important;
}


button, label, p, span, th {
    font-family: 'Belal' !important;
}

p, th {
    font-size: 10pt !important;
}
