@font-face {
    font-family: 'MyFont';
    font-style: normal;
    font-weight: 400;
    src: url(../font/PFDinTextUniversal-Regular.otf) format('opentype');
}

body {
    /* background: #eee !important; */
    font-family: sans-serif;
    direction: rtl;
    zoom: 108%;
}

.page{
    min-height: 91vh;
}

.main{
    display: flex;
    align-items: center;
    justify-content: center;
}

#persons {
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 100%;
    margin-top: 10px;
}

#persons td,
#persons th {
    border: 1px solid #ddd;
    padding: 8px;
    font-size: 16px;
}

#persons tr:nth-child(even) {
    background-color: #fff;
}

#persons tr:hover {
    background-color: #ddd;
}

#persons th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: right;
    background-color: rgb(42, 105, 194);
    color: white;
}

#persons tfoot tr {
    background-color: #eee;
    padding: .5rem 0;
}

#persons tfoot tr td {
    padding: 1rem 0;
}

#persons tfoot tr:hover {
    background-color: #eee;
}

#persons tfoot tr td div.paginations {
    display: flex;
    align-items: center;
    justify-content: center;
}

#persons tfoot tr td div.paginations button {
    outline: none;
    border: 1px solid #ddd;
    padding: .75rem .5rem;
    margin: 0 .25rem;
    width: 3rem;
    font-size: 1rem;
    cursor: pointer;
    font-weight: bold;
}

#persons tfoot tr td div.paginations button.active {
    color: rgb(42, 105, 194);
    background-color: rgba(132, 183, 255, 0.144);
}

#persons tfoot tr td div.paginations button:active {
    color: rgb(42, 105, 194);
    background-color: rgba(132, 183, 255, 0.144);
}

input {
    border: 1px solid #eee;
    position: relative;
    font-size: 16px;
    height: auto;
    padding: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

input[type=date] {
    padding: 7.5px 10px;
}


input:focus {
    border: 1px solid rgb(42, 105, 194) !important;
    outline: none;
}

.input-field {
    display: flex;
    flex-direction: column;
    width: 24.75%;
}

.filters {
    display: flex;
    justify-content: space-between;
}

@media only screen and (max-width: 700px) {

    .input-field {
        width: 49.75%;
        margin-bottom: 10px;
    }

    .filters {
        flex-wrap: wrap;
    }

}

@media only screen and (max-width: 550px) {

    .input-field {
        width: 100%;
        margin-bottom: 10px;
    }

}

.wrapper {
    margin-top: 80px;
    margin-bottom: 80px;
}

.form-signin {
    max-width: 380px;
    padding: 30px;
    margin: 0 auto;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.form-signin .form-control {
    position: relative;
    font-size: 16px;
    height: auto;
    padding: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.form-signin .form-control:focus {
    z-index: 2;
}

.form-signin input[type=text] {
    margin-bottom: -1px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border: 1px solid #eee;
}

.form-signin input[type=password] {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border: 1px solid #eee;
}

input:focus {
    border: 1px solid rgb(42, 105, 194) !important;
    outline: none;
}

.btn {
    margin-top: 30px;
    padding: 1rem;
    background-color: rgb(42, 105, 194) !important;
    outline: none !important;
    border: none !important;
    color: white;
    font-size: 16px;
}

@font-face {
    font-family: 'barcodeFont';
    font-style: normal;
    font-weight: 400;
    src: url(../font/code128.ttf) format('truetype');
}

.barcode {
    font-family: 'barcodeFont' !important;
    font-size: 64px;
    padding-bottom: 1rem;
}

table.person {
    background-color: white;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}


td {
    border: .5px solid #e5e5e5;
    padding-top: .5rem;
    padding-bottom: .5rem;
    padding-right: .5rem;
    font-size: 16px;
}

.pt-half {
    padding-top: .5rem;
}

.pl-1 {
    padding-left: 1rem;
}

.pl-2 {
    padding-left: 2rem;
}

.m-0 {
    margin: 0 !important;
}

.green-text {
    color: forestgreen;
    background-color: rgba(34, 139, 34, 0.15);
    border-color: rgba(34, 139, 34, 0.25);
}

.red-text {
    color: red;
    background-color: rgba(255, 0, 0, 0.15);
    border-color: rgba(255, 0, 0, 0.25);
}

.d-flex {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    margin-inline:0px !important
}

table.person {
    width: 100%;
    max-width: 450px;
    margin: auto;
}

.bgGradient-success{
    background: rgb(194, 162, 106);
    background: linear-gradient(135deg, rgba(194, 162, 106, 1) 0%, rgb(243, 217, 172) 100%);
}

.rotate-90{
    margin-top: 5rem;
    transform: rotate(90deg);
}


.max-screen{
    max-width: 650px;
    margin-inline: auto;
   
}

@media (min-width: 992px) {
    
    .max-screen{
        max-width: 650px;
    }

}

@media (min-width: 1120px) {
    
    .max-screen{
        max-width: 400px;
    }

}

