.card .card-datagrid {
    padding: 0;
}

.card .card-datagrid > .datagrid .table-bordered {
    border: none;
}

.card .card-datagrid > .datagrid thead {
    border-top: none;
}

.datagrid-column-header-additions {
    float: right;
}

.header-sticky{
    z-index: 10;
}
.datagrid-header.header-sticky th{
    /*white-space: nowrap;*/
}

h2 {
    margin-bottom: 20px;
}

.row-grid-bottom > * {
    display: inline-block;
    vertical-align: middle;
}

.row-grid-bottom > *:first-child,
.row-grid-bottom > *:last-child {
    width: 25%;
}

.row-grid-bottom > *:nth-child(2) {
    width: 50%;
}

.row-grid-bottom .col-per-page {
    display: inline-flex;
    flex-flow: row;
    justify-content: flex-end;
    align-items: center;
}

.row-grid-bottom select {
    max-width: 100px;
}

.dnd-drop-zone {
    width: 100%;
    height: 130px;
    border: 2px dashed #dcdcdc;
    border-radius: 3px;
    text-align: center;
    position: relative;
    color: #666;
    font-size: 20px;
    padding-top: 20px;
}

.dnd-drop-zone input {
    position: absolute;
    cursor: pointer;
    left: 0;
    top: 0;
    opacity: 0;
}

.dnd-drop-zone div {
    margin-bottom: 30px;
}

.dnd-drop-zone .button {
    font-size: 75%;
}

.dnd-drop-zone.mouse-over {
    border-color: #2ecc71;
    color: #2ecc71;
}

.dnd-rop-zone input[type="submit"] {
    display: none;
}

.sidebar .nav .nav-item.nav-item-separator {
    pointer-events: none;
}

.sidebar .nav .nav-item.nav-item-separator > * {
    height: auto;
    padding: 5px 35px;
    color: #528be6;
}

.sidebar .nav .nav-item.nav-item-separator > * > .mdi {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar .nav .nav-item.nav-item-separator > * > .mdi:before {
    content: "";
    width: 35px;
    height: 2px;
    background-color: #e8e8e8;
    margin-left: -5px;
    margin-right: -5px;
}

.hidden {
    display: none;
}

.datepicker.datepicker-dropdown .datepicker-days table.table-condensed thead tr th.dow:first-child, .datepicker.datepicker-inline .datepicker-days table.table-condensed thead tr th.dow:first-child,
.datepicker.datepicker-dropdown .datepicker-days table.table-condensed tbody td.day:first-child, .datepicker.datepicker-inline .datepicker-days table.table-condensed tbody td.day:first-child,
.datepicker.datepicker-dropdown .datepicker-days table.table-condensed tbody td.day:last-child, .datepicker.datepicker-inline .datepicker-days table.table-condensed tbody td.day:last-child,
.datepicker.datepicker-dropdown .datepicker-days table.table-condensed thead tr th.dow:last-child, .datepicker.datepicker-inline .datepicker-days table.table-condensed thead tr th.dow:last-child {
    text-align: center;
}

.datepicker.datepicker-dropdown .datepicker-days table.table-condensed tbody td.day.today:before, .datepicker.datepicker-inline .datepicker-days table.table-condensed tbody td.day.today:before {

}

.datepicker.datepicker-dropdown .datepicker-days table.table-condensed tbody td.day.active:before, .datepicker.datepicker-inline .datepicker-days table.table-condensed tbody td.day.active:before {

}

.navbar.default-layout .navbar-brand-wrapper .navbar-brand img{
    width: 80%;
    height: auto;
}
.navbar.default-layout .navbar-brand-wrapper .brand-logo-mini img{
    height: 30px;
    width: auto;
}

.profile-image{
    font-size: 20px;
    background: linear-gradient(120deg, #00e4d0, #5983e8);
    border-radius: 90px;
    text-align: center;
    line-height: 40px;
}

.profile-image .mdi {
    color: white;
}


.file-manager * {
    position: relative;
}
.file-manager .row.files {
    margin-left: -5px;
    margin-right: -5px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.file-manager .row.files .file {
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 10px;
}
.file-manager .row.files .file .card {
    overflow: hidden;
    margin-bottom: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #FFFFFF;
    border: 1px solid transparent;
    border-radius: 2px;
}
.file-manager .row.files .file .card .size {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 8px;
    padding: 0 4px;
    background: rgba(255,255,255,0.9);
    border-radius: 0 0 0 3px;
    z-index: 2;
    color: #707070 ;
}
.file-manager .row.files .file .card .flex-center {
    background: rgba(255,255,255,0.2);
    overflow: hidden;
    position: relative;
    padding: 0 5px;
    height: 60px;
    width: 100%;
    padding-top: 100%;
}
.files .icon .cell {
    position: relative;
    /*padding: 0 5px;*/
    height: 60px;
    width: 100%;
    padding-top: 10%;
}
.file-manager .row.files .file img {
    position: absolute;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    height: 101%;
    width: auto;
    -ms-interpolation-mode: bicubic;
}
.file-manager .row.files .file i {
    font-size: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.file-manager .row.files .file .actions {
    height: 30px;
    white-space: nowrap;
}
.file-manager .row.files .file .actions .btn {
    font-size: 12px;
}
.file-manager .row.files .file.orientation-2 img {
    height: auto;
    width: 101%;
}
.file-manager .row.files .file.cloned {
    opacity: 0.2;
}
.file-manager .table .thumbnail-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    min-width: 0;
    min-height: 0;
}
.files .name {
    padding: 4px;
    text-overflow: ellipsis;
    overflow: hidden;
    /*white-space: nowrap;*/
    height: 42px;
    font-size: 12px;
}
.file-manager .row.files .file.asParent .card{
    background-color: #ccc;
}
.toolbar {
    display: flex;
    flex-direction: row;
    height: 4.5rem;
    align-items: center;
    padding: 0.05rem 2.1rem 0;
    position: relative;
    margin-bottom: 20px;
}
.toolbar:not(.toolbar--inner) {
    background-color: #FFFFFF;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
}
section.content .toolbar {
    min-height: 4.5rem;
}
/*.table-list .list-actions, .list .list-actions, .toolbar .actions {*/
/*    text-align: right;*/
/*}*/
.toolbar .actions {
    margin-left: 20px;
}

.file.isFolder{
    cursor: pointer;
}

.full-tables table{
    width: 100%;
}


.file-manager .row.files .file .card:hover{
    background-color: #dffce6;
}

.file-manager .row.files .file.asParent .card:hover{
    background-color: #68cb67;
}

.sidebar .nav .nav-item.nav-item-separator img{
    max-width: 80%;
}
.sidebar .nav .nav-separator{
    text-align: center;
}

.sidebar .nav .nav-item.nav-item-separator .nav-link .menu-title{
    font-size: 14px;
}


.bloading{
    position: fixed;
    top: 0;
    left:0;
    width: 100%;
    height:100%;
    background-color: rgba(0,0,0,0.2);
    z-index: 9001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.component-autocomplete .input-wrapper{
    position: relative;
}
.component-autocomplete .input-wrapper input{
    width: 100%;
}
.component-autocomplete .autocomplete-list {
    position: absolute;
    left: 0;
    top: 34px;
    list-style: none;
    background: linear-gradient(120deg, #00e4d0, #5983e8);
    width: 100%;
    color: #fff;
    padding: 0;
    margin: 0;
    z-index: 10;
}
.component-autocomplete .autocomplete-list li a{
    display: block;
    color: #fff;
    padding: 3px 10px;
    text-align: left;
}
.component-autocomplete .autocomplete-list li a:hover, .component-autocomplete .autocomplete-list li a.active{
    background-color: rgba(255,255,255,0.3);
    text-decoration: underline;
}

.pos-rel{
    position: relative;
}

table.planner-week-table td.pos-rel .badge{
    cursor: pointer;
    position: absolute;
    right: 10px;
    bottom: 3px;
    z-index: 10;
}
table.planner-week-table td.pos-rel .badge.badge-success{
    right: 40px;
}

table.planner-week-table{
    font-size: 14px;
}
table.planner-week-table thead th{
    padding: 5px 15px;
    font-weight: normal;
    text-align: left;
    background-color: #1e7bcb;
    color: #fff;
    border: 1px solid #000;
}

table.planner-week-table tbody td{
    padding: 3px 10px;
    border: 1px solid #ccc;
    white-space: nowrap;
}

/*table.planner-week-table tbody td.editable{*/
    /*cursor: pointer;*/
/*}*/
table.planner-week-table tr.active{
    font-weight: bold;
    background-color: rgba(121, 131, 217, 0.3);
}
table.planner-week-table tr.clearance-week{
    font-weight: bold;
    background-color: rgba(218, 29, 2, 0.3);
}

table.planner-week-table tbody td > .badge{
    visibility: hidden;;
}
table.planner-week-table tbody tr td:hover .badge{
    visibility: visible;
}
table.planner-week-table tbody tr:hover td .badge-show{
    visibility: visible;
}
table.planner-week-table td.low-warning{
    background-color: rgba(255, 0, 0, 0.35);
    /*background-color: #ffaf00;*/
}

.planner-legend table td{
    font-size: 13px;
    vertical-align: middle;
    padding: 1px 8px;
    color: #888;
}

.planner-legend .block{
    display: inline-block;
    width: 30px;
    height: 20px;
    vertical-align: middle;
}

.planner-legend .block.active-week, table.planner-week-table tr.activetable.planner-week-table td.pos-rel .badge{
    background-color: rgba(121, 131, 217, 0.3);
}
.planner-legend .block.import-ordered, .planner-week-table td.import-ordered{
    background-color: rgb(253, 255, 22);
}
.planner-legend .block.delivery-unconfirmed, .planner-week-table td.delivery-unconfirmed{
    background-color: rgb(144, 235, 77);
}
.planner-legend .block.temporary-value, .planner-week-table td.temporary-value {
    background-color: rgb(235, 66, 226);
}

.planner-legend .block.clearance-week{
    background-color: rgba(218, 29, 2, 0.3);
}

.planner-week-table td.import-ordered.delivery-unconfirmed:not(.delivery-confirmed){
    background: linear-gradient(to right, rgb(253, 255, 22) 49%, rgb(144, 235, 77) 51%);
    border: 2px solid #e65251;
}
.planner-week-table td.delivery-confirmed.delivery-unconfirmed:not(.import-ordered){
    background: linear-gradient(to right, rgba(0, 0, 0,0) 49%, rgb(144, 235, 77) 51%);
    border: 2px solid #e65251;
}
.planner-week-table td.delivery-confirmed.import-ordered:not(.delivery-unconfirmed){
    background: linear-gradient(to right, rgba(0, 0, 0,0) 49%, rgb(253, 255, 22) 51%);
    border: 2px solid #e65251;
}
.planner-week-table td.import-ordered.delivery-unconfirmed.delivery-confirmed{
    background: linear-gradient(to right, rgba(0, 0, 0,0) 31%, rgb(253, 255, 22) 32%,  rgb(253, 255, 22) 65%, rgb(144, 235, 77) 66%);
    border: 2px solid #e65251;
}

.planner-week-table td{
    position: relative;
}

.planner-week-table .clearance-marker{
    position: absolute;
    right: 0px;
    top: 0px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 15px 15px 0;
    /*border-color: transparent #007bff transparent transparent;*/
    border-color: transparent rgba(255, 0, 0, 0.65) transparent transparent;
}


table.planner-week-table input[type="number"], table.planner-week-table input[type="text"]{
    width: 100px;
    margin-bottom: 22px;
}
table.planner-week-table input[type="text"]{
    width: 280px;
}

.product-list tr td:not(.col-akce){
    cursor: pointer;
}
.product-list tr td:not(.col-akce) i{
    visibility: hidden;
}
.product-list tr td:not(.col-akce):hover i{
    visibility: visible;
}


.modal-dialog.undelivered-items{
    max-width: 80%;
    width: 820px;
}

.modal-dialog.week-detail{
    max-width: 80%;
    width: 700px;
}

.subitems .row.even div.bg{
    background-color: rgba(0,0,0,0.05);
}
.item-list input[type="number"]{
    font-size: 16px;
}


.week-date-selector{
    width: 100%;
    min-width: 200px;
}
.week-date-selector .week-picker-wrap{
    position: relative;
    display: none;
}

.week-date-selector .week-picker{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    background-color: #fff;
    border: 1px solid #ccc;
    border-top: none;
}

.week-date-selector .month-list{
    list-style: none;
    padding: 10px 0 10px 10px;
    margin: 0;
    display: flex;
    flex-flow: column;
    flex-wrap: wrap;
}
.week-date-selector .month-list .month{
    padding: 3px 8px;
    border-radius: 2px;
    cursor: pointer;
    white-space: nowrap;
}

.week-date-selector .month-list .month.marked{
    background-color: rgba(53, 206, 102, 0.38);
    color: #000;
}
.week-date-selector .month-list .month:hover{
    background-color: rgba(48, 142, 224, 0.51);
    color: #fff;
}

.week-date-selector .month-list .month.active{
    background-color: #308ee0;
    color: #fff;
}

.week-date-selector .weeks .month{
    display: none;
}
.week-date-selector .weeks .month.active{
    display: block;
}

.week-date-selector .weeks{
    padding: 10px;
    border-left: 1px solid #ccc;
    margin-left: 10px;
}

.week-date-selector .weeks .week{
    padding: 3px 8px;
    cursor: pointer;
    border-radius: 2px;
}

.week-date-selector .weeks .week.marked{
    background-color: rgba(53, 206, 102, 0.38);
    color: #000;
}
.week-date-selector .weeks .week:hover{
    background-color: rgba(255, 175, 0, 0.62);
}
.week-date-selector .weeks .week.active{
    background-color: #ffaf00;
}

.click{
    cursor: pointer;
}

.page-link--active{
    background-color: #308ee0;
    color: #fff;
}

.table-volfas thead th{
    background-color: #bbbbbb;
    padding: 15px 10px;
}
.table-volfas td, .table-volfas th{
    padding: 8px 10px;
    border: 1px solid #ccc;
}
.volfas-toolbar{
    position: fixed;
    z-index: 3;
    border-radius: 2px;
    /*box-shadow: 3px 3px 5px rgba(0,0,0,0.1);*/
}

.table-volfas td.order-number{
    font-weight: bold;
    /*text-align: center;*/
    background: #49a4e0;
}

.table-volfas td.aura{
    box-shadow: #f3d5ae 0 0 5px 2px;
}

.pdf-selection-gallery{
    z-index: 100;
    top: 47px;
    left: 0;
    width: 100%;
    position: fixed;
}

.pdf-selection-gallery .wrap {
    width: 50%;
    max-width: 1000px;
    float: right;
    background-color: #fff;
    box-shadow: 0 0 20px 5px rgba(0, 0, 0, 0.2);
    padding: 20px;
}

.pdf-selection-gallery .images {
    max-height: 600px;
    overflow: auto;
    padding: 20px;
}

.pdf-selection-gallery .pdf-preview{
    width: 220px;
}

.pdf-selection-gallery option:disabled{
    background-color: #ccc;
}
.pdf-selection-gallery .img-wrap:hover{
    background-color: #ffefdb;
}
.pdf-selection-gallery .img-wrap.selected{
    background-color: rgba(0, 206, 104, 0.49);
}
.pdf-selection-gallery .img-wrap.disabled{
    background-color: rgb(187, 187, 187);
}

.pdf-selection-gallery img:hover{
    box-shadow: #f3d5ae 0 0 5px 2px;
}

.big-checkbox{
    display: flex;
    height: 36px;
    width: 36px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.big-checkbox input{
    display: none;
}
.big-checkbox input ~ .indicator{
    width: 22px;
    height: 22px;
    border: 2px solid #ccc;
    border-radius: 3px;
    display: block;
}

.big-checkbox input:checked ~ .indicator{
    border-color: #96d0f6;
}

.big-checkbox .indicator{
    position: relative;
    /*overflow: hidden;*/
}

.big-checkbox .indicator span{
    position: absolute;
    background-color: #8d8d8d;
    height: 4px;
    display: block;
    /*transition: 0.1s background-color, 0.3s left, 0.3s top, 0.3s right, 0.3s bottom;*/
    transition: 0.1s all;
    opacity: 0.3;
}

.big-checkbox .indicator .p1{
    transform: rotate(45deg);
    width: 11px;

    left: -2px;
    top: 10px;
}

.big-checkbox .indicator .p2{
    transform: rotate(-45deg);
    width: 20px;
    right: -5px;
    top: 6px;
}

.big-checkbox input:checked ~ .indicator span{
    background: #00ce68;
    opacity: 1;
}
/*.big-checkbox input:checked ~ .indicator span.p1{*/
/*    left: -2px;*/
/*    top: 10px;*/
/*}*/

/*.big-checkbox input:checked ~ .indicator span.p2{*/
/*    opacity: 1;*/
/*}*/

.bg-color1{
    background: #ffaf00 !important;
}

.bg-color2{
    background: #8a64ea !important;
}
