/* Add here all your CSS customizations */

body{
  padding-right: 0px !important;
}

nav {
    margin-top: 10px;
    float: right;
}

.cursor--pointer {
    cursor: pointer!important;
}

td.articuls-content{
    border: 2px solid #9e9e9e99;
    border-top: none;
    border-radius: 5px;
    padding: 0 .7em .7em;
}

ul.nav-main li .nav-children li.nav-active > a {
  color: #fff;
  background: #0088cc;
}

ul.nav-main li.nav-active.single > a {
  color: #fff;
  background: #0088cc;
}

.yadcf-filter-wrapper-inner{
  border-radius:5px;
  border:none !important;
}

.yadcf-filter-range-date-seperator {
  margin-left: 2px !important;
  margin-right: 2px !important;
}

table .custom-striped-row:nth-child(4n+1) {
    background-color: rgba(0, 0, 0, 0.05);
   }

  .yadcf-filter-wrapper-inner {
      display: flex !important;
      border: none !important;
  }

  .yadcf-filter-range-date{
    width: 87px !important;
    height: 37px;
    border-radius: 0.25rem;
    border: 1px solid #aaaaaa;
    padding-left: 10px;
    color: #444 !important;
    background: #fff;
  }

  .notification-icon > .badge {
    background: #D2312D;
    color: #FFF;
    font-size: 10px;
    font-weight: normal;
    height: 16px;
    padding: 3px 5px 3px 5px;
    position: relative;
    top: -10px;
    border-radius: 100%;
  }

  .datepicker-dropdown {
    z-index: 9999 !important;
  }

/*  Template  */

.templates-container a{
    text-decoration: none;
    color: inherit;
}

.load-artiuls-table.selected {
    color: white;
    background-color: #9696969e!important;
}

.client-text-container {
    background: white;
    width: 90%;
}

body .jstree-default .jstree-wholerow-clicked,
body .jstree-default .jstree-clicked {
  background: transparent;
  background-color: transparent!important;
}

.jstree-default .jstree-clicked.selected-trigger{
  background-color: #ffd400!important;
}

.jstree-default .selected-trigger{
  background-color: #ffd400!important;
}

.list-group-horizontal {
  overflow: auto;
}

.section-header{
  text-align:center;
  margin-top:0px;
}

.btn-alt {
  background-color: #D8BFD8;
  border-color: #D8BFD8;
  color: #FFFFFF;
}

.btn-success-alt {
  background-color: #2eb82e;
  border-color: #2eb82e;
  color: #FFFFFF;
}

.btn-warning-alt {
  background-color: #ffb401;
  border-color: #ffb401;
  color: #FFFFFF;
}

.reference_wrapper {
  width: 24%;
  display: inline-block;
  vertical-align: top;
}

.loader {
    border: 5px solid #f3f3f3;
    border-radius: 50%;
    border-top: 5px solid #0088cc;
    border-bottom: 5px solid #0088cc;
    width: 35px;
    height: 35px;
    padding: 0;
    position: absolute;
    top: 4px;
    right: 1em;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
  }

  @-webkit-keyframes spin {
    0% {
      -webkit-transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
    }
  }

  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }

  .articuls-choice-container {
    position: absolute;
    top: 95%;
    margin-left: 17%;
    background: white;
    border: 1px solid #ced4da;
    padding: 0;
    overflow-y: auto;
    max-height: 64vh;
    z-index: 10;
  }

  .articuls-choice-container li {
    list-style: none;
    padding: .5em;
    border-bottom: 1px solid #ced4da;
  }

  .articuls-choice-container li:hover {
    cursor: pointer;
    background:#0088cc;
    color: white;
  }

  .append-products .delete-articul {
    font-size: 1.5em;
    text-align: center;
    cursor: pointer;
  }

  .z-index--high{
      z-index: 9999 !important;
  }

  .cat-product-info-column {
    width: 100%;
    overflow-y: auto;
  }

  .errorBox{
    display:grid;
  }

  .error{
    color:#C10000;
    border-color: rgb(185, 74, 72) !important;
  }

  .success{
    color:#2eb82e;
    border-color: #2eb82e;
  }

  .warning{
    color:#ed9c28;
    border-color: #ed9c28 #ed9c28 #d18211 !important;
  }

  .form-radio{
    height: 38px;
    line-height: 1.28;
    margin-top: -1px;
    border-radius: 4px;
  }

  .form-radio.error{
    color:#C10000;
    border-color: rgb(185, 74, 72) !important;
    border:1px solid;
  }

  .form-control.error + .select2 .select2-selection{
      border-color: #C10000!important;
  }
  *:focus{
    outline:0px;
  }

  .sidebar-left{
    width:250px;
  }

  .width-180{
    width:180px !important;
    margin-right:3px;
    margin-bottom:3px;
    font-size:11px;
  }

  .width-180 .form-control{
    font-size:0.8rem !important;
  }

  .width-360{
    width:360px !important;
    margin-right:3px;
    font-size:11px;
  }

  .width-360 .form-control{
    font-size:0.8rem !important;
  }

  .width-540{
    width:546px !important;
    margin-right:3px;
    font-size:11px;
  }

  .width-540 .form-control{
    font-size:0.8rem !important;
  }

  .custom-width {
    width: calc(33.33% - 5px); /* Calculate width for 3 items with margin-right */
    font-size: 11px;
    margin-right: 3px;
  }

  .no-wrap{
    white-space: nowrap;
  }

  input[type='checkbox'].readonly, input[type='radio'].readonly{
      pointer-events: none;
  }

  select.disabled{
      pointer-events: none
  }

  .datepicker-input.disabled{
    pointer-events: none;
    background: #e9ecef !important;
  }

  .date_range_div .form-control{
    height:38px;
    border-radius:4px !important;
    background:#fff;
    font-size:0.85rem;
  }

  .datepicker-input{
    height:38px;
    font-size:0.85rem !important;
    background:#fff !important;
    text-align:center;
  }

  .inline_exp_span{
    display:inline-block;
    width:20%;
  }

  .dot{
    height: 25px;
    width: 25px;    
    border-radius: 50%;
    display: inline-block;
    top: 6px;
    position: relative;
  }

  .dot-medium {
    height: 18px;
    width: 18px;
    border-radius: 50%;
    display: inline-block;
    top: 2px;
    position: relative;
  }

  .dot-small {
    height: 11px;
    width: 11px;
    border-radius: 50%;
    display: inline-block;
    top: 1px;
    position: relative;
  }

  .dot-success{
    background-color: #47a447;
  }

  .dot-warning{
    background-color: #ed9c28;
  }

  .dot-danger{
    background-color: #d2322d;
  }

  .danger-alt{
    background-color: hsla(0, 100%, 70%, 0.3) !important;
  }

  h4.chronology{
    padding-left:10px;
    cursor:pointer
  }

  .right_aligned{
    text-align: right;
    padding-right:10px;;
  }

  .left_aligned{
    text-align: left;
    padding-left:10px;;
  }

  .nowrap{
    white-space: nowrap;
  }

  .ui-autocomplete {
      max-height: 400px;
      overflow-y: auto;
      overflow-x: hidden;
      padding-right: 20px;
  }

  .product_inactive {
    color:#ced4da !important;
  }

  /* Theme */
  .card .card-body {
    min-height: 80px;
  }

  /* Dark Theme */

  .dark .table{
    color: #abb4be;
  }

  .dark .list-group-item {
    background-color: #2e353e;
    color: #abb4be;
  }

  .dark form label {
    color: #abb4be;
  }

  html.dark .btn-default {
    border-color: #abb4be;
    }

    .dark .show-add-client-input{
        color: #abb4be;
    }

    .dark .hide-add-client-input{
        color: #abb4be;
    }

    .dark .client-text-container{
        background-color: #2e353e;
    }

    .disabled-element,
    .disabled-element:focus, 
    .disabled-element:hover {
      color: #e9ecef;
    }

    /*Select2*/

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

    .select2-container--default .select2-selection--single {
       border: 1px solid #ced4da!important;
       height: 38px!important;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow b {
      background-image: url('images/dropdown-menu-icon-12.jpg');
      background-size: contain;
      border: none !important;
      height: 16px !important;
      width: 16px !important;
      left: 8px !important;
    }

    .clear-15{
      height:15px;
      clear:both;
    }
    
    .header{
      border-top:none;
    }

    .page-header{
      width:50%;
      height:52px;
      top: 0px !important;
      border-left: 1px solid #fff;
      background: #fff;
      border-bottom: none;
      -webkit-box-shadow: 1px 3px 0 1px #fff;
      box-shadow: 1px 3px 0 1px #fff;
      z-index: 1020;        
    }

    .sidebar-left {
      top: 0px !important;
      z-index:9999;
    }

    .page-header .breadcrumbs a, .page-header .breadcrumbs span {
      color: #777;
    }

    html.fixed .inner-wrapper{
      padding-top: 25px;
    }

    .content-body {
      padding: 40px 0px;
    }

    .card-body {
      padding: 10px;
    }

    .ui-widget.ui-widget-content{
      scrollbar-gutter: stable;
    }

  @media only screen and (min-width: 768px){
  
    html.fixed .content-body {
      margin-left: 250px;
    }

    html.fixed .page-header {
      left: 250px;
    }
  }


  @media (max-width: 767px) {
      .card-body {
        padding:6px;
      }

      .col-lg-12 {
        padding:1px;
      }
      .content-body{
        padding:6px;
      }
  }