/*
  Theme Name: Codeceil App
  Author: Nababur Rahaman
  Support: nababurbd@gmail.com
  Website URL: https://codeceil.com
  Author URL: https://github.com/nababur
  Description: For share Codes and Snippets.
  Version: 1.0
*/


/*Import Google Fonts*/
@import url('https://fonts.googleapis.com/css?family=Nunito:300,400,600,700&display=swap');

body {
    line-height: 24px;
    font-size: 1em;
    font-style: normal;
    font-weight: normal;
    visibility: visible;
    font-family: 'Nunito', sans-serif;
    color: #222;
}

body.with-fixed-navbar {
    padding-top: 64px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #222;
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    margin-top: 0;
}

h1 {
    font-size: 36px;
    line-height: 42px;
}

h2 {
    font-size: 32px;
    line-height: 36px;
}

h3 {
    font-size: 24px;
    line-height: 30px;
}

h4 {
    font-size: 18px;
    line-height: 24px;
}

h5 {
    font-size: 14px;
    line-height: 18px;
}

h6 {
    font-size: 12px;
    line-height: 24px;
}

.message {
    width: 100%;
    font-size: 14px;
    padding: 2px 5px;
    color: #FFFFFF;
}

.success {
    background-color: #35AA54;
}

.error {
    background-color: #C6211C;
}

.mt-2 {
    margin-top: 20px;
}

.my-5 {
    margin-top: 50px;
    margin-bottom: 50px;
}

.my-2 {
    margin-top: 20px;
    margin-bottom: 20px;
}

.w-100 {
    width: 100%;
}

#document-form label,
#login-form label {
    padding-top: 20px;
}

#document-form button,
#document-form input,
#document-form select {
    font-size: 1em;
    padding: 0.375rem 0.75rem;
}

.head {
    background-color: #b9ceef;
    padding: 10px;
}

.step-wrapper {
    max-width: 500px;
    margin: 50px auto;
    display: flex;
    flex-direction: column;
}

.step-row {
    display: flex;
    flex-direction: row;
}

.step-col {
    width: 100%;
}

.step-col select {
    width: 100%;
}

.row_manuals {
    margin-top: 0.5em;
}

.file-drop-area {
    position: relative;
    display: flex;
    align-items: center;
    /* width:450px; */
    max-width: 100%;
    padding: 25px;
    border: 1px dashed rgba(69, 69, 69, 0.4);
    border-radius: 3px;
    transition: 0.2s;
}

.file-drop-area.is-active {
    background-color: rgba(69, 69, 69, 0.05);
}

.fake-btn {
    flex-shrink: 0;
    background-color: rgba(69, 69, 69, 0.04);
    border: 1px solid rgba(69, 69, 69, 0.1);
    border-radius: 3px;
    padding: 8px 15px;
    margin-right: 10px;
    font-size: 12px;
    text-transform: uppercase;
}

.file-msg {
    font-size: small;
    font-weight: 300;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-input {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    cursor: pointer;
    opacity: 0;
}

.file-input:focus {
    outline: none;
}

.head-wrapper {
    display: flex;
    flex-direction: column;
}

.head-wrapper .head-row {
    width: 100%;
    display: flex;
    flex-direction: row;
}

.head-wrapper .head-col {
    display: flex;
    flex-direction: column;
    width: 50%;
    padding: 10px;
    border: 1px solid #CCCCCC;
}

.head-wrapper .head-col-full {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 10px;
    border: 1px solid #CCCCCC;
}

.heading {
    background-color: #d2dae7;
}

.col-heading {
    background-color: #CCCCCC;
    margin-left: -10px;
    margin-top: -10px;
    padding: 4px 5px 5px 10px;
    font-weight: 600;
    display: inline-block;
    max-width: 250px;
}

.result {
    width: 100%;
}

.result tr:nth-child(odd) {
    background-color: #EEEEEE;
}

.result th {
    font-size: 1em;
    background-color: #d2dae7;
}

.result tr td {
    border-bottom: 1px solid #d2dae7;
}

.result th,
.result td {
    padding: 0 5px;
}

.result th.output-ks {
    width: 20%;
}

.result .wrapper {
    width: 100%;
}

.result td.output-ks {
    text-align: right;
    width: 20%;
}

.btn-warning {
    margin-right: auto;
    margin-left: auto;
    background-color: #d0451b;
    border-radius: 3px;
    border: 1px solid #942911;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial;
    font-size: 13px;
    padding: 6px 24px;
    text-decoration: none;
}

.btn-warning:hover {
    background-color: #bc3315;
}

.btn-warning:active {
    position: relative;
    top: 1px;
}

.invNo {
    background-color: #d0451b;
    border-radius: 3px;
    border: 1px solid #942911;
    display: inline-block;
    color: #ffffff;
    font-family: Arial;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 7px;
    text-decoration: none;
}

.btn-download {
    background-color: #44c767;
    border-radius: 3px;
    border: 1px solid #18ab29;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial;
    font-size: 13px;
    font-weight: bold;
    padding: 5px 8px;
    text-decoration: none;
    text-align: center;
    width: 120px;
}

.btn-download:hover {
    background-color: #5cbf2a;
}

.btn-download:active {
    position: relative;
    top: 1px;
}

.table-error {
    margin-bottom: 50px;
    width: 100%;
}

pre {
    font-size: 75%;
}

/* Header docsys */
.navbar {
    height: 64px;
}

.navbar .nav-item {
    position: relative;
}

.navbar .ftp-download {
    margin-left: 2em;
}

.navbar .nav-item label {
    color: #FFFFFF;
    /* padding-top: 7px; */
}

.navbar .nav-item select,
.navbar .store-name {
    color: #343A40;
    background-color: #FFFFFF;
    position: relative;
    font-weight: 500;
    padding: .375rem .75rem;
    font-size: 1rem;
    vertical-align: middle;
    border-radius: .25rem;
    height: 100%;
    display: flex;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .navbar .store-name {
        font-size: 0.8rem;
        line-height: 0.8rem;
        max-width: 100px;
    }
}

.navbar .nav-item label,
.navbar .nav-item .label,
.navbar .store-name .label {
    position: absolute;
    font-size: 10px;
    top: -5px;
    background-color: #212529;
    color: #FFFFFF;
    border-radius: 0 0 10px 0;
    left: 0;
    padding-right: 8px;
    z-index: 1;
    margin-top: -10px;
}

@media screen and (max-width: 768px) {
    .navbar .store-name .label {
        top: 2px;
    }
}

.navbar .nav-item #change_store {
    display: flex;
}

@media screen and (max-width: 768px) {
    #current-section {
        font-size: 0.8rem;
        max-width: 150px;
    }
}

.info-stripe {
    padding: 2px 10px;
    position: fixed;
    width: 100%;
    z-index: 1;
    overflow: hidden;
}

.info-stripe+main {
    padding-top: 42px;
}

@media screen and (max-width: 768px) {
    .info-stripe+main {
        padding-top: 5px;
    }
}

.export-item {
    padding: 10px 10px 5px 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    background-color: #EFEDEA;
}

.export-item .download-buttons {
    margin-bottom: 0.2em;
    display: flex;
    column-gap: 0.5em;
    padding: 0.5em;
}

.export-item .import-msg {
    display: inline-block;
    margin-bottom: 0;
    padding-top: .375rem;
    padding-bottom: .375rem;
}

.export-item .import-msg .close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.2rem 0.3rem;
    color: inherit;
}

.main-output {
    top: 80px;
    padding-top: 40px;
    position: absolute;
    width: 100%;
}

.sums {
    display: flex;
    margin-bottom: 5px;
}

.sums .item {
    background-color: #B4D2D3;
    padding: 5px 10px;
}

/** DASHBOARD */

pre.changelog {
    white-space: pre-wrap;
    /* Since CSS 2.1 */
    white-space: -moz-pre-wrap;
    /* Mozilla, since 1999 */
    white-space: -pre-wrap;
    /* Opera 4-6 */
    white-space: -o-pre-wrap;
    /* Opera 7 */
    word-wrap: break-word;
    /* Internet Explorer 5.5+ */
}

.dashboard-menu {
    align-content: flex-start;
}

.dashboard-menu li {
    list-style: none;
    max-width: 33.333%;
}

.dashboard-item {
    margin-bottom: 1em;
    width: 250px;
}

/** CONTACTS */

.contacts {
    font-size: 80%;
    margin-bottom: 100px;
}

.contacts .main-email {
    font-weight: 100;
}

.contacts-footer .contact-sum {
    font-size: 16px;
}

.contacts-footer .contact-sum-wrapper {
    column-gap: 0.5em;
}

.contacts-footer {
    height: 100px;
    background-color: #FFFFFF;
}

.contacts-footer textarea {
    height: 95px;
    font-size: 80%;
}

/** CONTROL */

.control {
    overflow-y: auto;
    height: calc(100vh - 65px);
    align-content: flex-start;
}

.control .info-stripe+main {
    padding-top: 5px;
}

.control .info-stripe {
    position: relative;
    top: 0;
    white-space: nowrap;
}

.document-list {
    overflow-y: auto;
    height: calc(100vh - 220px);
    align-content: flex-start;
}

.document-list__item {
    display: flex;
}

.document-list__item .download-button {
    display: flex;
    align-items: center;
}

.document-detail,
.title-detail--item {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 5px 15px;
    font-size: 80%;
}

.document-detail--placeholder {
    height: 175px;
}

.document-detail__item--title,
.review-list--item__title {
    white-space: nowrap;
    overflow: hidden;
}

#controlform input#ean {
    font-size: 0.7em;
    padding: .375rem .75rem;
    width: 100%;
}

.control-stripe {
    font-size: 85%;
}

.control-stripe__input {
    padding: 2px;
    width: 40px;
    line-height: 1em;
    text-align: center;
}

.control #review-list__wrapper {
    position: absolute;
    left: 0;
    right: 0;
    top: 130px;
    bottom: 0;
    overflow-y: auto;
    height: calc(100vh - 130px);
    background-color: #FFFFFF;
}

.control #review-list--recipients {
    position: absolute;
    top: 0;
    background-color: #FFFFFF;
}

.control #review-list {
    height: fit-content;
    height: calc(100vh - 265px);
    position: absolute;
    overflow-y: auto;
    /* padding-bottom: 65px; */
    /* margin-top: 155px; */
}

.control #review-list .review-list--item-wrapper .review-list--item__difference,
.control #review-list .review-list--item-wrapper .review-list--item__ean {
    padding: .5rem 0 0;
    font-size: 0.8em;
}

.control #review-list .review-list--item {
    font-size: 0.8em;
    display: flex;
    align-items: center;
    width: 100%;
}

.control .review-list--heading-wrapper {
    font-size: 80%;
}

.control #review-list--close-button {
    /* position: absolute;
    bottom: 0; */
    padding: 5px;
    background-color: #FFFFFF;
}

.control .defect-list .input-group {
    flex-wrap: nowrap;
}

.control .defect-list.row,
.control .defect-list .row {
    --bs-gutter-x: 0;
}

.control .defect-list .defect-row input[type="number"] {
    padding: 0;
    text-align: center;
}

.control .form-control {
    font-size: 80%;
}

.control .document-list .btn {
    font-size: 80%;
    padding: 0.375rem 0.5rem;
}



/* ANALYSIS */

.analysis .document-detail__item-list--head {
    font-weight: 700;
    font-size: 14px;
}

.analysis .document-detail__item-list--value {
    white-space: nowrap;
    overflow: hidden;
    font-size: 14px;
}

.analysis .param-row {
    border-top: 1px solid #CCCCCC;
    line-height: 18px;
}

.analysis .report-list {
    display: flex;
    flex-wrap: wrap;
}

.analysis .report-list a {
    margin: 10px 0 0 1%;
    width: calc(100% * (1/4) - 10px - 1%);
}

@media (max-width: 1200px) {
    .analysis .report-list a {
        width: calc(100% * (1/2) - 10px - 1%);
    }
}

@media (max-width: 768px) {
    .analysis .report-list a {
        width: 100%;
    }
}

/* PRESENTATION */

.presentation .existingNotes {
    font-size: 80%;
}

.presentation .document-detail--item-list .param-row:nth-child(odd) {
    background-color: #EEEEEE;
}

.presentation .document-detail--item-list .param-row #lokace {
    line-break: anywhere;
}

.presentation #ean-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    flex-direction: row;
}

.presentation #controlform input#ean {
    max-width: 90%;
}

.presentation #controlform #notes {}

.presentation .document-detail {
    margin-top: 155px;
    position: relative;
    padding: 5px 15px;
}

.presentation .document-detail #current-ean {
    height: 26px;
    line-height: 1.2em;
    padding: 0.25em 1em;
    font-weight: 600;
    margin-bottom: 0.25em;
}

@media (max-width: 768px) {
    .navbar-expand-md .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }

    #navbarsExampleDefault {
        display: none !important;
    }

    .navbar-nav {
        flex-direction: row;
    }

    .section-select {
        width: 150px;
    }

    .navbar-nav #nav-store {
        width: 100px;
    }

    /* .presentation .document-detail {
        top: 155px;
    } */
}

.presentation main.container,
.presentation main.container .document-detail {
    max-width: 500px;
    margin: auto;
}

.presentation main.container-wide {
    max-width: 1600px;
    margin: auto;
}

.presentation .param-value {
    font-weight: bold;
}

.navbar-toggler {
    display: none;
}

.note-list {
    padding: 10px;
}

.note-list .legend {
    font-size: 11px;
}

.note-list__header {
    font-weight: bold;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    background-color: #0D6EFD;
    color: #FFFFFF;
}

.note-list__item div {
    font-size: 12px;
}

.note-list__item {
    border-top: 1px solid #666666;
    display: flex;
    flex-direction: column;
}

.note-list__item:nth-child(even) {
    background-color: #EEEEEE;
}

.note-list__item .title {
    white-space: nowrap;
    overflow: hidden;
}

/* LISTING CONTROL */

.listing-control textarea.ean-list {
    height: 95px;
    font-size: 80%;
    width: 100%;
}

.listing-control .ean-list__wrapper {
    max-width: 500px;
    margin: 10px auto;
    display: flex;
    flex-direction: column;
}

.listing-control .separator {
    text-align: center;
    color: #999999;
    position: relative;
}

.listing-control .separator::before {
    content: "";
    border: 0.5px solid #999999;
    position: absolute;
    width: 30%;
    top: 12px;
    left: 45px;
}

.listing-control .separator::after {
    content: "";
    border: 0.5px solid #999999;
    width: 30%;
    position: absolute;
    top: 12px;
    right: 45px;
}

/* filebrowser */

main.filebrowser {
    height: calc(100vh - 64px);
}

main.filebrowser #tag_filter {
    margin: 0;
}

main.filebrowser .image_list {
    display: flex;
}

main.filebrowser .image_item .card-img {
    max-height: 200px;
    object-fit: cover;
}

main.filebrowser .image_item .card {
    height: 100%;
}

main.filebrowser .image_item .card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

main.filebrowser .image_item .image_tag_list {
    display: flex;
    width: 100%;
    font-size: 80%;
}


.ui-widget-content .ui-menu-item-wrapper,
.ui-widget-header .ui-menu-item-wrapper {
    border: 0;
    background: #ffffff;
    font-size: 80%;
    font-weight: bold;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
    border: 0;
    background: #ffffff;
    font-weight: bold;
    color: #126EF8;
    font-size: 80%;
}

main.filebrowser #filter-fieldgroup {
    display: flex;
    flex-direction: row;
    align-items: center;
}

main.filebrowser #filter-fieldgroup {}



/* SALES */

.sales #ean-sales-form input {
    font-size: unset;
    padding: unset;
}

.sales #ean-sales-form label {
    padding-top: 0;
}

.sales #ean-sales-form .filter_store {
    height: 450px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-start;
}

.sales #ean-sales-form .filter_store_item {
    min-height: 2.2em;
}

.sales textarea.ean-list {
    height: 95px;
    font-size: 80%;
    width: 100%;
}

.sales .ean-list__wrapper {
    max-width: 500px;
    margin: 10px auto;
    display: flex;
    flex-direction: column;
}

.sales .separator {
    text-align: center;
    color: #999999;
    position: relative;
}

.sales .separator::before {
    content: "";
    border: 0.5px solid #999999;
    position: absolute;
    width: 30%;
    top: 12px;
    left: 45px;
}

.sales .separator::after {
    content: "";
    border: 0.5px solid #999999;
    width: 30%;
    position: absolute;
    top: 12px;
    right: 45px;
}

.sales .filelist {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-start;
    max-height: 50vh;
}

.sales .filelist-item {
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
}

.sales .filters {
    font-size: 80%;
}


/* Relocation */

.relocation {
    margin-bottom: 5em;
    font-size: 90%;
}

.relocation .report-list {
    height: 20em;
}

.relocation #ean {
    width: 16ch;
}

.relocation #addRowWrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 0 0.25em;
    width: 100%;
    margin: 0 auto;
    height: 4.5em;
}

.relocationTable .row:hover .prodejna {
    border-color: #EB2133;
}

.relocationTable .fa-right-from-bracket {
    color: #EB2133;
}

.relocationTable .fa-right-to-bracket {
    color: #1D8757;
}


.relocationTable .cin-26432668 {
    background-color: #30a24b80;
    border-left: 5px solid #30a24b80;
}

.relocationTable .cin-7287356 {
    background-color: #087CBE80;
    border-left: 5px solid #087CBE80;
}

/* Statistics */

/* Custom styles for the statistics table */
.stats #salesTable {
    font-size: 0.9rem;
}

.stats #salesTable thead th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.stats #salesTable tbody tr {
    transition: all 0.2s ease;
}

.stats #salesTable tbody tr:hover {
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stats .positive {
    color: #28a745;
    font-weight: 600;
}

.stats .negative {
    color: #dc3545;
    font-weight: 600;
}

/* DataTables custom styling */

.stats table.dataTable tbody th, table.dataTable tbody td {
    padding: 4px 8px;
}
.stats .dataTables_wrapper .dataTables_length select,
.stats .dataTables_wrapper .dataTables_filter input {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 0.375rem 0.75rem;
}

.stats .dataTables_wrapper .dataTables_filter input:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    outline: 0;
}

.stats .dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0.375rem 0.75rem;
    margin: 0 2px;
    border-radius: 0.25rem;
}

.stats .dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #0d6efd !important;
    color: white !important;
    border: 1px solid #0d6efd !important;
}

.stats .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #0a58ca !important;
    color: white !important;
    border: 1px solid #0a58ca !important;
}

/* FixedHeader styling */
.stats table.dataTable.fixedHeader-floating {
background-color: white;
}

.stats table.fixedHeader-floating thead {
background-color: #212529 !important;
}

/* Fix uppercase text in fixed header */
.stats table.fixedHeader-floating thead th {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  color: white !important;
}