/*=== ADDED BY TAFFO ===*/

/* GLOBALS */
.attCancel {
    display: none;
}

.hide-always {
    display: none;
}

.no-border-radius {
    border-radius: 0px !important;
}

.flag-img {
    margin-top: -4px;
    width: 94%;
}

.padding-none {
    padding: 0px;
}

.border-none {
    border: none;
}

.btn-delete-conf {
    cursor: pointer;
}

.btn-dashboard {
    padding: .625rem .925rem;
}

.w100 {
    width: 100%;
}

input[type='text'], textarea, select {
    color: #525f7f !important;
}

.dark-gray-placeholder::placeholder {
  color: #525f7f !important;
}

.btn-disabled {
    background-color: #d6d6d6; 
    border-color: #c0c0c0; 
    cursor: not-allowed;
}

/* TINY MCE */
.tox-tinymce {
    border: 1px solid #f0ecec !important;
    transition: box-shadow .15s ease !important;
    box-shadow: 0 1px 3px rgba(50, 50, 93, .15), 0 1px 0 rgba(0, 0, 0, .02) !important;
    border-radius: 3px !important;
}

/* Forms */

.form-header {
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 12px;
    background-color: #212529;
    color: white;
    margin-bottom: 16px;
    border-radius: 3px;
}

.file-field {
    padding-bottom: 12px;
}

.file-path {
    display: none;
}

.info-div {
    font-size: 0.8em;
    margin-top: -12px;
    margin-left: 3px;
    margin-bottom: 16px;
    color: #8898aa;
}

.is-invalid-alt {
    border: 1px solid #fb6340 !important;
    border-radius: 6px !important;
}

.tox-editor-container .is-invalid {
    border: 1px solid red !important;
}

/* Images */
.attachment-image {
    margin-top: 12px;
    width: 100%;
    -webkit-box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.2);
    box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.2);
    transition: width 0.5s;
}

.attachment-image:hover {
    transition: width 0.5s;
    width: 102%;
}

/* Sortable */
.sortable {
    list-style-type: none;
    cursor: move;
    color: white;
}

.sortable ol {
    list-style-type: none;
}

.sortable li div {
    margin-top: 12px;
    width: 100%;
    background-color: #7889e8;
    padding: 16px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

.sortable ol li div {
    margin-top: 8px;
    list-style-type: none;
}

/* Buttons */
.btn-menu-actions {
    margin-right: 8px;
}

.menu-flag {
    width: 36px;
}


.att-btns {
    margin-top: 16px;
}

.btn-att {
    padding: 6px;
}

#manual-packages, #manual-generate {
    display: none;
}

/* ========== ADDED FOR ALLEOP =========*/
.top-content .col-4 form,
.top-content .col-8 .table-responsive {
    border: solid 1px #dddddd;
    padding: 15px;
    border-radius: 5px;
}

.top-content,
.raw-orders,
.processed-products{
    padding: 25px;
}

.top-content form .input-group-text {
    min-width: 80px;
}

.top-content form .input-group-text,
.row .raw-orders table thead th,
.row .remaining-products table thead th,
.row  .raw-orders .input-group .form-control,
.row .processed-products table thead th,
.row .processed-products table thead th,
.processed-products  .input-group .form-control,
#edit-modal .input-group-text,
#edit-modal .input-group .form-control{
    color: #32325d;
}


.remaining-products .card-header,
.printer .card-header {
    padding-left: 0;
}

.remaining-products td,
.remaining-products th,
.raw-orders td,
.raw-orders th,
.processed-products td,
.processed-products th{
    border: solid 1px #ddd !important;
}

.remaining-products .table-responsive {
    max-height: 386px;
    overflow-y: scroll;
}

.raw-orders .input-group .form-control,
.processed-products  .input-group .form-control{
    height: 30px;
    max-width: 200px;
    margin-top: 5px;
    font-size: 12px;
}

.row .raw-orders table thead th,
.row .remaining-products table thead th,
.row .processed-products table thead th{
    font-size: 14px;
}

th.sort.with-search {
    padding-bottom: 0;
}

.page-title{

}

.step-2 ul{
    padding-left: 0;
}


.step-2 ul li {
    list-style: none;
    border-bottom: solid 1px #ddd;
    padding: 5px;
}

.step-2 ul li:last-child{
    border-bottom:none
}

.m-product-name{
    width: 85%;
    display: inline-block;
}

.m-product-quantity{
    width: 15%;
    text-align: right;
}

.processed-products .card-header button {
    float: right;
    margin-bottom: 10px;
}

.processed-products .card-header h2{
    float: left;
    margin-top: 10px;
}

.processed-products .card-header{
    padding:0;
}

#edit-modal .modal-footer .btn-primary{
    margin: 0 auto;
}

.step-2 ul{
    max-height: 175px;
    overflow-y: auto;
}

#edit-modal .modal-footer{
    padding-top:0;
}

#manual-error {
    display: none;
}

.nom-place {
    max-width: 56px;
	padding: 5px;
}
.warehouse-placement-barcode {
	padding: 5px;
}
.text-product-name {
    cursor: pointer;
}
.text-product-barcode {
    cursor: pointer;
}
.alleop-tooltip {
    position: absolute; 
    margin-top: -32px; 
    background-color: black; 
    color: white; 
    padding: 4px; 
    display: none;
}

.text-dark-gray {
    color: #8898aa !important;
}

.bg-gray-light {
    background-color: #f2f2f2 !important;
}
.bg-gray-dark {
    background-color: #373737 !important;
}

.bg-processed {
    background-color: #c4d9c4 !important;
}

.bg-pink {
    background-color: #ff93a8 !important;
}

.bg-purple-dark {
	background-color: #6552bf !important;
}

.nav-item .active {
    background-color: #eee;
}

.list {
    border-bottom: 1px solid #b3b3b3 !important; 
    border-top: 1px solid #b3b3b3 !important;
}

.btn-add, .btn-delete-child {
    margin-bottom: 3px;
}

.packlist-product-name {
	white-space: initial !important;
}

.btn-nom-action {
    max-width: 29px;
}

.datepicker-nomenclature {
    padding: 5px;
    border-radius: 2px;
    border: 1px solid gray;
}

.revision-count-one {
    background-color: #ff5050 !important;
}

.revision-count-two {
    background-color: #0099cc !important;
}

.packlist-order-id {
    display: inline-block;
    cursor: pointer;
}

.packlist-short-order-id {
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.packlist-long-order-id {
    white-space: initial;
}

.white-space-initial {
    white-space: initial !important;
}

/*--- AUTOCOMPLETE --*/
.ui-autocomplete {
    z-index: 1050 !important;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.15);
    padding: 5px 0;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
}

.ui-menu-item {
    padding: 12px 15px;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
    border-bottom: 1px solid #f1f1f1;
}

.ui-menu-item:last-child {
    border-bottom: none;
}

.ui-menu-item a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    border: none !important;
    outline: none !important;
}

.ui-menu-item a:hover,
.ui-state-active a {
    background: #007bff !important;
    color: white !important;
    border-radius: 6px;
    font-weight: bold;
    outline: none !important;
}

#unfinished-tasks tbody tr:hover, #finished-tasks tbody tr:hover {
    background-color: #f2f2f2;
    transition: background-color 0.3s ease-in-out;
}

