/*CMS*/
/* summernote  */
.note-group-select-from-files {
    display: none;
}

/*Summernote*/
.copy-url-btn {
    background-color: transparent;
    border: none;
    color: rgb(128, 128, 128);
}

/*nestable menu*/
.menu-box {
    border: 1px solid #a1a1a1;
    margin: 10px;
    padding: 10px;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

ul.menu-list li {
    display: block;
    margin-bottom: 5px;
    border: 1px solid #eee;
    background: #fff;
}

ul.menu-list > li p {
    background: #fff;
    display: block;
    font-size: 14px;
    color: black;
    /*text-transform: uppercase;*/
    text-decoration: none;
    padding: 10px;
}

ul.menu-list > li:hover {
    cursor: move;
}

ul.menu-list ul {
    margin-left: 20px;
    margin-top: 5px;
}

ul.menu-list ul li p {
    color: black;
}

li.menu-highlight {
    border: 1px dashed red !important;
    background: #f5f5f5;
}

/*nestable menu*/

/**
drag and drop nelle righe della tabella

#sortable-table td {
    cursor: grab;
    transition: transform 0.1s ease;

}

#sortable-table td:hover {
    cursor: grab;
    transition: transform 0.1s ease;
}

#sortable-table td.ui-sortable-helper {
    cursor: grabbing;
}

/**
fine drag and drop nelle righe della tabella
 */


/* Drag and drop immagini negli hooks */
#sortable-container .card {
    cursor: grab;
    transition: transform 0.2s ease;
    border: 2px solid #ddd; /* Aggiunto un bordo per indicare chiaramente l'area di trascinamento */
    border-radius: 8px;
    margin: 5px;
    background-color: #fff;
}

#sortable-container .card:hover {
    cursor: grab;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Effetto ombra durante il trascinamento */
}

#sortable-container .card.ui-sortable-helper {
    cursor: grabbing;
    transform: scale(1.1); /* Leggero zoom durante il trascinamento */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); /* Ombra più evidente durante il trascinamento */
}

#sortable-container .card img {
    width: 100%;
    height: auto;
    border-radius: 6px; /* Angoli arrotondati per le immagini */
    transition: transform 0.2s ease;
}

#sortable-container .card:hover img {
    transform: scale(1.1); /* Effetto di zoom sull'immagine durante il trascinamento */
}

/* Fine drag and drop immagini negli hooks */

/* Immagini nella modale per associazione ai componenti */
.square-container {
    position: relative;
    overflow: hidden;
    height: 100px;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.square-button {
    width: 30px;
    height: 30px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.square-button:hover {
    background-color: #0056b3;
}

.square-button:active {
    background-color: #003366;
}

.form-check-input:checked + .form-check-label .square-container {
    border: 2px solid #007bff;
}

.square-container img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.addtextslide {
    cursor: pointer;
    color: inherit;
    text-decoration: none;
}
.addtextslide:hover {
    cursor: pointer;
    color: inherit;
    text-decoration: none;
    opacity: 0.7;
}

.addtextslide:active {
    cursor: pointer;
    color: black;
    text-decoration: none;
}

/*FINE CMS */
.text-gray-800 {
    color: #101828 !important;
}

.bg-brand {
    background-color: #101828;
}

.sidebar .sidebar-brand {
    height: auto;
    padding: 15px 10px 15px 10px;
}

.sidebar-brand-image {
    width: 100%;
    display: block;
}

.bg-login {
    background-color: #000;
    padding: 10px;
}

.btn-brand {
    background-color: #0a53be;
    color: #ffffff;
}

.btn-brand:hover {
    background-color: #0a53be;
    color: #dedede;
}

.login-logo {
    margin-bottom: 50px;
    width: 100%;
    overflow: hidden;
    text-align: center;
}

.login-logo img {
    margin: 0 auto;
    display: block;
}

.login-logo h1{
    font-size: 40px;
    color: #000;
}

.login-logo h5{
    font-size: 16px;
}

.icon-letters {
    background-color: #e20036;
    border-radius: 50%;
    padding: 7px;
    width: 40px;
    height: 40px;
    color: #ffffff;
    text-align: center;
}

table tr td, table tr th {
    font-size: 15px;
!important;
    color: #101828;
}

table td .btn {
    margin-bottom: 5px;
!important;
    display: inline-block !important;
!important;
}

table td .dropdown-menu {
    text-align: center;
!important;
}

.deleteform {
    display: inline;
}

.headline {
    font-weight: bold;
}

.barcode {
    padding: 5px;
    border: 1px solid #dedede;
    overflow: hidden;
}

.barcode svg {
    width: 100%;
    display: block;
}

.spinner {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    text-align: center;
    background: url(../img/bg-spinner.png) repeat;
}

.spinner .spinner-border {
    margin-top: 190px;
}

.logocarte {
    width: 250px;
}

.img-overlay {
    border: 1px solid #dedede;
    position: relative;
}

.overlaydelete {
    display: none;
    width: 100%;
    position: absolute;
    top: 80%;
    bottom: 0;
    background-color: #000;
    z-index: 999;
    text-align: center;
    color: #ffffff;
    opacity: 0.9;
    transition: all 1s ease;
}

.overlaydelete i {
    margin-top: 9%;
}

.img-overlay:hover .overlaydelete {
    display: block;
}

.space {
    width: 100px;
}

.radio-hidden {
    display: none;
}

.image-select {
    width: 100%;
    display: block;
    margin-bottom: 10px;
    border: 1px solid black;
}

.img-selected {
    border: 3px solid black;
}

.paypalbutton {
    width: 150px;
    height: 60px;
    overflow: hidden;
    background: #ffffff url(../img/paypallogo.png) center no-repeat;
    background-size: 100%;
    border: 1px solid #dedede;
    border-radius: 10px;
}

.paypalbutton:hover {
    border: 3px solid #dedede;
}

.deleterow {
    margin-top: 35px !important;
}

.select2 {
    border: 1px solid #d1d3e2;
    background-color: #ffffff;
    border-radius: .2rem;
}

.form-group .select2-selection__rendered {
    height: 100%;
    line-height: 28px;
}

.select2 {
    width: 100% !important;
}

/*
.select2-container .select2-selection--single {
    height: 37px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow,
.select2-container--default .select2-selection--single .select2-selection__rendered {
    height: 35px !important;
    line-height: 35px !important;
}
*/

.card-header .btn {
    margin-bottom: 5px !important;
}

.card-header h6.text-primary {
    color: #101828 !important;
}

.btn-warning {
    background-color: #eab83f;
    border-color: #eab83f;
}

tr th a {
    color: #858796;
}

tr th a:hover {
    color: #7a7a7a;
}

tr th a.active {
    color: #fb004c;
}

#docDetails td label {
    font-weight: bold;
}

.receipt {
    width: 100%;
    padding: 15px 25px 15px 25px;
    font-family: Roboto;
    color: #000;
    margin: 0 auto;
    max-width: 370px;
    overflow: hidden;
    background: url("../img/receipt_body.png") repeat-y;
    background-size: 100%;
}

.receipt .subtitle {
    font-size: 13px;
}

.receipt .total {
    line-height: 20px !important;
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}

.receipt-top, .receipt-bottom {
    width: 100%;
    margin: 0 auto;
    max-width: 370px;
    height: 17px;
    background-size: 100% !important;
}

.receipt-top {
    background: url("../img/receipt-top.png") no-repeat;
}

.receipt-bottom {
    background: url("../img/receipt_bottom.png") no-repeat;
}

.title-receipt {
    font-size: 20px;
}

.receipt table {
    margin-top: 20px;
    width: 100%;
    border: none;
    font-weight: normal;
}

.receipt table tr td, .receipt table tr th {
    line-height: 20px !important;
    border: none;
    padding: 0;
}

.variant {
    margin-bottom: 5px;
    border: 1px solid #dedede;
    padding: 10px;
    background-color: #dedede;
    font-weight: bold;
}

.sidebar-heading .name {
    font-size: 21px;
    text-transform: none;
    color: #ffffff;
}

.sidebar-heading .subtitle {
    font-size: 8px;
    color: #ffffff;
}

.red {
    color: red;
}

.green {
    color: green;
}

#customer, #purchaseOrder, #organization {
    display: none;
}

.dm-uploader {
    border: 0.25rem dashed #A5A5C7;
}

.dm-uploader.active {
    border-color: red;

    border-style: solid;
}

.preview-img {
    width: 64px;
    height: 64px;
}

.orderdelivery{
    background-color: #eccccf;
}

.logo-payment{
    max-width: 150px;
}

.card-file{
    width: 150px;
}

.select-inline-btn{
    display: inline-block;
    width: 100%;
    overflow: hidden;
}
.select-inline-btn .btn{
    background-color: #eaecf4;
    border: 1px solid #d1d3e2;
    margin-left: 1px;
    margin-bottom: 0;
}

.sidebar .nav-item .nav-link.active{
    background-color: #193890;
}

.nav.collapse{
    overflow: hidden;
}

.bootstrap-tagsinput{
    width: 100%;
}

.title-attribute{
    font-weight: bold;
    font-size: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid #dedede;
}

.form-check-label{
    margin-right: 10px;
}

#variants .form-check-inline{
    display: block;
}

.bootstrap-tagsinput .tag {
    width: auto;
    padding: 3px;
    background: gray;
    display: inline-block;
    margin-right: 2px;
    margin-bottom: 5px;
    color: white;
    border-radius: 4px;
}

.topbar-alert{
    text-align: center;
    width: 100%;
    color: #fff;
    background-color: #e02d1b;
    padding: 5px;
}

.topbar-alert.fixed-alert{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}

.overlay-license{
    position: absolute;
    background-color: rgba(0,0,0,0.4);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 90;
}

.topbar-alert a{
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .nav .collapse .show {
        position: static !important;
        left: 0 !important;
    }

    .nav-item .nav.collapse.show{
        background-color: #fff !important;
        color: #000;
    }

    .sidebar-dark ul .nav-item .nav-link,
    .sidebar-dark ul .nav-item .nav-link:hover{
        color: #000;
    }

    .sidebar-dark ul .nav-item .nav-link i,
    .sidebar-dark ul .nav-item .nav-link i:hover{
        color: #000 !important;
    }

    .sidebar-dark ul.nav.show{
        border: 1px solid #dedede;
    }

    .sidebar .nav-item .collapse{
        position: static;
    }
}