@import url(../../../../css/fontiran.css); /* لینک فایلی که وظیفه بارگذاری فونت ها را برعهده دارد */
body {
    font-family: IRANSans !important;
    font-weight: 300;
}

ul {
    list-style: none;
}

blockquote {
    border-right: 2px solid #bbbaba;
    padding-right: 10px;
    font-style: italic;
    border-left: none;
background: transparent;
}

h1, h2, h3, h4, h5, h6, input, textarea {
    font-family: IRANSans !important;
}

a:hover {
    text-decoration: none;
}

html, body {
    height: 100%;
}

fieldset:first-child {
    margin: 1.5em 0;
}

fieldset {
    margin: 2em 0;
}

fieldset {
    border: 1px solid #ddd !important;
    padding: 10px !important;
    position: relative;
    border-radius: 4px;
    background-color: #f5f5f5;
}

legend {
    width: 35% !important;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px 5px 5px 10px !important;
    background-color: #ffffff;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 15px 15px 20px;
}

.container-full {
    width: 100%;
    padding: 0 2rem;
    margin: 10px auto;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

.toast-info {
    background-color: #2F96B4 !important;
}

.toast-warning {
    background-color: #F89406 !important;
}

.toast {
    max-width: 96% !important;
}

#toast-container > div {
    opacity: 1;
    /*background-position: 99% center;*/
    /*padding-right: 30px;*/
}

@media (max-width: 767px) {
    .nav li > form > button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.avatar {
    vertical-align: middle;
    /*width: 50px;*/
    /*height: 50px;*/
    background-position: center;
    background-size: cover;
    background-color: white;
    display: inline-block;
}

.avatar.s16 {
    width: 16px;
    height: 16px;
}

.avatar.s24 {
    width: 24px;
    height: 24px;
}

.avatar.s32 {
    width: 32px;
    height: 32px;
}

.avatar.circle {
    border-radius: 50%;
}

#nprogress .bar {
    background: #ff3a1e !important;
    height: 3px;
}

#nprogress .bar, #nprogress .spinner {
    z-index: 10001;
}

#nprogress .spinner-icon {
    z-index: 1001;
    border-top-color: #ff3a1e;
    border-left-color: #ff3a1e;
}


.select2-container {
    width: 100% !important;
    padding: 0;
}

.select2-container--default .select2-selection--single, .select2-container--default .select2-selection--single {
    border: 1px solid #ced4da !important;
    border-radius: 4px !important;
    height: calc(1.43em + .75rem + 2px) !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 5px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444 !important;
    line-height: 33px !important;
}

.form-group.required label:after {
    content: '*';
    padding-left: 2px !important;
    color: red !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    left: 1px !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    direction: rtl !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 20px !important;
    padding-right: 8px !important;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    float: left !important;
}

.panel .panel-header h3 {
    display: inline-block;
}

.panel .action-buttons-wrapper {
    margin: 5px 0;
}

.nav .action-buttons-wrapper {
    flex: 1;
}

.panel .panel-header .quick-search {
    float: left;
    min-width: 250px;
}

.label-btn {
    float: left;
}

.label-btn .btn {
    padding: .15rem .5rem;
    font-size: .74rem;
    line-height: 1.5;
    border-radius: .2rem;
}

.form-group .inputs-group input:first-child, .form-group .inputs-group .form-row:first-child {
    margin-top: 0;
}

.form-group .inputs-group input, .form-group .inputs-group .form-row {
    margin-top: 10px;
}

.btn-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.btn-tiny {
    font-size: 0.725rem !important;
    padding: 0.25rem 0.5rem !important;
    line-height: 1.5 !important;
    border-radius: 0.2rem !important;
}

.table .sticky-header th {
    position: sticky;
    top: -1px;
    background-color: white;
}

.input-group-sm .auto-complete {
    top: 33px
}

.auto-complete {
    display: none;
    position: absolute;
    /*width: 100%;*/
    /*background: #fff;*/
    z-index: 1000;
    /*padding: 10px;*/
}

.auto-complete .list-group {
    padding-left: 0;
}

#main-search {
    width: 300px;
}

td.department-td {
    /*vertical-align: middle;*/
    align-content: center;
    align-items: center;
    padding: 0;
    text-align: center;
}

td.department-td a {
    display: block;
    border-bottom: 1px solid #dee2e6;
    padding: .5rem 0;
}

td.department-td a:last-child {
    border-bottom: none;
    /*padding-bottom: 0;*/
}

td.department-td a:first-child {
    /*border-bottom: none;*/
    /*padding: 0;*/
}

.rtl th, [dir=rtl] th {
    text-align: center;
}

.tooltip {
    opacity: 1 !important;
}

.toast-success {
    background-color: #51A351 !important;
}

.toast-error {
    background-color: #BD362F !important;
}

.items-no-padding td, .items-no-padding th {
    padding: 2px !important;
}

.items-no-padding .form-control {
    border: none !important;
    border-radius: 0 !important;
}

.items-table input {
    text-align: center;
}

.items-table .reference_number {
    width: 200px;
}

.items-table .catalog_number {
    width: 200px;
}

.items-table .name {
    width: 750px;
}

.items-table .amount {
    width: 80px;
}

.items-table .unit {
    width: 100px;
}

.items-table .price, .items-table .discount, .items-table .final-price {
    width: 160px;
}

.additions-table .name {
    width: 50%;
}

.card {
    transition: background-color 0.9s ease-in-out;
}

.card-body img {
    width: 100%;
    margin: auto;
}

.fileinput-upload-button, .fileinput-remove-button {
    border-radius: 0 !important;
}

.selectable {
    cursor: pointer;
}

#products-list-table td, #products-list-table .thead-dark th {
    font-size: 0.9em !important;
}

@media (min-width: 1200px) {
    .navbar .container {
        max-width: 100%;
    }

}

.dropdown-menu {
    left: auto !important;
    right: 0;
}


.last-activities-card .card-body {
    overflow: hidden;
}


.vertical-timeline {
    width: 100%;
    position: relative;
    padding: 0 0 1rem
}

.vertical-timeline::before {
    content: '';
    position: absolute;
    right: 11px;
    height: 100%;
    width: 2px;
    /*background: #e9ecef;*/
    border-radius: .25rem
}

.vertical-timeline-element {
    position: relative;
    margin: 0 0 1rem
}

.vertical-timeline--animate .vertical-timeline-element-icon.bounce-in {
    visibility: visible;
    animation: cd-bounce-1 .8s
}

.vertical-timeline-element-icon {
    position: absolute;
    top: 0;
    right: 3px
}

.vertical-timeline-element-icon .badge-dot-xl {
    box-shadow: 0 0 0 5px #fff
}

.badge-dot-xl {
    width: 18px;
    height: 18px;
    position: relative
}

.badge:empty {
    display: none
}

.badge-dot-xl::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: .25rem;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -5px 0 0 -5px;
    background: #fff
}

.vertical-timeline-element-content {
    position: relative;
    margin-right: 30px;
    font-size: .8rem
}

.vertical-timeline-element-content .timeline-title {
    font-size: .8rem;
    text-transform: uppercase;
    margin: 0 0 .5rem;
    padding: 2px 0 0;
    font-weight: bold
}

.vertical-timeline-element-content .vertical-timeline-element-date {
    display: block;
    position: absolute;
    left: -90px;
    top: 0;
    padding-right: 10px;
    text-align: right;
    color: #adb5bd;
    font-size: .7619rem;
    white-space: nowrap
}

.vertical-timeline-element-content:after {
    content: "";
    display: table;
    clear: both
}


/*.custom-control-input:focus ~ .custom-control-label::before {*/
/*    border-color: red !important;*/
/*    box-shadow: 0 0 0 0.2rem rgba(255, 47, 69, 0.25) !important;*/
/*}*/

/*.custom-control-input:checked ~ .custom-control-label::before {*/
/*    border-color: red !important;*/
/*    background-color: red !important;*/
/*}*/

/*.custom-control-input:active ~ .custom-control-label::before {*/
/*    background-color: red !important;*/
/*    border-color: red !important;*/
/*}*/

/*.custom-control-input:focus:not(:checked) ~ .custom-control-label::before {*/
/*    border-color: red !important;*/
/*}*/

/*.custom-control-input-green:not(:disabled):active ~ .custom-control-label::before {*/
/*    background-color: red !important;*/
/*    border-color: red !important;*/
/*}*/

.panel_header {
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
    background-color: #f5f5f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px 4px 0 0;
}

.panel_notes {
    max-height: calc(100vh - 200px);
    border-right: 1px solid #F5F5F5;
    border-left: 1px solid #F5F5F5;
    padding: 10px 0;
}

.panel_header h3 {
    font-size: 1em;
}

.panel_header input {
    width: 60%;
    outline: 1px solid deepskyblue;

}

.panel_notes {
    overflow-y: auto;
    max-height: calc(100vh - 200px);
    border-right: 1px solid #F5F5F5;
    border-left: 1px solid #F5F5F5;
    padding: 10px 10px;
}

.panel_notes li.note {
    position: relative;
    min-height: 150px;
    border: 2px solid lightblue;
    border-radius: 10px;
    list-style: none;
    padding: 10px 10px 30px;
    margin: 15px auto;
}

.comment-item {
    position: relative;
}

.user-views {
    /*position: ;*/
    /*bottom: 0px;*/
    /*left: 150px;*/
    display: inline-block;
}

.user-views ul {
    /*margin: 10px 0px 10px 15px !important;*/
    /*padding: 10px !important;*/
    font-size: 0px;
    display: inline-block;
    margin-bottom: 0 !important;
}

.user-views li {
    list-style: none;
    margin: 0px 0px 0px -8px !important;
    padding: 0px 0px 0px 0px !important;
    display: inline-block;
}

.user-views li a {
    margin: 0px !important;
    padding: 0px !important;
}

.user-views li a i {
    position: relative;
    top: 4px;
    font-size: 16px;
    color: #8d8d8d;
    margin-right: 15px;
}

.user-views li a span {
    font-size: 14px;
    color: #8d8d8d;
    margin-left: 5px;
    position: relative;
    top: 5px;
}

.user-views li a em {
    font-size: 14px;
    color: #8d8d8d;
    position: relative;
    top: 3px;
}

.user-views li a img, .user-views-more li a img {
    width: 25px;
    height: 25px;
    margin: 0px !important;
    border: 2px solid #fff;
}


.breadcrumb {
    background-color: transparent !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
}

.breadcrumb-item + .breadcrumb-item::before {
    float: right !important;
}

.breadcrumb-item {
    display: inline-block !important;
    padding-right: 0 !important;
    padding-left: 0 !important;

}

.btn-group-tn > .btn, .btn-tn {
    padding: 0.10rem 0.5rem !important;
}

/*.list-group-item {*/
/*    margin-bottom: 0;*/
/*}*/

.list-group-unbordered .list-group-item {
    border-bottom: 1px solid rgba(0,0,0,.125);
    border-top: none;
}

.list-group-unbordered .list-group-item:last-child {
    border-bottom: none;

}

/* The side navigation menu */
.side-reminder-notification {
    height: 100%; /* 100% Full-height */
    width: 400px; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0; /* Stay at the top */
    left: -400px;
    /*background-color: #111; !* Black*!*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the side-reminder-notification */
}

.reminder-notification-indicator:hover {
    opacity: 1;
}

.reminder-notification-indicator {
    position: fixed;
    width: 30px;
    height: 150px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-left: none;
    /*padding: 5px 16px 0px 16px;*/
    /* background-color: #cc8500; */
    /*color: #ff8816;*/
    z-index: 1001;
    bottom: 35%;
    right: -100px;
    font-size: 1.4rem;
    /*border: 1px solid #3b3b3b;*/
    opacity: 0.8;
    transition: 500ms;
    border-left-color: #f8f9fa !important;
}


a.bg-light:focus, a.bg-light:hover, button.bg-light:focus, button.bg-light:hover {
    background-color: #f8f9fa !important;
}

/* When you mouse over the navigation links, change their color */
.side-reminder-notification a:hover {
    /*color: #f1f1f1;*/
    /*opacity: 0.8;*/
}

/* Position and style the close button (top right corner) */
.side-reminder-notification .closebtn {
    position: absolute;
    top: 0;
    left: 15px;
    color: #818181;
    font-size: 36px;
    margin-right: 50px;
}

.clickable {
    cursor: pointer;
    transition: background-color 500ms;

}

.clickable:hover {
    background-color: #eeeeee;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
    transition: margin-left .5s;
    padding: 20px;
}

.thread-wrapper {
    position: relative;
}

.thread-wrapper:before {
    content: '';
    border-left: 2px solid #c7c7c7;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 36px;
    height: calc(100% - 20px);
}

/* On smaller screens, where height is less than 450px, change the style of the side-reminder-notification (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .side-reminder-notification {
        padding-top: 15px;
    }

    .side-reminder-notification a {
        font-size: 18px;
    }
}

converse-root {
    direction: ltr !important;
}

.conversejs converse-chats.converse-chatboxes {
    left: 0;
}

converse-avatar.avatar {
    background-color: transparent;
}

.conversejs converse-chats.converse-chatboxes {
    right: auto !important;
    direction: ltr !important;
    left: 0 !important;
}

.conversejs converse-chats.converse-overlayed {
    flex-direction: row;
}


.conversejs *, .conversejs ::after, .conversejs ::before, #converse-modals {
    direction: ltr !important;
}

.float-right {
    float: right !important;
}

.float-left {
    float: left !important;
}

.user-panel .image {
    padding-right: 0.8rem;
}

.card {
    box-shadow: none !important;
}

.card-title {
    float: right;
    margin-bottom: 0;
}

.card-header > .card-tools {
    float: left;
    margin-left: -0.625rem;
    margin-right: 0;
}

.circle-icon {
    display: inline-block;
    text-align: center;
    width: 36px;
    height: 36px;
    background-color: rgb(186, 104, 200);
    border-radius: 50%;
    /*  background: white;*/
    /*border-radius: 50%;*/
    /*text-align: center;*/
    vertical-align: middle;
    padding: 0.38rem;
    color: white;
    /*border: 1px solid #212121;*/

}

.notification-date-filter-link-wrapper {
    /*max-height: 35px;*/
    overflow: hidden;
    transition: max-height 3s linear;
}

.notification-date-filter-link-wrapper.expand {
    max-height: max-content;
    transition: max-height 3s linear;
}

.nowrap {
    text-wrap: nowrap;
}

