
.row.mb-3 {
    margin-right: -1.1em;
    margin-left: -1.1em;
    margin-bottom: 0 !important;
}
label.col-12.col-lg-12,
label.col-12.col-lg-6,
label.col-12.col-lg-4,

label.col-7.col-lg-6,
label.col-5.col-lg-6

{
    margin-bottom: 1.5em;
}

/* .table-content {
    align-items: center;
    display: inline-flex;
} */


td.table-grid-xs-image {
    width: 5em;
}

.no-img {
    width: 100%;
    height: 3em;
    /* background: #eee; */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* border: 1px solid #ddd; */
}

td.table-grid-xs-image img {
    width: 100%;
    height: 3em;
    object-fit: cover;
}
td.table-grid-xs-sale {
    min-width: 8em;
}
td.table-btn.btn-texts.text-right {
    min-width: 7.5em;
}

span.date_of_inventorization {
    border-radius: 4px;
    font-size: 0.9em;
    padding: 0.2em;
}

span.table-items-separator {
    position: relative;
    width: 1.3em;
    height: 1em;
    flex: 0 0 1.3em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
span.table-items-separator:before {
    content: "";
    width: 0.35em;
    height: 0.35em;
    background: #000;
    line-height: 1;
    border-radius: 100%;
}

.hidden-field {
    display:none;
}

.table-grid-xs td.table-btn svg {
    width: 1.5em;
    height: 1.5em;
    flex: 0 0 1.5em;
}


.pop-up-form form {
    max-height: calc(100vh - 13em);
    overflow: auto;
    margin: 0 -1.1em;
}

.pop-up-form form > .row{
    margin: 0;
}

@media(min-width:768px){
    .sm-hidden {
        display: none;
    }

    .sm\:flex {
        display: flex;
    }

    .sm\:vertical-align-middle{
        vertical-align: middle;
    }

    .row.small-m-p-row {
        margin: 0 -0.5em;
    }
    .row.small-m-p-row > .col-12 {
        padding: 0.5em;
        margin-bottom: 0;
    }
    .row.small-m-p-row .input-with-sifix input {
        padding-right: 2em;
    }
    .row.small-m-p-row .input-with-sifix span.input-sifix {
        font-size: 0.75em;
    }

    .sm\:mb-n05em {
        margin-bottom: -0.5em !important;
    }

    #table-details > thead{
        position: sticky;
        top: 6em;
        background: #fff;
        z-index: 9;
        filter: drop-shadow(0px 2px 0px black);
    }

    body.details.shop table#table-details td {
        vertical-align: middle;
    }

}

@media(max-width:767px){

    .xs\:flex-wrap {
        flex-wrap: wrap;
    }

    .xs\:mb-1em {
        margin-bottom: 1em;
    }

    .xs\:mb-2em {
        margin-bottom: 2em;
    }

    .xs\:text-right{
        text-align: right;
    }

    .xs\:mb-05em {
        margin-bottom: 0.5em !important;
    }

    .xs-hidden{
        display: none !important;
    }

    main {
        min-height: calc(100vh - 12.5em);
        /* background: #f8f8f8; */
    }

    body.menu-opened #main-header .header-col nav {
        height: calc(100vh - 5.8em);
        background: #fff;
    }

    h1 {
        font-size: 1.5em;
    }

    ul.steps {
        line-height: 1;
        padding: 0 1em;
    }

    .box label {
        margin-bottom: 1em;
    }
    body.register .box {
        max-width: calc(100% - 0em);
    }

    .card-body {
        flex: 1 1 auto;
        padding: 1.8rem 0rem;
        overflow: hidden;
    }
    h4.box-label {
        margin-top: 1em;
        margin-bottom: 1em;
    }

    label.col-12.col-lg-12,
    label.col-12.col-lg-6 {
        margin-bottom: 1.5em !important;
    }

    label.col-12.col-lg-12 > div,
    label.col-12.col-lg-6 > div {
        width: 100%;
    }

    .hidden-xs {
        display:none;
    }

    .mt-3-xs{
        margin-top: 1.5em;
    }

    body.details:not(.shop) .filters {
        flex-wrap: wrap;
    }



    td.table-grid-xs-image {
        padding: 0;
        width: 100%;
    }
    td.table-grid-xs-image img {
        width: 100%;
        height: 100%;
        max-height: 5em;
        object-fit: cover;
    }

    .xs\:hidden {
        display: none;
    }

    label.select2-label {
        width: 100%;
        display: flex;
        align-items: center;
        margin-bottom: 0.81em;
        border-bottom: 1px dashed #ddd;
        padding-bottom: 0.81em;
    }
    label.select2-label:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }


    .pop-up-form span.input-sifix {
        min-width: 2.8em;
        text-align: center;
    }

    .details-filters {
        position: sticky;
        top: 2em;
        z-index: 9;
        background: #fff;
    }

    body.shop .details-filters {
        top: 5em;
        padding-top: 1em;
        margin-top: -1em;
    }

    .details-filters .filters {
        margin-bottom: 0 !important;
        padding-bottom: 0.5em;
    }
    .details-list-table {
        margin-top: 2.5em;
    }

    .filters-right {
        width: 100%;
    }
    body.details:not(.shop) .filters-right {
        justify-content: space-between;
        width: 100%;
        margin-bottom: 2em;
        align-items: center;
    }

    body.shop .filters-left {
        max-width: 6em;
        width: auto;
    }
    .filters-left {
        align-items: center;
        display: inline-flex;
        width: 100%;
        justify-content: space-between;
    }
    .trash-link-wapper {
        border-left: 1px solid #000;
        text-align: right;
    }
    a.trash-link {
        position: relative;
    }
    a.trash-link span {
        position: absolute;
        right: 0;
        top: -1em;
    }

    .filters .pagination-wapper > nav > div {
        justify-content: space-between !important;
        width: 100%;
    }

    body:not(.shop) .filters .pagination-wapper > nav > div > div:nth-child(2) {
        display: none;
    }

    .pagination-wapper.pagination-wapper-bottom {
        border-top: 1px solid #ddd;
        padding-top: 2em;
        margin-top: -1em;
    }

    .pagination-wapper.pagination-wapper-bottom > nav,
    .pagination-wapper.pagination-wapper-bottom > nav > div {
        justify-content: space-between !important;
        width: 100%;
    }

    .table-detail-sizes {
        text-align: right;
    }

    .pop-up-form form {
        max-height: calc(100vh - 11em);
        overflow: auto;
        margin: 0 -1.3em;
    }
    .pop-up-form form > .row{
        margin: 0;
    }
    .pop-up-form form > .flex.align-center.justify-between {
        position: sticky;
        bottom: 0;
        background: #fff;
    }


    .new-social-link.row label.col-12.col-lg-6 {
        max-width: calc(100% - 4em);
    }
    .new-social-link.row .col-12.col-lg-2 {
        max-width: 4em;
    }
    button#add-socia-link-btn {
        margin-top: 0.5em;
    }
    /* .new-social-link.row {
        margin-bottom: 3em;
    } */

    .justify-center-xs{
        justify-content: center;
    }

    .text-center-xs{
        text-align: center !important;
    }

    /* TABLE */
    .table-grid-xs,
    .table-grid-xs tbody,
    .table-grid-xs tbody tr{
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        border: none !important;
    }

    .table-grid-xs thead{
        display: none;
    }

    .table-grid-xs tbody tr {
        margin-bottom: 3em;
    }

    .details td.table-grid-xs-title {
        width: calc(100% - 7em) !important;
        text-align: center !important;
        order: 1 !important;
        text-align: left !important;
    }

    td.table-grid-xs-title span.table-label {
        display: block;
    }

    td.table-grid-xs-title .xs-hidden {
        display: none;
    }

    .details  td.table-grid-xs-image {
        width: 7em !important;
        height: 5em !important;
    }

    .details  td.table-grid-xs-warehouse .table-content {
        padding-left: 1em;
    }

    .details  td.table-grid-xs-cats .table-content > div {
        justify-content: flex-end;
    }

    .table-grid-xs tbody tr td {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid #ddd;
        order: 3;
    }
    td.table-grid-xs-title {
        background: #f8f8f8;
        text-transform: uppercase;
        font-weight: 600;
        text-align: center;
        border-bottom: none !important;
        color: #000;
        justify-content: center !important;
    }
    td.table-grid-xs-title span.table-label {
        display: none;
    }

    .table-grid-xs td.table-btn {
        justify-content: flex-end !important;
        border-bottom: none;
    }

    .table-grid-xs td.table-btn > span {
        margin: 0 1em;
    }

    table.table.table-grid-xs tbody tr:nth-child(even) {
        background: transparent;
    }

    .no-img {
        height: 5em;
        background: #eee;
        border: 1px solid #ddd;
    }
    .no-img svg {
        width: 4em;
        height: 4em;
    }

    .checkbox-field {
        display: flex;
        align-items: center;
        line-height: 1.2;
    }
    .checkbox-field input[type="checkbox"] {
        width: 1.3em;
        height: 1.3em;
        flex: 0 0 1.3em;
        margin-right: 0.5em;
    }
    .go-back-link {
        margin-bottom: 2em;
        /* margin-top: -2em; */
        margin-left: -0.5em;
    }

    .xs-flex{
        display: flex;
    }
    .xs-items-center{
        align-items: center;
    }
    .xs-justify-between {
        justify-content: space-between;
    }

    .xs-w-47 {
        width: 47%;
    }
    .xs-w-100 {
        width: 100%;
    }

    .xs-bordered-top{
        border-top: 1px solid #bbb;
        padding-top: 2.2em;
        margin-top: 1.4em;
    }

    /* POP UPS */
    .pop-up-form-wapper,
    div#pop-message-wapper {
        max-width: calc(100vw - 2.2em);
    }

    /* FOOTER */
    footer .col-12.col-md-12 > div{
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    footer a {
        font-size: 13px;
    }
}

@media(min-width:768px){

    span.table-label {
        display: none;
    }

    header#main-header {
        padding: 0.85em 0;
    }
    .logo {
        width: 11em;
    }

    header#main-header nav#main-menu-nav {
        width: 24em;
        left: unset;
        right: 1em;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
        box-shadow: none;
        border-top: none;
        top: calc(100% - 1px);
        border: 1px solid #555;
        border-top: none;
    }

    header#main-header nav#main-menu-nav span.border-left {
        position: absolute;
        top: 0;
        left: -1px;
        width: 1px;
        height: 50%;
        background: #fff;
    }
    header#main-header nav#main-menu-nav span.border-left:before {
        content: "";
        background: linear-gradient(to top, #000, transparent 100%);
        position: absolute;
        top: 0em;
        left: 0px;
        height: calc(100%);
        width: 1px;
        z-index: 9;
    }

    header#main-header nav#main-menu-nav span.border-right {
        position: absolute;
        top: 0;
        right: -1px;
        width: 1px;
        height: 50%;
        background: #fff;
    }
    header#main-header nav#main-menu-nav span.border-right:before {
        content: "";
        background: linear-gradient(to top, #000, transparent 100%);
        position: absolute;
        top: 0em;
        left: 0px;
        height: calc(100%);
        width: 1px;
        z-index: 9;
    }



    button#qr-scaner-triger > span {
        position: absolute;
        white-space: nowrap;
        right: calc(100% + 0.51em);
        display: table;
        top: 50%;
        transform: translateY(-50%);
        font-weight: 500;
    }

    button#messages span {
        top: 0.35em;
    }

    div#qr-response .alert{
        max-width: 350px;
        right: 5% !important;
        margin: 0 auto;
    }

    .filters .filters-right {
        order: 2;
    }

    /**/
    .box label {
        margin-bottom: 1em;
    }

    /**/
    footer .col-12.col-md-12 {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    footer p {
        margin-bottom: 0;
    }
    footer a {
        margin-left: 1em;
    }
}

@media(min-width:767px) and (max-width:1199px){
    td.table-grid-xs-image {
        padding: 0;
        width: 100%;
    }
    td.table-grid-xs-image img {
        width: 100%;
        height: 100%;
        max-height: 5em;
        object-fit: cover;
    }

    span.table-label {
        display: block;
    }
    td.table-grid-xs-title .xs-hidden {
        display: none;
    }
    .details .table-content {
        text-align: right;
    }

    /* TABLE */
    .table-grid-xs,
    .table-grid-xs tbody,
    .table-grid-xs tbody tr{
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        border: none !important;
    }

    .table-grid-xs thead{
        display: none;
    }

    .table-grid-xs tbody{
        width: auto;
        margin: 0 -1em;
    }
    .table-grid-xs tbody tr {
        margin-bottom: 3em;
        width: calc(50% - 0em);
        max-width: calc(50% - 0em);
        padding: 0 1em;
    }

    .details td.table-grid-xs-title {
        width: calc(100% - 7em) !important;
        text-align: center !important;
        order: 1 !important;
        text-align: left !important;
    }

    .details  td.table-grid-xs-image {
        width: 7em !important;
        height: 5em !important;
    }

    .details  td.table-grid-xs-warehouse .table-content {
        padding-left: 1em;
    }

    .details  td.table-grid-xs-cats .table-content > div {
        justify-content: flex-end;
    }

    .table-grid-xs tbody tr td {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid #ddd;
        order: 3;
    }
    td.table-grid-xs-title {
        background: #f8f8f8;
        text-transform: uppercase;
        font-weight: 600;
        text-align: center;
        border-bottom: none !important;
        color: #000;
        justify-content: center !important;
    }
    td.table-grid-xs-title span.table-label {
        display: none;
    }

    .table-grid-xs td.table-btn {
        justify-content: flex-end !important;
        border-bottom: none;
    }

    .table-grid-xs td.table-btn > span {
        margin: 0 1em;
    }

    table.table.table-grid-xs tbody tr:nth-child(even) {
        background: transparent;
    }

    .no-img {
        height: 5em;
        background: #eee;
        border: 1px solid #ddd;
    }
    .no-img svg {
        width: 4em;
        height: 4em;
    }
}

@media(min-width:1200px){
    section#page-header {
        padding: 1em 0;
        margin-bottom: 3em;
    }
    section#page-header .row {
        position: relative;
    }
    .col-12.col-lg-12.col-breadcamps {
        position: absolute;
    }
    .col-12.col-lg-12.col-breadcamps {
        position: absolute;
        top: calc(50% - 0em);
        margin: 0;
        transform: translateY(calc(-50%));
    }
    ul.breadcamps-list.flex.items-center{
        margin:0;
    }

    section#page-header span.page-h1 {
        position: relative;
        z-index: 9;
        max-width: 22em;
        display: inline-flex;
    }
}

@media (min-width: 1300px){
    .container {
        max-width: 1920px;
        padding: 0px 8em;
    }
}
