.form-commento {
    display: inline-block;
    width: 500px;
    text-align: left;
    margin-top: 5px;
}
.bbcode-bar button {
    font-family: "Georgia";
    font-size: 14px;
    margin-right: 5px;
    margin-bottom: 10px;
    padding: 2px 6px;
    cursor: pointer;
}
textarea.mex{
    width: 100%;
    font-family: "Georgia";
    font-size: 14px;
    border:1px solid #879b59;
    background-color:#f8f0e6;
    padding: 5px;
    box-sizing: border-box;
    outline: none;
}
input[type="text"],
input[type="url"] {
  width: 100%;
  box-sizing: border-box;
  font-family: Georgia;
  font-size: 14px;
  color : #785c58;
  border: 1px solid #879b59;
  background-color: #f8f0e6;
  padding: 8px;
  margin: 6px 0;
  transition: all 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
}
input[type="text"]:focus,
input[type="url"]:focus {
  background-color: #f7ffe3;
  outline: none;
  border-color: #fff;
  box-shadow: 0 0 8px #879b59, 0 0 15px #879b59;
}
input[type="text"]:-webkit-autofill,
input[type="text"]:-webkit-autofill:focus,
input[type="url"]:-webkit-autofill,
input[type="url"]:-webkit-autofill:focus {
  -webkit-text-fill-color: #785c58;
  -webkit-box-shadow:
    0 0 0px 1000px #f7ffe3 inset,
    0 0 0 1px #879b59 inset;
  box-shadow:
    0 0 0px 1000px #f7ffe3 inset,
    0 0 0 1px #879b59 inset;
 }
button[type=submit] {
    font-family: "Georgia";
    font-size: 14px;
    background-color: #879b59;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
}
button[type=submit]:hover {
    background-color: #6e8050;
}
button[type=button] {
    font-family: "Georgia";
    font-size: 14px;
    background-color: #97ac68ff;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
}
button[type=button]:hover {
    background-color: #889c68ff;
}
#box_gif {
    display: none;
    width: 426px;
    border: 1px solid #97ac68ff;
    background-color: #f8f0e6;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 10px;
    text-align: center;
}
input[type=button] {
    font-family: "Georgia";
    font-size: 14px;
    background-color: #97ac68ff;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
}
input[type=button]:hover {
    background-color: #889c68ff;
}
/* Commenti della pagina */
.commento {
    border: 8px solid #ebd0cb;
    width: 550px;
    text-align: left;   
    padding: 10px 10px 10px 10px;
    margin-left:auto;
    margin-right:auto;
}
.commento-meta {
	border:1px dotted #d6b786;
    font-size: 0.9em;
    color: #726868;
	padding: 5px;
    margin-bottom: 4px;
}
.commento-testo {
    margin: 8px 0;
}
.commento-pagina {
    font-size: 0.85em;
    color: #777;
}
.commento-img {
    width: 25x;
    height: 25px;
    vertical-align: middle;
    margin-right: 5px;
}
.commento-data {
    font-size: 1em;
    color: #999;
    margin-left: 10px;
}
.data {
    font-size: 0.85em;
    color: #999;
    margin-left: 10px;
}
.commento-anteprima {
    border: 5px solid #ebd0cb;
    background-color: #fdefef;
    width: 480px;
    text-align: left;
    padding: 10px;
    margin-left:auto;
    margin-right:auto;
    margin-bottom: 20px;
}
.commenti-pagina {
    border-bottom: 1px dotted #af757d;
    width: 490px;
    text-align: left;
    padding: 10px 0;
    margin-left:auto;
    margin-right:auto;
}
.errore-commento {
    border: 2px solid #af757d;
    background-color: #ffe6e6;
    color: #97575fff;
    padding: 10px;
    margin-bottom: 15px;
    width: 430px;
    margin-left:auto;
    margin-right:auto;
}
.ok-commento {
    border: 2px solid #879b59;
    background-color: #f0f8eaff;
    color: #6b7e3fff;
    padding: 10px;
    margin-bottom: 15px;
    width: 430px;
    margin-left:auto;
    margin-right:auto;
}
.commento-box {
    border-bottom: 1px solid #d6b786;
    text-align: left;
    padding: 10px;
    margin-bottom: 12px;
    width: 360px;
}
.commento-pagina-box {
    font-size: 0.9em;
    color: #777;
    margin-top: 8px;
}
/* Sposta il badge reCAPTCHA più in alto */
.grecaptcha-badge {
    margin-bottom: 150px;   /* distanza dal fondo della finestra */
    right: 20px;    /* distanza dal bordo destro */
    z-index: 9999;  /* assicurati che sia sempre visibile sopra altri elementi */
}
