﻿/*public*/
.sorme {
    color: #276195 !important;
}

.bg-sorme {
    background-color: #276195 !important;
}

.bg-green {
    background-color: #76933d !important;
}

.bg-red {
    background-color: #c0504d !important;
}

.c-red {
    color: #c0504d !important;
}

.c-green {
    color: #76933dA5 !important;
}

.c-sorme {
    color: #276195 !important;
}

.pull-left > p {
    margin-left: 20px;
    color: #276195 !important;
}
#menu_toggle > i {
    color: #276195;
}

.pageBack {
    width: 17px;
    float: left;
    /*margin-left: 8px;*/
    /*margin-top: 2px;*/
    cursor: pointer;
}

/*--table--*/
.table[id] {
    margin-bottom: 0 !important;
    table-layout: fixed;
    /*table-layout: auto;*/
}

td {
    vertical-align: middle !important;
    padding: 2px 4px !important;
    text-align: right;
    color: #276195;
    text-align: center !important;
    border-top: 0 !important;
    word-wrap: break-word;
}

.table[id] > tbody > tr > td:not(:last-child) {
    border-left: 1px solid rgb(200,200,200);
}

.table[id] > tbody > tr > td.bll {
    border-left: 0;
}

.table[id] td a {
    color: #276195;
}

.table td a span {
    color: #276195 !important;
}

.table td > input {
    height: 22px !important;
    padding-top: 4px !important;
    text-align: center !important;
    border: 0;
    /*background-color: transparent;*/
    margin-top: -1.5px;
    color: #276195;
}

    .table td > input[readonly] {
        color: #276195 !important;
    }


table td:has(input) {
    padding: 1px 0 !important;
}

th {
    text-align: center;
    padding: 3px 3px 3px 0 !important;
    color: white;
    font-weight: normal;
    height: 30px;
    padding: 4px !important;
    vertical-align: middle !important;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: white;
}

.table-striped > tbody > tr:nth-of-type(even) {
    background-color: #F2F5FA;
}

/*#divList > div {
    padding: 0;
}*/

#divList > div > div.table-responsive > div {
    min-width: 500px;
}

div.table-responsive {
    padding-bottom: 15px;
}

#divList tr.activeFalse td:has(a) {
    opacity: 1 !important;
}

#divList tr.activeFalse td {
    opacity: .5;
}


.pagination {
    margin: 0px !important;
}

    .pagination > .page-item {
        cursor: pointer;
    }

    .pagination > li > a {
        padding: 4px 0px;
        width: 40px;
        height: 30px;
    }

.pagination-footer {
    padding: 5px 0;
    height: 40px;
    /*display: none;*/
}

    .pagination-footer > nav {
        height: 30px;
        display: none;
    }

    .pagination-footer > .pageInfo {
        position: absolute;
        font-size: 9.5pt;
        height: 30px;
        display: inline-flex;
        align-items: center;
    }

.page-link {
    min-width: 35px;
    font-size: 9.5pt;
}

    .page-link:focus-within {
        background-color: white !important;
    }

    .page-link > input {
        width: 32px;
        border: 0;
        height: 18px;
        text-align: center !important;
        /*margin-top: -1px;*/
        color: white;
        background-color: transparent;
        vertical-align: middle;
    }

        .page-link > input:focus {
            color: #276195;
        }
/*.indexHeader {
    margin-top: 50px;
}

    .indexHeader > div {
        margin: -5px 10px 5px 0;
        min-height: 35px;
    }

        .indexHeader > div div {
            margin: 0 5px;
        }

    .indexHeader .actionButton {
        margin: 0 10px;
    }
*/
.dateBound {
    margin: 0;
    padding: 0 5px;
}

    .dateBound > div {
        margin: 0 10px;
    }

    .dateBound div.input-group {
        margin-bottom: 0;
    }

div.input-group {
    width: 100%;
}

    div.input-group input {
        background: white !important;
        text-align: center;
    }

#divList > div {
    margin-bottom: 0px !important;
}
/*listpage ations*/
.listAction {
    position: absolute;
    left: 20px;
    margin-top: -30px;
    z-index: 5;
}

    .listAction .fa {
        width: 18px;
        color: #276195;
    }

    .listAction .fa-plus {
        font-size: 16pt;
    }

    .listAction .fa-file-excel-o {
        font-size: 15pt;
        color: #548235;
        /*display: none;*/
    }

    .listAction .fa-lightbulb-o {
        font-size: 15pt;
        color: #276195;
        /*display: none;*/
    }

    .listAction .hint {
        font-size: 9pt;
        color: #276195;
        cursor: default;
    }

        .listAction .hint span {
            display: none;
            background: white;
            padding: 5px;
            border-radius: 5px;
            border: 1px solid #276195AA;
            margin-left: 5px;
        }

        .listAction .hint:hover span {
            display: unset;
        }

    .listAction .fa-file-pdf-o {
        font-size: 15pt;
        color: #B30101;
    }

    .listAction .dropdown-menu {
        right: unset;
    }

    .listAction .excelExport > img, .listAction .printExport > img {
        display: none;
        width: 20px;
        margin-top: -7px;
    }

div:has(> div.listAction) {
    /*background: red;*/
    /*padding-top: 30px;*/
}

.listAction a:has(.fa-file-pdf-o) {
    margin-left: 20px;
}

.listAction .fa-gear {
    font-size: 16pt;
    display: unset;
}

.listAction .fa-star {
    font-size: 15pt;
    display: none;
    color: yellowgreen;
}

.listAction .fa-filter {
    font-size: 16pt;
}


.blistSetting.fav .fa-gear {
    display: none;
}

.blistSetting.fav .fa-star {
    display: unset;
}

.listSetting {
    display: none;
    background: white;
    width: 200px;
    position: absolute;
    left: 0px;
    top: 25px;
    padding: 5px;
    border-radius: 2px;
    box-shadow: 1px 1px 2px lightgrey;
    border: 1px solid lightgray;
    min-height: 100px;
    font-size: 9.5pt;
    color: dimgray;
}

i.rowAction {
    font-size: 15pt;
    margin: 2px 1px;
    color: #276195;
    cursor: pointer;
}

    i.rowAction.fa-info {
        color: #3591e0;
    }

    i.rowAction.fa-close {
        color: #C0504D;
    }

    i.rowAction.fa-check {
        color: #9BBB59;
    }

    i.rowAction.fa-edit {
        margin-top: 2px;
    }

    i.rowAction.fa-eraser {
        font-size: 13.5pt;
        color: #878787;
    }

    i.rowAction.fa-file-pdf-o {
        margin-left: 4px;
    }

i.rowVerified {
    color: #9BBB59;
    font-size: 13pt;
    /*margin-top: 2px;*/
}

i.rowInvoice {
    font-size: 13pt;
    color: #f79646;
}
/*search panel*/
.searchBox {
    float: right;
    min-width: 10px;
    min-height: 10px;
    margin: 0px 0px 5px 5px;
    position: relative;
}

    .searchBox.outline {
        text-align: right;
        font-size: 11pt;
        color: #C0504D;
    }

    .searchBox .searchBoxHeader {
        margin-left: 5px;
        font-weight: normal;
        width: 100%;
        background-color: #878787;
        margin-bottom: 0 !important;
        padding: 6px !important;
        text-align: center;
        color: white;
        font-size: 9.5pt;
        height: 30px;
    }

    .searchBox > label {
        margin-top: 5px;
    }

    .searchBox input, .searchBox select, .searchBox span {
        height: 30px !important;
        text-align: center !important;
    }

div.clearfix {
    /*width: calc(100% - 120px);*/
}

div:has(> div.clearfix) {
    /*min-height: 30px;*/
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.input-group-addon:first-child {
    border-right: 1px solid lightgray !important;
    border-right: 1px solid;
    border-bottom-right-radius: 0px;
    border-top-right-radius: 0px;
}

.input-group .form-control:last-child {
    border-bottom-left-radius: 0px;
    border-top-left-radius: 0px;
}

select {
    padding: 0 10px !important;
    text-align: center;
    /*padding-left: 5px !important;
    padding-top: 3px !important;*/
}

optgroup {
    font-weight: 500;
    color: #c0504d;
}

.actionButton {
    font-size: 16pt;
}

    .actionButton.search {
        margin-top: 32px;
        position: absolute;
        margin-right: 5px;
        color: #878787;
        cursor: pointer;
    }

    .actionButton.disabled {
        cursor: default;
        opacity: .5;
    }

        .actionButton.disabled > i.rowAction {
            cursor: not-allowed !important;
        }

.modal-sm {
    width: 380px;
}

.modal.fade:not(.in).right .modal-dialog {
    -webkit-transform: translate3d(25%, 0, 0);
    transform: translate3d(25%, 0, 0);
}

input {
    padding: 2px !important;
}

/*Cycle.Age*/
.entryModal input[type=number] {
    /*text-align: right !important;*/
}

/*hide arrows*/
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* Firefox */
input[type=number], input[inputmode=numeric] {
    -moz-appearance: textfield;
    direction: ltr !important;
}
/*hide arrows*/

.unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.progress {
    margin-bottom: 0 !important;
    margin-top: 2px !important;
}

.progress-bar {
    float: left !important;
    overflow-wrap: normal;
    color: #276195;
    direction: ltr;
    font-size: 8pt;
    font-weight: 400;
    background-color: #9BBB59;
    padding-top: 2px !important;
}

    .progress-bar.complete {
        color: white;
    }
/*right nav*/
/*.dropdown-usermenu li a {
    font-weight: 500;
}*/
.dropdown-usermenu li a:hover {
    background: lightgray !important;
    color: #262626 !important;
}

.dropdown-usermenu.dropdown-menu a {
    color: #242424 !important;
    font-size: 9pt;
    line-height: 1;
}

.dropdown-usermenu {
    padding: 5px;
}

    .dropdown-usermenu li:after {
        border: 0 !important;
    }

    .dropdown-usermenu li li a:hover {
        margin-right: 0px !important;
    }

    .dropdown-usermenu li li {
        padding-right: 20px !important;
    }

    .dropdown-usermenu .fa-sign-out {
        font-size: 12pt !important;
    }


/*Modal - Edit*/
.modal-title {
    line-height: 1.1;
    color: white;
    background-color: #878787;
    font-size: 12pt;
    font-weight: normal;
    padding: 10px 20px
}

.modal-header {
    padding: 15px 30px;
    border-bottom: 0px !important;
}

    .modal-header .close {
        color: #242424;
    }

.modal-body {
    padding: 0 !important;
    /*padding: 0 0 15px 0 !important;*/
}

label {
    color: #242424;
    font-weight: normal;
}


div.form-group > div, div.row > div {
    margin-bottom: 10px;
}

table[data-name="Md-PersianDateTimePicker-HeaderTable"] .btn {
    padding: 5px !important;
    margin: 0px !important;
}

.btn {
    padding: 5px 12px;
    margin-right: 0px;
    background-color: #878787;
}

    .btn.focus, .btn:visited, .btn:active, .btn:active:hover, .btn:hover {
        background-color: #878787;
    }

.swalButton {
    background: #878787 !important;
    color: white;
    font-weight: normal !important;
    min-width: 70px !important;
    font-size: 11pt;
    padding: 5px 12px;
    border-radius: 3px;
    border: 0;
    margin: 5px 15px;
}

.swal2-html-container {
    color: #242424 !important;
    font-size: 9.5pt !important;
}

.editApply {
    text-align: center;
}

    .editApply .btn {
        background: #878787;
        color: white;
        font-weight: normal !important;
        min-width: 90px !important;
        font-size: 11pt;
    }

        .editApply .btn:focus, .editApply .btn:hover, .editApply .btn:active:focus, .swalButton:hover {
            background-color: #878787;
            color: white;
        }

    .editApply .hint {
        position: absolute;
        right: 30px;
        margin-top: 10px;
        font-size: 9pt;
        color: #C0504D;
    }

.entryTable {
    max-width: 600px;
    margin: 0 auto;
    margin-top: 10px;
    /*width: 100%;*/
}

    .entryTable td {
        padding: 0px !important;
    }

.entryModal {
    padding: 0 15px;
}

    .entryModal .editApply {
        margin: 0px 0px 15px 15px;
    }

    .entryModal .row {
        margin-left: 0px;
        margin-right: 0px;
    }


.stiJsViewerForm {
    display: none;
}

.entryModal label {
    font-size: 9.5pt;
    font-weight: 500;
    margin-bottom: 2px;
    color: #276195;
}

.entryModal input, .entryModal select {
    padding-right: 10px !important;
    padding-left: 10px !important;
}

.entryModal input, .entryModal select {
    /*border-width: 2px;*/
    color: #242424;
    font-size: 9.5pt;
}

    .entryModal input:focus, .entryModal select:focus {
        border-color: #276195;
    }

.modal-content {
    background-color: #f7f7f7;
}

/*Tab*/
.tab-pane {
    margin: 0 15px;
}

.nav-tabs > li:first-child {
    margin-right: 20px;
}

.nav-tabs > li > a {
    border-radius: 0;
    background: white;
    padding: 5px 10px;
    padding-left: 40px;
    border: 1px solid #d9d9d9;
}

    .nav-tabs > li > a > span {
        background: #c0504daa;
        padding: 3px;
        border-radius: 10px;
        vertical-align: bottom;
        width: 20px;
        height: 20px;
        color: white;
        font-size: 8.5pt;
        position: absolute;
        left: 10px;
        top: 4px;
        text-align: center;
    }

.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {
    background: #276195cc;
    color: white;
    border-bottom-color: #d9d9d9;
}

.tab-content {
    background: #d9d9d9;
    padding-top: 10px;
}
/*.tab-content {
    padding-top: 15px;
    border-width: 0px 1px 1px 1px;
    border-style: solid;
    border-color: lightgray;
}

.nav-tabs {
    margin: 0 2px;
}

    .nav-tabs > li > a {
        padding: 7px;
    }
*/

.bookCat {
    padding: 0px;
}



/*Loader*/
.loadersmall {
    border: 5px solid #f3f3f3;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1.5s linear infinite;
    border-top: 5px solid #555;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin: 0 50%;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/*Loader*/

/*title_lines*/
label.title_lines {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
}

    label.title_lines:before,
    label.title_lines:after {
        content: '';
        border-top: 1px solid;
        margin: 0 20px 0 0;
        flex: 1 0 20px;
    }

    label.title_lines:after {
        margin: 0 0 0 20px;
    }
/*title_lines*/


.swal2-popup {
    padding: 20px !important;
    width: 350px !important;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #878787 !important;
}

span.select2 {
    width: 100% !important;
}


img.imgExpand {
    cursor: pointer;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

input.c_invalid, select.c_invalid, div.input-group input.c_invalid, span.c_invalid, td.c_invalid, tr.c_invalid {
    background-color: #C0504D66 !important;
}


tr.invoiceSelect td {
    background: #dcedc8;
}

/*Toggle - Status*/
.toggle_status {
    background-color: #d9d9d9 !important;
    padding: 2px !important;
}

    .toggle_status input {
        color: white !important;
        text-align: center;
        display: none;
        cursor: pointer;
    }

        .toggle_status input.sChecked {
            display: block;
        }

        .toggle_status input[tag=false] {
            background-color: #c0504d !important;
            width: 80%;
            float: left;
        }

        .toggle_status input[tag=true] {
            background-color: #9bbb59 !important;
            width: 80%
        }

td.td_left {
    text-align: left !important;
}

td.td_right {
    text-align: right !important;
}

#divEntry td > input, #divEntry td > select {
    text-align: center;
}

input.decimalThousandsGroup, input.thousandsGroup, input.tGroup {
    direction: ltr !important;
}

.popover td {
    padding: 0 !important;
}

.vPishkhanLoading {
    text-align: center;
    padding-top: 40px;
    position: absolute;
    left: calc(50% - 60px);
}

    .vPishkhanLoading > div::after {
        /*content: url('../../images/loading.gif');*/
        background-image: url(../../images/loading.gif);
        background-size: 120px;
        display: inline-block;
        width: 120px;
        height: 120px;
        content: "";
    }

a.buttonLoading {
    position: relative;
}

.buttonLoading > img {
    display: none;
    width: 20px;
    position: absolute;
    top: 5px;
    left: calc(50% - 10px);
}

.buttonLoading.load > img {
    display: block;
}

.lockLoading {
    position: absolute;
    left: calc(50% - 20px);
    top: calc(50% - 70px);
    opacity: 0.7;
    z-index: 10;
}

a.disabled {
    pointer-events: none;
}

.project_progress {
    padding: 0 10px !important;
}



.picture.fa-camera {
    float: left;
    position: relative;
    left: 30px;
    top: 4px;
    cursor: pointer;
}

.picture.fa-plus {
    float: left;
    position: relative;
    left: 20px;
    top: 1px;
    cursor: pointer;
    font-size: 12pt;
}

.picture.fa-close {
    float: left;
    position: relative;
    left: 10px;
    top: 0px;
    cursor: pointer;
    font-size: 12pt;
}


.cycleBoundSelector {
    cursor: pointer;
    font-size: 9.5pt;
    float: left;
    margin: 4px 0 4px 4px;
}

#cycleSelectTable {
    margin: 5px auto 20px !important;
    width: 600px;
}

    #cycleSelectTable > tbody > tr {
        cursor: pointer;
    }

/*loader spin*/
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.spin {
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

.tableHeader {
    text-align: center;
    padding-top: 5px;
    background: #276295;
    border: lightgray solid;
    border-width: 0 1px 0 1px;
}

    .tableHeader > label {
        color: white;
    }

.gallery {
    border: 2px solid #276195;
    text-align: center;
    margin: 0 1px;
}

.galleryImage {
    width: 260px;
    height: 260px;
    position: relative;
    padding: 20px;
    border: 2px solid #878787;
    margin: 5px;
    min-width: 260px;
    max-width: 260px;
    min-height: 260px;
    max-height: 260px;
    display: inline-block;
}

    .galleryImage > img {
        object-fit: contain;
        width: 100%;
        height: 100%;
    }

    .galleryImage > i {
        position: absolute;
        left: 5px;
        top: 2px;
        font-size: 15pt;
        color: #c0504d;
        cursor: pointer;
    }


.qrCode {
    margin: 0px auto;
    width: 200px;
    text-align: center;
    background: #dce7c7;
    border: 2px solid #878787;
    padding: 15px 10px;
    height: 210px;
}

    .qrCode > img {
        width: 160px;
        margin: 0 0 5px 0;
        background-color: white;
        border: 0 !important;
        border-radius: 0;
    }

    .qrCode > p {
        margin: 0;
        font-size: 9pt;
        color: #276195;
    }

tr.mtRow {
    height: 0;
}

    tr.mtRow th {
        height: 0;
        padding: 0 !important;
        border: 0 !important;
    }

.prevent-select {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.fw500 {
    font-weight: 500;
}

tr.headings > th.topRow {
    position: relative;
}

tr.headings > th > div {
    color: white;
    position: absolute;
    right: 0;
    background: #276295;
    width: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    top: 0;
    bottom: -30px;
}

/*tr.headings > th.topRow.double > div {
    top: 10px !important;
}*/

.popover-content .btn{
    background-color: transparent;
}

td.stFast[st="1"] {
    font-weight: 500;
}

td.stFast[st="2"] {
    color: #276195;
}

td.stFast[st="3"] {
    color: #76933d;
}

td.stFast[st="4"] {
    color: #bf504d;
}