h1 {
    font-family: b yekan, tahoma, sans-serif;
}

/*todo:embed fonts*/
h2 {
    font-family: b yekan, tahoma, sans-serif;
    padding-bottom: 15px;
    color: #106cc8;
    font-weight: 100;
    padding-top: 13px;
}

h2 + * {
    border-top: solid 1px rgba(202, 215, 229, 1);
    padding-top: 28px;
    margin-top: -28px;
    border-right: 0;
    border-left: 0;
    border-bottom: 0;
}

h2 span {
    background: white;
    padding: 0 8px;
    /* Text-align : Center; */
}

#content {
    /* min-height: 516px; */
    margin-right: 230px;
    margin-top: 23px;
    padding-bottom: 90px; /* Height of the footer */
    margin-left: 25px;
    min-height: 100%;
    /* equal to footer height */
    margin-bottom: -45px;

}

#sidebar {
    width: 200px;
    height: 100%;
    border: 1px solid rgba(213, 223, 236, 1);;
    float: right;
    /*margin-left: 15px;*/
    /*margin-bottom: 20px;*/
    /*margin-right: 8px;*/
    background-color: rgba(239, 244, 250, 1);
    clear: both;
    margin-bottom: -5000px;
    padding-bottom: 5000px;
}

#sidebar ul {
    /*list-style: none;*/
    list-style: none;
}

#sidebar ul ul {
    margin-right: -30px;
    /*list-style: none;*/
}

#sidebar li {
    margin: 10px;
}

.error {
    color: red;
}

#branding h1 {
    padding: 0 10px;
    font-size: 18px;
    margin: 8px 0;
    font-weight: normal;
    color: #f4f379;
}

#header {
    /*background: #417690;*/
    /*color: #ffc;*/
    /*overflow: hidden;*/
    /*width: 100%;*/
    /*height: 50px;*/
    /*margin-bottom: 20px;*/
    /*border-bottom: 1px dashed #BBB;*/
    /*padding-bottom: 8px;*/
    padding-right: 10px;
    background-color: rgba(49, 132, 216, 1);
}

#footer {
    background: #417690;
    color: #555;
    height: 45px;
    font-size: 12px;
    text-align: center;
    clear: both;
    background: rgba(0, 0, 0, 0.1);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    margin: 0;
    z-index: -1;
    padding-right: 110px;
    position: absolute;
    bottom: 0;
    width: 100%;
}

#footercontent {
    position: relative;
    top: 30%;
}

#optiontable {
    margin-bottom: 10px;
    margin-top: 3px;
}

a {
    color: #55D;
    text-decoration: none;
}

#user-tools {
    /*font-size: 11px;*/
    /*margin-top: 15px;*/
}

#tablecontainer {
    overflow: auto;
    /*width: 82%;*/
    /*margin-left: 20px;*/
}

table.hovertable tbody tr:nth-child(odd) {
    background-color: #f2f2f2;
    /*color: #fff;*/
}

table.hovertable {
    /*font-family: tahoma, verdana, arial, sans-serif;*/
    font-size: 13px;
    color: #4d4d4d;
    border: 1px rgba(231, 231, 231, 1);
    border-collapse: collapse;
    /*table-layout: fixed;*/
    width: 100%;
}

table.hovertable tr th:first-child {
    width: 100px;
}

table.hovertable th {
    /*background-color: #c3dde0;*/
    /*padding: 5px;*/
    padding-top: 5px;
    padding-bottom: 5px;
    /*border: 1px solid #a9c6c9;*/
    height: 23px;
}

.activeuser {
    /*background-color: #FFFFCC !important;*/
    outline: thin solid #000bbf;
}

table.hovertable tr {
    /*background-color: #EBF0F1;*/
}

table.hovertable td {
    padding: 0px;
    text-align: center;
    /*vertical-align: top;*/
    /*border: 1px solid #a9c6c9;*/
    /*width: 50px;*/
    height: 30px;
}

.clsinstallment {
    /*color: #ff000e;*/
    border-right-color: #2db5c5;
}

.clsmonthly {
    /*color: #008000;*/
    border-right-color: #21a600;
}

.clsloan {
    /*color: #000bbf;*/
    border-right-color: #ffa300;
}

.clsmanual {
    /*color: #883902;*/
    border-right-color: #c255d6;
}

.clselement {
    /*border-right-style: solid;*/
    display: inline;
    border-right-width: 2px;
    height: 20px;
    margin-bottom: 2px;
    /*background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgb(255, 255, 255)), color-stop(50%, rgb(242, 242, 242)), color-stop(51%, rgb(225, 225, 225)), color-stop(100%, rgb(243, 243, 243)));*/
    /*cursor: pointer;*/
}

.clselementtotla {
    border-right-style: solid;
    border-right-width: 2px;
    height: 20px;
    margin-bottom: 2px;
    /*background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgb(255, 255, 255)), color-stop(50%, rgb(242, 242, 242)), color-stop(51%, rgb(225, 225, 225)), color-stop(100%, rgb(243, 243, 243)));*/
    /*cursor: pointer;*/
}

.imgpayment {
    float: right;
    margin-top: 3px;
    margin-right: 1px;
}

.imgarrow {
    /*float: right;*/
    /*position: absolute;*/
    display: inline;
    /*margin-top: 3px;*/
    /*margin-right: 1px;*/
}

.clsinstallmentselected {
    display: block;

    /*background-color: #c0c0c0;*/

}

.clsinstallmentdeselected {
    display: none;

}

.clsmonthlyselected {
    display: block;
    /*background-color: red;*/
}

.clsmonthlydeselected {
    display: none;
}

.clsloanselected {
    display: block;
    /*background-color: blueviolet;*/
}

.clsloandeselected {
    display: none;
}

.clsmanualselected {
    display: block;
    /*background-color: blueviolet;*/
}

.clsmanualdeselected {
    display: none;
}

body {
    font-family: yekan, tahoma, sans-serif;
    direction: rtl;
    font-size: 13px;
    /*background: url(../images/bg.png);*/
    height: 100%;
    padding: 0;
    margin: 0;
}

button {
    font: 13px tahoma;
    float: left;
}

.cnt-right {
    height: 100%;
    margin-left: 2px;
    margin-right: 1px;
}

.graph {
    margin: auto;
    direction: ltr;
    width: 50px;
    height: 10px;
    border: 1px solid #888;
    background: rgb(168, 168, 168);
    background: -moz-linear-gradient(top, rgba(168, 168, 168, 1) 0%, rgba(204, 204, 204, 1) 23%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(168, 168, 168, 1)), color-stop(23%, rgba(204, 204, 204, 1)));
    background: -webkit-linear-gradient(top, rgb(208, 206, 206) 0%, rgb(226, 224, 224) 23%);
    background: -o-linear-gradient(top, rgba(168, 168, 168, 1) 0%, rgba(204, 204, 204, 1) 23%);
    background: -ms-linear-gradient(top, rgba(168, 168, 168, 1) 0%, rgba(204, 204, 204, 1) 23%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a8a8a8', endColorstr='#cccccc', GradientType=0);
    background: linear-gradient(top, rgba(168, 168, 168, 1) 0%, rgba(204, 204, 204, 1) 23%);
    position: relative;
}

#bar {
    height: 10px;
    /* background: rgb(255, 197, 120); */
    background: -moz-linear-gradient(top, rgba(255, 197, 120, 1) 0%, rgba(244, 128, 38, 1) 100%);
    /* background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(255, 197, 120, 1)), color-stop(100%, rgba(244, 128, 38, 1))); */
    background: -webkit-linear-gradient(top, rgb(133, 226, 51) 0%, #2BC253 100%);
    background: -o-linear-gradient(top, rgba(255, 197, 120, 1) 0%, rgba(244, 128, 38, 1) 100%);
    background: -ms-linear-gradient(top, rgba(255, 197, 120, 1) 0%, rgba(244, 128, 38, 1) 100%);
    background: linear-gradient(top, rgba(255, 197, 120, 1) 0%, rgba(244, 128, 38, 1) 100%);
    /* border-top: 1px solid #fceabb; */
}

#maincontent {
    min-height: 100%;
    position: relative;
    overflow: hidden;
}

* {
    margin: 0;
}

html, body {
    height: 100%;
}


#content:after {
    content: "";
    display: block;
}

#footer, #content:after {
    height: 45px;
}

#ui-datepicker-div {
    display: none;
}

.form-btn {
    /*margin: 0;*/
    /*font: 13px "tahoma", "arial", sans;*/
    /*text-align: center;*/
    border-radius: 3px;
    /*white-space: nowrap;*/
    /*height: 28px;*/
    /*line-height: 27px;*/
    min-width: 55px;
    /*padding: 0 10px;*/
    color: #333;
    text-shadow: 0 1px #fff;
    /*vertical-align: top;*/
    cursor: pointer;
    border: 1px solid #cfcfcf;
    background: #f9f9f9 url(../images/btn-bg.png) repeat-x top;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.1);
    box-sizing: content-box;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    z-index: 2;
    /*display: inline-block;*/
    line-height: 2.2em !important;
    /*margin-top: 74px;*/
    width: 80px;
    font: 13px "yekan", "tahoma", "arial", sans;
    text-decoration: none;
}

.question-btn {
    text-align: center;
    /*display: block;*/
    /*margin: 10px auto;*/
    float: left;
}

@font-face {
    font-family: 'yekan';
    src: url('https://bayanbox.ir/id/6401485576643669370?download');
    src: url('https://bayanbox.ir/id/6401485576643669370?download#iefix') format('embedded-opentype'),
    url('https://bayanbox.ir/id/7161301573095849302?download') format('woff'),
    url('https://bayanbox.ir/id/7402529488138112495?download') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.search_box {
    float: left;
    /*padding-left: 10px;*/
    padding-bottom: 5px;
}

.search_box input {
    font-family: tahoma;
}

.table_length {
    float: right;
    padding-top: 2px;

}

.delay_img {
    border-bottom: 2px solid red;
}

.login-box textarea:focus, .login-box input:focus {
    outline: none;
}

.login-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding-bottom: 20px;
    color: rgba(175, 175, 175, 1);
}

.login-footer p {
    text-align: center;
}

.login-box .input-wrapper {
    border: solid 1px rgba(233, 233, 233, 1);
    width: 69%;
    margin: auto;
    position: relative;
    margin-bottom: 4px;
    height: 32px;
    border-radius: 3px;
}

.login-box .input-icon {
    width: 19px;
    left: 0px;
    position: absolute;
    border-right: solid 1px rgba(233, 233, 233, 1);
    padding-right: 5px;
    padding-top: 3px;
    padding-left: 5px;
    margin-top: 3px;
}

.login-box {
    background-color: white;
    width: 361px;
    height: 210px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
    overflow: auto;
    text-align: center;
    border: solid 1px rgba(236, 236, 236, 1);
    border-right: 10px;
}

.login-box input[type=submit] {
    font-family: yekan, tahoma;
    background-color: rgba(49, 132, 216, 1);
    border: 0;
    border-radius: 3px;
    width: 70%;
    color: white;
    height: 30px;
    margin-top: 10px;
    cursor: pointer;
}

.login-box .input-text {
    border: 0;
    margin-left: 6px;
    width: 87%;
    position: absolute;
    right: 0;
    background-color: white;
    font-family: yekan, Tahoma;
    direction: ltr;
    text-align: center;
    height: 100%;
}

.login-box .title {
    color: rgba(50, 133, 216, 1);
    /* text-align: center; */
    font-size: 2em;
    padding-top: 25px;
    padding-bottom: 15px;
}
input:-webkit-autofill {
    background-color: white;
    -webkit-box-shadow: 0 0 0px 1000px white inset;
} 