﻿body[dir=rtl].HarrisTable {
    direction: rtl;
}

body[dir=ltr].HarrisTable {
    direction: ltr;
}

.form-control:focus {
    box-shadow: unset !important;
}

body[dir=rtl] .fixed-table-toolbar {
    direction: ltr !important;
}

.fixed-table-toolbar {
    display: flex;
    margin-top: 1px;
    background-color: #f4f6f5;
    margin-bottom: 8px;
    border-radius: 7px;
    border: 1px solid #e1e0e7;
}

.float-right .form-control.search-input {
    border-bottom: 1px solid #b9bbbd;
    width: 42%;
    margin-right: 2%;
    font-size: .8rem;
    border: none;
    padding-right: 4px;
    padding-bottom: 0;
    border-bottom: 1px solid #b9bbbd;
    border-radius: 0 !important;
}

.search-input::placeholder {
    color: #bababa;
}

.bootstrap-table .fixed-table-container .table thead th {
    vertical-align: middle;
    background-color: #f4f6f5;
    border: 1px solid #e1e0e7;
    color: #000;
    padding-top: 2px;
    padding-bottom: 2px;
}
@media(max-width:1366px){
    .bootstrap-table .fixed-table-container .table th,
    .bootstrap-table .fixed-table-container .table td {
        font-size:0.75rem;
    }
}
.table-striped tbody tr:nth-of-type(odd) {
    background-color: white ;
}

.InsertKey {
    color: #235d87 !important;
    font-size: 1.6rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.MergInsertKey {
    top: 30px !important;
    left: .5%;
}

.HarrisTable tbody {
    border: 1px solid #e1e0e7 !important;
}

.bootstrap-table .fixed-table-container .table td {
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 3px;
    padding-right: 3px;
    font-weight: normal;
}

.HarrisTable .table-bordered th, .table-bordered td {
    border: none !important;
    border-bottom: 1px solid #dee2e0 !important;
}

body[dir=rtl] .bootstrap-table .fixed-table-toolbar .bs-bars, body[dir=rtl] .bootstrap-table .fixed-table-toolbar .columns, body[dir=rtl] .bootstrap-table .fixed-table-toolbar .search {
    position: relative;
    margin-top: 3px !important;
    margin-bottom: 0px !important;
    direction: rtl;
}

body[dir=ltr] .bootstrap-table .fixed-table-toolbar .bs-bars, body[dir=ltr] .bootstrap-table .fixed-table-toolbar .columns, body[dir=ltr] .bootstrap-table .fixed-table-toolbar .search {
    position: relative;
    margin-top: 3px !important;
    margin-bottom: 0px !important;
    direction: ltr;
}

.bootstrap-table .fixed-table-container .table thead th .th-inner {
    padding: .2rem !important;
}

.fixed-table-toolbar .search {
    float: right !important;
    width: 100%;
    direction: rtl;
}

.fixed-table-toolbar .bs-bars {
    float: right !important;
    width: 100%;
    direction: rtl;
}

    .fixed-table-toolbar .bs-bars .select2-container {
        padding-top: 0;
    }

    .fixed-table-toolbar .bs-bars .select2-container--default .select2-selection--single .select2-selection__arrow b {
        top: 3px !important;
    }

    .fixed-table-toolbar .bs-bars .lable-active {
        display: none;
    }
    .fixed-table-toolbar .bs-bars .select2-container .select2-selection--single {
        height: 33px !important;
    }

.fixed-table-pagination {
    background-color: #dee2e0 !important;
    padding: 0 !important;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.page-item:first-child .page-link {
    font-size: 1.3rem !important;
    padding: 0px 5px 0px 0px !important;
}

.GridHidenTR {
    cursor: pointer;
}

.page-item:last-child .page-link {
    font-size: 1.3rem !important;
    padding: 0px 0px 0px 5px !important;
}

.page-link {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #2a2a2a;
    background-color: transparent !important;
    border: none !important;
}

.bootstrap-table .fixed-table-pagination > .pagination, .bootstrap-table .fixed-table-pagination > .pagination-detail {
    margin-top: 0;
    margin-bottom: 0;
    font-size: .75rem !important;
    font-weight: bold !important;
    margin-left: 8px;
}

.dropdown-toggle {
    font-size: .75rem !important;
    font-weight: bold !important;
}

.table-hover tbody tr:hover {
    color: #000;
    font-weight: bold;
    background-color: #ececec !important;
}

.bootstrap-table .fixed-table-container .fixed-table-body {
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
}

.bootstrap-table .nav {
    padding: 0px 10px 0px 10px !important;
    cursor: pointer;
    font-size: .9rem;
    align-items: center;
}


.SubGridLink {
    color: #000 !important;
    text-align: right;
    padding: 0 !important;
    font-weight: bold;
}

    .SubGridLink i {
        color: black !important;
        font-size: 1.4rem;
        justify-content: center;
        width: 100%;
        display: flex;
    }

.SubGridMenuLink {
    color: #ffffff !important;
    text-align: right;
    padding-right: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    background-color: transparent !important;
}

.bootstrap-table .dropdown {
    position: unset !important;
}

.dropdown-item:focus, .dropdown-item:hover {
    text-decoration: none;
}

.SubGridMenuDropdown {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 100%;
    background-color: rgba(66, 70, 77, 0.9);
    padding: 0;
    margin: 0;
    border-radius: 0 !important;
    animation: example .3s ease 0s 1;
}

.dropdown-menu.SubGridMenuDropdown.show {
    display: flex;
    right: 0;
    direction: ltr;
    padding-left: 27px !important;
    transform: unset !important;
    height: 100% !important;
    /*    animation: example 5s ease 0s 1;*/
}

@keyframes example {
    from {
        right: 100%;
    }

    to {
        right: 0%;
    }
}

.bootstrap-table .dropdown-item {
    width: unset !important;
}

.page-item.active .page-link {
    color: #bf7411 !important;
}

.form-control.search-input {
    background: transparent url(/Common/Resources/Image/Search_Icon.svg) no-repeat left center;
    background-size: 19px;
}
body[dir=]
/*.form-control.search-input {
    background: transparent url(https://upload.wikimedia.org/wikipedia/commons/0/0b/Search_Icon.svg) no-repeat left center;
    background-size: 19px;
}*/
.has-card-view table {
    border: none !important;
}

.has-card-view tbody {
    background-color: #f4f4f4;
    border: none !important;
}

    .has-card-view tbody tr {
        border: 2px solid #f4f4f4;
        padding-left: 7px;
        padding-right: 7px;
        padding-bottom: 0px !important;
        border-radius: 3px;
        background-color: #f4f4f4 !important;
        display: inline-block;
        padding: 0 !important;
    }

.has-card-view .table td {
    padding-top: 19px !important;
    padding-bottom: 2px;
    font-size: .78rem;
    font-weight: normal !important;
    width: 100%;
    display: inline-block;
    background-color: white;
    margin: 0 !important;
    border: 1px solid #e1e0e5 !important;
    margin: 0 !important;
    height: 100%;
    border-radius: 3px;
    padding-left: 10px !important;
    padding-right: 10px !important;
    position: relative;
}

.has-card-view .table tbody .nav {
    position: absolute;
    top: -8px;
    left: -4px;
}

.has-card-view .table tbody tr .card-view {
    display: flex !important;
    justify-content: space-between;
    line-height: 3;
}

    .has-card-view .table tbody tr .card-view .card-view-title {
        font-weight: 700;
        display: inline-block;
        min-width: 30%;
        text-align: right !important;
    }
    .has-card-view .table tbody tr .card-view i {
        display: flex;
        justify-content: space-between;
        width: 100%;
        line-height: 3;
    }
.card-view-title {
    font-weight: 700;
    display: inline-block;
    min-width: 30%;
    text-align: right !important;
}

.has-card-view .SubGridMenuDropdown {
    background-color: #020202;
}

.has-card-view .dropdown-menu.SubGridMenuDropdown.show {
    display: flex;
    position: absolute;
    top: -26px !important;
    left: 5px !important;
    transform: translate3d(14px, 101px, 0px);
    width: 100%;
    text-align: left;
    direction: ltr;
    padding-left: 0px !important;
    justify-content: space-around;
}

.has-card-view .dropdown-item {
    display: flex;
    width: 100%;
    padding: .5rem .5rem .5rem .5rem;
    border-right: 1px solid white;
    justify-content: center;
    align-items: center;
    width: 100% !important;
}

.has-card-view .selected-table-row td {
    background-color: #ececec !important;
}

@media (min-width: 1000px) {
    .has-card-view tbody tr {
        width: 25%;
    }

    .float-right .form-control.search-input {
        width: 70%;
    }
}

@media (max-width: 1000px) {
    .has-card-view tbody tr {
        width: 33.3%;
    }

    .float-right .form-control.search-input {
        width: 70%;
    }
}

@media (max-width: 786px) {
    .has-card-view tbody tr {
        width: 50%;
    }

    .float-right .form-control.search-input {
        width: 80%;
    }
}

@media (max-width: 500px) {
    .has-card-view tbody tr {
        width: 100%;
    }

    .float-right .form-control.search-input {
        width: 100%;
    }
}

.SubGridMenuLink i {
    font-size: 1.5rem;
}

.OPTFindModal .bootstrap-table .fixed-table-pagination > .pagination-detail {
    display: none !important;
}

.OPTFindModal .bootstrap-table .fixed-table-pagination > .pagination {
    justify-content: center !important;
    width: 100% !important;
}

.OPTFindModal .OPTConfirmModalbody {
    padding: 6px !important;
}

.OPTFindModal .float-right .form-control.search-input {
    width: 100% !important;
    border: none !important;
}

.CenterAlign, .GridHidenTR {
    border: 0 !important;
}

.GridInputBoxChange {
    border: unset !important;
    width: 100%;
}

/***************************Space********************************/
/***************************HarrisTreeViewTable*******************************/

.HarrisTreeViewTable .treegrid-indent {
    width: 16px;
    height: 12px !important;
    display: inline-block;
    position: relative
}

.HarrisTreeTableWithIndent .treegrid-indent {
    width: 16px;
    height: 12px !important;
    display: inline-block;
    position: relative;
    padding-left: 38px !important;
}

.treegrid-expander {
    width: 16px;
    height: 14px;
    display: inline-block;
    position: relative;
    cursor: pointer
}

.treegrid-expander-expanded {
    background-image: url(../Images/collapse.png);
    background-repeat: no-repeat;
    -webkit-transform: rotate(180deg);
    margin-bottom: -4px;
    margin-left: 20px;
}

.treegrid-expander-collapsed {
    background-image: url(../Images/expand.png);
    background-repeat: no-repeat;
    -webkit-transform: rotate( 90deg);
    margin-bottom: -4px;
    margin-left: 20px;
}

.bootstrap-table .fixed-table-container .HarrisTreeViewTable thead th .th-inner {
    padding: 0 !important;
}

.bootstrap-table .fixed-table-container .HarrisTreeViewTable td {
    padding: 18px !important;
    border: none !important;
}

.HarrisTreeViewTable .treegrid-indent {
    padding-left: 61px !important;
    border-bottom: 1px dashed #c4c0c0;
}

.HarrisTreeViewTable tbody tr:nth-of-type(2n+1) {
    background-color: unset !important;
}

.HarrisTreeViewTable th:first-child {
    text-align: right !important;
    padding-right: 30px !important;
}

.bootstrap-table .fixed-table-container .HarrisTreeViewTable thead th .th-inner {
    color: #ce6d06;
}

.HarrisTreeViewTable .table-bordered th {
    border: none !important;
}

.HarrisTreeViewTable .table-bordered td {
    border: none !important;
}

.HarrisTreeViewTable tbody {
    border: none !important;
}

.TableTreeView .treegrid-expanded {
    color: #060606;
    font-weight: bold;
    background-image: linear-gradient(rgb(228 227 223), rgb(206 184 139));
}

body[dir=rtl] .bootstrap-table .fixed-table-toolbar .columns .dropdown-menu {
    text-align: right !important;
}

body[dir=ltr] .bootstrap-table .fixed-table-toolbar .columns .dropdown-menu {
    text-align: left !important;
}

span.card-view-value {
    width: 100% !important;
    text-align: left !important;
}

.bootstrap-table .card-views .dropdown {
    position: absolute !important;
    left: 10px;
}

.table-striped tbody tr:nth-of-type(2n) {
    background-color: #fafafa;
}

.HarrisTable tr {
    position: relative;
}

.grid-nav {
    display: flex;
    justify-content: center;
}

.HarrisTreeTableWithIndent input[type="checkbox"] {
    background: none !important;
    border: none !important;
}

    .HarrisTreeTableWithIndent input[type="checkbox"]:after {
        content: "\2718" !important;
        color: #a05d3d !important;
        -webkit-transform: translate(-50%,-50%) !important;
        -moz-transform: translate(-50%,-50%) !important;
        -ms-transform: translate(-50%,-50%) !important;
        transform: translate(-50%,-50%) !important;
        font-size: 16px;
        font-weight: bold;
    }

    .HarrisTreeTableWithIndent input[type="checkbox"]:checked:after {
        content: "\2713" !important;
        color: #a05d3d !important;
        -webkit-transform: translate(-50%,-50%) !important;
        -moz-transform: translate(-50%,-50%) !important;
        -ms-transform: translate(-50%,-50%) !important;
        transform: translate(-50%,-50%) !important;
        font-size: 16px;
        font-weight: bold;
    }

.treegrid-expanded {
    background-color: #f4f6f5 !important;
}

tr[class*="treegrid-parent"] {
    background-color: #f4f6f5 !important;
}

.HarrisTable select {
    width: 100%;
    border: none;
    font-weight: bold;
    background-color: transparent;
}

.HarrisTable input.HWCInput.DynamicFieldInputBox {
    border: none;
    width: 100%;
}
.bootstrap-table .fixed-table-toolbar .bs-bars {
    padding-left: 19px;
    padding-right: 19px;
}
.dropdown-item:focus, .dropdown-item:hover {
    background-color: unset !important;
}
.dropdown-item.active, .dropdown-item:active {
    background-color: unset !important;
}
.SubGridLink i:hover {
    color: #8d4514 !important;
}
tfoot tr {
    background-color: #DEE2E1;
}
tfoot tr th{
    font-size:.85rem !important;
}
.table-striped tr.selected-table-row {
    background-color: #dee2e0 !important;
}
.table-striped tr.selected-table-row td{
   font-weight:bold;
}