/** * Skin advanced
	* @author Blancks
*/

/** * Parametri di default nella pagina
*/

:root {
  --background: #07080D;
  --backgroundRGB: 7, 8, 13;
  --bgselect: #0a0a0a;
  --bgselectRGB: 10, 10, 10;
  --shadow: #000;
  --bgoutputRGB: 0, 0, 0;
  --accent: #547782;
  --accentRGB: 84, 119, 130;
  --accenthover: #590F0F;
  --accenthoverRGB: 89, 15, 15;
  --accenthoverlight: #801616;
  --accenthoverlightRGB: 128, 22, 22;
  --accentdark: #2E4247;
  --accentdarkRGB: 46, 66, 71;
  --accentlabel: #486C7E;
  --accentlabelRGB: 72, 108, 126;
  --border: #152025;
  --borderRGB: 21, 32, 37;

  /*Cariche Staff*/
  --purpleg: #7E3285;
  --purplegRGB: 126, 50, 33;
  --purplec: #9984D4;
  --purplecRGB: 153, 132, 212;
  --purplem: #9F5EA5;
  --purplemRGB: 159, 95, 165;
  --purples: #DAB6FC;
  --purplesRGB: 218, 182, 252;


  /*Sesso PG*/
  --pinkf: #FF91A4;
  --pinkfRGB: 255, 145, 164;
  --bluem: #6FB7D8;
  --bluemRGB: 111, 183, 216;

  --textdark: #444;
  --textdarkRGB: 68, 68, 68;
  --text: #666;
  --textRGB: 102, 102, 102;
  --textmedium: #a1a1a1;
  --textmediumRGB: 136, 136, 136;
  --textlight: #888;
  --textlightRGB: 161, 161, 161;
  --textwhite: #999;

  --fontBody: 'Verdana', sans-serif;
  --fontTitle: 'Playfair Display', serif;
  --fontTitleAlt: ;

  /* ── Site palette ── */
  --bg: #07080D;
  --bg2: #0a0a0a;
  --bg3: #0d1017;
  --surface: #0d1219;
  --surface2: #111820;
  --border: #152025;
  --border-accent: #590F0F;

  /* accent = teal/slate from site */
  --accent-dark: #2E4247;
  --accent-label: #486C7E;

  /* red from accenthover family */
  --red: #801616;
  --red-dark: #590F0F;
  --red-light: #a01e1e;

  /* use accent teal as "gold" replacement for labels/headings */
  --gold: #547782;
  --gold-light: #6fb7d8;
  --gold-dim: #2E4247;

  /* text */
  --text-doc: #547782;
  --text-dim: #666666;
  --text-bright: #cccccc;
  --white: #e8e8e8;
}

@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@100;700&family=Pompiere&display=swap');

body {
  height: 100%;
  padding: 0;
  margin: 0;
  color: #a1a1a1;
  font-family: 'Verdana', sans-serif;
  font-size: 14px;
  background-color: var(--background);
  background: var(--background) url("/themes/homepage/advanced/img/vampirebg.jpg") no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  background-blend-mode: difference;
}

body.transparent_body {
  background-color: transparent;
  background-image: none;
}

div,
ul,
li {
  margin: 0;
  padding: 0;
}

.blank {
  clear: both;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
  color: var(--accenthover);
}

a:active {
  text-decoration: none;
  color: var(--accenthover);
}

div.form_field table {
  margin: 5px auto;
}

input,
textarea,
select {
  padding: 0.2rem 0.3rem;
  color: var(--textdark);
  background-color: var(--bgselect);
  border: 0.5px solid var(--border);
  box-shadow: inset 0 0 8px var(--shadow);
}

input:focus,
textarea:focus,
select:focus {
  outline: 0px solid var(--accent-color);
  /* Più evidente per navigazione da tastiera */
  outline-offset: 0px;
}

div.form_field input[type='checkbox'] {
  display: none;
}

/* SELECT GESTIONE FAZIONI */
.br-searchable-select {
  position: relative;
  width: 100%;
}

.br-searchable-select__native {
  /* Il select nativo resta funzionale (name/value/submit) ma invisibile */
  position: absolute;
  opacity: 0;
  pointer-events: none;
  height: 0;
  width: 0;
}

.br-searchable-select__input {
  width: 100%;
  box-sizing: border-box;
  background: #07080D;
  color: #E5E1DA;
  border: 1px solid #547782;
  border-radius: 4px;
  padding: 0.55em 2.2em 0.55em 0.8em;
  font-family: 'Playfair Display', serif;
  font-size: 0.95em;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.br-searchable-select::after {
  content: '';
  position: absolute;
  right: 0.9em;
  top: 50%;
  width: 0.6em;
  height: 0.6em;
  border-right: 2px solid #547782;
  border-bottom: 2px solid #547782;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
  transition: transform 0.2s ease;
}

.br-searchable-select--open::after {
  transform: translateY(-30%) rotate(-135deg);
}

.br-searchable-select__input:focus {
  outline: none;
  border-color: #547782;
  box-shadow: 0 0 0 2px rgba(84, 119, 130, 0.35);
}

.br-searchable-select--open .br-searchable-select__input {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.br-searchable-select__dropdown {
  position: absolute;
  z-index: 40;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 260px;
  overflow-y: auto;
  background: #0D0F16;
  border: 1px solid #547782;
  border-top: none;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.br-searchable-select__group-label {
  padding: 0.4em 0.8em 0.2em;
  font-size: 0.75em;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #547782;
  font-family: 'Playfair Display', serif;
}

.br-searchable-select__option {
  padding: 0.5em 0.9em;
  cursor: pointer;
  color: #E5E1DA;
  font-family: 'Playfair Display', serif;
  font-size: 0.92em;
}

.br-searchable-select__option:hover,
.br-searchable-select__option.is-active {
  background: #590F0F;
  color: #fff;
}

.br-searchable-select__option mark {
  background: transparent;
  color: #C9A24B;
  /* accento oro per il match */
  font-weight: 700;
}

.br-searchable-select__empty {
  padding: 0.6em 0.9em;
  color: #7a7f8a;
  font-style: italic;
  font-size: 0.9em;
}

.br-searchable-select__dropdown::-webkit-scrollbar {
  width: 8px;
}

.br-searchable-select__dropdown::-webkit-scrollbar-thumb {
  background: #547782;
  border-radius: 4px;
}

/** STILE ALERT ERRORE PERSONALIZZATO **/

.form_field input.input_error {
  border: 1px solid var(--accenthoverlight);
}

.form_error_msg {
  color: var(--accenthoverlight);
  font-size: 0.85em;
  margin-top: 4px;
  display: none;
}

.form_error_msg.visible {
  display: block;
}


/** STILE TOOLTIP PERSONALIZZATO || Tema - tooltipster-light **/

.tooltipster-sidetip.tooltipster-light.tooltipster-light-customized .tooltipster-box {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 0px;
  box-shadow: 5px 5px 2px 0 rgba(0, 0, 0, 0.4);
}

.tooltipster-sidetip.tooltipster-light.tooltipster-light-customized .tooltipster-content {
  color: var(--text);
  padding: 8px;
}

.tooltipster-sidetip.tooltipster-light.tooltipster-light-customized .tooltipster-arrow-background {
  display: none !important;
}

.tooltipster-sidetip.tooltipster-light.tooltipster-light-customized.tooltipster-bottom .tooltipster-arrow-border {
  border-bottom-color: var(--border) !important;
}

.tooltipster-sidetip.tooltipster-light.tooltipster-light-customized.tooltipster-left .tooltipster-arrow-border {
  border-left-color: var(--border) !important;
}

.tooltipster-sidetip.tooltipster-light.tooltipster-light-customized.tooltipster-right .tooltipster-arrow-border {
  border-right-color: var(--border) !important;
}

.tooltipster-sidetip.tooltipster-light.tooltipster-light-customized.tooltipster-top .tooltipster-arrow-border {
  border-top-color: var(--border) !important;
}


/** MODALE GDRCD **/

/* Contenitore dialog */
.ui-dialog {
  padding: 0 !important;
  border: 1px solid rgba(var(--borderRGB), 0.6) !important;
  border-radius: 0 !important;
  background: var(--background) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.75) !important;
  overflow: hidden !important;
  z-index: 999 !important;
}

/* Titlebar (intestazione con titolo + tasto chiudi) */
.ui-dialog .ui-dialog-titlebar {
  background: var(--background) !important;
  border: none !important;
  border-bottom: 1px solid rgba(var(--borderRGB), 0.5) !important;
  border-radius: 0 !important;
  padding: 8px 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.ui-dialog .ui-dialog-title {
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--textmedium) !important;
  margin: 0 !important;
  float: none !important;
}

/* Area contenuto — padding 0 così l'iframe la riempie completamente */
.ui-dialog .ui-dialog-content {
  padding: 0 !important;
  border: none !important;
  overflow: hidden !important;
  position: relative !important;
}

/* Tasto chiudi — visibile e stilato */
.ui-dialog .ui-dialog-titlebar-close {
  position: static !important;
  float: none !important;
  margin: 0 !important;
  padding: 3px 7px !important;
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  border: 1px solid rgba(var(--borderRGB), 0.4) !important;
  border-radius: 2px !important;
  cursor: pointer !important;
  color: var(--textlight) !important;
  font-size: 14px !important;
  line-height: 1 !important;
  transition: background 0.15s ease, color 0.15s ease !important;
  flex-shrink: 0 !important;
}

.ui-dialog .ui-dialog-titlebar-close:hover {
  background: rgba(var(--accentRGB), 0.15) !important;
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

.ui-dialog .ui-dialog-titlebar-close:active {
  background: rgba(var(--accentRGB), 0.25) !important;
}

/* Testo "close" interno al tasto (jQuery UI lo inserisce come span) */
.ui-dialog .ui-dialog-titlebar-close .ui-button-icon {
  font-size: 14px !important;
}

.ui-dialog .ui-dialog-titlebar-close .ui-button-icon-only .ui-icon {
  margin: 0 !important;
}

/* Overlay scuro dietro alla modale */
.ui-widget-overlay {
  background: rgba(0, 0, 0, 0.65) !important;
  opacity: 1 !important;
}

.popup {
  min-height: 100vh;
  box-sizing: border-box;
  margin-top: 0;
  padding: 10px;
  background: rgba(var(--backgroundRGB), 0.95);
}

div.form_submit {
  display: flex;
  justify-content: center;
  margin: 20px auto;
}

input[type='submit'] {
  /*display: flex;
  align-items: center;
  justify-content: center;*/
  padding: 0.3rem;
  width: auto;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
  box-shadow: inset 0 0 0 1px black, 0 0 0 0.5px #3a3d40, 0 0 0 4px rgba(0, 0, 0, 0.25), 0 11px 27px -5px rgba(0, 0, 0, 0.53), 0 25px 25px -4px rgba(0, 0, 0, 0.35);
  background-image: radial-gradient(227.71% 180.23% at 90.64% 130.38%, var(--background) 0%, #2d3034 100%), radial-gradient(207.84% 121.69% at -5.69% 111.39%, var(--background) 0%, #2d3034 100%), linear-gradient(206deg, rgba(123, 134, 151, 0.2) 0%, rgba(25, 27, 30, 0) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%);
  color: var(--textlight);
}

input[type='submit'] i {
  font-size: 1rem;
  background-image: linear-gradient(69deg, var(--accent) 0%, var(--accent) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
  text-shadow: 0 2px 1px rgba(0, 0, 0, 0.125);
  transition: all 0.25s ease-in-out;
}

input[type='submit'] i:hover {
  background-image: linear-gradient(69deg, var(--accenthover) 0%, var(--accenthover) 100%);

}

input[type='submit']:hover {
  color: var(--accenthover);
}

input[type='submit']:active {
  transform: translateY(2px);
  box-shadow: inset 0 0 0 1px black, 0 0 0 0.5px #2d3034, 0 0 0 4px rgba(0, 0, 0, 0.25), 0 4px 12px -5px rgba(0, 0, 0, 0.53), 0 6px 6px -4px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease-in-out;
  color: var(--textlight);
}

input[type='submit']:active i {
  background-image: linear-gradient(69deg, var(--accenthover) 0%, var(--accenthover) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
  text-shadow: 0 2px 1px rgba(0, 0, 0, 0.125);
}

/* FORM GESTIONE FAZIONI E CLAN */
div.form-box form {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

/*BOTTONI BUTTON*/
button.btn-primary {
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem;
  color: var(--textlight);
  text-decoration: none;
  transition: all 0.25s ease-in-out;
  box-shadow: inset 0 0 0 1px black, 0 0 0 0.5px #3a3d40, 0 0 0 4px rgba(0, 0, 0, 0), 0 11px 27px -5px rgba(0, 0, 0, 0.53), 0 25px 25px -4px rgba(0, 0, 0, 0.35);
  background-image: radial-gradient(227.71% 180.23% at 90.64% 130.38%, var(--background) 0%, #2d3034 100%), radial-gradient(207.84% 121.69% at -5.69% 111.39%, var(--background) 0%, #2d3034 100%), linear-gradient(206deg, rgba(123, 134, 151, 0.2) 0%, rgba(25, 27, 30, 0) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%);
  border: none;
}

button.btn-primary:hover {
  color: var(--accenthover);
}

button.btn-primary:active {
  transform: translateY(2px);
  box-shadow: inset 0 0 0 1px black, 0 0 0 0.5px #2d3034, 0 0 0 4px rgba(0, 0, 0, 0.25), 0 4px 12px -5px rgba(0, 0, 0, 0.53), 0 6px 6px -4px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease-in-out;
}

/*BOTTONI ICONE PICCOLI*/
.btn-primary-small {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.18rem 0.3rem;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
  box-shadow: inset 0 0 0 1px black, 0 0 0 0.5px #3a3d40, 0 0 0 4px rgba(0, 0, 0, 0), 0 11px 27px -5px rgba(0, 0, 0, 0.53), 0 25px 25px -4px rgba(0, 0, 0, 0.35);
  background-image: radial-gradient(227.71% 180.23% at 90.64% 130.38%, var(--background) 0%, #2d3034 100%), radial-gradient(207.84% 121.69% at -5.69% 111.39%, var(--background) 0%, #2d3034 100%), linear-gradient(206deg, rgba(123, 134, 151, 0.2) 0%, rgba(25, 27, 30, 0) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.btn-primary-small i {
  font-size: 1rem;
  background-image: linear-gradient(69deg, var(--accent) 0%, var(--accent) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
  text-shadow: 0 2px 1px rgba(0, 0, 0, 0.125);
  transition: all 0.25s ease-in-out;
}

.btn-primary-small i:hover {
  background-image: linear-gradient(69deg, var(--accenthover) 0%, var(--accenthover) 100%);
}

.btn-primary-small:active {
  transform: translateY(2px);
  box-shadow: inset 0 0 0 1px black, 0 0 0 0.5px #3a3d40, 0 0 0 4px rgba(0, 0, 0, 0), 0 11px 27px -5px rgba(0, 0, 0, 0.53), 0 25px 25px -4px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease-in-out;
}

/*BOTTONI ICONE*/
.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem;
  width: 20px;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
  box-shadow: inset 0 0 0 1px black, 0 0 0 0.5px #3a3d40, 0 0 0 4px rgba(0, 0, 0, 0), 0 11px 27px -5px rgba(0, 0, 0, 0.53), 0 25px 25px -4px rgba(0, 0, 0, 0.35);
  background-image: radial-gradient(227.71% 180.23% at 90.64% 130.38%, var(--background) 0%, #2d3034 100%), radial-gradient(207.84% 121.69% at -5.69% 111.39%, var(--background) 0%, #2d3034 100%), linear-gradient(206deg, rgba(123, 134, 151, 0.2) 0%, rgba(25, 27, 30, 0) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%);
  color: var(--accent);
}

.btn-primary:hover {
  color: var(--accenthover);
}

.btn-primary i {
  font-size: 1rem;
  background-image: linear-gradient(69deg, var(--accent) 0%, var(--accent) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
  text-shadow: 0 2px 1px rgba(0, 0, 0, 0.125);
  transition: all 0.25s ease-in-out;
}

.btn-primary i:hover {
  background-image: linear-gradient(69deg, var(--accenthover) 0%, var(--accenthover) 100%);

}

.btn-primary:active {
  transform: translateY(2px);
  box-shadow: inset 0 0 0 1px black, 0 0 0 0.5px #2d3034, 0 0 0 4px rgba(0, 0, 0, 0.25), 0 4px 12px -5px rgba(0, 0, 0, 0.53), 0 6px 6px -4px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease-in-out;
}

.btn-primary:active i {
  background-image: linear-gradient(69deg, var(--accenthover) 0%, var(--accenthover) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
  text-shadow: 0 2px 1px rgba(0, 0, 0, 0.125);
}

textarea {
  height: 100px;
  width: 50%;
}

/*STILE TOOLTIP*/
.tippy-tooltip.uno-theme {
  padding: 10px;
  background-color: rgba(var(--backgroundRGB), 1);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 12px;
  font-weight: 300;
  border-radius: 0px;
  text-align: justify;
}

div.pager {
  padding-bottom: 10px;
  font-size: 16px;
  color: #5f5f5f;
}

div.pager a {
  padding-bottom: 30px;
  font-size: 16px;
  color: var(--accenthoverlight);
}

div.form_label {
  margin-top: 5px;
  margin-bottom: 2px;
  color: var(--accentlabel);
}

div.form_info {
  font-size: 12px;
  margin-bottom: 15px;
}

select.day,
select.month,
select.year {
  width: 60px;
  display: inline-block;
}

/** * Stile dei messaggi d'avviso dell'engine */
div.error,
div.warning,
div.warning_low,
div.success {
  font-size: 12px;
  text-align: center;
  margin: 15px;
  font-weight: bolder;
  padding: 10px;
}

div.warning.success {
  background-color: #c1d6a9;
  border: solid 1px #E8F5E9;
  color: #1B5E20;
}

div.error {
  background-color: rgba(var(--backgroundRGB), 0.8);
  border: solid 1px rgba(var(--accenthoverRGB), 1);
  color: rgba(var(--accenthoverRGB), 1);
}

div.warning {
  background-color: rgba(var(--backgroundRGB), 0.8);
  border: solid 1px rgba(var(--accenthoverRGB), 1);
  color: rgba(var(--accenthoverRGB), 1);
}

div.warning_low {
  background-color: #e2e3e5;
  border: solid 1px #d3d6d8;
  color: #41464b;
}

div.success {
  background-color: #d1e7dd;
  border: solid 1px #badbcc;
  color: #0f5132;
}

div.warning.mysql,
div.error.mysql {
  text-align: left;
  font-weight: normal;
}

div.warning.mysql summary,
div.error.mysql summary {
  margin-top: 1em;
  font-weight: bold;
}

div.link_back {
  text-align: center;
  background-color: transparent;
  padding: 5px;
  margin-top: 10px;
}

/** * Logout */
body.logout_body {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

div.logout_box_container {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(var(--backgroundRGB), 0.4);
}

div.logout_box {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(var(--backgroundRGB), 0.6);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--textlight);
  font-size: 14px;
  font-family: var(--fontitle);
}

div.logout_box_error {
  width: 100%;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(var(--backgroundRGB), 0.6);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--textlight);
}

span.logout_box_name {
  color: var(--accent);
  text-transform: uppercase;
  font-weight: bold;
}

span.error_details_number {
  color: var(--accent);
  text-transform: uppercase;
  font-weight: bold;
  font-size: 12px;
}

div.logout_box a {
  color: var(--accent);
  text-decoration: none;
}

div.logout_box a:hover {
  color: var(--accenthover);
  text-decoration: none;
}

div.logout_box_error a {
  color: var(--accent);
  text-decoration: none;
}

div.logout_box_error a:hover {
  color: var(--accenthover);
  text-decoration: none;
}

/** * Titoli delle sezioni
*/
div.innertube h2,
div.output h2,
div.page_title h2 {
  font-size: 14px;
  font-weight: 400;
  border-bottom: 0.5px solid var(--accentdark);
  padding-bottom: 8px;
  margin-top: 0;
  text-transform: uppercase;
}

/** * Stile dei contenitori grigi con i bordini arrotondati
*/
div.pagina_info_location {
  width: 220px;
  margin-bottom: 15px;
}

div.messages,
div.forums {
  float: left;
  margin: 3px auto;
  margin-left: 35px;
  padding: 0;
  width: 20px;
  height: 20px;
}

div.output {
  width: auto;
  text-align: center;
  padding: 0 5px;
  background-color: rgba(var(--backgroundRGB), 0.9);
}



div.menu,
div.pagina_link_menu,
div.page_body2 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  -webkit-justify-content: center;
  text-align: center;
}

div.menu {
  /* background: linear-gradient(90deg, transparent, #0F1718, transparent); */

}

/** * Informazioni con anteprima luogo
*/
div.info_image {
  text-align: center;
}

div.box_stato_luogo {
  padding-top: 2px;
  margin-bottom: 15px;
}

div.meteo_date {
  margin: 15px auto;
  text-align: center;
  font-size: 12px;
}

/** * Frame Messaggi 
*/
iframe.iframe_messages,
iframe.iframe_forums {
  height: 29px;
  width: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
}

div.box_messages,
.box_forums {
  height: 29px;
  width: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/** * Men� di gioco
*/

div.page_body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

select#gotomap {
  width: 150px;
  margin: 0;
  padding: 0.1rem 0.2rem;
  border: 0.5px solid var(--accentdark);
}

/** * Mappa cliccabile */

/** * Posizionamento mappa cliccabile 
*/
div.mappaclick_map {
  margin: 20px auto;
}

/** * Link testuali sulla mappa */
div.mappaclick_map a {
  font-size: 13px;
  font-weight: bolder;
}

/** * stile della tooltip di descrizione sulla mappa 
*/
div#descriptionLoc {
  position: absolute;
  width: 200px;
  background-color: #cfcfcf;
  padding: 20px;
  font-size: 12px;
  border: solid 1px #666;
  text-align: left;

  -moz-border-radius: 5px;
  /* Bordi arrotondati */
  -webkit-border-radius: 5px;
  -khtml-border-radius: 5px;
  border-radius: 5px;

  display: none;
  /*NON TOCCARE* Di configurazione: nasconde la tip in partenza */
  z-index: 9999;
  /*NON TOCCARE* Di configurazione: mostra la tooltip sopra gli altri link */
}

/** * Stili relativi all'elenco delle mappe in basso
*/
div.mappaclick_more {}

div.mappaclick_more a {}

/** * Messages center
*/
div.elenco_record_gioco {
  padding: 20px;
  width: 100%;
}

div.elenco_record_gioco table {
  width: 70%;
  margin: 0 auto;
  background-color: transparent;
}

div.elementi_elenco {
  padding-top: 5px;
  text-align: center;
}

div.titoli_elenco,
span.titoli_elenco {
  font-weight: bold;
  font-size: 12px;
  font-style: italic;
}

img.colonna_elenco_messaggi_icon {
  width: 30px;
  height: 30px;
}

div.controlli_elenco {
  width: 60px;
}

div.controllo_elenco {
  width: 20px;
  float: left;
}

div.controllo_elenco input[type='image'],
div.controllo_elenco img.iconimg {
  height: 15px;
  width: 15px;
  display: block;
  margin: 2px 5px;
}


/** * Ambientazione/Regolamento */
div.user_ambientazione div.elementi_elenco,
div.servizi_abilita div.elementi_elenco {
  text-align: left;
  padding: 5px;
}

div.user_ambientazione td.casella_titolo div.elementi_elenco,
div.servizi_abilita td.casella_titolo div.elementi_elenco {
  font-size: 14px;
  font-weight: bolder;
  padding: 2px 0 2px 10px;
}

/** * Generico per elenchi, bacheche, regolamento, ambientazione etc */
div.capitolo_elenco {
  font-family: var(--fontitle);
  font-weight: 100;
  font-size: 16px;
  text-align: center;
  text-transform: uppercase;
  color: var(--textmedium);
  padding: 5px 5px 5px 20px;
}

div.capitolo_elenco_abilita {
  margin: 30px auto;
  padding: 20px;
  font-size: 12px;
  background-color: var(--background);
  color: var(--text);
  text-align: justify;

}

div.elementi_elenco {
  min-height: 20px;
}

td.casella_titolo {
  background-color: var(--background);
  border: 0.5px solid var(--border);
  font-size: 12px;
  color: var(--accent);
  text-align: center;
  text-transform: uppercase;
}

td.casella_elemento {
  padding: 10px;
  font-size: 12px;
  background-color: var(--background);
  border: 0.5px solid var(--border);
  color: #5f5f5f;
}

div.controllo_elenco input[type='image'] {
  height: 15px;
  width: 15px;
  display: block;
  margin: 2px 5px;
  background: transparent !important;
  border: none !important;
}

div.elementi_elenco a {
  font-weight: bolder;
}

div.elementi_elenco a:hover {
  text-decoration: none;
}

/** * Stile tabelle nei moduli di gestione */
div.elenco_record_gestione table {
  width: 95%;
  margin: 10px auto;
}

/** * Accorgimenti Layout */

/** * Allineamento verticale delle colonne 
*/
#framecontentLeft,
#framecontentRight {
  display: table;
}

/*** DIARI ***/


/** * margine delle colonne */
div.innertube {
  margin: 0;
  display: ;
  vertical-align: middle;
}

/**
 * Stili relative alle pagine dei menù:
 * GESTIONE
 * SERVIZI
 */
.gestione_pagina .gestione_incipit,
.servizi_pagina .servizi_incipit {
  background: grey;
  padding: 10px;
  color: black;
  border: 1px solid black;
  width: 80%;
  margin: 5px auto;
  font-size: 13px;
}

.gestione_pagina .gestione_incipit .title,
.servizi_pagina .servizi_incipit .title {
  font-size: 18px;
  font-weight: bold;
}

.gestione_pagina .gestione_incipit .subtitle_gst,
.servizi_pagina .servizi_incipit .subtitle_gst {
  font-size: 15px;
  font-weight: bold;
}

.gestione_pagina .gestione_incipit .highlight,
.servizi_pagina .servizi_incipit .highlight {
  font-weight: bold;
  color: rgb(177, 71, 71);
}

.gestione_pagina .gestione_incipit ul,
.servizi_pagina .servizi_incipit ul {
  width: 80%;
  margin: 0 auto;
}

.gestione_pagina .gestione_incipit ul li,
.servizi_pagina .servizi_incipit ul li {
  padding: 5px 0;
  text-align: left;
}

.gestione_pagina .gestione_form_container,
.servizi_pagina .servizi_form_container,
.form_container {
  width: 90%;
  margin: 5px auto;
}

.gestione_pagina .gestione_form_container .gestione_form,
.servizi_pagina .servizi_form_container .servizi_form,
.form_container .form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.gestione_pagina .gestione_form_container .gestione_form_title,
.servizi_pagina .servizi_form_container .servizi_form_title,
.form_container .form .form_title {
  font-size: 15px;
  font-weight: bold;
  margin: 10px 0;
  padding: 5px 0;
  clear: both;
}


.gestione_pagina .gestione_form .single_input,
.servizi_pagina .servizi_form .single_input .form_container .form .single_input {
  width: 100%;
  margin: 5px;
}

.gestione_pagina .gestione_form .single_input .label,
.servizi_pagina .servizi_form .single_input .label,
.form_container .form .single_input .label {
  font-size: 13px;
  color: var(--accent);
}

.gestione_pagina .gestione_form .single_input input textarea select,
.servizi_pagina .servizi_form .single_input input textarea select,
.form_container .form .single_input input,
.form_container .form .single_input textarea,
.form_container .form .single_input select {
  margin: 0 !important;
  max-width: 500px;
}

/* WYSIBB E BBCODE */

/*Stile quote di Wysibb*/
div.myquote {
  display: block;
  width: 90%;
  margin: 0 auto;
  padding-left: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
  border-left: 2px solid var(--accent);
  color: var(--text);
}

/*Stile tabella di Wysibb*/

.wytable {
  width: 50% !important;
  margin: 0 auto;
  border: none;
  text-align: center;
  border-collapse: collapse !important;
  color: var(--text);
}

.wytable tr {
  border: none;
  text-align: center;

}

.wytable td {
  border: 1px solid var(--border);
  text-align: center;
  padding: 15px;

}

/* elenco puntato e numerato */

.listpun {
  margin-left: 80px;
}

.listnum {
  padding-left: 0px;
}


/* STILE ESITI */

div.fate_frame {
  width: 50%;
  margin: 0 auto;
}

div.user_message {
  float: right !important;
  clear: both;
}

div.other_message {
  float: left !important;
  clear: both;
}

div.titolo_box {
  text-transform: uppercase;
  font-size: 16px;
  font-family: var(--fontTitle);
  color: var(--accent);
  padding: 20px;
}

div.container_registrazione_role {
  padding: 0 20px;
  color: var(--textlight);
}

div.vidime_box {
  width: 80%;
  margin: 0 auto;
  margin-bottom: 10px;
  padding: 20px;
  background-color: var(--background);
  color: var(--text);
  border: 0.5px solid var(--border);
  text-align: justify;
}

div.title_esi {
  text-align: left;
}

div.fate_title {
  text-align: center;
  padding-top: 60px;
  padding-bottom: 10px;
}

.vidime_img_cont {
  float: left;
}

div.autoredata {
  float: left;
  padding-top: 3px;
  padding-left: 10px;
}

img.vidime_img {
  width: 38px;
  height: 38px;
}

div.fate_cont {
  padding-bottom: 10px;
  font-size: 13px;
}

div.fate_cont img {
  max-width: 300px;
  margin: 5px auto;
  display: block;
}

div.dadi_box {
  margin: 10px auto 20px auto;
  padding: 5px;
  border: 1.5px solid var(--accentdark);
  text-align: center;
  font-size: 13px;
}

div.note_dado {
  margin-top: 6px;
  padding-top: 5px;
  border-top: 0.5px solid var(--accentdark);
  font-size: 0.9em;
  text-align: left;
}

div.note_dado b {
  color: var(--accentdark);
}

div.note_box {
  font-size: 13px;
}

div.tiro_blocco {
  border: 1px solid var(--border);
  padding: 10px 12px;
  margin-bottom: 8px;
  background: var(--background);
}

span.tiro_label {
  font-weight: bold;
  font-size: 0.95em;
  color: var(--purplem);
}

button.rimuovi_tiro {
  float: right;
  background: transparent;
  border: 1px solid var(--accenthover);
  color: var(--accenthover);
  border-radius: 1px;
  padding: 1px 7px;
  cursor: pointer;
  font-size: 0.8em;
  line-height: 1.6;
}

button.rimuovi_tiro:hover {
  border: 1px solid var(--accenthoverlight);
  color: var(--accenthoverlight);
}

#aggiungi_tiro {
  padding: 0.3rem;
  width: auto;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
  box-shadow: inset 0 0 0 1px black, 0 0 0 0.5px #3a3d40, 0 0 0 4px rgba(0, 0, 0, 0.25), 0 11px 27px -5px rgba(0, 0, 0, 0.53), 0 25px 25px -4px rgba(0, 0, 0, 0.35);
  background-image: radial-gradient(227.71% 180.23% at 90.64% 130.38%, var(--background) 0%, #2d3034 100%), radial-gradient(207.84% 121.69% at -5.69% 111.39%, var(--background) 0%, #2d3034 100%), linear-gradient(206deg, rgba(123, 134, 151, 0.2) 0%, rgba(25, 27, 30, 0) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%);
  background-color: var(--bgselect);
  border: 0.5px solid var(--shadow);
  color: var(--textlight);
}

div.container_select_tiro {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  align-items: center;
}

/* TABELLA ESITI */
j {
  color: var(--accent) !important;
  text-transform: uppercase !important;
  font-size: 13px !important;
}

div.link_back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

div.link_back a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem;
  width: 150px;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
  box-shadow: inset 0 0 0 1px black, 0 0 0 0.5px #3a3d40, 0 0 0 4px rgba(0, 0, 0, 0), 0 11px 27px -5px rgba(0, 0, 0, 0.53), 0 25px 25px -4px rgba(0, 0, 0, 0.35);
  background-image: radial-gradient(227.71% 180.23% at 90.64% 130.38%, var(--background) 0%, #2d3034 100%), radial-gradient(207.84% 121.69% at -5.69% 111.39%, var(--background) 0%, #2d3034 100%), linear-gradient(206deg, rgba(123, 134, 151, 0.2) 0%, rgba(25, 27, 30, 0) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%);
}

div.link_back a:hover {
  color: var(--accenthover);
}

div.container_roles {
  padding: 20px;
}

div.esiticontainerlist {
  width: 90%;
  margin: 0 auto 30px auto;
  text-align: left;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  max-width: 100%;
  gap: 10px;
}

div.esiticontainerlist_pg {
  width: 60%;
  margin: 0 auto;
  text-align: left;
  display: grid;
  grid-template-columns: 50px 1fr;
  grid-template-rows: 1fr;
  color: var(--text);
}

div.newvesiti {
  font-size: 30px;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-right: 10px;
}

div.newvesiti .bi-envelope {
  color: var(--accenthover);
}

div.elementi_esiti {
  padding: 10px;
  background-color: var(--background);
  border: 0.5px solid var(--border);
}

.titoloclick {
  color: var(--accent);
  text-transform: uppercase;
  cursor: pointer;
  font-size: 14px;
}

.titoloclick:hover {
  color: var(--accenthover);
}

div.titledataesiti {
  float: left;
}

div.master_esiti {
  font-size: 14px;
  float: right;
  text-align: right;
}

/*GILDE E LAVORI LIBERI*/

.rsrp {
  display: flex;
  background-color: rgba(var(--backgroundRGB), 0.6);
  border: 0.5px solid var(--border);
  margin: 10px;
  padding: 30px;
  color: var(--text);
  align-items: center;
  position: relative;
  overflow: hidden;
}

.rsrpif a,
.rsrpif b {
  font-family: var(--fontitle);
  text-transform: uppercase;
  color: var(--accentdark) !important;
  text-decoration: none !important;
  font-size: 16px;
  letter-spacing: 1px;
  -webkit-transition: all .5s ease;
  font-weight: 400;
}

.rsrpif {
  text-transform: uppercase;
  text-align: left;
  font-size: 10px;
  flex: 1;
}

.rpbut span {
  height: 30px;
  width: 30px;
  cursor: pointer;
  margin-right: 10px;
}

.rpbut span {
  background: rgba(var(--borderRGB), 0.5);
  height: 40px;
  width: 40px;
  outline: 1px solid var(--border);
  outline-offset: 3px;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center
}

.rpbut img {
  transform: rotate(45deg);
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rpres {
  height: 80px;
  padding: 10px 20px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: -200px;
  text-align: justify;
  font-size: 10px;
  background: rgba(var(--borderRGB), 1);
  opacity: 0;
  overflow: auto;
  -webkit-transition: all .5s ease;
}

.rpres::-webkit-scrollbar {
  height: 0px;
  width: 1px;
}

.rpres::-webkit-scrollbar-thumb {
  background: rgba(var(--border), .5);
  height: 0px;
  width: 1x;
}

.rpres::-webkit-scrollbar-track {
  background: none;
  height: 0px;
  width: 1px;
}

.rpbut:hover .rpres {
  top: 0;
  opacity: 1;
  -webkit-transition: all .5s ease;
}


div.capitolo_elenco2 {
  width: 60%;
  margin: 5px auto;
  padding: 8px 20px !important;
  display: flex;
  flex-direction: row;
  align-items: center;
  border: 0.5px solid var(--border);
  background-color: rgba(var(--backgroundRGB), 0.8);
  gap: 15px;
}

div.imgilda {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: auto;
}

div.imgilda img {
  width: 20px;
  height: auto;
}

div.nomeruolo {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
}

div.nomeruolo a {
  font-weight: 400;
  color: var(--accent);
  cursor: pointer;
}

div.nomeruolo a:hover {
  font-weight: 400;
  color: var(--accenthover);
  cursor: pointer;
}

div.nomeruolo img {
  width: 25px;
  height: auto;
}

div.nomeruolo_capocorp {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: end;
  gap: 5px;
}

div.nomeruolo_capocorp img {
  width: 20px;
  height: auto;
}

div.capitolo_elenco_statuto {
  width: 60%;
  margin: 10px auto;
  padding: 20px;
  font-weight: 400;
  font-size: 13px;
  text-align: justify;
  border: 0.5px solid var(--border);
  background-color: var(--background);
  color: var(--text);
}

div.capitolo_elenco_titolo {
  width: 60%;
  margin: 10px auto;
  padding: 5px 20px !important;
  color: var(--textmedium);
  text-transform: uppercase;
  font-weight: 400;
  font-size: 18px;
  font-family: var(--fontitle);
  text-align: center;
}

/*STILE PANNELLO MASTER*/
.container_master {
  margin: 0 auto;
  padding: 4rem;
}

.navbar_quest {
  margin: 30px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.navbar_quest a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem;
  width: 150px;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
  box-shadow: inset 0 0 0 1px black, 0 0 0 0.5px #3a3d40, 0 0 0 4px rgba(0, 0, 0, 0), 0 11px 27px -5px rgba(0, 0, 0, 0.53), 0 25px 25px -4px rgba(0, 0, 0, 0.35);
  background-image: radial-gradient(227.71% 180.23% at 90.64% 130.38%, var(--background) 0%, #2d3034 100%), radial-gradient(207.84% 121.69% at -5.69% 111.39%, var(--background) 0%, #2d3034 100%), linear-gradient(206deg, rgba(123, 134, 151, 0.2) 0%, rgba(25, 27, 30, 0) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%);
}

/*Stile Liste*/

table {
  width: 100%;
  color: #7a7a7a;
  margin: 0 auto;
  border-collapse: collapse;
}

thead {
  color: var(--accenthover);
  text-align: center;
  text-transform: uppercase;
}

.tabtitle {
  text-align: left;
}

.tabtitle a {
  text-align: left;
  color: #888888;
  text-decoration: none;
  margin-left: 10px;
  font-size: 14px;
}

.tabtitle a:hover {
  text-align: left;
  color: var(--accenthover);
  text-decoration: none;
  margin-left: 10px;
  font-size: 14px;
}

td.editdelete {
  width: auto;
  padding: 5px 15px;
  display: flex;
  gap: 10px;
  border: none;
  background-color: transparent;
}

.badge {
  background-color: transparent;
  color: rgba(132, 188, 210, 0.9);
  font-size: 12px;
}

/*Stile One-Shot e Ambient*/
div.container_quest {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

.card_quest {
  width: 50%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  background-color: var(--background);
  border: 1px solid var(--border);
  color: var(--text);
}

.card_quest-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.card_quest-title2 {
  width: 100%;
  font-family: var(--fontTitle);
  font-weight: 100;
  font-style: normal;
  font-size: 2rem;
  color: rgba(var(--textlightRGB), 1);
  text-align: end;
  text-transform: uppercase;
}

.card_quest-type {
  display: inline-flex;
  align-items: center;
  color: var(--textlight);
  font-size: 12px;
  font-family: var(--fontTitle);
  text-transform: uppercase;
}

.card_quest-type::after {
  content: '';
  height: 1px;
  flex-grow: 1;
  margin-left: 15px;
  box-sizing: border-box;
  background: linear-gradient(90deg, var(--border), var(--accentdark));
}

.card_quest-date {
  display: inline-flex;
  align-items: center;
  justify-content: end;
  color: var(--textlight);
  font-size: 12px;
  font-family: var(--fontTitle);
  text-transform: uppercase;
  gap: 5px;
}

.card_quest-text3 {
  padding: 0px;

}

.card_quest-text2 {
  padding: 10px;
  margin-top: 8px;
  margin-bottom: 8px;
  color: #5f5f5f;
  font-size: 14px;
  text-align: justify;
  border: 0.5px solid rgb(122, 122, 122, 0.6);
}

div.name_px {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

div.name_px span {
  padding: 0 5px 2px 5px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-color: var(--purplec);
  color: var(--background);
  border-radius: 5px;
}

g {
  color: var(--textmedium) !important;
}

c {
  color: #5f5f5f;
  text-transform: uppercase;
}

f {
  font-size: 10px;
  color: var(--accenthover);
}


.card_quest-link {
  color: var(--accent) !important;
  font-size: 12px;
  text-transform: uppercase;
}

.card_quest-link:hover {
  text-decoration: none;
  color: var(--accenthover) !important;
}

.card_quest-text {
  text-align: justify;
  font-size: 12px;
}

/*STILE POTERI*/

/* CARD POTERI si trovano in user poteri e scheda poteri*/

.diadem {
  max-width: 550px;
  height: 415px;
  margin: 10px;
  display: inline-block;
  background: rgba(var(--backgroundRGB), 0.9);
  font-size: 12px;
  letter-spacing: 0.5px;
  color: #666;
  border: 0.5px solid var(--border);
}

.nomepotere {
  display: flex;
  flex-direction: column;
  font-size: 18px;
  color: rgba(var(--accentRGB), 0.8);
  text-align: center;
  padding-top: 10px;
  font-family: var(--fontTitle);
}

.nomepotere span {
  font-size: 12px;
  color: #888;
}

.conttagpotere {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  margin: 10px;
  text-align: center;
}

.tagpotere {
  background-color: var(--border);
  color: var(--textlight);
  padding: 5px 10px;
  border: 0.5px solid var(--textdark);
  border-radius: 2px;
  display: inline;
  margin: 5px;
  font-size: 10px;
  letter-spacing: 1px;
}

.tagpotere b {
  text-transform: uppercase;
  color: var(--textlight);
  font-weight: 900;
}

.diadem-words {
  position: relative;
  text-align: justify;
  padding: 10px 20px 0 20px;
  height: 250px;
  overflow: scroll;
  scrollbar-width: none;
  /* Nasconde la scrollbar in Firefox */
  -ms-overflow-style: none;
  /* Nasconde la scrollbar in IE */
  scroll-behavior: smooth;
  /* Scorrimento fluido */
}

.diadem-words::-webkit-scrollbar {
  width: 0px;
  /* Nasconde la scrollbar in Chrome/Safari */
  background: transparent;
  /* Colore di sfondo opzionale */
}

.diadem-words b {
  font-size: 14px;
  text-transform: uppercase;
  background-color: rgba(var(--backgroundRGB), 1);
  padding: 5px;
  border: 0.5px solid rgba(var(--borderRGB), 0.5);
}

.diadem-overview {
  padding: 10px 10px 0 10px;
  text-align: left;
}

.diadem-stats {
  display: flex;
  justify-content: start;
}

.diadem-stats .actions {
  color: rgba(var(--accentRGB), 0.8);
  margin-left: 10px;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 12px;
}

input#actions {
  display: none;
}

.diadem-actions {
  display: block;
  opacity: 0;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--text);
  max-height: 0;
  transition: all 1s ease-out;

}

.diadem-actions div {
  text-align: justify;
  padding: 10px;
}

.diadem-stats label:hover i,
input#actions:checked~.diadem-stats label:hover i {
  animation: spaceboots 2s infinite;
}

.foo {
  display: block;
  max-height: 1000px;
  opacity: 1;
  transition: all 1s ease-in;
}

/* USER POTERI */

div.elenco_record_poteri {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

div.nome_razza {
  width: 80%;
  margin: 30px auto 0 auto;
  font-family: var(--fontTitle);
  font-weight: 100;
  font-style: normal;
  font-size: 2rem;
  color: rgba(var(--textlightRGB), 1);
  text-align: end;
  text-transform: uppercase;
  border-bottom: 1.5px solid var(--accenthover);
}

div.elementi_elenco_container {
  width: 80%;
  margin: 20px auto;
  padding: 5px;
  border: 0.5px solid var(--border);
}

div.elementi_elenco_poteri {
  padding: 10px;
  font-size: 12px;
  text-align: justify;
  color: var(--text);
  background: rgba(var(--backgroundRGB), 0.7);
}

div.elementi_elenco_poteri h2 {
  text-align: left;
  color: rgba(var(--accentRGB), 0.8);
  font-size: 16px;
  font-family: var(--fontTitle);
  text-transform: lowercase;
}

div.elementi_elenco_poteri_arrow {
  margin-top: 20px;
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  color: var(--accent);
}

/* SCHEDA POTERI */

div.page_title_poteri {
  width: 87%;
  margin: 0 auto;
  font-family: var(--fontTitle);
  font-weight: 100;
  font-style: normal;
  font-size: 2rem;
  color: rgba(var(--textlightRGB), 1);
  text-align: end;
  text-transform: uppercase;
  border-bottom: 1.5px solid var(--accenthover);
}

/* PANNELLO GESTIONE QUEST */

div.search {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px auto;
  gap: 10px;
}

/* GRAFICA PAGINE GESTIONALI */

/*GESTIONE PERMESSI*/
div.panels_box_permessi {
  margin: 50px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.form_gestione_permessi {
  width: 300px;
  padding-bottom: 5px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--accentdark);
  gap: 10px;
}

div.form_name {
  text-transform: uppercase;
  font-size: 12px;
}

div.form_select_button {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.form_gestione_due {
  width: 100%;
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*ANAGRAFE E PRESTAVOLTO */

div.elenco_prestavolto {
  width: 100%;
  margin: 30px auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

div.contpv {
  background-color: var(--background);
  margin-top: 10px;
  padding: 15px;
  display: grid;
  grid-template-columns: 60px 0px 220px;
  grid-template-rows: 1fr;
  align-items: start;
  justify-content: start;
  line-height: 18px;
  border: 1px solid var(--border);
}

div.contpv img {
  width: 50px;
  height: 50px;
  padding: 2px;
  border: 1px solid var(--border);
}

div.nomepv {
  padding-left: 20px;
  text-align: left;
}

div.nomepv span {
  color: var(--text);
}

div.nomepv a {
  color: var(--accent);
  text-transform: uppercase;
}

div.nomepv a:hover {
  color: var(--accenthover);
  text-transform: uppercase;
}

div.msgpv {
  padding-top: 10px;
  padding-right: 3px;
  font-size: 16px;
  text-align: right;
}

div.msgpv a {
  color: var(--accenthover);
  text-transform: uppercase;
}

div.msgpv a:hover {
  color: var(--accenthoverlight);
  text-transform: uppercase;
}

.permessi_icon {
  display: flex;
  justify-content: center;
  width: 20px;
  height: 19px;
  margin-left: -15px;
  margin-top: 42px;
  background-color: rgba(var(--backgroundRGB), 0.8);
  font-size: 14px;
  font-weight: 100;
  border: 0.5px solid var(--accentdark);
  border-radius: 100%;
}