.generic_azioni {
    display: none;
    text-align: right;
    max-width: 75px;
    position: absolute;
    top: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2px 5px;
    -webkit-box-shadow: -5px 5px 5px -2px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: -5px 5px 5px -2px rgba(0, 0, 0, 0.5);
    box-shadow: -5px 5px 5px -2px rgba(0, 0, 0, 0.5);
}

.generic_content_panel {
    position: relative;
    overflow-x: auto;
}

.generic_aggiungi {
    text-align: right;
}

/*
.generic_cerca .form-group {
    float: none;
    display: inline-block;
    vertical-align: bottom;
}

.generic_cerca .col-lg-4 {
    width: 30%;
}*/

.generic_content_panel th {
    color: #666;
    padding: 10px 5px;
}

.generic_content_panel td {
    color: #333;
    padding: 5px;
}

.generic_content_panel.ncnone thead {
    display: none
}

.generic_content_panel.ncitalic th {
    font-style: italic;
}

.generic_content_panel.ncbordo thead {
    border-bottom: 1px solid #ccc;
}

.generic_content_panel.bordi td,
.generic_content_panel.bordi th {
    border-left: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.generic_content_panel.bordotop td {
    border-top: 1px solid #ccc;
}

.generic_content_panel.bordi table {
    border-right: 1px solid #ccc;
    border-top: 1px solid #ccc;
}

.generic_content_panel.bicolore tbody tr:nth-child(even) {
    background-color: #fff;
}

.generic_content_panel.bicolore tbody tr:nth-child(odd) {
    background-color: #eee;
}

#generic_action_pagina1,
#generic_action_pagina2,
#generic_action_pagina3 {
    display: none;
}

.generic_area_action {
    width: 100%;
    box-sizing: border-box;
    ;
}

.generic_area_action td {
    padding: 10px;
    vertical-align: top;
}

.generic_area_action tr:hover {
    background-color: #fff5e6;
}

.modal-backdrop {
    position: fixed !important;
}


#blockModal .modal-body,
#generic_modal .modal-body {
    padding: 10px;
}

#content_modal .col-lg-12,
#generic_modal .col-lg-12 {
    padding: 0 !important;
}

#content_modal .panel,
#generic_modal .panel {
    margin-bottom: 0 !important;
}

#generic_modal {
    z-index: 5000;
}

#generic_modal .panel-body {
    overflow-y: auto;
}

table.orizzontale {
    min-width: 100%;
}

table.verticale {
    min-width: 100%;
}

.row_vert {
    border-bottom: 1px dotted #ccc;
    margin: 0;
    padding: 4px 0;
}

.figlio,
.padre {
    position: relative;
}

.generic_info_debug {
    padding: 5px;
    background-color: yellow;
    -webkit-box-shadow: 6px 6px 22px -1px rgba(0, 0, 0, 0.48);
    -moz-box-shadow: 6px 6px 22px -1px rgba(0, 0, 0, 0.48);
    box-shadow: 6px 6px 22px -1px rgba(0, 0, 0, 0.48);
    font-weight: bold;
    color: #333;
    font-style: italic;
    position: absolute;
    top: 0;
    right: 0;
}

.generic_debug_query {
    color: brown;
    width: 100%;
    height: auto;
    overflow-x: auto;
    opacity: 0.2;
}

.generic_debug_query:hover {
    opacity: 1;
}

.generic-editor-content {
    position: absolute;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.generic_editor_close {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 110;
}

.generic_sel {
    background-color: greenyellow !important;
}

#generic_alert_info {
	position: fixed;
	top: 30%;
	left: 50%;
	-webkit-transform: translate(-50%, -30%);
	transform: translate(-50%, -30%);
	z-index: 999999;
	display: none;
	-webkit-box-shadow: -2px 5px 5px 0px rgba(87,86,87,0.7);
	-moz-box-shadow: -2px 5px 5px 0px rgba(87,86,87,0.7);
	box-shadow: -2px 5px 5px 0px rgba(87,86,87,0.7);
}

#generic_alert_info_btn
{
    position: absolute;
    right: -10px;
    top: -10px;
}

#generic_alert_action {
    display: block;
    margin: 10px auto 0 auto;
}

#generic_alert_wait {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 10000;
    opacity: 0.8;
    display: none;
}




#generic_alert_info_class {
	position: fixed;
	bottom: 10%;
	border-radius: 1.5rem;
    right: 2%;
    width: 20%;
    /* -webkit-transform: translate(-50%, -30%);
    transform: translate(-50%, -30%); */
    z-index: 999999;
    display: none;
    -webkit-box-shadow: -2px 5px 5px 0px lightgreen;
    -moz-box-shadow: -2px 5px 5px 0px lightgreen;
    box-shadow: -2px 5px 5px 0px lightgreen;
}

#generic_alert_action_behind_class{
	z-index: 9998;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0.5;
    background: grey;
}
#generic_alert_action_class {
    position: fixed;
    top: 50% !important;
    left: 50% !important;
    border: 1px solid black;
    z-index: 9999;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-evenly;
    margin: 10px auto 0 auto;
    width: 20%;
    height: 20%;
    background: white;
    border-radius: 1rem;
}

.elm-warning {
    background-color: #fcf8e3;
}

.elm-danger {
    background-color: #f2dede;
}

.elm-success {
    background-color: #dff0d8;
}

.generic_content_panel.bicolore tbody tr.elm-warning:nth-child(even) {
    background-color: #fcf8e3;
}

.generic_content_panel.bicolore tbody tr.elm-danger:nth-child(even) {
    background-color: #f2dede;
}

.generic_content_panel.bicolore tbody tr.elm-success:nth-child(even) {
    background-color: #dff0d8;
}

.generic_content_panel.bicolore tbody tr.elm-warning:nth-child(odd) {
    background-color: #fcf8e3;
}

.generic_content_panel.bicolore tbody tr.elm-danger:nth-child(odd) {
    background-color: #f2dede;
}

.generic_content_panel.bicolore tbody tr.elm-success:nth-child(odd) {
    background-color: #dff0d8;
}

.generic_content_panel tbody tr:hover,
.generic_content_panel.bicolore tbody tr:hover,
.generic_content_panel.bicolore tbody tr.elm-warning:hover,
.generic_content_panel.bicolore tbody tr.elm-danger:hover,
.generic_content_panel.bicolore tbody tr.elm-success:hover {
    background-color: #e6f0ff;
}


.lightgreen {
    background: lightgreen;
    border: lightgreen;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.padding-left {
    padding-left: 1rem;
}

.border-padding {
    border-bottom: lightgreen;
    background: lightgreen;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.generi-container {
    min-height: 5rem;
    padding: 1rem;
}


.toast-container {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    max-width: 100%;
    pointer-events: none;
}

.position-fixed {
    position: fixed !important;
}

.bottom-0 {
    bottom: 0 !important;
}

.end-0 {
    right: 0 !important;
}

.toast-container>:not(:last-child) {
    margin-bottom: 4rem;
}

/* .bg-success {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-success-rgb), var(--bs-bg-opacity)) !important;
} */

.toast {
    width: 350px;
    max-width: 100%;
    font-size: 1.5rem;
    margin-right: 2rem;
    pointer-events: auto;
    background-color: rgba(255, 255, 255, .85);
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .1);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
    border-radius: .7rem;
}

.toast-header {
    display: flex;
    align-items: center;
    padding: .5rem .75rem;
    color: #6c757d;
    background-color: rgba(255, 255, 255, .85);
    background-clip: padding-box;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
}

.rounded {
    border-radius: .25rem !important;
}

.me-2 {
    margin-right: 1rem !important;
}

.toast-header .btn-close {
    margin-right: -.375rem;
    margin-left: .75rem;
}

.close-generic {
    color: inherit !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

.btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: .25em .25em;
    color: #000;
    /* background: transparent url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e) center / 1em auto no-repeat; */
    border: 0;
    border-radius: .25rem;
    opacity: .5;
}

.toast-body {
    padding: 1rem;
    word-wrap: break-word;
}

.text-dark {
    color: #212529 !important;
}

.text-white {
    color: #f8f9fa !important;
}

.bg-danger {
    --bs-bg-opacity: 1;
    background-color: #dc3545 !important;
}

.bg-warning {
    --bs-bg-opacity: 1;
    background-color: #ffe740 !important;
}

.bg-info {
    --bs-bg-opacity: 1;
    background-color: #0dcaf0 !important;
}

.bg-success {
    --bs-bg-opacity: 1;
    background-color: #198754 !important;
}