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

/*Summernote*/
.copy-url-btn{
    background-color: transparent;
    border: none;
    color: black;
}
/*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; /* Change color to indicate selection */
}

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

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px; /* Set the fixed height of the footer here */
    line-height: 60px; /* Vertically center the text there */
    background-color: #f5f5f5;
}

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

#paymentform{
    display: none !important;
}

.loginwrap{
    margin-top: 100px;
    background-color: #343a40;
}

.login .card-body{
    padding: 40px;
}

.logo{
    width: 130px;
}

.navbar{
    min-height: 65px;
}

.deleteform{
    display: inline-block;
}

.table td .btn{
    margin-bottom: 2px;
}

.btn-100{
    width: 100%;
}

.logocarte{
    max-width: 200px;
}

.img-overlay{
    position: relative;
}

.overlaydelete{
    display: none;
    width: 100%;
    position: absolute;
    top: 70%;
    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;
}

.select2-selection__rendered {
    font-size: 14px;
    margin-top: 2px;
}

.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;
}

.table td, .table th {
    font-size: 14px !important;
}

.select2-container .select2-selection--single{
    height: auto;
}

.select2-container--default .select2-selection--single .select2-selection__arrow{
    top: 7px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered{
    margin-top: -1px;
}

.tox-notifications-container, .tox-statusbar__branding{
    display: none !important;
}

.tab-content{
    padding: 20px 10px 10px 10px;
   /* border-bottom: 1px solid #dedede;
    border-left: 1px solid #dedede;
    border-right: 1px solid #dedede;*/
}

.card .form-group label{
    font-size: 14px;
}

.card .headline{
    font-size: 18px;
    color: #7a7a7a;
}

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

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

.barcode svg{
    width: 100%;
    display: block;
}
.nav-treeview{
    padding-left: 10px !important;
}
.code{
    width: 100%;
    max-height: 800px;
    overflow: scroll;
    padding: 20px;
    border: 1px solid #dedede;
    background-color: #ffffff;
}

.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active{
    background-color: #4f5963 !important;
}

.sidebar{
    overflow-y: scroll;
}

#sortable {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#sortable li {
    margin: 3px 3px 3px 0;
    padding: 1px;
    float: left;
    border: 0;
    background: none;
}

#sortable li img{
    max-width: 180px;
}

.media-blocks{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.media-block{
    margin: 3px 3px 3px 0;
    padding: 1px;
    float: left;
    border: 0;
    background: none;
}

.media-block img, .media-block video{
    max-width: 180px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice{
    background-color: #000 !important;
    border: 1px solid #000 !important;
}

.alert{
    margin-bottom: 0;
}

tr.deleted td {
    text-decoration: line-through;
}
span.badge.reso {
    text-decoration: none;
    font-size: 18px;
}

.badge-buono {
    color: white;
    background-color: #6f42c1;
}
.badge-carta {
    color: white;
    background-color: #fd7e14;
}

/*
.custom-control-input{
    z-index: 1;
    width: 28px;
}
*/
