body {
	line-height: 1;	
	overflow-y: scroll;
}

td.details-control {
    background-image: url('../../../class/Editor-PHP/examples/resources/details_open.png');
	background-repeat:	no-repeat;
	background-position: center center;
    cursor: pointer;
}
tr.shown td.details-control {
    background-image: url('../../../class/Editor-PHP/examples/resources/details_close.png');
}

tr.shown+tr, 
tr.shown+tr div th,
tr.shown+tr div td 
{
	background-color: #03a9f426!important;
}




body.sb-sidenav-toggled div.DTED_Lightbox_Wrapper {
	left: 1em!important;
}

h5 {
    display: inline;
}

.symbol {
	width: 4em;
	height: 4em;
}

.card.mb-4 {
    border: 2px solid blue;
}

table#image img,
.table_image img {
    max-width: 4em;
	max-height: 4em;
    height: auto;
	width: auto;
}

.datatable tr td {
	height: 5em;
	max-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.trasparent {
	display: none;
}

.nobr { 
	white-space: nowrap 
}


/* Datatables */
table.dataTable thead th, table.dataTable thead td {
	padding: 10px 10px!important;
}

table.dataTable>thead .sorting:after, table.dataTable>thead .sorting_asc:after, table.dataTable>thead .sorting_desc:after, table.dataTable>thead .sorting_asc_disabled:after, table.dataTable>thead .sorting_desc_disabled:after, 
table.dataTable>thead .sorting:before, table.dataTable>thead .sorting_asc:before, table.dataTable>thead .sorting_desc:before, table.dataTable>thead .sorting_asc_disabled:before, table.dataTable>thead .sorting_desc_disabled:before {
    content: ""!important;
}

.table-responsive {
    overflow-x: hidden!important;
}

td.warning {
        font-weight: bold;
        background-color: yellow;
}
td.error {
        font-weight: bold;
        background-color: red;
}

.login-shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.8)!important;
}

table.dataTable tbody tr td p {
	
	margin-block-start: 0em;
	margin-block-end: 0em;

}

div.dt-datetime {
	z-index: 555555!important;
}


.top0 {
	top: 0px!important;
}

div.DTE_Inline_Field input {
  min-width: 200px;
}

/* Large editor Layout */
/*@media (min-width: 768px) and (min-width : 1200px) {
	div.DTED_Lightbox_Wrapper {
		left: calc(225px + 1em)!important;
		right: 1em!important;
		top: 3em!important;
		margin: 1em;
		padding: 1em;
		width: auto!important;
		z-index: 99999!important;
	}
}
@media (max-width : 768px) {
	div.DTED_Lightbox_Wrapper {
		left: 1em;
		right: 1em;
		top: 3em!important;
		margin: 1em;
		padding: 1em;
		width: auto!important;
		z-index: 99999!important;
	}
}*/

/*div.DTED_Lightbox_Wrapper {
    left: 1em;
    right: 1em;
    margin-left: 0;
    width: auto;
}*/


div.DTED_Lightbox_Close {
	margin-right: 1em;
}

div.dataTables_processing{
	z-index: 999;
	background-color: beige;
	
}

/*WYSIWYG*/
div.ck-content {
    border: 1px solid #aaa!important;
    background-color: white;
	border-radius: 3px;
}

/* SEARCH BUILDER */
.dtsb-searchBuilder > div.dtsb-titleRow {
	display: none;
}

/* GENERIC */
@media only screen and (max-width: 640px) {
	.card-body {
		padding: 0.25rem!important;
	}
}

.no-thead > thead, .no-thead > thead th, 
table.tbody.tr.td:first-child
{
	display: none;
}

table.personalnotes, table.personalnotes td{
    max-height: 100%;
    height: calc( 60vh - 3em);
    vertical-align: baseline;
	border-radius: 5px;
	padding: 0px;
	background-color: #eaeaea!important;
}

table.dataTable.display tbody tr.odd.selected>.sorting_1, table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_1 {
    /* background-color: #a6b4cd; */
}


table.personalnotes{
	border: groove;
}

table.personalnotes div.DTE_Inline, 
table.personalnotes div.DTE_Inline div.DTE_Field, 
table.personalnotes div.DTE_Inline div.DTE_Field div.DTE_Field_Input, 
table.personalnotes div.DTE_Inline div.DTE_Field div.DTE_Field_Input div.DTE_Field_InputControl,
table.personalnotes div.DTE_Inline div.DTE_Field div.DTE_Field_Input div.DTE_Field_InputControl textarea {
	height: 100%;
}
table.personalnotes div.DTE_Inline div.DTE_Field div.DTE_Field_Input div.DTE_Field_personalnotes textarea {
	margin: 0;
	padding: 0;
}

/* Pretty Print */
.prettyprint {
    background-color: #fff9e2fa;
    border-radius: 0.5em;
}

/* Scroll Effect */
html {
  scroll-behavior: smooth;
}

/* Datatables selected*/

table.dataTable tbody tr.selected a {
    color: white;
}
table.dataTable tbody tr.selected svg {
    /*font-size: 1.1em;*/
	color: midnightblue;
}

/* Correzzione errori grafici*/
div.DTED_Lightbox_Wrapper {
	z-index: 1111!important;
}

div.DTE_Field select {
    padding: 5px 4px;
    width: 100%;
}


/*
<div class="tooltip">Hover over me
  <span class="tooltiptext">Tooltip text</span>
</div>
*/
/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;

  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;

  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

#divstory p {
	    margin-bottom: 0rem;
}
.sb-sidenav .sb-sidenav-menu .nav .nav-link {
    padding-top: 0.0em;
    padding-bottom: 0.5em;
}

.dataTables_wrapper .dataTables_paginate .paginate_button
{
	padding: revert;
}

li.paginate_button{
	padding: 0 0 0 1px!important;
}

table.dataTable tbody td {
  vertical-align: top;
}

table.verticalDisplay thead {
float: left;
display: none;
}

table.verticalDisplay thead th {
display: block;
}

table.verticalDisplay tbody {
float: right;
width:  -webkit-fill-available;
}

table.verticalDisplay tbody tr{
	width:  -webkit-fill-available;
	display: list-item;
}

table.verticalDisplay tbody td {
display: block;
}

/* Bubble */
dl.bubble dt{ margin-top: 1em; }
dl.bubble dt:first-child { margin-top: 0; }
/*dl.bubble dd { width: 25% }*/



dl.bubble dd[data-editor-field] {
	border: 1px dotted #ccc;
	padding: 0.5em;
	margin: 0.5em;
}

 
dl.clicking.bubble dd[data-editor-field] {
	border: 1px outset blue;
	padding: 0.5em;
	margin: 0.5em;
}

dl.clicking.bubble dd[data-editor-field]:hover {
	background: #f3f3f3;
	border: 1px outset #333;
}

/** Radio in finalisation /
div#finalization input[type=radio] {
    /* border: 0px; */
    /* width: 99%; */
    height: 1em;
    width: 1em;
}


/*Correzzione repository*/
ul.dtr-details li.text-center {
	
	    text-align: unset!important;
}



/* Signature */
button#signatureclear {
	display: block;
	position: relative;
    top: -60px;
}
button#signaturesubmit {
    position: relative;
    top: -97px;
    float: right;
}
.description.text-center.mb-3 {
    position: relative;
    top: -40px;
    color: darkgray;
}


/* Pagination */
.pagebreakafter { page-break-inside: avoid!important; page-break-after: always!important; } /* page-break-after works, as well */
.pagebreakaftermaybe{ page-break-inside: avoid!important; page-break-after: auto!important;} /* page-break-after works, as well */
.pagebreakinside{ page-break-inside: auto; page-break-after: auto;} /* page-break-after works, as well */
.brakinsidenone, .page-break-clear { page-break-inside: avoid }
.pagebreak 		{ page-break-before: always!important; } /* page-break-after works, as well */
@page{
	size: A4;
	margin-top: 50px;
	margin-bottom: 50px;
}

/* Document Creator */
.width_price{
	width: 100px!important;
}
.width_img {
	width: 5em!important;
}
img.immagin_product{
    max-width: 4em;
	max-height: 4em;
    height: auto;
	width: auto;
}
.center {
	position: relative;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.cicon {
  position: sticky;
  display: inherit;
  /*justify-content: center;
  align-items: center;*/
  height: 1.1em;
  width: 1.1em;
  font-size: 2.2em;
  margin-right: 0.2em
}

.ciconup {
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translateY(-70%) translateX(50%);
  color: slategrey;
  font-size: 0.25em;
}

.cicondown {
  position: absolute;
  bottom: 50%;
  right: 50%;
  transform: translateY(100%) translateX(50%);
  color: slategrey;
  font-size: 0.25em;
}

table.dataTable th.dt-type-date, table.dataTable td.dt-type-date {
    text-align: left!important;
}



.dt-search {
    float: right;
}
.dt-buttons {
							 
    float: left;
			  
}

a.page-link {
	margin: 1px;
}

div.dt-container .dt-paging .dt-paging-button{
	padding: unset!important;
							   
}

div.dt-container .dt-paging .ellipsis {
	line-height: 2.25em!important;
					
}

table.dataTable th.dt-type-numeric, table.dataTable th.dt-type-date, table.dataTable td.dt-type-numeric, table.dataTable td.dt-type-date {
    text-align: left!important;
}

.row-remove, .row-edit {
					
	padding: 0!important; 
				 
}

div#catalog {
    position: absolute;
    height: calc(100vh - 470px - 1em);
    width: -webkit-fill-available;
    margin-right: 1em;
}
#catalog iframe {
    border: none;
}



/* DAG Settings */

table.dag {
    overflow-x: scroll;
    width: 900px;
    margin-top: 3em;
}

table.dag thead tr th, 
table.dag tbody tr td{
    text-align: center;
    /*align-content: center;*/
}
table.dag thead tr th.dt-type-numeric{
    text-align: center!important;
    /*align-content: center;*/
}


table.dag thead tr th,
table.dag tbody tr td{
    border-right: 1px dotted grey;
}

table.dag thead tr th:last-child,
table.dag tbody tr td:last-child {
    border-right: none;
}

table.adr thead{
    font-size: 0.7em;
    border-bottom: double 3px #0275d8;
}
table.adr thead tr:first-child th,
table.adr thead tr:nth-child(2) th{
    font-size: 1.4em;
}

  
table.adr thead tr:first-child th:nth-child(2),
table.adr thead tr:first-child th:nth-child(4),
table.adr thead tr:first-child th:nth-child(5),
table.adr thead tr:first-child th:nth-child(6),
table.adr thead tr:first-child th:nth-child(7),
table.adr thead tr:first-child th:nth-child(8),
table.adr thead tr:first-child th:nth-child(9),
table.adr thead tr:first-child th:nth-child(10){
    writing-mode: vertical-rl   ; /* Scrive il testo verticalmente da sinistra a destra */
    transform: rotate(180deg);   
    width: 50px; /* Larghezza del testo ruotato */
    text-align: left;
    align-content: center;
}

table.adr tr th:nth-child(3),
table.adr tr td:nth-child(3){
    text-align: left;
}

table.adr > thead > tr:nth-child(2) > th:nth-child(3){
    text-align: center;
}

table.adr tr:first-child th:nth-child(9),
table.adr tr:first-child th:nth-child(11),
table.adr tr:nth-child(2) th:nth-child(1),
table.adr tr:nth-child(3) th:nth-child(9),
table.adr tr:nth-child(4) th:nth-child(9),
table.adr tr:nth-child(3) th:nth-child(11),
table.adr tr:nth-child(4) th:nth-child(11),
table.adr tr td:nth-child(9),
table.adr tr td:nth-child(11){
    border-left: solid 1px #069f31;
}

table.adr tr:first-child th:nth-child(12),
table.adr tr:first-child th:nth-child(13),
table.adr tr:nth-child(2) th:nth-child(4),
table.adr tr:nth-child(2) th:nth-child(6),
table.adr tr:nth-child(3) th:nth-child(14),
table.adr tr:nth-child(4) th:nth-child(14),
table.adr tr:nth-child(3) th:nth-child(16),
table.adr tr:nth-child(4) th:nth-child(16),
table.adr tr td:nth-child(14),
table.adr tr td:nth-child(16){
    border-left: solid 1px #2c87d7;
}

table.adr tr:first-child th:nth-child(15),
table.adr tr:first-child th:nth-child(16),
table.adr tr:nth-child(2) th:nth-child(8),
table.adr tr:nth-child(3) th:nth-child(19),
table.adr tr:nth-child(4) th:nth-child(19),
table.adr tr:nth-child(3) th:nth-child(20),
table.adr tr:nth-child(4) th:nth-child(20),
table.adr tr td:nth-child(19),
table.adr tr td:nth-child(20){
    border-left: solid 1px #d72c2c;
}

table.adr tr:first-child th:nth-child(18),
table.adr tr th:nth-child(25),
table.adr tr td:nth-child(25){
    text-align: left;
}

table.adr  > tbody > tr.child > td > table {
    width: 100%;
}


table.adr  > tbody > tr.child > td > table > tbody > tr > td:nth-child(1){
    text-align: right;
    font-size: 0.7em;
}
table.adr  > tbody > tr.child > td > table > tbody > tr > td:nth-child(2){
    text-align: left;
    font-size: 0.7em;
}

div.dag .dt-search {
    position: fixed;
    margin-top: -4em;
    background-color: white;
    padding: 1em;
}

div.dag {
    width: 100%;
    overflow-x: scroll;
    padding-top: 4em;
}

/*
div#product_price_discount_calc {
    width: max-content;
}*/