@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v2/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuOKfMZg.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v2/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyfMZg.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v2/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuFuYMZg.ttf) format('truetype');
}
body {
  background-color: #eeeeee;
  font-family: 'Inter', sans-serif;
  font-size: 10pt;
}
h1 {
  font-size: 26px;
}
.bg_white {
  background-color: white;
}
.bg_azzurro {
  background-color: #c8e6e6;
}
.shadow {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.75);
}
.btn-brocardi {
  background-color: white;
  border: solid thin #8b0000;
  padding: 10px 15px;
}
.btn-brocardi:hover {
  background-color: #8b0000;
  color: white !important;
}
.btn-brocardi.active {
  background-color: #8b0000;
  color: white !important;
}
.btn-brocardi-inverse {
  background-color: #8b0000;
  border: solid thin #8b0000;
  padding: 10px 15px;
  color: white !important;
}
.btn-brocardi-inverse:hover {
  background-color: white;
  color: #8b0000 !important;
}
.btn-brocardi-inverse:focus {
  background-color: white;
  color: #8b0000 !important;
}
#growls-default {
  top: 100px;
}
.red {
  color: #8b0000 !important;
}
.alert b {
  font-weight: bold;
}
.input-group-prepend {
  text-align: center;
}
.input-group-prepend .input-group-text {
  min-width: 45px;
}
.intro_contratto .img_copertina {
  right: 0;
  width: 30%;
  top: -10px;
  z-index: 5;
  box-shadow: 1px 1px 3px #aaa;
  border: solid thin #aaa;
  cursor: pointer;
  transition: all 0.4s ease-out;
}
.intro_contratto .img_copertina:hover {
  box-shadow: 1px 1px 6px #aaa;
}
.intro_contratto .citazione .valutazione {
  color: gold;
}
.intro_contratto .citazione .valutazione b {
  color: black;
}
.intro_contratto .citazione .nome_citante {
  color: #ccc;
}
.contratto_highlights i.fa {
  font-size: 30px;
  margin-top: 5px;
  margin-bottom: 5px;
}
.contratto_highlights .desc_campo {
  line-height: 11pt;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contratto_highlights .valore_campo {
  font-weight: bold;
  padding-top: 5px;
}
#descrizione_contratto {
  background-color: white;
  font-size: 11pt;
}
#descrizione_contratto h1 {
  font-size: 22px;
  text-align: left !important;
}
#descrizione_contratto h2 {
  font-size: 18px;
  text-align: left !important;
}
#descrizione_contratto h3 {
  font-size: 15px;
}
#descrizione_contratto ul {
  padding-left: 15px;
  margin-left: 0 !important;
  padding-bottom: 20px !important;
}
@media screen and (max-width: 767px) {
  #descrizione_contratto {
    font-size: 10pt;
  }
}
#descrizione_contratto .readmore_section {
  font-size: 12px;
  overflow: hidden;
  margin-top: -20px;
  transition: height 0.15s ease-out;
}
#descrizione_contratto .readmore_section[aria-expanded="true"] {
  background-color: #dee4e2;
  outline: 3px solid #dee4e2;
  margin-top: 5px;
  margin-bottom: 5px;
}
#descrizione_contratto a.readmore_link {
  color: #8b0000;
  font-weight: bold;
  display: block;
  text-align: center;
}
#descrizione_contratto table {
  width: 100%;
  margin-top: 10px;
  margin-bottom: 50px;
}
#descrizione_contratto table tr:first-child td:nth-child(n+2) {
  text-align: center;
  border: solid thin black;
  border-radius: 4px;
}
#descrizione_contratto table tr:first-child td:nth-child(n+2) p:first-child {
  font-weight: bold;
  border-bottom: solid thin black;
}
#descrizione_contratto table tr:nth-child(n+2) td {
  border-bottom: solid thin black;
  padding: 8px 6px;
}
#descrizione_contratto table tr td {
  border: inherit;
  padding: 4px 6px;
  font-size: larger;
}
@media screen and (max-width: 767px) {
  #descrizione_contratto table tr td {
    font-size: 10pt;
  }
}
#descrizione_contratto table tr td p {
  margin: 0;
}
.sidebar_contratto {
  background-color: #e0e0e0;
}
.sidebar_contratto i.fa {
  font-size: 45px;
}
.sidebar_contratto .titolo_blocco {
  font-size: 20px;
}
@media screen and (max-width: 767px) {
  .sidebar_contratto .titolo_blocco {
    font-size: 16px;
  }
}
.sidebar_contratto .gratis {
  text-decoration: line-through;
}
input.ajax_edit {
  background: transparent;
  border: 0;
  width: 90% !important;
  padding: 2px 4px;
  border: solid thin transparent;
}
input.ajax_edit:focus {
  background: white;
}
input.ajax_edit:hover {
  border: solid thin black;
}
#elenco_contratti td {
  vertical-align: middle;
}
#elenco_contratti .titolo_categoria {
  font-size: 24px;
  font-weight: 500 !important;
}
#steps_block {
  min-height: 60vh;
}
#elenco_contratti ul li {
  position: relative;
}
#elenco_contratti ul li:before {
  content: "\2022";
  color: #8b0000;
  position: absolute;
  left: -20px;
  top: -2px;
  font-size: 20px;
}
#elenco_contratti ul li a {
  font-size: 19px;
}
#elenco_contratti ul li a:hover {
  text-decoration: underline !important;
}
.doc_values {
  color: #8b0000;
}
.doc_vars {
  color: green !important;
}
#step_container {
  overflow-y: scroll;
  max-height: 80vh;
  background-color: #f3f3f3;
}
#step_container .fv-plugins-message-container {
  min-height: 22px;
  /* valuta 1.2em o simile */
  padding: 1px 0;
  /* serve per evitare il margin collapsing */
}
#step_container .form-control.is-valid,
#step_container .was-validated .form-control:valid,
#step_container .form-control.is-invalid,
#step_container .was-validated .form-control:invalid {
  border-color: #ccc;
}
#step_container .fv-plugins-bootstrap .fv-help-block {
  color: #777;
}
#step_container .form-control.is-valid:focus,
#step_container .was-validated .form-control:valid:focus {
  box-shadow: 0 0 0 0.2rem rgba(163, 174, 165, 0.25);
}
#preview_container {
  background-color: white;
  overflow: auto;
  max-height: 80vh;
  height: 80vh;
}
#steps_block input[type="radio"],
#steps_block input[type="radio"] + label {
  cursor: pointer;
}
#steps_block h2 {
  font-size: 1.2rem;
}
#steps_block .form-group {
  margin-bottom: 4px;
  font-size: 15px;
}
#steps_block label {
  font-size: 15px;
}
#save_box a {
  color: black;
}
.step_infobutton {
  background: #dcdcdc;
  color: black;
  font-size: 15px;
  border-color: #686868;
  -webkit-text-decoration: uppercase;
          text-decoration: uppercase;
}
.step_infobutton.emptyform {
  background: #e0a800;
  border-color: #e0a800;
}
.substep_container {
  border: 0;
}
.substep_container .nav-link {
  border: 0 !important;
  color: black;
}
.substep_container .nav-item {
  margin-bottom: 0;
  margin-right: 5px;
}
.substep_container .nav-tabs {
  background: #F3F3F3;
}
.substep_container .nav-link {
  background: white;
  color: black;
  outline: 1px solid #e2e3e5;
}
.substep_container .nav-link.active {
  background: #e2e3e5;
  outline: 1px solid transparent;
  font-weight: bold;
  color: black;
}
#main_navbar {
  background-color: #8b0000 !important;
}
#main_navbar .row {
  width: 100%;
}
#main_navbar .row #logo_menu {
  height: 56px;
  max-width: initial;
}
#preview_block {
  background-color: white;
}
#preview_block h1,
#preview_block h1 * {
  text-align: center;
  font-size: 14px;
}
#preview_block h2,
#preview_block h2 * {
  text-align: center;
  font-size: 12px;
}
#preview_block * {
  font-size: 13px;
}
#preview_block .lexgen_x_spacer {
  margin-bottom: 1rem;
}
#preview_block span[data-lexgen-var] {
  font-weight: bold;
  white-space: pre-wrap;
}
#preview_block .form_field {
  background: #fff3cd;
  display: inline-block;
  padding: 3px;
}
#preview_block .highlight {
  background-color: #ffff99;
}
#preview_block .step_highlight {
  background: rgba(255, 255, 0, 0.2);
  outline: 1.3em solid rgba(255, 255, 0, 0.2);
  /* la trasparenza serve per evitare di mozzare il testo dello step precedente */
}
.spinner {
  display: none;
  width: 40px;
  height: 40px;
  position: absolute;
  top: 50%;
  left: 45%;
  margin: 100px auto;
  z-index: 5;
}
.double-bounce1,
.double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #333;
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  animation: sk-bounce 2s infinite ease-in-out;
}
.double-bounce2 {
  animation-delay: -1s;
}
@keyframes sk-bounce {
  0%,
  100% {
    transform: scale(0);
    -webkit-transform: scale(0);
  }
  50% {
    transform: scale(1);
    -webkit-transform: scale(1);
  }
}
footer {
  background-color: #8b0000;
  color: white;
  font-size: 11px;
}
footer a {
  color: inherit;
}
#g_footer {
  padding: 45px 30px 15px 30px;
  background-color: #8b0000;
  color: #fff;
  text-align: center;
  margin-top: 10px;
}
#g_footer #g_testa_footer {
  background-color: #8b0000;
  margin: -70px auto 10px auto;
  padding: 4px 0 0;
  border-radius: 9px 9px 9px 9px;
  -webkit-border-radius: 9px 9px 9px 9px;
  -moz-border-radius: 9px 9px 9px 9px;
}
#g_footer #g_testa_footer img {
  display: block;
  position: relative;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0 auto;
  width: 180px;
  height: 63px;
}
#g_footer div.rialzato {
  margin-top: 8px;
}
#g_footer div#footer-icons {
  display: inline-block;
  overflow: hidden;
}
#g_footer div#footer-icons div.social-network {
  float: right;
  margin-left: 35px;
}
@media screen and (min-width: 984px) {
  #g_footer {
    padding: 40px 0 10px 0;
    font-size: 12px;
    border-radius: 9px;
    background-color: #8b0000;
    color: #fff;
    text-align: center;
  }
}
.navbar-brand img {
  max-width: 420px;
}
@media screen and (max-width: 767px) {
  .navbar-brand img {
    max-width: 200px;
  }
}
.navbar-nav a {
  font-size: 11pt;
}
.contratti_home i,
.contratti_home a {
  color: black !important;
  text-decoration: none;
}
.contratti_home a {
  font-size: 24px;
}
.contratti_home h3 {
  font-size: 20px;
}
.contratti_home .card {
  min-height: 140px;
  border: solid 2px #737373;
  border-radius: 0;
}
.contratti_home .card:hover {
  background-color: #8b0000;
}
.contratti_home .card:hover i,
.contratti_home .card:hover a,
.contratti_home .card:hover h3 {
  color: white !important;
}
.infobox {
  overflow: hidden;
}
.infobox .readmore_section {
  font-size: 12px;
  overflow: hidden;
  padding-left: 10px;
  padding-right: 10px;
  margin-top: -20px;
  transition: height 0.15s ease-out;
}
.infobox .readmore_section[aria-expanded="true"] {
  background-color: #dee4e2;
  outline: 3px solid #dee4e2;
  margin-top: 5px;
  margin-bottom: 5px;
}
.infobox a.readmore_link {
  color: #8b0000;
  font-weight: bold;
  display: block;
  text-align: center;
}
.infobox p {
  margin-top: 1rem;
}
.tooltip_template {
  display: none;
}
.icon-brocardi {
  color: #8b0000 !important;
  z-index: 2;
  position: relative;
}
*[data-lexgen-text-hidden="true"] {
  color: transparent;
  text-shadow: rgba(0, 0, 0, 0.8) 0px 0px 5px;
}
#step_container::-webkit-scrollbar {
  width: 10px;
  background-color: #F5F5F5;
}
#step_container::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: linear-gradient(left, #fff, #e4e4e4);
  border: 1px solid #aaa;
}
#step_container::-webkit-scrollbar-thumb:hover {
  background: #fff;
}
#step_container::-webkit-scrollbar-thumb:active {
  background: linear-gradient(left, #22ADD4, #1E98BA);
}
#step_container::-webkit-scrollbar-track {
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid #ccc;
}
.infobox::-webkit-scrollbar {
  width: 10px;
  background-color: #F5F5F5;
}
.infobox::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: linear-gradient(left, #fff, #e4e4e4);
  border: 1px solid #aaa;
}
.infobox::-webkit-scrollbar-thumb:hover {
  background: #fff;
}
.infobox::-webkit-scrollbar-thumb:active {
  background: linear-gradient(left, #22ADD4, #1E98BA);
}
.infobox::-webkit-scrollbar-track {
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid #ccc;
}
#modal_required_check .modal-body .introblock {
  list-style: none;
}
#modal_required_check .required_link {
  cursor: pointer;
  font-size: 12px;
}
#modal_required_check .required_link:hover {
  text-decoration: underline;
  color: #8b0000;
}
div#barrette {
  display: flex;
  margin-bottom: 1em;
}
div#barrette span {
  cursor: pointer;
  display: block;
  border: 1px solid #fff;
  height: 12px;
  background: #ddd;
  flex-grow: 1;
  margin: 0 1px;
}
div#barrette span.g {
  background: #77c388;
}
div#barrette span.r {
  background: #8b0000;
}
div#barrette span.a {
  outline: 2px solid black;
  background: #ddd;
}
div#barrette span.not_enabled {
  background: #ddd !important;
  cursor: initial;
}
.tabella_admin tr.danger td {
  background-color: #cb747045;
}
.tabella_admin th {
  background-color: #8b0000;
  text-align: center !important;
  color: white !important;
}
.tabella_admin th a {
  color: white !important;
  font-size: smaller;
}
.tabella_admin th:hover {
  color: white !important;
}
.tabella_admin th:hover a {
  color: #8b0000 !important;
}
.tabella_admin .small_column {
  width: 80px;
}
.tabella_admin .medium_column {
  width: 180px;
}
.tabella_admin .big_column {
  width: 300px;
}
.tabella_admin td {
  background-color: white;
}
#categoria_macro {
  background-color: white;
}
#categoria_macro .nav-item {
  border: solid 2px transparent !important;
}
@media screen and (max-width: 767px) {
  #categoria_macro .nav-item {
    width: 100%;
  }
}
#categoria_macro .nav-link {
  color: black;
  font-size: 14px;
  width: 100%;
  border-radius: 0;
}
#categoria_macro .nav-link:hover {
  color: #8b0000;
}
#categoria_macro .nav-link.active {
  background: transparent;
  font-weight: bold;
  color: #8b0000;
}
.mobile_macro_select {
  width: 100%;
}
.bootgrid-header .search span {
  border-collapse: separate;
  border: 1px solid #ccc;
  border-radius: 4px;
  display: table-cell;
  border-right: 0;
  background-color: #eee;
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  padding: 6px 12px;
  text-align: center;
  font-size: 18px;
}
.bootgrid-header .dropdown {
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.page-item.active .page-link {
  background-color: #8b0000;
  border-color: #8b0000;
}
