body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: #0d6efd;
    text-decoration: none;
}

a:hover {
    color: #0a58ca;
    text-decoration: underline;
}

header {
    padding: 10px 0 0 0;
    background: #fff;
    margin-bottom: 20px;
}

.breadcrumb-item+.breadcrumb-item::before {
    float: left;
    padding-right: 0.7rem;
    color: rgba(33, 37, 41, 0.3);
    content: var(--bs-breadcrumb-divider, "❯");
}

.card {
    margin-top: 15px;
}

footer {
    margin-top: auto;
}

.nav-item .nav-link {
    color: #212529;
}

.nav-item .nav-link:hover,
.nav-item .nav-link:focus {
    color: #212529b3;
}

.nav-item .btn-primary {
    color: #fff !important;
    margin-left: 10px;
}

.nav-item .btn-outline-light:hover {
    color: #212529b3;
}

.nav-item .btn-light {
    background-color: #fff;
    border-color: #dee2e6;
    color: #212529;
}

#threeBlock {
    order: 1;
}

#contentBlock {
    order: 2;
}

#filterBlock {
    order: 3;
}

#exporttable {
    float: right;
}

.list-unstyled li {
    border-bottom: 1px solid #cecece;
}

.btn-toggle {
    width: 100%;
    text-align: left;
}

.btn-toggle:hover,
.btn-toggle:focus {
    outline: none !important;
}

.btn-toggle-nav li {
    padding: 0.375rem 0.75rem;
    padding-left: 30px;
}

.btn-toggle-nav li a {
    text-decoration: none;
}

footer .card {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, .125);
    border-radius: 0;
}

footer .list-menu {
    list-style: none;
    padding-left: 0;
}

footer .list-menu li {
    margin-bottom: 10px;
}

footer .list-menu li a {
    color: #51585e;
    text-decoration: none;
}

footer .list-menu li a:hover {
    text-decoration: underline;
    color: #0d6efd;
}

footer .list-menu li i {
    font-size: 22px;
    position: relative;
    top: 3px;
}

footer .list-menu li {
    color: #51585e;
}

.fa-telegram {
    color: #0088cc;
}

.fa-youtube {
    color: #c4302b;
}

.box-check input:checked~.border-oncheck {
    border-color: #0d6efd;
    background-color: rgba(231, 241, 255, .5);
}

label.btn-outline-primary span:first-child {
    font-weight: bold;
}

.box-check input:checked~.border-oncheck {
    border-color: #0d6efd;
    background-color: rgba(231, 241, 255, .5);
}

.box-check {
    position: relative;
    padding: 10px;
}

.box-check .border-oncheck {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border: 1px solid transparent;
    border-radius: 0.35rem;
    z-index: 1;
    mix-blend-mode: darken;
}

.form-control {
    background: #f9f9f9;
}

.formSearchInstrument {
    text-align: center;
    padding: 80px 0;
    width: 60%;
}

.navbar-brand {
    position: relative;
    /* top: -8px; */
}

.svg {
    width: 36px;
    height: 24px;
    object-fit: cover;
}

.btn-primary-light {
    color: #0d6efd;
    background-color: #dbe9ff;
    border-color: #dbe9ff;
}

.btn-primary-light:hover {
    color: #000;
}

.widgets-wrap a {
    text-decoration: none;
}

.widgets-wrap a {
    color: inherit;
}

.topModalBodyFreeSearch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 15px;
}

.topModalBodyFreeSearch div {
    padding-left: 15px;
    display: grid;
}

.topModalBodyFreeSearch div:first-child {
    border-right: 1px solid #dee2e6;
}

.inputModalFreeSearch {
    margin: 15px 0;
}

.tagsFreeModalSearch .viewBox .tag {
    cursor: pointer;
    background: #e7f1ff;
}

#tagFreeModalSearch:hover {
    text-decoration: underline;
}

#characterModalFreeSearch {
    font-weight: bold;
}

#contentFreeModal .btn {
    width: auto;
    margin-bottom: 15px;
    margin-left: 15px;
}

.btn-check {
    background: #000;
}

.btn-check:checked+.btn-secondary,
.btn-check:active+.btn-secondary,
.btn-secondary:active,
.btn-secondary.active,
.show>.btn-secondary.dropdown-toggle {
    background-color: #565e64;
    border-color: #51585e;
}

.btn-label-modal-search {
    border: 1px solid #e7f1ff;
}

.btn-group>.btn-check:checked+.btn-label-modal-search {
    background: #e7f1ff;
}

.hover-action a {
    text-decoration: none;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    color: #0d6efd;
    background-color: #e7f1ff;
}

.card a {
    text-decoration: none;
}

.cardHeight-100 {
    height: 100%;
}

.rowCard {
    margin-bottom: 20px;
}

.messangerSposob {
    margin-top: 15px;
    display: none;
}

.messangerSposob label {
    font-size: 30px;
    position: relative;
    top: -11px;
}

.fa-whatsapp {
    color: #43d854;
}

.fa-viber {
    color: #7360F2;
}

.boxHeight-100 {
    height: 100%;
}



#productTable, #productTableTwo{
    display: none;
}
.btnSearchAnalogs{
    position: relative;
    top: 31px;
    width: 40%;
}
.bg-danger-light{
    background: #ffd8de;
    color: #ff2748 ;
}
a.btn{
    text-decoration: none;
}
.tableProduct th, .tableProduct tr, .tableProduct td{
    border: none;
}
.card-body .list-unstyled li{
    border-bottom: none;
}
.itemside{
    width: initial;
}
#openFooter{
    float: right;
}
#contentFooterOpen{
    display: none;
    margin-right: 50px;
}
.bg-white .card{
    margin-top: 0;
}
.list-history-search{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px;
}

@media(max-width: 1400px) {
    .nav-item {
        text-align: center;
    }
}



@media(max-width: 992px) {
    #threeBlock {
        order: 1;
    }

    #contentBlock {
        order: 3;
    }

    #filterBlock {
        order: 2;
    }

    .nav-item {
        text-align: left;
    }

    .nav-item .btn {
        width: 150px;
        margin-bottom: 15px;
    }

    .nav-item .btn-primary {
        margin-left: 0;
    }
}


div .img-sm{
    -o-object-fit: contain;
    object-fit: contain;
    background-color: white;
}

div .img-md{
    -o-object-fit: contain;
    object-fit: contain;
    background-color: white;
}

.gallery-wrap .thumbs-wrap img {
    -o-object-fit: contain;
    object-fit: contain;
}

.item-thumb{
    margin-left:10px!important;
}


figure.zoom {
    background-position: 50% 50%; 
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}
 
figure.zoom img:hover {
    opacity: 0;
}
  
figure.zoom img {
    transition: opacity 0.1s;
    display: block;
    width: 100%;
  }
  

/* .tabulator-row { height:28px;}  */
.tabulator { font-size: 14px;}
.tabulator .tabulator-header  { font-size: 14px; }

.tabulator.table-striped:not(.table-dark) .tabulator-row:nth-child(even) {
    background-color:  rgba(231, 241, 255, .5);
}

.tabulator.table-striped:not(.table-dark) .tabulator-row:nth-child(even).tabulator-selected {
    background-color: #9ABCEA;
  }
  
 .tabulator.table-striped:not(.table-dark) .tabulator-row:nth-child(even).tabulator-selectable:hover {
    background-color: #bbb;
    cursor: pointer;
  }
  

.tabulator .tabulator-tree-level-0{
    background-color:  rgba(231, 241, 255, .9);
}


.tabulator .tabulator-tableHolder .tabulator-placeholder span {
    display: inline-block;
    margin: 0 auto;
    padding: 10px;
    color: rgb(80, 80, 80);
    font-weight:  lighter;
    font-size: 16px;
} 

.tabulator .tabulator-footer {
    border-top: 0;
    text-align: left;
    font-size: 0.875rem;
    padding: 1.25rem 1.25rem !important;

}


.tabulator .tabulator-footer .tabulator-page {
  padding:  0.375rem 1rem;
}


.tabulator .tabulator-footer .tabulator-page.active {
    border-color: #5c60f5;
    background-color: #5c60f5;
    color: #fff;
  }

.tabulator .tabulator-footer .tabulator-page[data-page="prev"] {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}
  
.tabulator .tabulator-footer .tabulator-page[data-page="next"] {
  border: 1px solid #dee2e6;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

.tabulator-page[data-page='first'],
.tabulator-page[data-page='last'] {
    display: none !important;
}



/* .tabulator .tabulator-footer .tabulator-page{
    border-right: 1px;
    box-sizing: border-box;
} */
  

.tabulator .tabulator-loader {
    display: none;
}

#simple-table .tabulator-row .container{
    vertical-align: middle; 
    display: inline-block;
    border-collapse:collapse;
    font-size: 16px;
    margin-top: 0px;
    margin-bottom: 0px;
}


#simple-table .tabulator-row { 
    min-height:72px;
    margin-top: 15px;
    margin-bottom: 15px;
    border-bottom: 0px; 
}  


#simple-table .tabulator-table {
    position: relative;
    display: inline-block;
    height: 100%;
    width: 100%;
}


#simple-table .tabulator-row table img{
    border:2px solid #ccc;
    background-size: contain;
}



#simple-table .itemside {
    position: relative;
    display: flex;
    width: min-content;
    vertical-align: middle;
    width: 100%;
}

#simple-table .list-product-zakaz {
    position: relative;
    display: flex;
    width: 110px;
}
#simple-table .edit-block{
    max-width: 280px;
}


#simple-table .info {
    white-space: normal;
}

 #simple-table .img-block {
   position: absolute;
   width: 100px;
   height: 100px;
   padding: 0px;
   border: 1px solid rgba(0, 0, 0, 0.14);
   display: flex;
   align-items: center;
   justify-content: center;
   background: #fff;
   font-size: 14px;
   line-height: 20px;
   text-align: center;
   letter-spacing: -0.01em;
   color: rgba(14, 14, 14, 0.4);
 }


 #simple-table .img-block img {
   max-width: 95%;
   max-height: 95%;
   object-fit: contain;
   overflow: hidden;
 }

 #simple-table .unvisible-count{
    position: absolute;
    margin-top: 108px;
    margin-left: 50px;
    z-index: 999;
    color: rgba(14, 14, 14, 0.4);
 }


 /* #simple-table .unvisible-count{
    position: absolute;
    margin-top: 45px;
    margin-left: 110px;
    z-index: 999;
    color: rgba(14, 14, 14, 0.4);
 } */

 .table-responsive {
   min-height: 100px;
 }
 .table-responsive .tabulator  { font-size: .8125rem !important;}

 .tabulator-table .tabulator-row .tabulator-cell {
    padding: 1rem 1.25rem !important;
}



.ui-autocomplete {
    pointer-events:all;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    font-size: 14px;
    text-align: left;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    background-clip: padding-box;
  }
.ui-autocomplete > li {
  padding: 3px 3px;
}
.ui-autocomplete > li.ui-state-focus {
  background-color: #DDD;
}
.ui-helper-hidden-accessible {
  display: none;
}

.ui-autocomplete-category  {
    pointer-events: none;
    font-weight: normal;
    font-style: italic;
    padding: .2em .4em;
    margin: .8em 0 .2em;
    line-height: 2.5;
    background-color: #DDD;
  } 

.ui-menu-item .ui-menu-item-wrapper.ui-state-active {
    background: #f1f1f1 !important;
    border: 1px solid #f1f1f1;
    color: unset !important;
}



.status-span {
    float: right;
    margin-right: 6px;
    margin-top: -27px;
    position: relative;
    z-index: 2;
    color: #616a6b;
}

.card-instock-qty {
    position: absolute;
    margin-top: -2px;
    margin-left: 6px;
    z-index: 2;
}

/* #notify-search-results {
    position: absolute;
    top: 0px;
    right: 0px;
    display: inline-block;
    padding: .25em .6em;
    font-size: 12px;
    line-height: 1;
    text-align: center;
    border-radius: 3rem;
    color: #fff;
    background-color: #ff2748
} */

.img-avatar {
    object-fit: cover;
}

.list-group-item .icon{

    margin-right: 10px;
    
    position: relative;
    
    top: 5px;
    
    }
    
    .node-selected{
    
    background: #0d6efd !important;
    
    font-weight: bold;
    
    }
/*     
    .list-group-item{
    
    display: grid;
    
    grid-template-columns: 0 auto 1fr;
    
    } */
    
    .leftMenuGrouo{
    
    display: grid;
    
    grid-template-columns: 1fr;
    
    }
    
    .treeview span.indent{
    
    display: none;
    
    }
    
    .titleLeftMenu{
    
    font-weight: bold;
    
    text-transform: none;
    
    }
    
    .bottomLeftMenuItem{
    
    font-size: 12px;
    
    color: rgba(0, 0, 0, 0.55);
    
    }
    
    .bottomLeftMenuItem span, .bottomLeftMenuItem svg{
    
    margin-right: 5px;
    
    }
    
    .bottomLeftMenuItem svg path{
    
    fill: rgba(0, 0, 0, 0.55);
    
    }
    
    .node-selected .bottomLeftMenuItem{
    
    color: #fff;
    
    }
    
    .node-selected .bottomLeftMenuItem svg path{
    
    fill: #fff;
    
    }
    
    .child{
    
    padding-left: 15px;
    
    }
    
    .child .titleLeftMenu{
    
    color: rgb(80, 80, 80);
    
    }
    
    .node-selected .child .titleLeftMenu{
    
    color: #fff;
    
    }
    
    .grandchild{
    
    padding-left: 30px;
    
    }
    
    .grandchild .titleLeftMenu{
    
    font-weight: normal;
    
    text-transform: inherit;
    
    }


    .splitter-horizontal {
        flex: 0 0 auto;
        height: 8px;
        background: url(hsizegrip.png) center center no-repeat #fff;
        cursor: row-resize;
      }

      .product-block-grid{
          display: grid;
          grid-template-columns: 1fr 2fr;
          gap: 20px;
      }
      .card.card-product-grid, .card.card-product-list{
          min-height: 325px;
      }
      .modal-body img{
          width: 100%;
          object-fit: cover;
      }
      .modal-img{
          cursor: pointer;
          height: 240px;
          object-fit: contain;
      }

      .reset-input-text{
        background: #f9f9f9;
        border: 1px solid #ced4da;
        position: relative;
        left: -4px;
        border-left: none;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-right: 10px;
        cursor: pointer;
    }
    .formSearchInstrument{
        padding: 0;
    }
    .text-form{
        background: rgba(0, 0, 0, .6);
        margin-top: -5px;
        padding: 5px;
        border-radius: 5px;
        margin-bottom: 0;
    }

    .element-task {
        padding: 10px;
        border-radius: 5px;
        border-bottom: none !important;
        cursor: pointer;
    }
    
    .element-task.active {
        background: #001F42;
        border: 1px solid #001F42;
        color: #fff;
    }

    
    
    .table-scroll {
        height: 300px;
        overflow: auto;
    }
    
    .table-edit tr {
        cursor: pointer;
    }
    
    .table-edit tr .form-control {
        background: none;
        border: none;
    }
    
    .table-edit tr.active .form-control {
        background: #fff;
        border: 1px solid rgba(236, 128, 22, 0.25);
    }
    
    .table-edit tr.active {
        background: rgba(236, 128, 22, 0.25);
    }
    
    .left-menu-scroll {
        height: 190px;
        overflow: auto;
        border-bottom: 1px solid #cecece;
    }

    .filename-text{
        /* display:block; */
        color: #555555 !important;
        overflow-wrap: anywhere;
        /* -webkit-line-clamp: 1;
        -webkit-box-orient: vertical; */
        /* overflow: hidden; */
        /* text-overflow: ellipsis; */
         /* max-width: 150px; */
    }

    .page-text{
        color: #111111 !important;
        font-weight: bold;
    }


   #mailsList .list-group-item{
    display: inline-flex;
   }

   #scanList .list-group-item{
    display: inline-flex;
   }

   .filename-page{
    white-space: nowrap;
   }

   .card-listview {
    margin-top: 0px !important;
   }

   .card-listview  .card-body{
    overflow-y: scroll;
   }


   #myPanzoom {
    margin-left: auto;
    margin-right: auto;
   }  


   #scan-viewer,#mail-viewer {
    width: 100%;
    height: 100%;
    object-fit:contain;
    max-height: 480px;
  }


  .border_dot {
    border: 1px dashed #ccc;
  }
  
#draggable,#draggable2 {
    position: absolute; 
    z-index: 999999;
    max-width: 400px;
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #ddd;
}


#draggable::before {
    content:'';
    position: absolute;
    left: 50%;
    top: -7px;
    margin-left: -7px;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #ccc;
    border-left: 7px solid transparent;
}

#draggable::after {
    content:'';
    position: absolute;
    left: 50%;
    top: -6px;
    margin-left: -6px;
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    border-bottom: 6px solid #ffffff;
}

#draggable .drp-buttons {
    clear: both;
    text-align: right;
    padding: 8px;
    border-top: 1px solid #ddd;
    line-height: 12px;
    vertical-align: middle;
}

#draggable .drp-buttons .btn {
    margin-left: 8px;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
}


#draggable textarea{
    padding: 0px 5px;
}


.btn-pen{
    padding: 2px 2px;
    margin-top: -5px;
}

.btn-left-radius {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.btn-right-radius {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.header-param{
    font-style: italic;
    color: #555555;
}

.trash-btn-owl {
    position: absolute;
    padding: 0px 5px !important;
    margin-left: 35px;
    margin-top: -15px;
    border-radius: 50%;
    background-color: #cccccc !important;
    border: 1px solid #f50000;
    opacity: 0.6;
}



.info .dropdown-toggle::after {
    display: none;
}


#mailsList .list-group-item,#scanList .list-group-item {
    padding: 0.2rem 0.4rem;
}
   
#mailsList .list-group-item input,#scanList .list-group-item input{
    min-width: 16px;
}


.cancel-selection{
    position: absolute;
    top: 0;
    right: 0;
    border: 1px solid transparent;
    border-radius: 0.35rem;
    z-index: 1999999999;
}

.close-filter:hover {
    cursor: pointer;
    opacity: .8;
    transition: .2s ease-in-out;
}

.close-test-mess{
    position: relative;
    width: 16px;
    height: 16px;
    margin-left: auto; 
    margin-right: 3px;
    margin-top: 0px;
  }

.not-specified{
    background-color: #DB7093;
    opacity: .9;
}


.up-down-btn{
    /* cursor: pointer; */
    pointer-events: none;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 26px;
    left: calc(100% - 40px);
    background-color: transparent;
    border: none;
    color: #777;
    height: 0px;
    margin: 0;
    padding: 0;   
}
.color-text{
    color: #0d6efd!important;
}

.was-validated .form-control:invalid, .form-control.is-invalid {
    background-image:none!important;
}

.was-validated .form-control:invalid, .form-control.is-valid {
    background-image:none!important;
   
}

.btn-big-font {
    font-size: 1rem!important;  
}
.error{
    font-size: small;
    /* vertical-align: top; */
}

.em-line-height{
    line-height: 1.2;
    display: block;
 }

 .modal-footer{
    justify-content: space-between!important;
 }

 .cookie-notice {
    color: #fff;
    font-size: 16px;
    position: fixed;
    bottom: 1.5rem;
    z-index: 9999;
    /* height: 120px; */
  }

  .cookie-notice-layout {
    background-color: rgba(0,0,0,0.8);
    /* opacity: 0.85; */
    border-radius: 12px;
    width: auto!important;
    min-height: 100px;
  }

  .opacity100 {
    opacity: 1!important;
  }


  .shadow {
    box-shadow: 0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19);
  }

  .avatar img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}


a.disabled {
    pointer-events: none;
    cursor: default;
}
