@font-face {
    font-family: 'segoe';
    src: url('../font/segoeui.ttf');
    font-weight: normal;
}

@font-face {
    font-family: 'segoe';
    src: url('../font/segoeuib.ttf');
    font-weight: bold;
}

* {
    font-family: 'segoe', sans-serif;
}

body {
    direction: rtl;
    background-color: #FDFDFD;
    text-align: center;
    margin: 0;
}

button, a {
    cursor: pointer;
}

span {
    font-weight: 900;
}

select {
    /* for Firefox */
    -moz-appearance: none;
    /* for Chrome */
    -webkit-appearance: none;
}

/* For IE10 */
select::-ms-expand {
    display: none;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/*------------------------------------------- header ------------*/
header {
    width: 100%;
    height: 10em;
    margin: 0 auto;
}

.title-app {
    background-color: #00A5BA;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.open-nav {
    background-color: #00A5BA;
    border: none;
    width: 15%;
    height: 100%;
    font-size: 3.3em;
    font-weight: bold;
    text-align: right;
}

.open-nav img {
    width: 40%;
    height: 40%;
    margin-right: 0.7em;
}

.note {
    margin-right: -0.7em;
}

.title-txt {
    background-color: #00A5BA;
    border: none;
    width: 40%;
    height: 100%;
    font-size: 3.3em;
    font-weight: bold;
    color: #FFFFFF;
    text-align: center;
    margin-right: 0.7em;
}

.exit {
    background-color: #00A5BA;
    border: none;
    width: 15%;
    height: 100%;
    font-size: 3.3em;
    font-weight: bold;
    text-align: left;
}

.exit img {
    width: 40%;
    height: 40%;
    margin-left: 0.7em;
}

/*----------------------------------------- side nav ------------*/

.side-nav {
    background-color: #FFFFFF;
    width: 0;
    height: 100%;
    position: fixed;
    z-index: 9999;
    top: 0;
    right: -1em;
    transition: 0.5s;
    overflow: auto;
}

.side-nav-for-empty {
    background-color: #FFFFFF;
    width: 80%;
    height: 100%;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    transition: 0.5s;
}

.close-nav {
    background-color: #00a5ba;
    border: none;
    width: 100%;
    height: 12em;
    margin: 0 auto;
}

.close-nav img {
    width: 30%;
    height: 30%;
}

.logo-container {
    background-color: #00a5ba;
    padding-bottom: .5em;
}

.logo {
    background-color: #ffffff;
    width: 10em;
    height: 5em;
    border-radius: 0.25em;
}

.email {
    background-color: #00a5ba;
    color: #FFFFFF;
    height: 2em;
    border-bottom: 1px dotted #000000;
    text-decoration: none;
    line-height: 2em;
}

.shadow {
    width: 100%;
    border-bottom: 0 solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 5px 1px #000000;
}

.content-side-nav {
    width: 100%;
    height: 100%;
    font-size: 2.5em;
}

.collaps1,
.collaps2,
.collaps3 {
    background-color: #f5f5f5;
    height: 3.3em;
    border-bottom: 1px dotted #000000;
    text-decoration: none;
    display: block;
    transition: 0.3s;
    color: #000000;
    font-weight: bold;
    line-height: 3em;
}

.collaps1:hover,
.collaps2:hover,
.collaps3:hover {
    background-color: #00cc0d;
    color: #FFFFFF;
}

.collaps3:hover {
    background-color: #c94f4f;
}

.content-collaps {
    height: 0;
    padding: 0 0.5em;
    line-height: 1.5em;
    overflow: hidden;
    transition: 0.2s ease-out;
}

.dbconfirm-red a {
    background-color: #fd8484;
}

.dbconfirm-red a:hover {
    background-color: #c94f4f;
    color: #FFFFFF;
}

/*-------------------------------------------- top nav -------------*/

nav {
    background-color: #00BCD4;
    width: 100%;
    height: 10em;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.nav-btn {
    background-color: #00BCD4;
    border: none;
    width: 24.5%;
    height: 100%;
    font-size: 2.7em;
    font-weight: bold;
    color: #FFFFFF;
    border-bottom: 0.25em solid #00BCD4;
}

/*--------------------------------- main note page ------------*/
/*---------------------------------  daily note ------------*/
.name-note {
    width: 55%;
}

.date-note {
    width: 45%;
}

/*--------------------------------- main daily page ------------*/
/*------------------------------------ daily date -------------*/
.daily-date-relative {
    position: relative;
}

.daily-date {
    width: 100%;
    height: 10em;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
}

.right-btn {
    background-color: #FFFFFF;
    border: none;
    width: 5%;
    height: 100%;
    font-size: 3em;
    font-weight: normal;
}

.midle-btn,
.midle-btn-transparent {
    background-color: #FFFFFF;
    border: none;
    width: 60%;
    height: 100%;
    font-size: 3em;
    font-weight: normal;
}

.midle-btn-transparent {
    position: absolute;
    top: 0;
    margin-left: 50%;
    transform: translateX(50%);
    background-color: rgba(0,0,0,0);
}

/*------------------------------------ daily record -------------*/

.daily-worker-record,
.worker-place,
.account-payment {
    width: 100%;
    height: 8.75em;
    margin-bottom: 3em;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.enter-daily-worker,
.add-worker,
.add-place,
.paid-not-paid {
    background-color: #00cc0d;
    border-radius: 0.25em;
    width: 95%;
    height: 100%;
    font-size: 2.5em;
    font-weight: bold;
    color: #FFFFFF;
}

.daily-record,
.worker-record,
.account-record,
.report-record {
    width: 95%;
    margin: 0 auto;
}

.daily-table,
.account-table,
.report-table {
    width: 100%;
    font-size: 2.5em;
    border: 1px solid #c4c4c4;
    border-spacing: 0;
}

thead {
    background-color: #16d3eb;
    color: #FFFFFF;
}

th,
td {
    padding: 0;
    border: 1px solid #c4c4c4;
}

th {
    height: 1.7em;
}

td {
    height: 2em;
}

.update-td,
.delete-td {
    background-color: #ffff7f;
    border-radius: 0.12em;
}

.delete-td {
    background-color: #fd8484;
}

.update,
.delete {
    background-color: transparent;
    border: none;
    font-size: 1em;
    width: 100%;
    height: 100%;
}

.delete {
    font-weight: bold;
}

tbody a {
    text-decoration: none;
    color: #000000;
}

.delete-daily {
    font-size: 1.3em;
}

.id-daily {
    display: none;
}

.name-daily,
.place-daily {
    width: 40%;
}

.paid-daily {
    width: 20%;
}

/*--------------------------------- main worker page ------------*/
/*------------------------------------ worker-place -------------*/

.worker-place {
    margin-top: 3em;
}

.add-worker, .add-place {
    width: 45%;
}

/*------------------------------- worker-place-record ------------*/

.worker-record {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.worker-table,
.place-table {
    font-size: 2.5em;
    border: 1px solid #c4c4c4;
    border-spacing: 0;
    border-radius: 0.25em;
}

.worker-table {
    width: 65%;
}

.place-table {
    width: 33%;
}

.name-worker {
    width: 80%;
}

.paid-worker {
    width: 20%;
}

.place-name-worker {
    width: 100%;
}

/*--------------------------------- main payment page ------------*/
/*---------------------------------- account-payment -------------*/

.account-payment {
    margin-top: 3em;
}

/*----------------------------------- account-record -------------*/

.name-account {
    width: 40%;
}

.date-account {
    width: 45%;
}

.paid-account {
    width: 15%;
}

/*--------------------------------- main report page ------------*/
/*-------------------------------------- reports ----------------*/

.reports {
    width: 100%;
    height: 8.75em;
    margin: 3em 0 3em 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.report-worker-place {
    background-color: #00cc0d;
    border-radius: 0.25em;
    width: 23%;
    height: 100%;
    margin: 0 0.15em 0 0.13em;
    font-size: 2.24em;
    font-weight: bold;
    color: #FFFFFF;
}

/*----------------------------------- report-record -------------*/

.name-report,
.place-report,
.date-report {
    width: 29%;
    height: 2.2em;
}

.paid-report {
    width: 12%;
    height: 2.2em;
}

.fullpay-report,
.netpaid-report,
.notpaid-report {
    width: 33.3%;
}

.reload {
    background-color: #ffff7f;
}

/*------------------------------------- main modal --------------*/
/*-------------------------------------- modal ----------------*/

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.modalupdate,
.modalempty,
.modalemail {
    display: block;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}
.modalemail {
    position: relative;
    background-color: #FFFFFF;
    margin: 3em auto;
    z-index: 0;
}

/* Modal Content */
.modal-content {
    position: relative;
    top: 5%;
    background-color: #fefefe;
    margin: auto;
    padding: 1em 1em 1.5em 1em;
    border: 1px solid #9a9a9a;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.2s;
    animation-name: animatetop;
    animation-duration: 0.2s
}
.modalemail .modal-content {
    border: 1px solid #a2e6ee;
    box-shadow: 0 4px 8px 0 rgba(0, 188, 212, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.modal-header,
.modal-header-register {
    width: 100%;
    height: 2.23em;
    background-color: #00BCD4;
    color: #FFFFFF;
    font-size: 2.8em;
    font-weight: bold;
    line-height: 2em;
    border-radius: 0.25em;
}

.modal-header-register {
    background-color: #fd8484;
}

.modal-headerinfooter {
    width: 100%;
    height: 2.23em;
    color: #FFFFFF;
    font-size: 2.8em;
    font-weight: bold;
    line-height: 2em;
}

.close-modal {
    width: 2.23em;
    height: 2.23em;
    background-color: #fd8484;
    color: #FFFFFF;
    border-radius: 0.25em;
    float: right;
    text-decoration: none;
}

.modal-body {
    width: 100%;
    margin: 0;
    position: relative;
}

.modal-footer,
.modal-footer-register {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.modal-footer-register {
    position: absolute;
    bottom: 0;
}

.modal-footer-db {
    width: 100%;
}

.add-daily-record {
    width: 47%;
    height: 2.5em;
    background-color: #00cc0d;
    font-size: 2.5em;
    line-height: 2.2em;
    font-weight: bold;
    color: #FFFFFF;
    border-radius: 0.25em;
    text-decoration: none;
}

.delete-daily-record {
    width: 47%;
    height: 2.5em;
    background-color: #fd8484;
    font-size: 2.5em;
    line-height: 2.2em;
    font-weight: bold;
    color: #FFFFFF;
    border-radius: 0.25em;
    text-decoration: none;
}

.form-daily {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin: 1em 0;
    font-size: 2.5em;
    font-weight: bold;
}

.form-daily-empty {
    width: 100%;
    margin: 1em 0;
    font-size: 2.5em;
    font-weight: bold;
}

.form-hidden {
    display: none;
}

.id-none {
    display: none;
}

.label-d {
    width: 33%;
    height: 2.5em;
    line-height: 2.3em;
    background-color: #00BCD4;
    border-radius: 0.25em;
    color: #FFFFFF;
}

.label-d-hidden {
    display: none;
}

.input-d {
    width: 60%;
    height: 2em;
    font-size: 1.2em;
    border-radius: 0.25em;
    text-align: center;
}

.input-note {
    height: 5em;
}

.textarea {
    width: 99%;
    height: 100%;
    border-radius: 0.25em;
    padding-right: 0.2em;
    text-align: right;
    font-size: 1em;
}

.right {
    float: right;
    margin-right: 0.3em;
}

.left {
    float: left;
    margin-left: 0.3em;
}

.error,
.no-error,
.success {
    width: 100%;
    color: #c94f4f;
    font-size: 2em;
    font-weight: bold;
    padding-bottom: 1em;
}

.error-email {
    font-size: 1.8em;
    color: #c94f4f;
    margin-right: 35%;
}

.no-error {
    color: #00cc0d;
    padding-bottom: 0.4em;
}

.success {
    color: #00cc0d;
    font-size: 1em;
    padding-bottom: 0.25em;
}