.order__line{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: .75rem .75rem .75rem 1.25rem;
  background-color: rgba(0, 123, 255,.25);
  border-radius: 4px;
}
.order__line label{
  font-weight: normal;
  margin: 0;
}
.order__line h3{
  font-size: 1rem;
  margin: 0;
}
.order__line h3 .text{
  width: 300px;
  display: inline-block;
}
.order__line input{
  background-color: transparent;
  border: none;
  width: 190px;
}
.order__line input:focus{
  outline: none;
}
.order__line input.sebes{
  margin-left: 20px;
  text-align: right;
}
.order__line .buttons{
  margin-left: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
}
.order__line .buttons .btn{
  background-color: #007bff;
  -webkit-transition: ease-in-out .15s;
  -o-transition: ease-in-out .15s;
  transition: ease-in-out .15s;
  color: #fff;
  font-size: 8px;
  padding: 8px 12px;
}
.order__line .buttons .btn + .btn{
  margin-left: 3px;
}
.checkbox__label{
  margin: 0;
  display: inline-block;
  width: 38px;
  height: 38px;
  vertical-align: middle;
}
.checkbox__label input{display: none;}
.checkbox__label:hover span{
  background-color: #007bff;
  -webkit-transition: ease-in-out .15s;-o-transition: ease-in-out .15s;transition: ease-in-out .15s;
}
.list-right {
    padding-left: 1.5rem !important;
}
.checkbox__label span{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 100%;
  border: 1px solid #007bff;
  border-radius: 4px;
  margin-left: -1px;
  cursor: pointer;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-family: sans-serif;
  color: #fff;
  font-size: 0px;
  -webkit-transition: ease-in-out .15s;-o-transition: ease-in-out .15s;transition: ease-in-out .15s;
  /* font-size: 12px; */
}
.checkbox__label input:checked + span{
  font-size: 12px;
  background-color: #007bff;
  -webkit-transition: ease-in-out .15s;-o-transition: ease-in-out .15s;transition: ease-in-out .15s;
}
.row__bordered{
  border-top: 1px solid #007bff;
  border-bottom: 1px solid #007bff;
  padding: 5px 0;
  background-color: #fff;
}
.row__bordered input:focus{
  outline: none;
}
.row__bordered h3{
  font-size: 1.1rem;
  font-weight: bold;
}
.layer{
  overflow: auto;
  width: 100%;
  height: 400px;
  padding: 5px;
  border: solid 1px black;
}
.checkbox__filter{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}
.checkbox__filter input{
  display: none;
}
.checkbox__filter span{
  font-weight: normal;
  padding-left: 25px;
  position: relative;
  cursor: pointer;
}
.checkbox__filter span::before{
  content:'✔';
  font-family: sans-serif;
  display: inline-flex;
  height: 16px;
  width: 16px;
  border-radius: 2px;
  border: 1px solid #ced4da;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  color: #fff;
  background-color: #fff;
  position: absolute;
  left: 0;
  top: 4px;
  -webkit-transition: ease .25s;-o-transition: ease .25s;transition: ease .25s;
}
.checkbox__filter input:checked + span::before{
  background-color: #28a745;
  border-color: #28a745;
  -webkit-transition: ease .25s;-o-transition: ease .25s;transition: ease .25s;
}
#clear{
  background-color: #dc3545;
  border-color: #dc3545;
}
#clear:hover{
  background-color: #cc3745;
  border-color: #cc3745;
}
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting,
table.dataTable thead .sorting_desc{
  background-image: none !important;
}
table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc_disabled:after{
  right: 0.25em;
}
table.dataTable thead th, table.dataTable thead td{line-height: 1.2;}
.select2-container--default .select2-selection--single{
  height: calc(2.25rem + 2px) !important;
  padding: .375rem .75rem;
  border: 1px solid #ced4da !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow{
  height: calc(2.25rem + 2px) !important;
}
.select2-container{
  width: 100% !important;
}
.card-footer{background-color: #fff;}
table.dataTable.no-footer{
  width: 100% !important;
  box-sizing: border-box;
}

.table tbody td .btn{margin: 2px 0;}

.dataTables_wrapper{overflow: auto;}

.table tbody td .custom-file + div .btn{
  margin: 0 0 0 3px;
  border-radius: 3px;
}
.table tbody td .input-group{min-width: 300px;}
.order__wrapper .layer .row{
  -ms-flex-wrap: nowrap;flex-wrap: nowrap;
}

.row__bordered.fixed__bottom{
  position: fixed;
  bottom: 0;
  right: 1rem;
  width: calc(100% - 250px - 2rem);
  -webkit-transition: width .3s ease-in-out;
  -o-transition: width .3s ease-in-out;
  transition: width .3s ease-in-out;
}
.sidebar-collapse .row__bordered.fixed__bottom{
  width: calc(100% - 6.6rem);
  -webkit-transition: width .3s ease-in-out, margin-bottom .3s ease-in-out;
  -o-transition: width .3s ease-in-out, margin-bottom .3s ease-in-out;
  transition: width .3s ease-in-out, margin-bottom .3s ease-in-out;
}
.card-body.relative{
  position: relative;
}

#sidebar-overlay {
    z-index: 1025;
}

@media (max-width: 1200px){
  .repeatable-wrapper-buttons.md-column{
    flex-direction: column;
    display: flex;
    max-width: 53px;
    margin-left: auto;
  }
  .repeatable-wrapper-buttons.md-column .btn{
    margin-bottom: 3px;
    width: 38px;
  }
  .order__wrapper .col-10.bell{
    min-width: calc(100% - 53px);
  }
  .order__line h3{
    display: flex;
    flex-wrap: wrap;
  }
  .order__line h3 .text{
    width: 100%;
    display: inline-block;
  }
  .order__line input.sebes{margin-left: 0;}
  .order__line input{width: 140px;}

  .order__table-row + .btn{
    min-width: 100px;
  }
}
@media (max-width: 1024px){
  .order__wrapper .btn-outline-danger:hover{
    background-color: transparent;
    color: #dc3545;
  }
  .order__wrapper .btn-outline-danger:active{
    background-color: #dc3545;
    color: #fff;
  }
  .order__wrapper .btn-outline-success:hover{
    background-color: transparent;
    color: #28a745;
  }
  .order__wrapper .btn-outline-success:active{
    background-color: #28a745;
    color: #fff;
  }
  .order__wrapper .checkbox__label:hover span{
    background-color: transparent;
  }
  .order__wrapper .checkbox__label input:checked + span{
    background-color: #007bff;
  }
}
@media (max-width: 991px){
  .sidebar-collapse .row__bordered.fixed__bottom,
  .row__bordered.fixed__bottom{
    width: calc(100% - 2rem);
  }
}
@media (max-width: 767px){
  .order__table-row{
    min-width: 800px;
  }
  .row__bordered.fixed__bottom, .row__bordered.fixed__bottom.active{
    -webkit-transition: margin-bottom .3s ease-in-out;
    -o-transition: margin-bottom .3s ease-in-out;
    transition: margin-bottom .3s ease-in-out;
  }
  .row__bordered.fixed__bottom h3{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer;
  }
  .row__bordered.fixed__bottom h3::after{
    content:'▼';
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 8px;
    margin-left: 7px;
    border-radius: 4px;
    width: 25px;
    height: 25px;
    background: #007bff;
    color: #fff;
  }
  .row__bordered.fixed__bottom.active h3::after{
    content:'▲';
  }
}
@media (max-width: 500px){
  .order__wrapper .col-10.bell{min-width: 100%;}
  .repeatable-wrapper-buttons.md-column{
    -webkit-box-orient: horizontal;-webkit-box-direction: normal;-ms-flex-direction: row;flex-direction: row;
    max-width: 100%;
    margin: 10px auto 0;
  }
  .repeatable-wrapper-buttons.md-column .btn{
    margin-bottom: 0;
    margin-right: 5px;
  }
  .repeatable-wrapper-buttons:not(.md-column) .btn{
    padding: 6px;
    width: 100%;
    margin-bottom: 3px;
    max-width: 38px;
  }
}
