/*
Theme Name: Haji Javad
Theme URI: https://sample.com
Description: قالب حرفه ای
Author: Reneh
Author URI:https://sample.com
Version: 1.0
*/
/* CSS Document */
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 bsans;
    color: #000000;
    text-align: center;
}
.error {
    color: #9e1313 !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 {
    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;
}
#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;
}
.list_title {
    margin: 16px 0;
    font:normal 18px/24px nsans;
    color: #0a4b78;
    text-align: center;
}
#last_clients li {
    font: normal 18px/60px nsans;
    color: #FFFFFF;
    border-bottom: 1px solid #06314f;
    background-color: #0a4b78;
    padding-right: 16px;
    overflow: hidden;
}
#last_clients li:nth-child(2n+2) {
    background-color: #40dfc2;
    color: #323232;
}
#last_clients li a {
    width: 50%;
    float: right;
    display: block;
}
#last_clients li a:active {
    background-color: #0c88b4;
}
#last_clients li span {
    width: 50%;
    float: left;
    font: normal 16px/60px nsans;
    color: #FFFFFF;
    text-align: center;
}
#last_clients li span.debtor {
    background-color: #811308;
}
#last_clients li span.creditor {
    background-color: #0d66c2;
    color: #fff3cd;
}
#last_clients li span.clearing {
    background-color: #00ba37;
}
#client_detail {
    background-color: #FFFFFF;
    font: normal 16px/28px nsans;
    color: #323232;
}
#client_detail h2 {
    background-color: #0a4b78;
    font: normal 22px/36px nsans;
    color: #FFFFFF;
    text-align: center;
    position: relative;
}
#client_detail h2 span { color: #cb9841; }
#client_detail .edit_message { background-color: #cb9841; }
#client_detail h2 a {
    float: left;
    padding-left: 16px;
    font: normal 14px/36px nsans;
    color: #ffaf49;
}
#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;
}
.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;
}
#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: #811308;
    color: #fff;
    border: 1px solid #323232;
    border-bottom-width: 3px;
    border-top: none;
    font: normal 20px/32px nsans;
    text-align: center;
    padding: 16px;
}
.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 #0a4b78;*/
/*}*/
#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 {
    width: 38px;
    height: 38px;
    display: block;
    background-color: #0a4b78;
    border-radius: 50%;
    text-align: center;
}
.transaction_list .transaction_item {
    box-sizing: border-box;
    background: #0eb987;
    border: 1px solid #323232;
    border-bottom-width: 3px;
    border-top: none;
    font: normal 20px/32px nsans;
    color: #323232;
    padding: 16px;
    /*text-align: center;*/
}
.transaction_list .pay {
    background-color: #fff3cd;
}
.client_status a {
    display: block;
    color: #ffc86b;
}
#home_btn {
    position: fixed;
    left: 16px;
    bottom: 18px;
}
#add_btn {
    position: fixed;
    left: 16px;
    bottom: 58px;
}
#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
}
.home_back {
    width: 100%;
    text-align: center;
    display: block;
    background-color: #9e1313;
    color: #FFFFFF;
    font: normal 16px/32px nsans;
}
/* Style the tab */
.tab {
    width: 100%;
    overflow: hidden;
    background-color: #0a4b78;
    font: normal 18px/32px nsans;
    color: #FFFFFF;
    text-align: center;
    position: relative;
}

/* Style the buttons inside the tab */
.tab button {
    background-color: inherit;
    width: 33%;
    box-sizing: border-box;
    float: right;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 8px;
    transition: 0.3s;
    color: #FFFFFF;
    font: normal 16px/32px nsans;
}

/* 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;
}

/* 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/32px nsans;
    width: 140px;
    border-radius: 6px;
}
.delete_btn a.confirm_btn {
    background-color: #9e1313;
    color: #FFFFFF;
}
.delete_btn a.cancel_btn {
    background-color: #87b90e;
    color: #ffffff;
}
.centered_content {
    text-align: center;
}
.centered_content a {
    width: 130px;
    display: inline-block;
    line-height: 32px;
}
.centered_content