body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.74rem;
    color: #292b2c;
    background-color: #fff;
}

a {
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Loader */
.loader {
    display: none;
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
  }
  
  .loading {
    border: 2px solid #ccc;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border-top-color: #1ecd97;
    border-left-color: #1ecd97;
    animation: spin 1s infinite ease-in;
  }
  
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
  
    100% {
      transform: rotate(360deg);
    }
  }
  /* end Loader */

.prod_tabs {
    padding: 0.5rem 0.8rem;
}

.table td, .table th {
    padding: 3px 4px 3px 4px;
}

table.table_commision_item_detail, table.commission_workflow_table  {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
    margin-top: 10px;
}
    
table.table_commision_item_detail td, table.commission_workflow_table td {
    border: 1px solid gray;
    vertical-align: middle;
}
    
table.commission_workflow_table td.additional_info *{
    border: 0px solid gray;
}
    
table.table_commision_item_detail td.label, table.commission_workflow_table td.label {
    font-weight: bold;
    background-color: #E8E8E8;
    height: 10px;
}

table.commission_workflow_table td.label {
    height: 20px;
}

.form-date-input {
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    font-size: .80rem;
    padding: 4px;    
}
.btn.dropdown-toggle.btn-menu {
    border: #ced4da 1px solid;
    background-color: #fff;
    min-height: 25px;
    min-width: 100%;
    text-align: right;
    font-size: .80rem;
    padding: 3px;
}

.label-menu {
    font-size: .80rem;
    padding-left: 5px;
}

.tab-content {
    margin-top: 15px;
}

.bg-dark {
    background-color: #000!important;
}

.btn-primary {
    background-color: #000!important;
    border-color: #000;
}

.page-item.active .page-link {
    background-color: #000;
    border-color: #000;
}

.sideback {
    color: #000;
    background-color: #ccc;
}

.page-link {
    color: green;
}

.col-form-label {
    color: #6c757d;
}

.form-control, .form-select {
    font-weight: 600;
    color: blue;
    font-size: .80rem;
    padding: 3px;
}
.btn {
    border-radius: 0;
}
.btn-new {
    padding: 0.1rem 0.75rem;
}
.btn-check:focus+.btn-danger, .btn-danger:focus {
    background-color: #ff0000;
    border-color: #ff0000;
}
.btn-danger {
    background-color: #ff0000;
    border-color: #ff0000;
    color: #FFFFFF;
    transition: color .15s ease-in-out,
                background-color .15s ease-in-out,
                border-color .15s ease-in-out,
                box-shadow .15s ease-in-out;
    font-weight: 500;
}
.btn-danger:hover {
    background-color: #b80c0c;
    border-color: #b80c0c;
    color: #FFFFFF;
    font-weight: 500;
}
.btn-md {
    font-weight: 500;
    font-size: 0.7rem;
}
.dataTables_length select {
    border: 1px solid #aaa;
    border-radius: 3px;
    padding: 5px;
    background-color: transparent;
    padding: 4px;
}
.offcanvas-end {
    width: 800px;
}    
.card-widgets {
    float: right;
    height: 16px;
}    
.card-widgets a {
    color: inherit;
    font-size: 18px;
    display: inline-block;
    line-height: 1;
}
.card-widgets.collapsed i:before {
    content: "\F0415";
}
.mdi-minus::before {
    content: "\f0374";
}
.mdi-set, .mdi:before {
    display: inline-block;
    font: normal normal normal 24px/1 "Material Design Icons";
    font-size: inherit;
    text-rendering: auto;
    line-height: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.mdi-refresh::before {
    content: "\f0450";
}

.card-header {
    font-size: 1rem;
}
#server_min, #server_hod, #stanice_min, #stanice_hod {
    color: #cb0266;
}

.icon {
    width: 20px;
    height: 20px;
    color: #d63384;
}

.icon:hover {
    color: #0c3778;    
}

.icon-expand {
    color: green;
}

.icon-contract {
    color: #d63384;
}

.icon-inactive {
    color: #ccc;
}

.icon-inactive:hover {
    color: #fff;
}

.icon-add-big {
    color: green;
    width: 25px;
    height: 25px;
    margin: 10px 0px 0px 0px;
}

.icon-add-big:hover {
    color: #0b4eb3;
}

.icon-remove-big {
    color: #d63384;
    width: 25px;
    height: 25px;
    margin: 3px 0px 0px 0px;
}

.icon-remove-big:hover {
    color: #d63384;
}

.card-body {
    flex: 1 1 auto;
    padding: 0.2rem 0.3rem;
}

.card-header {
    padding: 0.2rem 0.3rem;
}