@charset "UTF-8";

#tooltip-icon {
	cursor: pointer;
	border-radius: 50%;
	background-color: #8C1AF6;
	color: yellow;
	padding: 2px 5px;
	font-size: 12px;
	display: inline-block;
	text-align: center;
}

#tooltip-text {
	visibility: hidden;
	position: absolute;
	bottom: 150%;
	left: 50%;
	transform: translateX(-50%);
	background-color: #1c2130;
	color: yellow;
	padding: 5px 10px;
	border-radius: 4px;
	font-size: 0.9em;
	width: 350px;
	white-space: normal;
	text-align: justify;
	z-index: 1000;
}

.linkIntro {
	color: #8C1AF6 !important;
}

.dropdown {
	position: relative;
}

.dropdown-content {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background-color: #f9f9f9;
	min-width: 140px;
	box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
	z-index: 1;
}

.dropdown-content a {
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
}

.dropdown-content a:hover {
	background-color: #ddd;
}
/* Mostra il menu a discesa quando si passa sopra con il mouse */
.dropdown:hover .dropdown-content {
	display: block;
}

#div_menu_ul a.piccolo {
	height: 10px !important;
	text-align: left; /* Allinea il testo a sinistra */
	display: block;
	/* Garantisce che l'intero elemento sia considerato un blocco, utile per l'allineamento */
	color: #000000;
	font-size: 0.8em;
	font-family: Georgia;
}

.container_footer {
	width: 75%;
	margin-top: 30px;
}

#updatedmatter {
	margin-bottom: 10px;
	font-size: 0.8em;
}

.footer_hr {
	width: 100%;
	border: none;
	background-color: black;
	height: 1px;
	margin-top: 0px;
	margin-left: 0;
}

fieldset {
	border: 1px black solid;
}

.risolutore {
	color: #D35400 !important;
}

#imgCopyOutput.disabled {
	cursor: not-allowed;
	/* opacity: 0.5; */

}

.disabled {
	cursor: not-allowed;
}


#img_execute.disabled {
	cursor: not-allowed;
	/* opacity: 0.5; */
	content: url("../img/send_disabled.svg");
}

#checkJson.disabled {
	cursor: not-allowed;
	/* opacity: 0.5; */
	content: url("../img/check_json_grigio.svg");
}

#workInProgrss {
	visibility: hidden;
}

#workInProgrss.disabled {
	visibility: visible;
}

body {
	font-family: Times New Roman;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* Stile personalizzato per i checkbox */
input[type="checkbox"]:checked {
	accent-color: #8C1AF6; /* Cambia il colore del checkbox */
}

/* Stile personalizzato per i radio button */
input[type="radio"]:checked {
	accent-color: #8C1AF6; /* Cambia il colore del radio button */
}

.esempi_hidden {
	display: none;
}

.container {
	display: flex;
	justify-content: center;
	margin-top: 20px;
	gap: 20px;
	width: 75%;
}

.subcontainer {
	width: 100%;
	min-width: 50%;
	margin-right: 5px;
}

#div_esterno {
	border: 1px solid #ccc;
	width: 100%;
	height: 270px;
	background: #1c2130;
	overflow: hidden;
	padding: 10px 10px 10px 5px;
}

#jsonOutput {
	border: 0px solid #ccc;
	/*padding: 10px;
	width: 95%;*/
	height: 270px;
	overflow-y: auto;
	font-family: "Times New Roman", serif;
	font-size: 1.0em;
	font-style: italic;
	white-space: pre;
	/*color: rgb(64, 0, 128);*/
	color: yellow;
	background: #1c2130;
}

#editor {
	border: 1px solid #ccc;
	padding: 10px;
	width: 100%;
	height: 270x;
	overflow-y: auto;
	background-color: #1c2130;
}

.CodeMirror {
	font-family: "Times New Roman", serif;
	font-size: 1.0em;
	font-style: italic;
}

.buttons {
	margin-top: 20px;
	display: flex;
	gap: 10px;
}

button {
	padding: 8px 16px;
	font-size: 1em;
	border: none;
	cursor: pointer;
	border-radius: 4px;
	transition: background-color 0.3s;
}

button.run {
	background-color: #4CAF50;
	color: white;
}

button.run:hover {
	background-color: #45a049;
}

button.clear {
	background-color: #f44336;
	color: white;
}

button.clear:hover {
	background-color: #d32f2f;
}

.container2 {
	margin: auto;
	display: flex;
	margin-top: 50px;
	justify-content: space-between;
	width: 75%;
}

.section {
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 5px;
	margin-bottom: 15px;
	padding: 15px;
}

.section h3 {
	margin-top: 0;
	font-size: 16px;
	color: #333;
}

/*
h4 {
	margin-top: 0;
	margin-bottom: 0;
	font-size: 14px;
}
*/
legend {
	font-family: Arial, sans-serif;
	font-size: 14px;
	font-weight: bold;
}

.option-group {
	display: flex;
	flex-direction: column;
	margin-top: 10px;
	font-size: 14px;
}

.option-group label {
	margin-bottom: 5px;
}

.button-group {
	display: flex;
	justify-content: center;
	margin-top: 20px;
}

.button-group button {
	padding: 10px 15px;
	margin: 5px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}

.button-group .submit-btn {
	background-color: #28a745;
	color: #fff;
}

.button-group .reset-btn {
	background-color: #dc3545;
	color: #fff;
}

/*css licenza d'uso*/
.linkGit {
	color: yellow !important;
}

.content {
	padding: 20px;
}

/* Stile del div per i termini e condizioni */
#termsModal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7); /* Sfondo semi-trasparente */
	color: #fff;
	display: none; /* Nascosto di default */
	justify-content: center;
	align-items: center;
	z-index: 1000;
}

/* Stile del contenuto interno */
#termsContent {
	background-color: #222;
	padding: 20px;
	border-radius: 10px;
	max-width: 600px;
	max-height: 80%;
	overflow-y: auto;
	text-align: justify;
}

/* Bottone chiudi/accetta */
.closeButton {
	display: block;
	margin: 20px auto 0;
	padding: 10px 20px;
	border: none;
	border-radius: 5px;
	background-color: #007BFF;
	color: white;
	cursor: pointer;
}

.closeButton:hover {
	background-color: #0056b3;
}

.postille {
	font-size: 0.8em;
}