
@font-face {
	font-family: 'IRANSans-Medium';
	src: url('../fonts/IRANSans-Medium.eot') format('eot'),
	 url('../fonts/IRANSans-Medium.ttf') format('ttf') ,
	 url('../fonts/IRANSans-Medium.woff') format('woff'),
	url('../fonts/IRANSans-Medium.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
}
body {
    font-family: IRANSans-Medium, serif;
	position: relative;
	direction: rtl;
    min-height: 100vh;
}
body > div{
    font-family: IRANSans, serif;
    font-size: 13px;
}
select.form-control { 
    padding-top: 4px;
    padding-bottom: 4px; 
}

footer {
    height: 25px;
}

footer p span {
    float: left;
    padding-top: 5px;
}

header {
    background-color: #ECECEC;
    display: block;
    height: 80px;
    width: 100%;
    box-shadow: 2px 0 10px black;
    z-index: 100!important;
}

@media screen and (max-width: 480px) {
    header {
        height: 120px;
    }
    header .image{
        display: block;
        width: 150px;
        height: auto;
        margin: auto!important;
        float: none!important;
    }
    header .date {
        clear: both;
        display: block;
        text-align: center;
        margin: auto!important;
        float: none!important;
    }
    header .date >span {
        text-align: center;
        margin:auto!important;
    }
    header .date >span:before {
        content: ' ';
        display: block;
    }

    .user-index{
        margin-top: 100px;
    }

    footer {
        background-color: #ECECEC;
        height: auto;
    }

    footer p {
        text-align: center;
    }
    footer p span {
        float: none!important;
    }

    .nav-side-menu {
        height: auto;
        min-height: 0!important;
        width: auto!important;
    }
}

header .image{
    max-width: 200px;
    height: auto;
    float:right;
    margin-right: 25px;
    padding: 10px;
    margin-top:3px;
}
header .date{
    float: left;
    margin-left: 25px;
    padding: 10px;
    font-size: 14px;
    margin-top:20px
}
header .date >span {
    margin-left: 50px;
}

.news {
    margin-top: 15px;
    border: 1px solid gray;
    padding: 5px;
    border-radius: 10px;
    box-shadow: 1px 1px 3px gray;
}

.news p {
    text-align: justify;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 400px;
}

.box {
    background-color:#ECECEC;
    width:100%;
    min-height:70px;
    -webkit-box-shadow:0 0 10px rgba(0, 0, 0, 0.5);
    -moz-box-shadow:0 0 10px rgba(0, 0, 0, 0.5);
    box-shadow:0 0 10px rgba(0, 0, 0, 0.5);
}
.box .image{
    max-width: 12%;
    max-height: 22%;
    float:right;
    margin-right: 25px;
    padding: 10px;
    margin-top:3px;
}
.box .date{
    float: left;
    margin-left: 25px;
    padding: 10px;
    margin-top:14px
}
.box .date >span {
    margin-left: 50px;
}

.panel-primary .panel-heading .signin{
    text-align: center;
    position: relative;

}

.icon-login {
    display: block;
    position: absolute;
    left: -2px;
    top: -3px;
}
.panel-body .submit{
 margin-right: 30px;
    color:#fff;
    padding: 7px 50px;

}
.panel-body .forget{
    float:right;
    padding: 15px 1px;
}
.panel-body .forget > a{
   text-decoration:none;
}
.panel-body >form > hr{
    visibility: hidden;
}
.panel-body .form-check .form-check-label >input{
    margin-right: 11px;
}

/*sidebar css codes/////////////////////////////////////////////////////////////////// */

.nav-side-menu {
    overflow: auto;
    font-size: 12px;
    font-weight: 200;
    background-color: #c5eff7;
    font-family: IRANSans,sans-serif;
    width: 100%;
    min-height: calc(100vh - 135px);
    height: 100vh;
    color: #336E7B;
    margin-right: -15px;
    margin-left: -15px;
    margin-top: 5px;
    padding-top: 10px;
}
.nav-side-menu .brand {
    background-color: #7573ff;
    line-height: 50px;
    display: block;
    text-align: center;
    font-size: 14px;
    color: #f7f7f7;
    font-weight: bold;
}
.nav-side-menu ul,
.nav-side-menu li {
    list-style: none;
    padding: 0px;
    margin: 0px;
    line-height: 35px;
    color: #336E7B;
    cursor: pointer;
}
.nav-side-menu ul :not(collapsed) .arrow:before,
.nav-side-menu li :not(collapsed) .arrow:before {
    font-family: FontAwesome;
    content: "\f078";
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
    vertical-align: middle;
    float: left;
    -webkit-transition: transform 0.5s;
    -o-transition: transform 0.5s;
    transition: transform 0.5s;
}
.nav-side-menu ul .sub-menu li,
.nav-side-menu li .sub-menu li {
    color: #336E7B !important;
    border: none;
    line-height: 28px;
    margin-left: 5px;
}
.nav-side-menu ul .sub-menu li:hover,
.nav-side-menu li .sub-menu li:hover {
    background-color: #020203;
}   
.nav-side-menu li {
    padding-left:0px;
    margin-right: 5px;
    margin-left: 5px;
    box-shadow: 0 0 3px 2px;
    margin-bottom: 6px;
}
.nav-side-menu li a {
    text-decoration: none;
    color:#336E7B;
    font-size: 15px;
    line-height: 50px;
}
.nav-side-menu li a i {
    padding-left: 29px;
    width: 20px;
    padding-right: 10px;
}
.nav-side-menu li:nth-child(2) a i {
    padding-right: 7px;
}
.nav-side-menu li:hover {
    background-color: #2C3E50;
    color:#f5f5f5;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
}
.nav-side-menu li:hover >a {
    color:#f5f5f5;
}
.nav-side-menu .menu-content > li a {
    display: block;
    font-size: 15px;
    font-weight: bold;
}
.nav-side-menu .menu-content > li + ul a {
    display: block;
    font-size: 14px;
}
.nav-side-menu .menu-content > li + ul i {
    padding-right: 20px;
}
.right {
    margin-right: 20px;
}

.dropdown + ul li {
    background-color: #E4F1FE;
}

@media (max-width: 767px) {
    .nav-side-menu {
        position: relative;
        width: 100%;
        margin-bottom: 10px;
    }
    .nav-side-menu .toggle-btn {
        display: block;
        cursor: pointer;
        position: absolute;
        right: 10px;
        top: 10px;
        z-index: 10 !important;
        padding: 3px;
        background-color: #ffffff;
        color: #000;
        width: 40px;
        text-align: center;
    }
    .brand {
        text-align: left !important;
        font-size: 22px;
        padding-left: 20px;
        line-height: 50px !important;
    }
}
@media (min-width: 767px) {
    .nav-side-menu .menu-list .menu-content {
        display: block;
    }
}
body {
    margin: 0px;
    padding: 0px;
}
.center{
    vertical-align: center;
}
.list{
    background-color:#3A539B;
    color:#fff;
    width:auto;
}
.radius{
    border-radius:10px;
}

/*/////////////................Table.............//////////////////*/
 .panel-body .table-bordered > thead > tr > th,
 .panel-body .table-bordered > tbody > tr > td{
    vertical-align: middle;
     text-align: center;
}
.panel-body .table-bordered > tbody > tr >th{
    vertical-align: middle;
    text-align: center;
}

.panel-heading {
    text-align: center;
}
/*//////////////...........form-inline...............///////////////*/
.panel-body .form-inline .aborder {
    border-radius:10px;
    margin-top: 10px;
}


/*//////////////...........file-uploader...............///////////////*/
.file {
    position: relative;
    z-index: 50;
    height: 32px;
    background-color: rgba(203, 238, 236, 0.2);
    font-weight: bold;
    -webkit-transition: background-color 0.5s;
    -o-transition: background-color 0.5s;
    transition: background-color 0.5s;
    width: 30%;
    display: inline-block;
    margin-right: 22px;
}

.file:before {
    content: "برای انتخاب فایل اکسل کلیک کنید";
    position: absolute;
    width: 100%;
    height: 33px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    text-align: center;
    padding-top: 6px;
    color: #004cd5;
    padding-right: 37px;
}

.file:after {
    content: "\f0ee";
    font-family: fontawesome;
    font-size: 23px;
    position: absolute;
    right: 33px;
    top: 1px;
    color: #0b78bf;
    z-index: -1;
}

.file input[type=file] {
    opacity: 0;
    z-index: 100;
    width: 100%;
    height: 32px;
}
    
.file input[type="submit"] {
    border: 1px solid #cccccc;
    color: blue;
    background-color: #f5fcfb;
    font-weight: bold;
    border-radius: 4px;
    font-size: 13px;
    padding: 6px 15px;
    margin-top: 6px;
    position: absolute;
    top: -6px;
    right: 326px;
}

.alert {
    width: 80%;
    font-size: 11px;
    padding: 9px 10px;
}

a.fa-pencil { color: tan; }

a.fa-pencil:hover { text-decoration: none; }

a.fa-close { color: red; }

a.fa-close:hover { text-decoration: none; }

.panel-heading i {
    float: right;
    font-size: 29px;
}

.panel-heading span {
    font-size: 27px;
    display: block;
    text-align: left;
}

.panel-heading p {
    text-align: right;
    margin: 0;
}

.field_offer {
    display: none;
    position: absolute;
    width: 92%;
    z-index: 1;
    border: 1px solid #ccc;
    background-color: #fff;
    max-height: 86px;
    overflow-y: visible;
    font-size: 14px;
}

.field_offer span {
    display: block;
    width: 100%;
    cursor: pointer;
    padding: 4px 14px;
}

.field_offer span:hover {
    background-color: #459edc;
    color: #fff;
}

span.field_selected {
    display: block;
    margin-bottom: 6px;
    border: 1px solid #c7c7c7;
    background-color: #f7f8fa;
    padding: 5px 10px 5px 5px;
    border-radius: 2px;
}

.field_selected .fa-times {
    float: left;
    font-size: 16px;
    padding: 6px;
    margin-top: -5px;
    margin-left: -5px;
    cursor: pointer;
}

.red { color: #f00; }

.rotate-90:before {
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

/*----------header------------*/
.menu-content li.active_li {
    position: relative;
    background-color: #2C3E50;
}

/*.menu-content li.active_li:before {
    content: "";
    position: absolute;
    border-left: 33px solid #c5eff7;
    border-bottom: 25px solid transparent;
    border-top: 26px solid transparent;
    z-index: 100;
    left: 0;
}*/

li.active_li a {
    color: #fff;
}

/*----------debt------------*/
label[for=discount] + label {
    padding-top: 6px;
}



i.fa-print {
    position: absolute;
    font-size: 37px;
    color: #b6dcfe;
    top: 274px;
    right: 349px;
    z-index: 1;
    cursor: pointer;
    -webkit-transition: all 0.6s;
    -o-transition: all 0.6s;
    transition: all 0.6s;
}

i.fa-print:hover {
    color: #54a6dc;
}

.content {
    margin-top: 50px;
}




@media print {

    header,
    .box .image header,
    .nav-side-menu,
    .date span,
    .search,
    footer,
    header,
    i.fa-print
    {
        display: none;
    }

    .edit-delete-list table tr td:nth-last-child(1),
    .edit-delete-list table tr td:nth-last-child(2),
    .edit-delete-list table tr th:nth-last-child(1),
    .edit-delete-list table tr th:nth-last-child(2) {
        display: none;
    }

    .content {
        margin-right: 0;
        padding-top: 0;
    }

    span[class^=tab-] {
        display: none;
    }

    a[href]:after {
        content: none !important;
    }

}


i.fa-print {
    position: fixed;
    font-size: 24px;
    color: #fff;
    top: 100px;
    right: 97.8%;
    z-index: 1;
    cursor: pointer;
    -webkit-transition: all 0.6s;
    -o-transition: all 0.6s;
    transition: all 0.6s;
    background-color: #a9e3ef;
    padding: 3px 4px 3px 3px;
}

i.fa-print:hover {
    color: #000;
}

.pay-center {
    display: block!important;
    margin: auto!important;
}

.space {
    margin-top: 30px!important;
    margin-bottom: 30px!important;
}

.info-display {
    padding: 7px;
    display: block;
    border: 1px solid #9a9999;
    border-radius: 4px;
}

.mt-50 {
    margin-top: 50px;
}

.financial .title,
.financial .value {
    margin-bottom: 30px;
}

.left { text-align: left; }

@media screen and (max-width: 547px) {
    .padding-none {
        padding-right: 2px;
        padding-left: 2px;
    }

    i.fa-print {
        display: none;
    }
}

.span-ltr {
    display: inline-block;
    direction: ltr;
}

.invoice li {
    padding: 10px 0;
}