.alert {
    position: relative;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

.alert-primary {
    color: #084298;
    background-color: #cfe2ff;
    border-color: #b6d4fe;
}
.alert-secondary {
    color: #41464b;
    background-color: #e2e3e5;
    border-color: #d3d6d8;
}
.alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}
.alert-warning {
    color: #664d03;
    background-color: #fff3cd;
    border-color: #ffecb5;
}.alert-info {
    color: #055160;
    background-color: #cff4fc;
    border-color: #b6effb;
}
.alert-dark {
    color: #141619;
    background-color: #d3d3d4;
    border-color: #bcbebf;
}
.g-2{
    gap: 10px;
}

.g-1-2{
    gap: 0px 10px;
}
.flex{
    display: flex;
}

.gutters {
    margin-right: -5px;
    margin-left: -5px;
}
.gutters>.col, .gutters>[class*=col-] {
    padding-right: 5px;
    padding-left: 5px;
}

/*Scroll*/
.scroll-btn {
    position: fixed;
    right: 20px;
    width: 32px;
    height: 32px;
    background-color: #023f84;
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
    z-index: 100;
    opacity: 0.8;
    transition: opacity 0.3s;
}
.scroll-btn:hover {
    opacity: 1;
}
#scrollUpBtn {
    bottom: 52px;
}
#scrollDownBtn {
    bottom: 20px;
}
/*Table - order*/
.table-responsive-order td{
    padding: .25rem .75rem;
}
.table-responsive-order td.code {
    text-wrap: nowrap;
}
.table-responsive-order thead {
    background-color: white;
}

.table-responsive-order td.image {
    .image{
        max-width: 50px;
    }
}

@media (min-width: 1200px) {
    .table-responsive-order th.quantity-th, .table-responsive-order td.quantity-td, .table-responsive-order th.total-th, .table-responsive-order td.total-td{
        max-width:80px;
    }
}

.datagrid td.col-action{
    text-align: left !important;
}

.datagrid thead th, .datagrid td {
    border: none;
    border-bottom: 1px solid #e1e5f1;
    border-top: 1px solid #e1e5f1;
}

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

.select2-container .select2-selection {
    border: 1px solid #e1e5f1;
    border-radius: 0;
}

@media (max-width: 991px) {
    table.dataTable {
        /*overflow-x: scroll;*/
        display: block;
    }
    .table-responsive-order{
        width: 100% !important;
    }
    .table-responsive-order .sorting_disabled {
        display: none !important;
    }
    .table-responsive-order thead tr[role=row], .table-responsive-order thead, .table-responsive-order tfoot tr[role=row], .table-responsive-order tfoot{
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 20px;
        width: 100%;
    }

    .table-responsive-order tfoot tr, .table-responsive-order tfoot tr td{
        width: calc(100% - 20px) !important;
        display: block;
    }
    .table-responsive-order.fixedHeader-floating thead tr[role=row], .table-responsive-order.fixedHeader-floating thead{
        margin-bottom: 0px;
    }
    .table-responsive-order.fixedHeader-floating{
        width: calc(100% - 80px) !important;
    }
    .table-responsive-order thead th {
        border-bottom: 0px solid;
        display: block;
        display: inline-block;
        font-weight: 400;
        color: #212529;
        text-align: center;
        vertical-align: middle;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        background-color: transparent;
        border: 1px solid transparent;
        padding: .375rem .75rem;
        border-radius: .25rem;
        transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
        background-color: #023f84;
        border-color: #023f84;
        color: #fff;
    }
    .table-responsive-order tbody td::before {
        content: attr(data-label);
        display: block;
        font-weight: bold;
        text-transform: uppercase;
        font-size: 10px;
      }
    .table-responsive-order tbody tr {
        display: flex;
        flex-wrap: wrap;
        border-bottom: 1px solid #dee2e6;
        box-sizing: border-box;
        margin-bottom: 15px;
        padding: 10px 0px;
    }
    .table-responsive-order tbody td{
        width: 50%;
        border-top: none !important;
        display: block;
        box-sizing: border-box !important;
        order: 2;
        margin-bottom: 4px;
    }
    .table-responsive-order tbody td.code {
        width:auto;
        max-width: 25%;
    }
    .table-responsive-order tbody td.image {
        width:auto;
        max-width: 25%;
        order: 1;
    }
    .table-responsive-order tbody td.image:before{
        content: "";
    }
    .table-responsive-order tbody td.shelf-life, .table-responsive-order tbody td.unit, .table-responsive-order tbody td.price, .table-responsive-order tbody td.weight {
        width: 33%;
    }
    .table-responsive-order tbody td.name {
        width:50%;
    }
    .table-responsive-order tbody td.total{
        width: 100%;
    }
}
@media screen and (max-width: 767px) {
    div.dataTables_wrapper div.dataTables_length, div.dataTables_wrapper div.dataTables_filter, div.dataTables_wrapper div.dataTables_info, div.dataTables_wrapper div.dataTables_paginate {
        text-align: left;
    }
    .flex{
        display: block;
    }
}

.z-10{
    z-index: 10;
}

.g-1{
    gap: 10px;
}

.main-content {
   min-height: inherit;
  }

.btn-predvol span {
    font-size: 80%;
    line-height: 1.1;
}

@media (max-width: 767px) {
    .header-actions>li {
        display: block;
    }
}

@media (max-width: 767px) {
    .header-actions>li>a {
        padding: 16px 10px;
    }
}

.cursor-pointer{
    cursor: pointer;
}

.product{
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}

.product .product-title{
    font-size: 16px;
    line-height: 1.2;
    color: #023f84;
}

.product .product-desc{
    color: #2c3e50;
    font-size: 14px;
}

.product .product-num{
    position: absolute;
    right: 10px;
    top: 10px;
    padding: 2px 4px;
    background-color: #fff;
    z-index: 10;
    -moz-user-select: all;
    -webkit-user-select: all;
    -ms-user-select: all;
    user-select: all;
}

.product .product-resc{
    position: absolute;
    left: 10px;
    top: 13px;
    padding: 2px 4px;
    background-color: #ffc012;
    color: #212529;
    font-size: 11px;
    z-index: 10;
    -moz-user-select: all;
    -webkit-user-select: all;
    -ms-user-select: all;
    user-select: all;
}

.tag-wrap{
    position: absolute;
    left: 10px;
    bottom: 10px;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 4px;
}

.tag{
    position: relative;
    background: #f2f2f2;
    padding: 2px 4px;
    font-size: 12px;
    line-height: 1;
}

.cat{
    padding: 4px;
    border: 1px solid #e4e7f2;
    transition: all 0.3s ease-in-out;
}

.cat:hover{
   background-color: rgba(2, 63, 132, 0.2);
}

.cat-icon img{
   width: 100px;
   height: 100px;
   object-fit: contain;
}
@media(max-width: 991px){
    .cat-icon img{
       width: 40px;
       height: 40px;
    }
}

.cat-name{
    font-size: 14px;
    color: #2c3e50;
}

.cat-count{
    padding: 6px;
    background-color: #f5f6fa;
    width: 33px;
    height: 33px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat.is-active{
    background-color: #023f84;
}

.cat.is-active .cat-name{
    color: #fff;
}

.swap-layout{
    font-size: 22px;
    transition: all 0.3s ease-in-out;
}

.swap-layout:hover, .swap-layout.is-active{
    color: #023f84;
}

.product-infos{
    max-width: 420px;
}

.product-infos a{
    text-decoration: underline;
    color: #023f84;
}

.side-content .user-profile{
    background: #023f84;
    color: #fff;
}

.letak{
    color: #212529 !important;
    background-color: #e0f0fe!important;
}

.accordion-group .accordion {
    outline: none;
    padding: 16px 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    cursor: pointer;
    width: 100%;
    background: transparent;
    border: 0px;
    border-bottom: 1px solid rgba(16, 15, 16, 0.2);
    font-size: 16px;
    font-weight: 500;
    color: rgba(16, 15, 16, 0.6);
    gap: 10px; }
    @media (max-width: 991px) {
      .accordion-group .accordion {
        font-size: 14px; } }
    .accordion-group .accordion img {
      width: 16px;
      height: 16px;
      -webkit-transition: all 0.2s ease-in;
      -moz-transition: all 0.2s ease-in;
      -ms-transition: all 0.2s ease-in;
      -o-transition: all 0.2s ease-in;
      transition: all 0.2s ease-in; }
    .accordion-group .accordion[aria-expanded="true"] img {
      transform: rotate(180deg); }
  .accordion-group .card {
    border: 0px;
    border-top: 1px solid rgba(16, 15, 16, 0.2);
    margin-top: -1px;
    margin-bottom: -1px; }
    .accordion-group .card .table, .accordion-group .card table {
      font-size: 12px; }


.text-decoration-underline{
    text-decoration: underline !important;
}      

.lined-items .col-6{
    border-bottom: 1px solid #dee2e6;
    padding-bottom: .25rem;
}

.lined-items .col-6:last-child, .lined-items .col-6:nth-last-child(2){
    border-bottom: none;
}

.predvoleny-vyber-highlight{
    background: #e0f0fe;
    color: red;

}

.product-image img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
}


.content ul li{
    list-style-type: disc;
}
.content ul{
    padding-left: 20px;
}
.content ol li{
    list-style-type: decimal;
}
.content ol{
    padding-left: 20px;
}
.content table{
    width: 100%;
    border-collapse: collapse;
}
.content table, .content th, .content td{
    border: 1px solid #dee2e6;
}
.content th, .content td{
    padding: 8px;
    text-align: left;
}
.content tr:nth-child(even){
    background-color: #f8f9fa;
}
.content a{
    color: #023f84;
    text-decoration: underline;
}
.content a:hover{
    color: #021f42;
}
.content img{
    max-width: 100%;
    height: auto;
}
.content h1, .content h2, .content h3, .content h4, .content h5, .content h6{
    color: #023f84;
}
.content blockquote{
    border-left: 4px solid #dee2e6;
    padding-left: 16px;
    color: #6c757d;
    margin: 16px 0;
}
.content pre{
    background-color: #f8f9fa;
    padding: 16px;
    overflow-x: auto;
}
.content code{
    background-color: #f8f9fa;
    padding: 2px 4px;
    font-family: monospace;
}
.content hr{
    border: 0;
    border-top: 1px solid #dee2e6;
    margin: 24px 0;
}
