:root{
    --color-basic: #819aa7;
}
.flex-center{
    justify-content: center;
    align-items: center;
    display: flex !important;;
}

.flex-center-right{
    justify-content: flex-end;
    align-items: center;
    display: flex !important;;
}

.flex-center-left{
    justify-content: flex-start;
    align-items: center;
    display: flex !important;;
}

.flex-center-between{
    justify-content: space-between ;
    align-items: center;
    display: flex !important;
}


th.sort{
    cursor: pointer;
    position: relative;
    white-space: nowrap;
}
th.sort .fa{
    display: none;
    font-size: 16px;
    margin-left: 10px;
}
th.sort[data-desc=desc] .fa-sort-desc{    
    display: inline-block;
}
th.sort[data-desc=asc] .fa-sort-asc{
    display: inline-block;
}

.floatThead-table th{
    background: #819aa7;
    color: #fff !important;
}

.bg-primary th{
    background: #007bff;
    color: #fff !important;
}

.table-list{
    min-height: calc(100vh - 300px);
    position: relative;
}

.filter-right{
    position: fixed;
    top: 110px;
    right: -350px;
    display: flex;
    align-items: flex-start;
    transition: 0.6s all ease;
    z-index: 1100;
}

.btn-white{
    background: #fff;
    border: 1px solid #e4eaec;   
}

#filter-right-toggle{
    border-right: none;
    margin-right: -1px;
    z-index: 1000;
}

.filter-right .filter-content{
    width: 350px;
    background: #fff;
    transition: 0.6s all ease;
    box-shadow: 0 3px 12px rgba(0,0,0,.05);
    border: 1px solid #e4eaec;
    padding: 15px;
}

.filter-right.open{
    right: 0;
}

.table-list .preloader{
    position: absolute;
    z-index: 1000;
    left: 0;
    right: 0;
    top: 60px;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}
.table-list .preloader .loader{
    z-index: 100;
    position: relative;
}
.back{
    position: absolute;
    z-index: 50;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #000;
    opacity: 0.5;
}

.filter-selected{
   display: none;
   align-items: center;
   padding-bottom: 10px;
}

.filter-selected>span{
    cursor: pointer;
    display: inline-block;
    margin-right: 10px;
    font-size: 14px;
}
.filter-selected>span>i{
    display: inline-block;
    margin-left: 5px;
}
.select2-container{
    z-index: 1000;
}

.modal-open .select2-container{
    z-index: 1000;
}

.select2-container.select2-container--open {
    z-index: 1900;
}

.select2-container--default .select2-selection,
.select2-results__option{
    font-size: .858rem;
    font-weight: 300;
}

.admin-menu-list{
    column-count: 3;
    width: 100%;     
}

.form-control-sm + .select2-container--default .select2-selection--single {
    height: 2.288rem;
}

.nav-item-menu{
    position: absolute;
    right: 10px;
    top: 5px;
}

.table thead th {
    vertical-align: middle;
}
.popover {
    max-width: 350px;
}

.btn-sm{
    padding: 4px 8px;
}

.mh-auto{
    min-height: auto !important;
}

.mh-400{
    max-height: 400px;
    overflow-y: auto;
}
.h-600{
    height: 600px;
}


.fixed-height-block{
    height: 500px;
    overflow: auto;
}

.table-cursor tbody tr{
    cursor: pointer;
}

.table tbody tr.active td{
    background: #ccc;
}

.badge-danger {
    color: #fff!important;
    background-color: #ff4c52!important;
}

.badge-success {
    color: #fff!important;
    background-color: #11c26d!important;
}
.abs-badge .transfer-bid{
    position:relative;
}
.abs-badge .badge{
    font-size: 10px;
    padding: 2px 4px;
    position: absolute;
    margin: 0;
    right: 0;
}

.dz-preview{
    display: none;
}

.img-contain{
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.list-autocomplete{
    position: absolute;
    background: #fff;
    padding: 10px 0;
    z-index: 2000;
    left: 0;
    right: 0;
    max-height: 250px;
    overflow: auto;
    border: 1px solid #eee;
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
    display: none;
}
.list-autocomplete ul{
    margin: 0;
    padding: 0;
    list-style: none;
}
.list-autocomplete ul a{
    display: block;
    padding: 5px 15px;
}
.list-autocomplete ul li:hover{
    background: #f1f4f5;
}

.text-white{
    color: #fff !important;
}

thead.text-white th{
    color: #fff !important;
} 

.panel-title{
    font-size: 20px;
}

.overflow-auto{
    overflow: auto;
}

.overflow-y-auto{
    overflow-y: auto;
}

.close-block{
    position: absolute;
    top: -10px;
    right: -5px;
    font-size: 16px;
    cursor: pointer;
}

.page-aside .list-group-item {
    white-space: normal;
}

.overlay-panel .close-block{
    top: 0;
    right: 3px;
}

.timeline::before {
    left: 20px;
}

.timeline-item.timeline-reverse {
    clear: both;
    width: 100%;
    margin-top: 0 !important;
    position: static;
    padding: 0;
    margin-bottom: 30px;
}

.timeline-icon .timeline-reverse .timeline-dot {
    margin: 0;
    position: static;
    margin-right: 20px;
    width: 40px;
    flex-shrink: 0;
}



.timeline-info {
    clear: both;
    margin: 0;
    text-align: left;
    padding: 15px 25px;
}

.scrollable.is-enabled {
    overflow: auto;
}

.dropdown-menu-media .list-group-item .media {
    padding: 10px 0;
}

.dd-handle {
    height: auto;
}

.modal-content{
    border-radius: 20px;
}

.modal-content .modal-header{
    border-radius: 20px 20px 0 0 !important;
}

.panel {
    border-radius: 20px;
}

table {
  border-collapse: collapse;
  border-radius: 10px 10px 0 0 !important;
  overflow: hidden;
}

.pagination {
    flex-wrap: wrap;
}

.site-menubar, .site-navbar {
   background: url(/storage/images/back.png) no-repeat center;
   background-size: cover;
}

.navbar-brand-logo {
    height: 45px;
}
 
.btn-primary, .btn-primary:hover, .btn-primary:active, .btn-primary:focus, .btn-primary:active:hover{
    background-color: var(--color-basic) !important;
    border-color: var(--color-basic) !important;
}

.page-item.active .page-link {
    background-color: var(--color-basic) !important;
    border-color: var(--color-basic) !important;
}

.modal-primary .modal-header {
    background-color: var(--color-basic) !important;
}

.bg-primary, .bg-primary th {
    background-color: var(--color-basic) !important;
}

.form-control.focus, .form-control:focus {
    border-color: var(--color-basic) !important;
}

.text-primary{
    color: #819aa7 !important;
}

.disabled-block{
    position: relative;
}

.disabled-block:before{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: transparent;
    z-index: 100;
    cursor: not-allowed;
}

.text-black{
    color: #000;
}

.select2-container--default .select2-dropdown,
.select2-container--default.select2-container--open .select2-selection  {
    border-color: #819aa7 !important;                                               
}

.transfer-price{
    position: absolute;
    z-index: 100; 
    left: 15px;
    top:0
}

.sidebar-organization-name{
    padding: 0 24px;
    margin-top: 20px;
    font-size: 24px;
    line-height: 38px;
    color: #76838f;
    transition: all .25s,font .1s .15s,color .1s .15s;
    text-align: center;
    font-weight: 400;
}

.radio-legal{
    display: flex;
}

.radio-legal label span{
    padding: 5px 8px;
    border: 1px solid var(--color-basic);
    cursor: pointer;
    display: inline-block;
}

.radio-legal input{
    display: none;
}

.radio-legal input:checked+span{
    color: #fff;
    background: var(--color-basic);
}

.modal-sm{
    max-width: 400px;
    width: 100vh;
}

.no-border{
    border: none !important;
}

.multi-list-wrapper{
    border: 1px solid var(--color-basic);
    border-radius: 10px;
    padding: 15px;
}

.site-action {
    bottom: 20px;
}

table .form-group{
    margin: 0;
}

.date-input[readonly]{
    background: #fff;
}

.jodit_fullsize_box {
    z-index: 500000!important;
}

.bg-danger .btn-outline{
    background: #fff;
}

.pointer{
    cursor: pointer;
}

@media (max-width: 767.98px){
    .timeline-icon {
        margin-left: 0;
    }
    .site-action {
        left: auto;
        right: 30px;
        bottom: 20px;
    }
}