/*@charset "utf-8";*/
/**
 *  Style dla klienta i admina
 *
 */
 
/* bootstrap malutkie przyciski */
.btn-group-xs > .btn, .btn-xs {
  padding: .30rem .4rem;
  font-size: .875rem;
  line-height: .5;
  border-radius: .15rem;
  
  vertical-align:baseline;
}

.btn:not(:disabled):not(.disabled).active:focus {
  box-shadow:none;
}
.btn-info:focus {
  box-shadow:none;
}
.alert-dismissible .close.close-sm {padding:.35rem 1.25rem;}
.btn.disabled, .btn:disabled {opacity: .35;}


.dataTable {width:100%;}
.dataTable tbody tr.selected {background-color: #B0BED9;}
.dataTable tbody tr.noaccess {color:red;}
.dataTable tbody td.details-control { cursor: pointer;text-align:center;}
.dataTable tbody tr.details td.details-control { }
.dataTable tbody td {vertical-align:middle;}
.dataTable td[class*=sorting_] {background-color:#eeeeee;}

/* uzupełnienie do stylizacji datatable */
.dataTable td.dt-body-left {text-align:left;}
.dataTable td.dt-body-right {text-align:right;}
.dataTable td.dt-body-center {text-align:center;}
.dataTable td.dt-body-justify {text-align:justify;}
.dataTable td.dt-body-nowrap {white-space:nowrap;}

.dataTable.table-sm th.sorting:before, .dataTable.table-sm th.sorting:after  {font-size:.75rem; }


.dataTable thead tr.column-filtring th {padding-left:2px;padding-right:2px;}
.dataTables_length {display:inline-block;margin-right:16px;}
div.dataTables_filter {display:inline-block;margin-right:16px;}
.horizontal-scroll {overflow-x:auto;}


div#toolbar {
  display:inline-block;
  width:auto;
  background-color:transparent;
  line-height: 1em;
  font-size:13px;
  margin-right:0px;
}
#toolbar div.dt-button-collection {right:0;left:auto !important;}
#toolbar .dropdown-menu {right:0;left:auto;}
.dt-buttons .dropdown-toggle:after {content:"";border:none;}
.dt-buttons .dropdown-toggle a.dropdown-item.active, .dt-buttons .dropdown-toggle a.dropdown-item:active {background-color:transparent;color:#666666;}





/* tablezka z zafixowanym headerem i scrolowaniem*/
.table-fixed { width: 100%; background-color: #f3f3f3;}
.table-fixed tbody {
    height:200px;
    overflow-y:auto;
    width: 100%;
}
.table-fixed tr:after {content:"";clear:both;display:table;height:0;}
.table-fixed thead, 
.table-fixed tbody,
.table-fixed tr,
.table-fixed td,
.table-fixed th{
    display:block;
}

.table-fixed  tbody tr.selected {
  background-color: rgba(200,200,200,50);
}
.table-fixed  tbody tr.disabled {
  color:gray;
}

.table-fixed  tbody td {
    float:left;
}
.table-fixed thead tr {
    background-color: transparent;
}
.table-fixed thead tr:last-child {
    background-color: #e67e22;
/*    border-color:#e67e22;*/
}
.table-fixed thead tr th {
    float:left;
}

.text-bold {font-weight:bold;}
.is-new-order {
  color: #1d3963;
  font-weight:bold;
}

.files input {
    outline: 2px dashed #92b0b3;
    outline-offset: -10px;
    -webkit-transition: outline-offset .15s ease-in-out, background-color .15s linear;
    transition: outline-offset .15s ease-in-out, background-color .15s linear;
    padding: 120px 0px 85px 35%;
    text-align: center !important;
    margin: 0;
    width: 100% !important;
}
.files input:focus{     outline: 2px dashed #92b0b3;  outline-offset: -10px;
    -webkit-transition: outline-offset .15s ease-in-out, background-color .15s linear;
    transition: outline-offset .15s ease-in-out, background-color .15s linear; border:1px solid #92b0b3;
 }
.files{ position:relative}
.files:after {  pointer-events: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 50px;
    right: 0;
    height: 56px;
    content: "";
    background-image: url(https://image.flaticon.com/icons/png/128/109/109612.png);
    display: block;
    margin: 0 auto;
    background-size: 100%;
    background-repeat: no-repeat;
}
.color input{ background-color:#f1f1f1;}
.files:before {
    position: absolute;
    bottom: 10px;
    left: 0;  pointer-events: none;
    width: 100%;
    right: 0;
    height: 57px;
    content: " or drag it here. ";
    display: block;
    margin: 0 auto;
    color: #2ea591;
    font-weight: 600;
    text-transform: capitalize;
    text-align: center;
}


