/*
Theme Name: Haji Javad
Theme URI: https://sample.com
Description: قالب حرفه ای
Author: Reneh
Author URI:https://sample.com
Version: 1.0
*/
/* CSS Document */
:root {
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: #007bff;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    outline: none;
}
html { height: 101%; } /* always display scrollbars */
body { font-size: 62.5%; line-height: 1; font-family: Arial, Tahoma, Verdana, sans-serif; }

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
ol, ul { list-style: none; }

blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
strong { font-weight: bold; }

input { outline: none; }

table { border-collapse: collapse; border-spacing: 0; }

a {
    text-decoration: none;
    color: inherit;
}
.clearfix:before, .container:after {
    content: ""; display: table;
}
.clearfix:after {
    clear: both;
}
/* IE 6/7 */
.clearfix {
    zoom: 1;
}
.clear { clear: both; }
* { box-sizing: border-box; }
/* Original Style */
@font-face {
    font-family: nsans;
    src: url('fonts/IRANSansWeb.woff') format('truetype');
}
@font-face {
    font-family: bsans;
    src: url('fonts/IRANSansWeb_Bold.woff') format('truetype');
}

body {
    background-color: #efefef;
    direction: rtl;
}
.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}
#welcome {
    margin: 16px 0;
    font:normal 18px/24px nsans;
    color: #000000;
    text-align: center;
}
/*.error {*/
/*    color:var(--purple) !important;*/
/*}*/
#welcome span{
    font: normal 16px/34px nsans;
    color: #FFFFFF;
    margin-right: 6px;
    display: inline-block;
    background-color: #0a4b78;
    margin-top: 16px;
    padding: 0 16px;
    border-radius: 6px;
}
#index-login-form {
    width: 100%;
    padding: 20px 16px;
}
#index-login-form label {
    width: 100%;
    font: normal 16px/22px nsans;
    color: #0a4b78;
}
#index-login-form input {
    width: 100%;
    padding: 0 16px;
    height: 32px;
    font: normal 18px/32px nsans;
    color: #323232;
    text-align: left;
    margin-bottom: 16px;
    border: 1px solid #323232;
    border-radius: 4px;
}
#index-login-form #login-submit {
    display: block;
    width: 80px;
    margin: 0 auto;
    background-color: #0a4b78;
    text-align: center;
    color: #FFFFFF;
}
#main_list {
    /*padding: 0 16px;*/
}
#main_list #search {
    padding: 0 16px;
}
#main_list input[type='text'] {
    width: 80%;
    height: 32px;
    float: right;
    box-sizing: border-box;
    padding: 0 16px;
    font: normal 18px/32px nsans;
    color: #323232;
    outline: none;
    border: 1px solid #323232;
    border-left: none;
    border-radius: 0 4px 4px 0;
}
#main_list input[type='submit'] {
    cursor: pointer;
    width: 20%;
    height: 32px;
    float: right;
    background-color: #0a4b78;
    font: normal 16px/32px nsans;
    color: #ffffff;
    text-align: center;
    border: 1px solid #323232;
    border-right: none;
    border-radius: 4px 0 0 4px;
}
.list_title, #totla_transaction {
    width: 90%;
    margin: 16px auto;
    margin-bottom: 24px;
    font:normal 18px/24px nsans;
    color: #0a4b78;
    text-align: center;
    border-bottom: 2px solid #878787;
    padding: 8px 0;
}
#last_clients li {
    font: normal 18px/60px nsans;
    color: #ffffff;
    overflow: hidden;
}
#last_clients li a {

}
#last_clients li:nth-child(2n+2) a {
    background-color: #146faf;
}
#last_clients li a {
    width: 49%;
    float: right;
    display: block;
    background-color: #0a4b78;
    border-radius: 6px 0 0 6px;
    padding-right: 16px;
}
#last_clients li a:active {
    background-color: #0c88b4;
}
#last_clients li span {
    width: 50%;
    float: left;
    font: normal 16px/60px nsans;
    color: #323232;
    text-align: center;
    border-bottom: 1px solid #878787;
    border-radius: 0 6px 6px 0;
    box-shadow: 1px 1px 17px 1px #484848;

}
#last_clients li span.debtor {
    background-color: #fff3cd;
}
#last_clients li span.creditor {
    background-color: #c7b9a2;
    /*color: #fff3cd;*/
}
#last_clients li span.clearing {
    background-color: var(--info);
}
#client_detail {
    background-color: #efefef;
    font: normal 16px/28px nsans;
    color: #323232;
}
#client_detail h2 {
    background-color: #efefef;
    font: normal 22px/36px bsans;
    color: #323232;
    text-align: center;
    position: relative;
}
.client_actions {
    padding-top: 16px;
    margin: 0 -16px;
    display: flex;
    justify-content: space-between;
}
.client_actions a {
    width: 33%;
    line-height: 60px;
    padding: 0 20px;
    color: var(--white);
    box-shadow: 2px 5px 5px 0 #878686;
}
.client_actions a.add_btn {
    color: #323232;
    background-color: #ffc86b;
    border-radius: 6px 0 0 6px;
}
.client_actions a.edit_btn {
    background-color: #0a4b78;
    border-radius: 6px;
}
.client_actions a.delet_btn {
    background-color: #9e1313;
    border-radius: 6px 0 0 6px;
}
.cloud_actions {
    display: flex;
    justify-content: center;
}
.cloud_actions a.add_btn {
    color: #323232;
    background-color: #ffc86b;
    border-radius: 6px;
    padding: 8px 16px;
    display: inline-block;
}
#client_detail h2 span { color: #cb9841; }
#client_detail .edit_message { background-color: #cb9841; }
#client_detail h2 a {
    display: inline-block;
    padding: 0 16px;
    font: normal 14px/40px nsans;
    color: #ffffff;
    background-color: #0a4b78;
    border-radius: 4px;
}
#client_detail h2 .edit_btn, #client_detail h2 .delet_btn {
    float: left;
}
#client_phone {
    padding: 0 16px;
}
#client_phone a {
    text-align: left !important;
    display: block;
}
#client_address {
    padding: 0 16px;

}
#client_form {
    padding: 0 16px;
}
#client_form label {
    font: normal 14px/28px nsans;
    color: #9e1313;
}
#client_form input[type='text'], #client_form textarea, #client_form select {
    width: 100%;
    font: normal 16px/28px nsans;
    color: #323232;
    border: 1px solid #323232;
    background-color: #efefef;
    outline: none;
    padding: 0 16px;
    box-sizing: border-box;
    margin-bottom: 16px;
    border-radius: 4px;
}
.amount_field {
    direction: ltr;
    text-align: left;
}
#client_form textarea{
    height: 150px;
}
#client_form input[type='submit']{
    width: 100%;
    font: normal 16px/32px nsans;
    color: #FFFFFF;
    border: 1px solid #9e1313;
    background-color: #9e1313;
    outline: none;
    padding: 0 16px;
    box-sizing: border-box;
    margin-bottom: 16px;
    cursor: pointer;
    border-radius: 4px;
}
#client_form input[type='submit']:active {
    background-color: #cb9841;
}
#transaction_list ul li span {
    /*display: inline-block;*/
    /*box-sizing: border-box;*/
}
#transaction_list ul li:first-child {
    background-color: #811308;
    color: #fff;
}
.client_status {
    box-sizing: border-box;
    background-color: #efefef;
    color: #000000;
    border-bottom-width: 3px;
    border-top: none;
    font: normal 20px/32px nsans;
    padding: 16px;
    text-align: center;
}
.client_status a {
    font-size: 16px;
}
#transaction_list ul li {
    box-sizing: border-box;
    background: #fff3cd;
    border: 1px solid #323232;
    border-bottom-width: 3px;
    border-top: none;
    font: normal 16px/32px nsans;
    color: #323232;
    /*padding: 16px;*/
    /*text-align: center;*/
}

#transaction_list ul li hr {
    border: 1px dashed #c5c5c5;
}
#transaction_list ul li.pay hr { border: 1px dashed #efefef; }
#transaction_list ul li p strong { margin-left: 6px; }
/*#transaction_list ul li:nth-child(2+2n) {*/
/*    background-color: #e5e5e5;*/
/*}*/
/*#transaction_list ul li span {*/
/*    border-left: 1px solid var(--indigo);*/
/*}*/
#transaction_list ul li:first-child span {
    border-color: #fff3cd;
}
#transaction_list ul li span:last-child { border-left: none; }
#transaction_list ul li .date_span  { width: 10%; }
#transaction_list ul li .amount_span  { width: 10%; }
#transaction_list ul li .desc_span  { width: 68%; text-align: right; }
#transaction_list ul li .type_span  { width: 10%; }
#home_btn, #add_btn, #cloud_btn {
    width: 38px;
    height: 38px;
    display: block;
    background-color: #0a4b78;
    border-radius: 50%;
    text-align: center;
}
.transaction_list .transaction_item {
    box-sizing: border-box;
    background: #ccc;
    border: 1px solid var(--gray);
    font: normal 20px/32px nsans;
    color: #323232;
    padding: 16px;
    margin-bottom: 6px;
    box-shadow: 1px 1px 4px 1px #8f8e8e;
    /*text-align: center;*/
}
/*.transaction_list .receive hr {*/
/*    border-color: var(--teal);*/
/*}*/
.transaction_list .pay {
    background-color: #fff3cd;
}
.client_status > a {
    display: inline-block;
    color: #ffc86b;
    background-color: var(--gray-dark);
    padding: 0 16px;
    border-radius: 4px;
    margin-top: 16px;
}
#home_btn {
    position: fixed;
    left: 16px;
    bottom: 18px;
}
#add_btn {
    position: fixed;
    left: 16px;
    bottom: 58px;
}
#cloud_btn {
    position: fixed;
    left: 16px;
    bottom: 98px;
}
#home_btn img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin: 0 auto;
    margin-top: 4px
}
#add_btn img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin: 0 auto;
    margin-top: 4px
}
#cloud_btn img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin: 0 auto;
    margin-top: 4px
}
.home_back {
    width: 100%;
    text-align: center;
    display: block;
    background-color: #9e1313;
    color: #FFFFFF;
    font: normal 16px/32px nsans;
}
/* Style the tab */
.tab {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font: normal 18px/32px nsans;
    color: #FFFFFF;
    text-align: center;
    position: relative;
}

/* Style the buttons inside the tab */
.tab button {
    width: 33%;
    background-color: var(--blue);
    box-sizing: border-box;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 8px;
    transition: 0.3s;
    color: #FFFFFF;
    font: normal 16px/32px nsans;
    border-radius: 6px;
}
.tab button:nth-of-type(1) {
    border-radius:  6px 0 0 6px;
}
.tab button:nth-of-type(3) {
    border-radius:  0 6px 6px 0;
}
/* Change background color of buttons on hover */
.tab button:hover,.tab button:active {
    background-color: #ddd;
    color: #9e1313;
}

/* Create an active/current tablink class */
.tab button.active {
    background-color: #ccc;
    color: #9e1313;
}
.tab button:nth-of-type(2).active {
    background-color: #fff3cd;
    color: #9e1313;
}
/* Style the tab content */
.tabcontent {
    display: none;
}
.info {
    padding: 16px 0;
    font: normal 18px/24px nsans;
    color: #262525;
    text-align: center;
    background-color: #f9cb86;
}
.delete_btn {
    text-align: center;
    padding: 32px 0;
}
.delete_btn a {
    display: inline-block;
    padding: 0 16px;
    font: normal 16px/40px nsans;
    width: 140px;
    border-radius: 6px;
}
.delete_btn a.confirm_btn {
    background-color: #9e1313;
    color: #FFFFFF;
}
.delete_btn a.cancel_btn {
    background-color: var(--blue);
    color: #ffffff;
}
.centered_content {
    text-align: center;
}
.centered_content a {
    width: 130px;
    display: inline-block;
    line-height: 32px;
}
.centered_content