﻿@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazir-FD.eot');
    src: url('../fonts/Vazir-FD.eot?#iefix') format('embedded-opentype'), url('../fonts/Vazir-FD.woff2') format('woff2'), url('../fonts/Vazir-FD.woff') format('woff'), url('../fonts/Vazir-FD.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazir-Bold-FD.eot');
    src: url('../fonts/Vazir-Bold-FD.eot?#iefix') format('embedded-opentype'), url('../fonts/Vazir-Bold-FD.woff2') format('woff2'), url('../fonts/Vazir-Bold-FD.woff') format('woff'), url('../fonts/Vazir-Bold-FD.ttf') format('truetype');
    font-weight: bold;
}

@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazir-Light-FD.eot');
    src: url('../fonts/Vazir-Light-FD.eot?#iefix') format('embedded-opentype'), url('../fonts/Vazir-Light-FD.woff2') format('woff2'), url('../fonts/Vazir-Light-FD.woff') format('woff'), url('../fonts/Vazir-Light-FD.ttf') format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazir-Medium-FD.eot');
    src: url('../fonts/Vazir-Medium-FD.eot?#iefix') format('embedded-opentype'), url('../fonts/Vazir-Medium-FD.woff2') format('woff2'), url('../fonts/Vazir-Medium-FD.woff') format('woff'), url('../fonts/Vazir-Medium-FD.ttf') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazir-Thin-FD.eot');
    src: url('../fonts/Vazir-Thin-FD.eot?#iefix') format('embedded-opentype'), url('../fonts/Vazir-Thin-FD.woff2') format('woff2'), url('../fonts/Vazir-Thin-FD.woff') format('woff'), url('../fonts/Vazir-Thin-FD.ttf') format('truetype');
    font-weight: 100;
}

@font-face {
    font-family: Vazir;
    src: url('../fonts/Vazir-Black-FD.eot');
    src: url('../fonts/Vazir-Black-FD.eot?#iefix') format('embedded-opentype'), url('../fonts/Vazir-Black-FD.woff2') format('woff2'), url('../fonts/Vazir-Black-FD.woff') format('woff'), url('../fonts/Vazir-Black-FD.ttf') format('truetype');
    font-weight: 900;
}

@font-face {
    font-family: 'B Nazanin';
    src: url('../fonts/BNazanin.eot') format('eot'), url('../fonts/BNazanin.ttf') format('truetype'), url('../fonts/BNazanin.woff') format('woff');
}

html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: Vazir, sans-serif;
    direction: rtl;
    /*padding-top: 50px;
    padding-bottom: 20px;*/
    margin-bottom: 60px;
}

body, * {
    font-family: Vazir,sans-serif;
}

.footer {
    direction: ltr;
    position: absolute;
    bottom: 0;
    width: 100%;
    font-size: 13px;
    border-top: solid 1px;
    border-color: #d2d6de;
    /* Set the fixed height of the footer here */
    height: 60px;
    background-color: #f5f5f5;
}

.settings {
    margin-top: 75px;
}

.container .text-muted {
    margin: 20px 0;
}

.container-fluid .text-muted {
    margin: 20px 0;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.content-header > h1 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

    .content-header > h1 > small {
        font-size: 14px;
        display: inline-block;
        padding-right: 4px;
        font-weight: 300;
    }

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
    color: #ff0000;
    font-size: 12px;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #ff0000 !important;
    background-color: #ffeeee !important;
}

.validation-summary-errors {
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid {
    display: none;
}

/*baraye login menu*/
#Profile-dp {
    padding: 14px 14px 14px;
    overflow: hidden;
    background-color: rgba(255,255,255,.8);
}

#login-dp {
    min-width: 250px;
    padding: 14px 14px 0;
    overflow: hidden;
    background-color: rgba(255,255,255,.8);
}

    #login-dp .help-block {
        font-size: 12px;
    }

    #login-dp .bottom {
        background-color: rgba(255,255,255,.8);
        border-top: 1px solid #ddd;
        clear: both;
        padding: 14px;
    }

    #login-dp .social-buttons {
        margin: 12px 0;
    }

        #login-dp .social-buttons a {
            width: 49%;
        }

    #login-dp .form-group {
        margin-bottom: 10px;
    }

.btn-fb {
    color: #fff;
    background-color: #3b5998;
}

    .btn-fb:hover {
        color: #fff;
        background-color: #496ebc;
    }

.btn-tw {
    color: #fff;
    background-color: #55acee;
}

    .btn-tw:hover {
        color: #fff;
        background-color: #59b5fa;
    }

@media(max-width:768px) {
    #login-dp {
        background-color: inherit;
        color: #fff;
    }

        #login-dp .bottom {
            background-color: inherit;
            border-top: 0 none;
        }
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    /*max-width: 280px;*/
}

/*baraye popup edite create var loading ajax*/
.AjaxContent {
    position: relative;
}

.Ajaxloader {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8) url(../images/loading.gif) center center no-repeat;
    z-index: 1000;
}

.white-popup {
    position: relative;
    background: #FFF;
    padding: 20px;
    padding-top: 35px;
    width: auto;
    max-width: 500px;
    margin: 20px auto;
    direction: rtl;
    text-align: right;
    -webkit-box-shadow: 0 5px 15px rgb(0 0 0 / 50%);
    box-shadow: 0 5px 15px rgb(0 0 0 / 50%);
    border-radius: 6px;
}

.UpdateDiv {
    /*margin-top: 10px;*/
}

/*popup close btn location*/
.mfp-close {
    right: unset;
    left: 0;
}

/*form Multiselect*/
a .radio input[type="radio"],
a .radio-inline input[type="radio"],
a .checkbox input[type="checkbox"],
a .checkbox-inline input[type="checkbox"] {
    margin-right: -20px;
}

.multiselect-container > li > a {
    padding-right: 10px;
}

.MultiSelect .btn {
    text-align: right !important;
}

.multiselect-container > li.multiselect-group label {
    padding: 3px 0 3px 20px;
}

/*baraye namayesh datepicker dar popup*/
.datepicker-plot-area, .unselectable {
    z-index: 10004;
}

/*baraye namayesh doroste next & pre datepicker*/
.datepicker-header {
    direction: ltr;
}

/*baraye namayesh doroste filterbox*/
.card-content {
    margin-top: 20px;
}
.panel-body-filter {
    padding-top: 20px;
    padding-right: 20px;
    padding-left: 20px;
}
.filter-box-main {
    display: table; 
    width: 100%;
    content: " ";
}

/*baraye report box */
.reportMain {
    min-height: 500px;
    border-radius: 4px;
    border-color: #ccc;
    border-style: solid;
    border-width: 1px;
    -webkit-appearance: none;
}
.reportHeader {
    border-radius: 3px 3px 0 0;
    border-width: 0 0 1px;
    border-color: #ccc;
    background-color: #f5f5f5;
    background-image: none;
    background-position: 50% 50%;
    color: #333;
    margin: 0;
    padding: .75em .2em .8333em 1em;
    cursor: default;
    border-style: solid;
    display: block;
}
.reportBtn {
    border-radius: 4px;
    color: #333;
    /*border-color: #ccc;*/
    border: 1px solid #ccc;
    background-color: #fff;
    display: inline-block;
    margin: 0;
    padding: 5px 14px 4px;
    /*font-family: inherit;*/
    line-height: 1.72em;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
}

    .reportBtn:hover {
        color: #333;
        border-color: #adadad;
        background-color: #ebebeb;
        text-decoration: none;
    }

/*max-height dropdown bootstrap */
#dropdownBills.dropdown-menu,
#dropdownWeights.dropdown-menu {
    max-height: 200px;
    overflow-y: auto;
}

/*vasatchin kardane amoodie table bootstrap */
.table.tblMiddleAlign > tbody > tr > td,
.table.tblMiddleAlign > tfoot > tr > td,
.table.tblMiddleAlign > tfoot > tr > th {
    vertical-align: middle;
}

/*change negative sign position css*/
.negativeNumber {
    direction: ltr;
    display: inline-block;
}